1 2014-06-11 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
21 multiarch strcmp for PPC64.
22 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
23 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
24 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
25 multiarch optimizations.
26 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27 (__libc_ifunc_impl_list): Likewise.
29 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31 * benchtests/scripts/validate_benchout.py: New script.
32 * benchtests/Makefile (bench-func): Call it.
33 * benchtests/scripts/benchout.schema.json: New file.
35 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
37 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
38 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
39 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
40 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
41 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
42 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
43 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
44 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
45 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
46 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
47 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
48 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
49 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
51 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
52 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
53 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
55 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
57 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
59 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
60 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
62 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
64 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
66 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
68 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
70 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
71 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
73 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
75 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
77 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
79 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
81 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
82 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
84 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
86 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
88 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
90 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
92 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
94 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
96 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
97 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
99 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
156 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
157 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
158 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
159 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
160 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
162 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
164 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
165 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
166 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
167 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
168 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
169 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
170 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
171 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
172 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
173 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
174 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
175 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
176 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
178 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
179 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
181 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
182 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
183 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
184 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
186 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
187 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
188 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
189 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
190 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
191 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
192 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
194 2014-06-10 Wilco <wdijkstr@arm.com>
196 * math/test-fenv-return.c: New file.
197 * math/Makefile: Add new test test-fenv-return.
199 2014-06-10 Joseph Myers <joseph@codesourcery.com>
202 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
204 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
205 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
206 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
207 0.0L for an argument of 1.0L.
208 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
210 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
211 value when x - 1 is zero.
212 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
213 * sysdeps/i386/fpu/libm-test-ulps: Update.
214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
216 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
219 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
221 2014-06-09 Roland McGrath <roland@hack.frob.com>
223 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
224 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
226 2014-06-09 Roland McGrath <roland@hack.frob.com>
228 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
229 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
231 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
232 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
234 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
235 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
237 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
238 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
240 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
241 if not already defined.
242 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
243 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
244 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
245 (TLS_INIT_TP): Use it.
246 (TLS_DEFINE_INIT_TP): New macro.
247 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
249 2014-06-09 Joseph Myers <joseph@codesourcery.com>
251 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
253 [POSIX] (IXANY): Likewise.
254 [POSIX] (OLCUC): Likewise.
255 [POSIX || POSIX2008] (CBAUD): Do not allow.
256 [POSIX || POSIX2008] (DEFECHO): Likewise.
257 [POSIX || POSIX2008] (ECHOCTL): Likewise.
258 [POSIX || POSIX2008] (ECHOKE): Likewise.
259 [POSIX || POSIX2008] (ECHOPRT): Likewise.
260 [POSIX || POSIX2008] (EXTA): Likewise.
261 [POSIX || POSIX2008] (EXTB): Likewise.
262 [POSIX || POSIX2008] (FLUSHO): Likewise.
263 [POSIX || POSIX2008] (LOBLK): Likewise.
264 [POSIX || POSIX2008] (PENDIN): Likewise.
265 [POSIX || POSIX2008] (SWTCH): Likewise.
266 [POSIX || POSIX2008] (VDISCARD): Likewise.
267 [POSIX || POSIX2008] (VDSUSP): Likewise.
268 [POSIX || POSIX2008] (VLNEXT): Likewise.
269 [POSIX || POSIX2008] (VREPRINT): Likewise.
270 [POSIX || POSIX2008] (VSTATUS): Likewise.
271 [POSIX || POSIX2008] (VWERASE): Likewise.
272 (B*): Change to B[0123456789]*.
273 * conform/data/time.h-data [POSIX || UNIX98]
274 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
275 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
276 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
277 [POSIX] (tm_*): Do not allow.
279 2014-06-07 Joseph Myers <joseph@codesourcery.com>
281 * Makefile (install): Don't set LANGUAGE.
282 * Makefile.in (install): Likewise.
283 * assert/Makefile (test-assert-ENV): Remove variable.
284 (test-assert-perr-ENV): Likewise.
285 * elf/Makefile (neededtest4-ENV): Likewise.
286 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
287 [$(cross-compiling) = no]: Don't set LANGUAGE.
288 * io/ftwtest-sh (LANG): Remove variable.
289 * libio/Makefile (tst-widetext-ENV): Likewise.
290 * manual/install.texi (Running make install): Don't refer to
291 environment settings for make install.
292 * INSTALL: Regenerated.
293 * nptl/tst-tls6.sh: Don't set LANG.
294 * posix/globtest.sh (LANG): Remove variable.
295 * string/Makefile (tester-ENV): Likewise.
296 (inl-tester-ENV): Likewise.
297 (noinl-tester-ENV): Likewise.
298 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
299 [$(cross-compiling) = no]: Don't set LANGUAGE.
300 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
301 without explicit environment settings.
303 2014-06-06 Roland McGrath <roland@hack.frob.com>
305 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
306 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
307 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
308 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
310 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
312 * crypt/crypt-private.h [DOS]: Add some includes taken from the
313 other files in the crypt directory.
314 * crypt/crypt.c: Remove duplicate includes.
315 * crypt/crypt-entry.c: Likewise.
316 * crypt/crypt_util.c: Likewise.
318 2014-06-06 Joseph Myers <joseph@codesourcery.com>
320 * Makeconfig (run-program-env): New variable.
321 (run-program-prefix-before-env): Likewise.
322 (run-program-prefix-after-env): Likewise.
323 (run-program-prefix): Define in terms of new variables.
324 (built-program-cmd-before-env): New variable.
325 (built-program-cmd-after-env): Likewise.
326 (built-program-cmd): Define in terms of new variables.
327 (test-program-prefix-before-env): New variable.
328 (test-program-prefix-after-env): Likewise.
329 (test-program-prefix): Define in terms of new variables.
330 (test-program-cmd-before-env): New variable.
331 (test-program-cmd-after-env): Likewise.
332 (test-program-cmd): Define in terms of new variables.
333 * Rules (make-test-out): Use $(run-program-env).
334 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
335 (help): Do not mention environment variables. Mention
336 --timeoutfactor option.
337 (timeoutfactor): New variable.
338 (blacklist_exports): Remove function.
339 (exports): Remove variable.
340 (command): Do not include ${exports}.
341 * manual/install.texi (Configuring and compiling): Do not mention
342 test wrappers preserving environment variables. Mention that last
343 assignment to a variable must take precedence.
344 * INSTALL: Regenerated.
345 * benchtests/Makefile (run-bench): Use $(run-program-env).
346 * catgets/Makefile ($(objpfx)test1.cat): Use
347 $(built-program-cmd-before-env), $(run-program-env) and
348 $(built-program-cmd-after-env).
349 ($(objpfx)test2.cat): Do not specify environment variables
351 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
352 $(run-program-env) and $(built-program-cmd-after-env).
353 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
354 $(run-program-env) and $(test-program-cmd-after-env).
355 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
357 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
358 run_program_env and test_program_cmd_after_env arguments.
359 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
360 * elf/tst-pathopt.sh: Use run_program_env argument.
361 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
362 $(test-wrapper-env) and $(run-program-env).
363 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
364 run_program_env arguments.
365 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
366 * intl/Makefile ($(objpfx)tst-gettext.out): Use
367 $(test-program-prefix-before-env), $(run-program-env) and
368 $(test-program-prefix-after-env).
369 ($(objpfx)tst-gettext2.out): Likewise.
370 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
371 run_program_env and test_program_prefix_after_env arguments.
372 * intl/tst-gettext2.sh: Likewise.
373 * intl/tst-gettext4.sh: Do not set environment variables
375 * intl/tst-gettext6.sh: Likewise.
376 * intl/tst-translit.sh: Likewise.
377 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
378 $(test-program-prefix-before-env), $(run-program-env) and
379 $(test-program-prefix-after-env).
380 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
381 run_program_env and test_program_prefix_after_env arguments.
382 * math/Makefile (run-regen-ulps): Use $(run-program-env).
383 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
384 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
385 explicitly with each use of ${test_wrapper_env}.
386 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
387 $(test-program-prefix-before-env), $(run-program-env) and
388 $(test-program-prefix-after-env).
389 * posix/tst-getconf.sh: Do not set environment variables
391 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
392 run_program_env and test_program_prefix_after_env arguments.
393 * stdio-common/tst-printf.sh: Do not set environment variables
395 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
396 $(test-program-prefix-before-env), $(run-program-env) and
397 $(test-program-prefix-after-env).
398 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
399 run_program_env and test_program_prefix_after_env arguments.
400 Split $test calls into $test_pre and $test.
401 * timezone/Makefile (build-testdata): Use
402 $(built-program-cmd-before-env), $(run-program-env) and
403 $(built-program-cmd-after-env).
405 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
407 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
408 strlen for non SHARED builds.
410 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
412 * nptl/allocatestack.c (check_list): Inlined function...
413 (__reclaim_stacks): ... here.
415 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
418 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
421 2014-06-05 Joseph Myers <joseph@codesourcery.com>
423 * Rules (make-test-out): Include
424 LOCPATH=$(common-objpfx)localedata in default environment.
425 * debug/Makefile (tst-chk1-ENV): Remove variable.
426 (tst-chk2-ENV): Likewise.
427 (tst-chk3-ENV): Likewise.
428 (tst-chk4-ENV): Likewise.
429 (tst-chk5-ENV): Likewise.
430 (tst-chk6-ENV): Likewise.
431 (tst-lfschk1-ENV): Likewise.
432 (tst-lfschk2-ENV): Likewise.
433 (tst-lfschk3-ENV): Likewise.
434 (tst-lfschk4-ENV): Likewise.
435 (tst-lfschk5-ENV): Likewise.
436 (tst-lfschk6-ENV): Likewise.
437 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
438 (tst-iconv7-ENV): Likewise.
439 * intl/Makefile (LOCPATH-ENV): Likewise.
440 (tst-codeset-ENV): Likewise.
441 (tst-gettext3-ENV): Likewise.
442 (tst-gettext5-ENV): Likewise.
443 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
444 (tst-fopenloc-ENV): Likewise.
445 (tst-fgetws-ENV): Remove variable.
446 (tst-ungetwc1-ENV): Likewise.
447 (tst-ungetwc2-ENV): Likewise.
448 (bug-ungetwc2-ENV): Likewise.
449 (tst-swscanf-ENV): Likewise.
450 (bug-ftell-ENV): Likewise.
451 (tst-fgetwc-ENV): Likewise.
452 (tst-fseek-ENV): Likewise.
453 (tst-ftell-partial-wide-ENV): Likewise.
454 (tst-ftell-active-handler-ENV): Likewise.
455 (tst-ftell-append-ENV): Likewise.
456 * posix/Makefile (tst-fnmatch-ENV): Likewise.
457 (tst-regexloc-ENV): Likewise.
458 (bug-regex1-ENV): Likewise.
459 (tst-regex-ENV): Likewise.
460 (tst-regex2-ENV): Likewise.
461 (bug-regex5-ENV): Likewise.
462 (bug-regex6-ENV): Likewise.
463 (bug-regex17-ENV): Likewise.
464 (bug-regex18-ENV): Likewise.
465 (bug-regex19-ENV): Likewise.
466 (bug-regex20-ENV): Likewise.
467 (bug-regex22-ENV): Likewise.
468 (bug-regex23-ENV): Likewise.
469 (bug-regex25-ENV): Likewise.
470 (bug-regex26-ENV): Likewise.
471 (bug-regex30-ENV): Likewise.
472 (bug-regex32-ENV): Likewise.
473 (bug-regex33-ENV): Likewise.
474 (bug-regex34-ENV): Likewise.
475 (bug-regex35-ENV): Likewise.
476 (tst-rxspencer-ENV): Likewise.
477 (tst-rxspencer-no-utf8-ENV): Likewise.
478 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
479 (tst-sscanf-ENV): Likewise.
480 (tst-swprintf-ENV): Likewise.
481 (tst-swscanf-ENV): Likewise.
482 (test-vfprintf-ENV): Likewise.
483 (scanf13-ENV): Likewise.
484 (bug14-ENV): Likewise.
485 (tst-grouping-ENV): Likewise.
486 * stdlib/Makefile (tst-strtod-ENV): Likewise.
487 (tst-strtod3-ENV): Likewise.
488 (tst-strtod4-ENV): Likewise.
489 (tst-strtod5-ENV): Likewise.
490 (testmb2-ENV): Likewise./
491 * string/Makefile (tst-strxfrm-ENV): Likewise.
492 (tst-strxfrm2-ENV): Likewise.
493 (bug-strcoll1-ENV): Likewise.
494 (test-strcasecmp-ENV): Likewise.
495 (test-strncasecmp-ENV): Likewise.
496 * time/Makefile (tst-strptime-ENV): Likewise.
497 (tst-ftime_l-ENV): Likewise.
498 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
499 (tst-mbrtowc-ENV): Likewise.
500 (tst-wcrtomb-ENV): Likewise.
501 (tst-mbrtowc2-ENV): Likewise.
502 (tst-c16c32-1-ENV): Likewise.
503 (tst-mbsnrtowcs-ENV): Likewise.
505 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
507 * manual/resource.texi (How to get information about the memory
508 subsystem?): Fix typo.
509 Reported by Peon de la Parra Ivan <peon@keba.com>
511 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
514 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
515 (pthread_spin_lock): Branch out of spin loop to proper location.
516 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
517 (pthread_spin_lock): Likewise.
519 * nptl/tst-spin4.c: New test.
520 * nptl/Makefile (tests): Add tst-spin4.
522 2014-06-03 Andreas Schwab <schwab@suse.de>
525 * resolv/res_send.c (send_dg): Reload file descriptor after
528 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
530 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
532 2014-06-03 Richard Henderson <rth@redhat.com>
534 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
535 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
536 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
537 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
538 in the SAVE_PID block.
539 (__libc_vfork): New alias.
540 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
542 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
543 child in registers, not on the stack. Remove RESET_PID conditionals.
544 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
546 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
548 * sysdeps/aarch64/libm-test-ulps: Regenerate.
550 2014-06-03 Wilco <wdijkstr@arm.com>
552 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
553 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
554 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
555 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
556 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
559 2014-06-03 Wilco <wdijkstr@arm.com>
561 * sysdeps/aarch64/fpu/math_private.h
562 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
563 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
564 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
565 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
568 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
570 * crypt/crypt-private.h: Include ufc-crypt.h.
571 (__b64_from_24bit): Declare extern.
572 * crypt/crypt_util.c(__b64_from_24bit): New function.
573 (b64t): New static const variable.
574 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
575 (b64t): Remove variable.
576 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
577 * crypt/sha256-crypt.c: Include crypt-private.h.
578 (b64t): Remove variable.
579 (__sha256_crypt_r): Remove b64_from_24bit and replace
580 with __b64_from_24bit.
581 * crypt/sha512-crypt.c: Likewise.
583 2014-06-02 Roland McGrath <roland@hack.frob.com>
585 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
586 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
587 Label the code __libc_vfork rather than __vfork.
588 [!NOT_IN_libc] (vfork): Define as weak alias.
589 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
590 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
591 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
593 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
595 * malloc/malloc.c (malloc_info): Fix format specifier for
598 2014-06-02 Wilco <wdijkstr@arm.com>
600 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
603 2014-06-02 Wilco <wdijkstr@arm.com>
606 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
607 Rewrite to reduce FPCR/FPSR accesses.
609 2014-06-01 David S. Miller <davem@davemloft.net>
611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
613 2014-05-31 David S. Miller <davem@davemloft.net>
615 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
616 to occur in round to nearest mode when |x| >= 2.0
618 2014-05-30 Richard Henderson <rth@twiddle.net>
620 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
621 (PSEUDO_RET_NOERRNO): Remove.
622 (ret): Don't redefine.
623 (ret_NOERRNO): Define in terms of ret.
624 (ret_ERRVAL): Likewise.
626 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
627 use of PSEUDO_RET; perform the error check directly.
629 2014-05-30 Marko Myllynen <myllynen@redhat.com>
631 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
634 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
636 * malloc/malloc (malloc_info): Fix formatting.
638 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
639 Roland McGrath <roland@hack.frob.com>
641 * malloc/malloc (malloc_info): Also print mmapped statistics.
643 2014-05-30 Roland McGrath <roland@hack.frob.com>
645 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
646 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
648 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
650 * malloc/malloc.c (malloc_info): Inline mi_arena.
652 2014-05-29 Richard Henderson <rth@twiddle.net>
654 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
655 Remove comma before expanding ASM_ARGS_##nr.
656 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
657 Make _x0 a strict output; make _x8 a strict input; adjust expansion
659 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
660 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
661 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
662 (ASM_ARGS_1): Add leading comma.
664 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
665 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
667 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
668 Remove the expected plt for __errno_location.
670 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
671 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
674 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
675 Always allocate 64 bytes of stack frame. Use ldp/stp to create
676 it and break it down.
677 (DOCARGS_0, DOCARGS_1): Do nothing.
678 (DOCARGS_2): Update to store into the new stack frame.
679 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
680 (UNDOCARGS_1): Update to restore from the new stack frame.
681 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
682 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
684 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
685 (SINGLE_THREAD_P): New parameter for result regno.
686 (PSEUDO): Update to match; use cbz instead of beq.
688 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
689 Use ENTRY to define the _nocancel entry point. Share the syscall
690 and syscall error check paths with the cancel path.
693 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
694 whitespace; tabs before and after asm mnemonics.
696 2014-05-29 Eric Wong <normalperson@yhbt.net>
699 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
700 Call fstat64 or stat64 internally, depending on arguments passed.
701 Replace stat buffer argument with file descriptor argument.
702 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
703 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
704 Pass fd to __internal_statvfs instead of calling fstat64.
705 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
706 Pass fd to __internal_statvfs64 instead of calling fstat64.
707 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
708 Pass -1 to __internal_statvfs instead of calling stat64.
709 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
710 Pass -1 to __internal_statvfs64 instead of calling stat64.
712 2014-05-28 Roland McGrath <roland@hack.frob.com>
714 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
715 that was previously under [RESET_PID].
716 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
718 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
719 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
721 2014-05-27 Roland McGrath <roland@hack.frob.com>
723 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
725 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
726 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
728 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
730 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
732 2014-05-27 Andreas Schwab <schwab@suse.de>
734 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
736 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
737 * elf/rtld.c (init_tls, dl_main): Likewise.
738 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
739 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
740 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
741 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
742 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
743 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
744 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
745 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
746 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
747 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
748 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
749 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
750 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
751 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
752 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
753 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
754 * sysdeps/generic/tls.h: Update description.
756 2014-05-27 Will Newton <will.newton@linaro.org>
759 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
760 and restore r2 rather than just restoring.
762 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
765 * libio/tst-ftell-append.c: New test case.
766 * libio/Makefile (tests): Add test case.
767 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
769 * libio/wfileops.c (do_ftell_wide): Likewise.
771 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
775 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
779 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
780 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
781 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
782 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
783 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
784 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
785 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
788 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
791 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
792 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
793 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
794 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
795 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
797 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
798 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
800 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
802 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
804 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
805 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
806 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
808 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
809 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
810 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
811 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
813 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
816 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
819 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
822 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
826 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
829 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
834 conditional [RESET_PID].
835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
836 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
838 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
843 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
844 (__libc_vfork): New strong alias.
845 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
847 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
852 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
853 (__libc_vfork): New strong alias.
854 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
856 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
859 2014-05-26 Carlos O'Donell <carlos@redhat.com>
861 * malloc/malloc.c (mi_arena): New function.
862 (malloc_info): Remove nested function mi_arena. Call non-nosted
865 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
867 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
869 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
870 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
871 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
872 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
873 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
874 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
875 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
877 2014-05-26 Andreas Schwab <schwab@suse.de>
880 * locale/programs/repertoire.c (repertoire_read): Add slash
881 between I18NPATH element and file name.
882 * locale/programs/locfile.c (locfile_read): Likewise.
884 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
886 * nptl/pthread_mutexattr_settype.c
887 (__pthread_mutexattr_settype):
888 Disable lock elision for PTHREAD_MUTEX_NORMAL.
890 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
892 * nptl/tst-mutex5 (do_test):
893 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
895 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
897 * benchtests/README: Document 'init' directive.
898 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
900 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
901 (parse_file): Recognize 'init' directive.
903 2014-05-26 Kyle McMartin <kyle@redhat.com>
906 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
907 alignment of struct pthread.
909 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
912 * nscd/netgroupcache.c (addgetnetgrentX): Look for
913 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
914 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
915 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
917 2014-05-25 Richard Henderson <rth@twiddle.net>
919 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
920 (SINGLE_THREAD_P_PIC): Remove.
921 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
922 (SINGLE_THREAD_P_PIC): Remove.
924 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
925 branch to syscall error ...
927 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
928 from __local_syscall_error to .Lsyscall_error.
929 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
930 (SYSCALL_ERROR): Update label name.
932 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
933 Do not use DOARGS/UNDOARGS.
934 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
935 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
936 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
937 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
938 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
940 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
943 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
944 define if !NOT_IN_libc.
945 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
946 define with non-default symbol versions.
948 2014-05-23 Richard Henderson <rth@twiddle.net>
950 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
951 (vfork, __vfork): Define via compat_symbol.
953 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
954 [!HAVE_IFUNC] (vfork_compat): Remove.
955 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
957 2014-05-23 Joseph Myers <joseph@codesourcery.com>
960 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
961 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
964 2014-05-23 Richard Henderson <rth@twiddle.net>
966 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
967 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
968 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
969 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
971 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
972 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
973 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
974 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
975 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
976 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
977 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
978 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
979 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
980 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
981 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
982 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
983 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
984 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
985 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
986 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
987 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
988 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
989 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
990 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
991 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
992 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
993 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
994 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
995 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
996 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
997 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
998 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
999 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1000 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1001 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1002 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1003 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1004 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1005 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1006 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1007 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1008 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1009 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1010 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1011 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1012 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1013 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1014 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1015 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1016 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1017 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1018 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1019 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1020 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1021 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1022 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1023 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1024 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1025 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1026 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1028 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1029 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1030 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1031 before exiting on error.
1032 (__libc_vfork): New strong alias.
1033 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1034 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1036 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1037 that was previously under [RESET_PID].
1038 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1040 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1042 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1045 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1046 value when x - 1 is zero.
1047 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1048 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1049 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1050 0.0L for an argument of 1.0L.
1051 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1053 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1054 value when x - 1 is zero.
1055 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1056 * sysdeps/i386/fpu/libm-test-ulps: Update.
1057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1059 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1061 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1062 alphasort and versionsort.
1064 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1066 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1068 [copysignf]: Likewise.
1070 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1072 * crypt/md5-crypt.c: Fix formatting.
1074 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1076 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1077 (b64_from_24bit): New function.
1079 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1081 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1082 libc_hidden_builtin_def to ifunc.
1083 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1084 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1086 2014-05-21 Roland McGrath <roland@hack.frob.com>
1088 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1089 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1091 2014-05-21 Joseph Myers <joseph@codesourcery.com>
1093 * nscd/Depend (linuxthreads): Remove.
1095 * resolv/Depend (linuxthreads): Remove.
1096 * rt/Depend (linuxthreads): Remove.
1098 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1099 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1100 $(common-objpfx)elf/.
1101 (link-libc-before-gnulib): Likewise.
1102 (elfobjdir): Remove variable.
1103 * Makefile (install): Use $(elf-objpfx) instead of
1104 $(common-objpfx)elf/.
1105 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1107 (link-libc-deps): Likewise.
1108 ($(common-objpfx)libc.so): Likewise.
1109 ($(common-objpfx)linkobj/libc.so): Likewise.
1110 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1111 instead of $(common-objpfx)elf/.
1112 (symbolic-link-list): Likewise.
1113 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1114 [$(cross-compiling) = no]: Likewise.
1115 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1117 (static-gnulib-arch): Likewise.
1118 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1119 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1120 $(common-objpfx)elf/.
1122 2014-05-21 Richard Henderson <rth@redhat.com>
1124 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1125 (SINGLE_THREAD_P): Use the correct width load. Fold
1126 into the ldr offset.
1128 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1129 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1131 2014-05-20 Joseph Myers <joseph@codesourcery.com>
1133 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1134 (libgcc_s_resume): Use __attribute_used__.
1135 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1138 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1140 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1141 optimization when used with float constants.
1143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1145 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1148 * locale/nl_langinfo_l.c: Make direct reference to every
1149 _nl_current_CATEGORY symbol.
1150 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1151 (tests-static): Add tst-langinfo-static.
1152 (tests-special): Add tst-langinfo-static.out.
1153 ($(objpfx)tst-langinfo.out): Redirect output.
1154 ($(objpfx)tst-langinfo-static.out): New.
1155 * localedata/tst-langinfo.sh: Send output to stdout.
1156 * localedata/tst-langinfo-static.c: New file.
1159 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1160 when the shift amount is modulo the limb size.
1162 2014-05-20 Richard Henderson <rth@redhat.com>
1165 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1166 Change type of sa_flags from unsigned int to int.
1169 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1171 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1173 2014-05-20 Will Newton <will.newton@linaro.org>
1175 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1176 Test the return value of the system call in the nocancel case.
1178 2014-05-20 Will Newton <will.newton@linaro.org>
1179 Yvan Roux <yvan.roux@linaro.org>
1181 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1182 #include of asm/ptrace.h.
1183 (PTRACE_GET_THREAD_AREA): Remove #undef.
1184 (PTRACE_GETHBPREGS): Likewise.
1185 (PTRACE_SETHBPREGS): Likewise.
1186 (struct user_regs_struct): New structure.
1187 (struct user_fpsimd_struct): New structure.
1188 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1189 #include of asm/ptrace.h and second #include of sys/user.h.
1190 (PTRACE_GET_THREAD_AREA): Remove #undef.
1191 (PTRACE_GETHBPREGS): Likewise.
1192 (PTRACE_SETHBPREGS): Likewise.
1193 (ELF_NGREG): Use new struct user_regs_struct.
1194 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1196 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1198 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1199 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1201 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1204 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1205 membar to avoid block loads/stores to overlap previous stores.
1207 2014-05-17 Richard Henderson <rth@redhat.com>
1209 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1210 Create the __##syscall_name##_nocancel entry point.
1211 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1212 Remove; let the sysdep-cancel.h code create it.
1214 2014-05-17 David S. Miller <davem@davemloft.net>
1216 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1217 Protect with __USE_GNU.
1218 (TIOCSET_TEMPT): Likewise.
1219 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1220 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1221 these are already provided in bits/ioctl-types.h
1223 2014-05-16 Roland McGrath <roland@hack.frob.com>
1225 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1226 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1228 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1229 Use wait4 regardless of [__NR_waitpid].
1231 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1234 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1235 (_FP_NANSIGN_Q): Set the quiet bit.
1237 2014-05-16 Joseph Myers <joseph@codesourcery.com>
1239 * benchtests/Makefile
1240 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1241 not $(common-objpfx)math/libm.so.
1242 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1243 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1244 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1245 $(common-objpfx)dlfcn/libdl.so.
1246 ($(objpfx)tst-audit8): Depend on $(libm), not
1247 $(common-objpfx)math/libm.so.
1248 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1249 not $(common-objpfx)dlfcn/libdl.so.
1251 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1252 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1253 [$(build-shared) = yes].
1254 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1255 $(common-objpfx)nptl/libpthread.so.
1256 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1257 $(common-objpfx)math/libm.so$(libm.so-version) or
1258 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1259 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1260 $(common-objpfx)dlfcn/libdl.so.
1261 * setjmp/Makefile (link-libm): Remove variable.
1262 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1263 * stdio-common/Makefile (link-libm): Remove variable.
1264 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1265 * stdlib/Makefile (link-libm): Remove variable.
1266 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1267 ($(objpfx)tst-strtod-round): Likewise.
1268 ($(objpfx)tst-tininess): Likewise.
1269 ($(objpfx)tst-strtod-underflow): Likewise.
1270 ($(objpfx)tst-strtod6): Likewise.
1271 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1272 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1273 $(common-objpfx)dlfcn/libdl.so.
1275 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1277 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1278 BSD terminal modes definitions.
1280 2014-05-16 Roland McGrath <roland@hack.frob.com>
1282 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1283 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1285 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1286 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1287 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1288 Don't do #include_next.
1289 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1290 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1291 Don't do #include_next.
1292 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1293 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1294 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1295 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1297 2014-05-16 Allan McRae <allan@archlinux.org>
1299 * po/sv.po: Update Swedish translation from translation project.
1301 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1304 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1307 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1308 errno if the TIOCGPTN ioctl fails with an error different than
1310 * login/tst-ptsname.c: New file.
1311 * login/Makefile (tests): Add tst-ptsname.
1314 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1317 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1321 herrno to return EAI_AGAIN.
1323 2014-05-14 Roland McGrath <roland@hack.frob.com>
1325 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1326 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1327 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1328 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1329 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1330 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1331 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1332 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1333 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1334 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1335 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1336 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1337 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1338 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1339 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1340 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1341 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1342 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1343 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1344 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1345 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1346 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1347 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1348 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1349 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1350 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1351 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1352 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1353 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1354 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1356 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1358 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1361 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1363 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1365 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1367 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1369 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1371 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1373 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1375 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1377 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1379 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1381 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1383 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1385 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1387 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1390 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1392 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1394 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1396 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1398 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1400 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1402 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1404 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1406 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1408 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1411 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1413 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1415 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1416 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1417 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1418 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1419 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1420 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1421 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1422 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1423 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1424 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1425 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1426 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1427 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1428 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1429 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1430 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1431 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1432 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1433 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1434 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1435 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1436 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1437 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1438 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1439 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1440 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1441 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1442 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1443 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1444 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1445 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1447 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1448 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1450 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1451 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1452 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1453 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1454 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1455 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1457 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1458 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1460 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1461 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1463 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1464 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1466 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1467 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1468 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1469 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1471 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1472 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1473 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1474 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1475 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1476 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1477 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1478 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1480 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1481 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1483 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1485 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1486 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1487 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1488 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1489 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1491 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1493 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1495 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1496 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1497 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1498 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1499 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1500 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1502 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1503 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1505 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1506 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1508 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1509 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1511 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1512 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1513 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1514 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1516 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1517 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1518 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1519 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1520 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1521 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1522 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1523 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1525 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1526 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1528 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1530 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1531 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1532 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1533 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1534 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1536 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1538 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1540 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1541 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1542 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1543 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1544 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1545 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1546 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1547 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1548 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1549 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1551 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1552 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1554 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1555 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1557 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1558 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1560 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1561 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1562 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1563 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1564 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1565 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1567 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1568 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1569 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1570 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1571 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1572 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1573 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1574 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1576 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1577 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1579 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1581 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1582 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1583 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1584 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1585 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1587 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1589 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1591 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1592 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1593 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1594 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1595 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1596 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1597 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1598 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1599 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1600 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1601 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1603 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1604 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1606 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1607 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1609 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1610 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1611 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1612 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1613 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1614 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1615 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1616 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1617 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1618 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1619 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1620 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1621 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1622 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1623 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1624 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1625 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1626 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1628 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1629 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1630 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1631 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1633 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1634 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1635 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1636 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1637 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1638 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1639 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1640 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1642 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1643 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1645 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1646 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1647 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1648 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1649 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1650 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1651 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1652 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1653 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1654 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1655 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1656 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1657 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1658 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1659 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1660 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1661 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1663 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1664 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1665 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1666 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1667 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1669 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1670 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1671 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1672 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1673 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1674 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1675 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1676 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1677 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1678 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1680 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1681 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1683 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1684 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1685 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1686 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1687 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1688 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1689 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1690 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1691 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1692 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1693 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1694 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1695 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1696 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1697 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1699 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1703 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1705 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1707 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1709 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1711 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1717 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1718 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1719 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1720 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1721 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1722 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1723 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1724 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1725 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1726 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1727 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1728 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1729 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1730 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1731 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
1733 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1734 that was previously under [RESET_PID].
1735 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1736 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1737 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1739 * sysdeps/i386/nptl/Implies: New file.
1740 * sysdeps/x86_64/nptl/Implies: New file.
1741 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1742 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1743 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1744 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1746 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1747 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1748 (__libc_vfork): New strong alias.
1749 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1750 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1752 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1753 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1754 (__libc_vfork): New strong alias.
1755 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1756 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1758 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1759 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1760 (__libc_vfork): New strong alias.
1761 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1762 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1763 * nptl/pt-vfork.c: New file.
1764 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1765 (libpthread: GLIBC_2.20): New version set (empty).
1767 2014-05-14 Will Newton <will.newton@linaro.org>
1769 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1772 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1775 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1776 arguments with exponent 65 or above.
1777 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1778 arguments 0x1p113L or above.
1779 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1780 to arguments 0x1p107L or above.
1781 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1782 positive arguments with exponent 65 or above.
1783 * math/auto-libm-test-in: Add more tests of log1p.
1784 * math/auto-libm-test-out: Regenerated.
1787 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1788 non-finite arguments is +0.
1789 * math/s_cacosf.c (__cacosf): Likewise.
1790 * math/s_cacosl.c (__cacosl): Likewise.
1791 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1792 * sysdeps/i386/fpu/libm-test-ulps: Update.
1793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1796 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1798 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1799 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1800 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1801 for explicit high bit of mantissa when testing for argument equal
1803 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1804 * sysdeps/i386/fpu/libm-test-ulps: Update.
1805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1808 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1809 (__erf): Scale by 16 instead of 8 in potentially underflowing
1810 case. Ensure exception if result actually underflows.
1811 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1812 (__erff): Scale by 16 instead of 8 in potentially underflowing
1813 case. Ensure exception if result actually underflows.
1814 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1815 (efx8): Remove variable.
1816 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1817 case. Ensure exception if result actually underflows.
1818 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1819 (efx8): Remove variable.
1820 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1821 case. Ensure exception if result actually underflows.
1822 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1823 (efx8): Remove variable.
1824 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1825 case. Ensure exception if result actually underflows.
1826 * math/auto-libm-test-in: Add more tests of erf.
1827 * math/auto-libm-test-out: Regenerated.
1829 2014-05-14 Andreas Schwab <schwab@suse.de>
1831 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1832 Remove code conditionalized on USE___THREAD.
1834 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1835 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1838 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1840 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1841 Define unconditionally.
1842 (__ASSUME_O_CLOEXEC): Likewise.
1843 (__ASSUME_SOCK_CLOEXEC): Likewise.
1844 (__ASSUME_IN_NONBLOCK): Likewise.
1845 (__ASSUME_PIPE2): Likewise.
1846 (__ASSUME_EVENTFD2): Likewise.
1847 (__ASSUME_SIGNALFD4): Likewise.
1848 (__ASSUME_DUP3): Likewise.
1849 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1850 (__ASSUME_DUP3): Do not define.
1851 (__ASSUME_EVENTFD2): Likewise.
1852 (__ASSUME_IN_NONBLOCK): Likewise.
1853 (__ASSUME_O_CLOEXEC): Likewise.
1854 (__ASSUME_PIPE2): Likewise.
1855 (__ASSUME_SIGNALFD4): Likewise.
1856 (__ASSUME_SOCK_CLOEXEC): Likewise.
1857 (__ASSUME_UTIMES): Undefine.
1858 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1859 (__ASSUME_UTIMES): Do not define.
1860 (__ASSUME_O_CLOEXEC): Likewise.
1861 (__ASSUME_SOCK_CLOEXEC): Likewise.
1862 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1863 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1865 (__ASSUME_PIPE2): Likewise.
1866 (__ASSUME_EVENTFD2): Likewise.
1867 (__ASSUME_SIGNALFD4): Likewise.
1868 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1869 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1871 (__ASSUME_EVENTFD2): Likewise.
1872 (__ASSUME_SIGNALFD4): Likewise.
1873 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1874 (__ASSUME_32BITUIDS): Likewise.
1875 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1876 (__ASSUME_IPC64): Likewise.
1877 (__ASSUME_ST_INO_64_BIT): Likewise.
1878 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1879 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1880 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1881 (__ASSUME_UTIMES): Do not define.
1882 (__ASSUME_PSELECT): Likewise.
1883 (__ASSUME_PPOLL): Likewise.
1884 (__ASSUME_O_CLOEXEC): Likewise.
1885 (__ASSUME_SOCK_CLOEXEC): Likewise.
1886 (__ASSUME_IN_NONBLOCK): Likewise.
1887 (__ASSUME_PIPE2): Likewise.
1888 (__ASSUME_EVENTFD2): Likewise.
1889 (__ASSUME_SIGNALFD4): Likewise.
1890 (__ASSUME_DUP3): Likewise.
1891 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1892 (__ASSUME_UTIMES): Likewise.
1893 (__ASSUME_O_CLOEXEC): Likewise.
1894 (__ASSUME_SOCK_CLOEXEC): Likewise.
1895 (__ASSUME_IN_NONBLOCK): Likewise.
1896 (__ASSUME_PIPE2): Likewise.
1897 (__ASSUME_EVENTFD2): Likewise.
1898 (__ASSUME_SIGNALFD4): Likewise.
1899 (__ASSUME_DUP3): Likewise.
1900 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1901 (__ASSUME_UTIMES): Likewise.
1902 (__ASSUME_O_CLOEXEC): Likewise.
1903 (__ASSUME_SOCK_CLOEXEC): Likewise.
1904 (__ASSUME_IN_NONBLOCK): Likewise.
1905 (__ASSUME_PIPE2): Likewise.
1906 (__ASSUME_EVENTFD2): Likewise.
1907 (__ASSUME_SIGNALFD4): Likewise.
1908 (__ASSUME_DUP3): Likewise.
1909 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1911 (__ASSUME_UTIMES): Likewise.
1912 (__ASSUME_EVENTFD2): Likewise.
1913 (__ASSUME_SIGNALFD4): Likewise.
1914 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1915 (__ASSUME_O_CLOEXEC): Likewise.
1916 (__ASSUME_SOCK_CLOEXEC): Likewise.
1917 (__ASSUME_IN_NONBLOCK): Likewise.
1918 (__ASSUME_PIPE2): Likewise.
1919 (__ASSUME_EVENTFD2): Likewise.
1920 (__ASSUME_SIGNALFD4): Likewise.
1921 (__ASSUME_DUP3): Likewise.
1922 (__ASSUME_UTIMES): Undefine.
1924 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1925 feclearexcept. Remove symbol versioning code.
1926 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1927 symbol versioning code.
1928 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1929 symbol versioning code.
1930 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1931 feupdateenv. Remove symbol versioning code.
1932 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1933 fegetexceptflag. Remove symbol versioning code.
1934 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1935 fesetexceptflag. Remove symbol versioning code.
1936 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1937 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1938 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1939 (__posix_fadvise64_l32): Remove prototype.
1940 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1943 2014-05-13 Roland McGrath <roland@hack.frob.com>
1945 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1946 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1947 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1948 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1950 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1952 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1953 current working directory
1955 2014-05-13 Roland McGrath <roland@hack.frob.com>
1957 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1958 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1959 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1960 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1961 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1962 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1963 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1964 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1965 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1966 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1968 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1969 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1970 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1972 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1973 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1974 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1975 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1976 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1977 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1978 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1979 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1980 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1981 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1982 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1983 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1984 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1985 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1986 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1987 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1988 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1989 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1990 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1991 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1992 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1993 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1994 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1995 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1996 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1997 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1998 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2000 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2001 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2003 * sysdeps/unix/sysv/linux/arm/Makefile
2004 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2005 Add rt-aeabi_unwind_cpp_pr1.
2006 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2007 Add nptl-aeabi_unwind_cpp_pr1.
2008 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2009 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2010 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2011 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2012 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2013 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2015 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2016 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2017 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2018 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2020 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2021 Deconditionalize the code that was previously under [RESET_PID].
2022 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2024 * sysdeps/generic/exit-thread.h: New file.
2025 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2026 * include/unistd.h (__exit_thread): Remove declaration.
2027 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2028 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2029 * csu/libc-start.c: Include <exit-thread.h>.
2030 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2031 * nptl/pthread_create.c: Include <exit-thread.h>.
2032 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2033 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2034 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2035 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2036 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2037 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2038 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2039 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2040 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2041 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2042 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2043 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2044 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2045 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2046 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2047 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2048 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2050 2014-05-13 Andreas Schwab <schwab@suse.de>
2052 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2054 2014-05-12 Joseph Myers <joseph@codesourcery.com>
2056 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2057 (__ASSUME_UTIMES): Do not condition on kernel version.
2058 (__ASSUME_PSELECT): Define unconditionally.
2059 (__ASSUME_PPOLL): Likewise.
2060 (__ASSUME_ATFCTS): Likewise.
2061 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2062 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2063 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2064 (__ASSUME_UTIMENSAT): Define unconditionally.
2065 (__ASSUME_PRIVATE_FUTEX): Likewise.
2066 (__ASSUME_FALLOCATE): Likewise.
2067 (__ASSUME_O_CLOEXEC): Likewise.
2068 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2069 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2070 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2071 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2072 (__ASSUME_IN_NONBLOCK): Likewise.
2073 (__ASSUME_PIPE2): Likewise.
2074 (__ASSUME_EVENTFD2): Likewise.
2075 (__ASSUME_SIGNALFD4): Likewise.
2076 (__ASSUME_DUP3): Likewise.
2077 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2078 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2079 (__ASSUME_AT_RANDOM): Likewise.
2080 (__ASSUME_PREADV): Likewise.
2081 (__ASSUME_PWRITEV): Likewise.
2082 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2083 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2084 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2085 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2086 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2087 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2088 (__ASSUME_O_CLOEXEC): Define unconditionally.
2089 (__ASSUME_PSELECT): Do not undefine conditionally.
2090 (__ASSUME_PPOLL): Likewise.
2091 (__ASSUME_ATFCTS): Likewise.
2092 (__ASSUME_SET_ROBUST_LIST): Likewise.
2093 (__ASSUME_UTIMENSAT): Likewise.
2094 (__ASSUME_FDATASYNC): Define unconditionally.
2095 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2096 (__ASSUME_SIGFRAME_V2): Likewise.
2097 )__ASSUME_EVENTFD2): Likewise.
2098 (__ASSUME_SIGNALFD4): Likewise.
2099 (__ASSUME_PSELECT): Do not undefine conditionally.
2100 (__ASSUME_PPOLL): Likewise.
2101 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2102 (__ASSUME_PSELECT): Define unconditionally.
2103 (__ASSUME_PPOLL): Likewise.
2104 (__ASSUME_O_CLOEXEC): Likewise.
2105 (__ASSUME_SOCK_CLOEXEC): Likewise.
2106 (__ASSUME_IN_NONBLOCK): Likewise.
2107 (__ASSUME_PIPE2): Likewise.
2108 (__ASSUME_EVENTFD2): Likewise.
2109 (__ASSUME_SIGNALFD4): Likewise.
2110 (__ASSUME_DUP3): Likewise.
2111 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2112 (__ASSUME_O_CLOEXEC): Likewise.
2113 (__ASSUME_SOCK_CLOEXEC): Likewise.
2114 (__ASSUME_IN_NONBLOCK): Likewise.
2115 (__ASSUME_PIPE2): Likewise.
2116 (__ASSUME_EVENTFD2): Likewise.
2117 (__ASSUME_SIGNALFD4): Likewise.
2118 (__ASSUME_DUP3): Likewise.
2119 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2120 (__ASSUME_EVENTFD2): Likewise.
2121 (__ASSUME_SIGNALFD4): Likewise.
2122 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2124 2014-05-12 Andreas Schwab <schwab@suse.de>
2127 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2128 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2129 than maximum RPC packet size.
2130 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2131 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2132 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2133 (_nss_nis_getservbyport_r): Likewise.
2135 2014-05-12 Will Newton <will.newton@linaro.org>
2137 * malloc/Makefile (tests): Add tst-mallopt.
2138 * malloc/tst-mallopt.c: New file.
2140 2014-05-09 Roland McGrath <roland@hack.frob.com>
2142 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2143 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2145 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2147 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2148 (tst-tlsmod6.so): Likewise.
2150 2014-05-09 Roland McGrath <roland@hack.frob.com>
2152 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2154 2014-05-09 Joseph Myers <joseph@codesourcery.com>
2157 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2158 and <dl-procinfo.h>.
2159 (__fegetenv): Save SSE state in envp->__eip if supported.
2160 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2161 envp->__eip if supported.
2162 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2163 and <dl-procinfo.h>.
2164 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2165 __data_offset and __data_selector in environment to 0. Set SSE
2167 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2169 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2171 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2173 2014-05-09 Will Newton <will.newton@linaro.org>
2175 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2176 and libc_relro_required for ARM.
2177 * sysdeps/arm/preconfigure: Regenerate.
2179 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2180 Stefan Liebler <stli@linux.vnet.ibm.com>
2182 * config.make.in (enable-lock-elision): New Makefile variable.
2183 * configure.ac: Likewise.
2184 * configure: Regenerate.
2185 * sysdeps/s390/configure.ac:
2186 Add check for gcc transactions support.
2187 * sysdeps/s390/configure: Regenerate.
2188 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2189 Build elision files if enabled.
2190 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2191 Add lock elision support for s390.
2192 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2193 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2194 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2195 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2196 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2197 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2198 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2200 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2202 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2204 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2206 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2207 (__lll_timedlock_elision, __lll_lock_elision)
2208 (__lll_unlock_elision, __lll_trylock_elision)
2209 (lll_timedlock_elision, lll_lock_elision)
2210 (lll_unlock_elision, lll_trylock_elision): Add.
2211 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2212 (pthread_mutex_t): Add lock elision support for s390.
2214 2014-05-14 Wilco <wdijkstr@arm.com>
2216 * sysdeps/arm/fclrexcpt.c: Cleanup.
2217 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2218 * sysdeps/arm/feenablxcpt.c: Cleanup.
2219 * sysdeps/arm/fegetenv.c: Cleanup.
2220 * sysdeps/arm/fegetexcept.c: Cleanup.
2221 * sysdeps/arm/fegetround.c: Cleanup.
2222 * sysdeps/arm/feholdexcpt.c: Cleanup.
2223 * sysdeps/arm/fesetenv.c: Cleanup.
2224 * sysdeps/arm/fesetround.c: Cleanup.
2225 * sysdeps/arm/feupdateenv.c: Cleanup.
2226 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2227 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2228 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2229 * sysdeps/arm/ftestexcept.c: Cleanup.
2230 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2231 * sysdeps/arm/setfpucw.c: Cleanup.
2233 2014-05-09 Will Newton <will.newton@linaro.org>
2235 * sysdeps/arm/armv7/strcmp.S: New file.
2236 * NEWS: Mention addition of ARMv7 optimized strcmp.
2238 2014-05-08 Roland McGrath <roland@hack.frob.com>
2240 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2241 look for %.ac rather than %.in.
2243 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2244 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2245 * sysdeps/mach/hurd/configure: Regenerated.
2246 * sysdeps/unix/sysv/linux/configure: Regenerated.
2248 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2250 2014-05-07 Steve Ellcey <sellcey@mips.com>
2253 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2257 2014-05-07 Andreas Schwab <schwab@suse.de>
2259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2260 when skipping over non-matching result from nscd.
2262 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
2265 * nptl/sockperf.c (client): Check socket return value.
2268 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2269 nscd security class.
2271 2014-05-06 Roland McGrath <roland@hack.frob.com>
2273 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2274 * sysdeps/arm/unwind.h: ... here.
2276 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2279 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2282 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2284 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2285 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2286 multiarch strncpy for PPC64.
2287 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2288 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2290 multiarch optimizations.
2291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2292 (__libc_ifunc_impl_list): Likewise.
2293 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2294 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2295 multiarch stpncpy for PPC64.
2296 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2297 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2299 2014-05-06 Andreas Schwab <schwab@suse.de>
2302 * gmon/mcount.c (_MCOUNT_DECL): Use
2303 atomic_compare_and_exchange_bool_acq instead of
2304 catomic_compare_and_exchange_bool_acq.
2306 2014-05-05 Roland McGrath <roland@hack.frob.com>
2308 * elf/Makefile (others, install-bin): Remove pldd.
2309 (pldd-modules): Variable removed.
2310 ($(objpfx)pldd): Target removed.
2311 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2312 (others, install-bin): Append pldd here.
2313 ($(objpfx)pldd): New target.
2315 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2316 to 0, so the first #if test emitted later doesn't see it undefined.
2317 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2318 * sysdeps/gnu/errlist.c: Regenerated.
2320 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2322 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2323 [libc_hidden_builtin_def]: Define to empty value.
2324 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2325 [libc_hidden_builtin_def]: Likewise.
2326 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2327 [libc_hidden_builtin_def]: Likewise.
2328 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2329 [libc_hidden_builtin_def]: Likewise.
2330 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2331 __redirect_memcpy and define ifunc as default hidden symbol.
2332 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2333 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2335 2014-05-04 Adam Conrad <adconrad@0c3.net>
2337 * locale/iso-4217.def: Reintroduce XDR currency.
2339 2014-05-04 Allan McRae <allan@archlinux.org>
2341 * po/eo.po: Update Esperanto translation from translation project.
2343 2014-05-02 Carlos O'Donell <carlos@redhat.com>
2345 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2346 and FEATURE_INDEX_MAX to 1.
2347 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2349 2014-05-01 Steve Ellcey <sellcey@mips.com>
2351 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2352 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2353 * iconvdata/big5.c (ONE_DIRECTION): Define.
2354 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2355 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2356 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2357 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2358 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2359 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2360 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2361 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2362 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2363 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2364 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2365 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2366 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2367 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2368 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2369 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2370 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2371 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2372 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2373 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2374 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2375 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2376 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2377 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2378 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2379 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2380 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2381 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2382 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2383 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2384 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2385 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2386 * iconvdata/johab.c (ONE_DIRECTION): Define.
2387 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2388 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2389 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2390 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2391 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2392 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2393 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2394 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2395 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2396 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2398 2014-05-01 Roland McGrath <roland@hack.frob.com>
2400 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2401 (_IO_JUMPS_OFFSET): Define to 0.
2403 * nptl/sysdeps/pthread/bits/libc-lock.h
2404 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2405 (__libc_lock_define_initialized_recursive): Always define using
2406 initializer. Modern compilers treat uninitialized (implicit zero) and
2407 explicit zero initializers the same (i.e. put the datum in bss).
2409 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2411 * nscd/nscd-client.h: Include <string.h>.
2413 2014-05-01 David S. Miller <davem@davemloft.net>
2416 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2417 multiple zero bytes exist at the end of a string.
2418 Reported by Aurelien Jarno <aurelien@aurel32.net>
2420 * string/test-strcmp.c (check): Add explicit test for situations where
2421 there are multiple zero bytes after the first.
2423 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2426 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2427 when compiling wprintf.
2428 * stdio-common/tstdiomisc.c (t3): New function.
2431 2014-05-01 Steve Ellcey <sellcey@mips.com>
2433 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2434 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2435 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2436 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2438 2014-05-01 Steve Ellcey <sellcey@mips.com>
2440 * stdlib/longlong.h: Updated from GCC.
2442 2014-05-01 Will Newton <will.newton@linaro.org>
2443 Bernard Ogden <bernie.ogden@linaro.org>
2445 * NEWS: Update fixed bug list.
2448 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2450 2014-04-30 David S. Miller <davem@davemloft.net>
2452 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2453 (libc_feholdexcept_setround_sparc_ctx): New function.
2454 (libc_fesetenv_sparc_ctx): Likewise.
2455 (libc_feupdateenv_sparc_ctx): Likewise.
2456 (libc_feholdsetround_sparc_ctx): Likewise.
2457 (libc_feholdexcept_setround_ctx): Define.
2458 (libc_feholdexcept_setroundf_ctx): Likewise.
2459 (libc_feholdexcept_setroundl_ctx): Likewise.
2460 (libc_fesetenv_ctx): Likewise.
2461 (libc_fesetenvf_ctx): Likewise.
2462 (libc_fesetenvl_ctx): Likewise.
2463 (libc_feupdateenv_ctx): Likewise.
2464 (libc_feupdateenvf_ctx): Likewise.
2465 (libc_feupdateenvl_ctx): Likewise.
2466 (libc_feresetround_ctx): Likewise.
2467 (libc_feresetroundf_ctx): Likewise.
2468 (libc_feresetroundl_ctx): Likewise.
2469 (libc_feholdsetround_ctx): Likewise.
2470 (libc_feholdsetroundf_ctx): Likewise.
2471 (libc_feholdsetroundl_ctx): Likewise.
2473 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2474 with __USE_GNU instead of XOPEN cpp guards.
2476 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2479 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2480 with XOPEN cpp guards.
2482 2014-04-30 Julian Brown <julian@codesourcery.com>
2485 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2488 2014-04-30 Joseph Myers <joseph@codesourcery.com>
2491 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2493 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2494 * sysdeps/unix/sysv/linux/configure: Regenerated.
2495 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2496 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2497 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2498 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2499 * README: Update reference to required Linux kernel version.
2500 * manual/install.texi (Linux): Update reference to required Linux
2501 kernel headers version.
2502 * INSTALL: Regenerated.
2504 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2506 [POSIX] (limits.h): Likewise.
2507 [POSIX] (math.h): Likewise.
2508 [POSIX] (sys/wait.h): Likewise.
2509 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2511 [POSIX] (stddef.h): Do not allow header inclusion.
2513 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2515 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2517 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2519 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2520 Return immediately after lll_futex_wake.
2522 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2525 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2527 (datahead_init_pos): Call datahead_init_common early.
2528 (datahead_init_neg): Likewise.
2530 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2531 datahead_init_neg): New functions.
2532 * nscd/aicache.c (addhstaiX): Use them.
2533 * nscd/grpcache.c (cache_addgr): Likewise.
2534 * nscd/hstcache.c (cache_addhst): Likewise.
2535 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2536 * nscd/netgroupcache.c (do_notfound): Likewise.
2537 (addgetnetgrentX): Likewise.
2538 (addinnetgrX): Likewise.
2539 * nscd/pwdcache.c (cache_addpw): Likewise.
2540 * nscd/servicescache.c (cache_addserv): Likewise.
2542 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2543 Atsushi Onoe <atsushi@onoe.org>
2548 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2549 one response is valid.
2550 * resolv/res_send.c (send_dg): Check for validity of other
2551 response if the current response is a referral.
2553 2014-04-29 Steve Ellcey <sellcey@mips.com>
2555 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2557 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2560 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2561 Always divide by positive zero when computing -Inf result.
2562 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2563 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2565 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2567 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2568 FPSCR if value do not change.
2569 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2570 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2571 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2572 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2573 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2574 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2577 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2579 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2580 * sysdeps/unix/sysv/linux/hppa: Move directory from
2581 ports/systeps/unix/sysv/linux/hppa.
2582 * README: Update listing for hppa-*-linux-gnu.
2584 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
2587 * manual/stdio.texi (Hook functions): Fix types of stream hook
2590 * socket/sys/socket.h: Fix typo in comment.
2592 2014-04-28 Wilco <wdijkstr@arm.com>
2594 * sysdeps/arm/fenv_private.h: New file.
2595 * sysdeps/arm/math_private.h: New file.
2596 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2598 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2600 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2602 (La_x86_64_retval): Likewise.
2604 2014-04-24 Ian Bolton <ian.bolton@arm.com>
2606 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2607 fpsr if value didn't change.
2608 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2609 to fpcr if value didn't change.
2610 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2611 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2612 fpsr or fpcr if value didn't change.
2613 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2614 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2615 fpcr if value didn't change.
2616 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2617 to fpsr if value didn't change.
2619 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2621 * nptl/tst-sem3.c: Use test-skeleton.c
2622 (main): Rename to do_test. Use return instead of
2624 * nptl/tst-sem4.c: Use test-skeleton.c
2625 (main): Rename to do_test.
2627 2014-04-22 David S. Miller <davem@davemloft.net>
2629 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2630 (struct sigaction): New struct member __glibc_reserved0, change
2631 type of sa_flags to int.
2633 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2635 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2636 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2638 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2640 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2641 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2643 2014-04-22 Will Newton <will.newton@linaro.org>
2644 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2646 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2647 (__longjmp): Add longjmp and longjmp_target SystemTap
2649 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2650 (__sigsetjmp): Add setjmp SystemTap probe.
2652 2014-04-17 Carlos O'Donell <carlos@redhat.com>
2654 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2657 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2659 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2661 * sysdeps/powerpc/fpu/fenv_private.h
2662 (libc_feholdexcept_setroundl_ctx): Define to
2663 libc_feholdexcept_setround_ppc_ctx.
2664 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2665 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2666 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2667 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2669 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2671 * sysdeps/aarch64/math-tests.h: New file.
2673 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2675 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2678 Check and set bit_AVX2_Usable.
2679 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2681 (bit_AVX2): Likewise.
2682 (index_AVX2_Usable): Likewise.
2683 (CPUID_AVX2): Likewise.
2684 (HAS_AVX2): Likewise.
2686 2014-04-17 Will Newton <will.newton@linaro.org>
2688 * manual/setjmp.texi (System V contexts): Add note that
2689 calling setcontext on a context created by a call to a
2690 signal handler is undefined. Update text to note that
2691 setcontext from a signal handler is possible but not
2695 * stdlib/tst-setcontext.c: Include signal.h.
2696 (main): Check that the signal stack before and
2697 after swapcontext is the same.
2699 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2700 Re-implement to restore registers in user code and avoid
2701 rt_sigreturn system call.
2703 2014-04-17 Wilco <wdijkstr@arm.com>
2705 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2706 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2707 * math/test-fenv.c: Skip exception trap tests on targets which only
2708 support non-stop mode.
2710 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2711 Wilco Dijkstra <wilco.dijkstra@arm.com>
2713 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2714 (libc_feholdsetround_aarch64_ctx)
2715 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2716 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2717 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2718 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2719 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2720 (libc_feresetround_noexl_ctx): Define.
2722 2014-04-16 Richard Henderson <rth@redhat.com>
2724 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2726 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2729 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2730 const from the non-libc, non-ldso copy.
2732 * sysdeps/alpha/libm-test-ulps: Regenerate.
2734 2014-04-16 Ian Bolton <ian.bolton@arm.com>
2735 Wilco Dijkstra <wilco.dijkstra@arm.com>
2737 * sysdeps/aarch64/fpu/math_private.h: New file.
2739 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2741 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2743 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2745 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2746 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2747 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2748 Intel MPX bound registers before _dl_profile_fixup.
2749 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2750 registers after _dl_profile_fixup. Save and restore bound
2751 registers bnd0/bnd1 when calling _dl_call_pltexit.
2752 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2753 (LR_BND_OFFSET): Likewise.
2754 (LRV_BND0_OFFSET): Likewise.
2755 (LRV_BND1_OFFSET): Likewise.
2757 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2759 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2761 * sysdeps/mach/hurd/i386/tls.h: ... here.
2762 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2763 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2766 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2768 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2770 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2772 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2774 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2777 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2778 * sysdeps/s390/configure: Regenerate.
2781 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2782 Set round-to-nearest internally to reduce error accumulation.
2784 2014-04-16 Alan Modra <amodra@gmail.com>
2788 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2789 * math/libm-test.inc (frexp_test_data): Add tests.
2790 * NEWS: Update fixed bug list.
2792 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2794 * benchtests/Makefile: Depend on libraries in build directory.
2795 (bench-math): Separate out math tests.
2796 (bench-pthread): Separate out pthread tests.
2797 (bench): Include math and pthread tests.
2799 2014-04-14 Carlos O'Donell <carlos@redhat.com>
2802 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2803 _dl_debug_initialize.
2805 * configure.ac: Remove SELinux header check.
2806 * configure: Regenerate.
2807 * nscd/selinux.c (perms): Array of const char* to permission names.
2808 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2809 default policy. Call string_to_security_class and string_to_av_perm to
2810 translate strings. Enforce default policy and call avs_has_perm with
2811 results of translated strings.
2813 2014-04-13 David S. Miller <davem@davemloft.net>
2815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2817 2014-04-12 Allan McRae <allan@archlinux.org>
2820 * manual/string.texi (Collation Functions): Fix qsort argument
2822 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2824 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2826 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2827 Make the test a no-op if there are no exceptions defined.
2829 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2831 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2832 enable-hardcoded-path-in-tests
2834 2014-04-11 Will Newton <will.newton@linaro.org>
2836 * benchtests/Makefile (extra-objs): Add json-lib.o.
2837 (bench-func): Tidy up JSON output.
2838 * benchtests/bench-skeleton.c: Include json-lib.h.
2839 (main): Use JSON library functions to do output of
2841 * benchtests/bench-timing-type.c (main): Output the
2842 timing type simply, leaving formatting to the user.
2843 * benchtests/json-lib.c: New file.
2844 * benchtests/json-lib.h: Likewise.
2846 2014-04-11 Torvald Riegel <triegel@redhat.com>
2849 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2850 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2851 memory barriers. Add comments.
2852 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2853 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2854 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2855 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2856 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2857 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2859 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2861 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2862 * sysdeps/s390/s390-64/configure.ac: ... this ...
2863 * sysdeps/s390/configure.ac: ... to here.
2864 * sysdeps/s390/s390-32/configure: Delete file.
2865 * sysdeps/s390/s390-64/configure: Delete file.
2866 * sysdeps/s390/configure: Regenerate.
2868 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2870 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2872 2014-04-11 Will Newton <will.newton@linaro.org>
2874 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2875 to zero if it is not defined elsewhere. (mtrim): Test
2876 the value of MALLOC_DEBUG with #if rather than #ifdef.
2878 2014-04-10 Torvald Riegel <triegel@redhat.com>
2880 * benchtests/pthread_once-inputs: New file.
2881 * benchtests/pthread_once-source.c: New file.
2882 * benchtests/README: Update documentation.
2884 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2885 H.J. Lu <hongjiu.lu@intel.com>
2887 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2888 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2889 * sysdeps/x86_64/configure: Regenerated.
2890 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2892 (REGISTER_SAVE_RAX): Likewise.
2893 (REGISTER_SAVE_RCX): Likewise.
2894 (REGISTER_SAVE_RDX): Likewise.
2895 (REGISTER_SAVE_RSI): Likewise.
2896 (REGISTER_SAVE_RDI): Likewise.
2897 (REGISTER_SAVE_R8): Likewise.
2898 (REGISTER_SAVE_R9): Likewise.
2899 (REGISTER_SAVE_BND0): Likewise.
2900 (REGISTER_SAVE_BND1): Likewise.
2901 (REGISTER_SAVE_BND2): Likewise.
2902 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2903 bound registers when calling _dl_fixup.
2905 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2907 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2908 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2910 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2911 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2912 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2913 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2914 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2915 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2916 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2918 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2921 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2922 pathconf(_PC_NAME_MAX).
2924 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2926 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2928 (__PTHREAD_SPINS): Move definition to ...
2929 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2930 (__PTHREAD_SPINS): ... here.
2931 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2932 (__PTHREAD_SPIN): Likewise.
2933 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2934 (__PTHREAD_SPIN): Likewise.
2935 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2936 (__PTHREAD_SPIN): Likewise.
2937 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2938 (__PTHREAD_SPIN): Likewise.
2939 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2940 (__PTHREAD_SPIN): Likewise.
2941 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2942 (__PTHREAD_SPIN): Likewise.
2943 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2944 (__PTHREAD_SPIN): Likewise.
2945 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2946 (__PTHREAD_SPIN): Likewise.
2947 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2948 (__PTHREAD_SPIN): Likewise.
2949 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2950 (__PTHREAD_SPIN): Likewise.
2951 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2952 (__PTHREAD_SPIN): Likewise.
2953 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2954 (__PTHREAD_SPIN): Likewise.
2956 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2957 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2958 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2959 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2961 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2962 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2963 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2964 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2966 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2967 strlen symbol for non multi-arch builds.
2968 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2969 missing hidden_def and weak_alias.
2971 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2973 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2975 2014-04-07 Will Newton <will.newton@linaro.org>
2977 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2978 and contents. [!_LIBC] Remove #ifndef and contents.
2979 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2980 * string/memccpy.c (__memccpy): Use ANSI prototype.
2981 * string/memfrob.c (memfrob): Likewise.
2982 * string/strcoll.c (STRCOLL): Likewise.
2983 * string/strlen.c (strlen): Likewise.
2984 * string/strtok.c (STRTOK): Likewise.
2985 * string/strcat.c: Remove unused #include of memcopy.h.
2986 (strcat): Use ANSI prototype.
2987 * string/strchr.c: Remove unused #include of memcopy.h.
2988 (strchr): Use ANSI prototype.
2989 * string/strcmp.c: Remove unused #include of memcopy.h.
2990 (strcmp): Use ANSI prototype.
2991 * string/strcpy.c: Remove unused #include of memcopy.h.
2992 (strcpy): Use ANSI prototype.
2994 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2996 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2997 * config.make.in (config-extra-cppflags): Set it from
2998 libc_extra_cppflags.
2999 * configure.ac (libc_extra_cflags): Make it accumulate over
3000 configure fragments.
3001 (libc_extra_cppflags): New flag.
3002 * configure. Regenerate.
3003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3004 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3005 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3009 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3010 result for FE_DOWNWARD rounding mode.
3011 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3015 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3017 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3018 in function argument name.
3020 2014-04-03 David Svoboda <svoboda@cert.org>
3023 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3026 2014-04-03 Roland McGrath <roland@hack.frob.com>
3028 * elf/dl-unmap-segments.h: New file.
3029 * sysdeps/generic/ldsodefs.h
3030 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3031 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3032 * elf/dl-fptr.c: Likewise.
3033 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3034 * sysdeps/aarch64/tlsdesc.c: Likewise.
3035 * sysdeps/arm/tlsdesc.c: Likewise.
3036 * sysdeps/i386/tlsdesc.c: Likewise.
3037 * sysdeps/tile/dl-runtime.c: Likewise.
3038 * sysdeps/x86_64/tlsdesc.c: Likewise.
3039 * elf/dl-load.h: New file.
3040 * elf/dl-load.c: Include it.
3041 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3042 Macros moved to dl-load.h.
3043 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3044 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3045 Use _dl_unmap_segments in place of __munmap.
3046 Break out segment-mapping loop into ...
3047 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3049 2014-04-03 Will Newton <will.newton@linaro.org>
3051 * elf/dl-lookup.c (do_lookup_x): Remove comment
3052 referring to nested function and move variable
3053 declarations down to before first use.
3055 2014-04-02 Joseph Myers <joseph@codesourcery.com>
3059 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3061 * math/s_catanf.c (__catanf): Likewise.
3062 * math/s_catanh.c (__catanh): Likewise.
3063 * math/s_catanhf.c (__catanhf): Likewise.
3064 * math/s_catanhl.c (__catanhl): Likewise.
3065 * math/s_catanl.c (__catanl): Likewise.
3066 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3067 by positive zero when computing -Inf result.
3068 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3069 (catanh_test): Likewise.
3070 * sysdeps/i386/fpu/libm-test-ulps: Update.
3071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3074 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3075 instead of using underflowing value in computing result.
3076 * math/s_clog10.c (__clog10): Likewise.
3077 * math/s_clog10f.c (__clog10f): Likewise.
3078 * math/s_clog10l.c (__clog10l): Likewise.
3079 * math/s_clogf.c (__clogf): Likewise.
3080 * math/s_clogl.c (__clogl): Likewise.
3081 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3082 (clog10_test): Likewise.
3083 * sysdeps/i386/fpu/libm-test-ulps: Update.
3084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3086 2014-04-02 Alan Modra <amodra@gmail.com>
3089 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3090 output when value is near a power of two. Use int64_t for lx and
3091 remove casts. Use decimal rather than hex exponent constants.
3092 Don't use long double multiplication when double will suffice.
3093 * math/libm-test.inc (nextafter_test_data): Add tests.
3094 * NEWS: Add 16739 and 16786 to bug list.
3096 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3098 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3100 2014-04-01 Will Newton <will.newton@linaro.org>
3102 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3103 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3105 2014-04-01 Florian Weimer <fweimer@redhat.com>
3108 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3109 * nptl/tst-setuid2.c: New file.
3110 * nptl/Makefile (xtests): Add tst-setuid2.
3112 2014-04-01 Alan Modra <amodra@gmail.com>
3115 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3117 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3121 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3122 set errno as appropriate.
3123 * math/w_scalbf.c (__scalbf): Likewise.
3124 * math/w_scalbl.c (__scalbl): Likewise.
3125 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3126 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3127 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3131 * math/w_atan2.c: Include <errno.h>.
3132 (__atan2): Set errno for result underflowing to zero.
3133 * math/w_atan2f.c: Include <errno.h>.
3134 (__atan2f): Set errno for result underflowing to zero.
3135 * math/w_atan2l.c: Include <errno.h>.
3136 (__atan2l): Set errno for result underflowing to zero.
3137 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3139 * math/auto-libm-test-out: Regenerated.
3141 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3143 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3144 Encode instruction correctly in little endian.
3145 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3147 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3149 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3151 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3154 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3157 * sysdeps/unix/sysv/linux/kernel-features.h
3158 [__sparc__ && !__arch64__ && !__sparc_v9__]
3159 (__ASSUME_SET_ROBUST_LIST): Do not define.
3160 [__sparc__ && !__arch64__ && !__sparc_v9__]
3161 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3162 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3164 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3165 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3166 (__ASSUME_REQUEUE_PI): Likewise.
3167 (__ASSUME_SET_ROBUST_LIST): Likewise.
3168 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3169 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3171 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3172 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3174 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3176 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3178 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3179 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3181 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3182 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3186 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3187 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3188 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3190 2014-03-31 Will Newton <will.newton@linaro.org>
3192 * benchtests/Makefile (bench): Add ffs and ffsll to list
3194 * benchtests/ffs-inputs: New file.
3195 * benchtests/ffsll-inputs: Likewise.
3197 2014-03-29 Joseph Myers <joseph@codesourcery.com>
3200 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3201 too large before casting to int.
3202 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3203 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3204 * math/libm-test.inc (scalb_test_data): Add more tests.
3206 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3208 * benchtests/Makefile (DETAILED_OPT): New make option.
3209 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3211 * benchtests/bench-skeleton.c: Include stdbool.h.
3212 (main): Store and print timings per input.
3213 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3214 member to each argument value.
3215 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3216 (_print_arg_data): Initialize per-input timing to 0.
3218 * benchtests/Makefile (timing-type): New binary.
3219 (bench-clean): Also remove bench-timing-type.
3220 (bench): New target for timing-type.
3221 (bench-func): Print output in JSON format.
3222 * benchtests/bench-skeleton.c (main): Print output in JSON
3224 * benchtests/bench-timing-type.c: New file.
3225 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3226 (TIMING_PRINT_STATS): Remove.
3227 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3230 * benchtests/bench-modf.c: Remove.
3231 * benchtests/modf-inputs: New inputs file.
3233 2014-03-28 Joseph Myers <joseph@codesourcery.com>
3236 * math/s_clog10.c (M_PI_LOG10E): New macro.
3237 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3238 imaginary parts are 0.
3239 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3240 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3241 imaginary parts are 0.
3242 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3243 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3244 imaginary parts are 0.
3245 * math/libm-test.inc (clog10_test_data): Update expected results
3246 for when real and imaginary parts are 0.
3248 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3250 * elf/dl-load.c: Finish conversion of __builtin_expect into
3253 2014-03-27 Joseph Myers <joseph@codesourcery.com>
3256 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3257 1+x for argument with exponent below -67.
3258 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3260 * math/auto-libm-test-in: Add more tests of exp.
3261 * math/auto-libm-test-out: Regenerated.
3263 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3266 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3267 (nscd_getnetgrent): Use it.
3270 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3273 2014-03-27 Andi Kleen <ak@linux.intel.com>
3275 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3276 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3277 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3278 (lll_robust_unlock): Remove out of line section. Use cfi
3280 (LLL_STUB_UNWIND_INFO*): Remove.
3281 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3282 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3283 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3284 (lll_robust_unlock): Remove out of line section. Use cfi
3286 (LLL_STUB_UNWIND_INFO*): Remove.
3288 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3291 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3294 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3296 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3298 2014-03-26 Joseph Myers <joseph@codesourcery.com>
3301 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3303 * math/test-fenv-preserve.c: New file.
3304 * math/Makefile (tests): Add test-fenv-preserve.
3306 2014-03-26 Will Newton <will.newton@linaro.org>
3308 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3310 2014-03-25 Roland McGrath <roland@hack.frob.com>
3312 * scripts/versionlist.awk: Partition the version sets and emit all
3313 GLIBC_* (sorted) before all others (sorted).
3315 2014-03-25 Joseph Myers <joseph@codesourcery.com>
3317 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3318 GLIBC_2.2.5 version.
3320 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3322 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3325 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3330 2014-03-25 Andreas Schwab <schwab@suse.de>
3332 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3333 label to be used after in6ailist is initialized.
3335 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3337 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3338 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3340 2014-03-25 Joseph Myers <joseph@codesourcery.com>
3344 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3346 (fp_formats): Update initializers.
3347 (init_fp_formats): Initialize new field.
3348 (output_for_one_input_case): Allow underflow for results up to
3350 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3351 * math/auto-libm-test-in: Don't mark some underflows from asin and
3353 * math/auto-libm-test-out: Regenerated.
3354 * sysdeps/i386/fpu/libm-test-ulps: Update.
3355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3357 2014-03-25 Andreas Schwab <schwab@suse.de>
3359 * libio/Makefile (tst-ftell-partial-wide-ENV)
3360 (tst-ftell-active-handler-ENV): Define.
3362 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3364 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3366 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3368 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3370 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3372 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3373 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3374 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3376 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3379 * elf/dl-load.c (open_verify): Add mode parameter.
3380 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3381 (open_path): Change from boolean 'secure' to complete flag 'mode'
3382 (_dl_map_object): Adjust.
3383 * elf/Makefile (tests): Add tst-dlopen-aout.
3384 * elf/tst-dlopen-aout.c: New test.
3386 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3389 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3390 (struct stat): Rename member pad0 to __glibc_reserved0.
3393 * sysdeps/s390/s390-32/bits/wordsize.h
3394 (__WORDSIZE32_SIZE_ULONG): New define.
3395 * sysdeps/s390/s390-64/bits/wordsize.h
3396 (__WORDSIZE32_SIZE_ULONG): Likewise.
3397 * sysdeps/generic/stdint.h (SIZE_MAX):
3398 Define as UL if __WORDSIZE32_SIZE_ULONG.
3401 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3402 (__glibc_reserved0): New variable.
3403 (sa_flags): Change type to int.
3405 * posix/Makefile (before-compile): Use += before-compile instead
3408 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3409 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3411 2014-03-20 Andreas Schwab <schwab@suse.de>
3414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3415 non-matching result from nscd.
3417 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3419 * scripts/bench.py: Moved to ...
3420 * benchtests/scripts/bench.py: ... here.
3421 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3423 2014-03-24 Andreas Schwab <schwab@suse.de>
3426 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3427 alloca_account and account alloca use for struct in6ailist.
3429 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3432 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3433 rounding mode to recompute results that overflow to infinity or
3435 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3437 * math/auto-libm-test-out: Regenerated.
3438 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3439 (ccosh_test): Likewise.
3440 (csin_test_data): Use plus_oflow.
3441 (csin_test): Use ALL_RM_TEST.
3442 (csinh_test_data): Use plus_oflow.
3443 (csinh_test): Use ALL_RM_TEST.
3444 * sysdeps/i386/fpu/libm-test-ulps: Update.
3445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3447 2014-03-21 Joseph Myers <joseph@codesourcery.com>
3449 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3450 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3451 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3454 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3456 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3457 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3458 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3459 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3461 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3462 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3464 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3465 * sysdeps/i386/fpu/libm-test-ulps: Update.
3466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3468 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3470 * scripts/bench.pl: Remove file.
3471 * scripts/bench.py: New benchmark script.
3472 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3473 * benchtests/README: Mention python dependency.
3474 * scripts/pylintrc: New file.
3475 * scripts/pylint: New file.
3477 * bits/mathdef.h: Use #ifdef instead of #if.
3478 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3479 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3480 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3481 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3482 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3483 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3485 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3486 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3488 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3490 and strpbrk-ppc64 objects.
3491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3492 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3493 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3494 multiarch strpbrk for POWER7.
3495 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3496 multiarch strpbrk for PPC64.
3497 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3499 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3502 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3504 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3505 (atan_test): Likewise.
3506 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3507 (atanh_test): Use ALL_RM_TEST.
3508 (atan2_test_data): Likewise.
3509 (cabs_test): Likewise.
3510 (cacosh_test): Likewise.
3511 (carg_test): Likewise.
3512 (casin_test): Likewise.
3513 (casinh_test): Likewise.
3514 (cbrt_test): Likewise.
3515 (csqrt_test): Likewise.
3516 (erf_test): Likewise.
3517 (erfc_test): Likewise.
3518 (pow10_test): Likewise.
3519 (exp2_test): Likewise.
3520 (hypot_test): Likewise.
3521 (j0_test): Likewise.
3522 (j1_test): Likewise.
3523 (lgamma_test): Likewise.
3524 (gamma_test): Likewise.
3525 (sincos_test): Likewise.
3526 (tanh_test): Likewise.
3527 (y0_test): Likewise.
3528 (y1_test): Likewise.
3529 * sysdeps/i386/fpu/libm-test-ulps: Update.
3530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3532 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3534 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
3536 and strcspn-ppc64 objects.
3537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3538 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3539 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3540 multiarch strcspn for POWER7.
3541 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3542 multiarch strcspn for PPC64.
3543 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3545 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3548 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3550 * math/gen-libm-test.pl (generate_testfile): Expect only function
3551 name as argument to AUTO_TESTS_* and pass results for all rounding
3552 modes to parse_args.
3553 (parse_auto_input): Separate inputs of automatic tests from
3554 outputs before storing in %auto_tests.
3555 * math/libm-test.inc (acos_test_data): Update call to
3557 (acos_test): Use ALL_RM_TEST.
3558 (acos_tonearest_test_data): Remove.
3559 (acos_test_tonearest): Likewise.
3560 (acos_towardzero_test_data): Likewise.
3561 (acos_test_towardzero): Likewise.
3562 (acos_downward_test_data): Likewise.
3563 (acos_test_downward): Likewise.
3564 (acos_upward_test_data): Likewise.
3565 (acos_test_upward): Likewise.
3566 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3567 (asin_test_data): Likewise.
3568 (asin_test): Use ALL_RM_TEST.
3569 (asin_tonearest_test_data): Remove.
3570 (asin_test_tonearest): Likewise.
3571 (asin_towardzero_test_data): Likewise.
3572 (asin_test_towardzero): Likewise.
3573 (asin_downward_test_data): Likewise.
3574 (asin_test_downward): Likewise.
3575 (asin_upward_test_data): Likewise.
3576 (asin_test_upward): Likewise.
3577 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3578 (atan_test_data): Likewise.
3579 (atanh_test_data): Likewise.
3580 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3581 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3582 (carg_test_data): Likewise.
3583 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3584 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3585 (ccosh_test_data): Likewise.
3586 (cexp_test_data): Likewise.
3587 (clog_test_data): Likewise.
3588 (clog10_test_data): Likewise.
3589 (cos_test_data): Update call to AUTO_TESTS_f_f.
3590 (cos_test): Use ALL_RM_TEST.
3591 (cos_tonearest_test_data): Remove.
3592 (cos_test_tonearest): Likewise.
3593 (cos_towardzero_test_data): Likewise.
3594 (cos_test_towardzero): Likewise.
3595 (cos_downward_test_data): Likewise.
3596 (cos_test_downward): Likewise.
3597 (cos_upward_test_data): Likewise.
3598 (cos_test_upward): Likewise.
3599 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3600 (cosh_test): Use ALL_RM_TEST.
3601 (cosh_tonearest_test_data): Remove.
3602 (cosh_test_tonearest): Likewise.
3603 (cosh_towardzero_test_data): Likewise.
3604 (cosh_test_towardzero): Likewise.
3605 (cosh_downward_test_data): Likewise.
3606 (cosh_test_downward): Likewise.
3607 (cosh_upward_test_data): Likewise.
3608 (cosh_test_upward): Likewise.
3609 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3610 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3611 (ctan_test_data): Likewise.
3612 (ctan_test): Use ALL_RM_TEST.
3613 (ctan_tonearest_test_data): Remove.
3614 (ctan_test_tonearest): Likewise.
3615 (ctan_towardzero_test_data): Likewise.
3616 (ctan_test_towardzero): Likewise.
3617 (ctan_downward_test_data): Likewise.
3618 (ctan_test_downward): Likewise.
3619 (ctan_upward_test_data): Likewise.
3620 (ctan_test_upward): Likewise.
3621 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3622 (ctanh_test): Use ALL_RM_TEST.
3623 (ctanh_tonearest_test_data): Remove.
3624 (ctanh_test_tonearest): Likewise.
3625 (ctanh_towardzero_test_data): Likewise.
3626 (ctanh_test_towardzero): Likewise.
3627 (ctanh_downward_test_data): Likewise.
3628 (ctanh_test_downward): Likewise.
3629 (ctanh_upward_test_data): Likewise.
3630 (ctanh_test_upward): Likewise.
3631 (erf_test_data): Update call to AUTO_TESTS_f_f.
3632 (erfc_test_data): Likewise.
3633 (exp_test_data): Likewise.
3634 (exp_test): Use ALL_RM_TEST.
3635 (exp_tonearest_test_data): Remove.
3636 (exp_test_tonearest): Likewise.
3637 (exp_towardzero_test_data): Likewise.
3638 (exp_test_towardzero): Likewise.
3639 (exp_downward_test_data): Likewise.
3640 (exp_test_downward): Likewise.
3641 (exp_upward_test_data): Likewise.
3642 (exp_test_upward): Likewise.
3643 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3644 (exp10_test): Use ALL_RM_TEST.
3645 (exp10_tonearest_test_data): Remove.
3646 (exp10_test_tonearest): Likewise.
3647 (exp10_towardzero_test_data): Likewise.
3648 (exp10_test_towardzero): Likewise.
3649 (exp10_downward_test_data): Likewise.
3650 (exp10_test_downward): Likewise.
3651 (exp10_upward_test_data): Likewise.
3652 (exp10_test_upward): Likewise.
3653 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3654 (expm1_test_data): Likewise.
3655 (expm1_test): Use ALL_RM_TEST.
3656 (expm1_tonearest_test_data): Remove.
3657 (expm1_test_tonearest): Likewise.
3658 (expm1_towardzero_test_data): Likewise.
3659 (expm1_test_towardzero): Likewise.
3660 (expm1_downward_test_data): Likewise.
3661 (expm1_test_downward): Likewise.
3662 (expm1_upward_test_data): Likewise.
3663 (expm1_test_upward): Likewise.
3664 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3665 (fma_test): Use ALL_RM_TEST.
3666 (fma_towardzero_test_data): Remove.
3667 (fma_test_towardzero): Likewise.
3668 (fma_downward_test_data): Likewise.
3669 (fma_test_downward): Likewise.
3670 (fma_upward_test_data): Likewise.
3671 (fma_test_upward): Likewise.
3672 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3673 (j0_test_data): Update call to AUTO_TESTS_f_f.
3674 (j1_test_data): Likewise.
3675 (jn_test_data): Update call to AUTO_TESTS_if_f.
3676 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3677 (log_test_data): Update call to AUTO_TESTS_f_f.
3678 (log10_test_data): Likewise.
3679 (log1p_test_data): Likewise.
3680 (log2_test_data): Likewise.
3681 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3682 (pow_tonearest_test_data): Likewise.
3683 (sin_test_data): Update call to AUTO_TESTS_f_f.
3684 (sin_test): Use ALL_RM_TEST.
3685 (sin_tonearest_test_data): Remove.
3686 (sin_test_tonearest): Likewise.
3687 (sin_towardzero_test_data): Likewise.
3688 (sin_test_towardzero): Likewise.
3689 (sin_downward_test_data): Likewise.
3690 (sin_test_downward): Likewise.
3691 (sin_upward_test_data): Likewise.
3692 (sin_test_upward): Likewise.
3693 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3694 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3695 (sinh_test): Use ALL_RM_TEST.
3696 (sinh_tonearest_test_data): Remove.
3697 (sinh_test_tonearest): Likewise.
3698 (sinh_towardzero_test_data): Likewise.
3699 (sinh_test_towardzero): Likewise.
3700 (sinh_downward_test_data): Likewise.
3701 (sinh_test_downward): Likewise.
3702 (sinh_upward_test_data): Likewise.
3703 (sinh_test_upward): Likewise.
3704 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3705 (sqrt_test): Use ALL_RM_TEST.
3706 (sqrt_tonearest_test_data): Remove.
3707 (sqrt_test_tonearest): Likewise.
3708 (sqrt_towardzero_test_data): Likewise.
3709 (sqrt_test_towardzero): Likewise.
3710 (sqrt_downward_test_data): Likewise.
3711 (sqrt_test_downward): Likewise.
3712 (sqrt_upward_test_data): Likewise.
3713 (sqrt_test_upward): Likewise.
3714 (tan_test_data): Update call to AUTO_TESTS_f_f.
3715 (tan_test): Use ALL_RM_TEST.
3716 (tan_tonearest_test_data): Remove.
3717 (tan_test_tonearest): Likewise.
3718 (tan_towardzero_test_data): Likewise.
3719 (tan_test_towardzero): Likewise.
3720 (tan_downward_test_data): Likewise.
3721 (tan_test_downward): Likewise.
3722 (tan_upward_test_data): Likewise.
3723 (tan_test_upward): Likewise.
3724 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3725 (tgamma_test_data): Likewise.
3726 (y0_test_data): Likewise.
3727 (y1_test_data): Likewise.
3728 (yn_test_data): Update call to AUTO_TESTS_if_f.
3729 (main): Do not call removed functions.
3731 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3733 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3734 (ldexp_test_data): Remove.
3735 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3737 (scalb_test): Use ALL_RM_TEST.
3739 2014-03-19 Andreas Schwab <schwab@suse.de>
3741 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3743 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3746 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3747 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3748 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3749 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3750 (__ASSUME_PREADV): Undefine.
3751 (__ASSUME_PWRITEV): Likewise.
3753 2014-03-18 Roland McGrath <roland@hack.frob.com>
3755 * bits/mman-linux.h: Add comment about non-Linux use.
3756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3757 bits/mman-linux.h resting place.
3759 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3760 * bits/mman-linux.h: ... here.
3762 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3764 * conform/conformtest.pl: Add standard definition when calling C
3765 preprocessor on data files.
3766 (checknamespace): Remove unused variable.
3768 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3770 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3771 minus_oflow, plus_uflow and minus_uflow in expected results.
3772 * math/libm-test.inc (scalbn_test_data): Add more tests of
3773 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3775 (scalbn_test): Use ALL_RM_TEST.
3776 (scalbln_test_data): Add more tests of negative arguments. Use
3777 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3778 (scalbln_test): Use ALL_RM_TEST.
3780 2014-03-18 Roland McGrath <roland@hack.frob.com>
3782 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3784 2014-03-18 Will Newton <will.newton@linaro.org>
3786 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3789 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3791 * Makerules [!subdir] (check-abi): Exit with error status if a
3794 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3796 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3797 for rint. Include results for all rounding modes.
3798 (nearbyint_test): Use ALL_RM_TEST.
3799 (rint_test_data): Include all tests used for nearbyint.
3801 2014-03-17 Will Newton <will.newton@linaro.org>
3803 * nptl/sysdeps/pthread/pthread.h: Revert previous
3806 * sysdeps/generic/ldsodefs.h: Revert previous
3809 * libio/genops.c: Revert previous change.
3810 * libio/libioP.h: Likewise.
3811 * stdio-common/vfprintf.c: Likewise.
3813 * sysdeps/generic/math_private.h: Revert previous
3816 * sysdeps/generic/math_private.h: Check whether
3817 HAVE_RM_CTX is defined with #ifdef rather
3820 * argp/argp-fmtstream.h: Check whether
3821 __STRICT_ANSI__ is defined with #ifdef rather
3823 * argp/argp.h: Likewise.
3825 * libio/genops.c: Check whether
3826 _IO_JUMPS_OFFSET is defined with #ifdef rather
3828 * libio/libioP.h: Likewise.
3829 * stdio-common/vfprintf.c: Likewise.
3831 * sysdeps/generic/ldsodefs.h: Check whether
3832 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3835 * nptl/sysdeps/pthread/pthread.h: Check
3836 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3839 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3841 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3843 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3847 * libio/fileops.c (_IO_file_open): Seek to end of file but
3848 don't cache the offset.
3849 (get_file_offset): Remove function.
3850 (do_ftell): Use cached offset when available.
3851 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3852 don't cache the offset.
3853 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3855 (do_one_test): Call it.
3856 (do_ftell_test): Fix up expected old offset for a+ mode.
3857 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3860 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3861 up test status with function return status.
3862 (do_write_test): Likewise.
3863 (do_append_test): Likewise.
3865 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3866 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3869 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3871 * math/gen-libm-test.pl (parse_args): Handle results specified for
3872 each rounding mode separately.
3873 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3874 tests and results from lrint_tonearest_test_data,
3875 lrint_towardzero_test_data, lrint_downward_test_data and
3876 lrint_upward_test_data.
3877 (lrint_test): Use ALL_RM_TEST.
3878 (lrint_tonearest_test_data): Remove.
3879 (lrint_test_tonearest): Likewise.
3880 (lrint_towardzero_test_data): Likewise.
3881 (lrint_test_towardzero): Likewise.
3882 (lrint_downward_test_data): Likewise.
3883 (lrint_test_downward): Likewise.
3884 (lrint_upward_test_data): Likewise.
3885 (lrint_test_upward): Likewise.
3886 (llrint_test_data): Merge in per-rounding-mode tests and results
3887 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3888 llrint_downward_test_data and llrint_upward_test_data.
3889 (llrint_test): Use ALL_RM_TEST.
3890 (llrint_tonearest_test_data): Remove.
3891 (llrint_test_tonearest): Likewise.
3892 (llrint_towardzero_test_data): Likewise.
3893 (llrint_test_towardzero): Likewise.
3894 (llrint_downward_test_data): Likewise.
3895 (llrint_test_downward): Likewise.
3896 (llrint_upward_test_data): Likewise.
3897 (llrint_test_upward): Likewise.
3898 (rint_test_data): Merge in per-rounding-mode tests and results
3899 from rint_tonearest_test_data, rint_towardzero_test_data,
3900 rint_downward_test_data and rint_upward_test_data. Add
3901 per-rounding-mode results for tests not in those arrays.
3902 (rint_test): Use ALL_RM_TEST.
3903 (rint_tonearest_test_data): Remove.
3904 (rint_test_tonearest): Likewise.
3905 (rint_towardzero_test_data): Likewise.
3906 (rint_test_towardzero): Likewise.
3907 (rint_downward_test_data): Likewise.
3908 (rint_test_downward): Likewise.
3909 (rint_upward_test_data): Likewise.
3910 (rint_test_upward): Likewise.
3911 (main): Don't call removed functions.
3913 2014-03-14 Roland McGrath <roland@hack.frob.com>
3915 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3916 "Compiled on ..." crapola. It is anti-useful.
3918 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3920 * scripts/evaluate-test.sh: Handle fourth argument to determine
3921 whether test run should stop on failure.
3922 * Makeconfig (stop-on-test-failure): New variable.
3923 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3924 $(stop-on-test-failure).
3925 * Makefile (tests): Give a summary of results from testing and
3926 exit with failure status if they include an ERROR or FAIL.
3928 * manual/install.texi (Configuring and compiling): Mention
3929 stop-on-test-failure=y.
3930 * INSTALL: Regenerated.
3932 2014-03-14 Roland McGrath <roland@hack.frob.com>
3934 * scripts/versionlist.awk: New file.
3935 * Makerules [$(build-shared) = yes]
3936 (postclean-generated): Add Versions.def, not Versions.def.v and
3938 ($(common-objpfx)Versions.def.v.i): Target removed.
3939 ($(common-objpfx)Versions.def): New target.
3940 ($(common-objpfx)Versions.all): Depend on that rather that
3941 $(common-objpfx)Versions.def.v.
3942 * Versions.def: File removed.
3944 * Makeconfig (+gccwarn): Add -Wundef.
3945 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3946 a dl-sysdep.h breaking its contract.
3947 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3948 * include/stackinfo.h: New file.
3949 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3950 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3951 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3952 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3953 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3954 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3955 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3956 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3957 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3958 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3959 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3960 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3961 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3962 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3963 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3965 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3968 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3970 * math/libm-test.inc (round_test_data): Add more tests.
3973 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3975 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3978 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3980 * math/libm-test.inc (ceil_test_data): Add more tests.
3982 * math/libm-test.inc (trunc_test_data): Add more tests related to
3985 2014-03-14 Roland McGrath <roland@hack.frob.com>
3987 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3988 with #if rather than #ifdef.
3989 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3991 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3993 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3994 first. Disable AVX-512 GCC support if assembler doesn't support
3996 * sysdeps/x86_64/configure: Regenerated.
3998 2014-03-13 Carlos O'Donell <carlos@redhat.com>
4000 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4001 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4002 (__old_pthread_attr_setstack): Likewise.
4003 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4004 [!_STACK_GROWS_DOWN]: Likewise.
4006 2014-03-13 Mike Frysinger <vapier@gentoo.org>
4008 * config.make.in (have-bash2): Delete.
4009 * configure.ac (libc_cv_have_bash2): Delete.
4010 * configure: Regenerate.
4011 * elf/Makefile (common-ldd-rewrite): Rename to ...
4012 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4013 (sh-ldd-rewrite): Delete.
4014 (bash-ldd-rewrite): Delete.
4015 (have-bash2): Delete checks.
4016 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4019 * config.make.in (have-ksh): Delete.
4021 * configure.ac (libc_cv_have_ksh): Delete.
4022 * configure: Regenerate.
4024 * elf/Makefile: Delete $(have-ksh) check.
4025 ($(objpfx)sotruss): Change KSH to BASH.
4026 * elf/sotruss.ksh: Rename to ...
4027 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4028 function style to match POSIX. Drop ksh vim mode setting.
4030 * manual/time.texi (Specifying the Time Zone with TZ): Change
4031 Tuesday to Thursday.
4033 * debug/tst-longjmp_chk2.c: Update header comment.
4034 (stackoverflow_handler): Add comment. Call assert on pass value.
4036 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4038 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4039 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4040 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4041 (La_x86_64_vector): Add zmm.
4042 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4043 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4044 ($(objpfx)tst-audit10): New target.
4045 ($(objpfx)tst-audit10.out): Likewise.
4046 (tst-audit10-ENV): New.
4047 (AVX512-CFLAGS): Likewise.
4048 (CFLAGS-tst-audit10.c): Likewise.
4049 (CFLAGS-tst-auditmod10a.c): Likewise.
4050 (CFLAGS-tst-auditmod10b.c): Likewise.
4051 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4052 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4053 * sysdeps/x86_64/configure: Regenerated.
4054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4055 AVX-512 zmm register support.
4056 (_dl_x86_64_save_sse): Likewise.
4057 (_dl_x86_64_restore_sse): Likewise.
4058 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4059 size vector registers.
4060 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4061 (ZMM_SIZE): Likewise.
4062 * sysdeps/x86_64/tst-audit10.c: New file.
4063 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4064 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4066 2014-03-13 Roland McGrath <roland@hack.frob.com>
4068 * configure.ac (HAVE_EHDR_START): New check.
4069 * configure: Regenerated.
4070 * config.h.in (HAVE_EHDR_START): New #undef.
4071 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4072 assuming the lowest-addressed segment maps the start of the file.
4074 2014-03-13 Joseph Myers <joseph@codesourcery.com>
4076 * INSTALL: Regenerated.
4078 2014-03-13 Will Newton <will.newton@linaro.org>
4080 * manual/setjmp.texi (System V contexts): Improve
4081 clarity and grammar of documentation.
4083 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4086 * elf/Makefile (tests): Add tst-pie2.
4087 (tests-pie): Add tst-pie2.
4088 * elf/tst-pie2.c: New file.
4089 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4091 * elf/rtld.c (map_doit): Load executable as lt_executable.
4092 (dl_main): Likewise.
4094 2014-03-12 Joseph Myers <joseph@codesourcery.com>
4097 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4098 (__ASSUME_PSELECT): Undefine.
4100 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4103 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4104 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4106 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4107 selector for static builds.
4109 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4112 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4115 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4117 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4118 IFUNC selector for static builds.
4120 2014-03-11 Joseph Myers <joseph@codesourcery.com>
4122 * sysdeps/mips/math_private.h [__mips_hard_float]
4123 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4124 libc_feresetround_mips_ctx.
4125 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4126 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4127 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4130 * math/s_nextafter.c (__nextafter): Do not return value from
4131 overflowing computation.
4132 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4133 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4134 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4136 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4138 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4139 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4141 2014-03-11 Roland McGrath <roland@hack.frob.com>
4143 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4144 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4145 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4146 the new mov targetting sp.
4148 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4151 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4152 Define it for static builds as well.
4153 (NO_BZERO_IMPL): Likewise.
4155 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4157 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4158 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4159 multiarch strspn for PPC64.
4160 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4161 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4163 (__libc_ifunc_impl_list): Likewise.
4164 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4165 multiarch optimizations
4166 * string/strspn.c (strspn): Using macro to redefine symbol name.
4168 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4169 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4171 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4172 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4173 multiarch strncat for PPC64.
4174 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4175 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4177 (__libc_ifunc_impl_list): Likewise.
4178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4179 multiarch optimizations
4181 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4184 * nscd/nscd.service: Make service type forking.
4186 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4188 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4189 sign in non default rounding modes.
4190 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4192 2014-03-08 Joseph Myers <joseph@codesourcery.com>
4194 * math/libm-test.inc (ALL_RM_TEST): New macro.
4195 (ceil_test): Use ALL_RM_TEST.
4196 (cimag_test): Likewise.
4197 (conj_test): Likewise.
4198 (copysign_test): Likewise.
4199 (cproj_test): Likewise.
4200 (creal_test): Likewise.
4201 (fabs_test): Likewise.
4202 (floor_test): Likewise.
4203 (fmax_test): Likewise.
4204 (fmin_test): Likewise.
4205 (fmod_test): Likewise.
4206 (fpclassify_test): Likewise.
4207 (frexp_test): Likewise.
4208 (ilogb_test): Likewise.
4209 (isfinite_test): Likewise.
4210 (finite_test): Likewise.
4211 (isgreater_test): Likewise.
4212 (isgreaterequal_test): Likewise.
4213 (isinf_test): Likewise.
4214 (isless_test): Likewise.
4215 (islessequal_test): Likewise.
4216 (islessgreater_test): Likewise.
4217 (isnan_test): Likewise.
4218 (isnormal_test): Likewise.
4219 (issignaling_test): Likewise.
4220 (isunordered_test): Likewise.
4221 (logb_test): Likewise.
4222 (logb_downward_test_data): Remove.
4223 (logb_test_downward): Likewise.
4224 (lround_test): Use ALL_RM_TEST.
4225 (llround_test): Likewise.
4226 (modf_test): Likewise.
4227 (nexttoward_test): Likewise.
4228 (remainder_test): Likewise.
4229 (drem_test): Likewise.
4230 (remainder_tonearest_test_data): Likewise.
4231 (remainder_test_tonearest): Likewise.
4232 (drem_test_tonearest): Likewise.
4233 (remainder_towardzero_test_data): Likewise.
4234 (remainder_test_towardzero): Likewise.
4235 (drem_test_towardzero): Likewise.
4236 (remainder_downward_test_data): Likewise.
4237 (remainder_test_downward): Likewise.
4238 (drem_test_downward): Likewise.
4239 (remainder_upward_test_data): Likewise.
4240 (remainder_test_upward): Likewise.
4241 (drem_test_upward): Likewise.
4242 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4243 (round_test): Use ALL_RM_TEST.
4244 (signbit_test): Likewise.
4245 (trunc_test): Likewise.
4246 (significand_test): Likewise.
4247 (main): Don't call removed functions.
4249 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4252 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4254 (ILL_ILLOPN): Likewise.
4255 (ILL_ILLADR): Likewise.
4256 (ILL_ILLTRP): Likewise.
4257 (ILL_PRVOPC): Likewise.
4258 (ILL_PRVREG): Likewise.
4259 (ILL_COPROC): Likewise.
4260 (ILL_BADSTK): Likewise.
4261 (FPE_INTDIV): Likewise.
4262 (FPE_INTOVF): Likewise.
4263 (FPE_FLTDIV): Likewise.
4264 (FPE_FLTOVF): Likewise.
4265 (FPE_FLTUND): Likewise.
4266 (FPE_FLTRES): Likewise.
4267 (FPE_FLTINV): Likewise.
4268 (FPE_FLTSUB): Likewise.
4269 (SEGV_MAPERR): Likewise.
4270 (SEGV_ACCERR): Likewise.
4271 (BUS_ADRALN): Likewise.
4272 (BUS_ADRERR): Likewise.
4273 (BUS_OBJERR): Likewise.
4274 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4275 (TRAP_TRACE): Likewise.
4276 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4278 (CLD_KILLED): Likewise.
4279 (CLD_DUMPED): Likewise.
4280 (CLD_TRAPPED): Likewise.
4281 (CLD_STOPPED): Likewise.
4282 (CLD_CONTINUED): Likewise.
4283 (POLL_IN): Likewise.
4284 (POLL_OUT): Likewise.
4285 (POLL_MSG): Likewise.
4286 (POLL_ERR): Likewise.
4287 (POLL_PRI): Likewise.
4288 (POLL_HUP): Likewise.
4289 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4291 (ILL_ILLOPN): Likewise.
4292 (ILL_ILLADR): Likewise.
4293 (ILL_ILLTRP): Likewise.
4294 (ILL_PRVOPC): Likewise.
4295 (ILL_PRVREG): Likewise.
4296 (ILL_COPROC): Likewise.
4297 (ILL_BADSTK): Likewise.
4298 (FPE_INTDIV): Likewise.
4299 (FPE_INTOVF): Likewise.
4300 (FPE_FLTDIV): Likewise.
4301 (FPE_FLTOVF): Likewise.
4302 (FPE_FLTUND): Likewise.
4303 (FPE_FLTRES): Likewise.
4304 (FPE_FLTINV): Likewise.
4305 (FPE_FLTSUB): Likewise.
4306 (SEGV_MAPERR): Likewise.
4307 (SEGV_ACCERR): Likewise.
4308 (BUS_ADRALN): Likewise.
4309 (BUS_ADRERR): Likewise.
4310 (BUS_OBJERR): Likewise.
4311 (BUS_MCEERR_AR): Likewise.
4312 (BUS_MCEERR_AO): Likewise.
4313 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4314 (TRAP_TRACE): Likewise.
4315 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4317 (CLD_KILLED): Likewise.
4318 (CLD_DUMPED): Likewise.
4319 (CLD_TRAPPED): Likewise.
4320 (CLD_STOPPED): Likewise.
4321 (CLD_CONTINUED): Likewise.
4322 (POLL_IN): Likewise.
4323 (POLL_OUT): Likewise.
4324 (POLL_MSG): Likewise.
4325 (POLL_ERR): Likewise.
4326 (POLL_PRI): Likewise.
4327 (POLL_HUP): Likewise.
4328 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4329 (ILL_ILLOPN): Likewise.
4330 (ILL_ILLADR): Likewise.
4331 (ILL_ILLTRP): Likewise.
4332 (ILL_PRVOPC): Likewise.
4333 (ILL_PRVREG): Likewise.
4334 (ILL_COPROC): Likewise.
4335 (ILL_BADSTK): Likewise.
4336 (FPE_INTDIV): Likewise.
4337 (FPE_INTOVF): Likewise.
4338 (FPE_FLTDIV): Likewise.
4339 (FPE_FLTOVF): Likewise.
4340 (FPE_FLTUND): Likewise.
4341 (FPE_FLTRES): Likewise.
4342 (FPE_FLTINV): Likewise.
4343 (FPE_FLTSUB): Likewise.
4344 (SEGV_MAPERR): Likewise.
4345 (SEGV_ACCERR): Likewise.
4346 (BUS_ADRALN): Likewise.
4347 (BUS_ADRERR): Likewise.
4348 (BUS_OBJERR): Likewise.
4349 (BUS_MCEERR_AR): Likewise.
4350 (BUS_MCEERR_AO): Likewise.
4351 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4352 (TRAP_TRACE): Likewise.
4353 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4355 (CLD_KILLED): Likewise.
4356 (CLD_DUMPED): Likewise.
4357 (CLD_TRAPPED): Likewise.
4358 (CLD_STOPPED): Likewise.
4359 (CLD_CONTINUED): Likewise.
4360 (POLL_IN): Likewise.
4361 (POLL_OUT): Likewise.
4362 (POLL_MSG): Likewise.
4363 (POLL_ERR): Likewise.
4364 (POLL_PRI): Likewise.
4365 (POLL_HUP): Likewise.
4366 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4368 (ILL_ILLOPN): Likewise.
4369 (ILL_ILLADR): Likewise.
4370 (ILL_ILLTRP): Likewise.
4371 (ILL_PRVOPC): Likewise.
4372 (ILL_PRVREG): Likewise.
4373 (ILL_COPROC): Likewise.
4374 (ILL_BADSTK): Likewise.
4375 (ILL_BADIADDR): Likewise.
4376 (ILL_BREAK): Likewise.
4377 (FPE_INTDIV): Likewise.
4378 (FPE_INTOVF): Likewise.
4379 (FPE_FLTDIV): Likewise.
4380 (FPE_FLTOVF): Likewise.
4381 (FPE_FLTUND): Likewise.
4382 (FPE_FLTRES): Likewise.
4383 (FPE_FLTINV): Likewise.
4384 (FPE_FLTSUB): Likewise.
4385 (FPE_DECOVF): Likewise.
4386 (FPE_DECDIV): Likewise.
4387 (FPE_DECERR): Likewise.
4388 (FPE_INVASC): Likewise.
4389 (FPE_INVDEC): Likewise.
4390 (SEGV_MAPERR): Likewise.
4391 (SEGV_ACCERR): Likewise.
4392 (SEGV_PSTKOVF): Likewise.
4393 (BUS_ADRALN): Likewise.
4394 (BUS_ADRERR): Likewise.
4395 (BUS_OBJERR): Likewise.
4396 (BUS_MCEERR_AR): Likewise.
4397 (BUS_MCEERR_AO): Likewise.
4398 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4399 (TRAP_TRACE): Likewise.
4400 (TRAP_BRANCH): Likewise.
4401 (TRAP_HWBKPT): Likewise.
4402 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4404 (CLD_KILLED): Likewise.
4405 (CLD_DUMPED): Likewise.
4406 (CLD_TRAPPED): Likewise.
4407 (CLD_STOPPED): Likewise.
4408 (CLD_CONTINUED): Likewise.
4409 (POLL_IN): Likewise.
4410 (POLL_OUT): Likewise.
4411 (POLL_MSG): Likewise.
4412 (POLL_ERR): Likewise.
4413 (POLL_PRI): Likewise.
4414 (POLL_HUP): Likewise.
4415 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4416 (ILL_ILLOPN): Likewise.
4417 (ILL_ILLADR): Likewise.
4418 (ILL_ILLTRP): Likewise.
4419 (ILL_PRVOPC): Likewise.
4420 (ILL_PRVREG): Likewise.
4421 (ILL_COPROC): Likewise.
4422 (ILL_BADSTK): Likewise.
4423 (FPE_INTDIV): Likewise.
4424 (FPE_INTOVF): Likewise.
4425 (FPE_FLTDIV): Likewise.
4426 (FPE_FLTOVF): Likewise.
4427 (FPE_FLTUND): Likewise.
4428 (FPE_FLTRES): Likewise.
4429 (FPE_FLTINV): Likewise.
4430 (FPE_FLTSUB): Likewise.
4431 (SEGV_MAPERR): Likewise.
4432 (SEGV_ACCERR): Likewise.
4433 (BUS_ADRALN): Likewise.
4434 (BUS_ADRERR): Likewise.
4435 (BUS_OBJERR): Likewise.
4436 (BUS_MCEERR_AR): Likewise.
4437 (BUS_MCEERR_AO): Likewise.
4438 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4439 (TRAP_TRACE): Likewise.
4440 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4442 (CLD_KILLED): Likewise.
4443 (CLD_DUMPED): Likewise.
4444 (CLD_TRAPPED): Likewise.
4445 (CLD_STOPPED): Likewise.
4446 (CLD_CONTINUED): Likewise.
4447 (POLL_IN): Likewise.
4448 (POLL_OUT): Likewise.
4449 (POLL_MSG): Likewise.
4450 (POLL_ERR): Likewise.
4451 (POLL_PRI): Likewise.
4452 (POLL_HUP): Likewise.
4453 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4454 (ILL_ILLOPN): Likewise.
4455 (ILL_ILLADR): Likewise.
4456 (ILL_ILLTRP): Likewise.
4457 (ILL_PRVOPC): Likewise.
4458 (ILL_PRVREG): Likewise.
4459 (ILL_COPROC): Likewise.
4460 (ILL_BADSTK): Likewise.
4461 (FPE_INTDIV): Likewise.
4462 (FPE_INTOVF): Likewise.
4463 (FPE_FLTDIV): Likewise.
4464 (FPE_FLTOVF): Likewise.
4465 (FPE_FLTUND): Likewise.
4466 (FPE_FLTRES): Likewise.
4467 (FPE_FLTINV): Likewise.
4468 (FPE_FLTSUB): Likewise.
4469 (SEGV_MAPERR): Likewise.
4470 (SEGV_ACCERR): Likewise.
4471 (BUS_ADRALN): Likewise.
4472 (BUS_ADRERR): Likewise.
4473 (BUS_OBJERR): Likewise.
4474 (BUS_MCEERR_AR): Likewise.
4475 (BUS_MCEERR_AO): Likewise.
4476 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4477 (TRAP_TRACE): Likewise.
4478 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4480 (CLD_KILLED): Likewise.
4481 (CLD_DUMPED): Likewise.
4482 (CLD_TRAPPED): Likewise.
4483 (CLD_STOPPED): Likewise.
4484 (CLD_CONTINUED): Likewise.
4485 (POLL_IN): Likewise.
4486 (POLL_OUT): Likewise.
4487 (POLL_MSG): Likewise.
4488 (POLL_ERR): Likewise.
4489 (POLL_PRI): Likewise.
4490 (POLL_HUP): Likewise.
4491 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4492 (ILL_ILLOPN): Likewise.
4493 (ILL_ILLADR): Likewise.
4494 (ILL_ILLTRP): Likewise.
4495 (ILL_PRVOPC): Likewise.
4496 (ILL_PRVREG): Likewise.
4497 (ILL_COPROC): Likewise.
4498 (ILL_BADSTK): Likewise.
4499 (FPE_INTDIV): Likewise.
4500 (FPE_INTOVF): Likewise.
4501 (FPE_FLTDIV): Likewise.
4502 (FPE_FLTOVF): Likewise.
4503 (FPE_FLTUND): Likewise.
4504 (FPE_FLTRES): Likewise.
4505 (FPE_FLTINV): Likewise.
4506 (FPE_FLTSUB): Likewise.
4507 (SEGV_MAPERR): Likewise.
4508 (SEGV_ACCERR): Likewise.
4509 (BUS_ADRALN): Likewise.
4510 (BUS_ADRERR): Likewise.
4511 (BUS_OBJERR): Likewise.
4512 (BUS_MCEERR_AR): Likewise.
4513 (BUS_MCEERR_AO): Likewise.
4514 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4515 (TRAP_TRACE): Likewise.
4516 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4518 (CLD_KILLED): Likewise.
4519 (CLD_DUMPED): Likewise.
4520 (CLD_TRAPPED): Likewise.
4521 (CLD_STOPPED): Likewise.
4522 (CLD_CONTINUED): Likewise.
4523 (POLL_IN): Likewise.
4524 (POLL_OUT): Likewise.
4525 (POLL_MSG): Likewise.
4526 (POLL_ERR): Likewise.
4527 (POLL_PRI): Likewise.
4528 (POLL_HUP): Likewise.
4529 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4530 (ILL_ILLOPN): Likewise.
4531 (ILL_ILLADR): Likewise.
4532 (ILL_ILLTRP): Likewise.
4533 (ILL_PRVOPC): Likewise.
4534 (ILL_PRVREG): Likewise.
4535 (ILL_COPROC): Likewise.
4536 (ILL_BADSTK): Likewise.
4537 (ILL_DBLFLT): Likewise.
4538 (ILL_HARDWALL): Likewise.
4539 (FPE_INTDIV): Likewise.
4540 (FPE_INTOVF): Likewise.
4541 (FPE_FLTDIV): Likewise.
4542 (FPE_FLTOVF): Likewise.
4543 (FPE_FLTUND): Likewise.
4544 (FPE_FLTRES): Likewise.
4545 (FPE_FLTINV): Likewise.
4546 (FPE_FLTSUB): Likewise.
4547 (SEGV_MAPERR): Likewise.
4548 (SEGV_ACCERR): Likewise.
4549 (BUS_ADRALN): Likewise.
4550 (BUS_ADRERR): Likewise.
4551 (BUS_OBJERR): Likewise.
4552 (BUS_MCEERR_AR): Likewise.
4553 (BUS_MCEERR_AO): Likewise.
4554 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4555 (TRAP_TRACE): Likewise.
4556 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4558 (CLD_KILLED): Likewise.
4559 (CLD_DUMPED): Likewise.
4560 (CLD_TRAPPED): Likewise.
4561 (CLD_STOPPED): Likewise.
4562 (CLD_CONTINUED): Likewise.
4563 (POLL_IN): Likewise.
4564 (POLL_OUT): Likewise.
4565 (POLL_MSG): Likewise.
4566 (POLL_ERR): Likewise.
4567 (POLL_PRI): Likewise.
4568 (POLL_HUP): Likewise.
4569 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4570 (ILL_ILLOPN): Likewise.
4571 (ILL_ILLADR): Likewise.
4572 (ILL_ILLTRP): Likewise.
4573 (ILL_PRVOPC): Likewise.
4574 (ILL_PRVREG): Likewise.
4575 (ILL_COPROC): Likewise.
4576 (ILL_BADSTK): Likewise.
4577 (FPE_INTDIV): Likewise.
4578 (FPE_INTOVF): Likewise.
4579 (FPE_FLTDIV): Likewise.
4580 (FPE_FLTOVF): Likewise.
4581 (FPE_FLTUND): Likewise.
4582 (FPE_FLTRES): Likewise.
4583 (FPE_FLTINV): Likewise.
4584 (FPE_FLTSUB): Likewise.
4585 (SEGV_MAPERR): Likewise.
4586 (SEGV_ACCERR): Likewise.
4587 (BUS_ADRALN): Likewise.
4588 (BUS_ADRERR): Likewise.
4589 (BUS_OBJERR): Likewise.
4590 (BUS_MCEERR_AR): Likewise.
4591 (BUS_MCEERR_AO): Likewise.
4592 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4593 (TRAP_TRACE): Likewise.
4594 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4596 (CLD_KILLED): Likewise.
4597 (CLD_DUMPED): Likewise.
4598 (CLD_TRAPPED): Likewise.
4599 (CLD_STOPPED): Likewise.
4600 (CLD_CONTINUED): Likewise.
4601 (POLL_IN): Likewise.
4602 (POLL_OUT): Likewise.
4603 (POLL_MSG): Likewise.
4604 (POLL_ERR): Likewise.
4605 (POLL_PRI): Likewise.
4606 (POLL_HUP): Likewise.
4607 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4608 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4611 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4612 before #include of <time.h>.
4613 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4614 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4615 (test-xfail-UNIX98/sched.h/conform): Likewise.
4617 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4619 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4620 error absence of trapping exception support.
4621 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4623 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4625 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4626 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4627 * timezone/Makefile (testdata): Move definition above include of
4629 (test-zones): New variable.
4630 (tests-special): Add zone files.
4631 (build-testdata): Use $(evaluate-test).
4633 * elf/Makefile (tests-special): Rename tests to end with .out.
4634 ($(objpfx)noload-mem): Likewise.
4635 ($(objpfx)tst-leaks1-mem): Likewise.
4636 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4637 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4638 $(objpfx)test-iconvconfig.out.
4639 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4640 set -e inside subshell and redirect output to file.
4641 * iconvdata/Makefile (generated): Rename tests to end with .out.
4643 (tests-special): Rename tests to end with .out.
4644 ($(objpfx)mtrace-tst-loading): Likewise.
4645 * intl/Makefile (generated): Likewise.
4646 (tests-special): Likewise.
4647 ($(objpfx)mtrace-tst-gettext): Likewise.
4648 * misc/Makefile (generated): Likewise.
4649 (tests-special): Likewise.
4650 ($(objpfx)tst-error1-mem): Likewise.
4651 * nptl/Makefile (tests-special): Likewise.
4652 ($(objpfx)tst-stack3-mem): Likewise.
4653 (generated): Likewise.
4654 * posix/Makefile (generated): Likewise.
4655 (tests-special): Likewise.
4656 (xtests-special): Likewise.
4657 ($(objpfx)tst-fnmatch-mem): Likewise.
4658 ($(objpfx)bug-regex2-mem): Likewise.
4659 ($(objpfx)bug-regex14-mem): Likewise.
4660 ($(objpfx)bug-regex21-mem): Likewise.
4661 ($(objpfx)bug-regex31-mem): Likewise.
4662 ($(objpfx)tst-vfork3-mem): Likewise.
4663 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4664 ($(objpfx)tst-pcre-mem): Likewise.
4665 ($(objpfx)tst-boost-mem): Likewise.
4666 ($(objpfx)bug-ga2-mem): Likewise.
4667 ($(objpfx)bug-glob2-mem): Likewise.
4668 * resolv/Makefile (generate): Likewise.
4669 (tests-special): Likewise.
4670 (xtests-special): Likewise.
4671 (generated): Likewise.
4672 ($(objpfx)mtrace-tst-leaks): Likewise.
4673 ($(objpfx)mtrace-tst-leaks2): Likewise.
4675 * scripts/merge-test-results.sh: New file.
4676 * Makefile (tests-special-notdir): New variable.
4677 (tests): Run merge-test-results.sh.
4679 * Rules (tests-special-notdir): New variable.
4680 (xtests-special-notdir): Likewise.
4681 (tests): Run merge-test-results.sh
4684 * Makeconfig (test-xfail-name): New variable.
4685 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4686 compute variable name for expected failures.
4687 * conform/Makefile (conformtest-headers-data): New variable.
4688 (conformtest-standards): Likewise.
4689 (conformtest-headers-ISO): Likewise.
4690 (conformtest-headers-ISO99): Likewise.
4691 (conformtest-headers-ISO11): Likewise.
4692 (conformtest-headers-POSIX): Likewise.
4693 (conformtest-headers-XPG3): Likewise.
4694 (conformtest-headers-XPG4): Likewise.
4695 (conformtest-headers-UNIX98): Likewise.
4696 (conformtest-headers-XOPEN2K): Likewise.
4697 (conformtest-headers-POSIX2008): Likewise.
4698 (conformtest-headers-XOPEN2K8): Likewise.
4699 (conformtest-header-list-base): Likewise.
4700 (conformtest-header-list-tests): Likewise.
4701 (conformtest-header-base): Likewise.
4702 (conformtest-header-tests): Likewise.
4703 (tests-special): Add $(conformtest-header-list-tests). If
4704 [$(fast-check) && !$(cross-compiling)], add
4705 $(conformtest-header-tests) instead of
4706 $(objpfx)run-conformtest.out.
4707 (generated): Add $(conformtest-header-list-base). If
4708 [$(fast-check) && !$(cross-compiling)], add
4709 $(conformtest-header-base). Remove previous setting.
4710 ($(conformtest-header-list-tests)): New target.
4711 (test-xfail-run-conformtest): Remove variable.
4712 ($(objpfx)run-conformtest.out): Remove target.
4713 (test-xfail-ISO11/complex.h/conform): New variable.
4714 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4715 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4716 (test-xfail-XPG3/varargs.h/conform): Likewise.
4717 (test-xfail-XPG4/varargs.h/conform): Likewise.
4718 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4719 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4720 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4721 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4722 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4723 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4724 (test-xfail-XPG3/ftw.h/conform): Likewise.
4725 (test-xfail-XPG3/grp.h/conform): Likewise.
4726 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4727 (test-xfail-XPG3/limits.h/conform): Likewise.
4728 (test-xfail-XPG3/pwd.h/conform): Likewise.
4729 (test-xfail-XPG3/search.h/conform): Likewise.
4730 (test-xfail-XPG3/signal.h/conform): Likewise.
4731 (test-xfail-XPG3/stdio.h/conform): Likewise.
4732 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4733 (test-xfail-XPG3/string.h/conform): Likewise.
4734 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4735 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4736 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4737 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4738 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4739 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4740 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4741 (test-xfail-XPG3/termios.h/conform): Likewise.
4742 (test-xfail-XPG3/time.h/conform): Likewise.
4743 (test-xfail-XPG3/unistd.h/conform): Likewise.
4744 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4745 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4746 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4747 (test-xfail-XPG4/netdb.h/conform): Likewise.
4748 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4749 (test-xfail-XPG4/signal.h/conform): Likewise.
4750 (test-xfail-XPG4/stdio.h/conform): Likewise.
4751 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4752 (test-xfail-XPG4/stropts.h/conform): Likewise.
4753 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4754 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4755 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4756 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4757 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4758 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4759 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4760 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4761 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4762 (test-xfail-XPG4/termios.h/conform): Likewise.
4763 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4764 (test-xfail-XPG4/unistd.h/conform): Likewise.
4765 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4766 (test-xfail-POSIX/sched.h/conform): Likewise.
4767 (test-xfail-POSIX/signal.h/conform): Likewise.
4768 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4769 (test-xfail-POSIX/tar.h/conform): Likewise.
4770 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4771 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4772 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4773 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4774 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4775 (test-xfail-UNIX98/sched.h/conform): Likewise.
4776 (test-xfail-UNIX98/signal.h/conform): Likewise.
4777 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4778 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4779 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4780 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4781 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4782 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4783 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4784 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4785 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4786 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4787 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4788 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4789 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4790 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4791 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4792 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4793 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4794 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4795 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4796 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4797 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4798 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4799 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4800 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4801 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4802 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4803 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4804 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4805 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4806 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4807 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4808 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4809 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4810 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4811 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4812 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4813 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4814 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4815 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4816 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4817 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4818 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4819 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4820 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4821 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4822 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4823 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4824 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4825 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4826 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4827 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4828 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4829 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4830 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4831 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4832 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4833 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4834 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4835 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4836 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4837 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4838 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4839 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4840 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4841 (conformtest-cc-flags): Likewise.
4842 ($(conformtest-header-tests): New target.
4843 * conform/check-header-lists.sh: New file.
4844 * conform/run-conformtest.sh: Remove.
4846 * conform/conformtest.pl: Allow ' and \ in values given for
4848 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4850 [POSIX] (sys/types.h): Likewise.
4851 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4853 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4855 * conform/data/signal.h-data (SIGIO): Remove expectation.
4856 [XPG3] (SIGBUS): Do not expect.
4857 [POSIX || XPG3] (SIGPOLL): Likewise.
4858 [POSIX || XPG3] (SIGPROF): Likewise.
4859 [POSIX || XPG3] (SIGSYS): Likewise.
4860 [XPG3] (SIGTRAP): Likewise.
4861 [POSIX || XPG3] (SIGURG): Likewise.
4862 [POSIX || XPG3] (SIGVTALRM): Likewise.
4863 [POSIX || XPG3] (SIGXCPU): Likewise.
4864 [POSIX || XPG3] (SIGXFSZ): Likewise.
4865 [POSIX] (SA_SIGINFO): Expect.
4866 [XPG3] (siginfo_t): Do not expect type or contents.
4867 [POSIX] (si_pid): Do not expect element.
4868 [POSIX] (si_uid): Likewise.
4869 [POSIX] (si_addr): Likewise.
4870 [POSIX] (si_status): Likewise.
4871 [POSIX] (si_band): Likewise.
4872 [XPG4] (si_value): Likewise.
4873 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4874 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4875 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4876 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4877 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4878 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4879 [POSIX || XPG3] (ILL_COPROC): Likewise.
4880 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4881 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4882 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4883 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4884 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4885 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4886 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4887 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4888 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4889 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4890 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4891 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4892 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4893 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4894 [POSIX || XPG3] (CLD_EXITED): Likewise.
4895 [POSIX || XPG3] (CLD_KILLED): Likewise.
4896 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4897 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4898 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4899 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4900 [POSIX || XPG3] (POLL_IN): Likewise.
4901 [POSIX || XPG3] (POLL_OUT): Likewise.
4902 [POSIX || XPG3] (POLL_MSG): Likewise.
4903 [POSIX || XPG3] (POLL_ERR): Likewise.
4904 [POSIX || XPG3] (POLL_PRI): Likewise.
4905 [POSIX || XPG3] (POLL_HUP): Likewise.
4906 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4907 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4908 (SIG*): Do not allow.
4909 [XPG3] (si_*): Likewise.
4910 [XPG3] (SI_*): Likewise.
4911 [XPG3 || XPG4] (sigev_*): Likewise.
4912 [XPG3 || XPG4] (SIGEV_*): Likewise.
4913 [XPG3 || XPG4] (sival_*): Likewise.
4914 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4915 [POSIX || XPG3] (BUS_*): Likewise.
4916 [POSIX || XPG3] (CLD_*): Likewise.
4917 [POSIX || XPG3] (FPE_*): Likewise.
4918 [POSIX || XPG3] (ILL_*): Likewise.
4919 [POSIX || XPG3] (POLL_*): Likewise.
4920 [POSIX || XPG3] (SEGV_*): Likewise.
4921 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4922 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4923 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4924 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4925 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4926 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4927 Specify type and value.
4928 (TVERSLEN): Likewise.
4929 (REGTYPE): Likewise.
4930 (AREGTYPE): Likewise.
4931 (LNKTYPE): Likewise.
4932 (SYMTYPE): Likewise.
4933 (CHRTYPE): Likewise.
4934 (BLKTYPE): Likewise.
4935 (DIRTYPE): Likewise.
4936 (FIFOTYPE): Likewise.
4937 (CONTTYPE): Likewise.
4942 (TUWRITE): Likewise.
4945 (TGWRITE): Likewise.
4948 (TOWRITE): Likewise.
4950 [POSIX] (TSVTX): Expect constant.
4952 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4954 * Makefile (tests): Change dependencies to ....
4955 (tests-special): ... additions to this variable.
4956 (tests): Depend on $(tests-special).
4957 * Makerules (check-abi-list): New variable.
4958 (check-abi): Depend on $(check-abi-list).
4959 [$(subdir) = elf] (tests-special): Add
4960 $(objpfx)check-abi-libc.out.
4961 [$(build-shared) = yes && subdir] (tests-special): Add
4963 [$(build-shared) = yes && subdir] (tests): Do not depend on
4965 * Rules (tests): Depend on $(tests-special).
4966 (xtests): Depend on $(xtests-special).
4967 * catgets/Makefile (tests): Change dependencies to ....
4968 (tests-special): ... additions to this variable.
4969 * conform/Makefile (tests): Change dependencies to ....
4970 (tests-special): ... additions to this variable.
4971 * elf/Makefile (tests): Change dependencies to ....
4972 (tests-special): ... additions to this variable.
4973 * grp/Makefile (tests): Change dependencies to ....
4974 (tests-special): ... additions to this variable.
4975 * iconv/Makefile (xtests): Change dependencies to ....
4976 (xtests-special): ... additions to this variable.
4977 * iconvdata/Makefile (tests): Change dependencies to ....
4978 (tests-special): ... additions to this variable.
4979 * intl/Makefile (tests): Change dependencies to ....
4980 (tests-special): ... additions to this variable. Also add
4981 $(objpfx)tst-gettext.out.
4982 * io/Makefile (tests): Change dependencies to ....
4983 (tests-special): ... additions to this variable.
4984 * libio/Makefile (tests): Change dependencies to ....
4985 (tests-special): ... additions to this variable.
4986 * malloc/Makefile (tests): Change dependencies to ....
4987 (tests-special): ... additions to this variable.
4988 * misc/Makefile (tests): Change dependencies to ....
4989 (tests-special): ... additions to this variable.
4990 * nptl/Makefile (tests): Change dependencies to ....
4991 (tests-special): ... additions to this variable.
4992 * nptl_db/Makefile (tests): Change dependencies to ....
4993 (tests-special): ... additions to this variable.
4994 * posix/Makefile (tests): Change dependencies to ....
4995 (tests-special): ... additions to this variable.
4996 (xtests): Change dependencies to ....
4997 (xtests-special): ... additions to this variable.
4998 * resolv/Makefile (tests): Change dependencies to ....
4999 (tests-special): ... additions to this variable.
5000 (xtests): Change dependencies to ....
5001 (xtests-special): ... additions to this variable.
5002 * stdio-common/Makefile (tests): Change dependencies to ....
5003 (tests-special): ... additions to this variable.
5004 (do-tst-unbputc): Remove target.
5005 (do-tst-printf): Likewise.
5006 * stdlib/Makefile (tests): Change dependencies to ....
5007 (tests-special): ... additions to this variable.
5008 * string/Makefile (tests): Change dependencies to ....
5009 (tests-special): ... additions to this variable.
5010 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5011 (tests-special): ... additions to this variable.
5013 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5015 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5017 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5018 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5020 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5021 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5022 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5023 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5024 * conform/data/libgen.h-data [XPG3]: Likewise.
5025 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5026 * conform/data/ndbm.h-data [XPG3]: Likewise.
5027 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5028 * conform/data/netdb.h-data [XPG3]: Likewise.
5029 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5030 * conform/data/poll.h-data [XPG3]: Likewise.
5031 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5032 * conform/data/strings.h-data [XPG3]: Likewise.
5033 * conform/data/stropts.h-data [XPG3]: Likewise.
5034 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5035 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5036 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5038 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5039 * conform/data/sys/time.h-data [XPG3]: Likewise.
5040 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5041 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5042 * conform/data/sys/un.h-data [XPG3]: Likewise.
5043 * conform/data/syslog.h-data [XPG3]: Likewise.
5044 * conform/data/ucontext.h-data [XPG3]: Likewise.
5045 * conform/data/utmpx.h-data [XPG3]: Likewise.
5046 * conform/data/varargs.h-data [UNIX98]: Enable file.
5048 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5050 * math/libm-test.inc (struct test_f_f_data): Move expected results
5051 into structure for each rounding mode.
5052 (struct test_ff_f_data): Likewise.
5053 (struct test_ff_f_data_nexttoward): Likewise.
5054 (struct test_fi_f_data): Likewise.
5055 (struct test_fl_f_data): Likewise.
5056 (struct test_if_f_data): Likewise.
5057 (struct test_fff_f_data): Likewise.
5058 (struct test_c_f_data): Likewise.
5059 (struct test_f_f1_data): Likewise.
5060 (struct test_fF_f1_data): Likewise.
5061 (struct test_ffI_f1_data): Likewise.
5062 (struct test_c_c_data): Likewise.
5063 (struct test_cc_c_data): Likewise.
5064 (struct test_f_i_data): Likewise.
5065 (struct test_ff_i_data): Likewise.
5066 (struct test_f_l_data): Likewise.
5067 (struct test_f_L_data): Likewise.
5068 (struct test_fFF_11_data): Likewise.
5070 (RM_FE_DOWNWARD): Likewise.
5071 (RM_FE_TONEAREST): Likewise.
5072 (RM_FE_TOWARDZERO): Likewise.
5073 (RM_FE_UPWARD): Likewise.
5074 (RUN_TEST_LOOP_f_f): Update references to expected results.
5075 (RUN_TEST_LOOP_2_f): Likewise.
5076 (RUN_TEST_LOOP_fff_f): Likewise.
5077 (RUN_TEST_LOOP_c_f): Likewise.
5078 (RUN_TEST_LOOP_f_f1): Likewise.
5079 (RUN_TEST_LOOP_fF_f1): Likewise.
5080 (RUN_TEST_LOOP_fI_f1): Likewise.
5081 (RUN_TEST_LOOP_ffI_f1): Likewise.
5082 (RUN_TEST_LOOP_c_c): Likewise.
5083 (RUN_TEST_LOOP_cc_c): Likewise.
5084 (RUN_TEST_LOOP_f_i): Likewise.
5085 (RUN_TEST_LOOP_f_i_tg): Likewise.
5086 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5087 (RUN_TEST_LOOP_f_b): Likewise.
5088 (RUN_TEST_LOOP_f_b_tg): Likewise.
5089 (RUN_TEST_LOOP_f_l): Likewise.
5090 (RUN_TEST_LOOP_f_L): Likewise.
5091 (RUN_TEST_LOOP_fFF_11): Likewise.
5092 * math/gen-libm-test.pl (parse_args): Output four copies of
5093 expected results for each test.
5095 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5096 (__ASSUME_UTIMES): Remove.
5097 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5098 (__ASSUME_UTIMES): Likewise.
5100 * math/gen-auto-libm-tests.c: Update comment on output format.
5101 (output_for_one_input_case): Generate before-rounding and
5102 after-rounding information as conditions on output flags not
5103 floating-point format.
5104 * math/auto-libm-test-out: Regenerated.
5105 * math/gen-libm-test.pl (cond_value): New function.
5106 (or_cond_value): Use cond_value.
5107 (generate_testfile): Handle conditional exceptions.
5109 2014-03-05 Joseph Myers <joseph@codesourcery.com>
5111 * math/libm-test.inc (max_valid_error): New variable.
5112 (init_max_error): Take new argument specifying whether function
5113 results are exactly determined. Set max_valid_error and bound
5114 other variables for errors based on this argument.
5115 (set_max_error): Do not record results above max_valid_error.
5116 (check_float_internal): Only accept errors of up to 0.5ulps if
5117 also at most max_valid_error.
5118 (START): Take new argument EXACT and pass it to init_max_error.
5119 (acos_test): Update call to START.
5120 (acos_test_tonearest): Likewise.
5121 (acos_test_towardzero): Likewise.
5122 (acos_test_downward): Likewise.
5123 (acos_test_upward): Likewise.
5124 (acosh_test): Likewise.
5125 (asin_test): Likewise.
5126 (asin_test_tonearest): Likewise.
5127 (asin_test_towardzero): Likewise.
5128 (asin_test_downward): Likewise.
5129 (asin_test_upward): Likewise.
5130 (asinh_test): Likewise.
5131 (atan_test): Likewise.
5132 (atanh_test): Likewise.
5133 (atan2_test): Likewise.
5134 (cabs_test): Likewise.
5135 (cacos_test): Likewise.
5136 (cacosh_test): Likewise.
5137 (carg_test): Likewise.
5138 (casin_test): Likewise.
5139 (casinh_test): Likewise.
5140 (catan_test): Likewise.
5141 (catanh_test): Likewise.
5142 (cbrt_test): Likewise.
5143 (ccos_test): Likewise.
5144 (ccosh_test): Likewise.
5145 (ceil_test): Likewise.
5146 (cexp_test): Likewise.
5147 (cimag_test): Likewise.
5148 (clog_test): Likewise.
5149 (clog10_test): Likewise.
5150 (conj_test): Likewise.
5151 (copysign_test): Likewise.
5152 (cos_test): Likewise.
5153 (cos_test_tonearest): Likewise.
5154 (cos_test_towardzero): Likewise.
5155 (cos_test_downward): Likewise.
5156 (cos_test_upward): Likewise.
5157 (cosh_test): Likewise.
5158 (cosh_test_tonearest): Likewise.
5159 (cosh_test_towardzero): Likewise.
5160 (cosh_test_downward): Likewise.
5161 (cosh_test_upward): Likewise.
5162 (cpow_test): Likewise.
5163 (cproj_test): Likewise.
5164 (creal_test): Likewise.
5165 (csin_test): Likewise.
5166 (csinh_test): Likewise.
5167 (csqrt_test): Likewise.
5168 (ctan_test): Likewise.
5169 (ctan_test_tonearest): Likewise.
5170 (ctan_test_towardzero): Likewise.
5171 (ctan_test_downward): Likewise.
5172 (ctan_test_upward): Likewise.
5173 (ctanh_test): Likewise.
5174 (ctanh_test_tonearest): Likewise.
5175 (ctanh_test_towardzero): Likewise.
5176 (ctanh_test_downward): Likewise.
5177 (ctanh_test_upward): Likewise.
5178 (erf_test): Likewise.
5179 (erfc_test): Likewise.
5180 (exp_test): Likewise.
5181 (exp_test_tonearest): Likewise.
5182 (exp_test_towardzero): Likewise.
5183 (exp_test_downward): Likewise.
5184 (exp_test_upward): Likewise.
5185 (exp10_test): Likewise.
5186 (exp10_test_tonearest): Likewise.
5187 (exp10_test_towardzero): Likewise.
5188 (exp10_test_downward): Likewise.
5189 (exp10_test_upward): Likewise.
5190 (pow10_test): Likewise.
5191 (exp2_test): Likewise.
5192 (expm1_test): Likewise.
5193 (expm1_test_tonearest): Likewise.
5194 (expm1_test_towardzero): Likewise.
5195 (expm1_test_downward): Likewise.
5196 (expm1_test_upward): Likewise.
5197 (fabs_test): Likewise.
5198 (fdim_test): Likewise.
5199 (floor_test): Likewise.
5200 (fma_test): Likewise.
5201 (fma_test_towardzero): Likewise.
5202 (fma_test_downward): Likewise.
5203 (fma_test_upward): Likewise.
5204 (fmax_test): Likewise.
5205 (fmin_test): Likewise.
5206 (fmod_test): Likewise.
5207 (fpclassify_test): Likewise.
5208 (frexp_test): Likewise.
5209 (hypot_test): Likewise.
5210 (ilogb_test): Likewise.
5211 (isfinite_test): Likewise.
5212 (finite_test): Likewise.
5213 (isgreater_test): Likewise.
5214 (isgreaterequal_test): Likewise.
5215 (isinf_test): Likewise.
5216 (isless_test): Likewise.
5217 (islessequal_test): Likewise.
5218 (islessgreater_test): Likewise.
5219 (isnan_test): Likewise.
5220 (isnormal_test): Likewise.
5221 (issignaling_test): Likewise.
5222 (isunordered_test): Likewise.
5223 (j0_test): Likewise.
5224 (j1_test): Likewise.
5225 (jn_test): Likewise.
5226 (ldexp_test): Likewise.
5227 (lgamma_test): Likewise.
5228 (gamma_test): Likewise.
5229 (lrint_test): Likewise.
5230 (lrint_test_tonearest): Likewise.
5231 (lrint_test_towardzero): Likewise.
5232 (lrint_test_downward): Likewise.
5233 (lrint_test_upward): Likewise.
5234 (llrint_test): Likewise.
5235 (llrint_test_tonearest): Likewise.
5236 (llrint_test_towardzero): Likewise.
5237 (llrint_test_downward): Likewise.
5238 (llrint_test_upward): Likewise.
5239 (log_test): Likewise.
5240 (log10_test): Likewise.
5241 (log1p_test): Likewise.
5242 (log2_test): Likewise.
5243 (logb_test): Likewise.
5244 (logb_test_downward): Likewise.
5245 (lround_test): Likewise.
5246 (llround_test): Likewise.
5247 (modf_test): Likewise.
5248 (nearbyint_test): Likewise.
5249 (nextafter_test): Likewise.
5250 (nexttoward_test): Likewise.
5251 (pow_test): Likewise.
5252 (pow_test_tonearest): Likewise.
5253 (pow_test_towardzero): Likewise.
5254 (pow_test_downward): Likewise.
5255 (pow_test_upward): Likewise.
5256 (remainder_test): Likewise.
5257 (drem_test): Likewise.
5258 (remainder_test_tonearest): Likewise.
5259 (drem_test_tonearest): Likewise.
5260 (remainder_test_towardzero): Likewise.
5261 (drem_test_towardzero): Likewise.
5262 (remainder_test_downward): Likewise.
5263 (drem_test_downward): Likewise.
5264 (remainder_test_upward): Likewise.
5265 (drem_test_upward): Likewise.
5266 (remquo_test): Likewise.
5267 (rint_test): Likewise.
5268 (rint_test_tonearest): Likewise.
5269 (rint_test_towardzero): Likewise.
5270 (rint_test_downward): Likewise.
5271 (rint_test_upward): Likewise.
5272 (round_test): Likewise.
5273 (scalb_test): Likewise.
5274 (scalbn_test): Likewise.
5275 (scalbln_test): Likewise.
5276 (signbit_test): Likewise.
5277 (sin_test): Likewise.
5278 (sin_test_tonearest): Likewise.
5279 (sin_test_towardzero): Likewise.
5280 (sin_test_downward): Likewise.
5281 (sin_test_upward): Likewise.
5282 (sincos_test): Likewise.
5283 (sinh_test): Likewise.
5284 (sinh_test_tonearest): Likewise.
5285 (sinh_test_towardzero): Likewise.
5286 (sinh_test_downward): Likewise.
5287 (sinh_test_upward): Likewise.
5288 (sqrt_test): Likewise.
5289 (sqrt_test_tonearest): Likewise.
5290 (sqrt_test_towardzero): Likewise.
5291 (sqrt_test_downward): Likewise.
5292 (sqrt_test_upward): Likewise.
5293 (tan_test): Likewise.
5294 (tan_test_tonearest): Likewise.
5295 (tan_test_towardzero): Likewise.
5296 (tan_test_downward): Likewise.
5297 (tan_test_upward): Likewise.
5298 (tanh_test): Likewise.
5299 (tgamma_test): Likewise.
5300 (trunc_test): Likewise.
5301 (y0_test): Likewise.
5302 (y1_test): Likewise.
5303 (yn_test): Likewise.
5304 (significand_test): Likewise.
5306 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5307 individual tests in comment.
5308 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5309 (prev_max_error): New variable.
5310 (prev_real_max_error): Likewise.
5311 (prev_imag_max_error): Likewise.
5312 (compare_ulp_data): Don't refer to test names in comment.
5313 (find_test_ulps): Remove function.
5314 (find_function_ulps): Likewise.
5315 (find_complex_function_ulps): Likewise.
5316 (init_max_error): Take function name as argument. Look up ulps
5318 (print_ulps): Remove function.
5319 (print_max_error): Use prev_max_error instead of calling
5321 (print_complex_max_error): Use prev_real_max_error and
5322 prev_imag_max_error instead of calling find_complex_function_ulps.
5323 (check_float_internal): Take max_ulp parameter instead of calling
5324 find_test_ulps. Don't call print_ulps.
5325 (check_float): Update call to check_float_internal.
5326 (check_complex): Update calls to check_float_internal.
5327 (START): Pass argument to init_max_error.
5328 * math/gen-libm-test.pl (%results): Don't include "kind"
5330 (parse_ulps): Don't handle ulps of individual tests.
5331 (print_ulps_file): Likewise.
5332 (output_ulps): Likewise.
5333 * math/README.libm-test: Update.
5334 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5336 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5337 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5338 * sysdeps/arm/libm-test-ulps: Likewise.
5339 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5340 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5341 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5342 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5343 * sysdeps/microblaze/libm-test-ulps: Likewise.
5344 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5345 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5346 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5347 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5348 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5349 * sysdeps/sh/libm-test-ulps: Likewise.
5350 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5351 * sysdeps/tile/libm-test-ulps: Likewise.
5352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5354 2014-03-04 Joseph Myers <joseph@codesourcery.com>
5356 * math/libm-test.inc (print_complex_max_error): Check separately
5357 whether real and imaginary errors are within allowed range and
5358 pass 0 to print_complex_function_ulps instead of value within
5361 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5363 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5365 (get_handles_fopen): Likewise.
5366 (do_write_test): Likewise.
5368 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5370 * libio/fileops.c (do_ftell): Use cached offset when
5372 * libio/iofwide.c (do_ftell_wide): Likewise.
5373 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5375 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5378 * libio/libioP.h (get_file_offset): New function.
5379 * libio/fileops.c (get_file_offset): Likewise.
5380 (do_ftell): Likewise.
5381 (_IO_new_file_seekoff): Split out ftell logic.
5382 * libio/wfileops.c (do_ftell_wide): Likewise.
5383 (_IO_wfile_seekoff): Split out ftell logic.
5384 * libio/tst-ftell-active-handler.c: New test case.
5385 * libio/Makefile (tests): Add it.
5387 2014-03-03 Roland McGrath <roland@hack.frob.com>
5389 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5390 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5392 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5395 * nscd/connections.c (nscd_init): Call do_exit.
5396 (start_threads): Call do_exit and notify_parent.
5397 (begin_drop_privileges): Call do_exit.
5398 (finish_drop_privileges): Likewise.
5399 * nscd/selinux.c (preserve_capabilities): Likewise.
5400 (install_real_capabilities): Likewise.
5401 (nscd_selinux_enabled): Likewise.
5402 (avc_create_thread): Likewise.
5403 (avc_alloc_lock): Likewise.
5404 (nscd_avc_init): Likewise.
5405 * nscd/nscd.c (parent_fd): New static variable.
5406 (main): Create a pipe between parent and child processes.
5407 Skip closing parent_fd.
5408 (monitor_child): New function.
5409 (do_exit): Likewise.
5410 (notify_parent): Likewise.
5411 * nscd/nscd.h (notify_parent): Likewise.
5412 (do_exit): Likewise.
5414 2014-03-03 Carlos O'Donell <carlos@redhat.com>
5416 * malloc/malloc.c (__libc_calloc): Revert last change.
5418 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5422 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5424 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5428 (__libc_ifunc_impl_list): Likewise.
5429 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5430 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5431 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5432 * string/strrchr.c: Define STRRCHR.
5434 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
5436 * benchtest/bench-strtok.c (simple_strtok): Delete.
5437 (strtok_string): Use as benchmark.
5438 * string/strtok (STRTOK): New macro.
5440 2014-02-28 Carlos O'Donell <carlos@redhat.com>
5442 * manual/threads.texi: Add header and standard comments to all
5445 * elf/dl-lookup.c (check_match): New function.
5446 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5447 (do_lookup_x): Remove nested function check_match. Use non-nested
5448 function check_match.
5450 2014-02-28 Roland McGrath <roland@hack.frob.com>
5452 * csu/Makefile (generated, before-compile): Use += rather than =.
5453 * catgets/Makefile (generated, generated-dirs): Likewise.
5454 * debug/Makefile (generated): Likewise.
5455 * dlfcn/Makefile (generated): Likewise.
5456 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5457 * iconvdata/Makefile (before-compile, generated): Likewise.
5458 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5459 * libio/Makefile (generated): Likewise.
5460 * malloc/Makefile (generated): Likewise.
5461 * manual/Makefile (generated, generated-dirs): Likewise.
5462 * misc/Makefile (generated): Likewise.
5463 * posix/Makefile (generated): Likewise.
5464 * resolv/Makefile (generated): Likewise.
5465 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5466 * timezone/Makefile (generated, generated-dirs): Likewise.
5468 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5470 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5472 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5473 power8 implementation.
5474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5475 file: POWER8 llround ifunc implementation.
5476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5477 (__lllround): Add POWER8 implementation.
5478 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5479 POWER8 llround implementation.
5481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5482 power8 implementation.
5483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5484 file: POWER8 llrint ifunc implementation.
5485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5486 Add POWER8 implementation.
5487 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5488 POWER8 llrint implementation.
5490 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5491 power8 implementation.
5492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5493 file: POWER8 finite ifunc implementation.
5494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5495 Add POWER8 implementation.
5496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5498 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5499 POWER8 finite implementation.
5500 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5503 power8 implementation.
5504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5505 file: POWER8 isinf ifunc implementation.
5506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5507 POWER8 implementation.
5508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5510 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5511 isinf implementation.
5512 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5514 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5515 (INIT_ARCH): Add hwcap2 initialization.
5516 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5517 power8 implementation.
5518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5519 file: POWER8 isnan ifunc implementation.
5520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5521 POWER8 implementation.
5522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5524 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5525 isnan implementation.
5526 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5528 2014-02-27 Joey Ye <joey.ye@arm.com>
5530 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5531 (_FP_NANFRAC_Q): Set to zero.
5533 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5536 * math/auto-libm-test-in: New test inputs.
5537 * math/auto-libm-test-out: Regenerate.
5538 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5541 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5543 2014-02-27 Joseph Myers <joseph@codesourcery.com>
5545 * scripts/evaluate-test.sh: Take new argument indicating whether
5546 failure is expected.
5547 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5548 indicating whether failure is expected.
5549 * conform/Makefile (test-xfail-run-conformtest): New variable.
5550 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5552 * posix/Makefile (test-xfail-annexc): New variable.
5553 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5555 2014-02-26 Joseph Myers <joseph@codesourcery.com>
5557 * argp/Makefile: Include Makeconfig immediately after defining
5559 * assert/Makefile: Likewise.
5560 * benchtests/Makefile: Likewise.
5561 * catgets/Makefile: Likewise.
5562 * conform/Makefile: Likewise.
5563 * crypt/Makefile: Likewise.
5564 * csu/Makefile: Likewise.
5565 (all): Remove target.
5566 * ctype/Makefile: Include Makeconfig immediately after defining
5568 * debug/Makefile: Likewise.
5569 * dirent/Makefile: Likewise.
5570 * dlfcn/Makefile: Likewise.
5571 * gmon/Makefile: Likewise.
5572 * gnulib/Makefile: Likewise.
5573 * grp/Makefile: Likewise.
5574 * gshadow/Makefile: Likewise.
5575 * hesiod/Makefile: Likewise.
5576 * hurd/Makefile: Likewise.
5577 (all): Remove target.
5578 * iconvdata/Makefile: Include Makeconfig immediately after
5580 * inet/Makefile: Likewise.
5581 * intl/Makefile: Likewise.
5582 * io/Makefile: Likewise.
5583 * libio/Makefile: Likewise.
5584 (all): Remove target.
5585 * locale/Makefile: Include Makeconfig immediately after defining
5587 * login/Makefile: Likewise.
5588 * mach/Makefile: Likewise.
5589 (all): Remove target.
5590 * malloc/Makefile: Include Makeconfig immediately after defining
5592 (all): Remove target.
5593 * manual/Makefile: Include Makeconfig immediately after defining
5595 * math/Makefile: Likewise.
5596 * misc/Makefile: Likewise.
5597 * nis/Makefile: Likewise.
5598 * nss/Makefile: Likewise.
5599 * po/Makefile: Likewise.
5600 (all): Remove target.
5601 * posix/Makefile: Include Makeconfig immediately after defining
5603 * pwd/Makefile: Likewise.
5604 * resolv/Makefile: Likewise.
5605 * resource/Makefile: Likewise.
5606 * rt/Makefile: Likewise.
5607 * setjmp/Makefile: Likewise.
5608 * shadow/Makefile: Likewise.
5609 * signal/Makefile: Likewise.
5610 * socket/Makefile: Likewise.
5611 * soft-fp/Makefile: Likewise.
5612 * stdio-common/Makefile: Likewise.
5613 * stdlib/Makefile: Likewise.
5614 * streams/Makefile: Likewise.
5615 * string/Makefile: Likewise.
5616 * sunrpc/Makefile: Likewise.
5617 (all): Remove target.
5618 * sysvipc/Makefile: Include Makeconfig immediately after defining
5620 * termios/Makefile: Likewise.
5621 * time/Makefile: Likewise.
5622 * timezone/Makefile: Likewise.
5623 (all): Remove target.
5624 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5626 * wctype/Makefile: Likewise.
5628 2014-02-26 Steve Ellcey <sellcey@mips.com>
5630 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5631 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5632 (libc_feholdexcept_setround_mips): Ditto.
5633 (libc_feholdsetround): New.
5634 (libc_feholdsetroundf): New.
5635 (libc_feholdsetroundl): New.
5636 (libc_feupdateenv_test_mips): New.
5637 (libc_feupdateenv_test): New.
5638 (libc_feupdateenv_testf): New.
5639 (libc_feupdateenv_testl): New.
5640 (libc_feresetround): New.
5641 (libc_feresetroundf): New.
5642 (libc_feresetroundl): New.
5643 (libc_fetestexcept_mips): New.
5644 (libc_fetestexcept): New.
5645 (libc_fetestexceptf): New.
5646 (libc_fetestexceptl): New.
5648 (libc_feholdexcept_setround_mips_ctx): New.
5649 (libc_feholdexcept_setround_ctx): New.
5650 (libc_feholdexcept_setroundf_ctx): New.
5651 (libc_feholdexcept_setroundl_ctx): New.
5652 (libc_fesetenv_mips_ctx): New.
5653 (libc_fesetenv_ctx): New.
5654 (libc_fesetenv_ctxf): New.
5655 (libc_fesetenv_ctxl): New.
5656 (libc_feupdateenv_mips_ctx): New.
5657 (libc_feupdateenv_ctx): New.
5658 (libc_feupdateenvf_ctx): New.
5659 (libc_feupdateenvl_ctx): New.
5660 (libc_feholdsetround_mips_ctx): New.
5661 (libc_feholdsetround_ctx): New.
5662 (libc_feholdsetroundf_ctx): New.
5663 (libc_feholdsetroundl_ctx): New.
5664 (libc_feresetround_mips_ctx): New.
5665 (libc_feresetround_ctx): New.
5666 (libc_feresetroundf_ctx): New.
5667 (libc_feresetroundl_ctx): New.
5669 2014-02-26 Carlos O'Donell <carlos@redhat.com>
5671 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5673 * manual/ipc.texi: New file.
5674 * manual/Makefile (chapters): Add ipc.
5675 * manual/job.texi: Add "Inter-Process Communication" to next.
5676 * manual/process.texi: Add "Inter-Process Communication" to prev.
5678 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5682 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
5684 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5686 * manual/arith.texi: Fix spaces after sentences.
5687 * manual/charset.texi: Likewise.
5688 * manual/errno.texi: Likewise.
5689 * manual/install.texi: Likewise.
5690 * manual/llio.texi: Likewise.
5691 * manual/locale.texi: Likewise.
5692 * manual/maint.texi: Likewise.
5693 * manual/math.texi: Likewise.
5694 * manual/memory.texi: Likewise.
5695 * manual/message.texi: Likewise.
5696 * manual/probes.texi: Likewise.
5697 * manual/resource.texi: Likewise.
5698 * manual/signal.texi: Likewise.
5699 * manual/socket.texi: Likewise.
5700 * manual/stdio.texi: Likewise.
5701 * manual/string.texi: Likewise.
5702 * manual/time.texi: Likewise.
5703 * manual/users.texi: Likewise.
5705 2014-02-25 Carlos O'Donell <carlos@redhat.com>
5708 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5709 _DEFAULT_SOURCE is defined.
5711 2014-02-25 Ulrich Drepper <drepper@gmail.com>
5712 Carlos O'Donell <carlos@redhat.com>
5715 * elf/dl-tls.c (_dl_count_modids): New function.
5716 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5717 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5718 audit library and increment generation counter.
5719 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5720 * elf/tst-audit9.c: New file.
5721 * elf/tst-auditmod9a.c: New file.
5722 * elf/tst-auditmod9b.c: New file.
5723 * elf/Makefile: Add rules to build and run tst-audit9.
5725 2014-02-25 Florian Weimer <fweimer@redhat.com>
5728 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5730 2014-02-25 Will Newton <will.newton@linaro.org>
5732 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5733 (__longjmp): Restore sp and lr before restoring callee
5734 saved registers. Add longjmp and longjmp_target
5735 SystemTap probe point.
5736 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5737 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5738 Define to zero to match jmpbuf layout.
5739 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5740 (__sigsetjmp): Save sp and lr before saving callee
5741 saved registers. Add setjmp SystemTap probe point.
5743 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5745 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5747 2014-02-24 Andreas Schwab <schwab@suse.de>
5750 * elf/pldd.c (wait_for_ptrace_stop): New function.
5751 (main): Call it after attaching.
5753 2014-02-22 Roland McGrath <roland@hack.frob.com>
5755 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5756 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5757 Versions files is now verboten.
5758 * hurd/Versions (libc: GLIBC_2.0):
5759 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5760 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5761 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5762 * mach/Versions: Likewise.
5764 * csu/Versions: Remove unused %include.
5765 * resolv/Versions: Likewise.
5767 2014-02-21 Joseph Myers <joseph@codesourcery.com>
5769 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5770 ($(objpfx)check-local-headers.out): Likewise.
5771 ($(objpfx)begin-end-check.out): Likewise.
5772 * Makerules (check-abi-%.out): Likewise.
5773 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5774 ($(objpfx)test2.cat): Likewise.
5775 ($(objpfx)de/libc.cat): Likewise.
5776 ($(objpfx)test-gencat.out): Likewise.
5777 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5778 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5779 ($(objpfx)noload-mem): Likewise.
5780 ($(objpfx)tst-pathopt.out): Likewise.
5781 ($(objpfx)tst-rtld-load-self.out): Likewise.
5782 ($(objpfx)tst-array1-cmp.out): Likewise.
5783 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5784 ($(objpfx)tst-array2-cmp.out): Likewise.
5785 ($(objpfx)tst-array3-cmp.out): Likewise.
5786 ($(objpfx)tst-array4-cmp.out): Likewise.
5787 ($(objpfx)tst-array5-cmp.out): Likewise.
5788 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5789 ($(objpfx)check-textrel.out): Likewise.
5790 ($(objpfx)check-execstack.out): Likewise.
5791 ($(objpfx)check-localplt.out): Likewise.
5792 ($(objpfx)order2-cmp.out): Likewise.
5793 ($(objpfx)tst-leaks1-mem): Likewise.
5794 ($(objpfx)tst-leaks1-static-mem): Likewise.
5795 ($(objpfx)tst-initorder-cmp.out): Likewise.
5796 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5797 ($(objpfx)tst-unused-dep.out): Likewise.
5798 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5799 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5800 * iconv/Makefile (test-iconvconfig): Likewise.
5801 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5802 ($(objpfx)iconv-test.out): Likewise.
5803 ($(objpfx)tst-tables.out): Likewise.
5804 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5805 ($(objpfx)tst-gettext.out): Likewise.
5806 ($(objpfx)tst-translit.out): Likewise.
5807 ($(objpfx)tst-gettext2.out): Likewise.
5808 ($(objpfx)tst-gettext4.out): Likewise.
5809 ($(objpfx)tst-gettext6.out): Likewise.
5810 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5811 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5812 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5813 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5814 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5815 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5816 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5817 ($(objpfx)wordexp-tst.out): Likewise.
5818 ($(objpfx)annexc.out): Likewise.
5819 ($(objpfx)tst-fnmatch-mem): Likewise.
5820 ($(objpfx)bug-regex2-mem): Likewise.
5821 ($(objpfx)bug-regex14-mem): Likewise.
5822 ($(objpfx)bug-regex21-mem): Likewise.
5823 ($(objpfx)bug-regex31-mem): Likewise.
5824 ($(objpfx)tst-vfork3-mem): Likewise.
5825 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5826 ($(objpfx)tst-pcre-mem): Likewise.
5827 ($(objpfx)tst-boost-mem): Likewise.
5828 ($(objpfx)tst-getconf.out): Likewise.
5829 ($(objpfx)bug-ga2-mem): Likewise.
5830 ($(objpfx)bug-glob2-mem): Likewise.
5831 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5832 ($(objpfx)mtrace-tst-leaks2): Likewise.
5833 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5834 ($(objpfx)tst-printf.out): Likewise.
5835 ($(objpfx)tst-setvbuf1.out): Likewise.
5836 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5837 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5838 ($(objpfx)tst-fmtmsg.out): Likewise.
5839 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5840 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5842 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5843 * bits/sigaction.h [__USE_MISC]: Likewise.
5844 * bits/waitstatus.h: Update #endif comments.
5845 * ctype/ctype.h: Likewise.
5846 * dirent/dirent.h: Likewise.
5847 [__USE_MISC]: Remove redundant conditionals.
5848 * grp/grp.h: Update #endif comments.
5849 [__USE_GNU]: Remove redundant conditionals.
5850 [__USE_MISC]: Likewise.
5851 * inet/netinet/in.h [__USE_GNU]: Likewise.
5852 * io/sys/stat.h [__USE_MISC]: Likewise.
5853 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5854 * libio/bits/stdio.h: Update #endif comments.
5855 [__USE_MISC]: Remove redundant conditionals.
5856 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5857 * libio/stdio.h: Update #endif comments.
5858 [__USE_MISC]: Remove redundant conditionals.
5859 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5860 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5861 * math/math.h: Update #else and #endif comments.
5862 [__USE_MISC]: Remove redundant conditionals.
5863 * misc/sys/uio.h: Update #endif comments.
5864 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5865 * posix/glob.h [__USE_MISC]: Likewise.
5866 * posix/sys/types.h: Update #endif comments.
5867 [__USE_MISC]: Remove redundant conditionals.
5868 * posix/sys/wait.h: Update #endif comments.
5869 [__USE_MISC]: Remove redundant conditionals.
5870 * posix/unistd.h: Update #endif comments.
5871 [__USE_MISC]: Remove redundant conditionals.
5872 * pwd/pwd.h [__USE_GNU]: Likewise.
5873 [__USE_MISC]: Likewise.
5874 * resolv/netdb.h [__USE_GNU]: Likewise.
5875 * signal/signal.h: Update #endif comments.
5876 [__USE_MISC]: Remove redundant conditionals.
5877 * stdlib/stdlib.h: Update #else and #endif comments.
5878 [__USE_MISC]: Remove redundant conditionals.
5879 [__USE_GNU]: Likewise.
5880 * string/bits/string2.h [__USE_MISC]: Likewise.
5881 * string/string.h: Update #endif comments.
5882 [__USE_MISC]: Remove redundant conditionals.
5883 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5885 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5886 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5887 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5889 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5891 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5893 [__USE_MISC]: Remove redundant conditionals.
5894 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5895 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5896 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5897 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5898 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5900 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5901 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5903 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5904 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5906 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5908 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5909 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5911 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5913 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5914 * sysdeps/x86/bits/string.h: Update #endif comments.
5915 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5917 * time/sys/time.h: Update #endif comments.
5918 * time/time.h: Likewise.
5919 [__USE_MISC]: Remove redundant conditionals.
5921 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5924 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5926 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5928 * Versions.def (librt): Add GLIBC_2.17.
5930 2014-02-21 Adam Conrad <adconrad@0c3.net>
5932 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5933 synonym for _SYS_AUXV_H to allow direct inclusion.
5934 * sysdeps/sparc/bits/hwcap.h: Likewise.
5935 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5936 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5937 * sysdeps/sparc/sysdep.h: Likewise.
5939 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5941 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5943 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5945 * benchtests/bench-strrchr.c: Print length instead of position.
5947 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5950 * sysdeps/unix/sysv/linux/kernel-features.h
5951 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5952 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5953 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5954 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5956 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5957 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5958 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5959 (__ASSUME_SENDMMSG): Define instead of using previous
5960 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5961 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5962 (__ASSUME_SENDMMSG_SYSCALL): Define.
5963 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5964 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5966 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5967 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5969 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5970 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5972 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5973 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5974 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5975 [__ASSUME_SENDMMSG]: Change conditionals to
5976 [__ASSUME_SENDMMSG_SOCKETCALL].
5977 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5978 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5980 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5981 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5983 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5984 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5985 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5986 [!__ASSUME_SENDMMSG]: Change conditional to
5987 [!__ASSUME_SENDMMSG_SOCKETCALL].
5988 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5989 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5993 * sysdeps/unix/sysv/linux/kernel-features.h
5994 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5995 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5996 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5997 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5998 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5999 [__i386__ || __sparc__]
6000 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6001 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6002 (__ASSUME_RECVMMSG): Define instead of using previous
6003 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6004 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6005 (__ASSUME_RECVMMSG_SYSCALL): Define.
6006 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6007 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6009 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6010 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6012 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6013 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6015 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6016 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6017 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6018 [__ASSUME_RECVMMSG]: Change condition to
6019 [__ASSUME_RECVMMSG_SOCKETCALL].
6020 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6021 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6023 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6024 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6025 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6027 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6028 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6029 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6030 [!__ASSUME_RECVMMSG]: Change condition to
6031 [!__ASSUME_RECVMMSG_SOCKETCALL].
6032 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6033 (__ASSUME_RECVMMSG_SYSCALL): Define.
6036 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6037 __powerpc__ || __s390__ || __sh__ || __sparc__]
6038 (__ASSUME_SOCKETCALL): Define.
6039 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6040 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6041 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6042 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6043 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6044 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6045 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6046 (__ASSUME_ACCEPT4): Define instead of using previous
6047 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6048 __powerpc__ || __sparc__ || __s390__)] condition.
6049 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6050 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6051 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6052 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6053 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6054 [!__ASSUME_ACCEPT4]: Change condition to
6055 [!__ASSUME_ACCEPT4_SOCKETCALL].
6056 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6057 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6058 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6059 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6060 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6061 __ASSUME_ACCEPT4_SYSCALL.
6062 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6063 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6064 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6065 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6066 __ASSUME_ACCEPT4_SYSCALL.
6067 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6068 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6069 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6070 [__ASSUME_ACCEPT4]: Change condition to
6071 [__ASSUME_ACCEPT4_SOCKETCALL].
6072 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6073 (__ASSUME_SOCKETCALL): Define.
6074 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6075 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6076 (__ASSUME_SOCKETCALL): Define.
6077 (__ASSUME_ACCEPT4): Remove.
6078 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6080 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6081 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6083 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6084 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6086 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6088 (HWCAP_ARM_LPAE): Likewise.
6089 (HWCAP_ARM_EVTSTRM): Likewise.
6090 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6091 Add vpfd32, lpae and evtstrm.
6092 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6095 2014-02-19 Joseph Myers <joseph@codesourcery.com>
6097 * math/auto-libm-test-in: Add tests of clog10.
6098 * math/auto-libm-test-out: Regenerated.
6099 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6100 * sysdeps/i386/fpu/libm-test-ulps: Update.
6101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6103 2014-02-18 Andreas Schwab <schwab@suse.de>
6106 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6107 Store non-zero if the second buffer was newly allocated.
6108 (send_dg): Likewise.
6109 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6110 to send_vc and send_dg.
6111 (res_nsend): Pass NULL for ansp2_malloced.
6112 * resolv/res_query.c (__libc_res_nquery): Add parameter
6113 answerp2_malloced and pass it down to __libc_res_nsend.
6114 (res_nquery): Pass additional NULL to __libc_res_nquery.
6115 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6116 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6117 second answer buffer if answerp2_malloced was set.
6118 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6119 (__libc_res_nquerydomain): Add parameter
6120 answerp2_malloced and pass it down to __libc_res_nquery.
6121 (res_nquerydomain): Pass additional NULL to
6122 __libc_res_nquerydomain.
6123 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6124 additional NULL to __libc_res_nsend and __libc_res_nquery.
6125 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6126 additional NULL to __libc_res_nsearch.
6127 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6128 parameter of __libc_res_nsearch to check for separately allocated
6130 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6132 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6133 additional NULL to __libc_res_nquery.
6134 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6136 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6137 * include/resolv.h: Update prototypes of __libc_res_nquery,
6138 __libc_res_nsearch, __libc_res_nsend.
6140 2014-02-18 Joseph Myers <joseph@codesourcery.com>
6142 * math/auto-libm-test-in: Add tests of fma.
6143 * math/auto-libm-test-out: Regenerated.
6144 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6145 (fma_towardzero_test_data): Likewise.
6146 (fma_downward_test_data): Likewise.
6147 (fma_upward_test_data): Likewise.
6148 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6150 (rounding_modes): Add values for new field.
6151 (func_calc_method): Add value mpfr_fff_f.
6152 (func_calc_desc): Add mpfr_fff_f union field.
6153 (test_function): Add field exact_args.
6154 (FUNC): Add macro argument EXACT_ARGS.
6155 (FUNC_mpfr_f_f): Update call to FUNC.
6156 (FUNC_mpfr_f_f): Likewise.
6157 (FUNC_mpfr_ff_f): Likewise.
6158 (FUNC_mpfr_if_f): Likewise.
6159 (FUNC_mpc_c_f): Likewise.
6160 (FUNC_mpc_c_c): Likewise.
6161 (test_functions): Add fma. Update calls to FUNC.
6162 (handle_input_arg): Add argument exact_args.
6163 (add_test): Update call to handle_input_arg.
6164 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6165 (output_for_one_input_case): Update call to calc_generic_results.
6166 Recalculate exact zero results in each rounding mode.
6168 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6169 non-negative before setting low bit.
6170 * math/auto-libm-test-in: Mark one asin test possibly having
6172 * math/auto-libm-test-out: Regenerated.
6173 * sysdeps/i386/fpu/libm-test-ulps: Update.
6174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6176 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6178 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6179 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6180 ports/sysdeps/unix/sysv/linux/microblaze.
6181 * README: Add missing listing for microblaze*-*-linux-gnu.
6183 2014-02-16 Mike Frysinger <vapier@gentoo.org>
6185 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6186 * sysdeps/unix/sysv/linux/ia64: Move directory from
6187 ports/sysdeps/unix/sysv/linux/ia64.
6188 * README: Update listing for ia64-*-linux-gnu.
6190 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6191 Joseph Myers <joseph@codesourcery.com>
6193 * Makeconfig (test-name): New variable.
6194 (evaluate-test): Likewise.
6195 * Makerules (do-test-clean): Remove .test-result files.
6196 (common-mostlyclean): Likewise.
6197 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6198 * scripts/evaluate-test.sh: New file.
6200 2014-02-14 Joseph Myers <joseph@codesourcery.com>
6202 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6203 separate $(objpfx)tst-fopenloc-cmp.out and
6204 $(objpfx)tst-fopenloc-mem.out targets.
6205 (tests): Update dependencies.
6206 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6207 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6208 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6209 (tst-rxspencer-no-utf8-ARGS): New variable.
6210 (tst-rxspencer-no-utf8-ENV): Likewise.
6211 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6212 instead of $(objpfx)tst-rxspencer-mem.
6213 ($(objpfx)tst-rxspencer-mem): Change target to
6214 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6215 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6216 * posix/tst-rxspencer-no-utf8.c: New file.
6218 * elf/Makefile ($(objpfx)order.out): Remove rule.
6219 [$(run-built-tests) = yes] (tests): Depend on
6220 $(objpfx)order-cmp.out.
6221 ($(objpfx)order-cmp.out): New rule.
6222 [$(run-built-tests) = yes] (tests): Depend on
6223 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6224 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6225 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6226 $(objpfx)tst-array5-static-cmp.out.
6227 ($(objpfx)tst-array1.out): Remove rule.
6228 ($(objpfx)tst-array1-cmp.out): New rule.
6229 ($(objpfx)tst-array1-static.out): Remove rule.
6230 ($(objpfx)tst-array1-static-cmp.out): New rule.
6231 ($(objpfx)tst-array2.out): Remove rule.
6232 ($(objpfx)tst-array2-cmp.out): New rule.
6233 ($(objpfx)tst-array3.out): Remove rule.
6234 ($(objpfx)tst-array3-cmp.out): New rule.
6235 ($(objpfx)tst-array4.out): Remove rule.
6236 ($(objpfx)tst-array4-cmp.out): New rule.
6237 ($(objpfx)tst-array5.out): Remove rule.
6238 ($(objpfx)tst-array5-cmp.out): New rule.
6239 ($(objpfx)tst-array5-static.out): Remove rule.
6240 ($(objpfx)tst-array5-static-cmp.out): New rule.
6241 [$(run-built-tests) = yes] (tests): Depend on
6242 $(objpfx)order2-cmp.out.
6243 ($(objpfx)order2.out): Remove rule.
6244 ($(objpfx)order2-cmp.out): New rule.
6245 ($(objpfx)tst-initorder.out): Remove rule.
6246 [$(run-built-tests) = yes] (tests): Depend on
6247 $(objpfx)tst-initorder-cmp.out.
6248 ($(objpfx)tst-initorder-cmp.out): New rule.
6249 ($(objpfx)tst-initorder2.out): Remove rule.
6250 [$(run-built-tests) = yes] (tests): Depend on
6251 $(objpfx)tst-initorder2-cmp.out.
6252 ($(objpfx)tst-initorder2-cmp.out): New rule.
6253 [$(run-built-tests) = yes] (tests): Depend on
6254 $(objpfx)tst-unused-dep-cmp.out.
6255 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6256 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6257 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6258 on $(objpfx)tst-setvbuf1-cmp.out.
6259 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6260 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6261 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6262 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6263 ($(objpfx)tst-svc.out): Remove rule.
6264 ($(objpfx)tst-svc-cmp.out): New rule.
6266 2014-02-13 Joseph Myers <joseph@codesourcery.com>
6268 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6269 * ctype/ctype.h [__USE_MISC]: Likewise.
6270 * dirent/dirent.h [__USE_MISC]: Likewise.
6271 * grp/grp.h [__USE_MISC]: Likewise.
6272 * io/fcntl.h [__USE_MISC]: Likewise.
6273 * io/sys/stat.h [__USE_MISC]: Likewise.
6274 * libio/stdio.h [__USE_MISC]: Likewise.
6275 * posix/unistd.h [__USE_MISC]: Likewise.
6276 * pwd/pwd.h [__USE_MISC]: Likewise.
6277 * stdlib.h [__USE_MISC]: Likewise.
6278 * string/bits/string2.h [__USE_MISC]: Likewise.
6279 * string/string.h [__USE_MISC]: Likewise.
6280 * time/time.h [__USE_MISC]: Likewise.
6282 2014-02-13 Andreas Schwab <schwab@suse.de>
6285 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6286 second answer buffer if it was separately allocated.
6288 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6290 * sysdeps/mips/math-tests.h: Include <features.h>.
6291 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6292 (ROUNDING_TESTS_long_double): Do not define.
6293 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6294 (EXCEPTION_TESTS_long_double): Likewise.
6295 * sysdeps/mips/mips64/libm-test-ulps: Update.
6297 * include/features.h (__USE_BSD): Remove macro definitions.
6298 (__USE_SVID): Likewise.
6299 (_BSD_SOURCE): Likewise.
6300 (_SVID_SOURCE): Likewise.
6301 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6302 from definition of _DEFAULT_SOURCE.
6303 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6305 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6306 * bits/mman.h [__USE_BSD]: Likewise.
6307 * bits/termios.h [__USE_BSD]: Likewise.
6308 * bits/waitstatus.h [__USE_BSD]: Likewise.
6309 * ctype/ctype.h [__USE_SVID]: Likewise.
6310 * dirent/dirent.h [__USE_BSD]: Likewise.
6311 * grp/grp.h [__USE_SVID]: Likewise.
6312 [__USE_BSD]: Likewise.
6313 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6314 * io/fcntl.h [__USE_BSD]: Likewise.
6315 * io/ftw.h [__USE_BSD]: Likewise.
6316 * io/sys/stat.h [__USE_BSD]: Likewise.
6317 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6318 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6319 * libio/stdio.h [__USE_SVID]: Likewise.
6320 [__USE_BSD]: Likewise.
6321 * math/math.h [__USE_SVID]: Likewise.
6322 [__USE_BSD]: Likewise.
6323 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6324 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6325 * misc/search.h [__USE_SVID]: Likewise.
6326 * misc/sys/mman.h [__USE_BSD]: Likewise.
6327 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6328 * misc/sys/uio.h [__USE_BSD]: Likewise.
6329 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6330 * posix/glob.h [__USE_BSD]: Likewise.
6331 * posix/regex.h [__USE_BSD]: Likewise.
6332 * posix/sys/types.h [__USE_BSD]: Likewise.
6333 [__USE_SVID]: Likewise.
6334 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6335 * posix/sys/wait.h [__USE_BSD]: Likewise.
6336 [__USE_SVID]: Likewise.
6337 * posix/unistd.h [__USE_BSD]: Likewise.
6338 [__USE_SVID]: Likewise.
6339 * pwd/pwd.h [__USE_SVID]: Likewise.
6340 * resolv/netdb.h [__USE_BSD]: Likewise.
6341 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6342 * signal/signal.h [__USE_BSD]: Likewise.
6343 [__USE_SVID]: Likewise.
6344 * socket/sys/socket.h [__USE_BSD]: Likewise.
6345 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6346 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6347 [__USE_SVID]: Likewise.
6348 * string/bits/string2.h [__USE_BSD]: Likewise.
6349 [__USE_SVID]: Likewise.
6350 * string/bits/string3.h [__USE_BSD]: Likewise.
6351 * string/endian.h [__USE_BSD]: Likewise.
6352 * string/string.h [__USE_SVID]: Likewise.
6353 [__USE_BSD]: Likewise.
6354 * string/strings.h [__USE_BSD]: Likewise.
6355 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6356 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6357 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6358 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6359 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6360 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6362 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6364 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6365 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6367 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6368 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6370 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6372 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6373 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6374 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6376 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6378 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6379 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6380 * termios/termios.h [__USE_BSD]: Likewise.
6381 * time/sys/time.h [__USE_BSD]: Likewise.
6382 * time/time.h [__USE_BSD]: Likewise.
6383 [__USE_SVID]: Likewise.
6385 * Makefile (subdir_targets): Remove subdir_lint.out.
6387 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6388 (do-tst-printf): Likewise.
6389 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6390 $(objpfx)tst-printf.out.
6392 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6394 * Makerules (check-abi-%): Change target to
6395 $(objpfx)check-abi-%.out.
6396 (check-abi target): Update dependencies.
6397 (check-abi-pattern variable): Redirect output of diff to $@.
6398 (check-abi variable): Likewise.
6399 * elf/Makefile (check-abi): Update dependencies.
6401 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6403 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6404 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6406 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6407 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6408 value has largest subnormal exponent.
6409 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6410 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6411 * sysdeps/aarch64/soft-fp/sfp-machine.h
6412 (_FP_TININESS_AFTER_ROUNDING): New macro.
6413 * sysdeps/alpha/soft-fp/sfp-machine.h
6414 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6415 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6417 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6418 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6419 * sysdeps/mips/soft-fp/sfp-machine.h
6420 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6421 * sysdeps/powerpc/soft-fp/sfp-machine.h
6422 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6423 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6425 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6426 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6427 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6428 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6429 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6432 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
6435 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6438 2014-02-12 Richard Henderson <rth@redhat.com>
6440 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6441 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6442 * sysdeps/unix/sysv/linux/alpha: Move directory from
6443 ports/sysdeps/unix/sysv/linux/alpha.
6444 * README: Update listing for alpha-*-linux-gnu.
6446 2014-02-11 Joseph Myers <joseph@codesourcery.com>
6448 * include/features.h: Update comment documenting feature test
6450 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6452 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6453 (_SVID_SOURCE): Likewise.
6454 (_DEFAULT_SOURCE): Update description of default features.
6455 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6457 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6458 (S_ISVTX): Likewise.
6459 * manual/math.texi (Mathematical Constants): Likewise.
6460 * manual/signal.texi (Interrupted Primitives): Likewise.
6461 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6462 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6463 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6464 Don't refer to _SVID_SOURCE in warning text.
6466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6468 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6470 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6471 * sysdeps/mips/dl-lookup.c: Remove.
6472 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6474 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6477 * math/auto-libm-test-in: Add testcase for expl.
6478 * math/auto-libm-test-out: Regenerate.
6479 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6480 calculation of unsafe.
6481 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6483 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6485 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6486 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6487 ports/sysdeps/unix/sysv/linux/aarch64.
6488 * README: Update listing for aarch64*-*-linux-gnu.
6490 2014-02-11 Will Newton <will.newton@linaro.org>
6492 * manual/probes.texi (Mathematical Function Probes): Use
6493 "triggered" instead of "hit".
6495 * manual/probes.texi (Internal Probes): Add documentation
6496 of setjmp, longjmp and longjmp_target probes.
6498 * include/stap-probe.h: Add comment about probe argument
6501 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6502 definition. (tr_where, tr_freehook, tr_mallochook,
6503 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6505 2014-02-11 David S. Miller <davem@davemloft.net>
6507 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6508 processing int_tests.
6510 2014-02-10 Joseph Myers <joseph@codesourcery.com>
6512 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6513 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6514 * sysdeps/unix/sysv/linux/mips: Move directory from
6515 ports/sysdeps/unix/sysv/linux/mips.
6516 * README: Update listing for mips-*-linux-gnu and
6519 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6521 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6522 * sysdeps/unix/sysv/linux/m68k: Move directory from
6523 ports/sysdeps/unix/sysv/linux/m68k.
6524 * README: Update listing for m68k-*-linux-gnu.
6526 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6528 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6529 * sysdeps/unix/sysv/linux/generic: Move directory from
6530 ports/sysdeps/unix/sysv/linux/generic.
6531 * sysdeps/unix/sysv/linux/tile: Move directory from
6532 ports/sysdeps/unix/sysv/linux/tile.
6533 * README: Update listing for tile*-*-linux-gnu.
6535 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
6537 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6539 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6540 * catgets/open_catalog.c (__open_catalog): Likewise.
6541 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6542 * debug/confstr_chk.c: Likewise.
6543 * debug/fread_chk.c (__fread_chk): Likewise.
6544 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6545 * debug/getgroups_chk.c: Likewise.
6546 * debug/mbsnrtowcs_chk.c: Likewise.
6547 * debug/mbsrtowcs_chk.c: Likewise.
6548 * debug/mbstowcs_chk.c: Likewise.
6549 * debug/memcpy_chk.c: Likewise.
6550 * debug/memmove_chk.c: Likewise.
6551 * debug/mempcpy_chk.c: Likewise.
6552 * debug/memset_chk.c: Likewise.
6553 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6554 * debug/strcat_chk.c (__strcat_chk): Likewise.
6555 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6556 * debug/strncat_chk.c (__strncat_chk): Likewise.
6557 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6558 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6559 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6560 * debug/wcpncpy_chk.c: Likewise.
6561 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6562 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6563 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6564 * debug/wcsncpy_chk.c: Likewise.
6565 * debug/wcsnrtombs_chk.c: Likewise.
6566 * debug/wcsrtombs_chk.c: Likewise.
6567 * debug/wcstombs_chk.c: Likewise.
6568 * debug/wmemcpy_chk.c: Likewise.
6569 * debug/wmemmove_chk.c: Likewise.
6570 * debug/wmempcpy_chk.c: Likewise.
6571 * debug/wmemset_chk.c: Likewise.
6572 * dirent/scandirat.c (SCANDIRAT): Likewise.
6573 * dlfcn/dladdr1.c (dladdr1): Likewise.
6574 * dlfcn/dladdr.c (dladdr): Likewise.
6575 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6576 * dlfcn/dlerror.c (__dlerror): Likewise.
6577 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6578 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6579 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6580 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6581 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6582 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6583 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6584 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6586 * elf/dl-conflict.c: Likewise.
6587 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6588 * elf/dl-dst.h: Likewise.
6589 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6590 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6591 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6592 * elf/dl-init.c (call_init, _dl_init): Likewise.
6593 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6594 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6595 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6597 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6599 * elf/dl-minimal.c (__libc_memalign): Likewise.
6600 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6601 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6602 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6603 * elf/dl-sym.c (do_sym): Likewise.
6604 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6605 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6606 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6607 * elf/dl-writev.h (_dl_writev): Likewise.
6608 * elf/ldconfig.c (search_dir): Likewise.
6609 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6610 (dl_main): Likewise.
6611 * elf/setup-vdso.h (setup_vdso): Likewise.
6612 * grp/compat-initgroups.c (compat_call): Likewise.
6613 * grp/fgetgrent.c (fgetgrent): Likewise.
6614 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6615 * grp/putgrent.c (putgrent): Likewise.
6616 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6618 * hurd/hurdinit.c: Likewise.
6619 * iconvdata/8bit-gap.c (struct): Likewise.
6620 * iconvdata/ansi_x3.110.c : Likewise.
6621 * iconvdata/big5.c : Likewise.
6622 * iconvdata/big5hkscs.c : Likewise.
6623 * iconvdata/cp1255.c: Likewise.
6624 * iconvdata/cp1258.c : Likewise.
6625 * iconvdata/cp932.c : Likewise.
6626 * iconvdata/euc-cn.c: Likewise.
6627 * iconvdata/euc-jisx0213.c : Likewise.
6628 * iconvdata/euc-jp.c: Likewise.
6629 * iconvdata/euc-jp-ms.c : Likewise.
6630 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6631 * iconvdata/gb18030.c : Likewise.
6632 * iconvdata/gbbig5.c (const): Likewise.
6633 * iconvdata/gbgbk.c: Likewise.
6634 * iconvdata/gbk.c : Likewise.
6635 * iconvdata/ibm1364.c : Likewise.
6636 * iconvdata/ibm930.c : Likewise.
6637 * iconvdata/ibm932.c: Likewise.
6638 * iconvdata/ibm933.c : Likewise.
6639 * iconvdata/ibm935.c : Likewise.
6640 * iconvdata/ibm937.c : Likewise.
6641 * iconvdata/ibm939.c : Likewise.
6642 * iconvdata/ibm943.c: Likewise.
6643 * iconvdata/iso_11548-1.c: Likewise.
6644 * iconvdata/iso-2022-cn.c : Likewise.
6645 * iconvdata/iso-2022-cn-ext.c : Likewise.
6646 * iconvdata/iso-2022-jp-3.c: Likewise.
6647 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6648 * iconvdata/iso-2022-kr.c : Likewise.
6649 * iconvdata/iso646.c (gconv_end): Likewise.
6650 * iconvdata/iso_6937-2.c : Likewise.
6651 * iconvdata/iso_6937.c : Likewise.
6652 * iconvdata/iso8859-1.c: Likewise.
6653 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6654 * iconvdata/shift_jisx0213.c : Likewise.
6655 * iconvdata/sjis.c : Likewise.
6656 * iconvdata/t.61.c : Likewise.
6657 * iconvdata/tcvn5712-1.c : Likewise.
6658 * iconvdata/tscii.c: Likewise.
6659 * iconvdata/uhc.c : Likewise.
6660 * iconvdata/unicode.c (gconv_end): Likewise.
6661 * iconvdata/utf-16.c (gconv_end): Likewise.
6662 * iconvdata/utf-32.c (gconv_end): Likewise.
6663 * iconvdata/utf-7.c (base64): Likewise.
6664 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6665 * iconv/gconv_close.c (__gconv_close): Likewise.
6666 * iconv/gconv_open.c (__gconv_open): Likewise.
6667 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6668 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6669 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6670 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6671 (ucs4le_internal_loop_single): Likewise.
6672 * iconv/iconv.c (iconv): Likewise.
6673 * iconv/iconv_close.c: Likewise.
6674 * iconv/loop.c (SINGLE): Likewise.
6675 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6676 * include/atomic.h: Likewise.
6677 * inet/inet6_option.c (option_alloc): Likewise.
6678 * intl/bindtextdom.c (set_binding_values): Likewise.
6679 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6680 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6681 * intl/localealias.c (read_alias_file): Likewise.
6682 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6683 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6684 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6685 * libio/fmemopen.c (fmemopen): Likewise.
6686 * libio/iofgets.c (_IO_fgets): Likewise.
6687 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6688 * libio/iofgetws.c (fgetws): Likewise.
6689 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6690 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6691 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6692 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6693 * locale/findlocale.c (_nl_find_locale): Likewise.
6694 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6695 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6697 * locale/setlocale.c (setlocale): Likewise.
6698 * login/programs/pt_chown.c (main): Likewise.
6699 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6700 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6701 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6702 (mmap, mmap64, mremap, munmap): Likewise.
6703 * math/e_exp2l.c: Likewise.
6704 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6705 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6706 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6707 * math/s_catan.c (__catan): Likewise.
6708 * math/s_catanf.c (__catanf): Likewise.
6709 * math/s_catanh.c (__catanh): Likewise.
6710 * math/s_catanhf.c (__catanhf): Likewise.
6711 * math/s_catanhl.c (__catanhl): Likewise.
6712 * math/s_catanl.c (__catanl): Likewise.
6713 * math/s_ccosh.c (__ccosh): Likewise.
6714 * math/s_ccoshf.c (__ccoshf): Likewise.
6715 * math/s_ccoshl.c (__ccoshl): Likewise.
6716 * math/s_cexp.c (__cexp): Likewise.
6717 * math/s_cexpf.c (__cexpf): Likewise.
6718 * math/s_cexpl.c (__cexpl): Likewise.
6719 * math/s_clog10.c (__clog10): Likewise.
6720 * math/s_clog10f.c (__clog10f): Likewise.
6721 * math/s_clog10l.c (__clog10l): Likewise.
6722 * math/s_clog.c (__clog): Likewise.
6723 * math/s_clogf.c (__clogf): Likewise.
6724 * math/s_clogl.c (__clogl): Likewise.
6725 * math/s_csin.c (__csin): Likewise.
6726 * math/s_csinf.c (__csinf): Likewise.
6727 * math/s_csinh.c (__csinh): Likewise.
6728 * math/s_csinhf.c (__csinhf): Likewise.
6729 * math/s_csinhl.c (__csinhl): Likewise.
6730 * math/s_csinl.c (__csinl): Likewise.
6731 * math/s_csqrt.c (__csqrt): Likewise.
6732 * math/s_csqrtf.c (__csqrtf): Likewise.
6733 * math/s_csqrtl.c (__csqrtl): Likewise.
6734 * math/s_ctan.c (__ctan): Likewise.
6735 * math/s_ctanf.c (__ctanf): Likewise.
6736 * math/s_ctanh.c (__ctanh): Likewise.
6737 * math/s_ctanhf.c (__ctanhf): Likewise.
6738 * math/s_ctanhl.c (__ctanhl): Likewise.
6739 * math/s_ctanl.c (__ctanl): Likewise.
6740 * math/w_pow.c: Likewise.
6741 * math/w_powf.c: Likewise.
6742 * math/w_powl.c: Likewise.
6743 * math/w_scalb.c (sysv_scalb): Likewise.
6744 * math/w_scalbf.c (sysv_scalbf): Likewise.
6745 * math/w_scalbl.c (sysv_scalbl): Likewise.
6746 * misc/error.c (error_tail): Likewise.
6747 * misc/pselect.c (__pselect): Likewise.
6748 * nis/nis_callback.c (__nis_create_callback): Likewise.
6749 * nis/nis_call.c (__nisfind_server): Likewise.
6750 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6751 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6752 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6753 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6754 * nis/nis_lookup.c (nis_lookup): Likewise.
6755 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6756 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6757 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6758 * nis/nis_xdr.c (xdr_endpoint): Likewise.
6759 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6760 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6761 * nis/nss_compat/compat-initgroups.c (add_group)
6762 (internal_getgrent_r): Likewise.
6763 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6764 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6765 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6766 (internal_getspnam_r): Likewise.
6767 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6768 (_nss_nis_getaliasbyname_r): Likewise.
6769 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6770 (_nss_nis_getntohost_r): Likewise.
6771 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6772 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6773 (_nss_nis_getgrgid_r): Likewise.
6774 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6775 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6776 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6777 (_nss_nis_gethostbyname4_r): Likewise.
6778 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6779 (initgroups_netid): Likewise.
6780 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6781 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6782 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6783 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6784 (_nss_nis_getprotobynumber_r): Likewise.
6785 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6786 (_nss_nis_getsecretkey): Likewise.
6787 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6788 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6789 (_nss_nis_getpwuid_r): Likewise.
6790 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6791 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6792 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6793 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6794 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6795 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6796 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6798 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6799 (_nss_nisplus_getntohost_r): Likewise.
6800 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6801 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6802 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6803 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6805 * nis/nss_nisplus/nisplus-initgroups.c
6806 (_nss_nisplus_initgroups_dyn): Likewise.
6807 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6808 (_nss_nisplus_getnetbyaddr_r): Likewise.
6809 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6810 (_nss_nisplus_getprotobynumber_r): Likewise.
6811 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6812 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6813 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6815 * nis/nss_nisplus/nisplus-service.c
6816 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6817 (_nss_nisplus_getservbyport_r): Likewise.
6818 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6819 (_nss_nisplus_getspnam_r): Likewise.
6820 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6822 * nscd/aicache.c (addhstaiX): Likewise.
6823 * nscd/cache.c (cache_search, prune_cache): Likewise.
6824 * nscd/connections.c (register_traced_file, send_ro_fd)
6825 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6826 (main_loop_epoll): Likewise.
6827 * nscd/grpcache.c (addgrbyX): Likewise.
6828 * nscd/hstcache.c (addhstbyX): Likewise.
6829 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6830 * nscd/mem.c (gc, mempool_alloc): Likewise.
6831 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6832 (addinnetgrX): Likewise.
6833 * nscd/nscd-client.h (__nscd_acquire_maplock)
6834 (__nscd_drop_map_ref): Likewise.
6835 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6836 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6837 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6839 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6840 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6841 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6842 (__nscd_get_map_ref): Likewise.
6843 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6844 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6846 * nscd/pwdcache.c (addpwbyX): Likewise.
6847 * nscd/selinux.c (preserve_capabilities): Likewise.
6848 * nscd/servicescache.c (addservbyX): Likewise.
6849 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6850 * posix/fnmatch.c (fnmatch): Likewise.
6851 * posix/getopt.c (_getopt_internal_r): Likewise.
6852 * posix/glob.c (glob, glob_in_dir): Likewise.
6853 * posix/wordexp.c (exec_comm_child): Likewise.
6854 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6855 (getanswer_r, gaih_getanswer_slice): Likewise.
6856 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6857 * resolv/res_init.c: Likewise.
6858 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6859 * resolv/res_query.c (__libc_res_nquery): Likewise.
6860 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6862 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6863 * stdio-common/perror.c (perror): Likewise.
6864 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6865 * stdio-common/tmpnam.c (tmpnam): Likewise.
6866 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6867 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6868 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6870 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6871 * stdlib/putenv.c (putenv): Likewise.
6872 * stdlib/setenv.c (__add_to_environ): Likewise.
6873 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6874 * stdlib/strtol_l.c (INTERNAL): Likewise.
6875 * string/memmem.c (memmem): Likewise.
6876 * string/strerror.c (strerror): Likewise.
6877 * string/strnlen.c (__strnlen): Likewise.
6878 * string/test-memmem.c (simple_memmem): Likewise.
6879 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6880 * sunrpc/pm_getport.c (__get_socket): Likewise.
6881 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6882 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6883 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6884 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6886 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6887 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6888 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6889 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6890 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6891 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6893 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6895 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6896 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6897 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6898 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6899 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6901 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6902 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6903 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6904 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6905 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6906 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6908 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6910 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6912 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6913 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6914 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6915 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6916 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6917 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6918 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6919 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6920 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6921 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6922 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6923 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6924 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6925 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6926 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6927 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6929 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6931 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6933 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6935 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6936 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6937 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6939 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6940 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6941 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6942 * sysdeps/posix/sleep.c: Likewise.
6943 * sysdeps/posix/tempname.c: Likewise.
6944 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6945 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6947 * sysdeps/powerpc/powerpc32/dl-machine.h
6948 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6949 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6950 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6951 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6952 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6954 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6955 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6956 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6957 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6958 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6959 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6960 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6961 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6962 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6963 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6964 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6965 (elf_machine_lazy_rel): Likewise.
6966 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6967 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6968 (elf_machine_lazy_rel): Likewise.
6969 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6970 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6971 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6972 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6973 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6974 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6975 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6976 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6978 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6979 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6980 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6981 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6982 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6983 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6984 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6985 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6986 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6987 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6988 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6990 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6991 (__posix_fallocate64_l64): Likewise.
6992 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6993 (posix_fallocate): Likewise.
6994 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6996 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6997 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6998 (getifaddrs_internal): Likewise.
6999 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7000 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7001 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7002 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7003 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7004 (__posix_fallocate64_l64): Likewise.
7005 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7007 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7008 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7009 (__get_clockfreq): Likewise.
7010 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7011 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7012 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7013 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7014 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7015 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7016 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7017 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7019 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7020 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7021 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7022 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7023 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7024 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7025 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7027 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7028 (posix_fallocate): Likewise.
7029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7030 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7031 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7032 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7033 (elf_machine_rela, elf_machine_rela_relative)
7034 (elf_machine_lazy_rel): Likewise.
7035 * time/asctime.c (asctime_internal): Likewise.
7036 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7037 * time/tzset.c (__tzset_parse_tz): Likewise.
7038 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7039 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7040 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7041 * wcsmbs/wcsmbsload.h: Likewise.
7044 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7046 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7047 (arena_get2): Remove THREAD_STATS conditionals.
7048 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7049 (__malloc_stats, int): Likewise.
7051 2014-02-08 Mike Frysinger <vapier@gentoo.org>
7053 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7054 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7056 * manual/setjmp.texi: Fix typos/grammar errors.
7058 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7059 Only return early when n is <= 0. Delete unused return statement.
7061 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7062 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7063 * debug/tst-longjmp_chk3.c: New file.
7065 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7066 (test_main): Replace code with set_fortify_handler call.
7067 * debug/test-strcpy_chk.c: Likewise.
7068 * debug/tst-chk1.c: Likewise.
7069 * debug/tst-longjmp_chk.c: Likewise.
7070 * test-skeleton.c: Include fcntl.h & paths.h
7071 (set_fortify_handler): Define.
7073 * debug/tst-longjmp_chk.c: Add header comment and include
7075 (do_test): Mark static.
7076 (TEST_FUNCTION): Define.
7078 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7079 (IP_PMTUDISC_INTERFACE): Likewise.
7080 (IP_MULTICAST_IF): Likewise.
7081 (IP_MULTICAST_TTL): Likewise.
7082 (IP_MULTICAST_LOOP): Likewise.
7083 (IP_ADD_MEMBERSHIP): Likewise.
7084 (IP_DROP_MEMBERSHIP): Likewise.
7085 (IP_UNBLOCK_SOURCE): Likewise.
7086 (IP_BLOCK_SOURCE): Likewise.
7087 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7088 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7089 (IP_MSFILTER): Likewise.
7090 (MCAST_JOIN_GROUP): Likewise.
7091 (MCAST_BLOCK_SOURCE): Likewise.
7092 (MCAST_UNBLOCK_SOURCE): Likewise.
7093 (MCAST_LEAVE_GROUP): Likewise.
7094 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7095 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7096 (MCAST_MSFILTER): Likewise.
7097 (IP_MULTICAST_ALL): Likewise.
7098 (IP_UNICAST_IF): Likewise.
7100 * timezone/Makefile: Delete $(have-ksh) check.
7101 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7102 * timezone/tzselect.ksh: Add +x mode bits.
7104 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7105 (ANON_INODE_FS_MAGIC): Likewise.
7106 (BDEVFS_MAGIC): Likewise.
7107 (BINFMTFS_MAGIC): Likewise.
7108 (BTRFS_TEST_MAGIC): Likewise.
7109 (CRAMFS_MAGIC_WEND): Likewise.
7110 (DEBUGFS_MAGIC): Likewise.
7111 (ECRYPTFS_SUPER_MAGIC): Likewise.
7112 (EXT3_SUPER_MAGIC): Likewise.
7113 (EXT4_SUPER_MAGIC): Likewise.
7114 (FUTEXFS_SUPER_MAGIC): Likewise.
7115 (HOSTFS_SUPER_MAGIC): Likewise.
7116 (HUGETLBFS_MAGIC): Likewise.
7117 (MINIX3_SUPER_MAGIC): Likewise.
7118 (MTD_INODE_FS_MAGIC): Likewise.
7119 (NILFS_SUPER_MAGIC): Likewise.
7120 (OPENPROM_SUPER_MAGIC): Likewise.
7121 (PIPEFS_MAGIC): Likewise.
7122 (PSTOREFS_MAGIC): Likewise.
7123 (QNX6_SUPER_MAGIC): Likewise.
7124 (RAMFS_MAGIC): Likewise.
7125 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7126 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7127 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7128 (SECURITYFS_MAGIC): Likewise.
7129 (SELINUX_MAGIC): Likewise.
7130 (SMACK_MAGIC): Likewise.
7131 (SOCKFS_MAGIC): Likewise.
7132 (SQUASHFS_MAGIC): Likewise.
7133 (STACK_END_MAGIC): Likewise.
7134 (TMPFS_MAGIC): Likewise.
7135 (USBDEVICE_SUPER_MAGIC): Likewise.
7136 (V9FS_MAGIC): Likewise.
7137 (XENFS_SUPER_MAGIC): Likewise.
7138 (CRAMFS_MAGIC): Fix typo in comment.
7139 (EXT2_SUPER_MAGIC): Update comment.
7140 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7142 2014-02-08 Joseph Myers <joseph@codesourcery.com>
7144 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7145 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7146 * sysdeps/unix/sysv/linux/arm: Move directory from
7147 ports/sysdeps/unix/sysv/linux/arm.
7148 * README: Update listing for arm-*-linux-gnueabi.
7150 * README: Remove mention of am33.
7152 2014-02-07 Roland McGrath <roland@hack.frob.com>
7154 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7155 than the comma operator, to avoid "rhs of comma has no effect"
7157 (__sigfillset, __sigandset, __sigorset): Likewise.
7158 * include/signal.h (__sigemptyset): Likewise.
7159 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7161 2014-02-07 Allan McRae <allan@archlinux.org>
7163 * version.h (RELEASE): Set to "development".
7164 (VERSION): Set to "2.19.90"
7165 * NEWS: Add 2.20 section.
7167 2014-02-06 Carlos O'Donell <carlos@redhat.com>
7170 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7172 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7174 * manual/contrib.texi: Update entry for Carlos O'Donell,
7175 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7177 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
7179 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7181 * sysdeps/unix/sysv/linux/kernel-features.h
7182 [__LINUX_KERNEL_VERSION >= 0x020621]
7183 (__ASSUME_PROC_PID_TASK_COMM): Define.
7185 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7188 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7189 conversion when destination buffer does not have enough space.
7190 * libio/tst-ftell-partial-wide.c: New test case.
7191 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7193 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7194 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7195 Leonard and Allan McRae.
7197 2014-02-04 David S. Miller <davem@davemloft.net>
7199 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7202 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7231 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7233 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7234 * shlib-versions: Likewise.
7236 2014-02-04 Roland McGrath <roland@hack.frob.com>
7237 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7239 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7240 (abilist-pattern): New variable, set to %-le.abilist.
7242 * Makerules (abilist-pattern): New variable.
7243 (vpath): Use $(abilist-pattern) in place of %.abilist.
7244 (check-abi-% pattern rule): Likewise.
7245 (check-abi, update-abi): Likewise.
7247 2014-02-04 Eric Wong <normalperson@yhbt.net>
7249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7251 2014-02-03 Carlos O'Donell <carlos@redhat.com>
7253 * manual/startup.texi: Add next, previous, and top entries for
7254 the `Program Arguments' and `Environment Variables' nodes.
7256 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
7258 * manual/macros.texi: Add comments before MTASC-safety macros.
7260 * manual/users.texi: Document MTASC-safety properties.
7262 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7263 (pthread_getspecific, pthread_setspecific): Format with
7264 @deftypefun, and add @safety note.
7265 * manual/signal.texi: Move comments that analyze the above
7266 functions to their home place.
7268 2014-02-03 Allan McRae <allan@archlinux.org>
7270 * po/sl.po: Update Slovenian translation from translation project.
7272 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
7274 * manual/time.texi (timegm): Add missing blank after @c.
7275 Reported by Joseph Myers <joseph@codesourcery.com>.
7277 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
7279 * manual/check-safety.sh: New.
7280 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7282 * manual/terminal.texi: Document MTASC-safety properties.
7284 * manual/filesys.texi: Document MTASC-safety properties.
7286 * manual/errno.texi: Document MTASC-safety properties.
7288 * manual/intro.texi: Document safety identifiers and
7291 * manual/string.texi (wcstok): Fix prototype.
7292 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7294 * manual/time.texi: Document MTASC-safety properties.
7296 * manual/string.texi: Document MTASC-safety properties.
7298 * manual/threads.texi: Document MTASC-safety properties.
7300 * manual/stdio.texi: Document MTASC-safety properties.
7302 * manual/syslog.texi: Document MTASC-safety properties.
7304 * manual/sysinfo.texi: Document MTASC-safety properties.
7306 * manual/startup.texi: Document MTASC-safety properties.
7308 * manual/socket.texi: Document MTASC-safety properties.
7310 * manual/signal.texi: Document MTASC-safety properties.
7312 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
7314 * manual/setjmp.texi: Document MTASC-safety properties.
7316 * manual/search.texi: Document MTASC-safety properties.
7318 * manual/resource.texi: Document MTASC-safety properties.
7320 * manual/process.texi: Document MTASC-safety properties.
7322 * manual/platform.texi: Document MTASC-safety properties.
7324 * manual/pipe.texi: Document MTASC-safety properties.
7326 * manual/pattern.texi: Document MTASC-safety properties.
7328 * manual/message.texi: Document MTASC-safety properties.
7331 * manual/memory.texi: Document MTASC-safety properties.
7333 * manual/math.texi: Document MTASC-safety properties.
7335 * manual/locale.texi: Document MTASC-safety properties.
7337 * manual/llio.texi: Document MTASC-safety properties.
7339 * manual/libdl.texi: New.
7341 * manual/lang.texi: Document MTASC-safety properties.
7343 * manual/job.texi: Document MTASC-safety properties.
7345 * manual/getopt.texi: Document MTASC-safety properties.
7347 * manual/ctype.texi: Document MTASC-safety properties.
7349 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7352 * csu/libc-tls.c (static_map): Remove variable.
7353 (__libc_setup_tls): Use main executable's link map for TLS data.
7354 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7355 casing for LM_ID_BASE and GL(dl_nns).
7356 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7357 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7358 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7359 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7360 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7362 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7365 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
7367 * manual/debug.texi: Document MTASC-safety properties.
7369 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7372 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7373 of __x86_64__ when disabling x87 inline functions.
7375 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
7377 * manual/charset.texi: Document MTASC-safety properties.
7379 * manual/crypt.texi: Document MTASC-safety properties.
7381 * manual/conf.texi: Document MTASC-safety properties.
7383 * manual/arith.texi: Document MTASC-safety properties.
7385 * manual/argp.texi: Document MTASC-safety properties.
7387 * manual/macros.texi: Introduce macros to document multi
7388 thread, asynchronous signal and asynchronous cancellation
7390 * manual/intro.texi: Introduce the properties themselves.
7392 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7394 * sysdeps/sh/sh4/Makefile: New file.
7396 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7398 * math/gen-libm-test.pl ($srcdir): New variable.
7399 ($auto_input): Use it.
7401 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7404 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7405 access beyond array bounds when parsing netgroups file.
7407 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7408 the old buffer before realloc.
7410 2014-01-27 Allan McRae <allan@archlinux.org>
7412 * po/fr.po: Update French translation from translation project.
7414 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7416 * sysdeps/sh/libm-test-ulps: Regenerate.
7418 2014-01-24 David S. Miller <davem@davemloft.net>
7420 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7422 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7424 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7425 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7427 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7430 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7431 string pointers after reallocation.
7433 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7435 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7436 __SH4A__ instead of __SH_FPU_ANY__.
7438 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7440 * sysdeps/sh/fpu_control.h: New file.
7441 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7442 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7443 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7444 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7445 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7446 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7447 * sysdeps/sh/sys/ucontext.h: Remove.
7448 * sysdeps/sh/sys: Remove directory.
7450 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7452 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7453 s390/sys/ucontext.h.
7454 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7455 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7457 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7460 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7462 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7465 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7466 Adjust the vDSO correctly for internal calls.
7467 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7469 2014-01-20 Allan McRae <allan@archlinux.org>
7471 * po/ca.po: Update Catalan translation from translation project.
7473 2014-01-16 Mike Frysinger <vapier@gentoo.org>
7475 * sysdeps/s390/sotruss-lib.c: New file.
7477 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7480 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7481 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7482 local calls issues by not having a PLT stub required for IFUNC calls.
7483 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7485 2014-01-16 Joseph Myers <joseph@codesourcery.com>
7487 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7488 * math/test-fpucw-static.c: Likewise.
7490 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7493 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7495 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7497 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7498 implementation for powerpc.
7500 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
7503 * sysdeps/posix/system.c (__libc_system): Do not enable
7504 asynchronous cancellation.
7506 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7509 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7510 handling only for numbers special also in the IEEE case.
7512 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7514 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7516 2014-01-11 Allan McRae <allan@archlinux.org>
7518 * po/bg.po: Update Bulgarian translation from translation project.
7520 * po/de.po: Update German translation from translation project.
7522 2014-01-10 Roland McGrath <roland@hack.frob.com>
7524 * sysdeps/generic/gcc-compat.h: New file.
7526 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7528 * benchtests/asin-inputs: Correct slow inputs.
7529 * benchtests/acos-inputs: Likewise.
7531 2014-01-10 Allan McRae <allan@archlinux.org>
7533 * po:sv.po: Update Swedish translation from translation project.
7535 * po/vi.po: Update Vietnamese translation from translation project.
7537 * po/eo.po: Update Esperanto translation from translation project.
7539 * po/cs.po: Update Czech translation from translation project.
7541 * po/nl.po: Update Dutch translation from translation project.
7543 * po/pl.po: Update Polish translation from translation project.
7545 * po/ru.po: Update Russian translation from translation project.
7547 * po/uk.po: Update Ukrainian translation from translation project.
7549 2014-01-08 Brooks Moses <bmoses@google.com>
7551 * elf/dl-load.c: Fix comment typo.
7553 2014-01-08 Carlos O'Donell <carlos@redhat.com>
7555 * po/header.pot: Rename to...
7556 * po/pot.header: ... this.
7557 * po/Makefile: Use pot.header.
7559 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7560 Maxim Kuvyrkov <maxim@kugelworks.com>
7563 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7564 SRC and DEST against LEN.
7566 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7569 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7571 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7573 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7577 2014-01-08 Joseph Myers <joseph@codesourcery.com>
7580 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7581 for large positive arguments.
7583 2014-01-07 Joseph Myers <joseph@codesourcery.com>
7585 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7587 * math/auto-libm-test-in: Mark various tests with
7588 xfail-rounding:ldbl-128ibm.
7589 * math/auto-libm-test-out: Regenerated.
7592 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7593 Increase overflow threshold.
7595 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
7598 * stdio-common/vfprintf.c: Check for integer overflow.
7600 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7602 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7603 the first argument and return value of __tls_get_addr_internal.
7605 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7607 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7608 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7610 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7612 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7613 * sysdeps/s390/rtld-global-offsets.sym: New file.
7614 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7616 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7617 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7618 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7620 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7621 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7627 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7628 halfs of GPRs for high_gprs contexts.
7629 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7630 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7632 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7634 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7636 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7637 for high GPRs (uc_high_gprs) and for future extensions
7639 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7640 for future extensions (__reserved).
7641 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7643 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7644 SC_HIGHGPRS offset definition.
7645 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7646 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7648 * Versions.def: Add GLIBC_2.19 for libpthread.
7649 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7650 siglongjmp for libpthread with GLIBC_2.19 symver.
7651 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7652 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7653 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7654 * sysdeps/s390/__longjmp.c: New file.
7655 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7656 * sysdeps/s390/longjmp.c: New file.
7657 * sysdeps/s390/setjmp.S: New file.
7658 * sysdeps/s390/sigjmp.S: New file.
7659 * sysdeps/s390/v1-longjmp.c: New file.
7660 * sysdeps/s390/v1-setjmp.h: New file.
7661 * sysdeps/s390/v1-sigjmp.c: New file.
7662 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7663 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7665 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7666 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7667 versioned symbols for ____longjmp_chk.
7668 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7678 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7679 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7680 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7681 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7682 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7683 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7684 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7685 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7686 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7687 * sysdeps/s390/rtld-__longjmp.c: New file.
7688 * sysdeps/s390/rtld-setjmp.S: New file.
7690 2014-01-06 Joseph Myers <joseph@codesourcery.com>
7693 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7694 Return -__logl (x) for small positive arguments without evaluating
7697 2014-01-06 Mike Frysinger <vapier@gentoo.org>
7699 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7701 (__ptrace_peeksiginfo_args): ... this.
7702 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7703 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7704 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7706 2014-01-06 Allan McRae <allan@archlinux.org>
7708 * inet/netinet/in.h: Fix typo in comment.
7710 2014-01-05 Andreas Jaeger <aj@suse.de>
7712 * sysdeps/i386/fpu/libm-test-ulps: Update.
7714 2014-01-05 Allan McRae <allan@archlinux.org>
7716 * po/libc.pot: Regenerated.
7718 * malloc/memusagestat.c: Fix gettext call formatting.
7720 2014-01-04 Sami Kerola <kerolasa@iki.fi>
7722 * nscd/nscd.c: Improve usage() output.
7724 2014-01-04 Mike Frysinger <vapier@gentoo.org>
7726 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7727 * sysdeps/unix/sysv/linux/configure: Regenerated.
7728 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7729 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7731 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7734 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7735 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7737 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7739 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7740 extra tokens at end of #undef directive.
7741 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7742 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7743 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7745 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7747 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7749 * math/auto-libm-test-in: Mark various tests with
7750 xfail-rounding:ldbl-128ibm.
7751 * math/auto-libm-test-out: Regenerated.
7753 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7756 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7757 numbers with subnormal high part when calculating exponent.
7760 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7764 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7766 (__ieee754_acoshl): Use __log1pl not __log1p.
7768 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
7770 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7771 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7772 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7773 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7774 (reused_arena, arena_get2): Convert to GNU style.
7775 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7776 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7777 (memalign_check, __malloc_set_state): Likewise.
7778 * malloc/mallocbug.c (main): Likewise.
7779 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7780 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7781 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7782 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7783 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7784 (__posix_memalign, malloc_info): Likewise.
7785 * malloc/malloc.h: Likewise.
7786 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7787 (mallochook, memalignhook, reallochook, mabort): Likewise.
7788 * malloc/mcheck.h: Likewise.
7789 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7790 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7791 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7792 * malloc/morecore.c (__default_morecore): Likewise.
7793 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7794 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7795 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7796 (print_and_abort): Likewise.
7797 * malloc/obstack.h: Likewise.
7798 * malloc/set-freeres.c (__libc_freeres): Likewise.
7799 * malloc/tst-mallocstate.c (main): Likewise.
7800 * malloc/tst-mtrace.c (main): Likewise.
7801 * malloc/tst-realloc.c (do_test): Likewise.
7803 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7806 * nscd/netgroupcache.c (do_notfound): New function.
7807 (addgetnetgrentX): Use it.
7810 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7811 NSS_STATUS_NOTFOUND.
7813 2014-01-01 Joseph Myers <joseph@codesourcery.com>
7815 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7818 2014-01-01 Allan McRae <allan@archlinux.org>
7820 * scripts/update-copyrights: Update configure input file suffix.
7822 * NEWS: Update copyright year.
7823 * catgets/gencat.c: Likewise.
7824 * csu/version.c: Likewise.
7825 * debug/catchsegv.sh: Likewise.
7826 * debug/pcprofiledump.c: Likewise.
7827 * debug/xtrace.sh: Likewise.
7828 * elf/ldconfig.c: Likewise.
7829 * elf/ldd.bash.in: Likewise.
7830 * elf/pldd.c: Likewise.
7831 * elf/sotruss.ksh: Likewise.
7832 * elf/sprof.c: Likewise.
7833 * iconv/iconv_prog.c: Likewise.
7834 * iconv/iconvconfig.c: Likewise.
7835 * locale/programs/locale.c: Likewise.
7836 * locale/programs/localedef.c: Likewise.
7837 * login/programs/pt_chown.c: Likewise.
7838 * malloc/memusage.sh: Likewise.
7839 * malloc/memusagestat.c: Likewise.
7840 * malloc/mtrace.pl: Likewise.
7841 * manual/libc.texinfo: Likewise.
7842 * nscd/nscd.c: Likewise.
7843 * nss/getent.c: Likewise.
7844 * nss/makedb.c: Likewise.
7845 * posix/getconf.c: Likewise.
7846 * scripts/test-installation.pl: Likewise.
7848 * All files with FSF copyright notices: Update copyright dates
7849 using scripts/update-copyrights.
7850 * intl/plural.c: Regenerated.
7851 * locale/programs/charmap-kw.h: Likewise.
7852 * locale/programs/locfile-kw.h: Likewise.
7854 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7856 * sysdeps/unix/sysv/linux/configure: Regenerated.
7857 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7858 the linux/fanotify.h header.
7859 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7860 HAVE_LINUX_FANOTIFY_H is defined.
7862 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7864 * benchtests/cos-inputs: New inputs.
7865 * benchtests/sin-inputs: Likewise.
7867 * benchtests/atan-inputs: New inputs. Fix name of multiple
7868 precision fallback inputs.
7870 * benchtests/atanh-inputs: New inputs.
7871 * benchtests/tanh-inputs: Likewise.
7873 * benchtests/acosh-inputs: New inputs.
7874 * benchtests/asinh-inputs: Likewise.
7876 * benchtests/cosh-inputs: New inputs.
7877 * benchtests/sinh-inputs: Likewise.
7879 * benchtests/acos-inputs: Add more inputs.
7880 * benchtests/asin-inputs: Likewise.
7882 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7885 * manual/arith.texi: Fix spelling.
7886 * manual/charset.texi: Likewise.
7887 * manual/errno.texi: Likewise.
7888 * manual/filesys.texi: Likewise.
7889 * manual/lang.texi: Likewise.
7890 * manual/llio.texi: Likewise.
7891 * manual/locale.texi: Likewise.
7892 * manual/message.texi: Likewise.
7893 * manual/resource.texi: Likewise.
7894 * manual/search.texi: Likewise.
7895 * manual/setjmp.texi: Likewise.
7896 * manual/stdio.texi: Likewise.
7897 * manual/string.texi: Likewise.
7898 * manual/sysinfo.texi: Likewise.
7899 * manual/time.texi: Likewise.
7901 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7903 * po/sl.po: New file.
7905 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7907 * .gitignore: Add core/.gdbinit/.gdb_history.
7909 2013-12-27 Allan McRae <allan@archlinux.org>
7912 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7913 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7915 2013-12-24 Brooks Moses <bmoses@google.com>
7917 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7918 all compilers that claim C++98 compliance, not just GCC.
7919 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7922 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7924 * NEWS: Restore accidentally deleted bug-fix entries.
7926 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7927 Ondřej Bílka <neleai@seznam.cz>
7930 * malloc/malloc.c (_int_free): Perform sanity check only if we
7933 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7936 * manual/stdio.texi (String Input Conversions): Clarify that character
7937 classes are not supported.
7939 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7943 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7946 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7947 Calculate results for small negative arguments directly rather
7948 than using reflection formula with special underflow handling.
7950 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7951 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7952 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7953 (fchflags): Likewise.
7955 (setlogin): Likewise.
7956 (sigaltstack): Likewise.
7959 (sigsetmask): Likewise.
7961 (waitpid): Likewise.
7962 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7963 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7965 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7966 * sysdeps/unix/bsd/Makefile: ... here.
7967 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7968 * sysdeps/unix/bsd/Versions: ... here.
7969 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7970 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7971 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7972 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7973 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7974 * sysdeps/unix/bsd/sigblock.c: ... here.
7975 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7976 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7977 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7978 * sysdeps/unix/bsd/sigvec.c: ... here.
7979 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7980 * sysdeps/unix/bsd/tcdrain.c: ... here.
7981 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7982 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7983 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7984 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7985 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7986 * sysdeps/unix/bsd/wait.c: ... here.
7987 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7988 * sysdeps/unix/bsd/wait3.c: ... here.
7989 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7990 * sysdeps/unix/bsd/waitpid.c: ... here.
7992 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7995 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7996 round-to-nearest for [!USE_AS_EXPM1L].
7997 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7998 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7999 more tests of exp and exp10. Expect some exp10 tests to miss
8000 exceptions or fail in directed rounding modes.
8001 * math/auto-libm-test-out: Regenerated.
8002 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8003 (exp10_test_tonearest): New function.
8004 (exp10_towardzero_test_data): New array.
8005 (exp10_test_towardzero): New function.
8006 (exp10_downward_test_data): New array.
8007 (exp10_test_downward): New function.
8008 (exp10_upward_test_data): New array.
8009 (exp10_test_upward): New function.
8010 (main): Call the new functions.
8011 * sysdeps/i386/fpu/libm-test-ulps: Update.
8012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8014 2013-12-20 Joseph Myers <joseph@codesourcery.com>
8016 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8017 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8018 * math/auto-libm-test-out: Regenerated.
8019 * math/libm-test.inc (acosh_test_data): Add more tests.
8020 (atanh_test_data): Likewise.
8021 (ceil_test_data): Likewise.
8022 (copysign_test_data): Likewise.
8023 * sysdeps/i386/fpu/libm-test-ulps: Update.
8024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8026 * timezone/checktab.awk: Update from tzcode 2013i.
8027 * timezone/private.h: Likewise.
8028 * timezone/scheck.c: Likewise.
8029 * timezone/tzfile.h: Likewise.
8030 * timezone/tzselect.ksh: Likewise.
8031 * timezone/zdump.c: Likewise.
8032 * timezone/zic.c: Likewise.
8034 * math/auto-libm-test-in: Add tests of cpow.
8035 * math/auto-libm-test-out: Regenerated.
8036 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8037 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8039 (func_calc_desc): Add mpc_cc_c union field.
8040 (test_functions): Add cpow.
8041 (special_fill_2pi): New function.
8042 (special_real_inputs): Add 2pi.
8043 (calc_generic_results): Handle mpc_cc_c.
8044 * sysdeps/i386/fpu/libm-test-ulps: Update.
8045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8047 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8048 csqrt, ctan and ctanh.
8049 * math/auto-libm-test-out: Regenerated.
8050 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8051 (TEST_COND_x86): Likewise.
8052 (ccos_test_data): Use AUTO_TESTS_c_c.
8053 (ccosh_test_data): Likewise.
8054 (cexp_test_data): Likewise.
8055 (clog_test_data): Likewise.
8056 (csqrt_test_data): Likewise.
8057 (ctan_test_data): Likewise.
8058 (ctan_tonearest_test_data): Likewise.
8059 (ctan_towardzero_test_data): Likewise.
8060 (ctan_downward_test_data): Likewise.
8061 (ctan_upward_test_data): Likewise.
8062 (ctanh_test_data): Likewise.
8063 (ctanh_tonearest_test_data): Likewise.
8064 (ctanh_towardzero_test_data): Likewise.
8065 (ctanh_downward_test_data): Likewise.
8066 (ctanh_upward_test_data): Likewise.
8067 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8069 (func_calc_desc): Add mpc_c_c union field.
8070 (FUNC_mpc_c_c): New macro.
8071 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8072 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8074 (special_fill_min_subnorm_p120): New function.
8075 (special_real_inputs): Add min_subnorm_p120.
8076 (calc_generic_results): Handle mpc_c_c.
8077 * sysdeps/i386/fpu/libm-test-ulps: Update.
8078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8080 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8082 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8083 (do_sin_slow): New functions.
8084 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8085 (cslow2, csloww1, csloww2): Use the new functions.
8087 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8088 Use M to change sign of result instead of X. Assume X is
8090 (csloww1): Likewise.
8094 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8099 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8101 (sloww1): Don't adjust sign of DX.
8102 (csloww1): Likewise.
8103 (sloww2): Use X directly and don't adjust sign of DX.
8104 (csloww2): Likewise.
8106 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8108 * math/auto-libm-test-in: Add tests of cabs and carg.
8109 * math/auto-libm-test-out: Regenerated.
8110 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8111 (carg_test_data): Likewise.
8112 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8114 (func_calc_desc): Add mpc_c_f union field.
8115 (test_functions): Add cabs and carg.
8116 (calc_generic_results): Handle mpc_c_f.
8118 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8119 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8120 as a macro and a compat symbol.
8121 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8122 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8123 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8124 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8125 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8126 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8128 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8130 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8132 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8134 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8136 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8138 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8139 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8142 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8146 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8148 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8149 trailing whitespace removed.
8150 * scripts/config.guess: Update to version 2013-11-29.
8151 * scripts/config.sub: Update to version 2013-10-01.
8153 * math/auto-libm-test-in: Add tests of sincos.
8154 * math/auto-libm-test-out: Regenerated.
8155 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8156 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8158 (func_calc_desc): Add mpfr_f_11 union field.
8159 (test_functions): Add sincos.
8160 (calc_generic_results): Handle mpfr_f_11.
8161 * sysdeps/i386/fpu/libm-test-ulps: Update.
8162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8164 2013-12-19 Andreas Schwab <schwab@suse.de>
8166 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8168 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8169 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8170 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8172 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8174 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8175 * sysdeps/i386/fpu/libm-test-ulps: Update.
8176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8179 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8180 round-to-nearest mode when using frndint.
8181 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8182 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8183 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8185 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8187 * math/auto-libm-test-out: Regenerated.
8188 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8189 (TEST_COND_x86): Likewise.
8190 (expm1_tonearest_test_data): New array.
8191 (expm1_test_tonearest): New function.
8192 (expm1_towardzero_test_data): New array.
8193 (expm1_test_towardzero): New function.
8194 (expm1_downward_test_data): New array.
8195 (expm1_test_downward): New function.
8196 (expm1_upward_test_data): New array.
8197 (expm1_test_upward): New function.
8198 (main): Run the new test functions.
8199 * sysdeps/i386/fpu/libm-test-ulps: Update.
8200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8202 * include/features.h: Update comment documenting feature test
8203 macros. Mention _DEFAULT_SOURCE in comment.
8204 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8205 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8206 _BSD_SOURCE and _SVID_SOURCE.
8207 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8208 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8209 !_SVID_SOURCE]: Likewise.
8210 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8211 (__USE_POSIX_IMPLICITLY): Define.
8212 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8213 (_POSIX_SOURCE): Undefine and redefine.
8214 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8215 (_POSIX_C_SOURCE): Likewise.
8216 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8217 (Feature Test Macros): Update documentation of default features.
8219 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8221 * benchtests/Makefile: Add bench-strtok.
8222 * benchtests/bench-strtok.c: New file: strtok benchtest.
8224 2013-12-19 Allan McRae <allan@archlinux.org>
8226 * manual/install.texi: Suppress menu for plain text output.
8227 * INSTALL: Regenerated.
8229 2013-12-18 Brooks Moses <bmoses@google.com>
8232 * misc/getauxval.c: Include errno.h.
8233 (__getauxval): Set errno to ENOENT if the requested type is not
8235 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8236 don't declare with __attribute_const__.
8237 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8238 * manual/startup.texi: Document that getauxval sets errno.
8240 2013-12-18 Joseph Myers <joseph@codesourcery.com>
8242 * math/auto-libm-test-in: Add tests of jn and yn.
8243 * math/auto-libm-test-out: Regenerated.
8244 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8245 (yn_test_data): Likewise.
8246 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8248 (func_calc_desc): Add mpfr_if_f union field.
8249 (FUNC_mpfr_if_f): New macro.
8250 (test_functions): Add jn and yn.
8251 (calc_generic_results): Assert type of second input for
8252 mpfr_ff_f. Handle mpfr_if_f.
8253 (output_for_one_input_case): Disable all checking for arguments
8254 fitting floating-point types in case of an integer argument.
8255 * sysdeps/i386/fpu/libm-test-ulps: Update.
8256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8259 Don't expect fegetround reference in libm.so.
8261 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8263 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8264 $(config-cflags-nofma).
8266 2013-12-18 Joseph Myers <joseph@codesourcery.com>
8268 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8269 * math/auto-libm-test-out: Regenerated.
8272 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8273 to determine exponent and adjust argument to have exponent of -1.
8274 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8276 * math/auto-libm-test-out: Regenerated.
8277 * sysdeps/i386/fpu/libm-test-ulps: Update.
8278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8280 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
8282 * manual/probes.texi: Remove cases when per-thread arenas are
8285 2013-12-18 Andreas Schwab <schwab@suse.de>
8287 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8288 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8289 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8290 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8291 * sysdeps/i386/i686/multiarch/Makefile: Update.
8292 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8294 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8296 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8297 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8299 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8302 Support TZ transition times < 00:00:00.
8303 This is needed for version-3 tz-format files; it supports time
8304 stamps past 2037 for America/Godthab (the only entry in the tz
8305 database for which this change is relevant).
8306 * manual/time.texi (TZ Variable): Document transition times
8307 from -167:59:59 through -00:00:01.
8308 * time/tzset.c (tz_rule): Time of day is now signed.
8309 (__tzset_parse_tz): Parse negative time of day.
8311 Document TZ transition times >= 25:00:00.
8312 * manual/time.texi (TZ Variable): Document transition times from
8313 25:00:00 through 167:59:59. These are already supported, and this
8314 support will help with version-3 tz-format files.
8316 * manual/time.texi (TZ Variable): Modernize North America example
8317 to reflect current (i.e., 2007-and-later) daylight saving rules.
8319 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8321 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8323 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8324 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8326 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8327 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8328 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8329 * sysdeps/unix/bsd/clock.c: Likewise.
8330 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8331 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8332 * sysdeps/unix/bsd/init-posix.c: Likewise.
8333 * sysdeps/unix/bsd/poll.c: Likewise.
8334 * sysdeps/unix/bsd/ptsname.c: Likewise.
8335 * sysdeps/unix/bsd/seekdir.c: Likewise.
8336 * sysdeps/unix/bsd/setegid.c: Likewise.
8337 * sysdeps/unix/bsd/seteuid.c: Likewise.
8338 * sysdeps/unix/bsd/setgid.c: Likewise.
8339 * sysdeps/unix/bsd/setrgid.c: Likewise.
8340 * sysdeps/unix/bsd/setruid.c: Likewise.
8341 * sysdeps/unix/bsd/setsid.c: Likewise.
8342 * sysdeps/unix/bsd/setuid.c: Likewise.
8343 * sysdeps/unix/bsd/sigaction.c: Likewise.
8344 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8345 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8346 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8347 * sysdeps/unix/bsd/telldir.c: Likewise.
8348 * sysdeps/unix/bsd/times.c: Likewise.
8349 * sysdeps/unix/bsd/usleep.c: Likewise.
8351 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8352 ($(objpfx)libbsd-compat.a): Remove rule.
8354 * include/features.h (__FAVOR_BSD): Do not define.
8355 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8356 features conflicting with POSIX.
8357 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8358 (_BSD_SOURCE): Remove description of not being a subset of other
8359 feature test macros.
8360 * manual/job.texi (getpgrp): Do not document BSD version.
8361 (getpgid): Do not document by reference to BSD getpgrp.
8362 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8363 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8364 * signal/signal.h [__FAVOR_BSD]: Likewise.
8365 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8366 instead of making contents conditional on [__FAVOR_BSD].
8367 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8369 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8373 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8376 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8377 values below 2**-450, not 2**-500.
8378 * math/auto-libm-test-in: Don't allow spurious underflow from
8380 * math/auto-libm-test-out: Regenerated.
8384 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8385 values of ha and hb and sort them after adjusting subnormal
8387 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8389 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8390 values of ea and eb and sort them after adjusting subnormal
8392 * math/auto-libm-test-in: Do not expect some hypot tests of
8393 subnormals to fail. Add more hypot tests.
8394 * math/auto-libm-test-out: Regenerated.
8396 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8399 * sysdeps/sh/s_fma.c: New file.
8400 * sysdeps/sh/s_fmaf.c: New file.
8401 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8403 * sysdeps/sh/Implies: Add sh/soft-fp.
8405 2013-12-16 Roland McGrath <roland@hack.frob.com>
8407 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8408 level of indirection to members `objname', `errstring', `malloced'.
8409 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8410 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8411 it as the __longjmp argument (just pass 1 instead).
8412 (_dl_catch_error): Initialize C with argument pointers and address of
8413 volatile local ERRCODE rather than copying values out of C at return.
8415 2013-12-16 Joseph Myers <joseph@codesourcery.com>
8417 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8418 * math/auto-libm-test-out: Regenerated.
8419 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8420 (hypot_test_data): Likewise.
8421 (pow_test_data): Likewise.
8422 (pow_tonearest_test_data): Likewise.
8423 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8425 (func_calc_desc): Add mpfr_ff_f union field.
8426 (FUNC_mpfr_ff_f): New macro.
8427 (test_functions): Add atan2, hypot and pow.
8428 (special_fill_min): New function.
8429 (special_fill_minus_min): Likewise.
8430 (special_fill_min_subnorm): Likewise.
8431 (special_fill_minus_min_subnorm): Likewise.
8432 (special_real_inputs): Add min, -min, min_subnorm and
8434 (calc_generic_results): Handle mpfr_ff_f.
8435 * sysdeps/i386/fpu/libm-test-ulps: Update.
8436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8438 2013-12-16 Will Newton <will.newton@linaro.org>
8440 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8441 (Aligned Memory Blocks): Add documentation for aligned_alloc
8442 and suggest it as an alternative to posix_memalign.
8443 (Hooks for Malloc): Document __memalign_hook is also called
8444 for aligned_alloc. (Summary of Malloc): Add summary for
8445 aligned alloc. Document __memalign_hook is also called
8448 2013-12-16 Will Newton <will.newton@linaro.org>
8450 * manual/memory.texi (Malloc Examples): Clarify default
8451 alignment documentation. Suggest posix_memalign rather
8452 than memalign or valloc.
8453 (Aligned Memory Blocks): Remove suggestion to use memalign
8454 or valloc. Remove obsolete comment about BSD.
8455 Document memalign errno values and mark the function obsolete.
8456 Document posix_memalign returned error codes. Mark valloc
8457 as obsolete. (Hooks for Malloc): __memalign_hook is also
8458 called for posix_memalign and valloc.
8459 (Summary of Malloc): Add posix_memalign to function summary.
8460 __memalign_hook is also called for posix_memalign and valloc.
8462 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8464 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8468 (sloww): Use mynumber union. Expand ternary operator into
8470 (cslow): use mynumber union.
8472 2013-12-16 Allan McRae <allan@archlinux.org>
8474 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8475 * configure: Regenerated.
8477 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8480 * configure.ac: Added --enable-maintainer-mode. Check for
8481 autoconf when enabled.
8482 * configure: Regenerated.
8484 * nscd/nscd.service: New file.
8485 * nscd/nscd.tmpfiles: New file.
8487 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
8490 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8491 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8492 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8493 (strstr): Add __strstr_sse2_unaligned ifunc.
8494 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8495 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8496 (strcasestr): Remove __strcasestr_sse42 ifunc.
8497 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8501 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8503 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8504 * sysdeps/sh/bits/fenv.h: ... here.
8505 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8507 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8509 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8512 hypotf multiarch implementations.
8513 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8514 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8515 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8516 multiarch hypot for PPC64.
8517 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8518 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8519 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8520 multiarch hypotf for PPC64.
8522 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8523 modff multiarch implementations.
8524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8527 multiarch modf for PPC64.
8528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8531 multiarch modff for PPC64.
8533 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8534 and logl multiarch implementations.
8535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8538 multiarch logb for PPC64.
8539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8542 multiarch logb for PPC64.
8543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8546 multiarch logb for PPC64.
8548 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8549 isinff multiarch implementation.
8550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8554 multiarch isinf for PPC64.
8555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8558 multiarch isinff for PPC64.
8560 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8561 finitef multiarch implementation.
8562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8566 multiarch finite for PPC64.
8567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8570 multiarch finitef for PPC64.
8572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8573 lrint multiarch implementation.
8574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8578 multiarch llrint for PPC64.
8579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8580 multiarch lrint for PPC64.
8582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8583 copysignf multiarch implementation.
8584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8589 multiarch copysign for PPC64.
8590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8591 multiarch copysignf for PPC64.
8593 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8594 multiarch implementation.
8595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8603 multiarch llround for PPC64.
8604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8605 multiarch trunc for PPC64.
8606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8607 multiarch truncf for PPC64.
8609 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8610 multiarch implementation.
8611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8619 multiarch llround for PPC64.
8620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8621 multiarch round for PPC64.
8622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8623 multiarch roundf for PPC64.
8625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8626 multiarch implementation.
8627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8635 multiarch llround for PPC64.
8636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8637 multiarch floor for PPC64.
8638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8639 multiarch floorf for PPC64.
8641 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8642 multiarch implementation.
8643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8651 multiarch llround for PPC64.
8652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8653 multiarch ceil for PPC64.
8654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8655 multiarch ceilf for PPC64.
8657 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8658 multiarch implementation.
8659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8666 multiarch llround for PPC64.
8667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8668 multiarch lround for PPC64.
8670 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8671 multiarch implementation.
8672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8679 multiarch isnan for PPC64.
8680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8681 multiarch isnanf for PPC64.
8683 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8684 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8685 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8686 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8687 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8690 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8691 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8692 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8693 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8696 multiarch implementations.
8697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8698 (__libc_ifunc_impl_list): Likewise.
8699 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8700 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8701 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8702 multiarch stpcpy for PPC64.
8704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8705 multiarch implementations.
8706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8707 (__libc_ifunc_impl_list): Likewise.
8708 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8709 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8710 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8711 multiarch strcpy for PPC64.
8713 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8714 redefine function name.
8715 (_wordcopy_fwd_dest_aligned): Likewise.
8716 (_wordcopy_bwd_aligned): Likewise.
8717 (_wordcopy_bwd_dest_aligned): Likewise.
8718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8719 multiarch implementations.
8720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8721 (__libc_ifunc_impl_list): Likewise.
8722 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8723 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8724 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8725 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8726 multiarch wcscpy for PPC64.
8728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8729 multiarch implementations.
8730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8731 (__libc_ifunc_impl_list): Likewise.
8732 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8733 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8734 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8735 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8736 multiarch wcscpy for PPC64.
8738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8739 multiarch implementations.
8740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8741 (__libc_ifunc_impl_list): Likewise.
8742 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8743 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8744 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8745 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8746 multiarch wcsrchr for PPC64.
8748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8749 multiarch implementations.
8750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8751 (__libc_ifunc_impl_list): Likewise.
8752 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8753 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8754 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8755 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8756 multiarch wcschr for PPC64.
8758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8759 multiarch implementations.
8760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8761 (__libc_ifunc_impl_list): Likewise.
8762 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8763 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8764 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8765 multiarch strchrnul for PPC64.
8767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8770 (__libc_ifunc_impl_list): Likewise.
8771 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8772 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8773 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8774 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8780 (__libc_ifunc_impl_list): Likewise.
8781 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8782 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8783 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8784 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8788 multiarch implementations.
8789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8790 (__libc_ifunc_impl_list): Likewise.
8791 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8792 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8793 strncasecmp for PPC64.
8794 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8795 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8796 multiarch strncasecmp_l for PPC64.
8798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8799 multiarch implementations.
8800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8801 (__libc_ifunc_impl_list): Likewise.
8802 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8803 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8804 multiarch strcasecmp for PPC64.
8805 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8807 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8808 multiarch strcasecmp_l for PPC64.
8810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8813 (__libc_ifunc_impl_list): Likewise.
8814 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8815 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8816 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8822 (__libc_ifunc_impl_list): Likewise.
8823 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8824 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8825 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8831 (__libc_ifunc_impl_list): Likewise.
8832 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8833 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8834 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8835 rawmemrchr for PPC64.
8837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8840 (__libc_ifunc_impl_list): Likewise.
8841 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8842 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8843 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8848 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8849 (__libc_ifunc_impl_list): Likewise.
8850 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8851 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8852 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8858 (__libc_ifunc_impl_list): Likewise.
8859 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8860 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8861 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8864 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8865 avoid cretion of __bzero symbol.
8866 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8868 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8870 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8873 multiarch implementations.
8874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8875 (__libc_ifunc_impl_list): Likewise.
8876 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8877 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8878 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8879 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8881 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8882 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8883 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8884 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8885 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8887 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8889 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8893 (__libc_ifunc_impl_list): Likewise.
8894 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8895 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8896 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8897 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8901 multiarch for POWER/PPC64.
8902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8903 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8904 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8905 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8906 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8907 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8908 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8909 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8910 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8913 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8914 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8915 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8916 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8917 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8918 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8919 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8920 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8921 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8922 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8923 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8924 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8925 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8926 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8927 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8936 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8938 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8940 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8942 * benchtests/Makefile (bench): Add exp2 and log2.
8943 (LDLIBS-bench-exp2): Add -lm.
8944 (LDLIBS-bench-log2): Likewise.
8945 * benchtests/exp2-inputs: New inputs file.
8946 * benchtests/log2-inputs: New inputs file.
8947 * benchtests/log-inputs: Add new inputs.
8948 * benchtests/tan-inputs: Likewise.
8950 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8952 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8954 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8955 (csloww2): ... from here.
8957 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8958 instead of structures.
8959 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8960 (POLYNOMIAL): Likewise.
8961 (TAYLOR_SLOW): Likewise.
8969 (bsloww1): Likewise.
8970 (bsloww2): Likewise.
8973 (csloww1): Likewise.
8974 (csloww2): Likewise.
8976 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8978 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8979 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8980 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8981 * malloc/hooks.c (realloc_check): Likewise.
8983 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8984 * malloc/arena.c: Remove PER_THREAD conditional.
8985 [!PER_THREAD]: Remove code.
8986 (ptmalloc_unlock_all2): Likewise.
8987 (ptmalloc_init): Likewise.
8988 (_int_new_arena): Likewise.
8989 (arena_get2): Likewise.
8990 * malloc/hooks.c (__malloc_get_state): Likewise.
8991 (__malloc_set_state): Likewise.
8992 * malloc/malloc.c: Likewise.
8993 (struct malloc_state): Likewise.
8994 (struct malloc_par): Likewise.
8995 (__libc_realloc): Likewise.
8996 (__libc_mallopt): Likewise.
8998 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9000 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9002 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
9004 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9005 macro to a function. Check for zero perturb_byte.
9006 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9008 * malloc/malloc.c: (force_reg): Remove.
9009 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9010 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9011 force_reg by atomic_forced_read.
9012 * malloc/arena.c (ptmalloc_init): Likewise.
9013 * malloc/hooks.c (top_check): Likewise.
9015 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9019 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9023 2013-12-08 Joseph Myers <joseph@codesourcery.com>
9025 * math/auto-libm-test-in: Add tests of lgamma.
9026 * math/auto-libm-test-out: Regenerated.
9027 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9028 (M_LOG_2_SQRT_PIl): Likewise.
9029 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9030 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9032 (func_calc_desc): Add mpfr_f_f1 union field.
9041 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9042 (test_functions): Add lgamma.
9043 (calc_generic_results): Handle mpfr_f_f1.
9044 * sysdeps/i386/fpu/libm-test-ulps: Update.
9045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9047 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9049 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9050 __mpn_add_n for PowerPC64/POWER7.
9051 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9052 __mpn_sub_n for PowerPC64/POWER7.
9054 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9055 __mpn_addmul_1 for PowerPC64.
9056 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9057 __mpn_submul_1 for PowerPC64.
9058 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9060 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9063 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9066 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9068 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9070 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9072 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9073 add multiarch folders.
9074 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9075 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9076 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9077 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9078 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9079 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9080 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9081 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9082 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9083 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9084 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9093 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9099 multiarch __ieee754_hypot for PowerPC32.
9100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9105 multiarch __ieee754_hypotf for PowerPC32.
9107 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9108 long_double_symbol only if __logbl is defined.
9109 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9110 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9111 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9112 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9114 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9115 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9116 path for implementation.
9117 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9118 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9120 logb, and logbl multiarch implementations for PowerPC32.
9121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9126 multiarch logb for PowerPC32.
9127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9132 multiarch logbf for PowerPC32.
9133 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9137 multiarch logbl implementation for PowerPC32.
9139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9140 and modff multiarch implementations.
9141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9146 multiarch modf for PowerPC32.
9147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9152 multiarch modff for PowerPC32.
9154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9155 and lrintf multiarch implementations.
9156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9161 multiarch lrint for PowerPC32.
9162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9163 file: multiarch lrintf for PowerPC32.
9165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9166 and lroundf multiarch implementations.
9167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9174 multiarch lround for PowerPC32.
9175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9176 file: multiarch lroundf for PowerPC32.
9178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9179 copysign and copysignf multiarch implementations.
9180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9185 file: multiarch copysign for PowerPC32.
9186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9187 file: multiarch copysignf for PowerPC32.
9189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9190 and truncf multiarch implementations.
9191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9196 multiarch trunc for PowerPC32.
9197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9202 multiarch truncf for PowerPC32.
9204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9205 and roundf multiarch implementations.
9206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9211 multiarch round for PowerPC32.
9212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9217 multiarch roundf for PowerPC32.
9219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9220 and floorf multiarch implementations.
9221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9226 multiarch floor for PowerPC32.
9227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9232 multiarch floorf for PowerPC32.
9234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9235 and ceilf multiarch implementations.
9236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9241 multiarch ceil for PowerPC32.
9242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9247 multiarch ceilf for PowerPC32.
9249 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9251 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9254 and finitef multiarch implementations.
9255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9260 multiarch finite for PowerPC32.
9261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9264 file: multiarch finitef for PowerPC32.
9266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9267 and isinff multiarch implementations.
9268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9273 multiarch isinf for PowerPC32.
9274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9277 multiarch isinff for PowerPC32.
9279 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9280 alias when __isnan is defined.
9281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9282 and isnanf multiarch implementations.
9283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9292 multiarch isnan for PowerPC32.
9293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9298 multiarch isnanf for PowerPC32.
9300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9301 and sqrtf multiarch implementations.
9302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9307 multiarch sqrt for PowerPC32.
9308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9313 multiarch sqrtf for PowerPC32.
9315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9316 and llroundf multiarch implementations.
9317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9324 file: multiarch llround for PowerPC32.
9325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9326 file: multiarch llroundf for PowerPC32.
9328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9329 multiarch PowerPC32 fpu implementations.
9330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9335 multiarch llrint for PowerPC32.
9336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9345 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9347 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9349 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9351 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9352 multiarch wordcopy for PPC32.
9353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9356 (__libc_ifunc_impl_list): Likewise.
9357 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9358 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9359 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9360 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9361 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9362 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9364 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9371 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9372 multiarch wcscpy for PPC32.
9373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9375 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9376 (__libc_ifunc_impl_list): Likewise.
9377 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9378 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9379 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9380 sysdeps/powerpc/power6/wcscpy.c.
9382 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9383 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9385 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9387 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9389 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9390 multiarch wcsrchr for PPC32.
9391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9394 (__libc_ifunc_impl_list): Likewise.
9395 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9396 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9397 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9398 sysdeps/powerpc/power6/wcsrchr.c.
9400 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9402 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9404 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9405 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9406 multiarch wcschr for PPc32.
9407 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9409 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9410 (__libc_ifunc_impl_list): Likewise.
9411 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9412 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9413 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9414 sysdeps/powerpc/power6/wcschr.c.
9416 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9417 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9419 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9420 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9421 file: multiarch strchr for PPC32.
9422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9425 (__libc_ifunc_impl_list): Likewise.
9427 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9429 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9431 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9433 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9434 multiarch strchrnul for PPC32.
9435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9438 (__libc_ifunc_impl_list): Likewise.
9440 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9442 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9443 multiarch strncasecmp for PPC32.
9444 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9446 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9447 multiarch strncasecmp_l for PPC32.
9448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9449 strncasecmp multiarch objects.
9450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9451 (__libc_ifunc_impl_list): Likewise.
9453 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9455 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9456 multiarch strncasecmp for PPC32.
9457 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9459 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9460 multiarch strcasecmp_l for PPC32.
9461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9463 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9464 (__libc_ifunc_impl_list): Likewise.
9466 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9468 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9470 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9471 multiarch strncmp for PPC32.
9472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9475 (__libc_ifunc_impl_list): Likewise.
9477 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9478 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9480 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9481 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9482 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9484 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9485 (__libc_ifunc_impl_list): Likewise.
9487 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9489 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9491 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9495 (__libc_ifunc_impl_list): Likewise.
9497 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9499 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9501 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9502 multiarch rawmemchr for PPC32.
9503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9506 (__libc_ifunc_impl_list): Likewise.
9508 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9510 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9512 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9513 file: memrchr multiarch for PPC32.
9514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9517 (__libc_ifunc_impl_list): Likewise.
9519 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9520 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9522 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9523 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9524 multiarch memchr for PPC32.
9525 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9527 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9528 (__libc_ifunc_impl_list): Likewise.
9530 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9531 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9533 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9535 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9536 file: multiarch mempcpy for PPC32.
9537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9540 (__libc_ifunc_impl_list): Likewise.
9542 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9543 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9544 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9545 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9546 multiarch bzero for PPC32.
9547 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9549 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9551 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9552 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9553 file: multiarch memset for PPC32.
9554 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9555 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9556 memset multiarch objects.
9557 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9558 (__libc_ifunc_impl_list): Likewise.
9560 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9562 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9563 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9565 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9566 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9568 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9569 (__libc_ifunc_impl_list): Likewise.
9571 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9572 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9573 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9575 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9577 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9579 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9580 multiarch memcpy for PPC32.
9581 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9583 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9584 (__libc_ifunc_impl_list): Likewise.
9586 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9587 support multiarch for POWER/PPC32.
9588 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9590 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9592 Implies file to make multiarch folder appers before the fpu and
9593 default folder for power4 configuration.
9595 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9597 * scripts/bench.pl: Append volatile keyword to type.
9599 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9601 * sysdeps/sh/sotruss-lib.c: New file.
9602 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9604 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9608 2013-12-05 Joseph Myers <joseph@codesourcery.com>
9611 * math/w_tgamma.c: Include <errno.h>.
9612 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9613 * math/w_tgammaf.c: Include <errno.h>.
9614 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9615 * math/w_tgammal.c: Include <errno.h>.
9616 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9617 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9618 underflow. Add more tgamma tests.
9619 * math/auto-libm-test-out: Regenerated.
9620 * sysdeps/i386/fpu/libm-test-ulps: Update.
9621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9623 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9624 sin, sinh, tan, tanh, tgamma, y0 and y1.
9625 * math/auto-libm-test-out: Regenerated.
9626 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9627 (TEST_COND_x86): Likewise.
9628 (M_E2l): Remove macro.
9630 (M_2_SQRT_PIl): Likewise.
9631 (M_SQRT_PIl): Likewise.
9632 (M_1_DIV_El): Likewise.
9633 (log_test_data): Use AUTO_TESTS_f_f.
9634 (log10_test_data): Likewise.
9635 (log1p_test_data): Likewise.
9636 (log2_test_data): Likewise.
9637 (sin_test_data): Likewise.
9638 (sin_tonearest_test_data): Likewise.
9639 (sin_towardzero_test_data): Likewise.
9640 (sin_downward_test_data): Likewise.
9641 (sin_upward_test_data): Likewise.
9642 (sinh_test_data): Likewise.
9643 (sinh_tonearest_test_data): Likewise.
9644 (sinh_towardzero_test_data): Likewise.
9645 (sinh_downward_test_data): Likewise.
9646 (sinh_upward_test_data): Likewise.
9647 (tan_test_data): Likewise.
9648 (tan_tonearest_test_data): Likewise.
9649 (tan_towardzero_test_data): Likewise.
9650 (tan_downward_test_data): Likewise.
9651 (tan_upward_test_data): Likewise.
9652 (tanh_test_data): Likewise.
9653 (tgamma_test_data): Likewise.
9654 (y0_test_data): Likewise.
9655 (y1_test_data): Likewise.
9656 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9657 (special_real_inputs): Add pi/4.
9658 * sysdeps/i386/fpu/libm-test-ulps: Update.
9659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9661 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9663 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9664 "longjmp_target" static probes.
9665 (__longjmp): Rename to __longjmp_symbol.
9666 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9667 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9668 on which longjmp to generate.
9669 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9670 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9672 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9673 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9674 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9675 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9676 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9677 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9679 __longjmp_symbol based on which __longjmp to generate.
9680 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9682 (setjmp): Rename to setjmp_symbol.
9683 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9684 (_setjmp): Rename to _setjmp_symbol.
9685 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9686 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9687 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9688 which setjmp to generate.
9689 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9690 "longjmp_target" static probes.
9692 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9694 * benchtests/README: Add note about output arguments.
9695 * benchtests/bench-sincos.c: Remove file.
9696 * benchtests/sincos-inputs: New file.
9697 * scripts/bench.pl: Identify output arguments and define
9698 static variables for them.
9700 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9703 * Makefile (INSTALL): Add install-plain.texi as the primary
9705 * manual/install-plain.texi: New file.
9706 * manual/install.texi: Include node directive only for
9707 non-plaintext output.
9709 2013-12-04 Joseph Myers <joseph@codesourcery.com>
9711 * stdlib/longlong.h: Update from GCC.
9715 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9716 * math/w_j0f.c (y0f): Likewise.
9717 * math/w_j0l.c (__y0l): Likewise.
9718 * math/w_j1.c (y1): Likewise.
9719 * math/w_j1f.c (y1f): Likewise.
9720 * math/w_j1l.c (__y1l): Likewise
9721 * math/w_jn.c (yn): Likewise.
9722 * math/w_jnf.c (ynf): Likewise.
9723 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9724 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9725 value for Bessel function domain errors outside _SVID_ mode.
9726 Adjust sign of return value for yn (negative integer, 0).
9727 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9728 by zero in return for negative x and set sign appropriately for
9730 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9731 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9732 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9733 expectations in error cases.
9734 (y1_test_data): Likewise.
9735 (yn_test_data): Likewise.
9736 * sysdeps/i386/fpu/libm-test-ulps: Update.
9737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9739 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9741 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9742 "64" to "64-v1". Add "64-v2".
9743 (abi-64-options): Rename to ...
9744 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9745 (abi-64-condition): Rename to ...
9746 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9747 (abi-64-ld-soname): Rename to ...
9748 (abi-64-v1-ld-soname): ... this.
9749 (abi-64-v2-options): Define.
9750 (abi-64-v2-condition): Likewise.
9751 (abi-64-v2-ld-soname): Likewise.
9752 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9753 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9758 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9759 Alan Modra <amodra@gmail.com>
9761 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9762 New versions for use with the ELFv2 ABI.
9763 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9764 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9766 (struct La_ppc64v2_retval): Likewise.
9767 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9768 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9769 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9770 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9771 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9772 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9773 Do not save or restore CR.
9774 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9775 (_dl_profile_resolve): Do no save or restore CR. Support extended
9776 return values for ELFv2 ABI. Fix location of FPR return registers.
9777 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9778 updated values for _CALL_ELF == 2.
9779 (La_regs, La_retval, int_retval): Likewise.
9781 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9783 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9784 (FRAME_MIN_SIZE_PARM): Likewise.
9785 (FRAME_BACKCHAIN): Likewise.
9786 (FRAME_CR_SAVE): Likewise.
9787 (FRAME_LR_SAVE): Likewise.
9788 (FRAME_TOC_SAVE): Likewise.
9789 (FRAME_PARM_SAVE): Likewise.
9790 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9791 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9792 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9793 (call_mcount_parm_offset): New macro.
9794 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9795 (PROF): Use symbolic stack frame offsets.
9796 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9797 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9798 Redefine in terms of FRAME_MIN_SIZE.
9799 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9800 (_dl_profile_resolve): Likewise. Update comment.
9801 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9802 symbols stack frame offsets.
9803 (__sigsetjmp): Likewise.
9804 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9805 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9806 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9807 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9810 (FRAME_BACKCHAIN): Remove.
9811 (FRAME_CR_SAVE): Likewise.
9812 (FRAME_LR_SAVE): Likewise.
9813 (FRAME_COMPILER_DW): Likewise.
9814 (FRAME_LINKER_DW): Likewise.
9815 (FRAME_TOC_SAVE): Likewise.
9816 (FRAME_PARM_SAVE): Likewise.
9817 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9818 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9819 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9821 (CHECK_SP): Use symbolic stack frame offsets.
9822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9823 zone" instead of caller's parameter save area for temp storage.
9824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9825 Likewise. Also, use symbolic stack frame offsets.
9826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9827 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9828 our own stack frame instead of the caller's.
9829 (__socket): Use symbolic stack frame offsets.
9831 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9832 Alan Modra <amodra@gmail.com>
9834 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9836 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9837 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9838 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9840 (elf_machine_fixup_plt): Call it.
9841 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9843 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9844 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9845 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9846 r2 before calling target.
9848 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9849 Alan Modra <amodra@gmail.com>
9851 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9852 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9853 versions of macros to support ELFv2 ABI.
9854 (LOCALENTRY): New macro.
9855 (ENTRY, EALIGN): Use it.
9856 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9857 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9858 fall through into ENTRY entry point.
9859 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9860 Only define if _CALL_ELF != 2.
9862 (elf_machine_matches_host): Verify ABI version matches.
9863 (RTLD_START): Use LOCALENTRY.
9864 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9865 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9866 (PLT_ENTRY_WORDS): New macro.
9867 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9868 (elf_machine_runtime_setup): Support ELFv2 ABI.
9869 (elf_machine_fixup_plt): Likewise.
9870 (elf_machine_plt_conflict): Likewise.
9871 (resolve_ifunc): Likewise.
9872 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9873 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9876 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9878 (makecontext): Support ELFv2 ABI.
9879 * elf/elf.h (EF_PPC64_ABI): Define.
9881 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9883 * sysdeps/powerpc/powerpc64/sysdep.h
9884 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9885 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9886 (ENTRY) [ASSEMBLER]: ... but instead here ...
9887 (EALIGN) [ASSEMBLER]: ... and here.
9888 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9889 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9890 (ENTRY_2) [!ASSEMBLER]: Use it.
9891 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9892 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9893 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9894 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9895 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9897 Use PPC64_LOAD_FUNCPTR.
9899 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9901 2013-12-04 Alan Modra <amodra@gmail.com>
9903 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9904 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9905 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9906 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9908 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9909 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9910 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9911 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9912 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9913 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9915 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9918 (__makecontext): Fix incorrect CFI when backtracing out of
9919 context created via makecontext.
9920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9921 (__setcontext): Fix incorrect CFI during switch to new context.
9922 (__novec_setcontext): Likewise.
9924 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9927 * time/strptime_l.c (__strptime_internal): Allow modifiers
9929 * time/tst-strptime.c (day_tests): Add testcase.
9931 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9933 * scripts/bench.pl: Skip over blank lines.
9935 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9938 * manual/time.texi (Calendar Time): Clarify what timezone functions
9941 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9945 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9947 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9949 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9950 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9951 * debug/memset_chk.c (__memset_chk): Likewise.
9952 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9953 * debug/strncpy_chk.c: Likewise.
9955 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9959 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9960 (__ieee754_exp): For possibly underflowing results, check size of
9961 result and force underflow exception if required.
9962 * math/auto-libm-test-in: Add more tests of exp.
9963 * math/auto-libm-test-out: Regenerated.
9964 * sysdeps/i386/fpu/libm-test-ulps: Update.
9965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9968 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9969 * math/w_exp2f.c (__exp2f): Likewise.
9970 * math/w_exp2l.c (__exp2l): Likewise.
9971 * math/auto-libm-test-in: Do not allow missing errno on exp2
9973 * math/auto-libm-test-out: Regenerated.
9975 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9978 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9979 handle filename validation.
9980 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9983 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9986 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9987 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9988 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9990 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9991 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9992 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9993 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9994 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9995 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9996 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9997 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9998 Add more erfc tests.
9999 * math/auto-libm-test-out: Regenerated.
10000 * sysdeps/i386/fpu/libm-test-ulps: Update.
10001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10003 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10004 exp2, expm1, j0 and j1.
10005 * math/auto-libm-test-out: Regenerated.
10006 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10007 (erfc_test_data): Likewise.
10008 (exp_test_data): Likewise.
10009 (exp_tonearest_test_data): Likewise.
10010 (exp_towardzero_test_data): Likewise.
10011 (exp_downward_test_data): Likewise.
10012 (exp_upward_test_data): Likewise.
10013 (exp10_test_data): Likewise.
10014 (exp2_test_data): Likewise.
10015 (expm1_test_data): Likewise.
10016 (j0_test_data): Likewise.
10017 (j1_test_data): Likewise.
10018 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10019 (input_flag_type): Add flag_xfail_rounding.
10020 (input_flags): Add xfail-rounding.
10021 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10022 (output_for_one_input_case): Handle flag_xfail_rounding.
10023 * sysdeps/i386/fpu/libm-test-ulps: Update.
10024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10026 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10029 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10032 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10035 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10036 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10037 (STAP_PROBE0): New macro.
10038 (STAP_PROBE1): Likewise.
10039 (STAP_PROBE2): Likewise.
10040 (STAP_PROBE3): Likewise.
10041 (STAP_PROBE4): Likewise.
10043 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
10045 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10047 2013-12-02 Steve Ellcey <sellcey@mips.com>
10049 * benchtests/Makefile (bench): Add sqrt.
10050 (LDLIBS-bench-sqrt): New.
10051 * benchtests/sqrt-input: New.
10053 2013-12-02 Pavel Simerda <psimerda@redhat.com>
10055 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10056 (GAIH_EAI): Likewise.
10057 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10058 (gaih_inet): Likewise.
10059 (getaddrinfo): Don't use GAIH_EAI.
10061 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10062 (struct gaih): Remove definition.
10064 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10066 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10067 Use HERRNOP directly.
10069 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10073 2013-11-30 Joseph Myers <joseph@codesourcery.com>
10075 * math/gen-auto-libm-tests.c (test_functions): Add more
10076 single-argument functions.
10077 (special_fill_pi_2): New function.
10078 (special_fill_minus_pi_2): Likewise.
10079 (special_fill_pi_6): Likewise.
10080 (special_fill_minus_pi_6): Likewise.
10081 (special_fill_pi_3): Likewise.
10082 (special_fill_2pi_3): Likewise.
10083 (special_fill_e): Likewise.
10084 (special_fill_1_e): Likewise.
10085 (special_fill_e_minus_1): Likewise.
10086 (special_real_inputs): Add more special inputs.
10087 (output_for_one_input_case): Do not require ERANGE on underflow to
10088 zero if round-to-nearest result does not underflow to zero, unless
10089 exact results required.
10090 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10091 atan, atanh, cbrt, cos and cosh.
10092 * math/auto-libm-test-out: Regenerated.
10093 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10094 (acos_tonearest_test_data): Likewise.
10095 (acos_towardzero_test_data): Likewise.
10096 (acos_downward_test_data): Likewise.
10097 (acos_upward_test_data): Likewise.
10098 (acosh_test_data): Likewise.
10099 (asin_test_data): Likewise.
10100 (asin_tonearest_test_data): Likewise.
10101 (asin_towardzero_test_data): Likewise.
10102 (asin_upward_test_data): Likewise.
10103 (asinh_test_data): Likewise.
10104 (atan_test_data): Likewise.
10105 (atanh_test_data): Likewise.
10106 (cbrt_test_data): Likewise.
10107 (cos_test_data): Likewise.
10108 (cos_tonearest_test_data): Likewise.
10109 (cos_towardzero_test_data): Likewise.
10110 (cos_downward_test_data): Likewise.
10111 (cos_upward_test_data): Likewise.
10112 (cosh_test_data): Likewise.
10113 (cosh_tonearest_test_data): Likewise.
10114 (cosh_towardzero_test_data): Likewise.
10115 (cosh_downward_test_data): Likewise.
10116 (cosh_upward_test_data): Likewise.
10117 * sysdeps/i386/fpu/libm-test-ulps: Update.
10118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10120 2013-11-29 Joseph Myers <joseph@codesourcery.com>
10123 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10124 * math/w_exp10f.c (__exp10f): Likewise.
10125 * math/w_exp10l.c (__exp10l): Likewise.
10126 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10127 errno settings in existing tests.
10130 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10131 precision control set to double precision.
10132 * sysdeps/i386/fpu/w_sqrt.c: New file.
10133 * math/auto-libm-test-in: Add more tests.
10134 * math/auto-libm-test-out: Update.
10136 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10137 (sqrt_test_tonearest): New function.
10138 (sqrt_towardzero_test_data): New variable.
10139 (sqrt_test_towardzero): New function.
10140 (sqrt_downward_test_data): New variable.
10141 (sqrt_test_downward): New function.
10142 (sqrt_upward_test_data): New variable.
10143 (sqrt_test_upward): New function.
10144 (main): Call the new functions.
10146 * math/gen-auto-libm-tests.c: New file.
10147 * math/auto-libm-test-in: Likewise.
10148 * math/auto-libm-test-out: New generated file.
10149 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10151 (%beautify): Add generated representations of zero.
10152 (top level): Set $auto_input and call parse_auto_input.
10153 (beautify): Remove trailing "f" from hex float constants.
10154 (parse_args): Handle XFAIL_TEST.
10155 (convert_condition): New function.
10156 (or_value): Likewise.
10157 (or_cond_value): Likewise.
10158 (generate_testfile): Handle AUTO_TESTS_* lines.
10159 (parse_auto_input): New function.
10160 * math/libm-test.inc (XFAIL_TEST): New macro.
10161 (ERRNO_UNCHANGED): Update value.
10162 (ERRNO_EDOM): Likewise.
10163 (ERRNO_ERANGE): Likewise.
10164 (IGNORE_RESULT): Likewise.
10165 (TEST_COND_flt_32): New macro.
10166 (TEST_COND_dbl_64): Likewise.
10167 (TEST_COND_ldbl_96_intel): Likewise.
10168 (TEST_COND_ldbl_96_m68k): Likewise.
10169 (TEST_COND_ldbl_128): Likewise.
10170 (TEST_COND_ldbl_128ibm): Likewise.
10171 (TEST_COND_long32): Likewise.
10172 (TEST_COND_long64): Likewise.
10173 (TEST_COND_before_rounding): Likewise.
10174 (TEST_COND_after_rounding): Likewise.
10175 (enable_test): Handle XFAIL_TEST flag.
10176 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10177 with finite results.
10178 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10179 auto-libm-test-out.
10181 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10182 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10185 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10186 __tls_get_addr_internal instead of __tls_get_offset in order to
10187 avoid GOT pointer dependency. Make rtld export
10188 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10189 __tls_get_addr since we are a __tls_get_offset platform.
10190 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10191 GOT pointer being set up before.
10192 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10194 2013-11-28 Joseph Myers <joseph@codesourcery.com>
10196 * manual/math.texi (Errors in Math Functions): Document accuracy
10200 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10201 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10202 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10203 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10204 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10205 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10206 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10207 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10208 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10209 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10210 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10211 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10213 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10214 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10215 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10217 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10218 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10219 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10220 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10221 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10223 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10225 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10227 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10228 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10229 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10230 atomic-feupdateenv and flt-rounds.
10231 * sysdeps/powerpc/nofpu/Versions (libc): Add
10232 __atomic_feholdexcept, __atomic_feclearexcept,
10233 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10234 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10235 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10236 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10237 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10242 * manual/arith.texi (FP Exceptions): Document that exceptions may
10243 not be raised when matherr is used.
10244 (Math Error Reporting): Document overflow in directed rounding
10245 modes. Document that errno may not be set when finite values are
10246 returned on overflow. Document intent to set errno on underflow
10247 only for underflow to zero.
10250 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10251 round-to-nearest then adjust result for other rounding modes.
10252 * include/fenv.h (fegetround): Use libm_hidden_proto.
10253 * math/fegetround.c (fegetround): Use libm_hidden_def.
10254 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10255 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10256 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10257 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10259 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10260 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10261 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10262 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10264 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10267 * nss/Versions (libnss_files): Add
10268 _nss_files_gethostbyname3_r.
10269 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10271 (HOST_DB_LOOKUP): Remove macro.
10272 (_nss_files_gethostbyname_r): Implement function without the
10273 HOST_DB_LOOKUP macro.
10274 (_nss_files_gethostbyname2_r): Likewise.
10276 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
10278 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10280 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
10282 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10283 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10286 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10288 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10289 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10290 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10291 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10292 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10293 __fe_nomask_env_priv and attribute_hidden.
10294 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10295 (libc_feupdateenv_test_ppc): Likewise.
10296 (libc_feresetround_ppc): Likewise.
10297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10298 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10299 compat_symbol macro.
10300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10301 (__fe_nomask_env): Likewise.
10302 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10304 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10306 * string/Makefile: Remove ifunc tests.
10307 * string/test-string.h: Define TEST_IFUNC.
10308 * string/test-bcopy-ifunc.c: Remove.
10309 * string/test-bzero-ifunc.c: Likewise.
10310 * string/test-memccpy-ifunc.c: Likewise.
10311 * string/test-memchr-ifunc.c: Likewise.
10312 * string/test-memcmp-ifunc.c: Likewise.
10313 * string/test-memcpy-ifunc.c: Likewise.
10314 * string/test-memmem-ifunc.c: Likewise.
10315 * string/test-memmove-ifunc.c: Likewise.
10316 * string/test-mempcpy-ifunc.c: Likewise.
10317 * string/test-memrchr-ifunc.c: Likewise.
10318 * string/test-memset-ifunc.c: Likewise.
10319 * string/test-rawmemchr-ifunc.c: Likewise.
10320 * string/test-stpcpy-ifunc.c: Likewise.
10321 * string/test-stpncpy-ifunc.c: Likewise.
10322 * string/test-strcasecmp-ifunc.c: Likewise.
10323 * string/test-strcasestr-ifunc.c: Likewise.
10324 * string/test-strcat-ifunc.c: Likewise.
10325 * string/test-strchr-ifunc.c: Likewise.
10326 * string/test-strchrnul-ifunc.c: Likewise.
10327 * string/test-strcmp-ifunc.c: Likewise.
10328 * string/test-strcpy-ifunc.c: Likewise.
10329 * string/test-strcspn-ifunc.c: Likewise.
10330 * string/test-strlen-ifunc.c: Likewise.
10331 * string/test-strncasecmp-ifunc.c: Likewise.
10332 * string/test-strncat-ifunc.c: Likewise.
10333 * string/test-strncmp-ifunc.c: Likewise.
10334 * string/test-strncpy-ifunc.c: Likewise.
10335 * string/test-strnlen-ifunc.c: Likewise.
10336 * string/test-strpbrk-ifunc.c: Likewise.
10337 * string/test-strrchr-ifunc.c: Likewise.
10338 * string/test-strspn-ifunc.c: Likewise.
10339 * string/test-strstr-ifunc.c: Likewise.
10341 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10343 * benchtests/Makefile: Remove ifunc tests.
10344 * benchtests/bench-string.h: Define TEST_IFUNC.
10345 * benchtests/bench-bcopy-ifunc.c: Remove.
10346 * benchtests/bench-bzero-ifunc.c: Likewise.
10347 * benchtests/bench-memccpy-ifunc.c: Likewise.
10348 * benchtests/bench-memchr-ifunc.c: Likewise.
10349 * benchtests/bench-memcmp-ifunc.c: Likewise.
10350 * benchtests/bench-memcpy-ifunc.c: Likewise.
10351 * benchtests/bench-memmem-ifunc.c: Likewise.
10352 * benchtests/bench-memmove-ifunc.c: Likewise.
10353 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10354 * benchtests/bench-memrchr-ifunc.c: Likewise.
10355 * benchtests/bench-memset-ifunc.c: Likewise.
10356 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10357 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10358 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10359 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10360 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10361 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10362 * benchtests/bench-strcat-ifunc.c: Likewise.
10363 * benchtests/bench-strchr-ifunc.c: Likewise.
10364 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10365 * benchtests/bench-strcmp-ifunc.c: Likewise.
10366 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10367 * benchtests/bench-strcpy-ifunc.c: Likewise.
10368 * benchtests/bench-strcspn-ifunc.c: Likewise.
10369 * benchtests/bench-strlen-ifunc.c: Likewise.
10370 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10371 * benchtests/bench-strncat-ifunc.c: Likewise.
10372 * benchtests/bench-strncmp-ifunc.c: Likewise.
10373 * benchtests/bench-strncpy-ifunc.c: Likewise.
10374 * benchtests/bench-strnlen-ifunc.c: Likewise.
10375 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10376 * benchtests/bench-strrchr-ifunc.c: Likewise.
10377 * benchtests/bench-strsep-ifunc.c: Likewise.
10378 * benchtests/bench-strspn-ifunc.c: Likewise.
10379 * benchtests/bench-strstr-ifunc.c: Likewise.
10381 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10383 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10385 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10387 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10388 * rt/aio.h: Likewise.
10389 * sysdeps/gnu/bits/utmp.h: Likewise.
10390 * sysdeps/gnu/bits/utmpx.h: Likewise.
10391 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10392 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10393 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10394 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10395 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10396 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10397 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10398 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10399 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10400 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10401 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10402 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10403 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10405 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10406 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10407 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10408 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10409 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10410 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10411 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10412 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10413 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10414 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10415 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10417 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10418 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10419 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10420 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10421 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10422 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10423 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10424 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10425 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10426 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10427 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10428 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10429 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10430 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10431 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10432 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10434 2013-11-25 Carlos O'Donell <carlos@redhat.com>
10437 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10438 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10440 2013-11-25 Joseph Myers <joseph@codesourcery.com>
10442 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10443 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10446 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10448 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10449 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10450 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10451 (__fesetround): Remove define.
10452 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10453 rounding and exceptions handling.
10454 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10455 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10456 (__fe_nomask_env): Likewise.
10457 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10458 __fegetround instead of fegetround.
10459 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10460 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10462 2013-11-21 Roland McGrath <roland@hack.frob.com>
10464 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10467 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10469 2013-11-21 Meador Inge <meadori@codesourcery.com>
10472 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10473 (encrypt_r): Likewise.
10474 * malloc/obstack.h (obstack_free): Likewise.
10475 * posix/unistd.h (encrypt): Likewise.
10477 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10479 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10480 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10481 DL_CALL_DT_FINI() that call the functions directly.
10482 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10483 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10484 * elf/dl-fini.c: Likewise.
10486 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
10488 * malloc/hooks.c (memalign_check): Add alignment rounding.
10489 * malloc/malloc.c (_mid_memalign): New function.
10490 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10491 Implement by calling _mid_memalign.
10492 * manual/probes.texi (Memory Allocation Probes): Remove
10493 memory_valloc_retry and memory_pvalloc_retry.
10495 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10497 * locale/programs/locarchive.c (open_archive): Add const
10498 qualifier to ARCHIVEFNAME and copy default fname to
10502 * libio/tst-widetext.input: Rename Oriya to Odia.
10503 * locale/iso-639.def: Likewise.
10505 * manual/probes.texi (Mathematical Function Probes): Add
10506 documentation for sin, cos, asin and acos probes.
10507 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10508 (__sin32): Add slowasin probe.
10509 (__cos32): Add slowacos probe.
10510 (__mpsin): Add slowsin probe.
10511 (__mpcos): Add slowcos probe.
10513 2013-11-19 Joseph Myers <joseph@codesourcery.com>
10516 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10517 thread-local __sim_exceptions_thread and global
10518 __sim_exceptions_global.
10519 (__sim_disabled_exceptions): Change to thread-local
10520 __sim_disabled_exceptions_thread and global
10521 __sim_disabled_exceptions_global.
10522 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10523 and global __sim_round_mode_global.
10524 (__simulate_exceptions): Use thread-local floating-point state and
10525 set global state from it as needed.
10526 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10527 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10528 __sim_round_mode_thread.
10529 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10530 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10531 and global __sim_exceptions_global.
10532 (__sim_disabled_exceptions): Change to thread-local
10533 __sim_disabled_exceptions_thread and global
10534 __sim_disabled_exceptions_global.
10535 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10536 and global __sim_round_mode_global.
10537 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10538 (SIM_SET_GLOBAL): Likewise.
10539 * sysdeps/powerpc/soft-fp/sfp-machine.h
10540 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10541 __sim_round_mode_thread.
10542 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10543 __sim_disabled_exceptions_thread.
10544 (__sim_exceptions): Change to __sim_exceptions_thread.
10545 (__sim_disabled_exceptions): Change to
10546 __sim_disabled_exceptions_thread.
10547 (__sim_round_mode): Change to __sim_round_mode_thread.
10548 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10549 thread-local floating-point state and set global state from it as
10551 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10552 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10553 (__sim_disabled_exceptions): Remove extern declaration.
10554 (feenableexcept): Use thread-local floating-point state and set
10555 global state from it as needed.
10556 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10557 extern declaration.
10558 (__sim_disabled_exceptions): Likewise.
10559 (__sim_round_mode): Likewise.
10560 (__fegetenv): Use thread-local floating-point state.
10561 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10562 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10563 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10564 floating-point state and set global state from it as needed.
10565 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10566 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10567 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10569 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10570 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10572 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10573 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10574 Use __sim_round_mode_thread.
10575 * math/test-fenv-tls.c: New file.
10576 * math/Makefile (tests): Add test-fenv-tls.
10577 ($(objpfx)test-fenv-tls): Depend on
10578 $(common-objpfx)nptl/libpthread.so.
10580 2013-11-19 Andreas Schwab <schwab@suse.de>
10582 * locale/programs/locale.c (show_info): Decode wordarray elements.
10583 * locale/categories.def (LC_MONETARY): Add element for
10584 _NL_MONETARY_CRNCYSTR.
10585 * locale/C-monetary.c (conversion_rate): New variable.
10586 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10589 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10591 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10592 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10594 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10596 * elf/Makefile (tst-auxv): New test.
10597 * elf/tst-auxv.c: New
10598 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10600 2013-11-18 Joseph Myers <joseph@codesourcery.com>
10602 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10603 (hidden_proto): Caller changed.
10604 (hidden_tls_proto): New macro.
10605 (libc_hidden_tls_proto): Likewise.
10606 (rtld_hidden_tls_proto): Likewise.
10607 (libm_hidden_tls_proto): Likewise.
10608 (libresolv_hidden_tls_proto): Likewise.
10609 (librt_hidden_tls_proto): Likewise.
10610 (libdl_hidden_tls_proto): Likewise.
10611 (libnss_files_hidden_tls_proto): Likewise.
10612 (libnsl_hidden_tls_proto): Likewise.
10613 (libnss_nisplus_hidden_tls_proto): Likewise.
10614 (libutil_hidden_tls_proto): Likewise.
10616 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
10619 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10620 (decompose_rpath): Defer expansion to fillin_rpath.
10621 (_dl_init_paths): Pass linkmap to fillin_rpath.
10623 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10625 * benchtests/Makefile: Add strsep.
10626 * benchtests/bench-strsep.c: New file: strsep benchtest.
10627 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10629 2013-11-18 Andreas Schwab <schwab@suse.de>
10631 * locale/programs/locale.c (show_info) [case byte]: Check for
10632 '\377' instead of '\177'.
10633 * locale/C-monetary.c (not_available): Always use "\377".
10634 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10635 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10636 detect unavailable sign_posn locale elements.
10637 * locale/localeconv.c (__localeconv): For grouping and
10638 mon_grouping handle "\177" and "\377" like no grouping.
10639 (INT_ELEM): New macro. Use it to set all numeric members.
10640 * locale/programs/ld-monetary.c (monetary_read)
10641 <tok_mon_grouping>: Normalize single -1 to the empty string.
10642 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10645 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10648 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10649 when we match (nil).
10650 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10652 2013-11-16 Joseph Myers <joseph@codesourcery.com>
10654 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10655 (NO_TEST_INLINE): Update value.
10656 (ERRNO_UNCHANGED): Likewise.
10657 (ERRNO_EDOM): Likewise.
10658 (ERRNO_ERANGE): Likewise.
10659 (IGNORE_RESULT): Likewise.
10660 (check_float_internal): Check signs of NaN results if
10661 TEST_NAN_SIGN used.
10662 (check_complex): Pass TEST_NAN_SIGN flag through to second
10663 check_float_internal call.
10664 (copysign_test_data): Add tests with quiet NaNs as second
10665 argument. Use TEST_NAN_SIGN.
10666 (fabs_test_data): Add test of negative quiet NaN argument. Use
10668 (signbit_test_data): Add tests of quiet NaN argument.
10669 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10671 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10673 (parse_args): Handle function results specified as IGNORE.
10674 * math/libm-test.inc (IGNORE_RESULT): New macro.
10675 (check_float_internal): Do not check numerical result if flag
10677 (check_complex): Pass through IGNORE_RESULT to second
10678 check_float_internal call.
10679 (check_int): Do not check numerical result if flag IGNORE_RESULT
10681 (check_long): Likewise.
10682 (check_bool): Likewise.
10683 (check_longlong): Likewise.
10684 (lrint_test_data): Add tests of infinite and NaN arguments.
10685 (lrint_tonearest_test_data): Likewise.
10686 (lrint_towardzero_test_data): Likewise.
10687 (lrint_downward_test_data): Likewise.
10688 (lrint_upward_test_data): Likewise.
10689 (llrint_test_data): Likewise.
10690 (llrint_tonearest_test_data): Likewise.
10691 (llrint_towardzero_test_data): Likewise.
10692 (llrint_downward_test_data): Likewise.
10693 (llrint_upward_test_data): Likewise.
10694 (lround_test_data): Likewise.
10695 (llround_test_data): Likewise.
10697 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10698 (ERRNO_UNCHANGED): Update value.
10699 (ERRNO_EDOM): Likewise.
10700 (ERRNO_ERANGE): Likewise.
10701 (NO_TEST_INLINE_FLOAT): New macro.
10702 (NO_TEST_INLINE_DOUBLE): Likewise.
10703 (enable_test): New function.
10704 (RUN_TEST_f_f): Check enable_test before running test.
10705 (RUN_TEST_2_f): Likewise.
10706 (RUN_TEST_fff_f): Likewise.
10707 (RUN_TEST_c_f): Likewise.
10708 (RUN_TEST_f_f1): Likewise.
10709 (RUN_TEST_fF_f1): Likewise.
10710 (RUN_TEST_fI_f1): Likewise.
10711 (RUN_TEST_ffI_f1): Likewise.
10712 (RUN_TEST_c_c): Likewise.
10713 (RUN_TEST_cc_c): Likewise.
10714 (RUN_TEST_f_i): Likewise.
10715 (RUN_TEST_f_i_tg): Likewise.
10716 (RUN_TEST_ff_i_tg): Likewise.
10717 (RUN_TEST_f_b): Likewise.
10718 (RUN_TEST_f_b_tg): Likewise.
10719 (RUN_TEST_f_l): Likewise.
10720 (RUN_TEST_f_L): Likewise.
10721 (RUN_TEST_fFF_11): Likewise.
10722 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10724 (cosh_test_data): Likewise.
10725 (exp_test_data): Likewise.
10726 (expm1_test_data): Likewise.
10727 (hypot_test_data): Likewise.
10728 (pow_test_data): Likewise.
10729 (sinh_test_data): Likewise.
10730 (tanh_test_data): Likewise.
10731 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10734 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10735 tests with quiet NaN input and output.
10736 (acosh_test_data): Likewise.
10737 (asin_test_data): Likewise.
10738 (asinh_test_data): Likewise.
10739 (atan_test_data): Likewise.
10740 (atanh_test_data): Likewise.
10741 (atan2_test_data): Likewise.
10742 (cbrt_test_data): Likewise.
10743 (cos_test_data): Likewise.
10744 (cosh_test_data): Likewise.
10745 (erf_test_data): Likewise.
10746 (erfc_test_data): Likewise.
10747 (exp_test_data): Likewise.
10748 (exp10_test_data): Likewise.
10749 (exp2_test_data): Likewise.
10750 (expm1_test_data): Likewise.
10751 (hypot_test_data): Likewise.
10752 (j0_test_data): Likewise.
10753 (j1_test_data): Likewise.
10754 (jn_test_data): Likewise.
10755 (lgamma_test_data): Likewise.
10756 (log_test_data): Likewise.
10757 (log10_test_data): Likewise.
10758 (log1p_test_data): Likewise.
10759 (log2_test_data): Likewise.
10760 (pow_test_data): Likewise.
10761 (scalb_test_data): Likewise.
10762 (sin_test_data): Likewise.
10763 (sincos_test_data): Likewise.
10764 (sinh_test_data): Likewise.
10765 (tan_test_data): Likewise.
10766 (tanh_test_data): Likewise.
10767 (tgamma_test_data): Likewise.
10768 (y0_test_data): Likewise.
10769 (y1_test_data): Likewise.
10770 (yn_test_data): Likewise.
10773 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10774 argument being NaN and avoid computations with second argument in
10776 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10777 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10778 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10780 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10782 * locale/iso-639.def: Add Chitwani Tharu (the).
10784 2013-11-14 Andreas Schwab <schwab@suse.de>
10786 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10787 word instead of empty string.
10789 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10792 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10794 (__fe_nomask_env): Likewise.
10796 2013-11-13 Steve Ellcey <sellcey@mips.com>
10798 * benchtests/bench-timing.h: Include time.h.
10800 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10803 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10805 * sysdeps/unix/sysv/linux/configure: Regenerated.
10807 2013-11-13 Joseph Myers <joseph@codesourcery.com>
10810 * stdlib/strtod_l.c (round_and_return): Do not consider
10811 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10812 exponent one less than half the least subnormal exponent.
10813 * stdlib/test-strtod-round-data: Add more tests.
10814 * stdlib/tst-strtod-round.c (tests): Regenerated.
10816 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10819 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10820 (__fe_mask_env): Likewise.
10821 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10822 libm_hidden_proto and add function prototype.
10823 (__fe_mask_env): Add function prototype.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10825 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10827 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10829 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10831 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10833 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10834 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10836 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10838 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10839 of htab_find_slot().
10841 2013-11-11 David S. Miller <davem@davemloft.net>
10844 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10845 symbol in the non-vis3 case in static builds.
10846 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10847 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10848 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10849 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10851 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10854 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10857 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10859 * benchtests/Makefile: Add bench-strtod.
10860 * benchtests/bench-strtod.c: New file: strtod benchtest
10862 2013-11-11 Andreas Schwab <schwab@suse.de>
10865 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10866 terminating NUL in key length.
10868 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10870 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10871 Add artificial ODP entry for vDSO symbol for PPC64.
10872 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10873 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10875 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10878 * nss/getent.c (services_keys): Recognize services starting with digit.
10880 2013-11-06 David S. Miller <davem@davemloft.net>
10883 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10884 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10886 2013-11-06 Will Newton <will.newton@linaro.org>
10888 * manual/memory.texi (Malloc Examples): Remove register
10889 keyword from examples.
10891 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10893 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10895 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10898 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10899 depending on [__GCC_IEC_559 > 0].
10900 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10901 depending on [__GCC_IEC_559_COMPLEX > 0].
10903 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10905 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10908 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10910 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10912 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10915 * malloc/malloc (malloc_info): Do not handle first bin as
10918 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10920 * locale/iso-639.def: Add Central Nahuatl (nhn).
10922 2013-11-01 Bruno Haible <bruno@clisp.org>
10925 * manual/math.texi (BSD Random): Specify range upper bound as
10928 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10930 * locale/iso-639.def: Add Meadow Mari (mhr).
10932 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10934 [BZ #14752], [BZ #15763]
10935 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10937 * rt/tst_shm.c: Add test for escaping directory.
10939 2013-10-31 Andreas Schwab <schwab@suse.de>
10942 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10943 followed by 'x' as part of digit sequence.
10944 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10946 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10949 * configure.ac: allow GNU Make 4.0 and greater.
10950 * configure: Regenerated.
10952 2013-10-30 Will Newton <will.newton@linaro.org>
10955 * malloc/hooks.c (memalign_check): Limit alignment to the
10956 maximum representable power of two.
10957 * malloc/malloc.c (__libc_memalign): Likewise.
10958 * malloc/tst-memalign.c (do_test): Add test for very
10959 large alignment values.
10960 * malloc/tst-posix_memalign.c (do_test): Likewise.
10962 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10965 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10966 (munmap_chunk): Likewise.
10967 (mremap_chunk): Likewise.
10969 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10972 * stdlib/div.c (div): Remove obsolete code.
10973 * stdlib/ldiv.c (ldiv): Likewise.
10974 * stdlib/lldiv.c (lldiv): Likewise.
10976 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10979 * nss/nss_files/files-XXX.c (get_contents_ret): New
10981 (get_contents): New function.
10982 (internal_getent): Use it. Expand size of LINEBUFLEN.
10984 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10986 * configure.in: Moved to ...
10987 * configure.ac: ... here. Change reference to configure.in
10989 * sysdeps/arm/preconfigure.ac: ... here.
10990 configure.in to configure.ac.
10991 * sysdeps/gnu/configure.in: Moved to ...
10992 * sysdeps/gnu/configure.ac: ... here.
10993 * sysdeps/i386/configure.in: Moved to ...
10994 * sysdeps/i386/configure.ac: ... here.
10995 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10996 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10997 * sysdeps/mach/configure.in: Moved to ...
10998 * sysdeps/mach/configure.ac: ... here.
10999 * sysdeps/mach/hurd/configure.in: Moved to ...
11000 * sysdeps/mach/hurd/configure.ac: ... here.
11001 * sysdeps/powerpc/configure.in: Moved to ...
11002 * sysdeps/powerpc/configure.ac: ... here.
11003 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11004 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11005 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11006 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11007 * sysdeps/s390/s390-32/configure.in: Moved to ...
11008 * sysdeps/s390/s390-32/configure.ac: ... here.
11009 * sysdeps/s390/s390-64/configure.in: Moved to ...
11010 * sysdeps/s390/s390-64/configure.ac: ... here.
11011 * sysdeps/sh/configure.in: Moved to ...
11012 * sysdeps/sh/configure.ac: ... here.
11013 * sysdeps/sparc/configure.in: Moved to ...
11014 * sysdeps/sparc/configure.ac: ... here.
11015 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11016 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11017 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11018 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11019 * sysdeps/x86_64/configure.in: Moved to ...
11020 * sysdeps/x86_64/configure.ac: ... here.
11021 * sysdeps/x86_64/preconfigure.in: Moved to ...
11022 * sysdeps/x86_64/preconfigure.ac: ... here.
11023 * aclocal.m4: Change reference to configure.in to configure.ac.
11024 * config.h.in: Likewise.
11025 * manual/install.texi: Likewise.
11026 * manual/maint.texi: Likewise.
11027 * Makefile: Likewise.
11028 * malloc/Makefile: Likewise.
11029 * nscd/Makefile: Likewise.
11030 * Makeconfig: Change reference to configure.in and
11031 preconfigure.in to configure.ac and preconfigure.ac
11033 * INSTALL: Regenerated.
11034 * configure: Likewise.
11035 * sysdeps/gnu/configure: Likewise.
11036 * sysdeps/i386/configure: Likewise.
11037 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11038 * sysdeps/mach/configure: Likewise.
11039 * sysdeps/mach/hurd/configure: Likewise.
11040 * sysdeps/powerpc/configure: Likewise.
11041 * sysdeps/powerpc/powerpc32/configure: Likewise.
11042 * sysdeps/powerpc/powerpc64/configure: Likewise.
11043 * sysdeps/s390/s390-32/configure: Likewise.
11044 * sysdeps/s390/s390-64/configure: Likewise.
11045 * sysdeps/sh/configure: Likewise.
11046 * sysdeps/sparc/configure: Likewise.
11047 * sysdeps/unix/sysv/linux/configure: Likewise.
11048 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11049 * sysdeps/x86_64/configure: Likewise.
11050 * sysdeps/x86_64/preconfigure: Likewise.
11052 2013-10-29 Andreas Schwab <schwab@suse.de>
11054 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11056 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11058 * benchtests/pow-inputs: Add new inputs.
11060 * benchtests/exp-inputs: Add new inputs.
11062 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11063 conditional check for return value.
11064 (__cos32): Likewise.
11066 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11068 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11069 to provide a boost for large inputs with word alignment.
11070 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11071 implementation based on optimized PPC64 strcpy.
11072 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11073 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11074 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11075 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11077 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11080 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11082 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11085 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11086 * time/tst-strptime.c (day_tests): Add testcase.
11088 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11091 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11093 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11096 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11097 MAP_FAILED on error.
11099 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11102 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11103 heap for large requests.
11105 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11108 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11109 result if the result has no associated interface.
11110 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11111 interface for all 127.X.Y.Z addresses.
11113 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
11115 * locale/iso-639.def: Add Ligurian (lij)
11117 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
11120 * sunrpc/rpc_main.c: Document rpcgen -5.
11122 2013-10-19 Michael Stahl <mstahl@redhat.com>
11124 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11126 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11129 * posix/glob.c: Match only directories when trailing slash is present.
11130 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11131 (main): Add testcase.
11133 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11136 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11138 2013-10-18 Carlos O'Donell <carlos@redhat.com>
11140 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11141 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11142 AUTH_DES and cindex for FIPS 140-2.
11143 (DES Encryption): Add cindex FIPS 46-3.
11145 * locale/locarchive.h (struct locarhandle): Add fname.
11146 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11147 if an optional argument was specified to --list-archive,
11149 * locale/programs/locarchive.c (show_archive_content): Take new
11150 argument fname and pass it via ah.fname to open_archive.
11151 * locale/programs/localedef.h: Update decl.
11152 (open_archive): If AH->fname is non-null, open that file
11153 rather than the default file name, and don't ignore ENOENT.
11154 (create_archive): Set AH.fname to NULL.
11155 (delete_locales_from_archive): Likewise.
11156 (add_locales_to_archive): Likewise.
11157 * locale/programs/locfile.c (write_all_categories): Likewise.
11159 2013-10-18 Joseph Myers <joseph@codesourcery.com>
11160 Aldy Hernandez <aldyh@redhat.com>
11162 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11163 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11164 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11165 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11166 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11167 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11168 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11169 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11170 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11171 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11172 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11173 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11174 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11175 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11176 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11178 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11180 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11182 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11184 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11185 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11187 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11188 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11189 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11190 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11192 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11193 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11194 * sysdeps/powerpc/preconfigure: Likewise.
11195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11197 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11198 Replace contents of file by #include of <fenv_libc.h>.
11199 * sysdeps/powerpc/soft-fp/sfp-machine.h
11200 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11202 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11203 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11204 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11205 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11206 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11207 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11209 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11210 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11211 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11212 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11213 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11215 Allow copysignl PLT reference to be missing.
11217 2013-10-18 Richard Sandiford <richard@codesourcery.com>
11218 Joseph Myers <joseph@codesourcery.com
11221 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11223 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11225 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11227 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11228 * elf/tst-tls1.c: Likewise.
11229 * elf/tst-tls10.h: Likewise.
11230 * elf/tst-tls14.c: Likewise.
11231 * elf/tst-tls2.c: Likewise.
11232 * elf/tst-tls3.c: Likewise.
11233 * elf/tst-tls4.c: Likewise.
11234 * elf/tst-tls5.c: Likewise.
11235 * elf/tst-tls6.c: Likewise.
11236 * elf/tst-tls7.c: Likewise.
11237 * elf/tst-tls8.c: Likewise.
11238 * elf/tst-tls9.c: Likewise.
11239 * elf/tst-tlsmod1.c: Likewise.
11240 * elf/tst-tlsmod13.c: Likewise.
11241 * elf/tst-tlsmod13a.c: Likewise.
11242 * elf/tst-tlsmod14a.c: Likewise.
11243 * elf/tst-tlsmod16a.c: Likewise.
11244 * elf/tst-tlsmod16b.c: Likewise.
11245 * elf/tst-tlsmod2.c: Likewise.
11246 * elf/tst-tlsmod3.c: Likewise.
11247 * elf/tst-tlsmod4.c: Likewise.
11248 * elf/tst-tlsmod5.c: Likewise.
11249 * elf/tst-tlsmod6.c: Likewise.
11251 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
11254 * malloc/malloc.c: remove checks for statistics.
11256 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
11259 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11260 * inet/tst-network.c: Add testcase.
11262 2013-10-17 Andreas Schwab <schwab@suse.de>
11265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11266 to determine canonical name.
11268 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
11270 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11271 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11272 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11273 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11274 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11275 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11276 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11277 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11278 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11279 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11280 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11281 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11282 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11283 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11284 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11285 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11286 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11287 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11288 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11289 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11290 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11291 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11292 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11293 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11294 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11295 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11296 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11297 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11298 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11299 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11300 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11301 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11302 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11303 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11304 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11305 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11306 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11307 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11308 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11310 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11311 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11312 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11313 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11314 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11315 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11316 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11317 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11318 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11320 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11321 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11322 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11323 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11324 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11325 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11326 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11327 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11329 2013-10-17 Joseph Myers <joseph@codesourcery.com>
11332 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11333 make result into a quiet NaN.
11335 2013-10-16 Joseph Myers <joseph@codesourcery.com>
11337 * soft-fp/adddf3.c: Fix horizontal whitespace.
11338 * soft-fp/addsf3.c: Likewise.
11339 * soft-fp/addtf3.c: Likewise.
11340 * soft-fp/divdf3.c: Likewise.
11341 * soft-fp/divsf3.c: Likewise.
11342 * soft-fp/divtf3.c: Likewise.
11343 * soft-fp/double.h: Likewise.
11344 * soft-fp/eqdf2.c: Likewise.
11345 * soft-fp/eqsf2.c: Likewise.
11346 * soft-fp/eqtf2.c: Likewise.
11347 * soft-fp/extenddftf2.c: Likewise.
11348 * soft-fp/extended.h: Likewise.
11349 * soft-fp/extendsfdf2.c: Likewise.
11350 * soft-fp/extendsftf2.c: Likewise.
11351 * soft-fp/extendxftf2.c: Likewise.
11352 * soft-fp/fixdfdi.c: Likewise.
11353 * soft-fp/fixdfsi.c: Likewise.
11354 * soft-fp/fixdfti.c: Likewise.
11355 * soft-fp/fixsfdi.c: Likewise.
11356 * soft-fp/fixsfsi.c: Likewise.
11357 * soft-fp/fixsfti.c: Likewise.
11358 * soft-fp/fixtfdi.c: Likewise.
11359 * soft-fp/fixtfsi.c: Likewise.
11360 * soft-fp/fixtfti.c: Likewise.
11361 * soft-fp/fixunsdfdi.c: Likewise.
11362 * soft-fp/fixunsdfsi.c: Likewise.
11363 * soft-fp/fixunsdfti.c: Likewise.
11364 * soft-fp/fixunssfdi.c: Likewise.
11365 * soft-fp/fixunssfsi.c: Likewise.
11366 * soft-fp/fixunssfti.c: Likewise.
11367 * soft-fp/fixunstfdi.c: Likewise.
11368 * soft-fp/fixunstfsi.c: Likewise.
11369 * soft-fp/fixunstfti.c: Likewise.
11370 * soft-fp/floatdidf.c: Likewise.
11371 * soft-fp/floatdisf.c: Likewise.
11372 * soft-fp/floatditf.c: Likewise.
11373 * soft-fp/floatsidf.c: Likewise.
11374 * soft-fp/floatsisf.c: Likewise.
11375 * soft-fp/floatsitf.c: Likewise.
11376 * soft-fp/floattidf.c: Likewise.
11377 * soft-fp/floattisf.c: Likewise.
11378 * soft-fp/floattitf.c: Likewise.
11379 * soft-fp/floatundidf.c: Likewise.
11380 * soft-fp/floatundisf.c: Likewise.
11381 * soft-fp/floatunditf.c: Likewise.
11382 * soft-fp/floatunsidf.c: Likewise.
11383 * soft-fp/floatunsisf.c: Likewise.
11384 * soft-fp/floatunsitf.c: Likewise.
11385 * soft-fp/floatuntidf.c: Likewise.
11386 * soft-fp/floatuntisf.c: Likewise.
11387 * soft-fp/floatuntitf.c: Likewise.
11388 * soft-fp/fmadf4.c: Likewise.
11389 * soft-fp/fmasf4.c: Likewise.
11390 * soft-fp/fmatf4.c: Likewise.
11391 * soft-fp/gedf2.c: Likewise.
11392 * soft-fp/gesf2.c: Likewise.
11393 * soft-fp/getf2.c: Likewise.
11394 * soft-fp/ledf2.c: Likewise.
11395 * soft-fp/lesf2.c: Likewise.
11396 * soft-fp/letf2.c: Likewise.
11397 * soft-fp/muldf3.c: Likewise.
11398 * soft-fp/mulsf3.c: Likewise.
11399 * soft-fp/multf3.c: Likewise.
11400 * soft-fp/negdf2.c: Likewise.
11401 * soft-fp/negsf2.c: Likewise.
11402 * soft-fp/negtf2.c: Likewise.
11403 * soft-fp/op-1.h: Likewise.
11404 * soft-fp/op-2.h: Likewise.
11405 * soft-fp/op-4.h: Likewise.
11406 * soft-fp/op-8.h: Likewise.
11407 * soft-fp/op-common.h: Likewise.
11408 * soft-fp/quad.h: Likewise.
11409 * soft-fp/single.h: Likewise.
11410 * soft-fp/soft-fp.h: Likewise.
11411 * soft-fp/sqrtdf2.c: Likewise.
11412 * soft-fp/sqrtsf2.c: Likewise.
11413 * soft-fp/sqrttf2.c: Likewise.
11414 * soft-fp/subdf3.c: Likewise.
11415 * soft-fp/subsf3.c: Likewise.
11416 * soft-fp/subtf3.c: Likewise.
11417 * soft-fp/truncdfsf2.c: Likewise.
11418 * soft-fp/trunctfdf2.c: Likewise.
11419 * soft-fp/trunctfsf2.c: Likewise.
11420 * soft-fp/trunctfxf2.c: Likewise.
11421 * soft-fp/unorddf2.c: Likewise.
11422 * soft-fp/unordsf2.c: Likewise.
11423 * soft-fp/unordtf2.c: Likewise.
11425 2013-10-15 Joseph Myers <joseph@codesourcery.com>
11427 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11428 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11430 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
11432 * elf/dl-libc.c: Clear initfini list after freeing.
11434 2013-10-14 Joseph Myers <joseph@codesourcery.com>
11436 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11437 * soft-fp/addsf3.c: Likewise.
11438 * soft-fp/addtf3.c: Likewise.
11439 * soft-fp/divdf3.c: Likewise.
11440 * soft-fp/divsf3.c: Likewise.
11441 * soft-fp/divtf3.c: Likewise.
11442 * soft-fp/double.h: Likewise.
11443 * soft-fp/eqdf2.c: Likewise.
11444 * soft-fp/eqsf2.c: Likewise.
11445 * soft-fp/eqtf2.c: Likewise.
11446 * soft-fp/extenddftf2.c: Likewise.
11447 * soft-fp/extended.h: Likewise.
11448 * soft-fp/extendsfdf2.c: Likewise.
11449 * soft-fp/extendsftf2.c: Likewise.
11450 * soft-fp/extendxftf2.c: Likewise.
11451 * soft-fp/fixdfdi.c: Likewise.
11452 * soft-fp/fixdfsi.c: Likewise.
11453 * soft-fp/fixdfti.c: Likewise.
11454 * soft-fp/fixsfdi.c: Likewise.
11455 * soft-fp/fixsfsi.c: Likewise.
11456 * soft-fp/fixsfti.c: Likewise.
11457 * soft-fp/fixtfdi.c: Likewise.
11458 * soft-fp/fixtfsi.c: Likewise.
11459 * soft-fp/fixtfti.c: Likewise.
11460 * soft-fp/fixunsdfdi.c: Likewise.
11461 * soft-fp/fixunsdfsi.c: Likewise.
11462 * soft-fp/fixunsdfti.c: Likewise.
11463 * soft-fp/fixunssfdi.c: Likewise.
11464 * soft-fp/fixunssfsi.c: Likewise.
11465 * soft-fp/fixunssfti.c: Likewise.
11466 * soft-fp/fixunstfdi.c: Likewise.
11467 * soft-fp/fixunstfsi.c: Likewise.
11468 * soft-fp/fixunstfti.c: Likewise.
11469 * soft-fp/floatdidf.c: Likewise.
11470 * soft-fp/floatdisf.c: Likewise.
11471 * soft-fp/floatditf.c: Likewise.
11472 * soft-fp/floatsidf.c: Likewise.
11473 * soft-fp/floatsisf.c: Likewise.
11474 * soft-fp/floatsitf.c: Likewise.
11475 * soft-fp/floattidf.c: Likewise.
11476 * soft-fp/floattisf.c: Likewise.
11477 * soft-fp/floattitf.c: Likewise.
11478 * soft-fp/floatundidf.c: Likewise.
11479 * soft-fp/floatundisf.c: Likewise.
11480 * soft-fp/floatunsidf.c: Likewise.
11481 * soft-fp/floatunsisf.c: Likewise.
11482 * soft-fp/floatuntidf.c: Likewise.
11483 * soft-fp/floatuntisf.c: Likewise.
11484 * soft-fp/floatuntitf.c: Likewise.
11485 * soft-fp/fmadf4.c: Likewise.
11486 * soft-fp/fmasf4.c: Likewise.
11487 * soft-fp/fmatf4.c: Likewise.
11488 * soft-fp/gedf2.c: Likewise.
11489 * soft-fp/gesf2.c: Likewise.
11490 * soft-fp/getf2.c: Likewise.
11491 * soft-fp/ledf2.c: Likewise.
11492 * soft-fp/lesf2.c: Likewise.
11493 * soft-fp/letf2.c: Likewise.
11494 * soft-fp/muldf3.c: Likewise.
11495 * soft-fp/mulsf3.c: Likewise.
11496 * soft-fp/multf3.c: Likewise.
11497 * soft-fp/negdf2.c: Likewise.
11498 * soft-fp/negsf2.c: Likewise.
11499 * soft-fp/negtf2.c: Likewise.
11500 * soft-fp/op-1.h: Likewise.
11501 * soft-fp/op-2.h: Likewise.
11502 * soft-fp/op-4.h: Likewise.
11503 * soft-fp/op-8.h: Likewise.
11504 * soft-fp/op-common.h: Likewise.
11505 * soft-fp/quad.h: Likewise.
11506 * soft-fp/single.h: Likewise.
11507 * soft-fp/soft-fp.h: Likewise.
11508 * soft-fp/sqrtdf2.c: Likewise.
11509 * soft-fp/sqrtsf2.c: Likewise.
11510 * soft-fp/sqrttf2.c: Likewise.
11511 * soft-fp/subdf3.c: Likewise.
11512 * soft-fp/subsf3.c: Likewise.
11513 * soft-fp/subtf3.c: Likewise.
11514 * soft-fp/truncdfsf2.c: Likewise.
11515 * soft-fp/trunctfdf2.c: Likewise.
11516 * soft-fp/trunctfsf2.c: Likewise.
11517 * soft-fp/trunctfxf2.c: Likewise.
11518 * soft-fp/unorddf2.c: Likewise.
11519 * soft-fp/unordsf2.c: Likewise.
11520 * soft-fp/unordtf2.c: Likewise.
11522 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
11525 * misc/error.c (error_tail): Fix possible buffer overflow.
11527 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11530 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11533 2013-10-14 P. J. McDermott <pj@pehjota.net>
11536 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11537 testing pipefail option.
11539 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11541 * soft-fp/double.h: Indent preprocessor directives inside #if.
11542 * soft-fp/extended.h: Likewise.
11543 * soft-fp/op-2.h: Likewise.
11544 * soft-fp/op-4.h: Likewise.
11545 * soft-fp/op-common.h: Likewise.
11546 * soft-fp/quad.h: Likewise.
11547 * soft-fp/single.h: Likewise.
11548 * soft-fp/soft-fp.h: Likewise.
11550 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11552 * iconv/iconv_prog.c: Fix typos.
11553 * stdio-common/psiginfo-data.h: Likewise.
11555 2013-10-12 Reuben Thomas <rrt@sc3d.org>
11558 * locale/setlocale.c: Fix typo.
11560 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11563 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11564 signaling NaN arguments.
11565 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11566 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11569 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11570 unordered operands.
11571 * soft-fp/gesf2.c (__gesf2): Likewise.
11572 * soft-fp/getf2.c (__getf2): Likewise.
11573 * soft-fp/ledf2.c (__ledf2): Likewise.
11574 * soft-fp/lesf2.c (__lesf2): Likewise.
11575 * soft-fp/letf2.c (__letf2): Likewise.
11577 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11578 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11579 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11580 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11581 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11582 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11583 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11584 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11585 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11586 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11587 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11588 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11589 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11590 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11591 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11592 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11593 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11594 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11595 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11596 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11597 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11598 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11599 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11600 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11601 * soft-fp/floattidf.c (__floattidf): Likewise.
11602 * soft-fp/floattisf.c (__floattisf): Likewise.
11603 * soft-fp/floattitf.c (__floattitf): Likewise.
11604 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11605 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11606 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11607 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11608 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11609 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11610 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11611 * soft-fp/gesf2.c (__gesf2): Likewise.
11612 * soft-fp/getf2.c (__getf2): Likewise.
11613 * soft-fp/ledf2.c (__ledf2): Likewise.
11614 * soft-fp/lesf2.c (__lesf2): Likewise.
11615 * soft-fp/letf2.c (__letf2): Likewise.
11617 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11618 Undefine and redefine.
11619 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11620 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11621 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11622 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11623 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11624 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11625 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11626 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11627 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11628 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11629 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11630 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11631 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11632 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11633 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11636 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11637 without decrementing exponent if mantissa >= that for the
11638 denominator, not >.
11639 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11640 denominator, not >. Decrement exponent in < case instead of
11641 incrementing in >= case.
11642 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11643 without decrementing exponent if mantissa >= that for the
11644 denominator, not >.
11646 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11647 computing saturated result for unsigned overflow.
11649 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11650 Jeff Law <law@redhat.com>
11652 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11653 (atan2Mp): Add systemtap probe marker.
11654 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11655 (__ieee754_log): Add systemtap probe marker.
11656 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11657 (atanMp): Add systemtap probe marker.
11658 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11659 (tanMp): Add systemtap probe marker.
11660 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11661 (__slowexp): Add systemtap probe marker.
11662 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11663 (__slowpow): Add systemtap probe marker.
11664 * manual/probes.texi: Document probes.
11666 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
11669 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11671 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11673 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11674 written to buffer but not flushed.
11675 * libio/iofwrite_u.c: Likewise.
11676 * libio/iopadn.c: Return bytes returned even if EOF was
11678 * libio/iowpadn.c: Likewise.
11679 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11680 if _IO_padn does not write the whole buffer.
11681 [!COMPILE_WPRINTF] (PAD): Likewise.
11683 2013-10-10 David S. Miller <davem@davemloft.net>
11685 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11688 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11690 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11691 instead of FSF address.
11692 * soft-fp/fixdfti.c: Likewise.
11693 * soft-fp/fixsfti.c: Likewise.
11694 * soft-fp/fixtfti.c: Likewise.
11695 * soft-fp/fixunsdfti.c: Likewise.
11696 * soft-fp/fixunssfti.c: Likewise.
11697 * soft-fp/fixunstfti.c: Likewise.
11698 * soft-fp/floattidf.c: Likewise.
11699 * soft-fp/floattisf.c: Likewise.
11700 * soft-fp/floattitf.c: Likewise.
11701 * soft-fp/floatuntidf.c: Likewise.
11702 * soft-fp/floatuntisf.c: Likewise.
11703 * soft-fp/floatuntitf.c: Likewise.
11704 * soft-fp/trunctfxf2.c: Likewise.
11706 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11707 * soft-fp/fixdfti.c: Likewise.
11708 * soft-fp/fixsfti.c: Likewise.
11709 * soft-fp/fixtfti.c: Likewise.
11710 * soft-fp/fixunsdfti.c: Likewise.
11711 * soft-fp/fixunssfti.c: Likewise.
11712 * soft-fp/fixunstfti.c: Likewise.
11713 * soft-fp/floattidf.c: Likewise.
11714 * soft-fp/floattisf.c: Likewise.
11715 * soft-fp/floattitf.c: Likewise.
11716 * soft-fp/floatuntidf.c: Likewise.
11717 * soft-fp/floatuntisf.c: Likewise.
11718 * soft-fp/floatuntitf.c: Likewise.
11719 * soft-fp/trunctfxf2.c: Likewise.
11721 2013-10-10 David S. Miller <davem@davemloft.net>
11723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11725 2013-10-10 Joseph Myers <joseph@codsourcery.com>
11727 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11728 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11729 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11730 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11731 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11732 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11733 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11735 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11736 for NaNs before doing comparisons on argument.
11737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11740 2013-10-10 Will Newton <will.newton@linaro.org>
11742 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11743 passed to _int_memalign does not overflow.
11745 2013-10-10 Torvald Riegel <triegel@redhat.com>
11747 * scripts/bench.pl: Add include-sources directive.
11748 * benchtests/README: Update documentation.
11750 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11752 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11753 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11754 instead of FP_INIT_ROUNDMODE.
11755 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11756 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11759 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11760 copy class of input value.
11761 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11762 not handle exceptions.
11763 * soft-fp/negsf2.c (__negsf2): Likewise.
11764 * soft-fp/negtf2.c (__negtf2): Likewise.
11765 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11767 2013-10-09 Joseph Myers <joseph@codesourcery.com>
11769 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11770 semicolon. From Linux kernel.
11772 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11774 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11776 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11779 * manual/socket.texi: Added statement about buffer
11780 for gethostbyname2_r.
11782 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
11784 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11785 Use .p2align directive instead, throughout.
11786 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11787 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11788 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11789 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11790 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11791 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11792 * sysdeps/x86_64/strchr.S: Likewise.
11793 * sysdeps/x86_64/strrchr.S: Likewise.
11795 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11797 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11799 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11801 * sysdeps/generic/math_private.h (__mpsin1): Remove
11803 (__mpcos1): Likewise.
11804 (__mpsin): New argument __range_reduce.
11805 (__mpcos): Likewise.
11806 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11807 (slow): Use __mpsin and __mpcos.
11811 (sloww1): Likewise.
11812 (sloww2): Likewise.
11813 (bsloww): Likewise.
11814 (bsloww1): Likewise.
11815 (bsloww2): Likewise.
11816 (cslow2): Likewise.
11817 (csloww): Likewise.
11818 (csloww1): Likewise.
11819 (csloww2): Likewise.
11820 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11821 range_reduce. Merge in __mpsin1.
11822 (__mpcos): Likewise.
11823 (__mpsin1): Remove.
11824 (__mpcos1): Likewise.
11826 2013-10-07 Joseph Myers <joseph@codesourcery.com>
11828 * locale/loadlocale.c (_nl_intern_locale_data): Use
11830 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11831 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11832 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11833 obstack data is appropriately aligned.
11834 (obstack_int32_grow_fast): Likewise.
11835 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11836 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11837 (add_locale_uint32_array): Likewise.
11839 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11841 * benchtests/Makefile: Remove ARGLIST and RET variables.
11842 ($(objpfx)bench-%.c): Pass only function name to the script.
11843 * benchtests/README: Update documentation.
11844 * benchtests/acos-inputs: Add new directives.
11845 * benchtests/acosh-inputs: Likewise.
11846 * benchtests/asin-inputs: Likewise.
11847 * benchtests/asinh-inputs: Likewise.
11848 * benchtests/atan-inputs: Likewise.
11849 * benchtests/atanh-inputs: Likewise.
11850 * benchtests/cos-inputs: Likewise.
11851 * benchtests/cosh-inputs: Likewise.
11852 * benchtests/exp-inputs: Likewise.
11853 * benchtests/log-inputs: Likewise.
11854 * benchtests/pow-inputs: Likewise.
11855 * benchtests/rint-inputs: Likewise.
11856 * benchtests/sin-inputs: Likewise.
11857 * benchtests/sinh-inputs: Likewise.
11858 * benchtests/tan-inputs: Likewise.
11859 * benchtests/tanh-inputs: Likewise.
11860 * scripts/bench.pl: Add support for new directives.
11862 2013-10-07 Alan Modra <amodra@gmail.com>
11864 * README: Fix careless merge.
11866 2013-10-05 Alan Modra <amodra@gmail.com>
11868 * NEWS: Mention powerpc64le support and bugs fixed.
11869 * README: Both big-endian and little-endian powerpc64 supported.
11871 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11873 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11874 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11875 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11876 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11878 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11880 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11883 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11885 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11886 Move -mhard-float appending from
11887 ports/sysdeps/powerpc/powerpc32/Makefile.
11888 [$(with-fp) = yes] (ASFLAGS): Likewise.
11889 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11890 * sysdeps/powerpc/nofpu: Move directory from
11891 ports/sysdeps/powerpc/nofpu.
11892 * sysdeps/powerpc/soft-fp: Move directory from
11893 ports/sysdeps/powerpc/soft-fp.
11894 * sysdeps/powerpc/powerpc32/405: Move directory from
11895 ports/sysdeps/powerpc/powerpc32/405.
11896 * sysdeps/powerpc/powerpc32/440: Move directory from
11897 ports/sysdeps/powerpc/powerpc32/440.
11898 * sysdeps/powerpc/powerpc32/464: Move directory from
11899 ports/sysdeps/powerpc/powerpc32/464.
11900 * sysdeps/powerpc/powerpc32/476: Move directory from
11901 ports/sysdeps/powerpc/powerpc32/476.
11902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11903 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11905 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11907 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11909 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11911 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11912 * README: Update for powerpc-*-linux-gnu software floating point
11915 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11916 case to powerpc/powerpc32*.
11917 * sysdeps/unix/sysv/linux/configure: Regenerated.
11919 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11920 (_FPU_MASK_OM): Define as 0x04.
11921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11924 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11929 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11932 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11935 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11936 and setcontext_e500.
11938 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11940 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11942 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11944 * manual/threads.texi (Default Thread Attributes): Fix typo.
11946 2013-10-04 Will Newton <will.newton@linaro.org>
11948 * malloc/Makefile: Add tst-memalign.
11949 * malloc/tst-memalign.c: New file.
11951 * malloc/tst-posix_memalign.c: Add comments.
11952 (do_test): Add comments and call free on all potentially
11953 allocated pointers. Add space after cast.
11955 * malloc/tst-pvalloc.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 * malloc/tst-valloc.c: Add comments.
11961 (do_test): Add comments and call free on all potentially
11962 allocated pointers. Remove duplicate check for NULL pointer.
11963 Add space after cast.
11965 2013-10-04 Alan Modra <amodra@gmail.com>
11967 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11968 Use stdint types in rather than __attribute__((mode())).
11969 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11971 2013-10-04 Alan Modra <amodra@gmail.com>
11973 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11974 Correct handling of unaligned relocs for little-endian.
11975 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11977 2013-10-04 Alan Modra <amodra@gmail.com>
11979 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11980 * configure: Regenerate.
11981 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11982 * shlib-versions: Likewise.
11984 2013-10-04 Alan Modra <amodra@gmail.com>
11986 * string/tester.c (test_memrchr): Increment reported test cycle.
11988 2013-10-04 Alan Modra <amodra@gmail.com>
11990 * string/test-memcpy.c (do_one_test): When reporting errors, print
11991 string address and don't overrun end of string.
11993 2013-10-04 Alan Modra <amodra@gmail.com>
11995 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11996 insrdi. Make better use of reg selection to speed exit slightly.
11997 Schedule entry path a little better. Remove useless "are we done"
11998 checks on entry to main loop. Handle wrapping around zero address.
11999 Correct main loop count. Handle single left-over word from main
12000 loop inline rather than by using loop_small. Remove extra word
12001 case in loop_small caused by wrong loop count. Add little-endian
12003 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12004 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12006 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12007 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12008 support. Avoid rlwimi.
12009 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12011 2013-10-04 Alan Modra <amodra@gmail.com>
12013 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12014 insrdi. Formatting.
12015 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12016 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12017 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12018 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12019 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12020 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12022 2013-10-04 Alan Modra <amodra@gmail.com>
12024 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12025 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12026 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12027 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12028 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12029 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12030 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12031 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12032 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12033 use of regs. Use power7 mtocrf. Tidy function tails.
12035 2013-10-04 Alan Modra <amodra@gmail.com>
12037 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12038 Formatting. Consistently use rXXX register defines or rN defines.
12039 Use early exit labels that avoid restoring unused non-volatile regs.
12040 Make cr field use more consistent with rWORDn compares. Rename
12041 regs used as shift registers for unaligned loop, using rN defines
12042 for short lifetime/multiple use regs.
12043 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12044 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12045 addi 1,1,64 to pop stack frame. Simplify return value code.
12046 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12048 2013-10-04 Alan Modra <amodra@gmail.com>
12050 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12051 support. Correct typos, formatting. Optimize tail. Use insrdi
12052 rather than rlwimi.
12053 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12054 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12055 little-endian support. Correct typos.
12056 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12057 rather than rlwimi.
12058 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12059 in loop and entry code to keep "and." results.
12060 (strchr): Add little-endian support. Comment. Move cntlzd
12062 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12064 2013-10-04 Alan Modra <amodra@gmail.com>
12066 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12067 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12068 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12069 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12071 2013-10-04 Alan Modra <amodra@gmail.com>
12073 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12074 (rTMP): Define as r11.
12075 (strcmp): Add little-endian support. Optimise tail.
12076 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12077 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12078 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12079 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12080 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12081 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12082 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12084 2013-10-04 Alan Modra <amodra@gmail.com>
12086 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12087 little-endian support. Remove unnecessary "are we done" tests.
12088 Handle "s" wrapping around zero and extremely large "size".
12089 Correct main loop count. Handle single left-over word from main
12090 loop inline rather than by using small_loop. Correct comments.
12091 Delete "zero" tail, use "end_max" instead.
12092 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12094 2013-10-04 Alan Modra <amodra@gmail.com>
12096 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12097 support. Don't branch over align.
12098 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12099 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12100 support. Rearrange tmp reg use to suit. Comment.
12101 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12103 2013-10-04 Alan Modra <amodra@gmail.com>
12105 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12107 2013-10-04 Alan Modra <amodra@gmail.com>
12109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12110 conditional form of branch and link when obtaining pc.
12111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12113 2013-10-04 Alan Modra <amodra@gmail.com>
12115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12120 2013-10-04 Alan Modra <amodra@gmail.com>
12122 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12123 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12124 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12125 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12126 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12127 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12128 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12129 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12130 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12131 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12133 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12134 Alistair Popple <alistair@ozlabs.au.ibm.com>
12135 Alan Modra <amodra@gmail.com>
12138 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12139 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12140 _dl_hwcap access for little-endian.
12141 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12142 destroy vmx regs when saving unaligned.
12143 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12144 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12145 destroy vmx regs when saving unaligned.
12147 2013-10-04 Alan Modra <amodra@gmail.com>
12149 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12150 Don't use a union to pack hi/low value.
12152 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12154 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12156 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12157 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12158 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12159 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12160 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12162 2013-10-04 Alan Modra <amodra@gmail.com>
12164 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12165 constants to usual value for .cst8 section, and remove redundant
12167 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12168 constant for 0x1p52. Load little-endian words of double from
12169 correct stack offsets.
12171 2013-10-04 Alan Modra <amodra@gmail.com>
12173 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12174 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12175 words of double from correct stack offsets.
12176 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12177 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12178 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12179 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12180 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12181 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12182 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12183 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12184 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12185 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12186 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12187 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12188 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12189 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12190 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12191 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12192 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12194 2013-10-04 Alan Modra <amodra@gmail.com>
12196 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12197 64-bit int/double union.
12198 (_FPU_SETCW): Likewise.
12199 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12200 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12202 2013-10-04 Alan Modra <amodra@gmail.com>
12204 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12205 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12207 2013-10-04 Alan Modra <amodra@gmail.com>
12209 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12210 use vector int constants.
12211 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12213 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12215 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12216 array with long long.
12217 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12218 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12219 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12220 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12221 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12222 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12223 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12224 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12225 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12226 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12227 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12228 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12229 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12231 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12233 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12234 (__signbit): Likewise. Correct for little-endian.
12235 (__signbitl): Call __signbit.
12236 (lrint): Correct for little-endian.
12237 (lrintf): Call lrint.
12239 2013-10-04 Alan Modra <amodra@gmail.com>
12241 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12242 union 32-bit int array member with 64-bit int array.
12243 (t515, tm256): Double rather than long double.
12244 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12246 2013-10-04 Alan Modra <amodra@gmail.com>
12248 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12250 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12251 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12252 version of math_ldbl.h.
12254 2013-10-04 Alan Modra <amodra@gmail.com>
12256 [BZ #15734], [BZ #15735]
12257 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12258 all uses of ieee875 long double macros and unions. Simplify test
12259 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12260 ldbl_extract_mantissa value for ix,iy exponents. Properly
12261 normalize after ldbl_extract_mantissa, and don't add hidden bit
12262 already handled. Don't treat low word of ieee854 mantissa like
12263 low word of IBM long double and mask off bit when testing for
12265 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12266 all uses of ieee875 long double macros and unions. Simplify tests
12267 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12268 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12269 two1022, instead use their values. Recognise that tests for large
12270 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12271 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12272 Rewrite all uses of ieee875 long double macros and unions. Simplify
12273 test for 0.0L and nan. Correct negation.
12274 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12275 ieee875 long double macros and unions. Correct output for large
12276 magnitude x. Correct absolute value calculation.
12277 (__erfcl): Likewise.
12278 * math/libm-test.inc: Add tests for errors discovered in IBM long
12279 double versions of fmodl, remainderl, erfl and erfcl.
12281 2013-10-04 Alan Modra <amodra@gmail.com>
12283 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12284 all uses of ieee854 long double macros and unions. Simplify tests
12285 for long doubles that are fully specified by the high double.
12286 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12288 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12289 Remove dead code too.
12290 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12291 (__ieee754_ynl): Likewise.
12292 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12293 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12295 Remove dead code too.
12296 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12297 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12298 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12299 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12301 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12303 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12304 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12305 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12306 Comment on variable precision.
12307 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12308 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12310 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12311 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12312 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12313 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12314 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12316 2013-10-04 Alan Modra <amodra@gmail.com>
12318 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12319 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12320 all uses of ieee854 long double macros and unions.
12321 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12322 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12323 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12324 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12325 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12326 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12328 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12329 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12330 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12331 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12332 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12333 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12334 Simplify sign and nan test too.
12335 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12336 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12337 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12338 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12340 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12341 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12343 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12344 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12345 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12346 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12347 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12348 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12350 2013-10-04 Alan Modra <amodra@gmail.com>
12352 * stdio-common/printf_size.c (__printf_size): Don't use
12353 union ieee854_long_double in fpnum union.
12354 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12355 signbit macro to retrieve sign from long double.
12356 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12357 retrieve sign from long double.
12358 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12359 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12360 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12361 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12362 * math/test-misc.c (main): Don't use union ieee854_long_double.
12364 2013-10-04 Alan Modra <amodra@gmail.com>
12367 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12368 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12369 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12370 calculation. Remove unnecessary test for denormal exponent.
12371 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12372 Correct handling of denormals. Avoid undefined shift behaviour.
12373 Correct normalisation of low mantissa when low double is denormal.
12374 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12375 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12376 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12377 Correct normalisation of low mantissa. Test for overflow of high
12378 mantissa and normalise.
12379 (ldbl_nearbyint): Use more readable constant for two52.
12380 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12381 (__mpn_construct_long_double): Fix test for overflow of high
12382 mantissa and correct normalisation. Avoid undefined shift.
12384 2013-10-04 Alan Modra <amodra@gmail.com>
12386 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12387 (union ibm_extended_long_double): Define as an array of ieee754_double.
12388 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12389 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12390 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12391 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12393 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12394 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12395 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12396 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12397 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12398 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12400 2013-10-03 Joseph Myers <joseph@codesourcery.com>
12402 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12403 page size instead of calling getpagesize.
12405 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12406 (LOCFILE_ALIGN_MASK): Likewise.
12407 (LOCFILE_ALIGN_UP): Likewise.
12408 (LOCFILE_ALIGNED_P): Likewise.
12409 * locale/programs/ld-collate.c (collate_output): Use the new
12410 macros instead of __alignof__ (int32_t).
12411 * locale/weight.h (findidx): Likewise.
12413 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
12416 * manual/string.texi: Fix strncat and wcsncat.
12418 2013-10-03 Brooks Moses <bmoses@google.com>
12421 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12422 * Makerules: ...here, and adjust associated comments.
12424 2013-10-02 Will Newton <will.newton@linaro.org>
12426 * malloc/Makefile: Add tst-pvalloc.
12427 * malloc/tst-pvalloc.c: New file.
12429 2013-10-02 Will Newton <will.newton@linaro.org>
12431 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12432 improve test coverage.
12434 2013-10-02 Will Newton <will.newton@linaro.org>
12436 * malloc/Makefile: Add tst-posix_memalign.
12437 * malloc/tst-posix_memalign.c: New file.
12439 2013-10-01 Eric Blake <eblake@redhat.com>
12441 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12442 Use __THROWNL rather than __THROW on static functions.
12444 2013-09-30 Petr Machata <pmachata@redhat.com>
12446 * elf/elf.h (R_AARCH64_ABS16): New macro.
12447 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12448 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12449 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12450 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12451 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12452 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12453 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12454 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12455 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12456 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12457 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12458 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12459 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12460 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12461 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12462 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12463 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12464 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12465 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12466 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12467 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12468 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12469 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12470 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12471 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12472 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12473 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12474 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12475 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12476 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12477 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12478 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12479 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12480 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12481 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12482 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12483 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12484 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12485 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12486 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12487 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12488 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12489 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12490 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12491 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12492 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12493 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12494 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12495 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12496 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12497 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12498 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12499 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12500 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12501 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12502 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12503 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12504 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12505 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12506 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12507 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12508 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12509 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12510 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12511 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12512 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12513 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12514 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12515 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12516 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12517 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12518 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12519 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12520 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12521 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12522 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12523 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12524 (R_AARCH64_TLSDESC_LDR): Likewise.
12525 (R_AARCH64_TLSDESC_ADD): Likewise.
12526 (R_AARCH64_TLSDESC_CALL): Likewise.
12528 2013-09-30 Andreas Schwab <schwab@suse.de>
12531 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12532 the nss database lookup.
12533 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12536 2013-09-28 Mike Frysinger <vapier@gentoo.org>
12538 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12540 2013-09-28 P. J. McDermott <pj@pehjota.net>
12542 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12543 ${Bash-specific parameter/pattern/string} parameter expansion.
12544 * sysdeps/unix/make-syscalls.sh: Likewise.
12546 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12548 * sysdeps/sh/stackguard-macros.h: New file.
12550 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
12552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12554 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12555 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12556 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12557 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12559 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12561 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12562 Fix thread ID register.
12564 2013-09-25 Joseph Myers <joseph@codesourcery.com>
12566 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12567 [POSIX || UNIX98]: Require rather than permitting all symbols from
12569 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12570 element of struct sched_param.
12571 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12572 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12573 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12574 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12577 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12579 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12580 argument calculation.
12582 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12584 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12586 [POSIX] (pthread_attr_t): Do not require type.
12587 [POSIX] (pthread_cond_t): Likewise.
12588 [POSIX] (pthread_condattr_t): Likewise.
12589 [POSIX] (pthread_key_t): Likewise.
12590 [POSIX] (pthread_mutex_t): Likewise.
12591 [POSIX] (pthread_mutexattr_t): Likewise.
12592 [POSIX] (pthread_once_t): Likewise.
12593 [POSIX] (pthread_t): Likewise.
12594 [POSIX-based standards] (pthread_atfork): Expect function.
12596 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12597 Richard Sandiford <richard@codesourcery.com>
12599 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12600 (swap_endianness_p): New extern variable.
12601 (set_big_endian): New inline function.
12602 (maybe_swap_uint32): Likewise.
12603 (maybe_swap_uint32_array): Likewise.
12604 (maybe_swap_uint32_obstack): Likewise.
12605 * locale/programs/locfile.c: Include <stdbool.h>.
12606 (swap_endianness_p): New variable.
12607 (add_locale_uint32): Call maybe_swap_uint32.
12608 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12609 (write_locale_data): Call maybe_swap_uint32_array.
12610 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12612 (obstack_int32_grow_fast): Likewise.
12613 (output_weightwc): Call maybe_swap_uint32_obstack.
12614 (collate_output): Likewise.
12615 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12616 (OPT_LITTLE_ENDIAN): Likewise.
12617 (options): Add --little-endian and --big-endian options.
12618 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12619 * locale/programs/locarchive.c: Include "locfile.h".
12623 (create_archive): Use the new macros to access fields of
12624 structures directly mapped from or written to locale archives.
12625 (oldlocrecentcmp): Likewise.
12626 (enlarge_archive): Likewise.
12627 (insert_name): Likewise.
12628 (add_alias): Likewise.
12629 (add_locale): Likewise.
12630 (delete_locales_from_archive): Likewise.
12631 (show_archive_content): Likewise.
12632 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12635 2013-09-24 Roland McGrath <roland@hack.frob.com>
12637 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12638 http://www.gnu.org/doc/freemanuals.texi.
12639 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12641 2013-09-24 Will Newton <will.newton@linaro.org>
12643 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12646 2013-09-23 Joseph Myers <joseph@codesourcery.com>
12648 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12651 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12653 * manual/threads.texi (POSIX Threads): Fix a typo.
12655 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12658 * string/tst-strcoll-overflow.c: New test case.
12659 * string/Makefile (xtests): Add tst-strcoll-overflow.
12660 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12661 cache if string sizes may cause integer overflow.
12664 * string/strcoll_l.c (coll_seq): New members rule, idx,
12665 save_idx and back_us.
12666 (get_next_seq_nocache): New function.
12667 (do_compare_nocache): New function.
12668 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12671 2013-09-23 Carlos O'Donell <carlos@redhat.com>
12674 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12675 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12676 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12679 * elf/Makefile (tests): Add tst-ptrguard1.
12680 (tests-static): Add tst-ptrguard1-static.
12681 (tst-ptrguard1-ARGS): Define.
12682 (tst-ptrguard1-static-ARGS): Define.
12683 * elf/tst-ptrguard1.c: New file.
12684 * elf/tst-ptrguard1-static.c: New file.
12685 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12686 * sysdeps/i386/stackguard-macros.h: Likewise.
12687 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12688 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12689 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12690 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12691 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12692 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12694 2013-09-23 Hector Marco <hecmargi@upv.es>
12695 Ismael Ripoll <iripoll@disca.upv.es>
12696 Carlos O'Donell <carlos@redhat.com>
12699 * sysdeps/generic/stackguard-macros.h: Define
12700 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12701 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12702 Define __pointer_chk_guard_local.
12703 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12704 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12706 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12709 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12711 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12713 * include/string.h (__ffs): Declare as hidden.
12714 * string/ffs.c (__ffs): Define as hidden.
12715 * sysdeps/i386/ffs.c (__ffs): Likewise.
12716 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12717 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12718 * sysdeps/s390/ffs.c (__ffs): Likewise.
12719 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12721 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
12723 * NEWS: Mention malloc probes.
12725 * malloc/arena.c (new_heap): New memory_heap_new probe.
12726 (grow_heap): New memory_heap_more probe.
12727 (shrink_heap): New memory_heap_less probe.
12728 (heap_trim): New memory_heap_free probe.
12729 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12730 (systrim): New memory_sbrk_less probe.
12731 * manual/probes.texi: Document them.
12733 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12734 * manual/probes.texi: Document it.
12736 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12737 (__libc_realloc): Add memory_realloc_retry probe.
12738 (__libc_memalign): Add memory_memalign_retry probe.
12739 (__libc_valloc): Add memory_valloc_retry probe.
12740 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12741 (__libc_calloc): Add memory_calloc_retry probe.
12742 * manual/probes.texi: Document them.
12744 * malloc/arena.c (get_free_list): Add probe
12745 memory_arena_reuse_free_list.
12746 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12747 and memory_arena_reuse.
12748 (arena_get2) [!PER_THREAD]: Likewise.
12749 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12750 memory_arena_reuse_realloc.
12751 * manual/probes.texi: Document them.
12753 * malloc/malloc.c (__libc_free): Add
12754 memory_mallopt_free_dyn_thresholds probe.
12755 (__libc_mallopt): Add multiple memory_mallopt probes.
12756 * manual/probes.texi: Document them.
12758 * malloc/malloc.c: Include stap-probe.h.
12759 (__libc_mallopt): Add memory_mallopt probe.
12760 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12761 * manual/probes.texi: New.
12762 * manual/Makefile (chapters): Add probes.
12763 * manual/threads.texi: Set next node.
12765 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
12767 [BZ #15963, #13985]
12768 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12769 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12770 Add `Chinese' to `nan' entry name.
12772 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12774 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12775 (POLYNOMIAL): Likewise.
12776 (TAYLOR_SINCOS): Likewise.
12777 (TAYLOR_SLOW): Likewise.
12778 (__sin): Use TAYLOR_SINCOS.
12780 (slow): Use TAYLOR_SLOW.
12782 (bsloww): Likewise.
12783 (csloww): Likewise.
12785 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12787 * stdlib/strtod_l.c: Fix buffer overrun.
12789 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12791 * benchtests/Makefile (bench): Add sincos.
12792 * benchtests/bench-sincos.c: New file.
12794 * math/libm-test.inc (cos_test_data): New test inputs.
12795 (sin_test_data): Likewise.
12797 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12803 (sloww1): Likewise.
12804 (sloww2): Likewise.
12805 (bsloww1): Likewise.
12806 (bsloww2): Likewise.
12807 (cslow2): Likewise.
12808 (csloww1): Likewise.
12809 (csloww2): Likewise.
12811 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12816 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12820 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12822 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12823 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12824 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12825 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12826 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12827 * elf/cache.c (print_entry): Handle the new cache flags.
12829 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12830 Aldy Hernandez <aldyh@redhat.com>
12832 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12833 Change condition to [_SOFT_FLOAT].
12834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12835 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12837 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12838 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12839 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12842 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12846 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12849 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12852 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12854 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12855 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12856 (__longjmp): Use LOAD_GP to load saved GPRs.
12857 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12858 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12859 (__sigsetjmp): Use SAVE_GP to save GPRs.
12861 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12862 Do not append -msoft-float.
12863 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12865 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12867 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12869 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12872 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12873 (_FPU_GETCW): Use initial "__" on variable and field names but not
12874 on macro parameter name.
12875 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12876 parentheses around reference to macro parameter.
12878 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12880 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12882 (ctype_startup): Use uint32_t in cast and sizeof for
12885 2013-09-11 Jia Liu <proljc@gmail.com>
12887 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12889 [__FreeBSD__]: Likewise.
12891 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12894 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12895 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12896 (strchr): Remove __strchr_sse42 ifunc selection.
12897 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12898 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12900 2013-09-11 Will Newton <will.newton@linaro.org>
12902 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12903 parameter to RES. Remove hardcoded 1000 value.
12904 * benchtests/bench-skeleton.c (main): Pass RES parameter
12905 to TIMING_INIT and multiply result by 1000.
12907 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12911 2013-09-11 Andreas Schwab <schwab@suse.de>
12913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12915 (O_TMPFILE) [__USE_GNU]: Define.
12916 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12919 2013-09-11 Will Newton <will.newton@linaro.org>
12922 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12925 2013-09-11 Will Newton <will.newton@linaro.org>
12928 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12931 2013-09-11 Will Newton <will.newton@linaro.org>
12934 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12937 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12939 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12940 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12941 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12942 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12943 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12945 2013-09-10 Allan McRae <allan@archlinux.org>
12948 * manual/arith.texi (Parsing of Floats): Clarify
12952 * manual/install.texi (Running make install): Mention
12954 * INSTALL: Regenerated.
12956 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12958 * csu/init-first.c (_init): Remove the !SHARED condition around
12959 FPU control word initialization.
12960 * elf/dl-support.c (_dl_fpu_control): New variable.
12961 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12962 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12963 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12964 * math/test-fpucw-static.c: New file.
12965 * math/test-fpucw-ieee.c: New file.
12966 * math/test-fpucw-ieee-static.c: New file.
12967 * math/Makefile (tests): Add `test-fpucw-ieee' and
12969 (tests-static): New variable.
12970 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12972 [($(build-shared),yes)]
12973 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12975 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12978 2013-09-09 Allan McRae <allan@archlinux.org>
12981 * manual/string.texi (Collation Functions): Fix typo in
12983 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12986 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12989 * libio/memstream.c (open_memstream): Fix memory leak.
12990 * libio/wmemstream.c (open_wmemstream): Likewise.
12993 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12995 2013-09-09 Will Newton <will.newton@linaro.org>
12997 * malloc/Makefile: Add tst-realloc to tests.
12998 * malloc/tst-realloc.c: New file.
13000 2013-09-09 Allan McRae <allan@archlinux.org>
13003 * COPYING: Update from GNU website to fix FSF address.
13004 * COPYING.LIB: Likewise.
13006 2013-09-06 David S. Miller <davem@davemloft.net>
13008 * po/zh_TW.po: Update Chinese (traditional) translation from
13009 translation project.
13011 2013-09-06 Richard Sandiford <richard@codesourcery.com>
13012 Joseph Myers <joseph@codesourcery.com>
13014 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13016 (obstack_chunk_alloc): New macro.
13017 (obstack_chunk_free): Likewise.
13018 (record_offset): New function.
13019 (init_locale_data): Likewise.
13020 (align_locale_data): Likewise.
13021 (add_locale_empty): Likewise.
13022 (add_locale_raw_data): Likewise.
13023 (add_locale_raw_obstack): Likewise.
13024 (add_locale_string): Likewise.
13025 (add_locale_wstring): Likewise.
13026 (add_locale_uint32): Likewise.
13027 (add_locale_uint32_array): Likewise.
13028 (add_locale_char): Likewise.
13029 (start_locale_structure): Likewise.
13030 (end_locale_structure): Likewise.
13031 (start_locale_prelude): Likewise.
13032 (end_locale_prelude): Likewise.
13033 (write_locale_data): Take locale_file structure rather than an
13035 * locale/programs/locfile.h: Include "obstack.h".
13036 (struct locale_file): Change to store locale file contents instead
13038 (init_locale_data): New prototype.
13039 (align_locale_data): Likewise.
13040 (add_locale_empty): Likewise.
13041 (add_locale_raw_data): Likewise.
13042 (add_locale_raw_obstack): Likewise.
13043 (add_locale_string): Likewise.
13044 (add_locale_wstring): Likewise.
13045 (add_locale_uint32): Likewise.
13046 (add_locale_uint32_array): Likewise.
13047 (add_locale_char): Likewise.
13048 (start_locale_structure): Likewise.
13049 (end_locale_structure): Likewise.
13050 (start_locale_prelude): Likewise.
13051 (end_locale_prelude): Likewise.
13052 (write_locale_data): Update prototype.
13053 * locale/programs/3level.h (struct TABLE): Remove result field.
13054 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13055 Use new locale_file interface.
13056 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13057 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13058 * locale/programs/ld-address.c (address_output): Use new
13059 locale_file interface.
13060 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13062 (collate_finish): Don't call collseq_table_finalize.
13063 (collate_output): Use new locale_file interface.
13064 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13066 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13067 (TABLE): Move defines earlier in file.
13068 (ELEMENT): Likewise.
13069 (DEFAULT): Likewise.
13070 (wctrans_table_add): Move macro and inline function earlier in
13072 (struct wctype_table): Move type earlier in file.
13073 (add_locale_wctype_table): New static prototype.
13074 (struct locale_ctype_t): Use logical types instead of struct iovec
13075 pointers for members.
13076 (ctype_output): Use new locale_file interface.
13077 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13078 new locale_file interface.
13079 (allocate_arrays): Update for use of new locale_file interface.
13080 * locale/programs/ld-identification.c (identification_output): Use
13081 new locale_file interface.
13082 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13083 * locale/programs/ld-messages.c (messages_output): Likewise.
13084 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13085 * locale/programs/ld-name.c (name_output): Likewise.
13086 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13087 * locale/programs/ld-paper.c (paper_output): Likewise.
13088 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13089 * locale/programs/ld-time.c (time_output): Likewise.
13091 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13093 * benchtests/Makefile: Add memrchr benchmark.
13094 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13095 benchmark as memrchr.
13096 * benchtests/bench-memrchr-ifunc.c: New file.
13097 * benchtests/bench-memrchr.c: New file.
13099 2013-09-06 Will Newton <will.newton@linaro.org>
13101 * benchtests/Makefile (string-bench): Add memcpy.
13103 2013-09-05 Carlos O'Donell <carlos@redhat.com>
13104 Cong Wang <amwang@redhat.com>
13107 * sysdeps/unix/sysv/linux/bits/in.h
13108 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13109 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13110 before __USE_KERNEL_IPV6_DEFS uses.
13111 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13113 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13114 sockaddr_in6, or ipv6_mreq.
13116 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13118 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13119 memory access for final bytes in some large inputs.
13120 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13122 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13124 * string/test-memrchr.c: New file.
13125 * string/test-memrchr-ifunc.c: New file.
13126 * string/Makefile: Add new memrchr testcase.
13128 2013-09-05 Mike Frysinger <vapier@gentoo.org>
13130 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13131 fanotify_init returns EPERM.
13133 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13135 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13137 (top level): Treat second token from macro or constant entries for
13138 allowed headers as allowed.
13139 * include/complex.h: Condition internal declarations on
13141 * include/fenv.h: Condition include of <stdbool.h> and internal
13142 declarations on [!_ISOMAC].
13144 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13147 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13149 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13151 * configure.in (--enable-versioning): Remove configure option.
13152 (libc_cv_asm_symver_directive): Remove configure test.
13153 (libc_cv_ld_version_script_option): Likewise.
13154 (VERSIONING): Remove variable and AC_SUBST.
13155 (DO_VERSIONING): Remove AC_DEFINE.
13156 * configure: Regenerated.
13157 * config.h.in (DO_VERSIONING): Remove macro.
13158 * Makerules [$(versioning) = yes]: Change conditionals to
13159 [$(build-shared) = yes].
13160 * config.make.in (versioning): Remove variable.
13161 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13162 [$(build-shared) = yes].
13163 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13164 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13165 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13166 [$(build-shared) = yes].
13167 * extra-lib.mk [$(versioning) = yes]: Likewise.
13168 * hurd/Makefile [$(versioning) = yes]: Likewise.
13169 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13171 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13173 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13174 [SHARED && !NO_HIDDEN].
13175 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13177 [SHARED && DO_VERSIONING]: Likewise..
13178 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13179 [$(build-shared) = yes].
13180 * manual/install.texi (--disable-versioning): Remove
13182 * INSTALL: Regenerated.
13183 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13185 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13186 [$(build-shared) = yes].
13187 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13188 * sysdeps/i386/i686/multiarch/strstr-c.c
13189 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13190 [SHARED && !NO_HIDDEN].
13191 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13192 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13193 * sysdeps/powerpc/powerpc32/dl-machine.c
13194 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13195 * sysdeps/powerpc/powerpc32/sysdep.h
13196 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13197 to [SHARED && PIC && !NO_HIDDEN].
13198 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13199 conditional to [SHARED].
13201 2013-09-04 Will Newton <will.newton@linaro.org>
13203 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13204 * benchtests/bench-string.h: Include bench-timing.h instead
13205 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13206 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13207 call to HP_TIMING_DIFF_INIT.
13208 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13209 instead of hp-timing.h macros.
13210 * benchtests/bench-memchr.c: Likewise.
13211 * benchtests/bench-memcmp.c: Likewise.
13212 * benchtests/bench-memcpy.c: Likewise.
13213 * benchtests/bench-memmem.c: Likewise.
13214 * benchtests/bench-memmove.c: Likewise.
13215 * benchtests/bench-memset.c: Likewise.
13216 * benchtests/bench-rawmemchr.c: Likewise.
13217 * benchtests/bench-strcasecmp.c: Likewise.
13218 * benchtests/bench-strcasestr.c: Likewise.
13219 * benchtests/bench-strcat.c: Likewise.
13220 * benchtests/bench-strchr.c: Likewise.
13221 * benchtests/bench-strcmp.c: Likewise.
13222 * benchtests/bench-strcpy.c: Likewise.
13223 * benchtests/bench-strcpy_chk.c: Likewise.
13224 * benchtests/bench-strlen.c: Likewise.
13225 * benchtests/bench-strncasecmp.c: Likewise.
13226 * benchtests/bench-strncat.c: Likewise.
13227 * benchtests/bench-strncmp.c: Likewise.
13228 * benchtests/bench-strncpy.c: Likewise.
13229 * benchtests/bench-strnlen.c: Likewise.
13230 * benchtests/bench-strpbrk.c: Likewise.
13231 * benchtests/bench-strrchr.c: Likewise.
13232 * benchtests/bench-strspn.c: Likewise.
13233 * benchtests/bench-strstr.c: Likewise.
13235 2013-09-04 Will Newton <will.newton@linaro.org>
13237 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13239 2013-09-03 Joseph Myers <joseph@codesourcery.com>
13242 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13243 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13244 * math/libm-test.inc (lgamma_test_data): Add more tests.
13245 * sysdeps/i386/fpu/libm-test-ulps: Update.
13246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13248 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
13250 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13251 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13254 Add strcmp-sse2-unaligned
13255 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13257 2013-09-02 Mike Frysinger <vapier@gentoo.org>
13259 * Versions.def (libc): Add GLIBC_2.19.
13261 2013-09-02 Mike Frysinger <vapier@gentoo.org>
13263 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13264 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13266 2013-09-02 Joseph Myers <joseph@codesourcery.com>
13269 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13270 intermediate calculations in recurrence.
13271 (__ieee754_ynf): Likewise.
13272 * math/libm-test.inc (jn_test_data): Do not allow spurious
13273 underflow exception. Add more tests.
13274 (yn_test_data): Add more tests.
13275 * sysdeps/i386/fpu/libm-test-ulps: Update.
13276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13278 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
13280 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13282 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13284 * csu/init-first.c: Fix then/than typos.
13285 * locale/programs/ld-collate.c: Likewise.
13286 * locale/programs/linereader.h: Likewise.
13287 * manual/charset.texi: Likewise.
13288 * manual/filesys.texi: Likewise.
13289 * manual/stdio.texi: Likewise.
13290 * manual/string.texi: Likewise.
13291 * stdlib/fmtmsg.c: Likewise.
13292 * sysdeps/i386/stpncpy.S: Likewise.
13293 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13294 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13295 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13296 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13298 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13300 * elf/dl-open.c: Fix typos.
13301 * iconvdata/gbbig5.c: Likewise.
13302 * iconvdata/iso-2022-jp.c: Likewise.
13303 * iconv/gconv_int.h: Likewise.
13304 * iconv/loop.c: Likewise.
13305 * nis/rpcsvc/nis.h: Likewise.
13306 * resolv/ns_name.c: Likewise.
13307 * stdio-common/vfscanf.c: Likewise.
13308 * streams/stropts.h: Likewise.
13309 * sunrpc/rpc_thread.c: Likewise.
13310 * sysdeps/i386/strpbrk.S: Likewise.
13311 * sysdeps/ieee754/k_standard.c: Likewise.
13312 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13313 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13314 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13315 * sysdeps/mach/hurd/profil.c: Likewise.
13316 * sysdeps/s390/dl-procinfo.h: Likewise.
13317 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13318 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13319 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13320 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13321 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13323 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13325 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13328 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13330 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13331 aix specific files.
13332 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13333 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13334 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13335 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13336 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13337 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13338 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13339 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13341 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13342 Roland McGrath <roland@hack.frob.com>
13344 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13345 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13347 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13349 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13350 __executable_start symbol instead of _start.
13352 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13354 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13355 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13357 * sysdeps/gnu/ldsodefs.h: ... this new file.
13359 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13360 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13361 instead of ELFOSABI_LINUX.
13363 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13364 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13365 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13366 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13368 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13369 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13370 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13372 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13373 (ibm_extended_long_double): Add ieee_nan member.
13374 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13375 (do_test): New function.
13377 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13379 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13380 functions, renamed from truncdfsf_test, trunctfsf_test,
13382 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13384 (do_test): Run all these.
13386 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13388 * argp/argp-help.c: Fix typos.
13389 * argp/argp-parse.c: Likewise.
13390 * debug/backtracesyms.c: Likewise.
13391 * elf/elf.h: Likewise.
13392 * malloc/malloc.c: Likewise.
13393 * nis/nis_print.c: Likewise.
13394 * resolv/res_comp.c: Likewise.
13395 * stdlib/stdlib.h: Likewise.
13396 * sunrpc/clnt_tcp.c: Likewise.
13397 * sunrpc/clnt_udp.c: Likewise.
13398 * sunrpc/clnt_unix.c: Likewise.
13399 * sysdeps/unix/bsd/ptsname.c: Likewise.
13400 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13401 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13408 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13410 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13412 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13415 2013-08-27 Mike Frysinger <vapier@gentoo.org>
13418 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13419 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13420 ($(objpfx)bug-dl-leaf): New rule.
13421 ($(objpfx)bug-dl-leaf.so): Likewise.
13422 ($(objpfx)bug-dl-leaf.out): Likewise.
13423 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13424 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13425 * dlfcn/bug-dl-leaf.c: New test.
13426 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13427 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13428 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13429 (dlclose): Likewise.
13430 (dlmopen): Likewise.
13432 2013-08-27 Roland McGrath <roland@hack.frob.com>
13434 * include/netdb.h [!_ISOMAC]:
13435 Don't include <tls.h>.
13436 (h_errno, __libc_h_errno): Move declaration and macros out of
13439 * include/resolv.h [_RESOLV_H_]:
13440 Don't include <tls.h>.
13441 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13442 * resolv/res_libc.c: Don't include <tls.h>.
13443 (_res): Use __attribute__ ((nocommon)) in place of
13444 __attribute__ ((section (".bss"))).
13446 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13447 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13449 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13451 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13452 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13454 * resolv/res_mkquery.c: Include <sys/time.h>.
13456 * inet/ifreq.c: Moved to ...
13457 * sysdeps/unix/ifreq.c: ... here.
13458 * inet/ifreq.c: New file, true stub version.
13460 * socket/sa_len.c: New file.
13461 * socket/Makefile (aux): Add it.
13462 * sysdeps/unix/sysv/linux/Makefile
13463 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13464 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13465 and #include <socket/sa_len.c>.
13466 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13467 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13469 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13470 * bits/socket.h: ... here.
13472 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13473 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13474 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13476 2013-08-27 Andreas Schwab <schwab@suse.de>
13479 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13480 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13481 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13482 * string/test-strcasecmp.c (test_main): Run tests in several
13484 * string/test-strncasecmp.c (test_main): Likewise.
13486 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13487 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13488 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13490 (__strncasecmp_ssse3) [PIC]: Likewise.
13492 2013-08-26 Roland McGrath <roland@hack.frob.com>
13494 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13496 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13497 instead of explicitly declaring xdecrypt.
13498 * nis/nss_nis/nis-publickey.c: Likewise.
13500 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13503 * nscd/aicache.c: Include res_hconf.h.
13504 (addhstaiX): Initialize res_hconf.
13506 2013-08-26 Andreas Schwab <schwab@suse.de>
13508 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13509 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13511 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13513 * nscd/aicache.c (addhstaiX): Fix indentation.
13515 2013-08-25 Mike Frysinger <vapier@gentoo.org>
13517 * configure.ac: Quote $build_pt_chown test.
13518 * configure: Regenerated.
13520 2013-08-23 Joseph Myers <joseph@codesourcery.com>
13523 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13524 * math/s_cexpf.c (__cexpf): Likewise.
13525 * math/s_cexpl.c (__cexpl): Likewise.
13526 * math/libm-test.inc (cexp_test_data): Correct expected return
13527 value for NaN + i0. Add another test.
13529 2013-08-22 David S. Miller <davem@davemloft.net>
13531 * po/ca.po: Update Catalan translation from translation project.
13532 * po/uk.po: Add Ukrainian translations from translation project.
13534 2013-08-21 Joseph Myers <joseph@codesourcery.com>
13537 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13538 is infinite, not alongside NaN test.
13539 * math/s_fdimf.c (__fdimf): Likewise.
13540 * math/s_fdiml.c (__fdiml): Likewise.
13541 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13542 errno is unchanged.
13544 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
13546 * argp/argp-help.c: Fix typos.
13547 * crypt/speeds.c: Likewise.
13548 * csu/check_fds.c: Likewise.
13549 * elf/dl-load.c: Likewise.
13550 * elf/dl-open.c: Likewise.
13551 * elf/reldep3.c: Likewise.
13552 * elf/reldep.c: Likewise.
13553 * elf/sprof.c: Likewise.
13554 * iconv/iconv_charmap.c: Likewise.
13555 * iconv/skeleton.c: Likewise.
13556 * iconv/strtab.c: Likewise.
13557 * io/lockf64.c: Likewise.
13558 * libio/libioP.h: Likewise.
13559 * resolv/gai_notify.c: Likewise.
13560 * resolv/ns_name.c: Likewise.
13561 * resolv/ns_samedomain.c: Likewise.
13562 * resolv/res_send.c: Likewise.
13563 * stdlib/random.c: Likewise.
13564 * sunrpc/rpc/xdr.h: Likewise.
13565 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13566 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13567 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13568 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13569 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13570 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13571 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13572 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13573 * sysdeps/mach/hurd/check_fds.c: Likewise.
13574 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13575 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13576 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13577 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13578 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13579 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13580 * sysdeps/pthread/aio_notify.c: Likewise.
13581 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13582 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13583 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13584 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13585 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13587 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13589 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13590 version if bit_Slow_SSE4_2 is set.
13591 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13592 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13594 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13597 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13598 trampoline stack frame information.
13599 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13600 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13601 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13602 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13603 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13604 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13605 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13606 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13608 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13609 interrupting a syscall and set with option SA_SIGINFO.
13611 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13614 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13615 argument is infinite.
13616 * math/s_cprojf.c (__cprojf): Likewise.
13617 * math/s_cprojl.c (__cprojl): Likewise.
13618 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13619 * math/libm-test.inc (cproj_test_data): Add more tests.
13621 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13623 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13624 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13625 size. Use __ffs to determine corresponding shift.
13627 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13628 Roland McGrath <roland@hack.frob.com>
13630 * Makefile (INSTALL): Remove trailing blank lines from output of
13633 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13635 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13636 Align 32 bit compat elf_greg to 8 bytes.
13638 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13640 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13642 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13644 * string/strcoll_l.c (coll_seq): New structure.
13645 (get_next_seq_cached): New function.
13646 (get_next_seq): New function.
13647 (do_compare): New function.
13648 (STRCOLL): Use GNU style definition. Simplify implementation
13649 by using get_next_seq, get_next_seq_cached and do_compare.
13651 2013-08-16 Florian Weimer <fweimer@redhat.com>
13655 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13657 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13659 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13660 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13661 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13663 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13664 GETDENTS_64BIT_ALIGNED.
13665 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13666 * manual/filesys.texi (Reading/Closing Directory): Document
13667 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13669 * manual/conf.texi (Limits for Files): Add portability note to
13670 NAME_MAX, PATH_MAX.
13671 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13673 2013-08-13 Andreas Schwab <schwab@suse.de>
13676 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13678 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13679 LDBL_MAX_EXP >= 16384]: Add tests for it.
13681 2013-08-12 David S. Miller <davem@davemloft.net>
13683 * version.h (RELEASE): Set to "development".
13684 (VERSION): Set to "2.18.90".
13685 * NEWS: Add 2.19 section.
13687 2013-08-03 David S. Miller <davem@davemloft.net>
13689 * po/ko.po: Update Korean translation from translation project.
13691 2013-08-01 David S. Miller <davem@davemloft.net>
13693 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13694 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13697 2013-07-30 David S. Miller <davem@davemloft.net>
13699 * po/fr.po: Update French translation from translation project.
13701 2013-07-28 David S. Miller <davem@davemloft.net>
13703 * po/cs.po: Update Czech translation from translation project.
13705 * po/sv.po: Update Swedish translation from translation project.
13707 2013-07-27 David S. Miller <davem@davemloft.net>
13709 * po/eo.po: Update Esperanto translation from translation project.
13711 * po/vi.po: Update Vietnamese translation from translation project.
13713 * po/de.po: Update German translation from translation project.
13715 2013-07-26 David S. Miller <davem@davemloft.net>
13717 * po/bg.po: Update Bulgarian translation from translation project.
13719 * po/nl.po: Update Dutch translation from translation project.
13720 * po/pl.po: Update Polish translation from translation project.
13721 * po/ru.po: Update Russian translation from translation project.
13723 2013-07-24 David S. Miller <davem@davemloft.net>
13725 * po/libc.pot: Update.
13727 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13729 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13730 variable page size.
13731 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13732 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13733 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13735 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13737 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13739 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13740 Andreas Schwab <schwab@suse.de>
13741 Roland McGrath <roland@hack.frob.com>
13742 Joseph Myers <joseph@codesourcery.com>
13743 Carlos O'Donell <carlos@redhat.com>
13746 * config.h.in: Define HAVE_PT_CHOWN.
13747 * config.make.in (build-pt-chown): New variable.
13748 * configure.in (--enable-pt_chown): New configure option.
13749 * configure: Regenerate.
13750 * login/Makefile: Include Makeconfig. Build pt_chown only if
13751 build-pt-chown is enabled.
13752 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13753 pt_chown to fix pty ownership.
13754 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13756 * manual/install.texi (Configuring and compiling): Mention
13757 --enable-pt_chown. Add @findex for grantpt.
13758 * INSTALL: Regenerate.
13760 2013-07-20 David S. Miller <davem@davemloft.net>
13762 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13763 difference between 32-bit and 64-bit.
13765 2013-07-15 Carlos O'Donell <carlos@redhat.com>
13768 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13769 Avoid system header dependency with -ffreestanding.
13770 ($(objpfx)bits/syscall%d): Likewise.
13772 2013-07-13 David S. Miller <davem@davemloft.net>
13774 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13775 underflows from atanl/atan2l due to bug 15319.
13776 (casinh_test_data): Likewise.
13778 2013-07-07 David S. Miller <davem@davemloft.net>
13780 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13782 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13784 * sysdeps/i386/fpu/libm-test-ulps: Update.
13785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13787 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13789 * configure.in (--enable-lock-elision): Fix message text.
13790 * INSTALL: Regenerate.
13791 * configure: Regenerate.
13793 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13797 2013-07-03 Andreas Jaeger <aj@suse.de>
13799 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13801 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13802 (ptrace_peeksiginfo_args): Add.
13803 (__ptrace_peeksiginfo_flags): Add.
13804 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13805 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13806 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13808 2013-07-03 Allan McRae <allan@archlinux.org>
13810 * sysdeps/i386/fpu/libm-test-ulps: Update.
13812 2013-07-02 David S. Miller <davem@davemloft.net>
13814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13816 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13820 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13822 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13825 2013-07-02 Andi Kleen <ak@linux.intel.com>
13827 * config.h.in (ENABLE_LOCK_ELISION): Add.
13828 * configure.in (--enable-lock-elision): Add option.
13829 * manual/install.texi: Document --enable lock elision.
13830 * configure: Regenerate
13831 * INSTALL: Regenerate.
13833 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13835 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13836 SSE4.2 strcasecmp for libc.a.
13837 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13839 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13842 * soft-fp/op-common.h (_FP_FMA): New macro.
13843 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13844 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13845 (_FP_MUL_MEAT_1_imm): ... here.
13846 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13847 (_FP_MUL_MEAT_1_wide): ... here.
13848 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13849 (_FP_MUL_MEAT_1_hard): ... here.
13850 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13851 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13852 (_FP_MUL_MEAT_2_wide): ... here.
13853 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13854 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13855 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13856 (_FP_MUL_MEAT_2_gmp): ... here.
13857 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13858 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13859 (_FP_MUL_MEAT_4_wide): ... here.
13860 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13861 (_FP_MUL_MEAT_4_gmp): ... here.
13862 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13863 (_FP_WFRACBITS_DW_S): Likewise.
13864 (_FP_WFRACXBITS_DW_S): Likewise.
13865 (_FP_HIGHBIT_DW_S): Likewise.
13866 (FP_FMA_S): Likewise.
13867 (_FP_FRAC_HIGH_DW_S): Likewise.
13868 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13869 (_FP_WFRACBITS_DW_D): Likewise.
13870 (_FP_WFRACXBITS_DW_D): Likewise.
13871 (_FP_HIGHBIT_DW_D): Likewise.
13872 (FP_FMA_D): Likewise.
13873 (_FP_FRAC_HIGH_DW_D): Likewise.
13874 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13875 (_FP_WFRACBITS_DW_E): Likewise.
13876 (_FP_WFRACXBITS_DW_E): Likewise.
13877 (_FP_HIGHBIT_DW_E): Likewise.
13878 (FP_FMA_E): Likewise.
13879 (_FP_FRAC_HIGH_DW_E): Likewise.
13880 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13881 (_FP_WFRACBITS_DW_Q): Likewise.
13882 (_FP_WFRACXBITS_DW_Q): Likewise.
13883 (_FP_HIGHBIT_DW_Q): Likewise.
13884 (FP_FMA_Q): Likewise.
13885 (_FP_FRAC_HIGH_DW_Q): Likewise.
13886 * soft-fp/fmasf4.c: New file.
13887 * soft-fp/fmadf4.c: Likewise.
13888 * soft-fp/fmatf4.c: Likewise.
13890 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13893 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13895 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13897 (index_Slow_SSE4_2): Likewise.
13898 (index_Prefer_PMINUB_for_stringop): Likewise.
13899 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13900 bit_Slow_SSE4_2 is set.
13901 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13902 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13904 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13906 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13907 rtld_global._dl_hwcap2.
13908 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13910 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13911 POWER8 feature descriptions defined in _dl_hwcap2.
13912 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13913 string handling for POWER8 feature bits.
13914 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13915 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13916 _dl_powerpc_cap_flags.
13917 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13918 * sysdeps/powerpc/rtld-global-offsets.sym
13919 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13920 _dl_hwcap2 in the rtld_global_ro structure.
13922 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13924 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13925 hardware capabilities in support of AT_HWCAP2.
13926 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13927 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13929 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13930 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13931 explicitly the unknown a_type display mechanism is used.
13932 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13933 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13935 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13936 to macro prototype for AT_HWCAP2 support.
13937 * sysdeps/i386/dl-procinfo.h: Likewise.
13938 * sysdeps/s390/dl-procinfo.h: Likewise.
13939 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13940 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13941 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13942 return -1 for unknown a_type display fallback.
13943 * sysdeps/sparc/dl-procinfo.h: Likewise.
13944 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13945 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13947 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13949 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13950 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13952 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13955 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13956 mprotect making __stack_prot writable.
13958 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13959 Joseph Myers <joseph@codesourcery.com>
13961 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13962 as being properly aligned.
13964 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13966 * dlfcn/modstatic5.c: New file.
13967 * dlfcn/tststatic5.c: New file.
13968 * dlfcn/Makefile (tests): Add tststatic5.
13969 (tests-static): Likewise.
13970 (modules-names): Add modstatic5.
13971 (tststatic5-ENV): New variable.
13972 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13975 * elf/dl-support.c (_dl_main_map): New variable.
13976 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13977 (_dl_nns, _dl_load_adds): Set to 1.
13978 (_dl_initial_searchlist): Refer to _dl_main_map.
13979 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13980 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13981 call to _dl_get_origin.
13982 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13984 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13985 * dlfcn/modstatic3.c: New file.
13986 * dlfcn/tststatic3.c: New file.
13987 * dlfcn/tststatic4.c: New file.
13988 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13989 (tests-static): Likewise.
13990 (modules-names): Add modstatic3.
13991 (tststatic3-ENV, tststatic4-ENV): New variables.
13992 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13993 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13995 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13997 * configure.in (CC): Require GCC version 4.4 or later.
13998 * configure: Regenerated.
13999 * manual/install.texi (Tools for Compilation): Update GCC version
14001 * INSTALL: Regenerated.
14003 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14006 * string/test-memcmp.c (check2): New.
14007 (main): Call check2.
14009 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14011 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14014 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14016 (dl_open_worker) [!SHARED]: ... here.
14018 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14020 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14022 2013-06-25 Richard Henderson <rth@redhat.com>
14024 * locale/programs/locarchive.c: Include <libc-internal.h>
14026 2013-06-25 Joseph Myers <joseph@codesourcery.com>
14028 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14029 trailing whitespace removed.
14031 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14034 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14035 * locale/programs/locarchive.c: Include libc-mmap.h.
14036 (prepare_address_space): Take two new outputs (the mmap base and len).
14037 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14039 (create_archive): Declare new mmap base and len values for
14040 prepare_address_space, and store the result in ah.
14041 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14042 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14043 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14044 Declare new mmap base and len values for
14045 prepare_address_space, and store the result in new_ah.
14046 (open_archive): Declare new mmap base and len values for
14047 prepare_address_space, and store the result in ah.
14048 (close_archive): If ah->mmap_base is not NULL, use that and
14049 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14050 * sysdeps/generic/libc-mmap.h: New file.
14052 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14054 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14055 (ALIGN_UP): Likewise.
14056 (PTR_ALIGN_DOWN): Likewise.
14057 (PTR_ALIGN_UP): Likewise.
14059 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14061 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14062 entry mapped to PPC_PLATFORM_POWER8.
14063 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14065 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14066 (_dl_string_platform): Add case for exporting platform position for
14068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14069 search path to sysdeps/powerpc/powerpc32/power8 directory.
14070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14071 search path to sysdeps/powerpc/powerpc64/power8 directory.
14072 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14073 power7 directories.
14074 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14075 power7 directories.
14077 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14079 * INSTALL: Regenerate.
14081 * nscd/connections.c (nscd_init): Fix comment.
14083 2013-06-22 Joseph Myers <joseph@codesourcery.com>
14085 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14088 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14089 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14091 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14093 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14095 (DL_DST_REQ_STATIC): Remove macro.
14097 2013-06-21 Joseph Myers <joseph@codesourcery.com>
14100 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14101 with a shift of 0 bits.
14103 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14105 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14108 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14111 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14113 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14115 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14116 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14117 accepts -fno-tree-loop-distribute-patterns.
14118 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14119 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14121 * string/memset.c (memset): Likewise.
14122 * string/test-memmove.c (simple_memmove): Disable loop transformation
14124 * string/test-memset.c (simple_memset): Likewise.
14125 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14126 * benchtests/bench-memset.c (simple_memset): Likewise.
14127 * configure: Regenerated.
14129 2013-06-20 Joseph Myers <joseph@codesourcery.com>
14131 * math/test-misc.c (main): Ignore fesetround failure when failures
14132 of subsequent rounding tests would be ignored.
14135 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14136 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14137 * math/fegetenv.c (__fegetenv): Return 0.
14138 * math/fegetexcept.c (fegetexcept): Return 0.
14139 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14141 * math/feholdexcpt.c (feholdexcept): Return 0.
14142 * math/fesetenv.c (__fesetenv): Return 0.
14143 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14144 argument FE_TONEAREST.
14145 * math/feupdateenv.c (__feupdateenv): Return 0.
14146 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14148 2013-06-18 Roland McGrath <roland@hack.frob.com>
14150 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14151 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14152 ($(objpfx)rtld-%.os rules): Use them.
14154 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14156 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14159 2013-06-17 Roland McGrath <roland@hack.frob.com>
14161 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14162 length of target pattern, then descending length of dependency pattern.
14163 * configure.in (AWK): Require gawk 3.1.2 or newer.
14164 * manual/install.texi (Tools for Compilation): Say that we do.
14165 * configure: Regenerated.
14167 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14168 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14169 * scripts/sysd-rules.awk: ... this new script.
14170 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14171 than a glob-style pattern.
14173 2013-06-17 Joseph Myers <joseph@codesourcery.com>
14175 * math/test-misc.c (main): Do not treat incorrectly rounded
14176 conversions as failure unless ROUNDING_TESTS passes.
14178 2013-06-15 Joseph Myers <joseph@codesourcery.com>
14181 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14182 restore exception state around main square root computation, then
14183 check for inexactness explicitly.
14185 * math/libm-test.inc (fma_test_data): Add another test.
14187 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14189 * manual/threads.texi (Non-POSIX Extensions): New document
14190 node. Document pthread_getattr_default_np and
14191 pthread_setattr_default_np.
14193 * Versions.def (libpthread): Add GLIBC_2.18.
14194 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14203 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14214 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14217 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14219 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14220 H.J. Lu <hjl.tools@gmail.com>
14223 * sysdeps/x86_64/rtld-memset.c: Remove file.
14224 * sysdeps/x86_64/rtld-memset.S: New file.
14226 2013-06-14 Joseph Myers <joseph@codesourcery.com>
14228 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14229 (test_in_one_mode): Take arguments for whether the rounding mode
14230 is supported for each floating-point type.
14231 (do_test): Pass new arguments to test_in_one_mode using
14234 2013-06-13 Roland McGrath <roland@hack.frob.com>
14236 * posix/tst-waitid.c (do_test): Distinguish different instances of
14237 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14238 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14239 before entering the kernel for waitpid.
14241 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14243 * NEWS: Fix note on clock function precision. Text by Roland
14246 2013-06-13 Roland McGrath <roland@hack.frob.com>
14248 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14249 it into place only when and if the sanity check passes.
14251 2013-06-13 Joseph Myers <joseph@codesourcery.com>
14253 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14254 output for whether conversion result is exact. Take argument
14255 indicating whether type is IBM long double.
14256 (round_for_all): Change need_exact field to ibm_ld.
14257 * stdlib/tst-strtod-round.c (struct exactness): New type.
14258 (struct test): Change bool ld_ok field to struct exactness exact.
14259 (TEST): Update all definitions for change to field.
14260 (tests): Regenerate array contents.
14261 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14262 field value. Check for IBM long double here.
14263 (do_test): Update calls to test_in_one_mode.
14265 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14268 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14269 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14271 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14274 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14275 generated by the compiler on loop optimizations.
14276 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14277 general definitions.
14279 2013-06-12 Joseph Myers <joseph@codesourcery.com>
14281 * math/bug-nextafter.c: Include <math-tests.h>.
14282 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14284 * math/bug-nexttoward.c: Include <math-tests.h>.
14285 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14287 * math/test-misc.c: Include <math-tests.h>.
14288 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14291 2013-06-12 Andreas Jaeger <aj@suse.de>
14293 * po/ia.po: Update Interlingua translation from translation
14296 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14298 * include/fenv.h: Include stdbool.h.
14299 (struct rm_ctx): New structure.
14300 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14302 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14303 (SET_RESTORE_ROUNDF): Likewise.
14304 (SET_RESTORE_ROUNDL): Likewise.
14305 (SET_RESTORE_ROUND_NOEX): Likewise.
14306 (SET_RESTORE_ROUND_NOEXF): Likewise.
14307 (SET_RESTORE_ROUND_NOEXL): Likewise.
14308 (SET_RESTORE_ROUND_53BIT): Likewise.
14309 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14310 (libc_feresetround_noexf_ctx): Likewise.
14311 (libc_feresetround_noexl_ctx): Likewise.
14312 (libc_feholdsetround_53bit_ctx): Likewise.
14313 (libc_feresetround_53bit_ctx): Likewise.
14314 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14315 (libc_feholdexcept_setround_sse_ctx): New function.
14316 (libc_fesetenv_sse_ctx): Likewise.
14317 (libc_feupdateenv_sse_ctx): Likewise.
14318 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14319 (libc_feholdexcept_setround_387_ctx): Likewise.
14320 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14321 (libc_feholdsetround_387_prec_ctx): Likewise.
14322 (libc_feholdsetround_387_ctx): Likewise.
14323 (libc_feholdsetround_387_53bit_ctx): Likewise.
14324 (libc_feholdsetround_sse_ctx): Likewise.
14325 (libc_feresetround_sse_ctx): Likewise.
14326 (libc_feresetround_387_ctx): Likewise.
14327 (libc_feupdateenv_387_ctx): Likewise.
14328 (libc_feholdexcept_setroundf_ctx): Define macro.
14329 (libc_fesetenvf_ctx): Likewise.
14330 (libc_feupdateenvf_ctx): Likewise.
14331 (libc_feholdsetroundf_ctx): Likewise.
14332 (libc_feresetroundf_ctx): Likewise.
14333 (libc_feholdexcept_setround_ctx): Likewise.
14334 (libc_fesetenv_ctx): Likewise.
14335 (libc_feupdateenv_ctx): Likewise.
14336 (libc_feholdsetround_ctx): Likewise.
14337 (libc_feresetround_ctx): Likewise.
14338 (libc_feholdexcept_setroundl_ctx): Likewise.
14339 (libc_feupdateenvl_ctx): Likewise.
14340 (libc_feholdsetroundl_ctx): Likewise.
14341 (libc_feresetroundl_ctx): Likewise.
14342 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14343 (libc_feresetround_53bit_ctx): Likewise.
14345 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14347 * locale/iso-639.def: Convert to UTF-8.
14349 2013-06-11 Joseph Myers <joseph@codesourcery.com>
14351 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14352 (EXCEPTION_TESTS_double): Likewise.
14353 (EXCEPTION_TESTS_long_double): Likewise.
14354 (EXCEPTION_TESTS): Likewise.
14355 * math/libm-test.inc (test_exceptions): Only test exceptions if
14356 EXCEPTION_TESTS (FLOAT).
14358 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14360 * benchtests/Makefile (string-bench): Add strcpy_chk and
14362 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14363 * benchtests/bench-stpcpy_chk.c: New file.
14364 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14365 * benchtests/bench-strcpy_chk.c: New file.
14366 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14368 (do_test): Likewise.
14370 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14372 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14373 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14374 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14375 with tabs where appropriate.
14376 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14378 [PPC_PLATFORM_PPC440]: Likewise.
14379 [PPC_PLATFORM_PPC464]: Likewise.
14380 [PPC_PLATFORM_PPC476]: Likewise.
14381 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14382 ppc464, and ppc476 platform strings merging from ports/
14385 2013-06-11 Andreas Schwab <schwab@suse.de>
14388 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14389 (from_ucs4_idx): Regenerate.
14390 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14391 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14392 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14393 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14394 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14395 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14396 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14397 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14398 from FROM_LOOP and TO_LOOP specific macros.
14399 (BODY): Handle combining characters.
14400 * iconvdata/BIG5HKSCS.irreversible: Update.
14401 * iconvdata/BIG5HKSCS.precomposed: New file.
14402 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14404 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14406 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14408 * include/sys/time.h: Fix indentation and add copyright header.
14410 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14411 (do_test): Likewise.
14412 * string/test-memchr.c (do_one_test): Likewise.
14413 (do_test): Likewise.
14414 * string/test-memcmp.c (do_one_test): Likewise.
14415 (do_test): Likewise.
14416 * string/test-memcpy.c (do_one_test): Likewise.
14417 (do_test): Likewise.
14418 * string/test-memmem.c (do_one_test): Likewise.
14419 (do_test): Likewise.
14420 (do_random_tests): Likewise.
14421 * string/test-memmove.c (do_one_test): Likewise.
14422 (do_test): Likewise.
14423 * string/test-memset.c (do_one_test): Likewise.
14424 (do_test): Likewise.
14425 * string/test-rawmemchr.c (do_one_test): Likewise.
14426 (do_test): Likewise.
14427 * string/test-strcasecmp.c (do_one_test): Likewise.
14428 (do_test): Likewise.
14429 * string/test-strcasestr.c (do_one_test): Likewise.
14430 (do_test): Likewise.
14431 * string/test-strcat.c (do_one_test): Likewise.
14432 (do_test): Likewise.
14433 * string/test-strchr.c (do_one_test): Likewise.
14434 (do_test): Likewise.
14435 * string/test-strcmp.c (do_one_test): Likewise.
14436 (do_test): Likewise.
14437 * string/test-strcpy.c (do_one_test): Likewise.
14438 (do_test): Likewise.
14439 * string/test-string.h: Likewise.
14440 (test_init): Likewise.
14441 * string/test-strlen.c (do_one_test): Likewise.
14442 (do_test): Likewise.
14443 * string/test-strncasecmp.c (do_one_test): Likewise.
14444 (do_test): Likewise.
14445 * string/test-strncat.c (do_one_test): Likewise.
14446 (do_test): Likewise.
14447 * string/test-strncmp.c (do_one_test): Likewise.
14448 (do_test_limit): Likewise.
14449 (do_test): Likewise.
14450 * string/test-strncpy.c (do_one_test): Likewise.
14451 (do_test): Likewise.
14452 * string/test-strnlen.c (do_one_test): Likewise.
14453 (do_test): Likewise.
14454 * string/test-strpbrk.c (do_one_test): Likewise.
14455 (do_test): Likewise.
14456 * string/test-strrchr.c (do_one_test): Likewise.
14457 (do_test): Likewise.
14458 * string/test-strspn.c (do_one_test): Likewise.
14459 (do_test): Likewise.
14460 * string/test-strstr.c (do_one_test): Likewise.
14461 (do_test): Likewise.
14463 * benchtests/Makefile (string-bench): Add string benchmarks.
14464 * benchtests/bench-bcopy-ifunc.c: New file.
14465 * benchtests/bench-bcopy.c: New file.
14466 * benchtests/bench-bzero-ifunc.c: New file.
14467 * benchtests/bench-bzero.c: New file.
14468 * benchtests/bench-memccpy-ifunc.c: New file.
14469 * benchtests/bench-memccpy.c: New file.
14470 * benchtests/bench-memchr-ifunc.c: New file.
14471 * benchtests/bench-memchr.c: New file.
14472 * benchtests/bench-memcmp-ifunc.c: New file.
14473 * benchtests/bench-memcmp.c: New file.
14474 * benchtests/bench-memmem-ifunc.c: New file.
14475 * benchtests/bench-memmem.c: New file.
14476 * benchtests/bench-memmove-ifunc.c: New file.
14477 * benchtests/bench-memmove.c: New file.
14478 * benchtests/bench-mempcpy-ifunc.c: New file.
14479 * benchtests/bench-mempcpy.c: New file.
14480 * benchtests/bench-memset-ifunc.c: New file.
14481 * benchtests/bench-memset.c: New file.
14482 * benchtests/bench-rawmemchr-ifunc.c: New file.
14483 * benchtests/bench-rawmemchr.c: New file.
14484 * benchtests/bench-stpcpy-ifunc.c: New file.
14485 * benchtests/bench-stpcpy.c: New file.
14486 * benchtests/bench-stpncpy-ifunc.c: New file.
14487 * benchtests/bench-stpncpy.c: New file.
14488 * benchtests/bench-strcasecmp-ifunc.c: New file.
14489 * benchtests/bench-strcasecmp.c: New file.
14490 * benchtests/bench-strcasestr-ifunc.c: New file.
14491 * benchtests/bench-strcasestr.c: New file.
14492 * benchtests/bench-strcat-ifunc.c: New file.
14493 * benchtests/bench-strcat.c: New file.
14494 * benchtests/bench-strchr-ifunc.c: New file.
14495 * benchtests/bench-strchr.c: New file.
14496 * benchtests/bench-strchrnul-ifunc.c: New file.
14497 * benchtests/bench-strchrnul.c: New file.
14498 * benchtests/bench-strcmp-ifunc.c: New file.
14499 * benchtests/bench-strcmp.c: New file.
14500 * benchtests/bench-strcpy-ifunc.c: New file.
14501 * benchtests/bench-strcpy.c: New file.
14502 * benchtests/bench-strcspn-ifunc.c: New file.
14503 * benchtests/bench-strcspn.c: New file.
14504 * benchtests/bench-strlen-ifunc.c: New file.
14505 * benchtests/bench-strlen.c: New file.
14506 * benchtests/bench-strncasecmp-ifunc.c: New file.
14507 * benchtests/bench-strncasecmp.c: New file.
14508 * benchtests/bench-strncat-ifunc.c: New file.
14509 * benchtests/bench-strncat.c: New file.
14510 * benchtests/bench-strncmp-ifunc.c: New file.
14511 * benchtests/bench-strncmp.c: New file.
14512 * benchtests/bench-strncpy-ifunc.c: New file.
14513 * benchtests/bench-strncpy.c: New file.
14514 * benchtests/bench-strnlen-ifunc.c: New file.
14515 * benchtests/bench-strnlen.c: New file.
14516 * benchtests/bench-strpbrk-ifunc.c: New file.
14517 * benchtests/bench-strpbrk.c: New file.
14518 * benchtests/bench-strrchr-ifunc.c: New file.
14519 * benchtests/bench-strrchr.c: New file.
14520 * benchtests/bench-strspn-ifunc.c: New file.
14521 * benchtests/bench-strspn.c: New file.
14522 * benchtests/bench-strstr-ifunc.c: New file.
14523 * benchtests/bench-strstr.c: New file.
14525 * benchtests/Makefile: Disable parallel execution of targets.
14526 (string-bench): Add memcpy.
14527 (benchset): New variable to store a list of benchmark sets.
14528 (bench-func): Renamed from bench.
14529 (bench-set): New target.
14530 (bench): Depend on bench-func and bench-set.
14531 * benchtests/README: Add section on benchmark sets.
14532 * benchtests/bench-memcpy-ifunc.c: New file.
14533 * benchtests/bench-memcpy.c: New file.
14534 * benchtests/bench-string.h: New file.
14536 2013-06-11 Andreas Schwab <schwab@suse.de>
14539 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14540 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14541 values in the triple.
14542 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14543 terminator in the group key.
14545 2013-06-11 Andreas Jaeger <aj@suse.de>
14547 * po/zh_TW.po: Update Chinese (traditional) translation from
14548 translation project.
14550 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14552 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14553 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14554 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14555 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14556 (clock_getcpuclockid): Likewise.
14557 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14558 Add weak_alias and libc_hidden_def.
14559 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14560 * rt/clock_gettime.c (clock_gettime): Rename to
14561 __clock_gettime. Add weak_alias and libc_hidden_def.
14562 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14563 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14564 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14565 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14566 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14568 * rt/clock_settime.c (clock_settime): Rename to
14569 __clock_settime. Add weak_alias and libc_hidden_def.
14570 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14572 2013-06-10 Joseph Myers <joseph@codesourcery.com>
14574 * mach/err_boot.sub: Remove trailing whitespace.
14575 * mach/err_ipc.sub: Likewise.
14576 * mach/err_mach.sub: Likewise.
14578 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14579 (ROUNDING_TESTS_double): Likewise.
14580 (ROUNDING_TESTS_long_double): Likewise.
14581 (ROUNDING_TESTS): Likewise.
14582 * math/libm-test.inc: Include <math-tests.h>.
14583 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14584 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14585 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14586 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14588 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14590 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14593 2013-06-08 Joseph Myers <joseph@codesourcery.com>
14595 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14596 otherwise empty TRANS lines.
14597 * sysdeps/gnu/errlist.c: Regenerated.
14599 * catgets/gencat.c (error_print): Use (void) in function
14601 * crypt/crypt_util.c (__init_des): Likewise.
14602 * crypt/speeds.c (Stop): Likewise.
14604 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14605 * inet/ruserpass.c (token): Likewise.
14606 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14607 * intl/localealias.c (extend_alias_table): Likewise.
14608 * intl/plural-exp.c (init_germanic_plural): Likewise.
14609 * libio/fcloseall.c (__fcloseall): Likewise.
14610 * libio/genops.c (_IO_flush_all): Likewise.
14611 (_IO_flush_all_linebuffered): Likewise.
14612 (_IO_cleanup): Likewise.
14613 (_IO_iter_begin): Likewise.
14614 (_IO_iter_end): Likewise.
14615 (_IO_list_lock): Likewise.
14616 (_IO_list_unlock): Likewise.
14617 (_IO_list_resetlock): Likewise.
14618 * libio/getchar.c (getchar): Likewise.
14619 * libio/getchar_u.c (getchar_unlocked): Likewise.
14620 * libio/getwchar.c (getwchar): Likewise.
14621 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14622 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14623 * login/getpt.c (__getpt): Likewise.
14624 * login/tst-utmp.c (main): Likewise.
14625 * malloc/hooks.c (__malloc_check_init): Likewise.
14626 * malloc/malloc.c (__malloc_stats): Likewise.
14627 * malloc/mtrace.c (tr_break): Likewise.
14628 (mtrace): Likewise.
14629 (muntrace): Likewise.
14630 * misc/fstab.c (endfsent): Likewise.
14631 * misc/getclktck.c (__getclktck): Likewise.
14632 * misc/getdtsz.c (__getdtablesize): Likewise.
14633 * misc/gethostid.c (gethostid): Likewise.
14634 * misc/getpagesize.c (__getpagesize): Likewise.
14635 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14636 (__get_nprocs): Likewise.
14637 (__get_phys_pages): Likewise.
14638 (__get_avphys_pages): Likewise.
14639 * misc/getttyent.c (getttyent): Likewise.
14640 (setttyent): Likewise.
14641 (endttyent): Likewise.
14642 * misc/getusershell.c (getusershell): Likewise.
14643 (endusershell): Likewise.
14644 (setusershell): Likewise.
14645 (initshells): Likewise.
14646 * misc/hsearch.c (__hdestroy): Likewise.
14647 * misc/sync.c (sync): Likewise.
14648 * misc/syslog.c (closelog_internal): Likewise.
14649 (closelog): Likewise.
14650 * misc/ttyslot.c (ttyslot): Likewise.
14651 * misc/vhangup.c (vhangup): Likewise.
14652 * posix/fork.c (__fork): Likewise.
14653 * posix/getegid.c (__getegid): Likewise.
14654 * posix/geteuid.c (__geteuid): Likewise.
14655 * posix/getgid.c (__getgid): Likewise.
14656 * posix/getpid.c (__getpid): Likewise.
14657 * posix/getppid.c (__getppid): Likewise.
14658 * posix/getuid.c (__getuid): Likewise.
14659 * posix/pause.c (pause): Likewise.
14660 * posix/setpgrp.c (setpgrp): Likewise.
14661 * posix/setsid.c (__setsid): Likewise.
14662 * posix/test-vfork.c (noop): Likewise.
14663 * resolv/gethnamaddr.c (_endhtent): Likewise.
14664 (_gethtent): Likewise.
14665 (ht_endhostent): Likewise.
14666 (gethostent): Likewise.
14667 (dns_service): Likewise.
14668 * stdlib/drand48.c (drand48): Likewise.
14669 * stdlib/lrand48.c (lrand48): Likewise.
14670 * stdlib/mrand48.c (mrand48): Likewise.
14671 * stdlib/rand.c (rand): Likewise.
14672 * stdlib/random.c (__random): Likewise.
14673 * stdlib/setenv.c (clearenv): Likewise.
14674 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14675 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14676 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14677 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14678 (__get_nprocs): Likewise.
14679 (__get_phys_pages): Likewise.
14680 (__get_avphys_pages): Likewise.
14681 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14682 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14683 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14684 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14685 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14686 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14687 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14688 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14689 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14690 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14691 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14692 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14693 * sysdeps/posix/clock.c (clock): Likewise.
14694 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14695 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14696 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14697 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14698 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14699 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14700 (__get_nprocs_conf): Likewise.
14701 (__get_phys_pages): Likewise.
14702 (__get_avphys_pages): Likewise.
14703 * time/clock.c (clock): Likewise.
14704 * time/tzset.c (__tzname_max): Likewise.
14706 2013-06-07 Joseph Myers <joseph@codesourcery.com>
14708 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14709 (__bswap_32): Do not use "register".
14710 * crypt/crypt.c (_ufc_doit_r): Likewise.
14711 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14712 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14713 * gmon/gmon.c (__monstartup): Likewise.
14714 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14715 * hurd/hurdmalloc.c (more_memory): Likewise.
14716 (malloc): Likewise.
14718 (realloc): Likewise.
14719 (malloc_fork_prepare): Likewise.
14720 (malloc_fork_parent): Likewise.
14721 (malloc_fork_child): Likewise.
14722 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14723 (_svcauth_des): Likewise.
14724 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14725 * inet/inet_net.c (inet_network): Likewise.
14726 * inet/inet_netof.c (inet_netof): Likewise.
14727 * inet/rcmd.c (__validuser2_sa): Likewise.
14728 * io/fts.c (fts_open): Likewise.
14729 (fts_load): Likewise.
14730 (fts_close): Likewise.
14731 (fts_read): Likewise.
14732 (fts_children): Likewise.
14733 (fts_build): Likewise.
14734 (fts_stat): Likewise.
14735 (fts_sort): Likewise.
14736 (fts_alloc): Likewise.
14737 (fts_lfree): Likewise.
14738 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14739 (_IO_file_xsgetn): Likewise.
14740 (_IO_file_xsgetn_mmap): Likewise.
14741 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14742 (_IO_cookie_write): Likewise.
14743 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14744 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14745 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14746 * malloc/obstack.c (_obstack_begin): Likewise.
14747 (_obstack_begin_1): Likewise.
14748 (_obstack_newchunk): Likewise.
14749 (_obstack_allocated_p): Likewise.
14750 (obstack_free): Likewise.
14751 (_obstack_memory_used): Likewise.
14752 * misc/getttyent.c (getttynam): Likewise.
14753 (getttyent): Likewise.
14756 * misc/getusershell.c (initshells): Likewise.
14757 * misc/syslog.c (__vsyslog_chk): Likewise.
14758 * misc/ttyslot.c (ttyslot): Likewise.
14759 * nis/nis_hash.c (__nis_hash): Likewise.
14760 * posix/fnmatch_loop.c (FCT): Likewise.
14761 * posix/getconf.c (print_all): Likewise.
14763 * posix/getopt.c (exchange): Likewise.
14764 * posix/glob.c (globfree): Likewise.
14765 (prefix_array): Likewise.
14766 (__glob_pattern_type): Likewise.
14767 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14768 (NS_GET32): Likewise.
14769 (NS_PUT16): Likewise.
14770 (NS_PUT32): Likewise.
14771 * resolv/gethnamaddr.c (getanswer): Likewise.
14772 (gethostbyname2): Likewise.
14773 (gethostbyaddr): Likewise.
14774 (_gethtent): Likewise.
14775 (_gethtbyname2): Likewise.
14776 (_gethtbyaddr): Likewise.
14777 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14778 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14779 * resolv/res_init.c (__res_vinit): Likewise.
14780 (net_mask): Likewise.
14781 * resolv/res_mkquery.c (outchar): Likewise.
14783 * stdio-common/printf_fp.c (outchar): Likewise.
14785 * stdio-common/printf_fphex.c (outchar): Likewise.
14787 * stdio-common/printf_size.c (outchar): Likewise.
14789 * stdio-common/test_rdwr.c (main): Likewise.
14790 * stdio-common/tfformat.c (matches): Likewise.
14791 * stdio-common/vfprintf.c (outchar): Likewise.
14792 (printf_unknown): Likewise.
14793 (buffered_vfprintf): Likewise.
14794 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14795 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14796 (ReadFile): Likewise.
14797 * stdlib/qsort.c (SWAP): Likewise.
14798 (_quicksort): Likewise.
14799 * stdlib/setenv.c (__add_to_environ): Likewise.
14800 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14801 * stdlib/strtol_l.c (__strtol_l): Likewise.
14802 * stdlib/tst-strtod.c (main): Likewise.
14803 * stdlib/tst-strtol.c (main): Likewise.
14804 * stdlib/tst-strtoll.c (main): Likewise.
14805 * string/bits/string2.h (__strcmp_cc): Likewise.
14806 (__strcmp_cg): Likewise.
14807 (__strcspn_c1): Likewise.
14808 (__strcspn_c2): Likewise.
14809 (__strcspn_c3): Likewise.
14810 (__strspn_c1): Likewise.
14811 (__strspn_c2): Likewise.
14812 (__strspn_c3): Likewise.
14813 (__strsep_1c): Likewise.
14814 (__strsep_2c): Likewise.
14815 (__strsep_3c): Likewise.
14816 * string/memccpy.c (__memccpy): Likewise.
14817 * string/stpcpy.c (__stpcpy): Likewise.
14818 * string/strcmp.c (strcmp): Likewise.
14819 * string/strrchr.c (strrchr): Likewise.
14820 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14822 * sysdeps/mach/hurd/getcwd.c
14823 (_hurd_canonicalize_directory_name_internal): Likewise.
14824 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14825 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14826 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14827 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14828 Likewise, in both definitions.
14829 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14831 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14832 64] (__bswap_64): Likewise.
14833 * time/test_time.c (main): Likewise.
14834 * time/tzfile.c (__tzfile_read): Likewise.
14835 (__tzfile_compute): Likewise.
14836 * time/tzset.c (__tzset_parse_tz): Likewise.
14837 (tzset_internal): Likewise.
14838 (compute_change): Likewise.
14839 * wcsmbs/wcscat.c (__wcscat): Likewise.
14840 * wcsmbs/wcschr.c (wcschr): Likewise.
14841 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14842 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14843 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14844 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14845 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14846 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14847 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14848 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14849 * wcsmbs/wmemset.c (wmemset): Likewise.
14851 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14853 * scripts/config.guess: Update to version 2013-05-16.
14854 * scripts/config.sub: Update to version 2013-04-24.
14855 * scripts/install-sh: Update to version 2011-11-20.07.
14856 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14857 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14859 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14861 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14862 * elf/sln.c: Likewise.
14863 * hurd/hurd/ioctl.h: Likewise.
14864 * hurd/hurdmalloc.c: Likewise.
14865 * hurd/xattr.c: Likewise.
14866 * include/shlib-compat.h: Likewise.
14867 * inet/ruserpass.c: Likewise.
14868 * libio/iofgets_u.c: Likewise.
14869 * libio/iofgetws_u.c: Likewise.
14870 * locale/programs/ld-identification.c: Likewise.
14871 * locale/programs/ld-time.c: Likewise.
14872 * mach/msg-destroy.c: Likewise.
14873 * nss/nss_files/files-netgrp.c: Likewise.
14874 * resolv/res_data.c: Likewise.
14875 * soft-fp/op-1.h: Likewise.
14876 * soft-fp/op-2.h: Likewise.
14877 * soft-fp/op-4.h: Likewise.
14878 * soft-fp/op-common.h: Likewise.
14879 * stdio-common/printf_fphex.c: Likewise.
14880 * stdlib/strtod_l.c: Likewise.
14881 * sunrpc/rpc/clnt.h: Likewise.
14882 * sysdeps/generic/framestate.c: Likewise.
14883 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14884 * sysdeps/i386/bsd-setjmp.S: Likewise.
14885 * sysdeps/i386/__longjmp.S: Likewise.
14886 * sysdeps/i386/setjmp.S: Likewise.
14887 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14888 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14889 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14890 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14891 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14892 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14893 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14894 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14895 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14896 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14897 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14898 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14899 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14900 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14901 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14902 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14903 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14904 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14905 * sysdeps/ieee754/support.c: Likewise.
14906 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14907 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14908 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14909 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14910 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14911 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14912 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14913 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14914 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14915 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14916 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14917 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14918 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14919 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14920 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14921 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14922 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14925 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14927 * posix/transbug.c: Remove executable mode.
14929 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14931 * crypt/speeds.c: Remove trailing whitespace.
14932 * dlfcn/default.c: Likewise.
14933 * elf/ifuncdep2.c: Likewise.
14934 * elf/ifuncmain1.c: Likewise.
14935 * elf/ifuncmain1vis.c: Likewise.
14936 * elf/testobj.h: Likewise.
14937 * elf/tst-stackguard1.c: Likewise.
14938 * gmon/sys/gmon.h: Likewise.
14939 * hurd/hurdmsg.c: Likewise.
14940 * hurd/new-fd.c: Likewise.
14941 * hurd/ports-get.c: Likewise.
14942 * iconvdata/ibm1008_420.c: Likewise.
14943 * inet/tst-getni1.c: Likewise.
14944 * inet/tst-getni2.c: Likewise.
14945 * libio/ioungetc.c: Likewise.
14946 * libio/wfiledoalloc.c: Likewise.
14947 * manual/libm-err-tab.pl: Likewise.
14948 * math/w_dremf.c: Likewise.
14949 * misc/ftruncate.c: Likewise.
14950 * posix/bug-glob2.c: Likewise.
14951 * posix/tst-pcre.c: Likewise.
14952 * posix/wait4.c: Likewise.
14953 * resolv/README: Likewise.
14954 * resolv/res_debug.h: Likewise.
14955 * resolv/tst-inet_ntop.c: Likewise.
14956 * setjmp/bug269-setjmp.c: Likewise.
14957 * soft-fp/extended.h: Likewise.
14958 * soft-fp/op-1.h: Likewise.
14959 * soft-fp/op-2.h: Likewise.
14960 * soft-fp/op-4.h: Likewise.
14961 * soft-fp/op-8.h: Likewise.
14962 * soft-fp/testit.c: Likewise.
14963 * stdio-common/bug16.c: Likewise.
14964 * stdlib/random.c: Likewise.
14965 * sunrpc/rpcsvc/rquota.x: Likewise.
14966 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14967 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14968 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14969 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14970 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14971 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14972 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14973 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14974 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14975 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14976 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14989 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14993 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14995 * sysdeps/ieee754/s_lib_version.c: Likewise.
14996 * sysdeps/mach/hurd/check_fds.c: Likewise.
14997 * sysdeps/mach/hurd/getsockname.c: Likewise.
14998 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14999 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15000 * sysdeps/powerpc/bits/link.h: Likewise.
15001 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15002 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15003 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15004 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15005 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15006 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15007 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15008 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15009 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15010 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15011 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15012 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15013 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15014 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15015 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15016 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15017 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15018 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15019 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15020 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15021 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15022 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15023 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15024 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15025 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15026 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15027 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15028 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15029 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15030 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15031 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15032 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15033 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15034 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15035 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15036 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15037 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15038 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15039 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15040 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15041 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15042 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15043 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15044 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15045 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15046 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15047 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15048 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15049 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15050 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15051 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15052 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15053 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15054 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15055 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15056 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15057 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15058 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15059 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15060 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15061 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15062 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15063 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15064 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15065 * sysdeps/powerpc/sysdep.h: Likewise.
15066 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15067 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15068 * sysdeps/sh/dl-trampoline.S: Likewise.
15069 * sysdeps/sh/memset.S: Likewise.
15070 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15071 * sysdeps/sh/strlen.S: Likewise.
15072 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15073 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15074 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15075 * sysdeps/sparc/sparc32/rem.S: Likewise.
15076 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15077 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15078 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15079 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15080 * sysdeps/sparc/sparc32/urem.S: Likewise.
15081 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15082 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15083 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15084 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15085 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15086 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15087 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15088 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15089 * sysdeps/unix/bsd/times.c: Likewise.
15090 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15091 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15095 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15096 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15097 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15098 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15099 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15100 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15101 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15102 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15103 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15104 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15105 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15106 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15107 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15108 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15109 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15110 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15111 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15112 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15113 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15114 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15115 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15116 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15117 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15118 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15119 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15120 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15121 * sysdeps/x86_64/strcspn.S: Likewise.
15123 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15125 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15126 generated file. Regenerate properly from gen-translit.pl.
15127 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15128 locale/C-translit.h.
15130 2013-06-05 Andreas Schwab <schwab@suse.de>
15133 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15134 week as 6 instead of -1.
15135 * time/tst-strptime.c (day_tests): Add test case.
15137 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15139 * sysdeps/generic/math_private.h
15140 (libc_feholdexcept_setround_53bit): Replace with
15141 libc_feholdsetround_53bit.
15142 (libc_feupdateenv_53bit): Replace with
15143 libc_feresetround_53bit.
15144 (SET_RESTORE_ROUND_53BIT): Adjust.
15146 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15148 * string/test-strchrnul.c: Add copyright header.
15150 * posix/tst-getaddrinfo4.c: Increase test timeout.
15152 2013-06-03 Carlos O'Donell <carlos@redhat.com>
15155 * math/libm-test.inc (MAX_EXP): Remove
15157 (ulp): Use MIN_EXP - MANT_DIG.
15158 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15160 2013-05-31 Carlos O'Donell <carlos@redhat.com>
15162 * po/be.po: Revert last change.
15163 * po/zh_CN.po: Likewise.
15164 * po/header.pot: Likewise.
15166 2013-05-31 Joseph Myers <joseph@codesourcery.com>
15168 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15169 link-libc-deps to empty as target-specific variable.
15170 * Makerules (link-libc-args): New variable.
15171 (libc-for-link): Likewise.
15172 (link-libc-deps): Likewise.
15173 (lib%.so): Depend on $(link-libc-deps). Link with
15175 (build-module): Link with $(link-libc-args).
15176 (build-module-asneeded): Likewise.
15177 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15179 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15180 target-specific variable.
15181 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15182 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15183 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15185 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15187 ($(objpfx)libpcprofile.so): Likewise.
15188 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15190 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15191 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15192 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15194 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15195 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15196 * login/Makefile ($(objpfx)libutil.so): Likewise.
15197 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15198 * math/Makefile ($(objpfx)libm.so): Likewise.
15199 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15200 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15201 variable instead of depending directly on libc.
15202 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15203 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15205 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15207 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15208 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15209 ($(objpfx)libanl.so): Likewise.
15210 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15212 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15214 * sysdeps/i386/fpu/Makefile: Remove file.
15215 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15216 ($(objpfx)libm.so): Remove dependency on ld.so.
15218 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
15221 * nis/yp_xdr.c (XDRMAXNAME): Define.
15222 (XDRMAXRECORD): Define.
15223 (xdr_domainname): Use XDRMAXNAME.
15224 (xdr_mapname): Likewise.
15225 (xdr_peername): Likewise.
15226 (xdr_keydat): Use XDRMAXRECORD.
15227 (xdr_valdat): Likewise.
15229 2013-05-30 Jeff Law <law@redhat.com>
15232 * manual/errno.texi (ESTALE): Update to account for more than
15233 just NFS file systems.
15234 * sysdeps/gnu/errlist.c: Regenerated.
15236 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15239 * elf/Makefile (tests): Add tst-null-argv.
15240 (modules-names): Add tst-null-argv-lib.
15241 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15242 (tst-null-argv-ENV): Set environment for tst-null-argv.
15243 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15244 (RTLD_PROGNAME): New macro.
15245 * elf/tst-null-argv.c: New test case.
15246 * elf/tst-null-argv-lib.c: Library for test case.
15247 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15248 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15249 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15250 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15251 * elf/dl-init.c (call_init): Likewise.
15252 (_dl_init): Likewise.
15253 * elf/dl-load.c (print_search_path): Likewise.
15254 (_dl_map_object): Likewise.
15255 * elf/dl-lookup.c (do_lookup_x): Likewise.
15256 (add_dependency): Likewise.
15257 (_dl_lookup_symbol_x): Likewise.
15258 (_dl_debug_bindings): Likewise.
15259 * elf/dl-open.c (_dl_show_scope): Likewise.
15260 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15261 * elf/dl-version.c (match_symbol): Likewise.
15262 (_dl_check_map_versions): Likewise.
15263 * elf/rtld.c (dl_main): Likewise.
15264 (print_unresolved): Use RTLD_PROGNAME.
15265 (print_missing_version): Likewise.
15266 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15267 (elf_machine_rela): Likewise.
15268 * sysdeps/powerpc/powerpc32/dl-machine.c
15269 (__process_machine_rela): Likewise.
15270 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15272 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15274 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15276 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15277 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15279 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15281 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15283 2013-05-28 Carlos O'Donell <carlos@redhat.com>
15285 * po/be.po: Add descriptive title.
15286 * po/zh_CN.po: Likewise.
15287 * po/header.pot: Likewise.
15289 2013-05-28 Mike Frysinger <vapier@gentoo.org>
15291 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15293 (enlarge_archive): Likewise.
15295 2013-05-28 Ben North <ben@redfrontdoor.org>
15297 * manual/arith.texi (frexp): It is the magnitude of the return
15298 value which lies in [0.5, 1), not the return value itself.
15300 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15304 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15306 * stdio-common/bug26.c (main): Correct fscanf template.
15308 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15309 declare _dl_skip_args.
15311 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15314 * manual/platform.texi: Add missing @end deftypefun.
15316 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15319 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15320 bit of mantissa of 2^16382.
15321 * math/libm-test.inc (hypot_test_data): Add more tests.
15323 * math/libm-test.inc: Add drem and pow10 to list of tested
15325 (pow10_test): New function.
15326 (drem_test): Likewise.
15327 (drem_test_tonearest): Likewise.
15328 (drem_test_towardzero): Likewise.
15329 (drem_test_downward): Likewise.
15330 (drem_test_upward): Likewise.
15331 (main): Call the new functions.
15333 * math/libm-test.inc (finite_test_data): Remove.
15334 (finite_test): Run tests from isfinite_test_data.
15335 (gamma_test_data): Remove.
15336 (gamma_test): Run tests from lgamma_test_data.
15337 * sysdeps/i386/fpu/libm-test-ulps: Update.
15338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15340 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15342 * manual/platform.texi: Add PowerPC PPR function set documentation.
15343 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15346 2013-05-24 Carlos O'Donell <carlos@redhat.com>
15348 * math/libm-test.inc (MAX_EXP): Define.
15350 (ulp): New function.
15351 (check_float_internal): Use ULPDIFF.
15352 (cpow_test): Disable failing test.
15353 (check_ulp): Test ulp() implemetnation.
15354 (main): Call check_ulp before starting tests.
15356 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15358 * math/gen-libm-test.pl (generate_testfile): Do not handle
15359 START_DATA and END_DATA.
15360 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15362 (acos_tonearest_test_data): Likewise.
15363 (acos_towardzero_test_data): Likewise.
15364 (acos_downward_test_data): Likewise.
15365 (acos_upward_test_data): Likewise.
15366 (acosh_test_data): Likewise.
15367 (asin_test_data): Likewise.
15368 (asin_tonearest_test_data): Likewise.
15369 (asin_towardzero_test_data): Likewise.
15370 (asin_downward_test_data): Likewise.
15371 (asin_upward_test_data): Likewise.
15372 (asinh_test_data): Likewise.
15373 (atan_test_data): Likewise.
15374 (atanh_test_data): Likewise.
15375 (atan2_test_data): Likewise.
15376 (cabs_test_data): Likewise.
15377 (cacos_test_data): Likewise.
15378 (cacosh_test_data): Likewise.
15379 (carg_test_data): Likewise.
15380 (casin_test_data): Likewise.
15381 (casinh_test_data): Likewise.
15382 (catan_test_data): Likewise.
15383 (catanh_test_data): Likewise.
15384 (cbrt_test_data): Likewise.
15385 (ccos_test_data): Likewise.
15386 (ccosh_test_data): Likewise.
15387 (ceil_test_data): Likewise.
15388 (cexp_test_data): Likewise.
15389 (cimag_test_data): Likewise.
15390 (clog_test_data): Likewise.
15391 (clog10_test_data): Likewise.
15392 (conj_test_data): Likewise.
15393 (copysign_test_data): Likewise.
15394 (cos_test_data): Likewise.
15395 (cos_tonearest_test_data): Likewise.
15396 (cos_towardzero_test_data): Likewise.
15397 (cos_downward_test_data): Likewise.
15398 (cos_upward_test_data): Likewise.
15399 (cosh_test_data): Likewise.
15400 (cosh_tonearest_test_data): Likewise.
15401 (cosh_towardzero_test_data): Likewise.
15402 (cosh_downward_test_data): Likewise.
15403 (cosh_upward_test_data): Likewise.
15404 (cpow_test_data): Likewise.
15405 (cproj_test_data): Likewise.
15406 (creal_test_data): Likewise.
15407 (csin_test_data): Likewise.
15408 (csinh_test_data): Likewise.
15409 (csqrt_test_data): Likewise.
15410 (ctan_test_data): Likewise.
15411 (ctan_tonearest_test_data): Likewise.
15412 (ctan_towardzero_test_data): Likewise.
15413 (ctan_downward_test_data): Likewise.
15414 (ctan_upward_test_data): Likewise.
15415 (ctanh_test_data): Likewise.
15416 (ctanh_tonearest_test_data): Likewise.
15417 (ctanh_towardzero_test_data): Likewise.
15418 (ctanh_downward_test_data): Likewise.
15419 (ctanh_upward_test_data): Likewise.
15420 (erf_test_data): Likewise.
15421 (erfc_test_data): Likewise.
15422 (exp_test_data): Likewise.
15423 (exp_tonearest_test_data): Likewise.
15424 (exp_towardzero_test_data): Likewise.
15425 (exp_downward_test_data): Likewise.
15426 (exp_upward_test_data): Likewise.
15427 (exp10_test_data): Likewise.
15428 (exp2_test_data): Likewise.
15429 (expm1_test_data): Likewise.
15430 (fabs_test_data): Likewise.
15431 (fdim_test_data): Likewise.
15432 (finite_test_data): Likewise.
15433 (floor_test_data): Likewise.
15434 (fma_test_data): Likewise.
15435 (fma_towardzero_test_data): Likewise.
15436 (fma_downward_test_data): Likewise.
15437 (fma_upward_test_data): Likewise.
15438 (fmax_test_data): Likewise.
15439 (fmin_test_data): Likewise.
15440 (fmod_test_data): Likewise.
15441 (fpclassify_test_data): Likewise.
15442 (frexp_test_data): Likewise.
15443 (gamma_test_data): Likewise.
15444 (hypot_test_data): Likewise.
15445 (ilogb_test_data): Likewise.
15446 (isfinite_test_data): Likewise.
15447 (isgreater_test_data): Likewise.
15448 (isgreaterequal_test_data): Likewise.
15449 (isinf_test_data): Likewise.
15450 (isless_test_data): Likewise.
15451 (islessequal_test_data): Likewise.
15452 (islessgreater_test_data): Likewise.
15453 (isnan_test_data): Likewise.
15454 (isnormal_test_data): Likewise.
15455 (issignaling_test_data): Likewise.
15456 (isunordered_test_data): Likewise.
15457 (j0_test_data): Likewise.
15458 (j1_test_data): Likewise.
15459 (jn_test_data): Likewise.
15460 (ldexp_test_data): Likewise.
15461 (lgamma_test_data): Likewise.
15462 (lrint_test_data): Likewise.
15463 (lrint_tonearest_test_data): Likewise.
15464 (lrint_towardzero_test_data): Likewise.
15465 (lrint_downward_test_data): Likewise.
15466 (lrint_upward_test_data): Likewise.
15467 (llrint_test_data): Likewise.
15468 (llrint_tonearest_test_data): Likewise.
15469 (llrint_towardzero_test_data): Likewise.
15470 (llrint_downward_test_data): Likewise.
15471 (llrint_upward_test_data): Likewise.
15472 (log_test_data): Likewise.
15473 (log10_test_data): Likewise.
15474 (log1p_test_data): Likewise.
15475 (log2_test_data): Likewise.
15476 (logb_test_data): Likewise.
15477 (logb_downward_test_data): Likewise.
15478 (lround_test_data): Likewise.
15479 (llround_test_data): Likewise.
15480 (modf_test_data): Likewise.
15481 (nearbyint_test_data): Likewise.
15482 (nextafter_test_data): Likewise.
15483 (nexttoward_test_data): Likewise.
15484 (pow_test_data): Likewise.
15485 (pow_tonearest_test_data): Likewise.
15486 (pow_towardzero_test_data): Likewise.
15487 (pow_downward_test_data): Likewise.
15488 (pow_upward_test_data): Likewise.
15489 (remainder_test_data): Likewise.
15490 (remainder_tonearest_test_data): Likewise.
15491 (remainder_towardzero_test_data): Likewise.
15492 (remainder_downward_test_data): Likewise.
15493 (remainder_upward_test_data): Likewise.
15494 (remquo_test_data): Likewise.
15495 (rint_test_data): Likewise.
15496 (rint_tonearest_test_data): Likewise.
15497 (rint_towardzero_test_data): Likewise.
15498 (rint_downward_test_data): Likewise.
15499 (rint_upward_test_data): Likewise.
15500 (round_test_data): Likewise.
15501 (scalb_test_data): Likewise.
15502 (scalbn_test_data): Likewise.
15503 (scalbln_test_data): Likewise.
15504 (signbit_test_data): Likewise.
15505 (sin_test_data): Likewise.
15506 (sin_tonearest_test_data): Likewise.
15507 (sin_towardzero_test_data): Likewise.
15508 (sin_downward_test_data): Likewise.
15509 (sin_upward_test_data): Likewise.
15510 (sincos_test_data): Likewise.
15511 (sinh_test_data): Likewise.
15512 (sinh_tonearest_test_data): Likewise.
15513 (sinh_towardzero_test_data): Likewise.
15514 (sinh_downward_test_data): Likewise.
15515 (sinh_upward_test_data): Likewise.
15516 (sqrt_test_data): Likewise.
15517 (tan_test_data): Likewise.
15518 (tan_tonearest_test_data): Likewise.
15519 (tan_towardzero_test_data): Likewise.
15520 (tan_downward_test_data): Likewise.
15521 (tan_upward_test_data): Likewise.
15522 (tanh_test_data): Likewise.
15523 (tgamma_test_data): Likewise.
15524 (trunc_test_data): Likewise.
15525 (y0_test_data): Likewise.
15526 (y1_test_data): Likewise.
15527 (yn_test_data): Likewise.
15528 (significand_test_data): Likewise.
15530 * math/gen-libm-test.pl (@functions): Remove variable.
15531 (generate_testfile): Don't handle START and END lines.
15532 * math/libm-test.inc (START): New macro.
15534 (END_COMPLEX): Likewise.
15535 (acos_test): Use END macro without arguments.
15536 (acos_test_tonearest): Likewise.
15537 (acos_test_towardzero): Likewise.
15538 (acos_test_downward): Likewise.
15539 (acos_test_upward): Likewise.
15540 (acosh_test): Likewise.
15541 (asin_test): Likewise.
15542 (asin_test_tonearest): Likewise.
15543 (asin_test_towardzero): Likewise.
15544 (asin_test_downward): Likewise.
15545 (asin_test_upward): Likewise.
15546 (asinh_test): Likewise.
15547 (atan_test): Likewise.
15548 (atanh_test): Likewise.
15549 (atan2_test): Likewise.
15550 (cabs_test): Likewise.
15551 (cacos_test): Use END_COMPLEX macro without arguments.
15552 (cacosh_test): Likewise.
15553 (carg_test): Use END macro without arguments.
15554 (casin_test): Use END_COMPLEX macro without arguments.
15555 (casinh_test): Likewise.
15556 (catan_test): Likewise.
15557 (catanh_test): Likewise.
15558 (cbrt_test): Use END macro without arguments.
15559 (ccos_test): Use END_COMPLEX macro without arguments.
15560 (ccosh_test): Likewise.
15561 (ceil_test): Use END macro without arguments.
15562 (cexp_test): Use END_COMPLEX macro without arguments.
15563 (cimag_test): Use END macro without arguments.
15564 (clog_test): Use END_COMPLEX macro without arguments.
15565 (clog10_test): Likewise.
15566 (conj_test): Likewise.
15567 (copysign_test): Use END macro without arguments.
15568 (cos_test): Likewise.
15569 (cos_test_tonearest): Likewise.
15570 (cos_test_towardzero): Likewise.
15571 (cos_test_downward): Likewise.
15572 (cos_test_upward): Likewise.
15573 (cosh_test): Likewise.
15574 (cosh_test_tonearest): Likewise.
15575 (cosh_test_towardzero): Likewise.
15576 (cosh_test_downward): Likewise.
15577 (cosh_test_upward): Likewise.
15578 (cpow_test): Use END_COMPLEX macro without arguments.
15579 (cproj_test): Likewise.
15580 (creal_test): Use END macro without arguments.
15581 (csin_test): Use END_COMPLEX macro without arguments.
15582 (csinh_test): Likewise.
15583 (csqrt_test): Likewise.
15584 (ctan_test): Likewise.
15585 (ctan_test_tonearest): Likewise.
15586 (ctan_test_towardzero): Likewise.
15587 (ctan_test_downward): Likewise.
15588 (ctan_test_upward): Likewise.
15589 (ctanh_test): Likewise.
15590 (ctanh_test_tonearest): Likewise.
15591 (ctanh_test_towardzero): Likewise.
15592 (ctanh_test_downward): Likewise.
15593 (ctanh_test_upward): Likewise.
15594 (erf_test): Use END macro without arguments.
15595 (erfc_test): Likewise.
15596 (exp_test): Likewise.
15597 (exp_test_tonearest): Likewise.
15598 (exp_test_towardzero): Likewise.
15599 (exp_test_downward): Likewise.
15600 (exp_test_upward): Likewise.
15601 (exp10_test): Likewise.
15602 (exp2_test): Likewise.
15603 (expm1_test): Likewise.
15604 (fabs_test): Likewise.
15605 (fdim_test): Likewise.
15606 (finite_test): Likewise.
15607 (floor_test): Likewise.
15608 (fma_test): Likewise.
15609 (fma_test_towardzero): Likewise.
15610 (fma_test_downward): Likewise.
15611 (fma_test_upward): Likewise.
15612 (fmax_test): Likewise.
15613 (fmin_test): Likewise.
15614 (fmod_test): Likewise.
15615 (fpclassify_test): Likewise.
15616 (frexp_test): Likewise.
15617 (gamma_test): Likewise.
15618 (hypot_test): Likewise.
15619 (ilogb_test): Likewise.
15620 (isfinite_test): Likewise.
15621 (isgreater_test): Likewise.
15622 (isgreaterequal_test): Likewise.
15623 (isinf_test): Likewise.
15624 (isless_test): Likewise.
15625 (islessequal_test): Likewise.
15626 (islessgreater_test): Likewise.
15627 (isnan_test): Likewise.
15628 (isnormal_test): Likewise.
15629 (issignaling_test): Likewise.
15630 (isunordered_test): Likewise.
15631 (j0_test): Likewise.
15632 (j1_test): Likewise.
15633 (jn_test): Likewise.
15634 (ldexp_test): Likewise.
15635 (lgamma_test): Likewise.
15636 (lrint_test): Likewise.
15637 (lrint_test_tonearest): Likewise.
15638 (lrint_test_towardzero): Likewise.
15639 (lrint_test_downward): Likewise.
15640 (lrint_test_upward): Likewise.
15641 (llrint_test): Likewise.
15642 (llrint_test_tonearest): Likewise.
15643 (llrint_test_towardzero): Likewise.
15644 (llrint_test_downward): Likewise.
15645 (llrint_test_upward): Likewise.
15646 (log_test): Likewise.
15647 (log10_test): Likewise.
15648 (log1p_test): Likewise.
15649 (log2_test): Likewise.
15650 (logb_test): Likewise.
15651 (logb_test_downward): Likewise.
15652 (lround_test): Likewise.
15653 (llround_test): Likewise.
15654 (modf_test): Likewise.
15655 (nearbyint_test): Likewise.
15656 (nextafter_test): Likewise.
15657 (nexttoward_test): Likewise.
15658 (pow_test): Likewise.
15659 (pow_test_tonearest): Likewise.
15660 (pow_test_towardzero): Likewise.
15661 (pow_test_downward): Likewise.
15662 (pow_test_upward): Likewise.
15663 (remainder_test): Likewise.
15664 (remainder_test_tonearest): Likewise.
15665 (remainder_test_towardzero): Likewise.
15666 (remainder_test_downward): Likewise.
15667 (remainder_test_upward): Likewise.
15668 (remquo_test): Likewise.
15669 (rint_test): Likewise.
15670 (rint_test_tonearest): Likewise.
15671 (rint_test_towardzero): Likewise.
15672 (rint_test_downward): Likewise.
15673 (rint_test_upward): Likewise.
15674 (round_test): Likewise.
15675 (scalb_test): Likewise.
15676 (scalbn_test): Likewise.
15677 (scalbln_test): Likewise.
15678 (signbit_test): Likewise.
15679 (sin_test): Likewise.
15680 (sin_test_tonearest): Likewise.
15681 (sin_test_towardzero): Likewise.
15682 (sin_test_downward): Likewise.
15683 (sin_test_upward): Likewise.
15684 (sincos_test): Likewise.
15685 (sinh_test): Likewise.
15686 (sinh_test_tonearest): Likewise.
15687 (sinh_test_towardzero): Likewise.
15688 (sinh_test_downward): Likewise.
15689 (sinh_test_upward): Likewise.
15690 (sqrt_test): Likewise.
15691 (tan_test): Likewise.
15692 (tan_test_tonearest): Likewise.
15693 (tan_test_towardzero): Likewise.
15694 (tan_test_downward): Likewise.
15695 (tan_test_upward): Likewise.
15696 (tanh_test): Likewise.
15697 (tgamma_test): Likewise.
15698 (trunc_test): Likewise.
15699 (y0_test): Likewise.
15700 (y1_test): Likewise.
15701 (yn_test): Likewise.
15702 (significand_test): Likewise.
15704 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
15707 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15709 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15712 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15713 __ppc_mdoio and __ppc_mdoom.
15714 * manual/platform.texi: Document new functions __ppc_yield,
15715 __ppc_mdoio and __ppc_mdoom.
15717 2013-05-22 Carlos O'Donell <carlos@redhat.com>
15719 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15720 (main): Mention "tls" pseudo-hwcap is legacy.
15721 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15723 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15725 * math/gen-libm-test.pl (parse_args): Output only string of
15726 arguments as text for test name, not full call or descriptions of
15727 tests for extra outputs.
15728 (generate_testfile): Do not pass function name to parse_args.
15729 Generate this_func variable from START.
15730 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15732 (struct test_ff_f_data): Likewise.
15733 (test_ff_f_data_nexttoward): Likewise.
15734 (struct test_fi_f_data): Likewise.
15735 (struct test_fl_f_data): Likewise.
15736 (struct test_if_f_data): Likewise.
15737 (struct test_fff_f_data): Likewise.
15738 (struct test_c_f_data): Likewise.
15739 (struct test_f_f1_data): Likewise. Remove field extra_name.
15740 (struct test_fF_f1_data): Likewise.
15741 (struct test_ffI_f1_data): Likewise.
15742 (struct test_c_c_data): Rename test_name field to arg_str.
15743 (struct test_cc_c_data): Likewise.
15744 (struct test_f_i_data): Likewise.
15745 (struct test_ff_i_data): Likewise.
15746 (struct test_f_l_data): Likewise.
15747 (struct test_f_L_data): Likewise.
15748 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15750 (COMMON_TEST_SETUP): New macro.
15751 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15752 (COMMON_TEST_CLEANUP): Likewise.
15753 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15754 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15756 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15757 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15759 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15760 (RUN_TEST_fff_f): Take argument string. Call new setup and
15762 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15763 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15765 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15766 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15768 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15769 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15771 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15772 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15774 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15775 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15777 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15778 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15780 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15781 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15783 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15784 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15786 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15787 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15789 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15790 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15792 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15793 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15795 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15796 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15798 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15799 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15801 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15802 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15804 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15805 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15807 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15809 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15811 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15812 to _sifields.sigfault.
15813 (si_addr_lsb): Define new macro.
15814 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15815 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15816 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15818 2013-05-03 Carlos O'Donell <carlos at redhat.com>
15821 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15823 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15825 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15826 loading the domain.
15828 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15830 * math/gen-libm-test.pl (parse_args): Do not include expected
15831 result in test name.
15832 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15833 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15834 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15835 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15836 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15839 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15841 * benchtests/Makefile: Sort function entries.
15843 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15844 tanh, asinh, acosh, atanh.
15845 * benchtests/acos-inputs: New file.
15846 * benchtests/acosh-inputs: New file.
15847 * benchtests/asin-inputs: New file.
15848 * benchtests/asinh-inputs: New file.
15849 * benchtests/atanh-inputs: New file.
15850 * benchtests/cosh-inputs: New file.
15851 * benchtests/log-inputs: New file.
15852 * benchtests/sinh-inputs: New file.
15853 * benchtests/tanh-inputs: New file.
15855 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15858 * posix/tst-getaddrinfo4.c: New test.
15859 * posix/Makefile (tests): Add it.
15861 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15864 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15865 when no services were used.
15866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15867 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15869 2013-05-21 Andreas Schwab <schwab@suse.de>
15872 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15873 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15875 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15876 redundant variable declarations and reallocation of buffer when
15877 parsing as IPv6 address. Always set NSS status when called from
15878 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15879 buffer too small. Correct computation of needed size.
15880 * nss/Makefile (tests): Add test-digits-dots.
15881 * nss/test-digits-dots.c: New test.
15883 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15885 * benchtests/Makefile: Remove instructions for adding
15887 * benchtests/README: New file to explain how to execute and
15888 enhance the benchmark tests.
15890 2013-05-21 Andreas Schwab <schwab@suse.de>
15893 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15894 * setjmp/tst-sigsetjmp.c: New test.
15896 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15898 * sysdeps/x86_64/memset.S (memset): New implementation.
15899 (__bzero): Likewise.
15900 (__memset_tail): New function.
15902 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15904 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15905 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15906 __memcpy_sse2_unaligned ifunc selection.
15907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15908 Add memcpy-sse2-unaligned.S.
15909 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15910 Add: __memcpy_sse2_unaligned.
15912 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15915 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15916 math_force_eval before restoring floating-point envrionment.
15917 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15918 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15920 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15922 (__nearbyintl): Use math_force_eval before restoring
15923 floating-point environment.
15924 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15926 * math/gen-libm-test.pl (special_functions): Remove.
15927 (parse_args): Don't handle TEST_extra. Handle functions with no
15929 * math/libm-test.inc (struct test_sincos_data): Replace with
15930 struct test_fFF_11_data.
15931 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15932 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15933 (sincos_test_data): Change element type to struct
15934 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15935 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15936 RUN_TEST_LOOP_sincos.
15937 * math/README.libm-test: Don't mention special handling of
15938 individual functions.
15939 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15940 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15941 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15942 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15943 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15946 * math/gen-libm-test.pl (get_variable): Remove function.
15947 (parse_args): Don't show pointer parameters to call in test
15948 names. Use "extra output N" in test names for extra outputs
15949 rather than naming variables.
15951 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15954 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15955 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15956 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15958 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15960 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15963 * math/gen-libm-test.pl (@tests): Remove variable.
15964 ($count): Likewise.
15965 (new_test): Remove function.
15966 (show_exceptions): New function.
15967 (special_functions): Use show_exceptions instead of new_test.
15968 (parse_args): Likewise.
15969 (generate_testfile): Pass only function name in generated call to
15970 print_max_error or print_complex_max_error.
15971 (get_ulps): Do not handle complex tests specially.
15972 (output_test): Rename to ...
15973 (get_all_ulps_for_test): ... this. Return a string rather than
15974 printing to a file. Require ulps to be present.
15975 (output_ulps): Generate arrays rather than #defines.
15976 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15977 (struct ulp_data): New type.
15978 (BUILD_COMPLEX_ULP): Remove macro.
15979 (compare_ulp_data): New function.
15980 (find_ulps): Likewise.
15981 (find_test_ulps): Likewise.
15982 (find_function_ulps): Likewise.
15983 (find_complex_function_ulps): Likewise.
15984 (print_max_error): Determine allowed ulps using
15985 find_function_ulps.
15986 (print_complex_max_error): Determine allowed ulps using
15987 find_complex_function_ulps.
15988 (check_float_internal): Determine max ulps using find_test_ulps.
15989 (check_float): Do not take max_ulp parameter. Update call to
15990 check_float_internal.
15991 (check_complex): Likewise.
15992 (check_int): Do not take max_ulp parameter.
15993 (check_long): Likewise.
15994 (check_bool): Likewise.
15995 (check_longlong): Likewise.
15996 (struct test_f_f_data): Remove max_ulp field.
15997 (struct test_ff_f_data): Likewise.
15998 (struct test_ff_f_data_nexttoward): Likewise.
15999 (struct test_fi_f_data): Likewise.
16000 (struct test_fl_f_data): Likewise.
16001 (struct test_if_f_data): Likewise.
16002 (struct test_fff_f_data): Likewise.
16003 (struct test_c_f_data): Likewise.
16004 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16005 (struct test_fF_f1_data): Likewise.
16006 (struct test_ffI_f1_data): Likewise.
16007 (struct test_c_c_data): Remove max_ulp field.
16008 (struct test_cc_c_data): Likewise.
16009 (struct test_f_i_data): Likewise.
16010 (struct test_ff_i_data): Likewise.
16011 (struct test_f_l_data): Likewise.
16012 (struct test_f_L_data): Likewise.
16013 (struct test_sincos_data): Likewise.
16014 (RUN_TEST_f_f): Do not handle ulps.
16015 (RUN_TEST_LOOP_f_f): Likewise.
16016 (RUN_TEST_2_f): Likewise.
16017 (RUN_TEST_LOOP_2_f): Likewise.
16018 (RUN_TEST_fff_f): Likewise.
16019 (RUN_TEST_LOOP_fff_f): Likewise.
16020 (RUN_TEST_c_f): Likewise.
16021 (RUN_TEST_LOOP_c_f): Likewise.
16022 (RUN_TEST_f_f1): Likewise.
16023 (RUN_TEST_LOOP_f_f1): Likewise.
16024 (RUN_TEST_fF_f1): Likewise.
16025 (RUN_TEST_LOOP_fF_f1): Likewise.
16026 (RUN_TEST_fI_f1): Likewise.
16027 (RUN_TEST_LOOP_fI_f1): Likewise.
16028 (RUN_TEST_ffI_f1): Likewise.
16029 (RUN_TEST_LOOP_ffI_f1): Likewise.
16030 (RUN_TEST_c_c): Likewise.
16031 (RUN_TEST_LOOP_c_c): Likewise.
16032 (RUN_TEST_cc_c): Likewise.
16033 (RUN_TEST_LOOP_cc_c): Likewise.
16034 (RUN_TEST_f_i): Likewise.
16035 (RUN_TEST_LOOP_f_i): Likewise.
16036 (RUN_TEST_f_i_tg): Likewise.
16037 (RUN_TEST_LOOP_f_i_tg): Likewise.
16038 (RUN_TEST_ff_i_tg): Likewise.
16039 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16040 (RUN_TEST_f_b): Likewise.
16041 (RUN_TEST_LOOP_f_b): Likewise.
16042 (RUN_TEST_f_b_tg): Likewise.
16043 (RUN_TEST_LOOP_f_b_tg): Likewise.
16044 (RUN_TEST_f_l): Likewise.
16045 (RUN_TEST_LOOP_f_l): Likewise.
16046 (RUN_TEST_f_L): Likewise.
16047 (RUN_TEST_LOOP_f_L): Likewise.
16048 (RUN_TEST_sincos): Likewise.
16049 (RUN_TEST_LOOP_sincos): Likewise.
16051 2013-05-17 Joseph Myers <joseph@codesourcery.com>
16055 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16056 main case of finite arguments, set rounding mode to FE_TONEAREST
16057 and discard exceptions.
16058 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16060 (remainder_tonearest_test_data): New variable.
16061 (remainder_test_tonearest): New function.
16062 (remainder_towardzero_test_data): New variable.
16063 (remainder_test_towardzero): New function.
16064 (remainder_downward_test_data): New variable.
16065 (remainder_test_downward): New function.
16066 (remainder_upward_test_data): New variable.
16067 (remainder_test_upward): New function.
16068 (main): Call the new test functions.
16070 * math/libm-test.inc (struct test_f_f1_data): Remove field
16072 (struct test_fF_f1_data): Likewise.
16073 (struct test_ffI_f1_data): Likewise.
16074 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16075 based on value of EXTRA_EXPECTED.
16076 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16077 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16078 EXTRA_VAR based on value of EXTRA_EXPECTED.
16079 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16080 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16081 EXTRA_VAR based on value of EXTRA_EXPECTED.
16082 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16083 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16084 EXTRA_VAR based on value of EXTRA_EXPECTED.
16085 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16086 * math/gen-libm-test.pl (parse_args): Don't output initializers
16087 for extra output values.
16089 * math/libm-test.inc (check_int): Expect result to be exactly
16090 equal to expected value and do not handle ulps.
16091 (check_long): Likewise.
16092 (check_longlong): Likewise.
16094 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16096 (cimag_test_data): Likewise.
16097 (conj_test_data): Likewise.
16098 (copysign_test_data): Likewise.
16099 (cproj_test_data): Likewise.
16100 (creal_test_data): Likewise.
16101 (fabs_test_data): Likewise.
16102 (fdim_test_data): Likewise.
16103 (finite_test_data): Likewise.
16104 (floor_test_data): Likewise.
16105 (fmax_test_data): Likewise.
16106 (fmin_test_data): Likewise.
16107 (fmod_test_data): Likewise.
16108 (fpclassify_test_data): Likewise.
16109 (frexp_test_data): Likewise.
16110 (ilogb_test_data): Likewise.
16111 (isfinite_test_data): Likewise.
16112 (isgreater_test_data): Likewise.
16113 (isgreaterequal_test_data): Likewise.
16114 (isinf_test_data): Likewise.
16115 (isless_test_data): Likewise.
16116 (islessequal_test_data): Likewise.
16117 (islessgreater_test_data): Likewise.
16118 (isnan_test_data): Likewise.
16119 (isnormal_test_data): Likewise.
16120 (issignaling_test_data): Likewise.
16121 (isunordered_test_data): Likewise.
16122 (ldexp_test_data): Likewise.
16123 (lrint_test_data): Likewise.
16124 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16125 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16126 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16127 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16128 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16129 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16131 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16132 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16133 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16134 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16136 (lrint_downward_test_data): Test for "inexact" exceptions.
16137 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16138 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16139 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16141 (lrint_upward_test_data): Test for "inexact" exceptions.
16142 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16144 (llrint_test_data): Test for "inexact" exceptions.
16145 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16146 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16147 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16148 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16149 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16150 (llrint_downward_test_data): Test for "inexact" exceptions.
16151 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16152 (llrint_upward_test_data): Test for "inexact" exceptions.
16153 (logb_test_data): Likewise.
16154 (logb_downward_test_data): Likewise.
16155 (nextafter_test_data): Likewise.
16156 (nexttoward_test_data): Likewise.
16157 (remainder_test_data): Likewise.
16158 (remquo_test_data): Likewise.
16159 (scalbn_test_data): Likewise.
16160 (scalbln_test_data): Likewise.
16161 (signbit_test_data): Likewise.
16162 (sqrt_test_data): Likewise.
16163 (significand_test_data): Likewise.
16165 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16168 * benchtests/bench-modf.c (struct args): Mark arg0 as
16170 * scripts/bench.pl: Mark members of struct args as volatile.
16172 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16175 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16176 negative infinity on POWER6 or lower.
16177 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16179 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16182 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16183 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16184 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16185 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16186 (_FP_SETQNAN): New macro.
16187 (_FP_SETQNAN_SEMIRAW): Likewise.
16188 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16189 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16190 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16191 (FP_EXTEND): Use _FP_FRAC_SNANP.
16192 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16193 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16195 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16197 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16200 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16202 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16203 with DIVIDE_BY_ZERO_EXCEPTION.
16204 (gamma_test_data): Likewise.
16205 (lgamma_test_data): Likewise.
16206 (log_test_data): Likewise.
16207 (log10_test_data): Likewise.
16208 (log2_test_data): Likewise.
16209 (tgamma_test_data): Likewise.
16211 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16212 (acos_test_tonearest): Likewise.
16213 (acos_test_towardzero): Likewise.
16214 (acos_test_downward): Likewise.
16215 (acos_test_upward): Likewise.
16216 (acosh_test): Likewise.
16217 (asin_test): Likewise.
16218 (asin_test_tonearest): Likewise.
16219 (asin_test_towardzero): Likewise.
16220 (asin_test_downward): Likewise.
16221 (asin_test_upward): Likewise.
16222 (asinh_test): Likewise.
16223 (atan_test): Likewise.
16224 (atanh_test): Likewise.
16225 (atan2_test): Likewise.
16226 (cabs_test): Likewise.
16227 (cacos_test): Likewise.
16228 (cacosh_test): Likewise.
16229 (casin_test): Likewise.
16230 (casinh_test): Likewise.
16231 (catan_test): Likewise.
16232 (catanh_test): Likewise.
16233 (cbrt_test): Likewise.
16234 (ccos_test): Likewise.
16235 (ccosh_test): Likewise.
16236 (cexp_test): Likewise.
16237 (clog_test): Likewise.
16238 (clog10_test): Likewise.
16239 (cos_test): Likewise.
16240 (cos_test_tonearest): Likewise.
16241 (cos_test_towardzero): Likewise.
16242 (cos_test_downward): Likewise.
16243 (cos_test_upward): Likewise.
16244 (cosh_test): Likewise.
16245 (cosh_test_tonearest): Likewise.
16246 (cosh_test_towardzero): Likewise.
16247 (cosh_test_downward): Likewise.
16248 (cosh_test_upward): Likewise.
16249 (cpow_test): Likewise.
16250 (csin_test): Likewise.
16251 (csinh_test): Likewise.
16252 (csqrt_test): Likewise.
16253 (ctan_test): Likewise.
16254 (ctan_test_tonearest): Likewise.
16255 (ctan_test_towardzero): Likewise.
16256 (ctan_test_downward): Likewise.
16257 (ctan_test_upward): Likewise.
16258 (ctanh_test): Likewise.
16259 (ctanh_test_tonearest): Likewise.
16260 (ctanh_test_towardzero): Likewise.
16261 (ctanh_test_downward): Likewise.
16262 (ctanh_test_upward): Likewise.
16263 (erf_test): Likewise.
16264 (erfc_test): Likewise.
16265 (exp_test): Likewise.
16266 (exp_test_tonearest): Likewise.
16267 (exp_test_towardzero): Likewise.
16268 (exp_test_downward): Likewise.
16269 (exp_test_upward): Likewise.
16270 (exp10_test): Likewise.
16271 (exp2_test): Likewise.
16272 (expm1_test): Likewise.
16273 (fmod_test): Likewise.
16274 (gamma_test): Likewise.
16275 (hypot_test): Likewise.
16276 (j0_test): Likewise.
16277 (j1_test): Likewise.
16278 (jn_test): Likewise.
16279 (lgamma_test): Likewise.
16280 (log_test): Likewise.
16281 (log10_test): Likewise.
16282 (log1p_test): Likewise.
16283 (log2_test): Likewise.
16284 (logb_test_downward): Likewise.
16285 (pow_test): Likewise.
16286 (pow_test_tonearest): Likewise.
16287 (pow_test_towardzero): Likewise.
16288 (pow_test_downward): Likewise.
16289 (pow_test_upward): Likewise.
16290 (remainder_test): Likewise.
16291 (remquo_test): Likewise.
16292 (sin_test): Likewise.
16293 (sin_test_tonearest): Likewise.
16294 (sin_test_towardzero): Likewise.
16295 (sin_test_downward): Likewise.
16296 (sin_test_upward): Likewise.
16297 (sincos_test): Likewise.
16298 (sinh_test): Likewise.
16299 (sinh_test_tonearest): Likewise.
16300 (sinh_test_towardzero): Likewise.
16301 (sinh_test_downward): Likewise.
16302 (sinh_test_upward): Likewise.
16303 (sqrt_test): Likewise.
16304 (tan_test): Likewise.
16305 (tan_test_tonearest): Likewise.
16306 (tan_test_towardzero): Likewise.
16307 (tan_test_downward): Likewise.
16308 (tan_test_upward): Likewise.
16309 (tanh_test): Likewise.
16310 (tgamma_test): Likewise.
16311 (y0_test): Likewise.
16312 (y1_test): Likewise.
16313 (yn_test): Likewise.
16315 * math/gen-libm-test.pl (adjust_arg): Remove function.
16316 (special_function): Remove argument $in_func. Only handle
16317 generating output for tables of tests, not inside functions.
16318 (parse_args): Likewise.
16319 (generate_testfile): Remove variable $in_func. Update call to
16321 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16322 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16323 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16324 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16325 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16326 (MAX_VALUE_INIT): Rename macro to max_value.
16327 (MIN_VALUE_INIT): Rename macro to min_value.
16328 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16329 (plus_zero): Remove variable.
16330 (minus_zero): Likewise.
16331 (plus_infty): Likewise.
16332 (minus_infty): Likewise.
16333 (qnan_value): Likewise.
16334 (max_value): Likewise.
16335 (min_value): Likewise.
16336 (min_subnorm_value): Likewise.
16338 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16340 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16341 uint64_t or uint32_t usage.
16342 * crypt/sha256-block.c: Likewise.
16343 * crypt/sha256-crypt.c: Likewise.
16344 * crypt/sha256.c: Likewise.
16345 * crypt/sha512-block.c: Likewise.
16346 * crypt/sha512-crypt.c: Likewise.
16347 * crypt/sha512.c: Likewise.
16348 * debug/backtrace-tst.c: Likewise.
16349 * debug/pcprofiledump.c: Likewise.
16350 * elf/cache.c: Likewise.
16351 * elf/dl-cache.c: Likewise.
16352 * elf/dl-misc.c: Likewise.
16353 * elf/dl-profile.c: Likewise.
16354 * elf/dl-support.c: Likewise.
16355 * elf/ldconfig.c: Likewise.
16356 * elf/sprof.c: Likewise.
16357 * iconv/dummy-repertoire.c: Likewise.
16358 * iconv/iconv_charmap.c: Likewise.
16359 * iconv/skeleton.c: Likewise.
16360 * iconvdata/8bit-generic.c: Likewise.
16361 * iconvdata/cp737.h: Likewise.
16362 * iconvdata/cp775.h: Likewise.
16363 * iconvdata/ibm1008.h: Likewise.
16364 * iconvdata/ibm1025.h: Likewise.
16365 * iconvdata/ibm1046.h: Likewise.
16366 * iconvdata/ibm1097.h: Likewise.
16367 * iconvdata/ibm1112.h: Likewise.
16368 * iconvdata/ibm1122.h: Likewise.
16369 * iconvdata/ibm1123.h: Likewise.
16370 * iconvdata/ibm1124.h: Likewise.
16371 * iconvdata/ibm1129.h: Likewise.
16372 * iconvdata/ibm1130.h: Likewise.
16373 * iconvdata/ibm1132.h: Likewise.
16374 * iconvdata/ibm1133.h: Likewise.
16375 * iconvdata/ibm1137.h: Likewise.
16376 * iconvdata/ibm1140.h: Likewise.
16377 * iconvdata/ibm1141.h: Likewise.
16378 * iconvdata/ibm1142.h: Likewise.
16379 * iconvdata/ibm1143.h: Likewise.
16380 * iconvdata/ibm1144.h: Likewise.
16381 * iconvdata/ibm1145.h: Likewise.
16382 * iconvdata/ibm1146.h: Likewise.
16383 * iconvdata/ibm1147.h: Likewise.
16384 * iconvdata/ibm1148.h: Likewise.
16385 * iconvdata/ibm1149.h: Likewise.
16386 * iconvdata/ibm1153.h: Likewise.
16387 * iconvdata/ibm1154.h: Likewise.
16388 * iconvdata/ibm1155.h: Likewise.
16389 * iconvdata/ibm1156.h: Likewise.
16390 * iconvdata/ibm1157.h: Likewise.
16391 * iconvdata/ibm1158.h: Likewise.
16392 * iconvdata/ibm1160.h: Likewise.
16393 * iconvdata/ibm1161.h: Likewise.
16394 * iconvdata/ibm1162.h: Likewise.
16395 * iconvdata/ibm1163.h: Likewise.
16396 * iconvdata/ibm1164.h: Likewise.
16397 * iconvdata/ibm1166.h: Likewise.
16398 * iconvdata/ibm1167.h: Likewise.
16399 * iconvdata/ibm12712.h: Likewise.
16400 * iconvdata/ibm1390.h: Likewise.
16401 * iconvdata/ibm1399.h: Likewise.
16402 * iconvdata/ibm16804.h: Likewise.
16403 * iconvdata/ibm4517.h: Likewise.
16404 * iconvdata/ibm4899.h: Likewise.
16405 * iconvdata/ibm4909.h: Likewise.
16406 * iconvdata/ibm4971.h: Likewise.
16407 * iconvdata/ibm5347.h: Likewise.
16408 * iconvdata/ibm803.h: Likewise.
16409 * iconvdata/ibm856.h: Likewise.
16410 * iconvdata/ibm901.h: Likewise.
16411 * iconvdata/ibm902.h: Likewise.
16412 * iconvdata/ibm9030.h: Likewise.
16413 * iconvdata/ibm9066.h: Likewise.
16414 * iconvdata/ibm921.h: Likewise.
16415 * iconvdata/ibm922.h: Likewise.
16416 * iconvdata/ibm9448.h: Likewise.
16417 * iconvdata/isiri-3342.h: Likewise.
16418 * iconvdata/jis0201.h: Likewise.
16419 * include/link.h: Likewise.
16420 * include/netdb.h: Likewise.
16421 * inet/check_native.c: Likewise.
16422 * inet/check_pf.c: Likewise.
16423 * inet/getipv4sourcefilter.c: Likewise.
16424 * inet/getnameinfo.c: Likewise.
16425 * inet/getsourcefilter.c: Likewise.
16426 * inet/htonl.c: Likewise.
16427 * inet/setipv4sourcefilter.c: Likewise.
16428 * inet/setsourcefilter.c: Likewise.
16429 * inet/test-inet6_opt.c: Likewise.
16430 * inet/tst-network.c: Likewise.
16431 * locale/C-collate.c: Likewise.
16432 * locale/C-ctype.c: Likewise.
16433 * locale/C-time.c: Likewise.
16434 * locale/C-translit.h: Likewise.
16435 * locale/loadarchive.c: Likewise.
16436 * locale/programs/3level.h: Likewise.
16437 * locale/programs/charmap.c: Likewise.
16438 * locale/programs/charmap.h: Likewise.
16439 * locale/programs/ld-address.c: Likewise.
16440 * locale/programs/ld-collate.c: Likewise.
16441 * locale/programs/ld-ctype.c: Likewise.
16442 * locale/programs/ld-identification.c: Likewise.
16443 * locale/programs/ld-measurement.c: Likewise.
16444 * locale/programs/ld-messages.c: Likewise.
16445 * locale/programs/ld-monetary.c: Likewise.
16446 * locale/programs/ld-name.c: Likewise.
16447 * locale/programs/ld-numeric.c: Likewise.
16448 * locale/programs/ld-paper.c: Likewise.
16449 * locale/programs/ld-telephone.c: Likewise.
16450 * locale/programs/ld-time.c: Likewise.
16451 * locale/programs/linereader.c: Likewise.
16452 * locale/programs/locale.c: Likewise.
16453 * locale/programs/locarchive.c: Likewise.
16454 * locale/programs/locfile.h: Likewise.
16455 * locale/programs/repertoire.c: Likewise.
16456 * locale/programs/simple-hash.c: Likewise.
16457 * locale/programs/simple-hash.h: Likewise.
16458 * malloc/memusage.c: Likewise.
16459 * malloc/memusagestat.c: Likewise.
16460 * nis/nis_defaults.c: Likewise.
16461 * nis/nis_hash.c: Likewise.
16462 * nis/nis_print.c: Likewise.
16463 * nis/nis_xdr.c: Likewise.
16464 * nscd/connections.c: Likewise.
16465 * nscd/hstcache.c: Likewise.
16466 * nscd/nscd_gethst_r.c: Likewise.
16467 * nscd/nscd_getserv_r.c: Likewise.
16468 * nscd/nscd_helper.c: Likewise.
16469 * nscd/servicescache.c: Likewise.
16470 * nss/makedb.c: Likewise.
16471 * nss/nss_db/db-XXX.c: Likewise.
16472 * nss/nss_db/db-initgroups.c: Likewise.
16473 * nss/nss_db/db-netgrp.c: Likewise.
16474 * nss/nss_files/files-network.c: Likewise.
16475 * nss/nss_files/files-parse.c: Likewise.
16476 * posix/bug-regex5.c: Likewise.
16477 * posix/fnmatch_loop.c: Likewise.
16478 * posix/regcomp.c: Likewise.
16479 * posix/regexec.c: Likewise.
16480 * posix/tst-rfc3484-2.c: Likewise.
16481 * posix/tst-rfc3484-3.c: Likewise.
16482 * posix/tst-rfc3484.c: Likewise.
16483 * resolv/nss_dns/dns-canon.c: Likewise.
16484 * resolv/nss_dns/dns-network.c: Likewise.
16485 * resolv/res_init.c: Likewise.
16486 * resolv/res_mkquery.c: Likewise.
16487 * resolv/tst-aton.c: Likewise.
16488 * stdlib/cxa_atexit.c: Likewise.
16489 * stdlib/cxa_finalize.c: Likewise.
16490 * stdlib/gen-fpioconst.c: Likewise.
16491 * stdlib/strtol_l.c: Likewise.
16492 * string/tst-endian.c: Likewise.
16493 * sunrpc/auth_des.c: Likewise.
16494 * sunrpc/clnt_udp.c: Likewise.
16495 * sunrpc/rtime.c: Likewise.
16496 * sunrpc/svcauth_des.c: Likewise.
16497 * sunrpc/xdr.c: Likewise.
16498 * sunrpc/xdr_intXX_t.c: Likewise.
16499 * sunrpc/xdr_rec.c: Likewise.
16500 * sysdeps/generic/ldconfig.h: Likewise.
16501 * sysdeps/generic/ldsodefs.h: Likewise.
16502 * sysdeps/generic/memusage.h: Likewise.
16503 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16504 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16505 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16506 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16507 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16508 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16509 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16510 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16511 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16512 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16513 * sysdeps/posix/getaddrinfo.c: Likewise.
16514 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16515 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16516 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16517 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16518 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16519 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16520 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16521 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16522 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16523 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16524 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16525 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16526 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16527 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16528 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16529 * sysdeps/x86_64/dl-tls.h: Likewise.
16530 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16531 * time/alt_digit.c: Likewise.
16532 * time/era.c: Likewise.
16533 * wcsmbs/tst-c16c32-1.c: Likewise.
16535 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16537 * math/libm-test.inc (struct test_sincos_data): New type.
16538 (RUN_TEST_LOOP_sincos): New macro.
16539 (sincos_test_data): New variable.
16540 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16542 2013-05-16 Richard Henderson <rth@redhat.com>
16544 * math/atest-exp2.c (LIMB64): New macro.
16545 (CONSTSZ): New macro.
16546 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16548 (print_mpn_fp): ... to function scope.
16549 (read_mpn_hex): Remove.
16550 (get_log2): Remove.
16551 (exp2_mpn): Use mp_log2.
16552 (main): Use mp_exp1.
16554 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16556 * math/libm-test.inc: Remove comment about not testing "inexact"
16558 (INEXACT_EXCEPTION): New macro.
16559 (NO_INEXACT_EXCEPTION): Likewise.
16560 (INVALID_EXCEPTION_OK): Update value.
16561 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16562 (OVERFLOW_EXCEPTION_OK): Likewise.
16563 (UNDERFLOW_EXCEPTION_OK): Likewise.
16564 (IGNORE_ZERO_INF_SIGN): Likewise.
16565 (ERRNO_UNCHANGED): Likewise.
16566 (ERRNO_EDOM): Likewise.
16567 (ERRNO_ERANGE): Likewise.
16568 (test_exceptions): Handle testing "inexact" exceptions.
16569 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16570 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16571 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16572 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16574 (rint_towardzero_test_data): Likewise.
16575 (rint_downward_test_data): Likewise.
16576 (rint_upward_test_data): Likewise.
16578 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16579 with OVERFLOW_EXCEPTION.
16580 (exp10_test_data): Likewise.
16581 (exp2_test_data): Likewise.
16582 (expm1_test_data): Likewise.
16583 (lgamma_test_data): Likewise.
16584 (pow_test_data): Likewise.
16585 (tgamma_test_data): Likewise.
16586 (yn_test_data): Remove duplicate test of overflow.
16588 * math/libm-test.inc (struct test_cc_c_data): New type.
16589 (RUN_TEST_LOOP_cc_c): New macro.
16590 (cpow_test_data): New variable.
16591 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16593 * math/libm-test.inc (struct test_f_L_data): New type.
16594 (RUN_TEST_LOOP_f_L): New macro.
16595 (llrint_test_data): New variable.
16596 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16597 (llrint_tonearest_test_data): New variable.
16598 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16599 (llrint_towardzero_test_data): New variable.
16600 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16601 (llrint_downward_test_data): New variable.
16602 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16603 (llrint_upward_test_data): New variable.
16604 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16605 (llround_test_data): New variable.
16606 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16608 2013-05-13 Peter Collingbourne <pcc@google.com>
16610 * math/atest-exp2.c (get_log2): Remove const attribute.
16612 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16614 * math/libm-test.inc (struct test_f_l_data): New type.
16615 (RUN_TEST_LOOP_f_l): New macro.
16616 (lrint_test_data): New variable.
16617 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16618 (lrint_tonearest_test_data): New variable.
16619 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16620 (lrint_towardzero_test_data): New variable.
16621 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16622 (lrint_downward_test_data): New variable.
16623 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16624 (lrint_upward_test_data): New variable.
16625 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16626 (lround_test_data): New variable.
16627 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16629 2013-05-15 Peter Collingbourne <pcc@google.com>
16631 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16632 (EXTRACT_WORDS64) Use where appropriate.
16633 (INSERT_WORDS64) Likewise.
16635 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16636 constraints with x constraints.
16637 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16639 * malloc/obstack.c (_obstack_compat): Add initializer.
16641 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16643 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16644 si_trapno and add si_addr_lsb to _sifields.sigfault.
16645 (si_trapno): Remove macro.
16646 (si_addr_lsb): Define new macro.
16647 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16649 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16651 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16652 instead of TEST_f_l.
16653 (llrint_test_tonearest): Likewise.
16654 (llrint_test_towardzero): Likewise.
16655 (llrint_test_downward): Likewise.
16656 (llrint_test_upward): Likewise.
16657 (llround_test): Likewise.
16659 * math/libm-test.inc (struct test_f_i_data): Add comment.
16660 (RUN_TEST_LOOP_f_b): New macro.
16661 (RUN_TEST_LOOP_f_b_tg): Likewise.
16662 (finite_test_data): New variable.
16663 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16664 (isfinite_test_data): New variable.
16665 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16666 (isinf_test_data): New variable.
16667 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16668 (isnan_test_data): New variable.
16669 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16670 (isnormal_test_data): New variable.
16671 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16672 (issignaling_test_data): New variable.
16673 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16674 (signbit_test_data): New variable.
16675 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16677 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16678 with INVALID_EXCEPTION.
16679 (acosh_test_data): Likewise.
16680 (asin_test_data): Likewise.
16681 (atanh_test_data): Likewise.
16682 (fmod_test_data): Likewise.
16683 (log_test_data): Likewise.
16684 (log10_test_data): Likewise.
16685 (log2_test_data): Likewise.
16686 (pow_test_data): Likewise.
16687 (sqrt_test_data): Likewise.
16688 (y0_test_data): Likewise.
16689 (y1_test_data): Likewise.
16690 (yn_test_data): Likewise.
16692 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16695 * math/libm-test.inc (struct test_ff_i_data): New type.
16696 (RUN_TEST_LOOP_ff_i_tg): New macro.
16697 (isgreater_test_data): New variable.
16698 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16699 (isgreaterequal_test_data): New variable.
16700 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16701 (isless_test_data): New variable.
16702 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16703 (islessequal_test_data): New variable.
16704 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16705 (islessgreater_test_data): New variable.
16706 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16707 (isunordered_test_data): New variable.
16708 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16710 2013-05-14 David S. Miller <davem@davemloft.net>
16712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16714 2013-05-14 Joseph Myers <joseph@codesourcery.com>
16716 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16718 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16720 (struct test_f_i_data): Change type of max_ulp to int.
16722 * math/libm-test.inc (test_ffI_f1_data): New type.
16723 (RUN_TEST_LOOP_ffI_f1): New macro.
16724 (remquo_test_data): New variable.
16725 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16727 * setjmp/tst-setjmp-fp.c: New file.
16728 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16729 (link-libm): New variable.
16730 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16732 * math/libm-test.inc (struct test_f_i_data): New type.
16733 (RUN_TEST_LOOP_f_i): New macro.
16734 (RUN_TEST_LOOP_f_i_tg): Likewise.
16735 (fpclassify_test_data): New variable.
16736 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16737 (ilogb_test_data): New variable.
16738 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16740 * math/libm-test.inc (scalbln_test): Correct function name in END
16743 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16744 (RUN_TEST_LOOP_fI_f1): New macro.
16745 (frexp_test_data): New variable.
16746 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16748 * math/libm-test.inc (struct test_fF_f1_data): New type.
16749 (RUN_TEST_LOOP_fF_f1): New macro.
16750 (modf_test_data): New variable.
16751 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16753 * math/libm-test.inc (struct test_f_f1_data): New type.
16754 (RUN_TEST_LOOP_f_f1): New macro.
16755 (gamma_test_data): New variable.
16756 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16757 (lgamma_test_data): New variable.
16758 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16760 2013-05-13 Carlos O'Donell <carlos@redhat.com>
16762 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16763 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16764 (main): Comment "tls" pseudo-hwcap.
16766 2013-05-13 Joseph Myers <joseph@codesourcery.com>
16768 * math/libm-test.inc (struct test_fl_f_data): New type.
16769 (RUN_TEST_LOOP_fl_f): New variable.
16770 (scalbln_test_data): New variable.
16771 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16773 * math/libm-test.inc (struct test_fi_f_data): New type.
16774 (RUN_TEST_LOOP_fi_f): New macro.
16775 (ldexp_test_data): New variable.
16776 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16777 (scalbn_test_data): New variable.
16778 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16780 * math/libm-test.inc (struct test_c_f_data): New type.
16781 (RUN_TEST_LOOP_c_f): New macro.
16782 (cabs_test_data): New variable.
16783 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16784 (carg_test_data): New variable.
16785 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16786 (cimag_test_data): New variable.
16787 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16788 (creal_test_data): New variable.
16789 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16791 * math/libm-test.inc (struct test_if_f_data): New type.
16792 (RUN_TEST_LOOP_if_f): New macro.
16793 (jn_test_data): New variable.
16794 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16795 (yn_test_data): New variable.
16796 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16798 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16800 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16802 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16803 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16805 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16807 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16808 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16809 (bench-deps): Add bench-timing.h.
16810 * benchtests-bench-skeleton.c: Include bench-timing.h.
16811 (main): Use TIMING_* macros instead of clock_gettime.
16812 * benchtests/bench-timing.h: New file.
16815 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16816 Renamed from _LIB_VERSION.
16817 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16819 2013-05-12 Joseph Myers <joseph@codesourcery.com>
16821 * math/libm-test.inc (struct test_fff_f_data): New type.
16822 (RUN_TEST_LOOP_fff_f): New macro.
16823 (fma_test_data): New variable.
16824 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16825 (fma_towardzero_test_data): New variable.
16826 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16827 (fma_downward_test_data): New variable.
16828 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16829 (fma_upward_test_data): New variable.
16830 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16832 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16833 (struct test_c_c_data): New type.
16834 (RUN_TEST_LOOP_c_c): New macro.
16835 (cacos_test_data): New variable.
16836 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16837 (cacosh_test_data): New variable.
16838 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16839 (casin_test_data): New variable.
16840 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16841 (casinh_test_data): New variable.
16842 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16843 (catan_test_data): New variable.
16844 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16845 (catanh_test_data): New variable.
16846 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16847 (ccos_test_data): New variable.
16848 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16849 (ccosh_test_data): New variable.
16850 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16851 (cexp_test_data): New variable.
16852 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16853 (clog_test_data): New variable.
16854 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16855 (clog10_test_data): New variable.
16856 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16857 (conj_test_data): New variable.
16858 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16859 (cproj_test_data): New variable.
16860 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16861 (csin_test_data): New variable.
16862 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16863 (csinh_test_data): New variable.
16864 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16865 (csqrt_test_data): New variable.
16866 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16867 (ctan_test_data): New variable.
16868 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16869 (ctan_tonearest_test_data): New variable.
16870 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16871 (ctan_towardzero_test_data): New variable.
16872 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16873 (ctan_downward_test_data): New variable.
16874 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16875 (ctan_upward_test_data): New variable.
16876 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16877 (ctanh_test_data): New variable.
16878 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16879 (ctanh_tonearest_test_data): New variable.
16880 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16881 (ctanh_towardzero_test_data): New variable.
16882 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16883 (ctanh_downward_test_data): New variable.
16884 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16885 (ctanh_upward_test_data): New variable.
16886 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16887 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16890 * math/libm-test.inc (struct test_ff_f_data): New type.
16891 (struct test_ff_f_data_nexttoward): Likewise.
16892 (RUN_TEST_LOOP_2_f): New macro.
16893 (RUN_TEST_LOOP_ff_f): Likewise.
16894 (atan2_test_data): New variable.
16895 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16896 (copysign_test_data): New variable.
16897 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16898 (fdim_test_data): New variable.
16899 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16900 (fmax_test_data): New variable.
16901 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16902 (fmin_test_data): New variable.
16903 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16904 (fmod_test_data): New variable.
16905 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16906 (hypot_test_data): New variable.
16907 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16908 (nextafter_test_data): New variable.
16909 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16910 (nexttoward_test_data): New variable.
16911 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16912 (pow_test_data): New variable.
16913 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16914 (pow_tonearest_test_data): New variable.
16915 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16916 (pow_towardzero_test_data): New variable.
16917 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16918 (pow_downward_test_data): New variable.
16919 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16920 (pow_upward_test_data): New variable.
16921 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16922 (remainder_test_data): New variable.
16923 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16924 (scalb_test_data): New variable.
16925 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16926 * sysdeps/i386/fpu/libm-test-ulps: Update.
16928 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16930 * math/libm-test.inc (fma_test): Use max_value instead of local
16932 (nextafter_test): Likewise.
16934 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16935 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16936 (acos_downward_test_data): New variable.
16937 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16938 (acos_upward_test_data): New variable.
16939 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16940 (acosh_test_data): New variable.
16941 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16942 (asin_test_data): New variable.
16943 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16944 (asin_tonearest_test_data): New variable.
16945 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16946 (asin_towardzero_test_data): New variable.
16947 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16948 (asin_downward_test_data): New variable.
16949 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16950 (asin_upward_test_data): New variable.
16951 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16952 (asinh_test_data): New variable.
16953 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16954 (atan_test_data): New variable.
16955 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16956 (atanh_test_data): New variable.
16957 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16958 (cbrt_test_data): New variable.
16959 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16960 (ceil_test_data): New variable.
16961 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16962 (cos_test_data): New variable.
16963 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16964 (cos_tonearest_test_data): New variable.
16965 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16966 (cos_towardzero_test_data): New variable.
16967 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16968 (cos_downward_test_data): New variable.
16969 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16970 (cos_upward_test_data): New variable.
16971 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16972 (cosh_test_data): New variable.
16973 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16974 (cosh_tonearest_test_data): New variable.
16975 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16976 (cosh_towardzero_test_data): New variable.
16977 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16978 (cosh_downward_test_data): New variable.
16979 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16980 (cosh_upward_test_data): New variable.
16981 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16982 (erf_test_data): New variable.
16983 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16984 (erfc_test_data): New variable.
16985 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16986 (exp_test_data): New variable.
16987 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16988 (exp_tonearest_test_data): New variable.
16989 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16990 (exp_towardzero_test_data): New variable.
16991 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16992 (exp_downward_test_data): New variable.
16993 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16994 (exp_upward_test_data): New variable.
16995 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16996 (exp10_test_data): New variable.
16997 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16998 (exp2_test_data): New variable.
16999 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17000 (expm1_test_data): New variable.
17001 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17002 (fabs_test_data): New variable.
17003 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17004 (floor_test_data): New variable.
17005 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17006 (j0_test_data): New variable.
17007 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17008 (j1_test_data): New variable.
17009 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17010 (log_test_data): New variable.
17011 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17012 (log10_test_data): New variable.
17013 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17014 (log1p_test_data): New variable.
17015 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17016 (log2_test_data): New variable.
17017 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17018 (logb_test_data): New variable.
17019 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17020 (logb_downward_test_data): New variable.
17021 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17022 (nearbyint_test_data): New variable.
17023 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17024 (rint_test_data): New variable.
17025 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17026 (rint_tonearest_test_data): New variable.
17027 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17028 (rint_towardzero_test_data): New variable.
17029 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17030 (rint_downward_test_data): New variable.
17031 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17032 (rint_upward_test_data): New variable.
17033 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17034 (round_test_data): New variable.
17035 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17036 (sin_test_data): New variable.
17037 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17038 (sin_tonearest_test_data): New variable.
17039 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17040 (sin_towardzero_test_data): New variable.
17041 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17042 (sin_downward_test_data): New variable.
17043 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17044 (sin_upward_test_data): New variable.
17045 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17046 (sinh_test_data): New variable.
17047 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17048 (sinh_tonearest_test_data): New variable.
17049 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17050 (sinh_towardzero_test_data): New variable.
17051 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17052 (sinh_downward_test_data): New variable.
17053 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17054 (sinh_upward_test_data): New variable.
17055 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17056 (sqrt_test_data): New variable.
17057 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17058 (tan_test_data): New variable.
17059 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17060 (tan_tonearest_test_data): New variable.
17061 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17062 (tan_towardzero_test_data): New variable.
17063 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17064 (tan_downward_test_data): New variable.
17065 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17066 (tan_upward_test_data): New variable.
17067 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17068 (tanh_test_data): New variable.
17069 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17070 (tgamma_test_data): New variable.
17071 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17072 (trunc_test_data): New variable.
17073 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17074 (y0_test_data): New variable.
17075 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17076 (y1_test_data): New variable.
17077 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17078 (significand_test_data): New variable.
17079 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17081 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17084 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17086 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17088 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17090 2013-05-10 Andreas Jaeger <aj@suse.de>
17093 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17094 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17096 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17098 * math/gen-libm-test.pl (adjust_arg): New function.
17099 (special_functions): Handle generating output in both functions
17101 (parse_args): Likewise.
17102 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17103 $in_func argument to parse_args.
17104 * math/libm-test.inc (struct test_f_f_data): New type.
17105 (IF_ROUND_INIT_): New macro.
17106 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17107 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17108 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17109 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17110 (ROUND_RESTORE_): Likewise.
17111 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17112 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17113 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17114 (ROUND_RESTORE_FE_UPWARD): Likewise.
17115 (RUN_TEST_LOOP_f_f): New macro.
17116 (acos_test_data): New variable.
17117 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17118 (acos_tonearest_test_data): New variable.
17119 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17121 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17123 * benchtests/bench-skeleton.c (startup): Fix coding style.
17125 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17128 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17129 negative infinity argument.
17130 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17131 negative infinity argument.
17132 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17133 negative infinity argument.
17134 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17137 2013-05-10 Florian Weimer <fweimer@redhat.com>
17139 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17140 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17141 * iconv/iconv_prog.c (main): Likewise.
17142 * locale/programs/charmap-dir.c (charmap_readdir)
17143 (fopen_uncompressed): Likewise.
17144 * locale/programs/locfile.c (siblings_uncached)
17145 (write_locale_data): Use lstat64 instead of lstat.
17146 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17149 2013-05-10 Andreas Jaeger <aj@suse.de>
17152 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17154 Include <locale.h>.
17156 2013-05-09 Carlos O'Donell <carlos@redhat.com>
17158 * elf/dl-close.c (_dl_close_worker): Add comments.
17160 2013-05-09 Joseph Myers <joseph@codesourcery.com>
17163 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17165 (__ieee754_rem_pio2l): Update comments.
17168 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17170 (__ieee754_rem_pio2l): Update comments.
17172 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17173 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17175 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17178 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17179 (M_PI_34_LOG10El): Likewise.
17180 (M_PI2_LOG10El): Likewise.
17181 (M_PI4_LOG10El): Likewise.
17182 (M_PI_LOG10El): Likewise.
17184 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17188 2013-05-08 Joseph Myers <joseph@codesourcery.com>
17190 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17191 (MINUS_ZERO_INIT): Likewise.
17192 (PLUS_INFTY_INIT): Likewise.
17193 (MINUS_INFTY_INIT): Likewise.
17194 (QNAN_VALUE_INIT): Likewise.
17195 (MAX_VALUE_INIT): Likewise.
17196 (MIN_VALUE_INIT): Likewise.
17197 (MIN_SUBNORM_VALUE_INIT): Likewise.
17198 (plus_zero): Initialize with PLUS_ZERO_INIT.
17199 (minus_zero): Initialize with MINUS_ZERO_INIT.
17200 (plus_infty): Initialize with PLUS_INFTY_INIT.
17201 (minus_infty): Initialize with MINUS_INFTY_INIT.
17202 (qnan_value): Initialize with QNAN_VALUE_INIT.
17203 (max_value): Initialize with MAX_VALUE_INIT.
17204 (min_value): Initialize with MIN_VALUE_INIT.
17205 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17207 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17208 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17209 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17210 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17212 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17213 (RUN_TEST_2_f): Likewise.
17214 (RUN_TEST_ff_f): Likewise.
17215 (RUN_TEST_fi_f): Likewise.
17216 (RUN_TEST_fl_f): Likewise.
17217 (RUN_TEST_fff_f): Likewise.
17218 (RUN_TEST_c_f): Likewise.
17219 (RUN_TEST_f_f1): Likewise.
17220 (RUN_TEST_fF_f1): Likewise.
17221 (RUN_TEST_fI_f1): Likewise.
17222 (RUN_TEST_ffI_f1): Likewise.
17223 (RUN_TEST_c_c): Likewise.
17224 (RUN_TEST_cc_c): Likewise.
17225 (RUN_TEST_f_i): Likewise.
17226 (RUN_TEST_f_i_tg): Likewise.
17227 (RUN_TEST_ff_i_tg): Likewise.
17228 (RUN_TEST_f_b): Likewise.
17229 (RUN_TEST_f_b_tg): Likewise.
17230 (RUN_TEST_f_l): Likewise.
17231 (RUN_TEST_f_L): Likewise.
17232 (RUN_TEST_sincos): Likewise.
17233 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17234 whether to show exceptions. Do not include ");\n" in return
17236 (special_functions): Output call to RUN_TEST_sincos instead of
17237 check_float calls. Update calls to new_test.
17238 (parse_args): Output call to single RUN_TEST_* macro instead of
17239 check_* calls and other assignments. Update calls to new_test.
17245 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17246 input to result for tgamma overflow.
17247 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17248 (gamma_coeff): New variable.
17249 (NCOEFF): New macro.
17250 (gamma_positive): New function.
17251 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17252 underflow here. Use gamma_positive instead of exp (lgamma) for
17254 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17255 (gamma_coeff): New variable.
17256 (NCOEFF): New macro.
17257 (gammaf_positive): New function.
17258 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17259 underflow here. Use gamma_positive instead of exp (lgamma) for
17261 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17262 (gamma_coeff): New variable.
17263 (NCOEFF): New macro.
17264 (gammal_positive): New function.
17265 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17266 underflow here. Use gamma_positive instead of exp (lgamma) for
17268 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17269 (gamma_coeff): New variable.
17270 (NCOEFF): New macro.
17271 (gammal_positive): New function.
17272 (__ieee754_gammal_r): Handle positive infinity, overflow and
17273 underflow here. Handle NaN the same as positive infinity. Remove
17274 check x < 0xffffffff for negative integers. Use gamma_positive
17275 instead of exp (lgamma) for other arguments.
17276 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17277 (gamma_coeff): New variable.
17278 (NCOEFF): New macro.
17279 (gammal_positive): New function.
17280 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17281 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17282 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17283 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17284 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17285 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17286 * sysdeps/generic/math_private.h (__gamma_productf): New
17288 (__gamma_product): Likewise.
17289 (__gamma_productl): Likewise.
17290 * math/Makefile (libm-calls): Add gamma_product.
17291 * math/libm-test.inc (tgamma_test): Add more tests.
17292 * sysdeps/i386/fpu/libm-test-ulps: Update.
17293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17295 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
17297 * benchtests/bench-skeleton.c (main): Preheat CPU.
17299 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17301 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17303 2013-05-07 Roland McGrath <roland@hack.frob.com>
17305 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17306 and _dl_skip_args_internal.
17308 2013-05-07 Carlos O'Donell <carlos@redhat.com>
17310 * manual/message.texi (Message Translation): Talk about users.
17311 Message to key mapping impacts design.
17313 2013-05-06 Roland McGrath <roland@hack.frob.com>
17315 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17317 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17319 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17320 * sysdeps/wordsize-64/glob64.c: ... here.
17322 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17323 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17326 * debug/getlogin_r_chk.c: Moved to ...
17327 * login/getlogin_r_chk.c: ... here.
17328 * debug/Makefile (routines): Move getlogin_r_chk to ...
17329 * login/Makefile (routines): ... here.
17330 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17331 * login/Versions (libc: GLIBC_2.4): ... here.
17333 * io/poll.c (__poll): Renamed from poll.
17334 Add libc_hidden_def.
17335 (poll): Define as weak alias.
17337 * debug/ptsname_r_chk.c: Moved to ...
17338 * login/ptsname_r_chk.c: ... here.
17339 * debug/Makefile (routines): Move ptsname_r_chk to ...
17340 * login/Makefile (routines): ... here.
17341 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17342 * login/Versions (libc: GLIBC_2.4): ... here.
17344 * posix/getlogin.c: Moved to ...
17345 * login/getlogin.c: ... here.
17346 * posix/getlogin_r.c: Moved to ...
17347 * login/getlogin_r.c: ... here.
17348 * posix/getlogin_r.c: Moved to ...
17349 * login/getlogin_r.c: ... here.
17350 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17351 * login/Makefile (routines): ... here.
17352 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17353 * login/Versions (libc: GLIBC_2.0): ... here.
17355 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17356 (setrlimit): Define as weak alias.
17358 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17359 Call __ names for open, ftruncate, and close.
17360 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17361 (truncate): Define as weak alias.
17363 2013-05-06 Joseph Myers <joseph@codesourcery.com>
17365 * math/gen-libm-test.pl (parse_args): Initialize x before each
17366 test of frexp, modf and remquo.
17368 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17369 test signgam value.
17371 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17375 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17377 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17379 2013-05-06 Roland McGrath <roland@hack.frob.com>
17381 * elf/dl-writev.h: New file.
17382 * elf/dl-misc.c: Include it.
17383 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17384 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17386 2013-05-04 Joseph Myers <joseph@codesourcery.com>
17388 * math/libm-test.inc (noXFails): Remove variable.
17389 (noXPasses): Likewise.
17390 (BUILD_COMPLEX_INT): Remove macro.
17391 (print_screen): Remove xfail argument.
17392 (print_screen_max_error): Likewise.
17393 (update_stats): Likewise.
17394 (print_max_error): Likewise. Update calls to other affected
17396 (print_complex_max_error): Likewise.
17397 (test_single_exception): Update calls to print_screen.
17398 (test_single_errno): Likewise.
17399 (check_float_internal): Remove xfail argument. Update calls to
17400 other affected functions.
17401 (check_float): Likewise.
17402 (check_complex): Likewise.
17403 (check_int): Likewise.
17404 (check_long): Likewise.
17405 (check_bool): Likewise.
17406 (check_longlong): Likewise.
17407 (main): Don't print noXFails and noXPasses.
17408 * math/gen-libm-test.pl (top level): Don't mention expected
17409 failure handling in comment.
17410 (new_test): Don't handle expected failures.
17411 (parse_args): Don't mention expected failure handling in comment.
17412 (generate_testfile): Don't handle expected failures.
17413 (parse_ulps): Likewise.
17414 (print_ulps_file): Likewise.
17415 (get_failure): Remove function.
17416 (output_test): Don't handle expected failures.
17417 * make/README.libm-test: Don't mention expected failure handling.
17419 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17420 (minus_zero): Likewise.
17421 (plus_infty): Likewise.
17422 (minus_infty): Likewise.
17423 (qnan_value): Likewise.
17424 (max_value): Likewise.
17425 (min_value): Likewise.
17426 (min_subnorm_value): Likewise.
17427 (initialize): Do not initialize those variables dynamically.
17429 2013-05-03 Roland McGrath <roland@hack.frob.com>
17431 * io/open.c (__open_2): Moved to ...
17432 * io/open_2.c: ... this new file.
17433 * io/open64.c (__open64_2): Moved to ...
17434 * io/open64_2.c: ... this new file.
17435 * io/openat.c (__openat_2): Moved to ...
17436 * io/openat_2.c: ... this new file.
17437 * io/openat64.c (__openat64_2): Moved to ...
17438 * io/openat64_2.c: ... this new file.
17439 * io/Makefile (routines): Add them.
17440 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17441 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17442 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17443 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17444 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17445 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17446 (__openat64): Add hidden_ver.
17447 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17448 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17450 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17451 Separately conditionalize setting of GLRO(dl_sysinfo) so
17452 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17453 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17455 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17457 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17458 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17460 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17461 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17462 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17463 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17464 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17466 2013-05-03 Joseph Myers <joseph@codesourcery.com>
17468 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17469 test signgam value.
17471 * math/libm-test.inc (hypot_test): Do not use
17472 IGNORE_ZERO_INF_SIGN.
17474 2013-05-03 Andreas Jaeger <aj@suse.de>
17476 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17478 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17479 (PF_MAX): Adjust for VSOCK change.
17481 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17485 2013-05-02 Carlos O'Donell <carlos@redhat.com>
17488 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17489 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17490 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17492 2013-05-02 David S. Miller <davem@davemloft.net>
17494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17496 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
17498 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17500 2013-05-01 Roland McGrath <roland@hack.frob.com>
17502 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17504 2013-05-01 Richard Smith <richard@metafoo.co.uk>
17507 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17508 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17509 Use __attribute__ ((__gnu_inline__)).
17510 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17511 Don't use __attribute__ ((__gnu_inline__)).
17513 2013-05-01 Joseph Myers <joseph@codesourcery.com>
17516 * math/s_catan.c (__catan): Handle small real or imaginary part of
17517 input specially to avoid spurious underflow.
17518 * math/s_catanf.c (__catanf): Likewise.
17519 * math/s_catanh.c (__catanh): Likewise.
17520 * math/s_catanhf.c (__catanhf): Likewise.
17521 * math/s_catanhl.c (__catanhl): Likewise.
17522 * math/s_catanl.c (__catanl): Likewise.
17523 * math/libm-test.inc (catan_test): Add more tests.
17524 (catanh_test): Likewise.
17525 * sysdeps/i386/fpu/libm-test-ulps: Update.
17526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17528 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17532 2013-04-30 Joseph Myers <joseph@codesourcery.com>
17535 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17536 accurately for denominator in atan2.
17537 * math/s_catanf.c (__catanf): Likewise.
17538 * math/s_catanh.c (__catanh): Likewise.
17539 * math/s_catanhf.c (__catanhf): Likewise.
17540 * math/s_catanhl.c (__catanhl): Likewise.
17541 * math/s_catanl.c (__catanl): Likewise.
17542 * math/libm-test.inc (catan_test): Add more tests.
17543 (catanh_test): Likewise.
17544 * sysdeps/i386/fpu/libm-test-ulps: Update.
17545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17547 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17549 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17551 * benchtests/Makefile (bench): Remove slow benchmarks.
17552 * benchtests/atan-inputs: Add slow benchmark inputs.
17553 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17554 (BENCH_FUNC): Accept variant offset.
17556 * benchtests/bench-skeleton.c (main): Run benchmark for each
17558 * benchtests/cos-inputs: Add slow benchmark inputs.
17559 * benchtests/exp-inputs: Likewise.
17560 * benchtests/pow-inputs: Likewise.
17561 * benchtests/sin-inputs: Likewise.
17562 * benchtests/slowatan-inputs: Remove.
17563 * benchtests/slowatan.c: Remove.
17564 * benchtests/slowcos-inputs: Remove.
17565 * benchtests/slowcos.c: Remove.
17566 * benchtests/slowexp-inputs: Remove.
17567 * benchtests/slowexp.c: Remove.
17568 * benchtests/slowpow-inputs: Remove.
17569 * benchtests/slowpow.c: Remove.
17570 * benchtests/slowsin-inputs: Remove.
17571 * benchtests/slowsin.c: Remove.
17572 * benchtests/slowtan-inputs: Remove.
17573 * benchtests/slowtan.c: Remove.
17574 * benchtests/tan-inputs: Add slow benchmark inputs.
17575 * scripts/bench.pl: Parse comments and directives.
17577 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17579 ($(objpfx)bench-%.c): Remove *-ITER.
17580 * benchtests/bench-modf.c: Remove definition of ITER.
17581 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17582 (main): Loop for DURATION seconds instead of fixed number of
17584 * scripts/bench.pl: Don't expect iterations in parameters.
17586 2013-04-29 Roland McGrath <roland@hack.frob.com>
17588 * io/fchdir.c (__fchdir): Renamed from fchdir.
17589 (fchdir): Define as weak alias.
17591 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17593 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17594 (ERRNO_EDOM): Likewise.
17595 (ERRNO_ERANGE): Likewise.
17596 (noErrnoTests): New variable.
17597 (init_max_error): Set errno to 0.
17598 (test_single_errno): New function.
17599 (test_errno): Likewise.
17600 (check_float_internal): Call test_errno. Set errno to 0.
17601 (check_complex): Refer to errno tests in comment.
17602 (check_int): Call test_errno. Set errno to 0.
17603 (check_long): Likewise.
17604 (check_bool): Likewise.
17605 (check_longlong): Likewise.
17606 (cos_test): Use ERRNO_* flags for errno tests instead of
17608 (expm1_test): Likewise.
17609 (fmod_test): Likewise.
17610 (ilogb_test): Likewise.
17611 (lgamma_test): Likewise.
17612 (pow_test): Likewise.
17613 (remainder_test): Likewise.
17614 (sin_test): Likewise.
17615 (tan_test): Likewise.
17616 (yn_test): Likewise.
17617 (initialize): Set errno to 0.
17618 (main): Print number of errno tests.
17619 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17621 2013-04-29 Andreas Jaeger <aj@suse.de>
17624 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17628 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17629 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17633 * stdlib/random.c (__initstate): Return NULL if
17637 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17638 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17641 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17645 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17647 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17648 of individual tests.
17649 (casin_test): Likewise.
17650 (casinh_test): Likewise.
17652 2013-04-27 Joseph Myers <joseph@codesourcery.com>
17655 * math/s_catan.c (__catan): Handle arguments with large real or
17656 imaginary part separately without squaring.
17657 * math/s_catanf.c (__catanf): Likewise.
17658 * math/s_catanh.c (__catanh): Likewise.
17659 * math/s_catanhf.c (__catanhf): Likewise.
17660 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17662 (__catanhl): Handle arguments with large real or imaginary part
17663 separately without squaring.
17664 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17666 (__catanl): Handle arguments with large real or imaginary part
17667 separately without squaring.
17668 * math/libm-test.inc (catan_test): Add more tests.
17669 (catanh_test): Likewise.
17670 * sysdeps/i386/fpu/libm-test-ulps: Update.
17671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17673 2013-04-27 Andreas Jaeger <aj@suse.de>
17676 * stdlib/stdlib.h: Update guards for qecvt.
17677 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17680 2013-04-27 Allan McRae <allan@archlinux.org>
17682 * sysdeps/i386/fpu/libm-test-ulps: Update.
17684 2013-04-26 Joseph Myers <joseph@codesourcery.com>
17687 * math/s_catan.c: Include <float.h>.
17688 (__catan): Ensure underflow exception occurs for underflowed
17690 * math/s_catanf.c: Include <float.h>.
17691 (__catanf): Ensure underflow exception occurs for underflowed
17693 * math/s_catanh.c: Include <float.h>.
17694 (__catanh): Ensure underflow exception occurs for underflowed
17696 * math/s_catanhf.c: Include <float.h>.
17697 (__catanhf): Ensure underflow exception occurs for underflowed
17699 * math/s_catanhl.c: Include <float.h>.
17700 (__catanhl): Ensure underflow exception occurs for underflowed
17702 * math/s_catanl.c: Include <float.h>.
17703 (__catanl): Ensure underflow exception occurs for underflowed
17705 * math/libm-test.inc (catan_test): Add more tests.
17706 (catanh_test): Likewise.
17709 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17710 underflowed result.
17711 * math/s_ccoshf.c (__ccoshf): Likewise.
17712 * math/s_ccoshl.c (__ccoshl): Likewise.
17713 * math/s_csin.c (__csin): Likewise.
17714 * math/s_csinf.c (__csinf): Likewise.
17715 * math/s_csinh.c (__csinh): Likewise.
17716 * math/s_csinhf.c (__csinhf): Likewise.
17717 * math/s_csinhl.c (__csinhl): Likewise.
17718 * math/s_csinl.c (__csinl): Likewise.
17719 * math/libm-test.inc (ccos_test): Add more tests.
17720 (ccosh_test): Likewise.
17721 (csin_test): Likewise.
17722 (csinh_test): Likewise.
17724 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17726 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17727 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17728 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17729 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17730 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17731 powerpc/power5+/fpu folders.
17732 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17735 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17739 2013-04-25 Joseph Myers <joseph@codesourcery.com>
17741 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17742 additions to variable.
17743 [$(config-machine) = x86_64] (modules-names): Likewise.
17744 ($(objpfx)tst-audit3): Remove dependency.
17745 ($(objpfx)tst-audit3.out): Likewise.
17746 ($(objpfx)tst-audit4): Likewise.
17747 ($(objpfx)tst-audit4.out): Likewise.
17748 ($(objpfx)tst-audit5): Likewise.
17749 ($(objpfx)tst-audit5.out): Likewise.
17750 ($(objpfx)tst-audit6): Likewise.
17751 ($(objpfx)tst-audit6.out): Likewise.
17752 ($(objpfx)tst-audit7): Likewise.
17753 ($(objpfx)tst-audit7.out): Likewise.
17754 (tst-audit3-ENV): Remove variable.
17755 (tst-audit4-ENV): Likewise.
17756 (tst-audit5-ENV): Likewise.
17757 (tst-audit6-ENV): Likewise.
17758 (tst-audit7-ENV): Likewise.
17759 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17760 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17761 addition to variable.
17762 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17763 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17764 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17765 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17766 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17767 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17768 tst-audit3, tst-audit4 and tst-audit5.
17769 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17770 tst-audit6 and tst-audit7.
17771 [$(subdir) = elf] (modules-names): Add audit modules for those
17773 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17774 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17775 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17776 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17777 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17778 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17779 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17780 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17781 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17782 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17783 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17784 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17785 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17786 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17787 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17788 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17790 [$(subdir) = elf && $(config-cflags-avx) = yes]
17791 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17792 [$(subdir) = elf && $(config-cflags-avx) = yes]
17793 (CFLAGS-tst-auditmod4a.c): Likewise.
17794 [$(subdir) = elf && $(config-cflags-avx) = yes]
17795 (CFLAGS-tst-auditmod4b.c): Likewise.
17796 [$(subdir) = elf && $(config-cflags-avx) = yes]
17797 (CFLAGS-tst-auditmod6b.c): Likewise.
17798 [$(subdir) = elf && $(config-cflags-avx) = yes]
17799 (CFLAGS-tst-auditmod6c.c): Likewise.
17800 [$(subdir) = elf && $(config-cflags-avx) = yes]
17801 (CFLAGS-tst-auditmod7b.c): Likewise.
17802 * elf/tst-audit3.c: Move to ...
17803 * sysdeps/x86_64/tst-audit3.c: ... here.
17804 * elf/tst-audit4.c: Move to ...
17805 * sysdeps/x86_64/tst-audit4.c: ... here.
17806 * elf/tst-audit5.c: Move to ...
17807 * sysdeps/x86_64/tst-audit5.c: ... here.
17808 * elf/tst-audit6.c: Move to ...
17809 * sysdeps/x86_64/tst-audit6.c: ... here.
17810 * elf/tst-audit7.c: Move to ...
17811 * sysdeps/x86_64/tst-audit7.c: ... here.
17812 * elf/tst-auditmod3a.c: Move to ...
17813 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17814 * elf/tst-auditmod3b.c: Move to ...
17815 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17816 * elf/tst-auditmod4a.c: Move to ...
17817 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17818 * elf/tst-auditmod4b.c: Move to ...
17819 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17820 * elf/tst-auditmod5a.c: Move to ...
17821 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17822 * elf/tst-auditmod5b.c: Move to ...
17823 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17824 * elf/tst-auditmod6a.c: Move to ...
17825 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17826 * elf/tst-auditmod6b.c: Move to ...
17827 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17828 * elf/tst-auditmod6c.c: Move to ...
17829 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17830 * elf/tst-auditmod7a.c: Move to ...
17831 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17832 * elf/tst-auditmod7b.c: Move to ...
17833 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17835 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17838 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17839 define unconditionally.
17840 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17841 define unconditionally.
17842 (INT8_C, INT16_C, etc.): Likewise.
17844 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17846 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17847 __ehdr_start with hidden visibility.
17849 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17851 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17853 * math/libm-test.inc (cos_test): Use accurate hex constants.
17854 (sincost_test): Likewise.
17856 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17858 * math/libm-test.inc (catan_test): Add more tests.
17859 (catanh_test): Likewise.
17861 * math/s_catanf.c (__catanf): Use suffixed floating-point
17863 * math/s_catanhf.c (__catanhf): Likewise.
17864 * math/s_catanhl.c (__catanhl): Likewise.
17865 * math/s_catanl.c (__catanl): Likewise.
17868 * math/s_catan.c (__catan): Calculate imaginary part of result
17869 with log1p not log unless computing log of number close to 0.
17870 * math/s_catanf.c (__catanf): Likewise.
17871 * math/s_catanl.c (__catanl): Likewise.
17872 * math/s_catanh.c (__catanh): Calculate real part of result with
17873 log1p not log unless computing log of number close to 0.
17874 * math/s_catanhf.c (__catanhf): Likewise.
17875 * math/s_catanhl.c (__catanhl): Likewise.
17876 * math/libm-test.inc (catan_test): Add more tests.
17877 (catanh_test): Likewise.
17878 * sysdeps/i386/fpu/libm-test-ulps: Update.
17879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17881 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17883 * benchtests/Makefile: Mention files in which fast and slow
17884 paths of math functions are implemented.
17886 2013-04-23 Roland McGrath <roland@hack.frob.com>
17888 * sysdeps/posix/timespec_get.c: New file.
17890 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17892 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17894 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17896 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17897 powerpc/power5/fpu folders.
17898 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17899 * benchtests/Makefile: Add modf testcase.
17900 * benchtests/bench-modf.c: New file: Benchmark test for mo
17902 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17905 * time/Makefile (tests): Add tst-strptime-whitespace.
17906 * time/strptime_l.c (get_number): Use ISSPACE.
17907 (__strptime_internal): Likewise.
17908 * time/tst-strptime-whitespace.c: New test case.
17910 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17912 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17914 (_nss_files_init): Set it here.
17916 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17918 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17919 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17922 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17924 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17926 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17928 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17931 2013-04-21 David S. Miller <davem@davemloft.net>
17933 * po/ru.po: Update Russion translation from translation project.
17935 2013-04-17 Adam Conrad <adconrad@0c3.net>
17937 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17940 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17942 * configure.in: Remove i386 configure warning. Remove i386 case.
17943 * configure: Regenerate.
17944 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17945 Add example to error message.
17946 * sysdeps/i386/configure: Regenerate.
17948 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17950 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17952 * benchtests/cos-inputs: New file.
17953 * benchtests/slowcos-inputs: New file.
17954 * benchtests/slowcos.c: New file.
17955 * benchtests/slowtan-inputs: New file.
17956 * benchtests/slowtan.c: New file.
17957 * benchtests/tan-inputs: New file.
17959 2013-04-16 Roland McGrath <roland@hack.frob.com>
17961 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17964 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17966 * benchtests/Makefile: Include cppflags-iterator.mk to add
17967 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17969 * Makefile.in (bench-clean): New target.
17970 * benchtests/Makefile (bench-clean): Likewise.
17972 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17974 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17976 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17978 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17980 2013-04-15 Andreas Schwab <schwab@suse.de>
17982 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17983 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17984 * nscd/pwdcache.c (cache_addpw): Likewise.
17985 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17988 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17990 * benchtests/Makefile (bench): Write all output to
17991 bench-out.tmp together.
17993 2013-04-15 Andreas Schwab <schwab@suse.de>
17995 * nscd/nscd.c (main): Don't fork again after closing files.
17997 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17999 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18001 * benchtests/Rules (bench-deps): Collect dependencies into a
18002 single variable. Add Makefile to dependencies.
18003 ($(objpfx)bench-%.c): Depend on bench-deps.
18005 2013-04-12 Roland McGrath <roland@hack.frob.com>
18006 Xavier Roche <roche+kml2@exalead.com>
18009 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18010 just that it's a file descriptor.
18011 * manual/llio.texi (Synchronizing AIO Operations): Update description
18012 for EBADF error from aio_fsync.
18014 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18016 * Rules (bench): Move target definition...
18017 * benchtests/Makefile: ... here.
18019 2013-04-11 Carlos O'Donell <carlos@redhat.com>
18021 * math/libm-test.inc (cos_test): Fix PI/2 test.
18022 (sincos_test): Likewise.
18023 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18024 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18026 2013-04-11 Andreas Schwab <schwab@suse.de>
18029 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18030 accept exponent character only when digits were seen.
18031 * stdio-common/Makefile (tests): Add bug26.
18032 * stdio-common/bug26.c: New file.
18035 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18038 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18040 * Makeconfig (rtld-prefix): Define built linker prefix.
18041 * Rules (run-bench): Use it.
18042 * math/Makefile (run-regen-ulps): Likewise.
18044 * Rules (bench): Remove eval.
18046 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18047 Roland McGrath <roland@hack.frob.com>
18048 Ondrej Bilka <neleai@seznam.cz>
18051 * time/getdate.c: Include ctype.h and alloca.h.
18052 (__getdate_r): Trim leading and trailing spaces of input.
18053 * time/tst-getdate.c (tests): Add tests with leading and
18056 2013-04-08 Roland McGrath <roland@hack.frob.com>
18059 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18060 when computing value.
18062 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18064 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18065 Use testrun.sh to run libm tests.
18068 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18070 2013-04-06 Marko Myllynen <myllynen@redhat.com>
18073 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18075 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18077 * Makefile.in (regen-ulps): New target.
18078 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18079 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18080 [ifneq (no,$(PERL)] (regen-ulps): New target.
18081 [ifeq (no,$(PERL)] (regen-ulps): New target.
18082 * math/libm-test.inc (ulps_file_name): Define.
18083 (output_dir): New variable.
18084 (options): Add "output-dir" option.
18085 (parse_opt): Handle 'o' case.
18086 (main): If output_dir is non-NULL use it as a prefix
18088 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18090 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18092 [BZ #10060, #10062]
18093 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18094 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18095 fail configure if __sync_val_compare_and_swap is not inlined.
18096 * sysdeps/i386/configure: Regenerate.
18097 * configure.in: Build for i686 when configured for i386.
18098 * configure: Regenerate.
18099 * README: Remove i386 reference.
18101 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18103 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18104 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18106 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18108 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18109 (lmsnanval): New variables.
18110 (F): Add conversion tests.
18111 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18112 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18114 * stdio-common/tstdiomisc.c (F): Properly collect individual
18117 [BZ #14686, #15336]
18118 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18119 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18120 Instead, use input NaN values or generate a qNaN by arithmetic
18121 operation. Also fix bugs to comply with the standard.
18122 * math/libm-test.inc (remainder_test): Add more tests.
18124 [BZ #15335, #15342]
18125 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18126 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18127 input NaN values or generate a qNaN by arithmetic operation.
18129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18132 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18135 2013-04-03 Joseph Myers <joseph@codesourcery.com>
18138 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18139 underflowed result.
18140 * math/s_cexpf.c (__cexpf): Likewise.
18141 * math/s_cexpl.c (__cexpl): Likewise.
18142 * math/libm-test.inc (cexp_test): Add more tests.
18144 2013-04-03 Andreas Schwab <schwab@suse.de>
18147 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18148 order arrays from heap if bigger than alloca cutoff.
18150 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18152 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18153 (SNAN_TESTS_double): Refer to GCC PR56831.
18154 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18157 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18159 * Rules (bench): Move bench.out after the run is complete.
18161 * Rules (bench): Echo currently running benchmark.
18163 * benchtests/Makefile (bench): Add atan and slowatan.
18164 * benchtests/atan-inputs: New file.
18165 * benchtests/slowatan-inputs: New file.
18166 * benchtests/slowatan.c: New file.
18168 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18169 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18173 * sysdeps/unix/sysv/linux/kernel-features.h
18174 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18175 __ASSUME_XFS_RESTRICTED_CHOWN.
18176 * sysdeps/unix/sysv/linux/pathconf.c
18177 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18178 Save and restore errno.
18180 2013-04-02 Joseph Myers <joseph@codesourcery.com>
18183 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18184 arguments using __kernel_casinh.
18185 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18186 arguments using __kernel_casinhf.
18187 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18188 arguments using __kernel_casinhl.
18189 * math/libm-test.inc (cacosh_test): Add more tests.
18190 * sysdeps/i386/fpu/libm-test-ulps: Update.
18191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18193 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18195 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18196 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18198 * bench/Makefile (bench): Add sin and slowsin.
18199 * benchtests/sin-inputs: New file.
18200 * benchtests/slowsin-inputs: New file.
18201 * benchtests/slowsin.c: New file.
18203 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18204 (bench): Add slowexp and slowpow.
18205 (exp-ITER): Increase iterations.
18206 (pow-ITER): Likewise.
18207 * benchtests/exp-inputs: Change input.
18208 * benchtests/pow-inputs: Likewise.
18209 * benchtests/slowexp-inputs: New file.
18210 * benchtests/slowexp.c: New file.
18211 * benchtests/slowpow-inputs: New file.
18212 * benchtests/slowpow.c: New file.
18214 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18216 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18218 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18219 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18220 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18221 * benchtests/Makefile: Add rint benchtest.
18222 * benchtests/rint-inputs: Input for rint benchtest.
18224 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18226 * Versions.def (libm): Add GLIBC_2.18.
18227 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18228 hidden libm prototypes.
18229 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18230 * math/Makefile (libm-calls): Add s_issignaling.
18231 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18232 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18233 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18235 * math/math.h [__USE_GNU] (issignaling): New macro.
18236 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18237 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18238 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18239 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18242 * manual/arith.texi (issignaling): New section.
18243 * manual/libm-err-tab.pl (@all_functions): Update comment.
18244 * math/gen-libm-test.pl (parse_args): Apply special handling for
18246 * math/libm-test.inc (print_float, issignaling_test): New
18248 (check_float_internal): Add issignaling checks.
18249 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18250 default definition.
18251 * sysdeps/powerpc/math-tests.h: New file.
18252 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18254 * math/test-snan.c (TEST_FUNC): Likewise.
18256 2013-03-30 David S. Miller <davem@davemloft.net>
18258 * po/de.po: Update from translation team.
18260 2013-03-30 Joseph Myers <joseph@codesourcery.com>
18263 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18264 imaginary part less than 1.0 and real part less than 0.5
18266 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18267 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18268 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18269 (cacos_test): Add more tests.
18270 (casin_test): Likewise.
18271 (casinh_test): Likewise.
18272 * sysdeps/i386/fpu/libm-test-ulps: Update.
18273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18275 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18277 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18278 ONE with its value.
18280 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18281 (__pow_mp): Replace ONE and MONE with their values.
18282 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18283 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18284 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18285 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18286 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18287 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18289 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18291 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18292 (__pow_mp): Replace ZERO and MZERO with their values.
18293 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18294 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18295 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18296 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18297 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18298 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18301 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18303 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18305 2013-03-28 Roland McGrath <roland@hack.frob.com>
18307 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18308 Declare with __attribute__ ((weak)).
18309 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18310 Call __call_tls_dtors only if it's not NULL.
18312 2013-03-28 Roland McGrath <roland@hack.frob.com>
18314 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18315 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18316 magic __ehdr_start linker symbol if it's defined.
18317 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18318 them up here if it was already done.
18320 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18321 (_dl_aux_init): Use const in cast when setting it.
18322 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18323 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18324 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18326 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18328 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18329 * csu/libc-tls.c: Nor here.
18330 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18332 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18333 (__libc_message): Never call vsyslog.
18335 2013-03-28 Alan Modra <amodra@gmail.com>
18337 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18339 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18342 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18345 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18349 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18352 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18353 Don't add gid passed as argument.
18355 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18357 2013-03-27 Joseph Myers <joseph@codesourcery.com>
18360 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18361 imaginary part between 1.0 and 1.5 and real part less than 0.5
18363 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18364 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18365 * math/libm-test.inc (cacos_test): Add more tests.
18366 (casin_test): Likewise.
18367 (casinh_test): Likewise.
18368 * sysdeps/i386/fpu/libm-test-ulps: Update.
18369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18371 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18373 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18376 (denorm): Likewise.
18377 (__dbl_mp): Likewise.
18378 (add_magnitudes): Likewise.
18379 (sub_magnitudes): Likewise.
18387 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18389 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18390 (__dubcos): Likewise.
18391 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18392 (__ieee754_acos): Likewise.
18393 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18394 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18395 (__exp1): Likewise.
18396 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18397 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18399 (my_log2): Likewise.
18400 (checkint): Likewise.
18401 * sysdeps/ieee754/dbl-64/e_remainder.c
18402 (__ieee754_remainder): Likewise.
18403 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18404 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18405 (bsloww): Likewise.
18406 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18408 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18409 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18410 MANTISSA_STORE_T to store computations on mantissa. Use
18411 macros for rounding and division.
18412 (denorm): Likewise.
18413 (__dbl_mp): Likewise.
18414 (add_magnitudes): Likewise.
18415 (sub_magnitudes): Likewise.
18418 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18419 powers of two in terms of TWOPOW macro.
18420 (mp_no): Make type of mantissa as MANTISSA_T.
18421 [!RADIXI]: Define RADIXI.
18422 [!TWO52]: Define TWO52.
18423 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18425 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18427 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18428 llroundl symbol when building for PPC32.
18430 2013-03-24 Mark H Weaver <mhw@netris.org>
18432 * manual/arith.texi (Normalization Functions): Fix prototypes for
18433 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18435 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18438 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18439 high value to check if expl overflow.
18440 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18441 to check for underflow and overflow.
18442 * math/libm-test.inc: Add exp test.
18444 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18447 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18450 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18452 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18455 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18457 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18458 wrap blocks consisting of several statements.
18460 * sysdeps/generic/math-tests.h: New file.
18461 * sysdeps/i386/fpu/math-tests.h: Likewise.
18462 * math/test-snan.c: Include it.
18463 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18465 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18468 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18469 (__ieee754_j0l): Do not improve calculations using cos of twice
18470 input for inputs above LDBL_MAX / 2.0L.
18471 (__ieee754_y0l): Likewise.
18472 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18473 (__ieee754_j1l): Do not improve calculations using cos of twice
18474 input for inputs above LDBL_MAX / 2.0L.
18475 (__ieee754_y1l): Likewise.
18476 * math/libm-test.inc (j0_test): Add another test.
18477 (j1_test): Likewise.
18478 (y0_test): Likewise.
18479 (y1_test): Likewise.
18480 * sysdeps/i386/fpu/libm-test-ulps: Update.
18482 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18484 * Rules ($(objpfx)bench-%.c): Include code from a C source
18487 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18490 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18491 imaginary part 1.0 and real part less than 0.5 specially.
18492 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18493 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18494 * math/libm-test.inc (cacos_test): Add more tests.
18495 (casin_test): Likewise.
18496 (casinh_test): Likewise.
18497 * sysdeps/i386/fpu/libm-test-ulps: Update.
18498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18500 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18502 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18503 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18505 2013-03-20 Joseph Myers <joseph@codesourcery.com>
18507 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18508 * config.make.in (config-cflags-sse4): Remove variable.
18509 (config-cflags-avx): Likewise.
18510 (config-cflags-sse2avx): Likewise.
18511 (config-cflags-novzeroupper): Likewise.
18512 (config-asflags-i686): Likewise.
18513 (have-mfma4): Likewise.
18514 (have-as-vis3): Likewise.
18516 * configure.in (MIG): Do not AC_SUBST.
18517 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18518 (libc_cv_cc_sse4): Do not AC_SUBST.
18519 (libc_cv_cc_avx): Likewise.
18520 (libc_cv_cc_sse2avx): Likewise.
18521 (libc_cv_cc_novzeroupper): Likewise.
18522 (libc_cv_cc_fma4): Likewise.
18523 (libc_cv_as_i686): Likewise.
18524 (libc_cv_sparc_as_vis3): Likewise.
18525 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18527 (config-asflags-i686): Likewise.
18528 (config-cflags-avx): Likewise.
18529 (config-cflags-sse2avx): Likewise.
18530 (have-mfma4): Likewise.
18531 (config-cflags-novzeroupper): Likewise.
18532 * sysdeps/mach/configure.in (MIG): Likewise.
18533 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18534 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18536 (config-cflags-avx): Likewise.
18537 (config-cflags-sse2avx): Likewise.
18538 (have-mfma4): Likewise.
18539 (config-cflags-novzeroupper): Likewise.
18540 * configure: Regenerated.
18541 * sysdeps/i386/configure: Likewise.
18542 * sysdeps/mach/configure: Likewise.
18543 * sysdeps/sparc/configure: Likewise.
18544 * sysdeps/x86_64/configure: Likewise.
18546 2013-03-20 Roland McGrath <roland@hack.frob.com>
18549 * locale/programs/localedef.c (options): Put N_ translation marker
18550 on argument names, not just descriptions.
18552 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18554 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18556 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
18559 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18561 2013-03-19 Roland McGrath <roland@hack.frob.com>
18563 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18564 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18565 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18566 [!BEFORE_ABORT] (before_abort): New function.
18567 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18568 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18569 (writev_for_fatal): New function.
18570 (WRITEV_FOR_FATAL): New macro; call that.
18571 (backtrace_and_maps): New function.
18572 (BEFORE_ABORT): New macro; call that.
18573 (struct str_list): Type removed.
18574 (__libc_message, __libc_fatal): Functions removed.
18575 Include <sysdeps/posix/libc_fatal.c> instead.
18577 2013-03-19 Joseph Myers <joseph@codesourcery.com>
18579 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18581 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18584 2013-03-19 Andreas Schwab <schwab@suse.de>
18586 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18587 * sysdeps/gnu/configure: Regenerate.
18589 * configure.in: Substitute libc_cv_rtlddir.
18590 * configure: Regenerate.
18591 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18592 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18593 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18594 * elf/Makefile (install-others, CFLAGS-interp.c)
18595 (ldso_install, common-ldd-rewrite): Likewise.
18596 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18597 $(inst_slibdir)/$(rtld-installed-name).
18598 * scripts/rellns-sh: Add -p option.
18599 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18602 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18604 * manual/nptl.texi: Renamed to ...
18605 * manual/threads.texi: ... this.
18606 * manual/Makefile (chapters): Update.
18608 2013-03-18 Roland McGrath <roland@hack.frob.com>
18611 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18612 on argument names, not just descriptions.
18613 * malloc/memusagestat.c (options): Likewise.
18614 * nss/getent.c (options): Likewise.
18616 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
18619 * iconv/iconv_prog.c (options): Put N_ translation marker
18620 on argument names, not just descriptions.
18621 * iconv/iconvconfig.c (options): Likewise.
18623 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
18625 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18626 implementation which is faster on all x86_64 architectures.
18627 Tested on AMD, Intel Nehalem, SNB, IVB.
18628 * sysdeps/x86_64/strnlen.S: Likewise.
18630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18631 Remove all multiarch strlen and strnlen versions.
18632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18633 Remove strlen and strnlen related parts.
18635 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18636 Inline strlen part.
18637 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18639 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18640 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18641 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18642 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18643 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18644 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18646 2013-03-17 Carlos O'Donell <carlos@redhat.com>
18648 * manual/memory.texi (Malloc Tunable Parameters):
18649 Sort parameters alphabetically. Add comments for missing entries.
18651 2013-03-17 David S. Miller <davem@davemloft.net>
18653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18655 2013-03-16 Joseph Myers <joseph@codesourcery.com>
18658 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18659 for arguments at most half maximum finite value.
18660 * math/libm-test.inc (j0_test): Add more tests.
18661 (j1_test): Likewise.
18662 (y0_test): Likewise.
18663 (y1_test): Likewise.
18664 * sysdeps/i386/fpu/libm-test-ulps: Update.
18665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18668 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18669 1 / x and functions P and Q for arguments above 0x1p256L.
18670 (__ieee754_y0l): Likewise.
18671 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18672 (__ieee754_y1l): Likewise.
18673 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18674 (j1_test): Likewise.
18675 (y0_test): Likewise.
18676 (y1_test): Likewise.
18678 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18680 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18683 2013-03-15 Roland McGrath <roland@hack.frob.com>
18685 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18686 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18687 zero since it's initialized to EXEC_PAGESIZE.
18689 * sysdeps/unix/sysv/linux/ldsodefs.h
18690 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18691 * sysdeps/generic/ldsodefs.h: ... here.
18693 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18695 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18697 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18699 * math/test-snan.c: Renamed from
18700 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18701 * math/Makefile (tests): Add test-snan.
18702 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18705 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18706 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18708 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18709 __builtin_nan family of functions.
18710 * math/libm-test.inc (initialize): Initialize qnan_value with
18711 __builtin_nan family of functions.
18712 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18714 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18716 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18717 storage class. Initialize qNaN_var and sNaN_var with
18718 __builtin_nan and __builtin_nans families of functions,
18721 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18722 (sqrt_test): Remove duplicate test with qNaN input.
18723 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18724 (round_test, signbit_test, significand_test): Note missing +/-Inf
18725 as well as qNaN tests.
18727 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18728 qNaN_var. Fix a few strings, too.
18729 * math/libm-test.inc (nan_value): Rename to qnan_value.
18730 * math/gen-libm-test.pl (%beautify): Adjust to that.
18731 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18732 * math/test-misc.c (main): Likewise.
18733 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18734 to __qnan_bytes, and __qnan_union, respectively.
18735 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18737 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18738 and lqnanval, respectively.
18739 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18740 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18741 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18742 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18744 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18745 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18748 * math/test-misc.c (main): Fix copy'n'pastos.
18749 * misc/tst-efgcvt.c (special): Likewise.
18751 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18752 Remove declarations.
18754 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18756 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18757 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18758 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18759 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18761 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18763 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18764 macro to return vdso values correctly in IFUNC implementations.
18765 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18766 Optimization by using IFUNC.
18768 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18769 Richard Henderson <rth@redhat.com>
18770 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18772 * Makefile.in (bench): New target.
18773 * NEWS: Mention the benchmark framework.
18774 * Rules (bench): Likewise.
18775 (binaries-bench): Generate binaries for functions to
18777 * benchtests/Makefile: New makefile for benchmark tests.
18778 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18780 * benchtests/exp-inputs: New input file for EXP function.
18781 * benchtests/pow-inputs: New input file for POW function.
18782 * scripts/bench.pl: New script to generate source files for
18783 benchmark programs.
18785 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18787 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18788 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18789 computations on mantissa. Use macros for rounding and
18791 (denorm): Likewise.
18792 (__dbl_mp): Likewise.
18793 (add_magnitudes): Likewise.
18794 (sub_magnitudes): Likewise.
18797 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18798 powers of two in terms of TWOPOW macro.
18799 (mp_no): Make type of mantissa as MANTISSA_T.
18800 [!RADIXI]: Define RADIXI.
18801 [!TWO52]: Define TWO52.
18802 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18804 * manual/nptl.texi (cindex): Modify threads to pthreads.
18806 2013-03-15 Joseph Myers <joseph@codesourcery.com>
18808 * sysdeps/x86_64/preconfigure: Regenerated.
18810 2013-03-14 Joseph Myers <joseph@codesourcery.com>
18813 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18815 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18816 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18818 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18819 * math/libm-test.inc (j0_test): Do not allow one spurious
18820 underflow exception.
18821 (y1_test): Likewise.
18823 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18825 * manual/Makefile (chapters): Add nptl.
18826 * manual/debug.texi (Debugging Support): Add link to Threads
18828 * manual/nptl.texi: New file.
18830 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18832 2013-03-14 Petr Baudis <pasky@ucw.cz>
18834 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18835 for non-NULL pointer before the memory validity test. Pointed
18836 out by Holger Brunck <holger.brunck@keymile.com>.
18838 2013-03-13 Andreas Schwab <schwab@suse.de>
18840 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18843 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18845 * timezone/zic.c: Update from tzcode 2013b.
18847 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18849 * manual/install.texi (Configuring and compiling):
18850 Mention i686 and i586.
18851 * INSTALL: Regenerate.
18853 2013-03-12 Roland McGrath <roland@hack.frob.com>
18855 * sysdeps/init_array/elf-init.c: New file.
18857 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18858 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18860 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18861 __gmon_start__ as global, but as static with a .preinit_array pointer.
18862 * sysdeps/init_array/gmon-start.c: New file. Use that.
18863 * sysdeps/init_array/crti.S: New file, empty except for comments.
18864 * sysdeps/init_array/crtn.S: Likewise.
18866 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18868 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18871 Remove Prefer_SSE_for_memop.
18872 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18873 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18874 HAS_PREFER_SSE_FOR_MEMOP.
18875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18877 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18878 Remove bzero, memset ifunc support.
18879 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18880 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18881 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18882 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18884 2013-03-11 Andreas Schwab <schwab@suse.de>
18887 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18890 (GLIBC_2.16): Remove pthread_atfork.
18892 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18894 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18895 (ptestcases.h): Likewise.
18897 2013-03-08 Roland McGrath <roland@hack.frob.com>
18899 * Makeconfig ($(common-objpfx)config.status): Depend on
18900 sysdeps/*/preconfigure{,.in} too.
18902 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18904 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18905 (__free_hook): Use void * instead of __malloc_ptr_t.
18906 (__malloc_hook): Likewise.
18907 (__realloc_hook): Likewise.
18908 (__memalign_hook): Likewise.
18909 (__after_morecore_hook): Likewise.
18910 * malloc/arena.c (save_malloc_hook): Likewise.
18911 (save_free_hook): Likewise.
18912 * malloc/hooks.c (malloc_hook_ini): Likewise.
18913 (realloc_hook_ini): Likewise.
18914 (memalign_hook_ini): Likewise.
18915 * malloc/malloc.c (malloc_hook_ini): Likewise.
18916 (realloc_hook_ini): Likewise.
18917 (memalign_hook_ini): Likewise.
18918 (__free_hook): Likewise.
18919 (__malloc_hook): Likewise.
18920 (__realloc_hook): Likewise.
18921 (__memalign_hook): Likewise.
18922 (__libc_malloc): Likewise.
18923 (__libc_free): Likewise.
18924 (__libc_realloc): Likewise.
18925 (__libc_memalign): Likewise.
18926 (__libc_valloc): Likewise.
18927 (__libc_pvalloc): Likewise.
18928 (__libc_calloc): Likewise.
18929 (__posix_memalign): Likewise.
18930 * malloc/morecore.c (__sbrk): Likewise.
18931 (__default_morecore): Likewise.
18933 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18935 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18936 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18937 __malloc_ptrdiff_t.
18939 * malloc/malloc.h (__malloc_size_t): Remove macro.
18940 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18942 (old_memalign_hook): Likewise.
18943 (old_realloc_hook): Likewise.
18944 (struct hdr): Likewise.
18946 (mallochook): Likewise.
18947 (memalignhook): Likewise.
18948 (reallochook): Likewise.
18949 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18950 (tr_old_realloc_hook): Likewise.
18951 (tr_old_memalign_hook): Likewise.
18952 (tr_mallochook): Likewise.
18953 (tr_reallochook): Likewise.
18954 (tr_memalignhook): Likewise.
18956 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18958 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18959 default_ldbl_pack and using as default implementation.
18960 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18962 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18963 redundant definition.
18964 (ldbl_insert_mantissa): Likewise.
18965 (ldbl_canonicalize): Likewise.
18966 (ldbl_nearbyint): Likewise.
18967 (ldbl_pack): Rename to ldbl_pack_ppc.
18968 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18969 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18970 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18972 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18975 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18976 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18977 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18979 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18980 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18981 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18983 2013-03-07 Andreas Jaeger <aj@suse.de>
18985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18988 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18990 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18991 Include mpa.h and declare __MPEXP.
18992 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18993 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18994 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18995 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18996 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18997 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18998 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19000 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19001 (__slowpow): Use long double EXPL and LOGL functions to
19003 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19004 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19005 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19006 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19007 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19008 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19011 intermediate variable to calculate exponent.
19013 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19017 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19018 [!NO__SQR]: Define __sqr.
19019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19020 and NO__SQR. Remove all code except __mul and __sqr. Include
19021 sysdeps/ieee754/dbl-64/mpa.c.
19022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19025 * posix/Makefile (tests): Add tst-pathconf.
19026 * posix/tst-pathconf.c: New test case.
19027 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19029 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19031 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
19033 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19035 2013-03-06 Andreas Jaeger <aj@suse.de>
19037 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19038 definition via __MAP_ANONYMOUS.
19040 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19041 it's not part of Linux headers.
19043 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19044 (MAP_HUGE_MASK): Define.
19046 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19048 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19049 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19051 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19052 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19054 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19055 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19057 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19059 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19060 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19061 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19062 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19063 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19064 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19066 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19069 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19070 Handle f2fs and efivarfs.
19072 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19075 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19076 (EFIVARFS_MAGIC): Add.
19077 (F2FS_LINK_MAX): Add.
19079 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19081 * stdio-common/vfprintf.c: Replace __builtin_expect with
19084 2013-03-06 Joseph Myers <joseph@codesourcery.com>
19087 * sysdeps/generic/bp-sym.h: Remove file.
19088 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19089 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19090 <bp-sym.h> and <bp-asm.h>.
19091 (__longjmp): Don't use BP_SYM.
19092 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19094 (memcpy): Don't use BP_SYM.
19095 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19096 <bp-sym.h> and <bp-asm.h>.
19097 (memcpy): Don't use BP_SYM.
19098 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19100 (memcpy): Don't use BP_SYM.
19101 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19103 (memset): Don't use BP_SYM.
19104 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19105 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19106 (__bzero): Don't use BP_SYM.
19107 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19108 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19109 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19110 <bp-sym.h> and <bp-asm.h>.
19111 (memcmp): Don't use BP_SYM. Remove comment about bounded
19113 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19114 <bp-sym.h> and <bp-asm.h>.
19115 (memcpy): Don't use BP_SYM.
19116 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19117 <bp-sym.h> and <bp-asm.h>.
19118 (memset): Don't use BP_SYM.
19119 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19120 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19121 (__bzero): Don't use BP_SYM.
19122 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19123 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19124 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19125 <bp-sym.h> and <bp-asm.h>.
19126 (strncmp): Don't use BP_SYM. Remove comment about bounded
19128 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19129 <bp-sym.h> and <bp-asm.h>.
19130 (memcpy): Don't use BP_SYM.
19131 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19132 <bp-sym.h> and <bp-asm.h>.
19133 (memset): Don't use BP_SYM.
19134 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19135 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19136 (__bzero): Don't use BP_SYM.
19137 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19138 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19139 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19140 <bp-sym.h> and <bp-asm.h>.
19141 (__memchr): Don't use BP_SYM.
19142 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19143 <bp-sym.h> and <bp-asm.h>.
19144 (memcmp): Don't use BP_SYM. Remove comment about bounded
19146 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19147 <bp-sym.h> and <bp-asm.h>.
19148 (memcpy): Don't use BP_SYM.
19149 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19150 <bp-sym.h> and <bp-asm.h>.
19151 (__mempcpy): Don't use BP_SYM.
19152 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19153 <bp-sym.h> and <bp-asm.h>.
19154 (__memrchr): Don't use BP_SYM.
19155 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19156 <bp-sym.h> and <bp-asm.h>.
19157 (memset): Don't use BP_SYM.
19158 (__bzero): Likewise.
19159 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19160 <bp-sym.h> and <bp-asm.h>.
19161 (__rawmemchr): Don't use BP_SYM.
19162 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19163 <bp-sym.h> and <bp-asm.h>.
19164 (__STRCMP): Don't use BP_SYM.
19165 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19166 <bp-sym.h> and <bp-asm.h>.
19167 (strchr): Don't use BP_SYM.
19168 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19169 <bp-sym.h> and <bp-asm.h>.
19170 (__strchrnul): Don't use BP_SYM.
19171 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19172 <bp-sym.h> and <bp-asm.h>.
19173 (strlen): Don't use BP_SYM.
19174 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19175 <bp-sym.h> and <bp-asm.h>.
19176 (strncmp): Don't use BP_SYM. Remove comment about bounded
19178 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19179 <bp-sym.h> and <bp-asm.h>.
19180 (__strnlen): Don't use BP_SYM.
19181 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19182 <bp-sym.h> and <bp-asm.h>.
19183 (__GI__setjmp): Don't use BP_SYM.
19184 (_setjmp): Likewise.
19185 (__sigsetjmp): Likewise.
19186 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19187 (L(start_addresses)): Don't use BP_SYM.
19188 (_start): Likewise.
19189 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19191 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19192 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19193 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19194 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19195 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19197 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19198 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19199 about bounded pointers.
19200 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19201 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19202 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19204 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19205 about bounded pointers. Remove GKM FIXME comments.
19206 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19207 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19209 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19210 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19211 Remove GKM FIXME comments.
19212 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19213 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19214 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19216 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19217 about bounded pointers. Remove GKM FIXME comment.
19218 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19220 (strncmp): Don't use BP_SYM. Remove comment about bounded
19222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19223 <bp-sym.h> and <bp-asm.h>.
19224 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19226 <bp-sym.h> and <bp-asm.h>.
19227 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19230 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19232 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19235 2013-03-05 David S. Miller <davem@davemloft.net>
19237 * po/es.po: Update from translation team.
19239 2013-03-05 Andreas Jaeger <aj@suse.de>
19241 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19242 <bits/mman-linux.h>.
19243 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19245 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19246 <bits/mman-linux.h> to end of file.
19247 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19249 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19250 <bits/mman-linux.h> to end of file.
19251 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19253 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19254 <bits/mman-linux.h> to end of file.
19256 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19257 (MCL_CURRENT, MCL_FUTURE): Define here.
19259 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19262 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19264 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19266 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19268 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19269 fourth parameter needed for rt_sigprocmask syscall.
19270 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19271 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19272 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19273 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19274 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19275 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19277 2013-03-04 Joseph Myers <joseph@codesourcery.com>
19280 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19281 comment about bounded pointers.
19282 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19283 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19285 2013-03-04 Andreas Jaeger <aj@suse.de>
19287 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19288 common definitions.
19290 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19291 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19292 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19293 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19294 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19295 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19297 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19300 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19301 __ieee754_sqrl instead of __sqrl.
19303 2013-03-01 Joseph Myers <joseph@codesourcery.com>
19305 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19306 * sysdeps/powerpc/fpu_control.h: ... here.
19307 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19308 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19309 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19310 * sysdeps/powerpc/bits/mathinline.h: ... here.
19312 2013-03-01 Roland McGrath <roland@hack.frob.com>
19314 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19315 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19316 to just [NEED_DL_SYSINFO_DSO].
19317 * elf/dl-support.c: Likewise.
19318 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19319 * elf/rtld.c (dl_main): Likewise.
19320 * elf/setup-vdso.h (setup_vdso): Likewise.
19321 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19322 * sysdeps/unix/sysv/linux/dl-sysdep.c
19323 (_dl_discover_osversion): Likewise.
19325 2013-03-01 Carlos O'Donell <carlos@redhat.com>
19327 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19328 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19330 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19332 * NEWS: Mention libm performance improvements and non-x86 PI
19335 * csu/libc-start.c (__pthread_initialize_minimal): Change
19336 function arguments.
19337 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19339 2013-02-28 Joseph Myers <joseph@codesourcery.com>
19342 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19343 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19344 <bp-sym.h> and <bp-asm.h>.
19345 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19346 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19348 (memcpy): Don't use BP_SYM.
19349 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19351 (__mpn_add_n): Don't use BP_SYM.
19352 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19353 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19355 (__mpn_addmul_1): Don't use BP_SYM.
19356 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19357 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19359 (_setjmp): Don't use BP_SYM.
19360 (__novmx_setjmp): Likewise.
19361 (__GI__setjmp): Likewise.
19362 (__vmx_setjmp): Likewise.
19363 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19365 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19366 (__bzero): Don't use BP_SYM.
19367 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19368 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19369 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19370 <bp-sym.h> and <bp-asm.h>.
19371 (memcpy): Don't use BP_SYM.
19372 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19373 <bp-sym.h> and <bp-asm.h>.
19374 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19375 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19376 <bp-sym.h> and <bp-asm.h>.
19377 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19378 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19380 (__mpn_lshift): Don't use BP_SYM.
19381 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19382 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19384 (memset): Don't use BP_SYM.
19385 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19386 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19387 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19389 (__mpn_mul_1): Don't use BP_SYM.
19390 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19391 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19392 <bp-sym.h> and <bp-asm.h>.
19393 (memcmp): Don't use BP_SYM.
19394 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19395 <bp-sym.h> and <bp-asm.h>.
19396 (memcpy): Don't use BP_SYM.
19397 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19398 <bp-sym.h> and <bp-asm.h>.
19399 (memset): Don't use BP_SYM.
19400 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19401 <bp-sym.h> and <bp-asm.h>.
19402 (strncmp): Don't use BP_SYM.
19403 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19404 <bp-sym.h> and <bp-asm.h>.
19405 (memcpy): Don't use BP_SYM.
19406 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19407 <bp-sym.h> and <bp-asm.h>.
19408 (memset): Don't use BP_SYM.
19409 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19410 <bp-sym.h> and <bp-asm.h>.
19411 (__memchr): Don't use BP_SYM.
19412 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19413 <bp-sym.h> and <bp-asm.h>.
19414 (memcmp): Don't use BP_SYM.
19415 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19416 <bp-sym.h> and <bp-asm.h>.
19417 (memcpy): Don't use BP_SYM.
19418 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19419 <bp-sym.h> and <bp-asm.h>.
19420 (__mempcpy): Don't use BP_SYM.
19421 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19422 <bp-sym.h> and <bp-asm.h>.
19423 (__memrchr): Don't use BP_SYM.
19424 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19425 <bp-sym.h> and <bp-asm.h>.
19426 (memset): Don't use BP_SYM.
19427 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19428 <bp-sym.h> and <bp-asm.h>.
19429 (__rawmemchr): Don't use BP_SYM.
19430 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19431 <bp-sym.h> and <bp-asm.h>.
19432 (__STRCMP): Don't use BP_SYM.
19433 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19434 <bp-sym.h> and <bp-asm.h>.
19435 (strchr): Don't use BP_SYM.
19436 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19437 <bp-sym.h> and <bp-asm.h>.
19438 (__strchrnul): Don't use BP_SYM.
19439 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19440 <bp-sym.h> and <bp-asm.h>.
19441 (strlen): Don't use BP_SYM.
19442 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19443 <bp-sym.h> and <bp-asm.h>.
19444 (strncmp): Don't use BP_SYM.
19445 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19446 <bp-sym.h> and <bp-asm.h>.
19447 (__strnlen): Don't use BP_SYM.
19448 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19450 (__mpn_rshift): Don't use BP_SYM.
19451 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19452 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19453 <bp-sym.h> and <bp-asm.h>.
19454 (__sigsetjmp): Don't use BP_SYM.
19455 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19456 (L(start_addresses)): Don't use BP_SYM.
19457 (_start): Likewise.
19458 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19460 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19461 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19462 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19463 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19465 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19466 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19467 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19468 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19470 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19472 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19473 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19475 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19477 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19478 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19479 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19481 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19483 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19485 (strncmp): Don't use BP_SYM,
19486 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19488 (__mpn_sub_n): Don't use BP_SYM.
19489 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19490 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19492 (__mpn_submul_1): Don't use BP_SYM.
19493 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19495 <bp-sym.h> and <bp-asm.h>.
19496 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19498 <bp-sym.h> and <bp-asm.h>.
19499 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19502 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19505 Use ZK to minimize writes to Z.
19506 (sub_magnitudes): Simplify code a bit.
19507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19508 Use ZK to minimize writes to Z.
19509 (sub_magnitudes): Simplify code a bit.
19511 2013-02-27 Roland McGrath <roland@hack.frob.com>
19513 * csu/gmon-start.c: Add special exception to license text.
19515 2013-02-27 Richard Henderson <rth@redhat.com>
19517 * scripts/config.guess: Update from config.git.
19518 * scripts/config.sub: Likewise.
19520 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19522 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19524 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19526 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19528 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19530 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19532 2013-02-26 Roland McGrath <roland@hack.frob.com>
19534 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19535 [$(build-shared = yes].
19537 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19539 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19540 (__mul): Reduce iterations for calculating mantissa.
19542 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19544 (__mpranred): Likewise.
19547 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19548 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19550 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19552 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19553 Define __attribute__.
19555 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19557 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19559 * posix/regex_internal.h (__attribute): Remove.
19560 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19561 (re_string_context_at): Likewise.
19562 (bitset_not): Use __attribute__ and mark function as possibly
19564 (bitset_merge): Likewise.
19565 (bitset_mask): Likewise.
19566 (re_string_char_size_at): Likewise.
19567 (re_string_wchar_at): Likewise.
19568 (re_string_elem_size_at): Likewise.
19570 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19572 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19576 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19580 (denorm): Likewise.
19581 (__dbl_mp): Likewise.
19582 (add_magnitudes): Likewise.
19583 (sub_magnitudes): Likewise.
19587 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19590 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19593 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19597 up changes with default code.
19598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19601 2013-02-24 Allan McRae <allan@archlinux.org>
19603 * manual/socket.texi (The Internet Namespace): Order menu items
19604 to match that in the file.
19606 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19607 node listing of the info page menu.
19609 2013-02-21 Joseph Myers <joseph@codesourcery.com>
19612 * sysdeps/i386/bp-asm.h: Remove file.
19613 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19614 (PARMS): Do not use macros from bp-asm.h.
19618 (__mpn_add_n): Do not use BP_SYM
19619 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19621 (PARMS): Do not use macros from bp-asm.h.
19624 (__mpn_addmul_1): 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/bsd-setjmp.S: Do not include "bp-sym.h" and
19632 (PARMS): Do not use macros from bp-asm.h.
19633 (SIGMSK): Likewise.
19634 (setjmp): Likewise. Do not use BP_SYM.
19635 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19637 (PARMS): Do not use macros from bp-asm.h.
19638 (__frexp): Do not use BP_SYM.
19640 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19642 (PARMS): Do not use macros from bp-asm.h.
19643 (__frexpf): Do not use BP_SYM.
19644 (frexpf): Likewise.
19645 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19647 (PARMS): Do not use macros from bp-asm.h.
19648 (__frexpl): Do not use BP_SYM.
19649 (frexpl): Likewise.
19650 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19652 (PARMS): Do not use macros from bp-asm.h.
19653 (__remquo): Do not use BP_SYM.
19654 (remquo): Likewise.
19655 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19657 (PARMS): Do not use macros from bp-asm.h.
19658 (__remquof): Do not use BP_SYM.
19659 (remquof): Likewise.
19660 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19662 (PARMS): Do not use macros from bp-asm.h.
19663 (__remquol): Do not use BP_SYM.
19664 (remquol): Likewise.
19665 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19667 (PARMS): Do not use macros from bp-asm.h.
19670 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19671 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19673 (PARMS): Do not use macros from bp-asm.h.
19674 (strlen): Do not use BP_SYM.
19675 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19677 (PARMS): Do not use macros from bp-asm.h.
19681 (__mpn_add_n): Do not use BP_SYM.
19682 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19684 (PARMS): Do not use macros from bp-asm.h.
19687 (__mpn_addmul_1): Do not use BP_SYM.
19688 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19691 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19693 (PARMS): Do not use macros from bp-asm.h.
19696 (__mpn_lshift): Do not use BP_SYM.
19697 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19699 (PARMS): Do not use macros from bp-asm.h.
19703 (memcpy): Likewise. Do not use BP_SYM.
19704 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19705 libc_hidden_def and weak_alias.
19706 (mempcpy): Do not use BP_SYM in weak_alias.
19707 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19709 (PARMS): Do not use macros from bp-asm.h.
19712 [!BZERO_P] (CHR): Likewise.
19713 (memset): Likewise. Do not use BP_SYM.
19714 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19716 (PARMS): Do not use macros from bp-asm.h.
19719 (__mpn_mul_1): Do not use BP_SYM.
19720 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19722 (PARMS): Do not use macros from bp-asm.h.
19725 (__mpn_rshift): Do not use BP_SYM.
19726 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19728 (PARMS): Do not use macros from bp-asm.h.
19731 (strchr): Likewise. Do not use BP_SYM.
19732 (index): Do not use BP_SYM in weak_alias.
19733 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19735 (PARMS): Do not use macros from bp-asm.h.
19738 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19739 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19741 (PARMS): Do not use macros from bp-asm.h.
19742 (strlen): Do not use BP_SYM.
19743 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19745 (PARMS): Do not use macros from bp-asm.h.
19749 (__mpn_sub_n): Do not use BP_SYM.
19750 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19752 (PARMS): Do not use macros from bp-asm.h.
19755 (__mpn_submul_1): Do not use BP_SYM.
19756 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19758 (PARMS): Do not use macros from bp-asm.h.
19762 (__mpn_add_n): Do not use BP_SYM.
19763 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19766 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19768 (PARMS): Do not use macros from bp-asm.h.
19771 (memcmp): Do not use BP_SYM.
19772 (bcmp): Do not use BP_SYM in weak_alias.
19773 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19775 (PARMS): Do not use macros from bp-asm.h.
19779 (memcpy): Likewise. Do not use BP_SYM.
19780 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19782 (PARMS): Do not use macros from bp-asm.h.
19786 (memmove): Likewise. Do not use BP_SYM.
19787 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19789 (PARMS): Do not use macros from bp-asm.h.
19793 (__mempcpy): Likewise. Do not use BP_SYM.
19794 (mempcpy): Do not use BP_SYM in weak_alias.
19795 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19797 (PARMS): Do not use macros from bp-asm.h.
19800 [!BZERO_P] (CHR): Likewise.
19801 (memset): Likewise. Do not use BP_SYM.
19802 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19804 (PARMS): Do not use macros from bp-asm.h.
19806 (strcmp): Do not use BP_SYM.
19807 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19809 (PARMS): Do not use macros from bp-asm.h.
19812 [USE_AS_STRTOK_R] (SAVE): Likewise.
19813 (FUNCTION): Likewise. Do not use BP_SYM.
19814 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19816 (strtok_r): Likewise.
19817 (__GI___strtok_r): Likewise.
19818 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19819 (PARMS): Do not use macros from bp-asm.h.
19822 (__mpn_lshift): Do not use BP_SYM.
19823 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19824 (PARMS): Do not use macros from bp-asm.h.
19827 (__memchr): Do not use BP_SYM.
19828 (memchr): Do not use BP_SYM in weak_alias.
19829 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19830 (PARMS): Do not use macros from bp-asm.h.
19833 (memcmp): Do not use BP_SYM.
19834 (bcmp): Do not use BP_SYM in weak_alias.
19835 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19836 (PARMS): Do not use macros from bp-asm.h.
19839 (__mpn_mul_1): Do not use BP_SYM.
19840 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19842 (PARMS): Do not use macros from bp-asm.h.
19845 (__rawmemchr): Do not use BP_SYM.
19846 (rawmemchr): Do not use BP_SYM in weak_alias.
19847 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19848 (PARMS): Do not use macros from bp-asm.h.
19851 (__mpn_rshift): Do not use BP_SYM.
19852 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19853 (PARMS): Do not use macros from bp-asm.h.
19854 (SIGMSK): Likewise.
19855 (__sigsetjmp): Likewise. Do not use BP_SYM.
19856 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19857 (_start): Do not use BP_SYM.
19858 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19859 (PARMS): Do not use macros from bp-asm.h.
19862 (__stpcpy): Likewise. Do not use BP_SYM.
19863 (stpcpy): Do not use BP_SYM in weak_alias.
19864 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19866 (PARMS): Do not use macros from bp-asm.h.
19870 (__stpncpy): Likewise. Do not use BP_SYM.
19871 (stpncpy): Do not use BP_SYM in weak_alias.
19872 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19873 (PARMS): Do not use macros from bp-asm.h.
19876 (strchr): Likewise. Do not use BP_SYM.
19877 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19879 (PARMS): Do not use macros from bp-asm.h.
19882 (__strchrnul): Likewise. Do not use BP_SYM.
19883 (strchrnul): Do not use BP_SYM in weak_alias.
19884 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19886 (PARMS): Do not use macros from bp-asm.h.
19888 (strcspn): Do not use BP_SYM.
19889 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19891 (PARMS): Do not use macros from bp-asm.h.
19894 (strpbrk): Likewise. Do not use BP_SYM.
19895 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19897 (PARMS): Do not use macros from bp-asm.h.
19900 (strrchr): Likewise. Do not use BP_SYM.
19901 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19902 (PARMS): Do not use macros from bp-asm.h.
19904 (strspn): Do not use BP_SYM.
19905 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19906 (PARMS): Do not use macros from bp-asm.h.
19910 (FUNCTION): Likewise. Do not use BP_SYM.
19911 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19913 (strtok_r): Likewise.
19914 (__GI___strtok_r): Likewise.
19915 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19916 (PARMS): Do not use macros from bp-asm.h.
19920 (__mpn_sub_n): Do not use BP_SYM.
19921 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19923 (PARMS): Do not use macros from bp-asm.h.
19926 (__mpn_submul_1): Do not use BP_SYM.
19927 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19929 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19931 (PARMS): Do not use macros from bp-asm.h.
19936 (__clone): Do not use BP_SYM.
19937 (clone): Do not use BP_SYM in weak_alias.
19938 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19940 (PARMS): Do not use macros from bp-asm.h.
19942 (__mmap64): Do not use BP_SYM.
19943 (mmap64): Do not use BP_SYM in weak_alias.
19944 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19945 <bp-sym.h> and <bp-asm.h>.
19946 (PARMS): Do not use macros from bp-asm.h.
19947 (__posix_fadvise64_l64): Do not use BP_SYM.
19948 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19949 (PARMS): Do not use macros from bp-asm.h.
19951 (semtimedop): Do not use BP_SYM.
19952 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19955 2013-02-21 Allan McRae <allan@archlinux.org>
19957 * manual/message.texi (Charset conversion in gettext):
19958 Move @end statement to beginning of line.
19960 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19967 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19968 (denorm): Likewise.
19969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19972 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19974 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19975 tail-call to the resolved function if pltexit isn't needed.
19977 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19980 or Y being zero as being unlikely.
19981 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19984 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19986 * manual/nss.texi (System Databases and Name Service Switch):
19987 Remove frobnicate @pxref.
19989 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19991 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19992 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19994 2013-02-20 Petr Machata <pmachata@redhat.com>
19996 * elf/elf.h (R_ARM_TARGET1): New macro.
19997 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19998 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19999 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20000 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20001 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20002 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20003 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20004 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20005 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20006 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20007 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20008 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20009 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20010 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20011 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20012 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20013 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20014 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20015 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20016 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20017 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20018 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20019 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20020 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20021 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20022 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20023 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20024 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20025 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20026 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20027 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20028 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20029 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20030 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20031 (R_ARM_THM_GOT_BREL12): Likewise.
20032 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20033 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20034 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20035 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20036 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20037 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20038 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20039 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20040 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20042 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20044 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20045 __attribute_used__ to __attribute__ ((unused)).
20047 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20049 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20052 comment formatting.
20053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20055 2013-02-19 Joseph Myers <joseph@codesourcery.com>
20058 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20060 (ENTER): Remove both macro definitions.
20062 (CHECK_BOUNDS_LOW): Likewise.
20063 (CHECK_BOUNDS_HIGH): Likewise.
20064 (CHECK_BOUNDS_BOTH): Likewise.
20065 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20066 (RETURN_BOUNDED_POINTER): Likewise.
20067 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20068 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20069 (POP_ERRNO_LOCATION_RETURN): Likewise.
20070 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20071 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20072 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20074 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20075 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20076 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20077 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20078 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20079 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20080 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20081 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20082 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20083 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20084 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20085 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20086 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20087 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20089 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20090 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20092 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20093 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20094 * sysdeps/i386/i586/memset.S (memset): Likewise.
20095 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20096 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20097 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20099 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20100 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20101 Change uses of L(2) to L(out).
20102 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20103 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20104 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20105 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20106 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20108 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20109 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20111 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20112 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20113 (RETURN): Do not use macro LEAVE.
20114 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20115 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20116 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20117 * sysdeps/i386/i686/memset.S (memset): Likewise.
20118 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20119 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20120 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20121 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20123 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20124 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20125 L(1_2) and L(1_3) into L(1).
20126 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20127 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20128 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20129 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20130 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20131 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20132 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20133 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20134 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20136 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20137 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20138 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20139 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20140 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20141 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20142 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20143 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20144 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20145 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20146 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20147 * sysdeps/i386/strspn.S (strspn): Likewise.
20148 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20150 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20151 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20152 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20153 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20154 L(1_3) into L(1_1).
20155 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20156 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20157 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20159 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20161 2013-02-19 Jakub Jelinek <jakub@redhat.com>
20163 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20166 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20168 * math/atest-exp.c (exp_mpn): Remove ROUND.
20169 * math/atest-exp2.c (exp_mpn): Likewise.
20170 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20172 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20173 * stdlib/tst-tls-atexit-lib.c: Likewise.
20174 * stdlib/tst-tls-atexit.c: Likewise.
20176 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20178 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20179 and __attribute_alloc_size__.
20181 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20183 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20184 __attribute_alloc_size__.
20185 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20186 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20188 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20190 * include/programs/xmalloc.h: New file.
20191 * catgets/gencat.c: Include it.
20192 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20193 * elf/pldd.c: Likewise.
20194 * iconv/iconv_charmap.c: Likewise.
20195 * iconv/iconvconfig.c: Likewise.
20196 * iconv/strtab.c: Likewise.
20197 * locale/programs/locale.c: Likewise.
20198 * locale/programs/localedef.h: Likewise.
20199 * locale/programs/simple-hash.c: Likewise.
20200 * nscd/nscd.h: Likewise.
20201 * nss/makedb.c: Likewise.
20202 * sysdeps/generic/ldconfig.h: Likewise.
20204 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20206 * Versions.def: Add GLIBC_2.18.
20207 * include/link.h (struct link_map): New member l_tls_dtor_count.
20208 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20209 (__call_tls_dtors): Likewise.
20210 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20211 __cxa_thread_atexit_impl.
20212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20220 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20228 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20229 (tests): Add test case tst-tls-atexit.
20230 (modules-names): Add shared library for tst-tls-atexit.
20231 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20232 (GLIBC_PRIVATE): Add __call_tls_dtors.
20233 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20235 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20236 * stdlib/tst-tls-atexit.c: New test case.
20237 * stdlib/tst-tls-atexit-lib.c: New test case.
20239 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20241 * elf/Versions (ld): Add _dl_find_dso_for_object.
20242 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20243 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20244 (dl_open_worker): Use _dl_find_dso_for_object.
20245 * elf/dl-sym.c (do_sym): Likewise.
20246 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20248 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20250 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20251 Syntactic changes only.
20252 (_dl_runtime_profile): Do a tail-call to the resolved function.
20254 2013-02-17 Joseph Myers <joseph@codesourcery.com>
20257 * sysdeps/x86_64/bp-asm.h: Remove file.
20258 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20259 <bp-sym.h> and <bp-asm.h>.
20260 (__clone): Do not use BP_SYM.
20261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20262 <bp-sym.h> and <bp-asm.h>.
20263 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20264 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20266 (_setjmp): Do not use BP_SYM.
20267 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20269 (setjmp): Do not use BP_SYM.
20270 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20272 (mempcpy): Do not use BP_SYM in weak_alias.
20273 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20275 (strchr): Do not use BP_SYM.
20276 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20278 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20279 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20280 (_start): Do not use BP_SYM.
20281 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20283 (strcat): Do not use BP_SYM.
20284 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20286 (STRCMP): Do not use BP_SYM.
20287 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20289 (STRCPY): Do not use BP_SYM.
20290 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20292 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20294 (FUNCTION): Do not use BP_SYM.
20295 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20297 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20299 2013-02-17 Andreas Jaeger <aj@suse.de>
20301 * time/Versions: Sort entries.
20302 * string/Versions: Likewise.
20303 * resolv/Versions: Likewise.
20304 * posix/Versions: Likewise.
20305 * iconv/Versions: Likewise.
20306 * elf/Versions: Likewise.
20307 * wcsmbs/Versions: Likewise.
20309 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20311 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20312 loop termination condition.
20314 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20315 variable to calculate EZ.
20318 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20319 the lower precision input.
20321 2013-02-15 Joseph Myers <joseph@codesourcery.com>
20324 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20325 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20326 (run-via-rtld-prefix): Do not handle %-bp tests.
20327 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20328 (all-object-suffixes): Remove .ob.
20329 (bppfx): Remove variable.
20330 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20331 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20332 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20333 [$(build-bounded) = yes] (libtype.ob): Likewise.
20334 * Makerules (elide-routines.ob): Remove variable.
20335 (do-tests-clean): Do not handle *-bp.out.
20336 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20337 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20338 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20339 (tests): Do not include $(tests-bp.out).
20340 (xtests): Do not include $(xtests-bp.out).
20341 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20342 [$(build-bounded) = yes] ($(addprefix
20343 $(objpfx),$(binaries-bounded))): Remove rule.
20344 ($(objpfx)%-bp.out): Remove rule.
20345 * config.make.in (build-bounded): Remove variable.
20346 * crypt/Makefile [$(build-bounded) = yes]
20347 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20348 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20349 append to variable.
20350 [$(build-bounded) = yes] (install-lib): Likewise.
20351 [$(build-bounded) = yes] (generated): Likewise.
20352 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20354 * intl/Makefile [$(build-bounded) = yes]
20355 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20356 * math/Makefile [$(build-bounded) = yes]
20357 ($(tests:%=$(objpfx)%-bp): Likewise.
20358 * misc/Makefile [$(build-bounded) = yes]
20359 ($(objpfx)tst-tsearch-bp): Likewise.
20360 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20361 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20363 * string/Makefile (o-objects.ob): Remove variable.
20364 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20365 (CFLAGS-.ob): Remove variable.
20366 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20367 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20368 both definitions of variable.
20369 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20370 (ASFLAGS-.ob): Remove variable.
20372 2013-02-14 Joseph Myers <joseph@codesourcery.com>
20375 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20376 Remove __BOUNDED_POINTERS__ from condition.
20377 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20378 * string/bits/string2.h [!__NO_STRING_INLINES &&
20379 !__BOUNDED_POINTERS__]: Likewise.
20380 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20382 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20383 Remove conditional code.
20384 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20385 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20386 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20390 * csu/libc-start.c: Do not include <bp-sym.h>.
20391 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20392 * elf/dl-open.c: Do not include <bp-sym.h>.
20393 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20394 * math/fegetenv.c: Do not include <bp-sym.h>.
20395 (fegetenv): Do not use BP_SYM in versioned symbols.
20396 * nptl/sysdeps/pthread/bits/libc-lockP.h
20397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20400 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20402 (__pthread_mutex_destroy): Likewise.
20403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20404 (__pthread_mutex_lock): Likewise.
20405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20406 (__pthread_mutex_trylock): Likewise.
20407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20408 (__pthread_mutex_unlock): Likewise.
20409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20410 (__pthread_mutexattr_init): Likewise.
20411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20412 (__pthread_mutexattr_destroy): Likewise.
20413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20414 (__pthread_mutexattr_settype): Likewise.
20415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20416 (__pthread_rwlock_init): Likewise.
20417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20418 (__pthread_rwlock_destroy): Likewise.
20419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20420 (__pthread_rwlock_rdlock): Likewise.
20421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20422 (__pthread_rwlock_tryrdlock): Likewise.
20423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20424 (__pthread_rwlock_wrlock): Likewise.
20425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20426 (__pthread_rwlock_trywrlock): Likewise.
20427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20428 (__pthread_rwlock_unlock): Likewise.
20429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20430 (__pthread_key_create): Likewise.
20431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20432 (__pthread_setspecific): Likewise.
20433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20434 (__pthread_getspecific): Likewise.
20435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20438 (_pthread_cleanup_push_defer): Likewise.
20439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20440 (_pthread_cleanup_pop_restore): Likewise.
20441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20442 (pthread_setcancelstate): Likewise.
20443 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20445 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20446 (memchr): Do not use BP_SYM in weak_alias.
20447 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20448 (fegetenv): Do not use BP_SYM in versioned symbols.
20449 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20450 (fesetenv): Do not use BP_SYM in versioned symbols.
20451 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20452 (feupdateenv): Do not use BP_SYM in versioned symbols.
20453 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20454 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20455 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20456 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20457 (open64): Do not use BP_SYM in weak_alias.
20458 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20459 (fegetenv): Do not use BP_SYM in versioned symbols.
20460 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20461 (fesetenv): Do not use BP_SYM in versioned symbols.
20462 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20463 (feupdateenv): Do not use BP_SYM in versioned symbols.
20464 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20465 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20466 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20467 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20468 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20469 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20470 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20472 (__libc_start_main): Do not use BP_SYM.
20474 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20477 redundant return line.
20479 (denorm): Likewise.
20480 (dbl_mp): Likewise.
20481 (sub_magnitudes): Likewise.
20487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20489 (denorm): Likewise.
20490 (dbl_mp): Likewise.
20491 (sub_magnitudes): Likewise.
20498 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20500 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20501 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20504 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20505 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20506 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20507 of __mul for squares.
20508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20512 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20513 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20515 2013-02-13 Joseph Myers <joseph@codesourcery.com>
20518 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20520 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20521 prototype or function definition. Rename ubp_* variables and
20522 parameters. Remove argv definitions conditional on
20523 [__BOUNDED_POINTERS__].
20524 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20525 * elf/dl-runtime.c (_dl_fixup): Likewise.
20526 * include/set-hooks.h (RUN_HOOK): Likewise.
20527 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20529 * string/strcpy.c (strcpy): Do not use __unbounded.
20530 * sysdeps/generic/frame.h (struct layout): Likewise.
20531 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20532 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20533 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20534 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20535 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20536 (__backtrace): Likewise.
20537 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20539 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20540 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20541 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20543 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20544 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20545 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20546 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20547 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20548 Do not use __unbounded.
20549 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20550 Rename __unboundedrlimits parameter to rlimits in prototype.
20551 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20552 Do not use __unbounded.
20553 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20554 not use __ptrvalue.
20555 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20556 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20557 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20558 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20559 __ptrvalue or __unbounded.
20560 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20561 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20563 (__new_msgctl): Do not use __ptrvalue.
20564 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20566 (__libc_msgrcv): Do not use __ptrvalue.
20567 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20568 startup_info): Do not use __unbounded.
20569 (__libc_start_main): Likewise. Rename ubp_* variables and
20570 parameters. Remove argv definitions conditional on
20571 [__BOUNDED_POINTERS__].
20572 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20574 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20576 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20578 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20580 (__new_shmctl): Do not use __ptrvalue.
20581 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20582 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20584 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20585 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20586 (__libc_sigaction): Likewise.
20587 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20588 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20590 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20592 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
20594 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20596 * string/mempcpy.c: Implement by calling memcpy.
20598 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20602 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20605 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20606 values in the mantissa.
20608 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20609 minimize writes to Z.
20610 (sub_magnitudes): Simplify code a bit.
20612 2013-02-12 Roland McGrath <roland@hack.frob.com>
20614 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20615 from the message. The linker prefixes all warnings with that already.
20617 2013-02-12 Andreas Schwab <schwab@suse.de>
20620 * posix/regexec.c (extend_buffers): Add parameter min_len.
20621 (check_matching): Pass minimum needed length.
20622 (clean_state_log_if_needed): Likewise.
20623 (get_subexp): Likewise.
20624 * posix/Makefile (tests): Add bug-regex34.
20625 (bug-regex34-ENV): Define.
20626 * posix/bug-regex34.c: New file.
20629 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20630 elements compare against the byte sequence of it, not its name.
20631 * posix/Makefile (tests): Add bug-regex35.
20632 (bug-regex35-ENV): Define.
20633 * posix/bug-regex35.c: New file.
20635 2013-02-11 Tom de Vries <tom@codesourcery.com>
20637 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20639 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20640 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20641 (CHECK_EOL): Add undef.
20643 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
20645 * bits/stdlib-bsearch.h: New file.
20646 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20647 * stdlib/stdlib.h: Likewise.
20649 2013-02-11 Roland McGrath <roland@hack.frob.com>
20651 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20652 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20654 * manual/search.texi (Array Search Function): Add missing const in
20656 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20657 declaration to use rlim_t.
20658 (Basic Scheduling Functions): Remove erroneous const from
20659 sched_getparam prototype. Remove erroneous * from
20660 sched_get_priority_max and sched_get_priority_min prototypes.
20661 (Resource Usage): Fix summary @comment on vtimes to refer to
20662 sys/vtimes.h rather than vtimes.h.
20663 Add missing *s in vtimes prototype.
20664 (Limits on Resources): Fix ulimit prototype to return long int.
20665 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20666 prototypes to use long int rather than double.
20667 (BSD Random): Fix initstate and setstate to use char *, not void *.
20668 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20669 prototype to make second argument 'struct aiocb64 *const[]'.
20670 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20671 (Status of AIO Operations): Remove erroneous const in aio_return and
20672 aio_return64 prototypes.
20673 (Synchronizing I/O): Fix sync prototype to return void.
20674 * manual/startup.texi (Suboptions): Remove an erroneous const in
20675 getsubopt prototype.
20676 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20677 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20678 use size_t rather than int.
20679 (Scanning All Users): Likewise for getpwent_r.
20680 (Setting Groups): Add missing const to setgroups prototype.
20681 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20682 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20683 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20684 'const void *' rather than 'const char *'.
20685 (Host Address Functions): Likewise for inet_ntop.
20686 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20687 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20688 ssize_t for return value.
20689 (Sending Data): Likewise for send, sendto, sendmsg.
20690 (Socket Option Functions): Add a missing const in setsockopt prototype.
20691 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20692 use wchar_t for the argument.
20693 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20694 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20696 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20697 double/float/long double for second argument.
20698 Fix return types of significand, significandf, significandl.
20699 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20700 argument in fchmod prototype.
20701 (File Owner): Use uid_t and gid_t in fchown prototype.
20702 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20703 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20704 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20705 use 'const struct dirent **' as argument types to CMP function pointer
20707 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20708 (File Times): Fix summary magic @comment for struct utimbuf and utime
20709 to refer to utime.h, not time.h.
20710 * manual/string.texi (Argz Functions): Add missing const in
20711 argz_extract and argz_next prototypes.
20712 (Finding Tokens in a String): Likewise for basename.
20713 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20714 (Copying and Concatenation): Fix typo in wmemmove prototype.
20715 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20716 (Signal Stack): Remove erroneous const in sigstack prototype.
20717 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20719 (Simple Calendar Time): Likewise for stime.
20720 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20722 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20723 say sys/sysctl.h instead.
20724 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20725 and vsyslog prototypes.
20727 2013-02-11 Tom de Vries <tom@codesourcery.com>
20729 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20732 2013-02-11 Roland McGrath <roland@hack.frob.com>
20734 * misc/sys/mman.h: Fix typo in mremap comment.
20736 2013-02-08 Roland McGrath <roland@hack.frob.com>
20738 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20739 the '\0' terminator.
20741 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20744 * debug/segfault.c: Don't include <bp-checks.h>.
20745 * sysdeps/generic/bp-checks.h: Remove file.
20746 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20747 (__GETDENTS): Don't use CHECK_N.
20748 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20749 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20750 (__getgroups): Don't use CHECK_N.
20751 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20752 (setgroups): Don't use CHECK_N.
20753 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20754 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20755 (__libc_msgrcv): Don't use CHECK_N.
20756 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20757 (__libc_msgsnd): Don't use CHECK_N.
20758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20760 (__libc_pread): Don't use CHECK_N.
20761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20762 include <bp-checks.h>.
20763 (__libc_pread64): Don't use CHECK_N.
20764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20765 include <bp-checks.h>.
20766 (__libc_pwrite): Don't use CHECK_N.
20767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20768 include <bp-checks.h>.
20769 (__libc_pwrite64): Don't use CHECK_N.
20770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20772 (__libc_pread): Don't use CHECK_N.
20773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20774 include <bp-checks.h>.
20775 (__libc_pread64): Don't use CHECK_N.
20776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20777 include <bp-checks.h>.
20778 (__libc_pwrite): Don't use CHECK_N.
20779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20780 include <bp-checks.h>.
20781 (__libc_pwrite64): Don't use CHECK_N.
20782 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20783 (do_pread): Don't use CHECK_N.
20784 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20785 (do_pread64): Don't use CHECK_N.
20786 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20787 (do_pwrite): Don't use CHECK_N.
20788 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20789 (do_pwrite64): Don't use CHECK_N.
20790 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20791 (__libc_readv): Don't use CHECK_N.
20792 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20793 (semop): Don't use CHECK_N.
20794 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20796 (semtimedop): Don't use CHECK_N.
20797 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20798 (__libc_pread): Don't use CHECK_N.
20799 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20801 (__libc_pread64): Don't use CHECK_N.
20802 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20804 (__libc_pwrite): Don't use CHECK_N.
20805 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20807 (__libc_pwrite64): Don't use CHECK_N.
20808 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20810 (__libc_msgrcv): Don't use CHECK_N.
20811 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20812 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20813 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20814 (__libc_writev): Don't use CHECK_N.
20816 2013-02-08 Roland McGrath <roland@hack.frob.com>
20818 * string/strcpy.c: Removed unused variable.
20820 * Makeconfig (+sysdep-includes): Define with := rather than =.
20821 Use an existing include/ subdir of each sysdeps dir before it.
20823 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20825 * nscd/connection.c (register_traced_file): Comment function.
20826 [HAVE_INOTIFY] (union __inev): Define.
20827 [HAVE_INOTIFY] (inotify_check_files): New function.
20828 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20829 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20831 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20833 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20835 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20836 loaded if not already and that a failure is permanent.
20838 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20841 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20842 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20844 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20847 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20848 (CHECK_1_NULL_OK): Likewise.
20849 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20850 (__fxstat): Do not use CHECK_1.
20851 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20853 (___fxstat64): Do not use CHECK_1.
20854 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20856 (__fxstatat): Do not use CHECK_1.
20857 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20859 (__fxstatat64): Do not use CHECK_1.
20860 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20862 (__fxstat): Do not use CHECK_1.
20863 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20865 (__fxstatat): Do not use CHECK_1.
20866 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20868 (__getresgid): Do not use CHECK_1.
20869 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20871 (__getresuid): Do not use CHECK_1.
20872 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20874 (__lxstat): Do not use CHECK_1.
20875 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20877 (__old_msgctl): Do not use CHECK_1.
20878 (__new_msgctl): Likewise.
20879 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20881 (__new_setrlimit): Do not use CHECK_1.
20882 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20884 (__old_shmctl): Do not use CHECK_1.
20885 (__new_shmctl): Likewise.
20886 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20888 (__xstat): Do not use CHECK_1.
20889 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20890 (__lxstat): Do not use CHECK_1.
20891 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20893 (___lxstat64): Do not use CHECK_1.
20894 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20895 (__old_msgctl): Do not use CHECK_1.
20896 (__new_msgctl): Likewise.
20897 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20899 (__gettimeofday): Do not use CHECK_1.
20900 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20901 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20902 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20904 (__gettimeofday): Do not use CHECK_1.
20905 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20906 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20907 (__new_shmctl): Do not use CHECK_1.
20908 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20910 (do_sigtimedwait): Do not use CHECK_1.
20911 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20913 (do_sigwaitinfo): Do not use CHECK_1.
20914 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20916 (msgctl): Do not use CHECK_1.
20917 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20919 (shmctl): Do not use CHECK_1.
20920 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20921 (ustat): Do not use CHECK_1.
20922 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20924 (__fxstat): Do not use CHECK_1.
20925 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20927 (__fxstatat): Do not use CHECK_1.
20928 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20930 (__lxstat): Do not use CHECK_1.
20931 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20933 (__xstat): Do not use CHECK_1.
20934 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20935 (__xstat): Do not use CHECK_1.
20936 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20937 (___xstat64): Do not use CHECK_1.
20940 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20942 (CHECK_BOUNDS_HIGH): Likewise.
20943 * string/strcpy.c: Do not include <bp-checks.h>.
20944 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20946 2013-02-07 Roland McGrath <roland@hack.frob.com>
20948 * nscd/nscd-client.h (__nscd_drop_map_ref):
20949 Add __attribute__ ((unused)).
20950 * nis/nss-nisplus.h (niserr2nss): Likewise.
20952 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20953 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20955 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20956 Remove inline keyword.
20957 * include/rounding-mode.h (round_away): Likewise.
20958 * libio/wfileops.c (adjust_wide_data): Likewise.
20959 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20960 (__m128i_strloadu_tolower): Likewise.
20961 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20962 (__m128i_strloadu_tolower): Likewise.
20963 * time/mktime.c (ydhms_diff): Likewise.
20964 * locale/elem-hash.h (elem_hash): Likewise.
20965 * locale/setlocale.c (setdata): Likewise.
20966 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20967 (re_string_wchar_at): Likewise.
20968 (bitset_not, bitset_merge, bitset_mask): Likewise.
20969 [!(__GNUC__ > 3)] (inline): Remove macro.
20970 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20971 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20972 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20973 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20974 * string/memcmp.c (memcmp_bytes): Likewise.
20975 * locale/programs/locarchive.c (compute_hashval): Likewise.
20976 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20977 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20978 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20979 * nss/getent.c (print_rpc, print_protocols): Likewise.
20980 (print_passwd, print_group, print_aliases): Likewise.
20981 * nis/nss-nisplus.h (niserr2nss): Likewise.
20982 * nscd/connections.c (restart_p): Likewise.
20983 Change return type to bool.
20985 2013-02-05 Roland McGrath <roland@hack.frob.com>
20987 * Makeconfig (all-Depend-files): Add existing
20988 $(sorted-subdirs:=/Depend) files.
20989 (all-subdirs): Remove nss.
20990 * sysdeps/unix/inet/Subdirs: Add it here instead.
20991 * hesiod/Depend: New file.
20993 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20994 instead of calling alloca.
20996 * io/lseek.c (__lseek): Rename to __libc_lseek.
20997 Define __lseek as an alias.
20999 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21001 2013-02-04 Carlos O'Donell <carlos@redhat.com>
21003 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21004 else clause and remove check for non-standard endianness.
21006 2013-02-04 David S. Miller <davem@davemloft.net>
21008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21010 2013-02-04 Joseph Myers <joseph@codesourcery.com>
21013 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21014 (__ubp_memchr): Remove prototype.
21015 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21016 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21017 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21018 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21019 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21021 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21022 (__ubp_memchr): Likewise.
21023 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21024 (__ubp_memchr): Likewise.
21025 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21026 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21027 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21028 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21030 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21031 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21032 (__getcwd): Do not use CHECK_STRING.
21033 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21035 (__real_chown): Do not use CHECK_STRING.
21036 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21038 (fchownat): Do not use CHECK_STRING.
21039 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21041 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21043 (__lchown): Do not use CHECK_STRING.
21044 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21045 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21046 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21047 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21049 include <bp-checks.h>.
21050 (truncate64): Do not use CHECK_STRING.
21051 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21053 (__real_chown): Do not use CHECK_STRING.
21054 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21056 (__lchown): Do not use CHECK_STRING.
21057 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21059 (__chown): Do not use CHECK_STRING.
21060 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21062 (truncate64): Do not use CHECK_STRING.
21063 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21065 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21066 (__xmknod): Do not use CHECK_STRING.
21067 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21069 (__xmknodat): Do not use CHECK_STRING.
21070 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21071 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21073 2013-02-04 Andreas Schwab <schwab@suse.de>
21076 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21077 * include/netdb.h: Likewise for h_errno.
21078 * elf/tst-stackguard1.c: Include <tls.h>.
21080 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21082 * elf/link.h (struct link_map): Extend the l_addr comment.
21083 * include/link.h (struct link_map): Likewise.
21085 2013-02-01 Joseph Myers <joseph@codesourcery.com>
21088 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21089 (BOUNDED_1): Remove macro.
21090 * debug/backtrace.c: Don't include <bp-checks.h>.
21091 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21092 (__backtrace): Likewise.
21093 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21095 (__backtrace): Don't use BOUNDED_1.
21096 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21098 (__backtrace): Don't use BOUNDED_1.
21099 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21100 (__backtrace): Don't use BOUNDED_1.
21101 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21102 (shmat): Don't use BOUNDED_N.
21104 2013-01-31 Joseph Myers <joseph@codesourcery.com>
21107 * sysdeps/generic/bp-start.h: Remove file.
21108 * csu/libc-start.c: Don't include <bp-start.h>.
21109 (LIBC_START_MAIN): Set up __environ directly instead of using
21110 INIT_ARGV_and_ENVIRON.
21111 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21115 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21117 (CHECK_FCNTL): Likewise.
21118 (CHECK_N_PAGES): Likewise.
21121 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21123 (CHECK_SIGSET_NULL_OK): Likewise.
21124 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21126 (sigpending): Don't use CHECK_SIGSET.
21127 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21129 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21130 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21132 (do_sigsuspend): Don't use CHECK_SIGSET.
21133 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21135 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21136 (do_sigwait): Don't use CHECK_SIGSET.
21137 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21139 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21140 include <bp-checks.h>.
21141 (sigpending): Don't use CHECK_SIGSET.
21142 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21143 include <bp-checks.h>.
21144 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21145 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21147 (sigpending): Don't use CHECK_SIGSET.
21148 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21150 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21153 * sysdeps/generic/bp-semctl.h: Remove file.
21154 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21155 <bp-checks.h> and <bp-semctl.h>.
21156 (__old_semctl): Don't use CHECK_SEMCTL.
21157 (__new_semctl): Likewise.
21158 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21160 (__old_semctl): Don't use CHECK_SEMCTL.
21161 (__new_semctl): Likewise.
21162 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21163 <bp-checks.h> and <bp-semctl.h>.
21164 (__old_semctl): Don't use CHECK_SEMCTL.
21165 (__new_semctl): Likewise.
21166 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21167 <bp-checks.h> and <bp-semctl.h>.
21168 (semctl): Don't use CHECK_SEMCTL.
21171 * Makerules (elide-bp-thunks): Remove variable.
21172 (elide-routines.oS): Don't use $(elide-bp-thunks).
21173 (elide-routines.os): Likewise.
21174 (elide-routines.o): Likewise.
21175 (elide-routines.op): Likewise.
21176 (elide-routines.og): Likewise.
21177 (objects): Don't use $(bp-thunks).
21178 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21180 (common-generated): Do not add s-proto-bp.d.
21181 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21184 Do not generate makefile rules for bounded-pointer thunks.
21185 * sysdeps/generic/bp-thunks.h: Remove file.
21186 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21187 * sysdeps/unix/s-proto-bp.S: Likewise.
21190 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21191 parts of result separately when argument is not close to line from
21192 -i to i and one part of argument is small.
21193 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21194 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21195 * math/libm-test.inc (cacos_test): Add more tests.
21196 (casin_test): Likewise.
21197 (casinh_test): Likewise.
21198 * sysdeps/i386/fpu/libm-test-ulps: Update.
21199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21201 2013-01-31 David S. Miller <davem@davemloft.net>
21203 * po/de.po: Update from translation team.
21205 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21207 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21209 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21211 * configure.in (_AC_PROG_CC_C89): New definition.
21212 * configure: Regenerate.
21214 * configure.in (AC_PROG_CPP): New definition.
21215 * configure: Regenerate.
21217 2013-01-23 Joseph Myers <joseph@codesourcery.com>
21219 * debug/tst-backtrace.h: New file.
21220 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21221 (ret): Remove variable.
21223 (FAIL): Remove macro.
21224 (NO_INLINE): Likewise.
21225 (fn1): Use match function instead of strstr.
21226 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21227 (ret): Remove variable.
21229 (FAIL): Remove macro.
21230 (NO_INLINE): Likewise.
21231 (fn): Use match function instead of strstr.
21232 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21233 (ret): Remove variable.
21235 (FAIL): Remove macro.
21236 (NO_INLINE): Likewise.
21237 (handle_signal): Use match function instead of strstr.
21238 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21239 (ret): Remove variable.
21241 (FAIL): Remove macro.
21242 (NO_INLINE): Likewise.
21243 (handle_signal): Use match function instead of strstr.
21245 2013-01-23 Roland McGrath <roland@hack.frob.com>
21247 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21249 2013-01-23 David S. Miller <davem@davemloft.net>
21251 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21252 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21253 argument of CAS if possible.
21254 * sysdeps/sparc/sparc64/bits/atomic.h
21255 (__arch_compare_and_exchange_val_32_acq): Likewise.
21256 (__arch_compare_and_exchange_val_64_acq): Likewise.
21258 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21260 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21261 * sysdeps/posix/ulimit.c: ... this.
21262 Include <limits.h>.
21263 * sysdeps/unix/bsd/ulimit.c: Remove file.
21265 2013-01-23 Adam Conrad <adconrad@0c3.net>
21267 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21268 (LDFLAGS-tst-array5): Likewise.
21270 2013-01-23 Joseph Myers <joseph@codesourcery.com>
21273 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21274 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21275 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21276 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21278 2013-01-21 David S. Miller <davem@davemloft.net>
21280 * sysdeps/sparc/backtrace.c: New file.
21281 * sysdeps/sparc/sparc32/backtrace.h: New file.
21282 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21283 * sysdeps/sparc/sparc64/backtrace.h: New file.
21284 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21285 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21288 2013-01-21 Andreas Schwab <schwab@suse.de>
21291 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21294 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21300 2013-01-18 Joseph Myers <joseph@codesourcery.com>
21301 Mark Mitchell <mark@codesourcery.com>
21302 Tom de Vries <tom@codesourcery.com>
21303 Paul Pluzhnikov <ppluzhnikov@google.com>
21305 * debug/tst-backtrace2.c: New file.
21306 * debug/tst-backtrace3.c: Likewise.
21307 * debug/tst-backtrace4.c: Likewise.
21308 * debug/tst-backtrace5.c: Likewise.
21309 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21310 (CFLAGS-tst-backtrace3.c): Likewise.
21311 (CFLAGS-tst-backtrace4.c): Likewise.
21312 (CFLAGS-tst-backtrace5.c): Likewise.
21313 (LDFLAGS-tst-backtrace2): Likewise.
21314 (LDFLAGS-tst-backtrace3): Likewise.
21315 (LDFLAGS-tst-backtrace4): Likewise.
21316 (LDFLAGS-tst-backtrace5): Likewise.
21317 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21318 tst-backtrace4 and tst-backtrace5.
21320 2013-01-18 Anton Blanchard <anton@samba.org>
21321 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21323 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21324 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21325 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21326 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21328 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21329 "+r" and remove output regs list as redundant. Add explicit inline
21330 asm to specify register of return val to work around compiler codegen
21331 bug. Remove (int) cast on return value. Add return type parameter to
21332 use in macro so that this macro does not truncate return value for
21334 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21335 pass to INTERNAL_VSYSCALL_NCS.
21336 (INLINE_VSYSCALL): Add 'long int' as return type to
21337 INTERNAL_VSYSCALL_NCS macro invocation.
21338 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21339 INTERNAL_VSYSCALL_NCS macro invocation.
21340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21342 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21345 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21346 Fix application of SIMD FP exception mask.
21348 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21349 mp_no from a power of two.
21350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21351 __mpexp_twomm1. Use __pow_mp.
21353 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21356 2013-01-17 David S. Miller <davem@davemloft.net>
21358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21360 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21363 * include/complex.h: Condition contents on [!_COMPLEX_H].
21364 (__kernel_casinhf): New prototype.
21365 (__kernel_casinh): Likewise.
21366 (__kernel_casinhl): Likewise.
21367 * math/Makefile (libm_calls): Add k_casinh.
21368 * math/k_casinh.c: New file.
21369 * math/k_casinhf.c: Likewise.
21370 * math/k_casinhl.c: Likewise.
21371 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21372 finite nonzero arguments.
21373 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21374 finite nonzero arguments.
21375 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21376 finite nonzero arguments.
21377 * math/s_casinh.c: Do not include <float.h>.
21378 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21379 * math/s_casinhf.c: Do not include <float.h>.
21380 (__casinhf): Move code for finite nonzero arguments to
21382 * math/s_casinhl.c: Do not include <float.h>.
21383 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21385 (__casinhl): Move code for finite nonzero arguments to
21387 * math/libm-test.inc (cacos_test): Add more tests.
21388 * sysdeps/i386/fpu/libm-test-ulps: Update.
21389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21391 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21393 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21394 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21395 [!HAVE_MREMAP]: Remove [defined linux] case.
21396 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21398 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21400 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21402 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
21404 * elf/elf.h (R_386_SIZE32): New relocation.
21405 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21407 (elf_machine_rela): Likewise.
21408 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21409 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21411 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21413 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21414 (FP_FAST_FMA): Do not define.
21415 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21416 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21417 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21418 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21419 !_SOFT_FLOAT]: Likewise.
21420 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21421 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21423 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21424 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21425 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21426 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21427 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21428 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21431 2013-01-16 Andreas Schwab <schwab@suse.de>
21434 * include/stdlib.h (__mktemp): Add declaration.
21435 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21436 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21438 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21440 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21442 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21443 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21444 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21446 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21447 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21449 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21451 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21452 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21453 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21455 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21456 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21458 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21460 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21462 2013-01-15 David S. Miller <davem@davemloft.net>
21464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21465 trunc{,f} to libm-sysdep_routes.
21466 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21476 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21477 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21478 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21479 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21480 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21481 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21484 nearbyint{,f} to libm-sysdep_routes.
21485 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21496 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21498 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21499 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21501 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21502 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21503 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21505 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21506 libc_feholdexcept and libc_fesetenv.
21508 2013-01-15 Mike Frysinger <vapier@gentoo.org>
21510 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21512 2013-01-14 David S. Miller <davem@davemloft.net>
21514 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21515 (SPARC_ASM_VIS2_IFUNC): Likewise.
21516 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21518 use of 'siam' instruction.
21519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21527 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21528 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21537 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21539 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21550 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21552 routines to libm-sysdep_routines.
21553 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21556 fdim/fdimf to libm-sysdep_routines.
21557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21565 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21566 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21567 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21568 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21570 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21572 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21573 to optimize copies.
21575 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21580 local variable MPTWO.
21581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21584 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21586 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21589 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21591 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21593 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21595 * manual/pattern.texi (glob_t): Document gl_flags.
21596 (glob64_t): Likewise.
21598 2013-01-11 David S. Miller <davem@davemloft.net>
21600 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21601 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21602 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
21603 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21604 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21605 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21606 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21607 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21608 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21609 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21610 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21611 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21612 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21614 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21615 sparc V9 rather than using V8 code.
21616 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21617 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21619 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21621 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21624 2013-01-11 Roland McGrath <roland@hack.frob.com>
21626 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21627 not in the main loop.
21628 * configure: Regenerated.
21630 2013-01-11 Joseph Myers <joseph@codesourcery.com>
21632 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21633 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21635 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21636 [!__GLIBC_HAVE_LONG_LONG] case.
21637 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21638 condition to just #else.
21639 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21640 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21641 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21642 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21644 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21645 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21646 #elif condition to just #else.
21647 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21648 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21649 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21650 #elif condition to just #else.
21652 2013-01-11 Steve Ellcey <sellcey@mips.com>
21654 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21655 (EF_MIPS_ARCH_64): Fix value.
21656 (EF_MIPS_ARCH_32R2): New.
21657 (EF_MIPS_ARCH_64R2): New.
21659 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21661 * Makeconfig (+link-pie-before-libc): New.
21662 (+link-pie-after-libc): Likewise.
21663 (+link-pie-tests): Likewise.
21664 (+link-pie): Rewritten.
21665 (link-before-libc): Remove $(config-LDFLAGS).
21666 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21667 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21668 (config-LDFLAGS): Renamed to ...
21669 (rtld-LDFLAGS): This.
21670 (rtld-tests-LDFLAGS): New macro.
21671 (link-libc-rpath-link): Likewise.
21672 (link-libc-tests-rpath-link): Likewise.
21673 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21674 (link-libc): Prepand $(link-libc-rpath-link).
21675 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21676 (test-program-prefix): New macro.
21677 (test-via-rtld-prefix): Likewise.
21678 (test-program-cmd): Likewise.
21679 (host-test-program-cmd): Likewise.
21680 * Makefile ($(common-objpfx)testrun.sh): Replace
21681 $(run-program-prefix) with $(test-program-prefix).
21682 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21684 ($(common-objpfx)shlib.lds): Likewise.
21685 (build-module-helper): Likewise.
21686 ($(common-objpfx)format.lds): Likewise.
21687 * Rules (binaries-pie-tests): New.
21688 (binaries-pie-notests): Likewise.
21689 (binaries-pie): Rewritten.
21690 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21691 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21692 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21693 (make-test-out): Replace $(host-built-program-cmd) with
21694 $(host-test-program-cmd).
21695 * config.make.in (build-hardcoded-path-in-tests): New variable.
21696 * configure.in (--enable-hardcoded-path-in-tests): New configure
21698 (hardcoded_path_in_tests): New AC_SUBST.
21699 * configure: Regenerated.
21700 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21701 $(built-program-cmd) with $(test-program-cmd).
21702 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21703 (test_program_cmd): This.
21704 * elf/Makefile ($(objpfx)order.out): Run test with
21705 $(test-program-prefix).
21706 ($(objpfx)order2.out): Likewise.
21707 ($(objpfx)tst-initorder.out): Likewise.
21708 ($(objpfx)tst-initorder2.out): Likewise.
21709 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21710 $(test-program-cmd).
21711 ($(objpfx)tst-array1-static.out): Likewise.
21712 ($(objpfx)tst-array2.out): Likewise.
21713 ($(objpfx)tst-array3.out): Likewise.
21714 ($(objpfx)tst-array4.out): Likewise.
21715 ($(objpfx)tst-array5.out): Likewise.
21716 ($(objpfx)tst-array5-static.out): Likewise.
21717 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21718 $(test-program-cmd).
21719 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21720 $(run-program-prefix) with $(test-program-prefix).
21721 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21722 (test_program_prefix): This.
21723 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21724 $(run-program-prefix) with $(test-program-prefix).
21725 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21726 (test_program_prefix): This.
21727 * iconvdata/tst-tables.sh: Likewise.
21728 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21729 $(run-program-prefix) with $(test-program-prefix).
21730 ($(objpfx)tst-translit.out): Likewise.
21731 ($(objpfx)tst-gettext2.out): Likewise.
21732 ($(objpfx)tst-gettext4.out): Likewise.
21733 ($(objpfx)tst-gettext6.out): Likewise.
21734 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21735 (test_program_prefix): This.
21736 * intl/tst-gettext2.sh: Likewise.
21737 * intl/tst-gettext4.sh Likewise.
21738 * intl/tst-gettext6.sh: Likewise.
21739 * intl/tst-translit.sh: Likewise.
21740 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21741 with $(test-program-cmd).
21742 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21743 $(run-program-prefix) with $(test-program-prefix).
21744 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21745 (test_program_prefix): This.
21746 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21747 $(run-program-prefix) with $(test-program-prefix).
21748 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21749 (test_program_prefix): This.
21750 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21751 * posix/Makefile ($(objpfx)globtest.out): Replace
21752 $(run-via-rtld-prefix) and $(test-wrapper) with
21753 $(test-program-prefix) and $(test-via-rtld-prefix).
21754 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21755 $(test-program-prefix).
21756 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21757 $(host-test-program-cmd).
21758 (tst-spawn-ARGS): Likewise.
21759 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21760 $(test-program-prefix).
21761 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21762 (test_via_rtld_prefix): This.
21763 (test_wrapper): Renamed to ...
21764 (test_program_prefix): This.
21765 (run_program_prefix): Replaced by test_program_prefix.
21766 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21767 (test_program_prefix): This.
21768 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21769 with $(host-test-program-cmd).
21770 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21771 $(run-program-prefix) with $(test-program-prefix).
21772 ($(objpfx)tst-printf.out): Likewise.
21773 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21774 $(test-program-cmd).
21775 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21776 (test_program_prefix): This.
21777 * stdio-common/tst-unbputc.sh: Likewise.
21778 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21779 $(run-program-prefix) with $(test-program-prefix).
21780 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21781 (test_program_prefix): This.
21782 * string/Makefile ($(objpfx)tst-svc.out): Replace
21783 $(built-program-cmd) with $(test-program-cmd).
21785 2013-01-11 Andreas Jaeger <aj@suse.de>
21788 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21789 value. Sync with Linux 3.7.
21791 2013-01-10 David S. Miller <davem@davemloft.net>
21793 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21794 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21795 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21797 2013-01-10 Roland McGrath <roland@hack.frob.com>
21799 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21801 * configure: Regenerated.
21803 2013-01-10 David S. Miller <davem@davemloft.net>
21805 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21806 sparc V9 rather than using V8 code.
21807 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21808 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21810 2013-01-10 Roland McGrath <roland@hack.frob.com>
21812 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21813 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21814 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21815 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21816 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21817 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21818 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21819 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21820 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21821 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21822 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21823 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21824 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21825 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21826 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21827 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21828 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21829 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21830 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21831 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21832 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21833 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21834 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21835 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21836 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21837 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21838 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21840 2013-01-10 David S. Miller <davem@davemloft.net>
21842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21844 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21846 * posix/Makefile (tests-static): New variable.
21847 (tests): Add $(tests-static).
21848 (tst-exec-static-ARGS): New variable.
21849 (tst-spawn-static-ARGS): Likewise.
21850 * posix/tst-exec-static.c: New file.
21851 * posix/tst-spawn-static.c: Likewise.
21852 * posix/tst-exec.c: Support run directly.
21853 * posix/tst-spawn.c: Likewise.
21855 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21857 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21859 * math/bits/mathcalls.h (llrint): Likewise.
21860 (llround): Likewise.
21861 * stdlib/stdlib.h (struct drand48_data): Likewise.
21862 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21863 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21864 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21866 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21868 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21869 (elf_greg_t): Likewise.
21870 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21871 (__jmp_buf): Likewise.
21872 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21874 (llrint): Likewise, for all definitions.
21875 (llrintl): Likewise.
21877 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21878 Remove [__GNUC__] condition.
21879 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21880 condition to just [__USE_ISOC99].
21881 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21883 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21886 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21887 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21889 (_POSIX_V6_ILP32_OFF32): Likewise.
21890 (_XBS5_ILP32_OFF32): Likewise.
21891 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21892 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21894 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21896 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21898 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21899 doubles __mpexp_twomm1. Adjust usage.
21900 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21903 2013-01-10 Andreas Schwab <schwab@suse.de>
21906 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21907 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21909 2013-01-09 David S. Miller <davem@davemloft.net>
21912 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21913 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21914 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21915 (TCP_FASTOPEN): Define.
21916 (tcp_repair_opt): New structure.
21917 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21919 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21920 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21921 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21922 (tcp_cookie_transactions): New structure.
21924 2013-01-09 Anton Blanchard <anton@samba.org>
21926 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21927 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21928 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21929 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21931 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21933 * include/features.h (__USE_ANSI): Remove.
21935 2013-01-09 Roland McGrath <roland@hack.frob.com>
21937 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21939 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21941 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21943 * sysdeps/s390/fpu/libm-test-ulps: Update.
21945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21947 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21951 (denorm): Likewise.
21952 (__mp_dbl): Likewise.
21953 (__dbl_mp): Likewise.
21954 (add_magnitudes): Likewise.
21955 (sub_magnitudes): Likewise.
21961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21965 (denorm): Likewise.
21966 (__mp_dbl): Likewise.
21967 (__dbl_mp): Likewise.
21968 (add_magnitudes): Likewise.
21969 (sub_magnitudes): Likewise.
21975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21979 (denorm): Likewise.
21980 (__mp_dbl): Likewise.
21981 (__dbl_mp): Likewise.
21982 (add_magnitudes): Likewise.
21983 (sub_magnitudes): Likewise.
21990 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21992 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21993 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21994 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21995 2 && __USE_EXTERN_INLINES]: Likewise.
21997 2013-01-08 Andreas Jaeger <aj@suse.de>
22000 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22002 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22003 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22005 2013-01-07 Anton Blanchard <anton@samba.org>
22007 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22008 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22009 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22010 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22011 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22012 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22013 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22014 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22016 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22017 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22018 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22019 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22020 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22021 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22022 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22023 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22024 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22025 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22026 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22027 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22028 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22029 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22030 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22031 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22032 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22033 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22034 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22035 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22036 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22037 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22039 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22040 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22041 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22042 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22043 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22044 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22045 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22046 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22047 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22048 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22049 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22051 2013-01-07 Joseph Myers <joseph@codesourcery.com>
22053 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22054 (__MALLOC_PMT): Likewise.
22055 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22056 [__GNUC__], only on [_LIBC].
22057 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22058 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22059 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22060 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22061 forward declaration.
22062 (realloc_hook_ini): Likewise.
22063 (memalign_hook_ini): Likewise.
22064 (__libc_memalign): Do not use __MALLOC_PMT in variable
22066 (__libc_valloc): Likewise.
22067 (__libc_pvalloc): Likewise.
22068 (__libc_calloc): Likewise.
22069 (__posix_memalign): Likewise.
22072 * math/s_casinh.c: Include <float.h>.
22073 (__casinh): Do not do computation with squaring and square root
22074 for large arguments.
22075 * math/s_casinhf.c: Include <float.h>.
22076 (__casinhf): Do not do computation with squaring and square root
22077 for large arguments.
22078 * math/s_casinhl.c: Include <float.h>.
22079 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22080 (__casinhl): Do not do computation with squaring and square root
22081 for large arguments.
22082 * math/libm-test.inc (casin_test): Add more tests.
22083 (casinh_test): Likewise.
22084 * sysdeps/i386/fpu/libm-test-ulps: Update.
22085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22087 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22089 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22090 (__x86_64_raw_data_cache_size): Likewise.
22091 (__x86_64_data_cache_size_half): Likewise.
22092 (__x86_64_raw_data_cache_size_half): Likewise.
22093 (__x86_64_shared_cache_size): Likewise.
22094 (__x86_64_raw_shared_cache_size): Likewise.
22095 (__x86_64_shared_cache_size_half): Likewise.
22096 (__x86_64_raw_shared_cache_size_half): Likewise.
22097 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22099 (__x86_data_cache_size): This.
22100 (__x86_64_raw_data_cache_size): Renamed to ...
22101 (__x86_raw_data_cache_size): This.
22102 (__x86_64_data_cache_size_half): Renamed to ...
22103 (__x86_data_cache_size_half): This.
22104 (__x86_64_raw_data_cache_size_half): Renamed to ...
22105 (__x86_raw_data_cache_size_half): This.
22106 (__x86_64_shared_cache_size): Renamed to ...
22107 (__x86_shared_cache_size): This.
22108 (__x86_64_raw_shared_cache_size): Renamed to ...
22109 (__x86_raw_shared_cache_size): This.
22110 (__x86_64_shared_cache_size_half): Renamed to ...
22111 (__x86_shared_cache_size_half): This.
22112 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22113 (__x86_raw_shared_cache_size_half): This.
22114 * sysdeps/x86_64/memcpy.S: Updated.
22115 * sysdeps/x86_64/memset.S: Likewise.
22116 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22117 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22118 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22120 2013-01-04 David S. Miller <davem@davemloft.net>
22122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22124 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22126 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22127 1 to avoid redefinition warning.
22128 (__USE_GNU): Don't define.
22129 (init_signaling_nan): Protoize.
22131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22133 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22135 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22137 (__cpymn): Likewise.
22138 (norm): Remove commented code.
22139 (denorm): Likewise.
22140 (__mp_dbl): Likewise.
22142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22143 (__cpymn): Likewise.
22144 (norm): Remove commented code.
22145 (denorm): Likewise.
22146 (__mp_dbl): Likewise.
22149 * sysdeps/powerpc/powerpc32/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.
22154 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22155 mp_no value for 1.0 and 2.0.
22156 (norm): Use RADIXI instead of radixi.d.
22157 (denorm): Likewise.
22158 (__mul): Use 0.0 instead of zero.d.
22160 2013-01-04 Joseph Myers <joseph@codesourcery.com>
22163 * math/s_casinh.c (__casinh): Reduce finite argument to first
22164 quadrant then set signs of results at the end.
22165 * math/s_casinhf.c (__casinhf): Likewise.
22166 * math/s_casinhl.c (__casinhl): Likewise.
22167 * math/libm-test.inc (casin_test): Add more tests.
22168 (casinh_test): Likewise.
22169 * sysdeps/i386/fpu/libm-test-ulps: Update.
22170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22172 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22174 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22176 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22178 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22180 (denorm): Likewise.
22181 (__mp_dbl): Likewise.
22184 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22185 and adjust the header comment.
22187 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22188 variable name from declaration.
22190 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22193 Initialize COMMON_CPUID_INDEX_7 element.
22194 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22195 (CPUID_RTM): Likewise.
22196 (HAS_RTM): Likewise.
22197 (COMMON_CPUID_INDEX_7): New enum.
22199 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22202 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22203 size is zero, record memory as freed.
22205 2013-01-03 Andreas Jaeger <aj@suse.de>
22207 * po/ia.po: Add new Interlingua translation.
22209 2012-01-03 Allan McRae <allan@archlinux.org>
22211 * locale/programs/localedef.c: Fix description of '--posix' flag.
22213 2013-01-02 Joseph Myers <joseph@codesourcery.com>
22215 * NEWS: Update dates in second copyright notice.
22216 * README: Update copyright dates in example.
22217 * manual/libc.texinfo: Update copyright dates.
22218 * scripts/test-installation.pl: Update copyright date in --version
22221 * hurd/ctty-input.c: Fix copyright notice formatting.
22222 * hurd/ctty-output.c: Likewise.
22223 * hurd/dtable.c: Likewise.
22224 * hurd/hurd-raise.c: Likewise.
22225 * hurd/hurdprio.c: Likewise.
22226 * hurd/msgportdemux.c: Likewise.
22227 * misc/sys/file.h: Likewise.
22228 * misc/sys/ioctl.h: Likewise.
22229 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22230 * sysdeps/mach/hurd/chdir.c: Likewise.
22231 * sysdeps/mach/hurd/fchdir.c: Likewise.
22232 * sysdeps/mach/hurd/rename.c: Likewise.
22233 * sysdeps/mach/hurd/rmdir.c: Likewise.
22234 * sysdeps/mach/hurd/seekdir.c: Likewise.
22235 * sysdeps/mach/hurd/setsid.c: Likewise.
22236 * sysdeps/posix/wait3.c: Likewise.
22238 * All files with FSF copyright notices: Update copyright dates
22239 using scripts/update-copyrights.
22240 * intl/plural.c: Regenerated.
22241 * locale/programs/charmap-kw.h: Likewise.
22242 * locale/programs/locfile-kw.h: Likewise.
22244 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22246 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22249 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22250 calculation loop and add branch prediction.
22252 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22253 check access beyond bounds of m1np.
22255 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22257 (__inv): Remove local variable MPTWO to use the global
22259 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22260 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22262 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22263 MP3HALFS static const.
22265 2013-01-01 David S. Miller <davem@davemloft.net>
22267 * po/ca.po: Update from translation team.
22269 2013-01-01 Joseph Myers <joseph@codesourcery.com>
22271 * scripts/update-copyrights: New file.
22272 * Makeconfig: Reformat copyright notice.
22273 * ctype/ctype.h: Likewise.
22274 * debug/swprintf_chk.c: Likewise.
22275 * elf/dl-cache.c: Likewise.
22276 * elf/dl-debug.c: Likewise.
22277 * elf/dl-object.c: Likewise.
22278 * grp/initgroups.c: Likewise.
22279 * hurd/Makefile: Likewise.
22280 * hurd/hurd/signal.h: Likewise.
22281 * hurd/hurdfault.c: Likewise.
22282 * hurd/hurdioctl.c: Likewise.
22283 * hurd/hurdlookup.c: Likewise.
22284 * hurd/intr-msg.c: Likewise.
22285 * iconv/gconv_open.c: Likewise.
22286 * libio/swprintf.c: Likewise.
22287 * locale/lc-ctype.c: Likewise.
22288 * locale/nl_langinfo.c: Likewise.
22289 * mach/Machrules: Likewise.
22290 * mach/Makefile: Likewise.
22291 * malloc/obstack.h: Likewise.
22292 * manual/Makefile: Likewise.
22293 * manual/tsort.awk: Likewise.
22294 * misc/bits/stab.def: Likewise.
22295 * nis/nis_print_group_entry.c: Likewise.
22296 * nis/nis_table.c: Likewise.
22297 * nis/nss_compat/compat-pwd.c: Likewise.
22298 * nis/nss_compat/compat-spwd.c: Likewise.
22299 * po/Makefile: Likewise.
22300 * posix/fnmatch.c: Likewise.
22301 * posix/regex.h: Likewise.
22302 * resolv/Makefile: Likewise.
22303 * resolv/nss_dns/dns-network.c: Likewise.
22304 * resolv/res_hconf.c: Likewise.
22305 * scripts/gen-sorted.awk: Likewise.
22306 * soft-fp/soft-fp.h: Likewise.
22307 * stdio-common/printf.h: Likewise.
22308 * stdlib/monetary.h: Likewise.
22309 * stdlib/random.c: Likewise.
22310 * stdlib/random_r.c: Likewise.
22311 * sysdeps/generic/Makefile: Likewise.
22312 * sysdeps/gnu/Makefile: Likewise.
22313 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22314 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22315 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22317 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22318 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22319 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22320 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22321 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22322 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22323 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22324 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22325 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22326 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22327 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22328 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22329 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22330 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22331 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22332 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22333 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22334 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22335 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22336 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22337 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22338 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22339 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22340 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22341 * sysdeps/mach/hurd/errnos.awk: Likewise.
22342 * sysdeps/mach/hurd/fork.c: Likewise.
22343 * sysdeps/mach/hurd/getcwd.c: Likewise.
22344 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22345 * sysdeps/mach/hurd/mmap.c: Likewise.
22346 * sysdeps/mach/hurd/utimes.c: Likewise.
22347 * sysdeps/mach/hurd/xmknod.c: Likewise.
22348 * sysdeps/posix/profil.c: Likewise.
22349 * sysdeps/posix/readdir_r.c: Likewise.
22350 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22351 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22352 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22353 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22355 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22356 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22357 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22359 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22360 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22361 * sysdeps/pthread/lio_listio.c: Likewise.
22362 * sysdeps/sparc/dl-procinfo.h: Likewise.
22363 * sysdeps/unix/i386/sysdep.S: Likewise.
22364 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22365 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22366 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22367 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22369 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22370 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22371 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22372 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22373 * sysdeps/wordsize-32/divdi3.c: Likewise.
22374 * time/sys/time.h: Likewise.
22375 * wcsmbs/Makefile: Likewise.
22377 2013-01-01 David S. Miller <davem@davemloft.net>
22379 * po/fr.po: Update from translation team.
22381 * catgets/gencat.c: Update copyright year.
22382 * csu/version.c: Likewise.
22383 * debug/catchsegv.sh: Likewise.
22384 * debug/pcprofiledump.c: Likewise.
22385 * debug/xtrace.sh: Likewise.
22386 * elf/ldconfig.c: Likewise.
22387 * elf/ldd.bash.in: Likewise.
22388 * elf/pldd.c: Likewise.
22389 * elf/sotruss.ksh: Likewise.
22390 * elf/sprof.c: Likewise.
22391 * iconv/iconv_prog.c: Likewise.
22392 * iconv/iconvconfig.c: Likewise.
22393 * locale/programs/locale.c: Likewise.
22394 * locale/programs/localedef.c: Likewise.
22395 * login/programs/pt_chown.c: Likewise.
22396 * malloc/memusage.sh: Likewise.
22397 * malloc/memusagestat.c: Likewise.
22398 * malloc/mtrace.pl: Likewise.
22399 * nscd/nscd.c: Likewise.
22400 * nss/getent.c: Likewise.
22401 * nss/makedb.c: Likewise.
22402 * posix/getconf.c: Likewise.
22404 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22406 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22409 2012-12-30 Mike Frysinger <vapier@gentoo.org>
22411 * math/bits/mathcalls.h (modf): Use __nonnull.
22413 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22415 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22416 (split): Use macro CN instead of the bare value.
22417 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22420 instead of the bare value.
22421 (power1): Likewise.
22423 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22425 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22427 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22429 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22431 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22432 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22433 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22434 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22436 2012-12-28 Andreas Jaeger <aj@suse.de>
22438 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22439 values are from Linux 3.7.
22441 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22442 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22444 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22446 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22449 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22451 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22452 variables with preprocessor constants.
22453 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22454 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22455 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22457 2012-12-27 Bruno Haible <bruno@clisp.org>
22460 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22463 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22465 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22466 and use variable directly.
22467 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22469 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22471 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22472 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22474 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22476 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22477 include directive. Remove local variable MPONE.
22478 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22479 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22480 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22482 2012-12-25 David S. Miller <davem@davemloft.net>
22484 * version.h (RELEASE): Set to "development".
22485 (VERSION): Set to "2.17.90".
22486 * NEWS: Add 2.18 section.
22488 2012-12-21 David S. Miller <davem@davemloft.net>
22490 * po/hr.po: Update from translation team.
22492 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22494 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22496 2012-12-19 Steve Ellcey <sellcey@mips.com>
22498 * NEWS: Mention new memcpy for MIPS.
22500 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22502 * manual/contrib.texi (Contributors): Spelling correction.
22504 2012-12-15 David S. Miller <davem@davemloft.net>
22506 * po/ru.po: Update from translation team.
22508 2012-12-13 David S. Miller <davem@davemloft.net>
22510 * NEWS: Mention IFUNC testsuite enhancements.
22512 * po/pl.po: Update from translation team.
22513 * po/bg.po: Likewise.
22515 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22516 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22518 2012-12-11 David S. Miller <davem@davemloft.net>
22520 * po/sv.po: Update from translation team.
22522 * po/vi.po: Update from translation team.
22524 * po/cs.po: Update from translation team.
22526 * po/de.po: Update from translation team.
22527 * po/eo.po: Likewise.
22528 * po/nl.po: Likewise.
22530 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22533 * manual/argp.texi (Argp Helper Functions): Move node to follow
22534 Argp Parsing State.
22537 * manual/conf.texi (Limits on File System Capacity): Mention if
22538 terminating null is included in the max size.
22540 2012-12-10 Andreas Jaeger <aj@suse.de>
22542 * po/cs.po: Update from translation team.
22544 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22546 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22547 void pointer and cast to uintptr_t.
22548 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22550 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22551 * sysdeps/s390/s390-64/memset.S: Likewise.
22553 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
22556 * menual/message.texi (Message Translation): Fix typos.
22557 (Helper programs for gettext): Likewise.
22559 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22562 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22565 2012-12-07 David S. Miller <davem@davemloft.net>
22567 * po/libc.pot: Update.
22569 2012-12-07 Richard Henderson <rth@redhat.com>
22572 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22573 normal/normal case to before the switch.
22574 (_FP_DIV): Likewise.
22576 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22577 Mike Frysinger <vapier@gentoo.org>
22579 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22580 check for __NR_fadvise64_64.
22582 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22584 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22585 0, not just to plain "0" as a statement.
22586 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22589 2012-12-06 Joseph Myers <joseph@codesourcery.com>
22591 * NEWS: Use sourceware.org in Bugzilla URL.
22593 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22596 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22598 * stdio-common/tst-put-error.c (do_test): Add newline to the
22599 padded test to ensure flush.
22601 2012-12-05 Jeff Law <law@redhat.com>
22603 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22605 2012-12-05 Joseph Myers <joseph@codesourcery.com>
22607 * README: Don't refer to ports add-on as distributed separately.
22608 Mention AArch64 in list of systems supported in the ports add-on.
22610 * LICENSES: Add more non-FSF copyright and license notices.
22612 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22615 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22617 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22618 10000 as width of padded output.
22620 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22622 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22624 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22625 variable LX with __attribute__ ((unused)).
22626 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22628 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22629 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22630 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22631 with __attribute__ ((unused)).
22633 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
22635 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22637 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22639 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22640 (CFLAGS-nldbl-acos.c): New variable.
22641 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22642 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22643 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22644 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22645 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22646 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22647 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22648 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22649 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22650 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22651 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22652 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22653 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22654 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22655 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22656 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22657 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22658 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22659 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22660 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22661 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22662 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22663 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22664 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22665 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22666 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22667 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22668 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22669 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22670 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22671 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22672 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22673 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22674 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22675 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22676 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22677 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22678 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22679 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22680 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22681 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22682 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22683 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22684 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22685 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22686 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22687 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22688 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22689 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22690 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22691 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22692 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22693 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22694 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22695 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22696 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22697 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22698 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22699 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22700 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22701 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22702 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22703 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22704 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22705 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22706 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22707 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22708 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22709 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22710 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22711 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22712 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22713 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22714 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22715 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22716 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22717 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22718 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22719 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22720 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22721 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22722 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22723 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22724 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22725 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22726 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22727 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22728 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22729 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22730 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22731 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22732 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22733 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22734 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22735 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22736 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22737 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22740 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22743 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22744 whole low double instead of just low 47 bits when splitting values
22747 2012-12-03 Allan McRae <allan@archlinux.org>
22749 * manual/stdio.texi (Predefined Printf Handlers): Remove
22750 @hsep and @vsep usage.
22752 2012-12-03 Mike Frysinger <vapier@gentoo.org>
22754 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22755 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22757 2012-12-03 Jeff Law <law@redhat.com>
22759 * time/sys/time.h (settimeofday): Do not mark TV argument
22762 2012-12-01 Mike Frysinger <vapier@gentoo.org>
22764 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22765 when currently writing and seek to current position when not.
22766 * libio/Makefile (tests): Remove bug-fclose1.
22767 * libio/bug-fclose1.c: Delete.
22769 2012-12-01 Joseph Myers <joseph@codesourcery.com>
22771 * manual/arith.texi (feenableexcept): Fix typo.
22772 (fedisableexcept): Likewise.
22774 2012-11-30 Roland McGrath <roland@hack.frob.com>
22776 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22777 second, differently-typed declaration, rather than a cast.
22779 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22781 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22782 * include/rpc/svc.h: ... here.
22784 2012-11-30 Aurelien Jarno <aurel32@debian.org>
22787 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22788 depending n and resplen2 to catch cases where answer
22791 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22793 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22794 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22796 2012-11-29 Mike Frysinger <vapier@gentoo.org>
22798 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22800 2012-11-29 Roland McGrath <roland@hack.frob.com>
22802 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22804 2012-11-28 Jeff Law <law@redhat.com>
22807 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22808 dataset_temporary. Track alloca usage into alloca_used.
22809 If dataset is large allocate and release it via malloc/free.
22811 2012-06-04 Florian Weimer <fweimer@redhat.com>
22814 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22816 2012-11-28 David S. Miller <davem@davemloft.net>
22818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22820 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22823 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22824 of pi/2 rounded to nearest to 64 bits.
22825 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22826 nearest to 64 bits.
22827 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22830 2012-11-28 Jeff Law <law@redhat.com>
22831 Martin Osvald <mosvald@redhat.com>
22834 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22835 * sunrpc/svc.c: Include time.h.
22836 (__svc_accept_failed): New function.
22837 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22838 any reason other than EINTR, call __svc_accept_failed.
22839 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22840 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22842 2012-11-28 Andreas Schwab <schwab@suse.de>
22844 * scripts/abilist.awk: Also handle indirect functions in .opd
22847 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22850 * sysdeps/x86/fpu/powl_helper.c: New file.
22851 * sysdeps/x86/fpu/Makefile: Likewise.
22852 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22854 (__ieee754_powl): Use __powl_helper for finite arguments except
22855 integer exponents below 8.
22856 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22858 (__ieee754_powl): Use __powl_helper for finite arguments except
22859 integer exponents below 8.
22860 * math/libm-test.inc (pow_test): Add more tests and enable some
22861 previously disabled tests.
22862 * sysdeps/i386/fpu/libm-test-ulps: Update.
22863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22865 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22866 Carlos O'Donell <carlos_odonell@mentor.com>
22868 * nss/makedb.c (is_prime): Assert that input is odd and greater
22869 than 4. Note that fact in a comment too.
22870 (next_prime): Add 4 to input.
22872 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22875 * libio/Makefile (tests): Add test case tst-fwrite-error.
22876 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22877 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22878 * libio/tst-fwrite-error.c: New test case.
22880 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22882 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22883 before casting to void *.
22884 * include/libc-internal.h (__pointer_type): New macro.
22885 (__integer_if_pointer_type_sub): Likewise.
22886 (__integer_if_pointer_type): Likewise.
22887 (cast_to_integer): Likewise.
22888 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22889 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22890 before casting to atomic64_t.
22891 (atomic_exchange_acq): Likewise.
22892 (__arch_exchange_and_add_body): Likewise.
22893 (__arch_add_body): Likewise.
22894 (atomic_add_negative): Likewise.
22895 (atomic_add_zero): Likewise.
22897 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22899 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22900 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22901 (add_fdes): Likewise.
22902 (linear_search_fdes): Likewise.
22903 (binary_search_unencoded_fdes): Likewise.
22905 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22907 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22909 2012-11-24 Adam Conrad <adconrad@0c3.net>
22911 * configure.in: Autodetect C++ header directories.
22912 * configure: Regenerated.
22914 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22916 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22918 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22922 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22924 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22925 LDBL_MANT_DIG == 106]: Disable some tests.
22926 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22928 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22932 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22933 input for small inputs. Return +/- pi/2 for large inputs.
22934 * math/libm-test.inc (atan_test): Add more tests.
22936 * sysdeps/generic/unwind-dw2-fde-glibc.c
22937 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22938 __attribute__ ((unused)).
22941 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22942 x * y if x and y are nonzero and z is zero.
22945 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22946 nonzero exponents with absolute value below 0x1p-117 to +/-
22950 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22951 up arguments below 2**-450, not just those below 2**-500.
22952 * math/libm-test.inc (hypot_test): Add another test.
22955 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22956 Return a+b for ratio over 2**120, not 2**60.
22957 * math/libm-test.inc (hypot_test): Add another test.
22959 * math/libm-test.inc (clog_test): Use
22960 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22961 (clog10_test): Likewise.
22964 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22966 2012-11-22 Andreas Schwab <schwab@suse.de>
22968 * sysdeps/i386/fpu/libm-test-ulps: Update.
22970 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22972 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22973 printf output with newline.
22975 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22978 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22979 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22980 -z nodlopen, -z initfirst and -z execstack support.
22981 * configure: Regenerated.
22983 * elf/elf.h (DF_1_NODIRECT): New macro.
22984 (DF_1_IGNMULDEF): Likewise.
22985 (DF_1_NOKSYMS): Likewise.
22986 (DF_1_NOHDR): Likewise.
22987 (DF_1_EDITED): Likewise.
22988 (DF_1_NORELOC): Likewise.
22989 (DF_1_SYMINTPOSE): Likewise.
22990 (DF_1_GLOBAUDIT): Likewise.
22991 (DF_1_SINGLETON): Likewise.
22992 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22993 DT_1_SUPPORTED_MASK bits.
22994 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22996 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22998 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23000 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23002 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23005 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23006 (sendmmsg): Move declarations...
23007 * socket/sys/socket.h: ... here.
23008 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23009 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23011 * socket/recvmmsg.c: ... this new file.
23012 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23013 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23014 definition of __sendmmsg hidden.
23015 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23016 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23017 Move ENOSYS stub into and include it from...
23018 * socket/sendmmsg.c: ... this new file.
23019 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23020 (sysdep_routines): Move recvmmsg and sendmmsg...
23021 * socket/Makefile (routines): ... here.
23022 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23023 (GLIBC_PRIVATE): Add __sendmmsg.
23024 * include/sys/socket.h (__sendmmsg): Add declarations.
23025 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23028 2012-11-20 Joseph Myers <joseph@codesourcery.com>
23030 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23031 variable I1 with __attribute__ ((unused)).
23032 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23034 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23036 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23037 DUMMY variables with __attribute__ ((unused)).
23039 * bits/byteswap.h: Include <bits/types.h>.
23040 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23042 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23044 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23045 string_t. Do not manually set errno.
23046 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23047 length with __strnlen. Make sure to both set errno and return it on
23050 2012-11-19 David S. Miller <davem@davemloft.net>
23052 With help from Joseph Myers.
23053 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23054 very large arguments properly.
23055 * math/libm-test.inc (atan_test): New tests.
23056 (atan2_test): New tests.
23057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23060 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23063 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23066 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23067 [POSIX] (EADDRNOTAVAIL): Likewise.
23068 [POSIX] (EAFNOSUPPORT): Likewise.
23069 [POSIX] (EALREADY): Likewise.
23070 [POSIX] (ECONNABORTED): Likewise.
23071 [POSIX] (ECONNREFUSED): Likewise.
23072 [POSIX] (ECONNRESET): Likewise.
23073 [POSIX] (EDESTADDRREQ): Likewise.
23074 [POSIX] (EDQUOT): Likewise.
23075 [POSIX] (EHOSTUNREACH): Likewise.
23076 [POSIX] (EIDRM): Likewise.
23077 [POSIX] (EISCONN): Likewise.
23078 [POSIX] (ELOOP): Likewise.
23079 [POSIX] (EMULTIHOP): Likewise.
23080 [POSIX] (ENETDOWN): Likewise.
23081 [POSIX] (ENETUNREACH): Likewise.
23082 [POSIX] (ENOBUFS): Likewise.
23083 [POSIX] (ENODATA): Likewise.
23084 [POSIX] (ENOLINK): Likewise.
23085 [POSIX] (ENOMSG): Likewise.
23086 [POSIX] (ENOPROTOOPT): Likewise.
23087 [POSIX] (ENOSR): Likewise.
23088 [POSIX] (ENOSTR): Likewise.
23089 [POSIX] (ENOTCONN): Likewise.
23090 [POSIX] (ENOTSOCK): Likewise.
23091 [POSIX] (EOPNOTSUPP): Likewise.
23092 [POSIX] (EOVERFLOW): Likewise.
23093 [POSIX] (EPROTO): Likewise.
23094 [POSIX] (EPROTONOSUPPORT): Likewise.
23095 [POSIX] (EPROTOTYPE): Likewise.
23096 [POSIX] (ESTALE): Likewise.
23097 [POSIX] (ETIME): Likewise.
23098 [POSIX] (ETXTBSY): Likewise.
23099 [POSIX] (EWOULDBLOCK): Likewise.
23100 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23101 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23102 [POSIX] (SEEK_CUR): Likewise.
23103 [POSIX] (SEEK_END): Likewise.
23104 [POSIX || UNIX98] (mode_t): Do not require.
23105 [POSIX] (off_t): Likewise.
23106 [POSIX] (pid_t): Likewise.
23107 [POSIX] (sys/stat.h): Do not allow header.
23108 [POSIX] (unistd.h): Likewise.
23109 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23110 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23111 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23112 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23114 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23115 sigevent): Specify elements.
23116 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23118 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23119 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23121 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23122 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23123 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23124 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23125 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23126 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23127 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23128 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23129 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23130 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23131 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23132 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23133 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23134 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23136 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23138 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23140 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23142 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23143 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23144 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23145 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23146 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23147 Specify lower bound on value.
23148 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23149 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23150 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23151 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23152 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23153 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23154 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23155 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23157 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23159 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23160 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23161 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23162 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23163 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23164 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23165 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23166 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23167 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23168 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23169 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23170 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23171 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23172 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23173 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23174 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23176 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23178 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23179 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23180 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23181 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23182 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23183 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23185 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23186 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23187 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23188 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23189 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23190 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23191 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23193 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23194 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23195 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23196 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23197 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23198 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23199 specify as optional.
23200 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23201 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23202 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23203 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23204 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23205 [XPG3] (NL_LANGMAX): Likewise.
23206 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23207 [POSIX || XPG3] (NL_NMAX): Likewise.
23208 [POSIX || XPG3] (NL_SETMAX): Likewise.
23209 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23210 [XPG3] (NZERO): Likewise.
23211 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23212 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23213 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23214 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23215 (REG_ERANGE): Expect.
23216 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23218 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23219 Use (void) in prototype.
23220 [POSIX] (*_t): Allow.
23221 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23222 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23223 (WRDE_BADVAL): Expect.
23225 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23227 [XPG3 || XPG4] (O_RSYNC): Likewise.
23228 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23230 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23231 [XPG3 || XPG4] (sigqueue): Likewise.
23232 [XPG3 || XPG4] (sigtimedwait): Likewise.
23233 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23234 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23235 [XPG3 || XPG4] (vsnprintf): Likewise.
23236 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23238 [XPG3 || XPG4] (blksize_t): Likewise.
23239 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23241 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23242 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23243 [XPG3 || XPG4] (struct itimerspec): Likewise.
23244 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23245 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23246 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23247 [XPG3 || XPG4] (clockid_t): Likewise.
23248 [XPG3 || XPG4] (timer_t): Likewise.
23249 [XPG3 || XPG4] (clock_getres): Likewise.
23250 [XPG3 || XPG4] (clock_gettime): Likewise.
23251 [XPG3 || XPG4] (clock_settime): Likewise.
23252 [XPG3 || XPG4] (nanosleep): Likewise.
23253 [XPG3 || XPG4] (timer_create): Likewise.
23254 [XPG3 || XPG4] (timer_delete): Likewise.
23255 [XPG3 || XPG4] (timer_gettime): Likewise.
23256 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23257 [XPG3 || XPG4] (timer_settime): Likewise.
23258 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23259 [XPG3 || XPG4] (getlogin_r): Likewise.
23260 [XPG3 || XPG4] (pread): Likewise.
23261 [XPG3 || XPG4] (pthread_atfork): Likewise.
23262 [XPG3 || XPG4] (pwrite): Likewise.
23265 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23268 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23270 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23271 finalizing MALLSTREAM.
23273 * sysdeps/mach/hurd/syncfs.c: New file.
23275 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23278 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23279 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23280 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23281 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23282 (_nss_dns_gethostbyname4_r): Likewise.
23283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23284 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23286 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23289 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23291 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23293 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23294 * elf/cache.c (print_entry): Print ",AArch64" for
23297 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23298 * elf/cache.c (print_entry): Print ",hard-float" for
23301 2012-11-18 David S. Miller <davem@davemloft.net>
23303 With help from Joseph Myers.
23304 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23306 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23308 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23309 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23311 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23312 * math/libm-test.inc (y0_test): New tests.
23313 (y1_test): New tests.
23314 * sysdeps/i386/fpu/libm-test-ulps: Update.
23315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23318 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23320 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23322 * configure: Regenerated.
23324 2012-11-17 David S. Miller <davem@davemloft.net>
23327 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23328 nonzero exponents with absolute value below 0x1p-128 to +/-
23331 2012-11-17 Joseph Myers <joseph@codesourcery.com>
23333 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23335 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23337 * posix/getconf-speclist.c: New file.
23338 * posix/posix-envs.def: Likewise.
23339 * posix/confstr.c (START_ENV_GROUP): New macro.
23340 (END_ENV_GROUP): Likewise.
23341 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23342 (KNOWN_PRESENT_ENV_STRING): Likewise.
23343 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23344 (UNKNOWN_ENVIRONMENT): Likewise.
23345 (confstr): Include posix-envs.def instead of handling
23346 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23347 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23348 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23349 (END_ENV_GROUP): Likewise.
23350 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23351 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23352 (UNKNOWN_ENVIRONMENT): Likewise.
23353 (__sysconf): Include posix-envs.def instead of handling associated
23354 cases directly here.
23355 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23356 preprocessing getconf-speclist.c rather than running getconf or
23357 generating empty file.
23359 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23361 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23363 2012-11-16 Andrej Lajovic <natrij@gmail.com>
23366 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23368 2012-11-16 David S. Miller <davem@davemloft.net>
23370 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23371 smaller than LDBL_EPSILON/2.0L, just return xm1.
23373 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23375 * elf/tst-array1.c (init): Set constructor priority to 1000.
23376 (fini): Set destructor priority to 1000.
23377 * elf/tst-array2dep.c: Likewise.
23379 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23382 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23383 (_IO_new_file_xsputn): Also return EOF if none of the input
23384 data was written when overflow failed.
23385 * libio/iopadn.c (_IO_padn): Likewise.
23386 * libio/iowpadn.c (_IO_wpadn): Likewise.
23387 * stdio-common/tst-put-error.c: Add copyright notice.
23388 (do_test): Add case for printing padded string.
23389 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23390 _IO_padn returned error.
23391 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23392 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23395 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23397 * libio/libioP.h: Add comment note that the references to C++
23398 bits are now obsolete.
23400 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23402 * math/libm-test.inc (check_complex): Use asprintf.
23404 2012-11-14 Joseph Myers <joseph@codesourcery.com>
23406 * debug/pcprofiledump.c (print_version): Update copyright year.
23407 * malloc/memusagestat.c (print_version): Likewise.
23409 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23412 * elf/Makefile (tests): Add tst-audit8.
23413 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23414 ($(objpfx)tst-audit8.out): New target.
23415 (tst-audit8-ENV): New variable.
23416 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23417 audit if l_reloc_result is NULL.
23418 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23419 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23420 * elf/tst-audit8.c: New file.
23422 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23424 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23425 * misc/Makefile (CFLAGS-select.c): Define.
23426 * posix/Makefile (CFLAGS-pause.c): Define.
23428 2012-11-13 David S. Miller <davem@davemloft.net>
23430 * crypt/Makefile: Move test targets after toplevel Rules
23431 inclusion. Grab any necessary sysdep routines when linking.
23432 * crypt/md5.c (md5_process_block): Remove define, we will always
23433 name it __md5_process_block.
23434 (md5_finish_ctx): Update md5_process_block call.
23435 (md5_stream): Likewise.
23436 (md5_process_bytes): Likewise.
23437 (md5_process_block): Rename to __md5_process_block and move to ...
23438 * crypt/md5-block.c: ... here.
23439 * crypt/sha256.c (sha256_process_block): Move to ...
23440 * crypt/sha256-block.c: ... here.
23441 * crypt/sha512.c (sha512_process_block): Move to ...
23442 * crypt/sha512-block.c: ... here.
23443 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23445 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23446 * sysdeps/sparc/sparc64/multiarch/Makefile
23447 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23449 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23450 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23452 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23453 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23454 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23455 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23456 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23457 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23458 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23459 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23460 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23462 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23463 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23465 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23467 2012-11-13 Joseph Myers <joseph@codesourcery.com>
23469 * timezone/tzselect.ksh: Update from tzcode git revision
23470 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23471 * timezone/zdump.c: Likewise.
23472 * timezone/zic.c: Likewise.
23473 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23474 in TZVERSION setting, not $(PKGVERSION).
23475 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23476 REPORT_BUGS_TO settings.
23479 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23482 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23484 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23485 detection to immediately after _FP_ROUND().
23486 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23489 2012-11-11 David S. Miller <davem@davemloft.net>
23491 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23493 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23494 __close rather than their public counterparts.
23496 2012-11-10 Joseph Myers <joseph@codesourcery.com>
23498 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23500 [UNIX98] (sem_timedwait): Do not expect.
23501 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23502 [XPG4 || UNIX98] (sockatmark): Do not expect.
23503 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23504 (clock_getcpuclockid): Do not expect.
23505 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23506 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23508 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23509 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23510 [UNIX98] (vwscanf): Likewise.
23511 [UNIX98] (vswscanf): Likewise.
23513 2012-11-09 Joseph Myers <joseph@codesourcery.com>
23515 * timezone/version.h: Remove file.
23516 * timezone/README: Do not refer to version.h.
23517 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23518 $(objpfx)version.h.
23519 ($(objpfx)zdump.o): Likewise.
23520 ($(objpfx)version.h): New target.
23522 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23524 * timezone/README: Don't mention modification to tzselect.ksh.
23525 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23526 work on unmodified tzselect.ksh. Substitute version numbers in
23529 * Makefile (format-me): Remove.
23530 (INSTALL): Adjust indentation. Use commands directly instead of
23531 using $(format-me).
23533 * aclocal.m4 (ACX_PKGVERSION): New macro.
23534 (ACX_BUGURL): Likewise.
23535 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23536 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23537 (REPORT_BUGS_TO): Likewise.
23538 * configure: Regenerated.
23539 * config.h.in (PKGVERSION): New macro.
23540 (REPORT_BUGS_TO): Likewise.
23541 * config.make.in (PKGVERSION): New variable.
23542 (PKGVERSION_TEXI): Likewise.
23543 (REPORT_BUGS_TO): Likewise.
23544 (REPORT_BUGS_TEXI): Likewise.
23545 * Makefile (format-me): Use -I$(common-objpfx)manual.
23546 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23547 ($(common-objpfx)manual/%): New target.
23548 (manual/%): Remove target.
23549 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23550 (print_version): Use PKGVERSION.
23551 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23552 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23553 and REPORT_BUGS_TO.
23554 ($(objpfx)xtrace): Likewise.
23555 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23556 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23557 (print_version): Use PKGVERSION.
23558 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23559 (do_version): Use PKGVERSION.
23560 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23562 (common-ldd-rewrite): Likewise.
23563 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23564 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23565 (print_version): Use PKGVERSION.
23566 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23567 * elf/pldd.c (argp_program_bug_address): Remove variable.
23568 (more_help): New function.
23569 (argp): Use more_help.
23570 (print_version): Use PKGVERSION.
23571 * elf/sln.c (main): Use PKGVERSION.
23572 (usage): Use REPORT_BUGS_TO.
23573 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23574 (top level): Use PKGVERSION.
23575 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23576 (print_version): Use PKGVERSION.
23577 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23578 (print_version): Use PKGVERSION.
23579 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23580 (print_version): Use PKGVERSION.
23581 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23582 (print_version): Use PKGVERSION.
23583 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23584 (print_version): Use PKGVERSION.
23585 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23586 (print_version): Use PKGVERSION.
23587 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23589 ($(objpfx)memusage): Likewise.
23590 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23591 (do_version): Use PKGVERSION.
23592 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23593 (print_version): Use PKGVERSION.
23594 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23595 ($PKGVERSION): New variable.
23596 ($REPORT_BUGS_TO): Likewise.
23597 (usage): Use $REPORT_BUGS_TO.
23598 (top level): Use $PKGVERSION.
23599 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23600 ($(objpfx)pkgvers.texi): New rule.
23601 ($(objpfx)stamp-pkgvers): Likewise.
23602 * manual/install.texi: Include pkgvers.texi.
23603 (--with-pkgversion): Document new configure option.
23604 (--with-bugurl): Likewise.
23605 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23606 than necessarily for this particular distribution. Use
23607 REPORT_BUGS_TO for where to report bugs.
23608 * INSTALL: Regenerated.
23609 * manual/libc.texinfo: Include pkgvers.texi.
23610 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23611 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23612 (print_version): Use PKGVERSION.
23613 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23614 (print_version): Use PKGVERSION.
23615 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23616 (print_version): Use PKGVERSION.
23617 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23618 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23620 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23621 (print_version): Use PKGVERSION.
23622 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23623 (print_version): Use PKGVERSION.
23624 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23627 * timezone/checktab.awk: Update from tzcode 2012i.
23628 * timezone/ialloc.c: Likewise.
23629 * timezone/private.h: Likewise.
23630 * timezone/scheck.c: Likewise.
23631 * timezone/tzfile.h: Likewise.
23632 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23633 (TZVERSION): Hardcode tzcode version number.
23634 * timezone/zdump.c: Update from tzcode 2012i.
23635 * timezone/zic.c: Likewise.
23636 * timezone/version.h: New file.
23637 * timezone/README: Describe version.h. Update upstream location.
23640 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23641 (mktemp): Enable declaration.
23642 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23643 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23644 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23645 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23647 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23651 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23653 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23655 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23659 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23660 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23661 for copies of such integer values.
23662 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23663 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23665 2012-11-09 Andreas Jaeger <aj@suse.de>
23667 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23668 definitions and declarations that are provided by
23669 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23671 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23673 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23674 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23675 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23678 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23680 * elf/elf.h: Update comment before AArch64 relocations.
23682 2012-11-07 David S. Miller <davem@davemloft.net>
23684 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23685 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23686 (__start_context): Declare.
23687 (__makecontext_ret): Delete.
23688 (__makecontext): Hook up __start_context instead of
23690 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23691 (sysdep_routines): Add __start_context when in stdlib.
23693 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23695 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23696 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23697 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23699 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23700 (READELF): New variable. Use it instead of hardcoded "readelf".
23702 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23704 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23705 * sysdeps/x86/Makefile: Here.
23706 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23707 * sysdeps/x86/tst-xmmymm.sh: This.
23709 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23711 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23713 [UNIX98] (pthread_barrier_t): Do not expect.
23714 [UNIX98] (pthread_barrierattr_t): Likewise.
23715 [UNIX98] (pthread_spinlock_t): Likewise.
23716 [UNIX98] (pthread_barrier_destroy): Likewise.
23717 [UNIX98] (pthread_barrier_init): Likewise.
23718 [UNIX98] (pthread_barrier_wait): Likewise.
23719 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23720 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23721 [UNIX98] (pthread_barrierattr_init): Likewise.
23722 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23723 [UNIX98] (pthread_getcpuclockid): Likewise.
23724 [UNIX98] (pthread_mutex_timedlock): Likewise.
23725 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23726 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23727 [UNIX98] (pthread_sigmask): Likewise.
23728 [UNIX98] (pthread_spin_destroy): Likewise.
23729 [UNIX98] (pthread_spin_init): Likewise.
23730 [UNIX98] (pthread_spin_lock): Likewise.
23731 [UNIX98] (pthread_spin_trylock): Likewise.
23732 [UNIX98] (pthread_spin_unlock): Likewise.
23733 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23735 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23736 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23737 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23738 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23739 [XPG3 || XPG4] (pthread_key_t): Likewise.
23740 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23741 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23742 [XPG3 || XPG4] (pthread_once_t): Likewise.
23743 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23744 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23745 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23746 [XPG3 || XPG4] (pthread_t): Likewise.
23748 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23750 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23752 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23753 Change function return type to int.
23755 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23756 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23757 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23758 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23759 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23760 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23761 [!POSIX] (posix_madvise): Likewise.
23762 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23764 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23765 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23766 (mode_t): Likewise.
23767 (posix_mem_offset): Likewise.
23768 (posix_typed_mem_get_info): Likewise.
23769 (posix_typed_mem_open): Likewise.
23771 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23772 Change condition to [XOPEN2K8].
23774 * conform/conformtest.pl: Preprocess allow-header data with -x c
23775 instead of from stdin.
23776 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23777 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23778 [C99-based standards] (cerfc): Likewise.
23779 [C99-based standards] (cexp2): Likewise.
23780 [C99-based standards] (cexpm1): Likewise.
23781 [C99-based standards] (clog10): Likewise.
23782 [C99-based standards] (clog1p): Likewise.
23783 [C99-based standards] (clog2): Likewise.
23784 [C99-based standards] (clgamma): Likewise.
23785 [C99-based standards] (ctgamma): Likewise.
23786 [C99-based standards] (cerff): Likewise.
23787 [C99-based standards] (cerfcf): Likewise.
23788 [C99-based standards] (cexp2f): Likewise.
23789 [C99-based standards] (cexpm1f): Likewise.
23790 [C99-based standards] (clog10f): Likewise.
23791 [C99-based standards] (clog1pf): Likewise.
23792 [C99-based standards] (clog2f): Likewise.
23793 [C99-based standards] (clgammaf): Likewise.
23794 [C99-based standards] (ctgammaf): Likewise.
23795 [C99-based standards] (cerfl): Likewise.
23796 [C99-based standards] (cerfcl): Likewise.
23797 [C99-based standards] (cexp2l): Likewise.
23798 [C99-based standards] (cexpm1l): Likewise.
23799 [C99-based standards] (clog10l): Likewise.
23800 [C99-based standards] (clog1pl): Likewise.
23801 [C99-based standards] (clog2l): Likewise.
23802 [C99-based standards] (clgammal): Likewise.
23803 [C99-based standards] (ctgammal): Likewise.
23804 * conform/data/inttypes.h-data [C99-based standards]: Include
23805 stdint.h-data. Remove all expectations for stdint.h contents.
23806 [C99-based standards] (PRI*): Do not allow.
23807 [C99-based standards] (SCN*): Likewise.
23808 [C99-based standards] (*_t): Likewise.
23809 [C99-based-standards] (PRId8): Expect macro.
23810 [C99-based-standards] (PRIi8): Likewise.
23811 [C99-based-standards] (PRIo8): Likewise.
23812 [C99-based-standards] (PRIu8): Likewise.
23813 [C99-based-standards] (PRIx8): Likewise.
23814 [C99-based-standards] (PRIX8): Likewise.
23815 [C99-based-standards] (SCNd8): Likewise.
23816 [C99-based-standards] (SCNi8): Likewise.
23817 [C99-based-standards] (SCNo8): Likewise.
23818 [C99-based-standards] (SCNu8): Likewise.
23819 [C99-based-standards] (SCNx8): Likewise.
23820 [C99-based-standards] (PRIdLEAST8): Likewise.
23821 [C99-based-standards] (PRIiLEAST8): Likewise.
23822 [C99-based-standards] (PRIoLEAST8): Likewise.
23823 [C99-based-standards] (PRIuLEAST8): Likewise.
23824 [C99-based-standards] (PRIxLEAST8): Likewise.
23825 [C99-based-standards] (PRIXLEAST8): Likewise.
23826 [C99-based-standards] (SCNdLEAST8): Likewise.
23827 [C99-based-standards] (SCNiLEAST8): Likewise.
23828 [C99-based-standards] (SCNoLEAST8): Likewise.
23829 [C99-based-standards] (SCNuLEAST8): Likewise.
23830 [C99-based-standards] (SCNxLEAST8): Likewise.
23831 [C99-based-standards] (PRIdFAST8): Likewise.
23832 [C99-based-standards] (PRIiFAST8): Likewise.
23833 [C99-based-standards] (PRIoFAST8): Likewise.
23834 [C99-based-standards] (PRIuFAST8): Likewise.
23835 [C99-based-standards] (PRIxFAST8): Likewise.
23836 [C99-based-standards] (PRIXFAST8): Likewise.
23837 [C99-based-standards] (SCNdFAST8): Likewise.
23838 [C99-based-standards] (SCNiFAST8): Likewise.
23839 [C99-based-standards] (SCNoFAST8): Likewise.
23840 [C99-based-standards] (SCNuFAST8): Likewise.
23841 [C99-based-standards] (SCNxFAST8): Likewise.
23842 [C99-based-standards] (PRId16): Likewise.
23843 [C99-based-standards] (PRIi16): Likewise.
23844 [C99-based-standards] (PRIo16): Likewise.
23845 [C99-based-standards] (PRIu16): Likewise.
23846 [C99-based-standards] (PRIx16): Likewise.
23847 [C99-based-standards] (PRIX16): Likewise.
23848 [C99-based-standards] (SCNd16): Likewise.
23849 [C99-based-standards] (SCNi16): Likewise.
23850 [C99-based-standards] (SCNo16): Likewise.
23851 [C99-based-standards] (SCNu16): Likewise.
23852 [C99-based-standards] (SCNx16): Likewise.
23853 [C99-based-standards] (PRIdLEAST16): Likewise.
23854 [C99-based-standards] (PRIiLEAST16): Likewise.
23855 [C99-based-standards] (PRIoLEAST16): Likewise.
23856 [C99-based-standards] (PRIuLEAST16): Likewise.
23857 [C99-based-standards] (PRIxLEAST16): Likewise.
23858 [C99-based-standards] (PRIXLEAST16): Likewise.
23859 [C99-based-standards] (SCNdLEAST16): Likewise.
23860 [C99-based-standards] (SCNiLEAST16): Likewise.
23861 [C99-based-standards] (SCNoLEAST16): Likewise.
23862 [C99-based-standards] (SCNuLEAST16): Likewise.
23863 [C99-based-standards] (SCNxLEAST16): Likewise.
23864 [C99-based-standards] (PRIdFAST16): Likewise.
23865 [C99-based-standards] (PRIiFAST16): Likewise.
23866 [C99-based-standards] (PRIoFAST16): Likewise.
23867 [C99-based-standards] (PRIuFAST16): Likewise.
23868 [C99-based-standards] (PRIxFAST16): Likewise.
23869 [C99-based-standards] (PRIXFAST16): Likewise.
23870 [C99-based-standards] (SCNdFAST16): Likewise.
23871 [C99-based-standards] (SCNiFAST16): Likewise.
23872 [C99-based-standards] (SCNoFAST16): Likewise.
23873 [C99-based-standards] (SCNuFAST16): Likewise.
23874 [C99-based-standards] (SCNxFAST16): Likewise.
23875 [C99-based-standards] (PRId32): Likewise.
23876 [C99-based-standards] (PRIi32): Likewise.
23877 [C99-based-standards] (PRIo32): Likewise.
23878 [C99-based-standards] (PRIu32): Likewise.
23879 [C99-based-standards] (PRIx32): Likewise.
23880 [C99-based-standards] (PRIX32): Likewise.
23881 [C99-based-standards] (SCNd32): Likewise.
23882 [C99-based-standards] (SCNi32): Likewise.
23883 [C99-based-standards] (SCNo32): Likewise.
23884 [C99-based-standards] (SCNu32): Likewise.
23885 [C99-based-standards] (SCNx32): Likewise.
23886 [C99-based-standards] (PRIdLEAST32): Likewise.
23887 [C99-based-standards] (PRIiLEAST32): Likewise.
23888 [C99-based-standards] (PRIoLEAST32): Likewise.
23889 [C99-based-standards] (PRIuLEAST32): Likewise.
23890 [C99-based-standards] (PRIxLEAST32): Likewise.
23891 [C99-based-standards] (PRIXLEAST32): Likewise.
23892 [C99-based-standards] (SCNdLEAST32): Likewise.
23893 [C99-based-standards] (SCNiLEAST32): Likewise.
23894 [C99-based-standards] (SCNoLEAST32): Likewise.
23895 [C99-based-standards] (SCNuLEAST32): Likewise.
23896 [C99-based-standards] (SCNxLEAST32): Likewise.
23897 [C99-based-standards] (PRIdFAST32): Likewise.
23898 [C99-based-standards] (PRIiFAST32): Likewise.
23899 [C99-based-standards] (PRIoFAST32): Likewise.
23900 [C99-based-standards] (PRIuFAST32): Likewise.
23901 [C99-based-standards] (PRIxFAST32): Likewise.
23902 [C99-based-standards] (PRIXFAST32): Likewise.
23903 [C99-based-standards] (SCNdFAST32): Likewise.
23904 [C99-based-standards] (SCNiFAST32): Likewise.
23905 [C99-based-standards] (SCNoFAST32): Likewise.
23906 [C99-based-standards] (SCNuFAST32): Likewise.
23907 [C99-based-standards] (SCNxFAST32): Likewise.
23908 [C99-based-standards] (PRId64): Likewise.
23909 [C99-based-standards] (PRIi64): Likewise.
23910 [C99-based-standards] (PRIo64): Likewise.
23911 [C99-based-standards] (PRIu64): Likewise.
23912 [C99-based-standards] (PRIx64): Likewise.
23913 [C99-based-standards] (PRIX64): Likewise.
23914 [C99-based-standards] (SCNd64): Likewise.
23915 [C99-based-standards] (SCNi64): Likewise.
23916 [C99-based-standards] (SCNo64): Likewise.
23917 [C99-based-standards] (SCNu64): Likewise.
23918 [C99-based-standards] (SCNx64): Likewise.
23919 [C99-based-standards] (PRIdLEAST64): Likewise.
23920 [C99-based-standards] (PRIiLEAST64): Likewise.
23921 [C99-based-standards] (PRIoLEAST64): Likewise.
23922 [C99-based-standards] (PRIuLEAST64): Likewise.
23923 [C99-based-standards] (PRIxLEAST64): Likewise.
23924 [C99-based-standards] (PRIXLEAST64): Likewise.
23925 [C99-based-standards] (SCNdLEAST64): Likewise.
23926 [C99-based-standards] (SCNiLEAST64): Likewise.
23927 [C99-based-standards] (SCNoLEAST64): Likewise.
23928 [C99-based-standards] (SCNuLEAST64): Likewise.
23929 [C99-based-standards] (SCNxLEAST64): Likewise.
23930 [C99-based-standards] (PRIdFAST64): Likewise.
23931 [C99-based-standards] (PRIiFAST64): Likewise.
23932 [C99-based-standards] (PRIoFAST64): Likewise.
23933 [C99-based-standards] (PRIuFAST64): Likewise.
23934 [C99-based-standards] (PRIxFAST64): Likewise.
23935 [C99-based-standards] (PRIXFAST64): Likewise.
23936 [C99-based-standards] (SCNdFAST64): Likewise.
23937 [C99-based-standards] (SCNiFAST64): Likewise.
23938 [C99-based-standards] (SCNoFAST64): Likewise.
23939 [C99-based-standards] (SCNuFAST64): Likewise.
23940 [C99-based-standards] (SCNxFAST64): Likewise.
23941 [C99-based-standards] (PRIdMAX): Likewise.
23942 [C99-based-standards] (PRIiMAX): Likewise.
23943 [C99-based-standards] (PRIoMAX): Likewise.
23944 [C99-based-standards] (PRIuMAX): Likewise.
23945 [C99-based-standards] (PRIxMAX): Likewise.
23946 [C99-based-standards] (PRIXMAX): Likewise.
23947 [C99-based-standards] (SCNdMAX): Likewise.
23948 [C99-based-standards] (SCNiMAX): Likewise.
23949 [C99-based-standards] (SCNoMAX): Likewise.
23950 [C99-based-standards] (SCNuMAX): Likewise.
23951 [C99-based-standards] (SCNxMAX): Likewise.
23952 [C99-based-standards] (PRIdPTR): Likewise.
23953 [C99-based-standards] (PRIiPTR): Likewise.
23954 [C99-based-standards] (PRIoPTR): Likewise.
23955 [C99-based-standards] (PRIuPTR): Likewise.
23956 [C99-based-standards] (PRIxPTR): Likewise.
23957 [C99-based-standards] (PRIXPTR): Likewise.
23958 [C99-based-standards] (SCNdPTR): Likewise.
23959 [C99-based-standards] (SCNiPTR): Likewise.
23960 [C99-based-standards] (SCNoPTR): Likewise.
23961 [C99-based-standards] (SCNuPTR): Likewise.
23962 [C99-based-standards] (SCNxPTR): Likewise.
23963 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23965 * conform/data/stdint.h-data: Update comments to clarify
23967 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23969 [C99-based standards] (INT8_MAX): Likewise.
23970 [C99-based standards] (INT16_MIN): Likewise.
23971 [C99-based standards] (INT16_MAX): Likewise.
23972 [C99-based standards] (INT32_MIN): Likewise.
23973 [C99-based standards] (INT32_MAX): Likewise.
23974 [C99-based standards] (INT64_MIN): Likewise.
23975 [C99-based standards] (INT64_MAX): Likewise.
23976 [C99-based standards] (UINT8_MAX): Likewise.
23977 [C99-based standards] (UINT16_MAX): Likewise.
23978 [C99-based standards] (UINT32_MAX): Likewise.
23979 [C99-based standards] (UINT64_MAX): Likewise.
23980 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23981 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23982 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23983 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23984 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23985 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23986 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23987 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23988 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23989 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23990 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23991 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23992 [C99-based standards] (INT_FAST8_MIN): Likewise.
23993 [C99-based standards] (INT_FAST8_MAX): Likewise.
23994 [C99-based standards] (INT_FAST16_MIN): Likewise.
23995 [C99-based standards] (INT_FAST16_MAX): Likewise.
23996 [C99-based standards] (INT_FAST32_MIN): Likewise.
23997 [C99-based standards] (INT_FAST32_MAX): Likewise.
23998 [C99-based standards] (INT_FAST64_MIN): Likewise.
23999 [C99-based standards] (INT_FAST64_MAX): Likewise.
24000 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24001 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24002 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24003 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24004 [C99-based standards] (INTPTR_MIN): Likewise.
24005 [C99-based standards] (INTPTR_MAX): Likewise.
24006 [C99-based standards] (UINTPTR_MAX): Likewise.
24007 [C99-based standards] (INTMAX_MIN): Likewise.
24008 [C99-based standards] (INTMAX_MAX): Likewise.
24009 [C99-based standards] (UINTMAX_MAX): Likewise.
24010 [C99-based standards] (PTRDIFF_MIN): Likewise.
24011 [C99-based standards] (PTRDIFF_MAX): Likewise.
24012 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24013 [C99-based standards] (SIZE_MAX): Likewise.
24014 [C99-based standards] (WCHAR_MAX): Likewise.
24015 [C99-based standards] (WINT_MAX): Likewise.
24016 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24017 constraint on value.
24018 [C99-based standards] (WCHAR_MIN): Likewise.
24019 [C99-based standards] (WINT_MIN): Likewise.
24020 [C99-based standards] (*_t): Allow.
24021 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24022 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24023 Include math.h-data and complex.h-data. Remove all expectations
24024 of math.h and complex.h contents.
24025 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24027 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24028 (struct tm): Expect tag.
24029 [C99-based-standards] (wcstof): Expect function.
24030 [C99-based-standards] (wcstold): Likewise.
24031 [C99-based-standards] (wcstoll): Likewise.
24032 [C99-based-standards] (wcstoull): Likewise.
24033 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24034 macro-int-constant. Specify type.
24035 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24036 constraint on value.
24037 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24039 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24041 [ISO C standards]: Do not allow headers.
24042 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24043 wcs[abcdefghijklmnopqrstuvwxyz]*.
24044 [ISO C standards] (*_t): Do not allow.
24045 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24047 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24048 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24050 [ISO C standards]: Do not allow headers.
24051 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24052 is[abcdefghijklmnopqrstuvwxyz]*.
24053 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24054 to[abcdefghijklmnopqrstuvwxyz]*.
24055 [ISO C standards] (*_t): Do not allow.
24056 * conform/data/stdalign.h-data: New file.
24057 * conform/data/stdbool.h-data: Likewise.
24058 * conform/data/stdnoreturn.h-data: Likewise.
24060 2012-11-07 Roland McGrath <roland@hack.frob.com>
24063 * manual/filesys.texi (Directory Entries): Typo fix.
24064 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24066 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24068 * elf/elf.h (EM_AARCH64): New macro.
24069 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24070 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24071 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24072 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24073 (R_AARCH64_TLSDESC): Likewise.
24074 (NT_ARM_TLS): Likewise.
24075 (NT_ARM_HW_BREAK): Likewise.
24076 (NT_ARM_HW_WATCH): Likewise.
24078 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24081 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24082 (__ieee754_powl): Saturate nonzero exponents with absolute value
24083 below 0x1p-79 to +/- 0x1p-79.
24084 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24085 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24086 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24087 nonzero exponents with absolute value below 0x1p-32 to +/-
24089 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24090 (__ieee754_powl): Saturate nonzero exponents with absolute value
24091 below 0x1p-79 to +/- 0x1p-79.
24092 * math/libm-test.inc (pow_test): Add more tests.
24094 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24096 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24097 _dl_s390_cap_flags with kernel. Increase string length.
24098 (_dl_s390_platforms): Add z196 and zEC12.
24100 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24102 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24103 Change XOPEN21K to XOPEN2K.
24105 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24107 * string/memmove.c: Use memcpy when possible.
24109 2012-11-06 Andreas Jaeger <aj@suse.de>
24111 * po/eo.po: Update from translation team.
24113 2012-11-06 Joseph Myers <joseph@codesourcery.com>
24116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24117 exponent and small x and y exponents, scale x or y up. Increase
24118 by 2 the exponent used in scaling up.
24119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24121 * math/libm-test.inc (fma_test): Add more tests.
24122 (fma_test_towardzero): Likewise.
24123 (fma_test_downward): Likewise.
24124 (fma_test_upward): Likewise.
24126 2012-11-05 Joseph Myers <joseph@codesourcery.com>
24129 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24133 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24134 namespace for names of struct fields.
24135 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24137 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24138 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24140 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24143 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24145 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24147 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24151 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24154 2012-11-04 Joseph Myers <joseph@codesourcery.com>
24157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24158 definitely overflow as x * y not x * y + z.
24159 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24160 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24161 * math/libm-test.inc (fma_test): Add more tests.
24162 (fma_test_towardzero): Likewise.
24163 (fma_test_downward): Likewise.
24164 (fma_test_upward): Likewise.
24166 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24170 * include/stub-tag.h: Remove file.
24171 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24173 * manual/maint.texi (Porting): Don't reference it.
24174 * Makerules ($(objpfx)stubs): Likewise.
24175 * dirent/closedir.c: Don't include <stub-tag.h>.
24176 * dirent/dirfd.c: Likewise.
24177 * dirent/fdopendir.c: Likewise.
24178 * dirent/getdents.c: Likewise.
24179 * dirent/getdents64.c: Likewise.
24180 * dirent/opendir.c: Likewise.
24181 * dirent/readdir.c: Likewise.
24182 * dirent/readdir64.c: Likewise.
24183 * dirent/readdir64_r.c: Likewise.
24184 * dirent/readdir_r.c: Likewise.
24185 * dirent/rewinddir.c: Likewise.
24186 * dirent/seekdir.c: Likewise.
24187 * dirent/telldir.c: Likewise.
24188 * gmon/profil.c: Likewise.
24189 * grp/setgroups.c: Likewise.
24190 * inet/if_index.c: Likewise.
24191 * io/access.c: Likewise.
24192 * io/chdir.c: Likewise.
24193 * io/chmod.c: Likewise.
24194 * io/chown.c: Likewise.
24195 * io/close.c: Likewise.
24196 * io/dup.c: Likewise.
24197 * io/dup2.c: Likewise.
24198 * io/dup3.c: Likewise.
24199 * io/euidaccess.c: Likewise.
24200 * io/faccessat.c: Likewise.
24201 * io/fchdir.c: Likewise.
24202 * io/fchmod.c: Likewise.
24203 * io/fchmodat.c: Likewise.
24204 * io/fchown.c: Likewise.
24205 * io/fchownat.c: Likewise.
24206 * io/fcntl.c: Likewise.
24207 * io/flock.c: Likewise.
24208 * io/fstatfs.c: Likewise.
24209 * io/fstatfs64.c: Likewise.
24210 * io/fstatvfs.c: Likewise.
24211 * io/fstatvfs64.c: Likewise.
24212 * io/futimens.c: Likewise.
24213 * io/fxstat.c: Likewise.
24214 * io/fxstat64.c: Likewise.
24215 * io/fxstatat.c: Likewise.
24216 * io/fxstatat64.c: Likewise.
24217 * io/getcwd.c: Likewise.
24218 * io/isatty.c: Likewise.
24219 * io/lchmod.c: Likewise.
24220 * io/lchown.c: Likewise.
24221 * io/link.c: Likewise.
24222 * io/linkat.c: Likewise.
24223 * io/lseek.c: Likewise.
24224 * io/lseek64.c: Likewise.
24225 * io/lxstat64.c: Likewise.
24226 * io/mkdir.c: Likewise.
24227 * io/mkdirat.c: Likewise.
24228 * io/mkfifo.c: Likewise.
24229 * io/mkfifoat.c: Likewise.
24230 * io/open.c: Likewise.
24231 * io/open64.c: Likewise.
24232 * io/openat.c: Likewise.
24233 * io/openat64.c: Likewise.
24234 * io/pipe.c: Likewise.
24235 * io/pipe2.c: Likewise.
24236 * io/poll.c: Likewise.
24237 * io/posix_fadvise.c: Likewise.
24238 * io/posix_fadvise64.c: Likewise.
24239 * io/posix_fallocate.c: Likewise.
24240 * io/posix_fallocate64.c: Likewise.
24241 * io/read.c: Likewise.
24242 * io/readlink.c: Likewise.
24243 * io/readlinkat.c: Likewise.
24244 * io/rmdir.c: Likewise.
24245 * io/sendfile.c: Likewise.
24246 * io/sendfile64.c: Likewise.
24247 * io/statfs.c: Likewise.
24248 * io/statfs64.c: Likewise.
24249 * io/statvfs.c: Likewise.
24250 * io/statvfs64.c: Likewise.
24251 * io/symlink.c: Likewise.
24252 * io/symlinkat.c: Likewise.
24253 * io/ttyname.c: Likewise.
24254 * io/ttyname_r.c: Likewise.
24255 * io/umask.c: Likewise.
24256 * io/unlink.c: Likewise.
24257 * io/unlinkat.c: Likewise.
24258 * io/utime.c: Likewise.
24259 * io/utimensat.c: Likewise.
24260 * io/write.c: Likewise.
24261 * io/xmknod.c: Likewise.
24262 * io/xmknodat.c: Likewise.
24263 * io/xstat.c: Likewise.
24264 * io/xstat64.c: Likewise.
24265 * login/getpt.c: Likewise.
24266 * login/grantpt.c: Likewise.
24267 * login/unlockpt.c: Likewise.
24268 * math/e_acoshl.c: Likewise.
24269 * math/e_acosl.c: Likewise.
24270 * math/e_asinl.c: Likewise.
24271 * math/e_atan2l.c: Likewise.
24272 * math/e_atanhl.c: Likewise.
24273 * math/e_coshl.c: Likewise.
24274 * math/e_expl.c: Likewise.
24275 * math/e_fmodl.c: Likewise.
24276 * math/e_gammal_r.c: Likewise.
24277 * math/e_hypotl.c: Likewise.
24278 * math/e_j0l.c: Likewise.
24279 * math/e_j1l.c: Likewise.
24280 * math/e_jnl.c: Likewise.
24281 * math/e_lgammal_r.c: Likewise.
24282 * math/e_log10l.c: Likewise.
24283 * math/e_log2l.c: Likewise.
24284 * math/e_logl.c: Likewise.
24285 * math/e_powl.c: Likewise.
24286 * math/e_rem_pio2l.c: Likewise.
24287 * math/e_sinhl.c: Likewise.
24288 * math/e_sqrtl.c: Likewise.
24289 * math/fclrexcpt.c: Likewise.
24290 * math/fedisblxcpt.c: Likewise.
24291 * math/feenablxcpt.c: Likewise.
24292 * math/fegetenv.c: Likewise.
24293 * math/fegetexcept.c: Likewise.
24294 * math/fegetround.c: Likewise.
24295 * math/feholdexcpt.c: Likewise.
24296 * math/fesetenv.c: Likewise.
24297 * math/fesetround.c: Likewise.
24298 * math/feupdateenv.c: Likewise.
24299 * math/fgetexcptflg.c: Likewise.
24300 * math/fraiseexcpt.c: Likewise.
24301 * math/fsetexcptflg.c: Likewise.
24302 * math/ftestexcept.c: Likewise.
24303 * math/k_cosl.c: Likewise.
24304 * math/k_rem_pio2l.c: Likewise.
24305 * math/k_sinl.c: Likewise.
24306 * math/k_tanl.c: Likewise.
24307 * math/s_asinhl.c: Likewise.
24308 * math/s_atanl.c: Likewise.
24309 * math/s_cbrtl.c: Likewise.
24310 * math/s_erfl.c: Likewise.
24311 * math/s_expm1l.c: Likewise.
24312 * math/s_log1pl.c: Likewise.
24313 * math/s_tanhl.c: Likewise.
24314 * misc/acct.c: Likewise.
24315 * misc/brk.c: Likewise.
24316 * misc/chflags.c: Likewise.
24317 * misc/chroot.c: Likewise.
24318 * misc/fchflags.c: Likewise.
24319 * misc/fgetxattr.c: Likewise.
24320 * misc/flistxattr.c: Likewise.
24321 * misc/fremovexattr.c: Likewise.
24322 * misc/fsetxattr.c: Likewise.
24323 * misc/fsync.c: Likewise.
24324 * misc/ftruncate.c: Likewise.
24325 * misc/futimes.c: Likewise.
24326 * misc/futimesat.c: Likewise.
24327 * misc/getdomain.c: Likewise.
24328 * misc/getdtsz.c: Likewise.
24329 * misc/gethostid.c: Likewise.
24330 * misc/gethostname.c: Likewise.
24331 * misc/getloadavg.c: Likewise.
24332 * misc/getpagesize.c: Likewise.
24333 * misc/getsysstats.c: Likewise.
24334 * misc/getxattr.c: Likewise.
24335 * misc/gtty.c: Likewise.
24336 * misc/ioctl.c: Likewise.
24337 * misc/lgetxattr.c: Likewise.
24338 * misc/listxattr.c: Likewise.
24339 * misc/llistxattr.c: Likewise.
24340 * misc/lremovexattr.c: Likewise.
24341 * misc/lsetxattr.c: Likewise.
24342 * misc/lutimes.c: Likewise.
24343 * misc/madvise.c: Likewise.
24344 * misc/mincore.c: Likewise.
24345 * misc/mlock.c: Likewise.
24346 * misc/mlockall.c: Likewise.
24347 * misc/mmap.c: Likewise.
24348 * misc/mprotect.c: Likewise.
24349 * misc/msync.c: Likewise.
24350 * misc/munlock.c: Likewise.
24351 * misc/munlockall.c: Likewise.
24352 * misc/munmap.c: Likewise.
24353 * misc/preadv.c: Likewise.
24354 * misc/preadv64.c: Likewise.
24355 * misc/ptrace.c: Likewise.
24356 * misc/pwritev.c: Likewise.
24357 * misc/pwritev64.c: Likewise.
24358 * misc/readv.c: Likewise.
24359 * misc/reboot.c: Likewise.
24360 * misc/remap_file_pages.c: Likewise.
24361 * misc/removexattr.c: Likewise.
24362 * misc/revoke.c: Likewise.
24363 * misc/select.c: Likewise.
24364 * misc/setdomain.c: Likewise.
24365 * misc/setegid.c: Likewise.
24366 * misc/seteuid.c: Likewise.
24367 * misc/sethostid.c: Likewise.
24368 * misc/sethostname.c: Likewise.
24369 * misc/setregid.c: Likewise.
24370 * misc/setreuid.c: Likewise.
24371 * misc/setxattr.c: Likewise.
24372 * misc/sstk.c: Likewise.
24373 * misc/stty.c: Likewise.
24374 * misc/swapoff.c: Likewise.
24375 * misc/swapon.c: Likewise.
24376 * misc/sync.c: Likewise.
24377 * misc/syncfs.c: Likewise.
24378 * misc/syscall.c: Likewise.
24379 * misc/truncate.c: Likewise.
24380 * misc/ualarm.c: Likewise.
24381 * misc/usleep.c: Likewise.
24382 * misc/ustat.c: Likewise.
24383 * misc/utimes.c: Likewise.
24384 * misc/vhangup.c: Likewise.
24385 * misc/writev.c: Likewise.
24386 * posix/_exit.c: Likewise.
24387 * posix/alarm.c: Likewise.
24388 * posix/execve.c: Likewise.
24389 * posix/fexecve.c: Likewise.
24390 * posix/fork.c: Likewise.
24391 * posix/fpathconf.c: Likewise.
24392 * posix/getaddrinfo.c: Likewise.
24393 * posix/getegid.c: Likewise.
24394 * posix/geteuid.c: Likewise.
24395 * posix/getgid.c: Likewise.
24396 * posix/getgroups.c: Likewise.
24397 * posix/getlogin.c: Likewise.
24398 * posix/getlogin_r.c: Likewise.
24399 * posix/getpgid.c: Likewise.
24400 * posix/getpid.c: Likewise.
24401 * posix/getppid.c: Likewise.
24402 * posix/getresgid.c: Likewise.
24403 * posix/getresuid.c: Likewise.
24404 * posix/getsid.c: Likewise.
24405 * posix/getuid.c: Likewise.
24406 * posix/glob64.c: Likewise.
24407 * posix/nanosleep.c: Likewise.
24408 * posix/pathconf.c: Likewise.
24409 * posix/pause.c: Likewise.
24410 * posix/posix_madvise.c: Likewise.
24411 * posix/pread.c: Likewise.
24412 * posix/pread64.c: Likewise.
24413 * posix/pwrite.c: Likewise.
24414 * posix/pwrite64.c: Likewise.
24415 * posix/sched_getaffinity.c: Likewise.
24416 * posix/sched_getp.c: Likewise.
24417 * posix/sched_gets.c: Likewise.
24418 * posix/sched_primax.c: Likewise.
24419 * posix/sched_primin.c: Likewise.
24420 * posix/sched_rr_gi.c: Likewise.
24421 * posix/sched_setaffinity.c: Likewise.
24422 * posix/sched_setp.c: Likewise.
24423 * posix/sched_sets.c: Likewise.
24424 * posix/sched_yield.c: Likewise.
24425 * posix/setgid.c: Likewise.
24426 * posix/setlogin.c: Likewise.
24427 * posix/setpgid.c: Likewise.
24428 * posix/setresgid.c: Likewise.
24429 * posix/setresuid.c: Likewise.
24430 * posix/setsid.c: Likewise.
24431 * posix/setuid.c: Likewise.
24432 * posix/sleep.c: Likewise.
24433 * posix/spawni.c: Likewise.
24434 * posix/sysconf.c: Likewise.
24435 * posix/times.c: Likewise.
24436 * posix/wait.c: Likewise.
24437 * posix/wait3.c: Likewise.
24438 * posix/wait4.c: Likewise.
24439 * posix/waitpid.c: Likewise.
24440 * resolv/gai_sigqueue.c: Likewise.
24441 * resource/getpriority.c: Likewise.
24442 * resource/getrlimit.c: Likewise.
24443 * resource/getrusage.c: Likewise.
24444 * resource/nice.c: Likewise.
24445 * resource/setpriority.c: Likewise.
24446 * resource/setrlimit.c: Likewise.
24447 * resource/ulimit.c: Likewise.
24448 * rt/aio_cancel.c: Likewise.
24449 * rt/aio_fsync.c: Likewise.
24450 * rt/aio_read.c: Likewise.
24451 * rt/aio_sigqueue.c: Likewise.
24452 * rt/aio_suspend.c: Likewise.
24453 * rt/aio_write.c: Likewise.
24454 * rt/clock_getres.c: Likewise.
24455 * rt/clock_gettime.c: Likewise.
24456 * rt/clock_nanosleep.c: Likewise.
24457 * rt/clock_settime.c: Likewise.
24458 * rt/lio_listio.c: Likewise.
24459 * rt/mq_close.c: Likewise.
24460 * rt/mq_getattr.c: Likewise.
24461 * rt/mq_notify.c: Likewise.
24462 * rt/mq_open.c: Likewise.
24463 * rt/mq_receive.c: Likewise.
24464 * rt/mq_send.c: Likewise.
24465 * rt/mq_setattr.c: Likewise.
24466 * rt/mq_timedreceive.c: Likewise.
24467 * rt/mq_timedsend.c: Likewise.
24468 * rt/mq_unlink.c: Likewise.
24469 * rt/shm_open.c: Likewise.
24470 * rt/shm_unlink.c: Likewise.
24471 * rt/timer_create.c: Likewise.
24472 * rt/timer_delete.c: Likewise.
24473 * rt/timer_getoverr.c: Likewise.
24474 * rt/timer_gettime.c: Likewise.
24475 * rt/timer_settime.c: Likewise.
24476 * setjmp/__longjmp.c: Likewise.
24477 * setjmp/setjmp.c: Likewise.
24478 * signal/kill.c: Likewise.
24479 * signal/killpg.c: Likewise.
24480 * signal/raise.c: Likewise.
24481 * signal/sigaction.c: Likewise.
24482 * signal/sigaltstack.c: Likewise.
24483 * signal/sigblock.c: Likewise.
24484 * signal/sigignore.c: Likewise.
24485 * signal/sigintr.c: Likewise.
24486 * signal/signal.c: Likewise.
24487 * signal/sigpause.c: Likewise.
24488 * signal/sigpending.c: Likewise.
24489 * signal/sigqueue.c: Likewise.
24490 * signal/sigreturn.c: Likewise.
24491 * signal/sigset.c: Likewise.
24492 * signal/sigsetmask.c: Likewise.
24493 * signal/sigstack.c: Likewise.
24494 * signal/sigsuspend.c: Likewise.
24495 * signal/sigtimedwait.c: Likewise.
24496 * signal/sigvec.c: Likewise.
24497 * signal/sigwait.c: Likewise.
24498 * signal/sigwaitinfo.c: Likewise.
24499 * signal/sysv_signal.c: Likewise.
24500 * socket/accept.c: Likewise.
24501 * socket/accept4.c: Likewise.
24502 * socket/bind.c: Likewise.
24503 * socket/connect.c: Likewise.
24504 * socket/getpeername.c: Likewise.
24505 * socket/getsockname.c: Likewise.
24506 * socket/getsockopt.c: Likewise.
24507 * socket/isfdtype.c: Likewise.
24508 * socket/listen.c: Likewise.
24509 * socket/recv.c: Likewise.
24510 * socket/recvfrom.c: Likewise.
24511 * socket/recvmsg.c: Likewise.
24512 * socket/send.c: Likewise.
24513 * socket/sendmsg.c: Likewise.
24514 * socket/sendto.c: Likewise.
24515 * socket/setsockopt.c: Likewise.
24516 * socket/shutdown.c: Likewise.
24517 * socket/sockatmark.c: Likewise.
24518 * socket/socket.c: Likewise.
24519 * socket/socketpair.c: Likewise.
24520 * stdio-common/ctermid.c: Likewise.
24521 * stdio-common/cuserid.c: Likewise.
24522 * stdio-common/remove.c: Likewise.
24523 * stdio-common/rename.c: Likewise.
24524 * stdio-common/renameat.c: Likewise.
24525 * stdio-common/tempname.c: Likewise.
24526 * stdlib/getcontext.c: Likewise.
24527 * stdlib/makecontext.c: Likewise.
24528 * stdlib/setcontext.c: Likewise.
24529 * stdlib/swapcontext.c: Likewise.
24530 * stdlib/system.c: Likewise.
24531 * streams/fattach.c: Likewise.
24532 * streams/fdetach.c: Likewise.
24533 * streams/getmsg.c: Likewise.
24534 * streams/getpmsg.c: Likewise.
24535 * streams/putmsg.c: Likewise.
24536 * streams/putpmsg.c: Likewise.
24537 * sysdeps/unix/bsd/getpt.c: Likewise.
24538 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24539 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24540 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24543 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24544 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24545 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24546 * sysvipc/msgctl.c: Likewise.
24547 * sysvipc/msgget.c: Likewise.
24548 * sysvipc/msgrcv.c: Likewise.
24549 * sysvipc/msgsnd.c: Likewise.
24550 * sysvipc/semctl.c: Likewise.
24551 * sysvipc/semget.c: Likewise.
24552 * sysvipc/semop.c: Likewise.
24553 * sysvipc/semtimedop.c: Likewise.
24554 * sysvipc/shmat.c: Likewise.
24555 * sysvipc/shmctl.c: Likewise.
24556 * sysvipc/shmdt.c: Likewise.
24557 * sysvipc/shmget.c: Likewise.
24558 * termios/tcdrain.c: Likewise.
24559 * termios/tcflow.c: Likewise.
24560 * termios/tcflush.c: Likewise.
24561 * termios/tcgetattr.c: Likewise.
24562 * termios/tcgetpgrp.c: Likewise.
24563 * termios/tcsendbrk.c: Likewise.
24564 * termios/tcsetattr.c: Likewise.
24565 * termios/tcsetpgrp.c: Likewise.
24566 * time/adjtime.c: Likewise.
24567 * time/clock.c: Likewise.
24568 * time/getitimer.c: Likewise.
24569 * time/gettimeofday.c: Likewise.
24570 * time/setitimer.c: Likewise.
24571 * time/settimeofday.c: Likewise.
24572 * time/stime.c: Likewise.
24573 * time/time.c: Likewise.
24575 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
24577 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24580 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24582 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24584 2012-11-03 Joseph Myers <joseph@codesourcery.com>
24587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24588 FE_TONEAREST before applying Dekker multiplication and Knuth
24589 addition. Clear inexact exceptions and check for exact zero
24590 results afterwards.
24591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24592 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24593 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24594 * math/libm-test.inc (fma_test): Add more tests.
24595 (fma_test_towardzero): Likewise.
24596 (fma_test_downward): Likewise.
24597 (fma_test_upward): Likewise.
24598 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24600 (libc_fesetround): New macro.
24601 (libc_fesetroundf): Likewise.
24602 (libc_fesetroundl): Likewise.
24603 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24605 (libc_fesetround_387): Likewise.
24606 (libc_fesetroundf): New macro.
24607 (libc_fesetround): Likewise.
24608 (libc_fesetroundl): Likewise.
24609 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24611 (libc_fesetroundf): New macro.
24612 (libc_fesetround): Likewise.
24613 (libc_fesetroundl): Likewise.
24614 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24615 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24616 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24618 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24619 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24621 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24622 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24624 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24628 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24629 integer constant usable in #if and use that to give value to enum
24631 (FE_DIVBYZERO): Likewise.
24632 (FE_UNDERFLOW): Likewise.
24633 (FE_OVERFLOW): Likewise.
24634 (FE_INVALID): Likewise.
24635 (FE_INVALID_SNAN): Likewise.
24636 (FE_INVALID_ISI): Likewise.
24637 (FE_INVALID_IDI): Likewise.
24638 (FE_INVALID_ZDZ): Likewise.
24639 (FE_INVALID_IMZ): Likewise.
24640 (FE_INVALID_COMPARE): Likewise.
24641 (FE_INVALID_SOFTWARE): Likewise.
24642 (FE_INVALID_SQRT): Likewise.
24643 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24644 (FE_TONEAREST): Likewise.
24645 (FE_TOWARDZERO): Likewise.
24646 (FE_UPWARD): Likewise.
24647 (FE_DOWNWARD): Likewise.
24648 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24649 (FE_DIVBYZERO): Likewise.
24650 (FE_OVERFLOW): Likewise.
24651 (FE_UNDERFLOW): Likewise.
24652 (FE_INEXACT): Likewise.
24653 (FE_TONEAREST): Likewise.
24654 (FE_DOWNWARD): Likewise.
24655 (FE_UPWARD): Likewise.
24656 (FE_TOWARDZERO): Likewise.
24657 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24658 (FE_UNDERFLOW): Likewise.
24659 (FE_OVERFLOW): Likewise.
24660 (FE_DIVBYZERO): Likewise.
24661 (FE_INVALID): Likewise.
24662 (FE_TONEAREST): Likewise.
24663 (FE_TOWARDZERO): Likewise.
24664 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24665 (FE_OVERFLOW): Likewise.
24666 (FE_UNDERFLOW): Likewise.
24667 (FE_DIVBYZERO): Likewise.
24668 (FE_INEXACT): Likewise.
24669 (FE_TONEAREST): Likewise.
24670 (FE_TOWARDZERO): Likewise.
24671 (FE_UPWARD): Likewise.
24672 (FE_DOWNWARD): Likewise.
24673 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24674 (FE_DIVBYZERO): Likewise.
24675 (FE_OVERFLOW): Likewise.
24676 (FE_UNDERFLOW): Likewise.
24677 (FE_INEXACT): Likewise.
24678 (FE_TONEAREST): Likewise.
24679 (FE_DOWNWARD): Likewise.
24680 (FE_UPWARD): Likewise.
24681 (FE_TOWARDZERO): Likewise.
24683 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24685 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24687 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24689 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24690 commands. Quote $PWD.
24691 (blacklist_exports): Don't use remove_newlines. Replace "declare
24693 (remove_newlines): Remove.
24695 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24697 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24698 * stdlib/stdlib.h (atof): Moved to ...
24699 * include/bits/stdlib-float.h: Here. New file.
24700 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24701 * stdlib/bits/stdlib-float.h: New file.
24702 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24704 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24707 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24709 * conform/conformtest.pl (@headers): Add fenv.h.
24710 * conform/data/fenv.h-data: New file.
24711 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24712 include of <math/fenv.h>.
24714 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24715 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24716 && !UNIX98]. Enables tests for XOPEN2K8.
24717 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24718 POSIX2008]: Likewise.
24720 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24721 (struct rusage): Do not expect type or its members.
24724 * math/math.h (FP_NAN): Define macro to integer constant usable in
24725 #if and use that to give value to enum constant.
24726 (FP_INFINITE): Likewise.
24727 (FP_ZERO): Likewise.
24728 (FP_SUBNORMAL): Likewise.
24729 (FP_NORMAL): Likewise.
24731 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24733 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24734 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24737 2012-11-02 Roland McGrath <roland@hack.frob.com>
24739 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24740 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24741 autoconf-time if not.
24742 * configure.in: Remove AC_PREREQ.
24744 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24746 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24747 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24748 of the internal implementation.
24750 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24752 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24753 except include of <misc/sys/syslog.h>.
24755 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24758 function returns with a NULL context exit with zero.
24760 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24762 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24764 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24766 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24767 (run_program_cmd): This.
24768 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24769 (tst_langinfo): New variable. Use it.
24771 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24773 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24774 floating point opcodes.
24776 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24778 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24781 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24783 * sysdeps/mach/hurd/powerpc: Remove directory.
24784 * sysdeps/mach/powerpc: Likewise.
24786 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24788 * scripts/check-local-headers.sh: Ignore c++ headers.
24790 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24792 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24793 __libc_cleanup_region_start argument.
24795 2012-11-01 Joseph Myers <joseph@codesourcery.com>
24799 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24800 x * y using scaling, not as x * y + z.
24801 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24802 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24803 * math/libm-test.inc (fma_test): Add more tests.
24804 (fma_test_towardzero): Likewise.
24805 (fma_test_downward): Likewise.
24806 (fma_test_upward): Likewise.
24808 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24810 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24812 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24814 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24817 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24819 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24821 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24828 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24831 Fix the order of the list for glibc 2.17.
24832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24835 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24839 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24842 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24843 for low part of x being zero before using __atanl (y).
24844 * math/libm-test.inc (atan2_test): Add another test.
24846 * manual/install.texi (Configuring and compiling): Document
24847 general use of test-wrapper and test-wrapper-env.
24848 * INSTALL: Regenerated.
24850 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24851 (__fma): Do not extract and scale down low bits on after-rounding
24852 systems when result rounded to normal precision would have normal
24854 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24855 (__fmal): Do not extract and scale down low bits on after-rounding
24856 systems when result rounded to normal precision would have normal
24858 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24859 (__fmal): Do not extract and scale down low bits on after-rounding
24860 systems when result rounded to normal precision would have normal
24862 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24864 (fma_test): Add more tests.
24865 (fma_test_towardzero): Likewise.
24866 (fma_test_downward): Likewise.
24867 (fma_test_upward): Likewise.
24869 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24871 * sysdeps/i386/tininess.h: Renamed to ...
24872 * sysdeps/x86/tininess.h: This.
24873 * sysdeps/x86_64/tininess.h: Removed.
24875 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24877 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24878 input. Use $(build-program-cmd).
24879 ($(objpfx)tst-array1-static.out): Likewise.
24880 ($(objpfx)tst-array2.out): Likewise.
24881 ($(objpfx)tst-array3.out): Likewise.
24882 ($(objpfx)tst-array4.out): Likewise.
24883 ($(objpfx)tst-array5.out): Likewise.
24884 ($(objpfx)tst-array5-static.out): Likewise.
24886 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24888 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24891 * nss/nsswitch.h (nss_interface_function): Provide new
24892 macro for use with NSS functions.
24893 * grp/initgroups.c: Use new macro.
24894 * nss/getXXbyYY.c: Likewise.
24895 * nss/getXXbyYY_r.c: Likewise.
24896 * nss/getXXent.c: Likewise.
24897 * nss/getXXent_r.c: Likewise.
24898 * sysdeps/posix/getaddrinfo.c: Likewise.
24900 2012-10-30 Andreas Jaeger <aj@suse.de>
24902 * po/ru.po: Update Russion translation from translation project.
24904 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24909 result and shift together with sticky bit instead of replicating
24910 round-to-nearest rounding.
24911 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24912 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24913 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24914 missing underflow exceptions.
24915 (fma_test_towardzero): Add more tests.
24916 (fma_test_downward): Likewise.
24917 (fma_test_upward): Likewise.
24920 * sysdeps/generic/tininess.h: New file.
24921 * sysdeps/i386/tininess.h: Likewise.
24922 * sysdeps/sh/tininess.h: Likewise.
24923 * sysdeps/x86_64/tininess.h: Likewise.
24924 * stdlib/tst-strtod-underflow.c: Likewise.
24925 * stdlib/tst-tininess.c: Likewise.
24926 * stdlib/strtod_l.c: Include <tininess.h>.
24927 (round_and_return): Do not set errno for exact underflow cases.
24928 Force an underflow exception when setting errno for underflow.
24929 Determine underflow based on rounding to normal precision if
24930 TININESS_AFTER_ROUNDING.
24931 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24932 ERANGE for exact underflow cases.
24933 * stdlib/Makefile (tests): Add tst-tininess and
24934 tst-strtod-underflow.
24935 ($(objpfx)tst-tininess): Use $(link-libm).
24936 ($(objpfx)tst-strtod-underflow): Likewise.
24938 2012-10-30 Andreas Jaeger <aj@suse.de>
24941 * elf/Makefile (tests): Remove conditional for have-initfini-array
24942 since this is now always required and the variable does not exist
24944 (tests-static): Likewise.
24945 (modules-names): Likewise.
24947 * po/eo.po: Add Esperanto translation from translation project.
24949 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24950 merged with constructor/destructor.
24951 (init_array): Likewise.
24952 * elf/tst-array2dep.c (fini_array): Likewise.
24953 (init_array): Likewise.
24955 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24957 * manual/message.texi: Delete @cartouche tags.
24959 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24961 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24963 * sysdeps/mach/hurd/fsync.c: Likewise.
24965 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24966 [_POSIX_REALTIME_SIGNALS]: Change condition to
24967 [_POSIX_REALTIME_SIGNALS > 0].
24969 2012-10-27 Andreas Jaeger <aj@suse.de>
24971 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24972 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24974 [__WORDSIZE != 64]: Likewise.
24976 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24978 * iconvdata/tst-table.sh: Remove ${SHELL}.
24979 * iconvdata/tst-tables.sh: Likewise.
24981 2012-10-25 David S. Miller <davem@davemloft.net>
24983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24984 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24987 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24989 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24990 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24991 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24994 2012-10-25 Roland McGrath <roland@hack.frob.com>
24996 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24997 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25000 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25001 Jim Blandy <jimb@codesourcery.com>
25003 * scripts/cross-test-ssh.sh: New file.
25004 * manual/install.texi (Configuring and compiling): Document use of
25006 * INSTALL: Regenerated.
25008 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25010 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25013 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25015 * Makeconfig (run-program-prefix): Fix comment.
25017 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25018 Jim Blandy <jimb@codesourcery.com>
25020 * Makeconfig (test-wrapper): New variable,
25021 (test-wrapper-env): Likewise.
25022 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25023 (run-built-tests): Define to yes.
25024 (run-program-prefix): Use $(test-wrapper).
25025 (built-program-cmd): Likewise.
25026 * Rules (make-test-out): Use $(test-wrapper-env) and
25027 $(host-built-program-cmd).
25028 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25029 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25031 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25032 $(test-wrapper-env) to tst-rtld-load-self.sh.
25033 ($(objpfx)order2.out): Use $(test-wrapper).
25034 ($(objpfx)tst-initorder.out): Likewise.
25035 ($(objpfx)tst-initorder2.out): Likewise.
25036 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25037 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25038 (test_wrapper_env): New variable. Use it to run ld.so.
25039 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25040 Use it to run ld.so.
25041 (test_wrapper_env): Likewise.
25042 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25043 $(test-wrapper) to run-iconv-test.sh.
25044 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25045 (ICONV): Use $test_wrapper.
25046 * posix/Makefile ($(objpfx)globtest.out): Pass
25047 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25048 globtest.sh, not $(run-program-prefix).
25049 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25050 (test_wrapper): Likewise.
25051 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25052 set together with run_via_rtld_prefix.
25053 (run_program_prefix): Define in terms of test_wrapper and
25054 run_via_rtld_prefix.
25056 2012-10-24 Roland McGrath <roland@hack.frob.com>
25058 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25059 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25063 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25064 Declare __clock_getres, __clock_gettime, __clock_settime,
25065 __clock_nanosleep, and __clock_getcpuclockid.
25066 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25067 Remove librt_hidden_def (clock_gettime).
25068 * sysdeps/unix/clock_gettime.c: Likewise.
25069 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25070 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25071 * rt/clock_getres.c: Define __clock_getres as an alias.
25072 * sysdeps/posix/clock_getres.c: Likewise.
25073 * rt/clock_settime.c: Define __clock_settime as an alias.
25074 * sysdeps/unix/clock_settime.c: Likewise.
25075 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25076 * sysdeps/unix/clock_nanosleep.c: Likewise.
25077 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25078 * rt/clock-compat.c: New file.
25079 * rt/Makefile (librt-routines): Add clock-compat and move
25080 $(clock-routines) to ...
25081 (routines): ... here, new variable.
25082 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25083 Don't add get_clockfreq here.
25084 * rt/Versions (libc: GLIBC_2.17): New version set.
25085 Add clock_* symbols here.
25086 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25087 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25088 (GLIBC_2.17): Add clock_* symbols.
25089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25091 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25100 * NEWS: Mention the move.
25102 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25103 Use __open, __read, __close rather than their public counterparts.
25104 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25105 (__get_clockfreq_via_cpuinfo): Likewise.
25106 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25107 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25109 * config.h.in (HAVE_IFUNC): New #undef.
25110 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25112 * configure: Regenerated.
25114 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25116 * configure.in: Move READELF check to start of file.
25117 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25118 libc_cv_asm_gnu_indirect_function in the process.
25119 * configure: Regenerated.
25121 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25123 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25124 send the output to /dev/null.
25125 (libc_cv_cc_with_libunwind): Likewise.
25126 (libc_cv_as_noexecstack): Likewise.
25127 * configure: Regenerate.
25129 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25131 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25133 * posix/globtest.sh (TMPDIR): Do not set.
25134 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25135 (testout): Likewise.
25137 2012-10-24 Andreas Jaeger <aj@suse.de>
25139 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25140 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25141 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25142 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25143 posix_fadvise64, posix_fallocate64.
25145 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25146 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25147 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25149 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25151 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25153 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25154 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25155 <bits/fcntl-linux.h>.
25156 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25158 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25159 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25160 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25161 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25162 [__WORDSIZE != 64]: Likewise.
25164 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25166 * Makeconfig (run-built-tests): New variable.
25167 * Rules [$(cross-compiling) = yes]: Change condition to
25168 [$(run-built-tests) = no].
25169 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25170 to [$(run-built-tests) = yes].
25171 * elf/Makefile [$(cross-compiling) = no]: Likewise
25172 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25173 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25174 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25175 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25176 * io/Makefile [$(cross-compiling) = no]: Likewise.
25177 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25178 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25179 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25180 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25181 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25182 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25183 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25184 * string/Makefile [$(cross-compiling) = no]: Likewise.
25186 * posix/Makefile ($(objpfx)globtest.out): Pass
25187 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25188 $(rtld-installed-name).
25189 * posix/globtest.sh (elf_objpfx): Remove variable.
25190 (rtld_installed_name): Likewise.
25191 (library_path): Likewise.
25192 (run_program_prefix): New variable. Use for running globtest
25195 2012-10-23 Jim Blandy <jimb@codesourcery.com>
25196 Joseph Myers <joseph@codesourcery.com>
25198 * Makeconfig (host-built-program-cmd): New variable.
25199 * elf/Makefile (tst-stackguard1-ARGS): Use
25200 $(host-built-program-cmd).
25201 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25202 (tst-spawn-ARGS): Likewise.
25203 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25205 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25206 Jim Blandy <jimb@codesourcery.com>
25208 * Makeconfig (run-via-rtld-prefix): New variable.
25209 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25210 (built-program-cmd): Likewise.
25212 2012-10-22 Andreas Jaeger <aj@suse.de>
25214 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25215 __O_RSYNC if it exists, otherwise to O_SYNC.
25217 2012-10-22 Jim Blandy <jimb@codesourcery.com>
25218 Joseph Myers <joseph@codesourcery.com>
25220 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25222 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25224 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25227 2012-10-22 Andreas Jaeger <aj@suse.de>
25229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25231 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25234 bits/fcntl-linux.h.
25236 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25237 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25239 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25244 2012-10-21 Jim Blandy <jimb@codesourcery.com>
25245 Joseph Myers <joseph@codesourcery.com>
25247 * config.make.in (NM): New variable.
25249 2012-10-21 Andreas Jaeger <aj@suse.de>
25251 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25252 definitions and declarations that are provided by
25253 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25255 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25258 * elf/Makefile (tests-static): Add tst-leaks1-static.
25259 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25260 ($(objpfx)tst-leaks1-static): New rule.
25261 ($(objpfx)tst-leaks1-static-mem): Likewise.
25262 (tst-leaks1-static-ENV): New macro.
25263 * elf/dl-open.c (dl_open_worker): Check the main application
25264 only if SHARED is defined.
25265 * elf/tst-leaks1-static.c: New file.
25267 2012-10-20 Andreas Jaeger <aj@suse.de>
25269 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25270 generic values for Linux.
25271 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25272 and declarations that are provided by <bits/fcntl-linux.h> and
25273 include <bits/fcntl-linux.h>.
25274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25275 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25277 2012-10-20 Roland McGrath <roland@hack.frob.com>
25279 * io/fcntl.h: Move include of <bits/types.h> to the top and
25280 include it unconditionally.
25282 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25284 * wcsmbs/Makefile (tests-ifunc): New variable.
25285 (tests): Add $(tests-ifunc).
25286 * wcsmbs/test-wcschr-ifunc.c: New file.
25287 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25288 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25289 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25290 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25291 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25293 * string/Makefile (tests-ifunc): New variable.
25294 (tests): Add $(tests-ifunc).
25295 * string/test-memccpy.c (TEST_NAME): New macro.
25296 * string/test-memchr.c (TEST_NAME): Likewise.
25297 * string/test-memcmp.c (TEST_NAME): Likewise.
25298 * string/test-memcpy.c (TEST_NAME): Likewise.
25299 * string/test-memmem.c (TEST_NAME): Likewise.
25300 * string/test-memmove.c (TEST_NAME): Likewise.
25301 * string/test-memset.c (TEST_NAME): Likewise.
25302 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25303 * string/test-stpcpy.c (TEST_NAME): Likewise.
25304 * string/test-stpncpy.c (TEST_NAME): Likewise.
25305 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25306 * string/test-strcasestr.c (TEST_NAME): Likewise.
25307 * string/test-strcat.c (TEST_NAME): Likewise.
25308 * string/test-strchr.c (TEST_NAME): Likewise.
25309 * string/test-strcmp.c(TEST_NAME): Likewise.
25310 * string/test-strcpy.c (TEST_NAME): Likewise.
25311 * string/test-strcspn.c (TEST_NAME): Likewise.
25312 * string/test-strlen.c (TEST_NAME): Likewise.
25313 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25314 * string/test-strncmp.c (TEST_NAME): Likewise.
25315 * string/test-strncpy.c (TEST_NAME): Likewise.
25316 * string/test-strnlen.c (TEST_NAME): Likewise.
25317 * string/test-strpbrk.c (TEST_NAME): Likewise.
25318 * string/test-strrchr.c (TEST_NAME): Likewise.
25319 * string/test-strspn.c (TEST_NAME): Likewise.
25320 * string/test-strstr.c (TEST_NAME): Likewise.
25321 * string/test-bcopy-ifunc.c: New file.
25322 * string/test-bzero-ifunc.c: Likewise.
25323 * string/test-memccpy-ifunc.c: Likewise.
25324 * string/test-memchr-ifunc.c: Likewise.
25325 * string/test-memcmp-ifunc.c: Likewise.
25326 * string/test-memcpy-ifunc.c: Likewise.
25327 * string/test-memmem-ifunc.c: Likewise.
25328 * string/test-memmove-ifunc.c: Likewise.
25329 * string/test-mempcpy-ifunc.c: Likewise.
25330 * string/test-memset-ifunc.c: Likewise.
25331 * string/test-rawmemchr-ifunc.c: Likewise.
25332 * string/test-stpcpy-ifunc.c: Likewise.
25333 * string/test-stpncpy-ifunc.c: Likewise.
25334 * string/test-strcasecmp-ifunc.c: Likewise.
25335 * string/test-strcasestr-ifunc.c: Likewise.
25336 * string/test-strcat-ifunc.c: Likewise.
25337 * string/test-strchr-ifunc.c: Likewise.
25338 * string/test-strchrnul-ifunc.c: Likewise.
25339 * string/test-strcmp-ifunc.c: Likewise.
25340 * string/test-strcpy-ifunc.c: Likewise.
25341 * string/test-strcspn-ifunc.c: Likewise.
25342 * string/test-strlen-ifunc.c: Likewise.
25343 * string/test-strncasecmp-ifunc.c: Likewise.
25344 * string/test-strncat-ifunc.c: Likewise.
25345 * string/test-strncmp-ifunc.c: Likewise.
25346 * string/test-strncpy-ifunc.c: Likewise.
25347 * string/test-strnlen-ifunc.c: Likewise.
25348 * string/test-strpbrk-ifunc.c: Likewise.
25349 * string/test-strrchr-ifunc.c: Likewise.
25350 * string/test-strspn-ifunc.c: Likewise.
25351 * string/test-strstr-ifunc.c: Likewise.
25353 * debug/Makefile (tests-ifunc): New variable.
25354 (tests): Add $(tests-ifunc).
25355 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25356 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25357 * debug/test-stpcpy_chk-ifunc.c: New file.
25358 * debug/test-strcpy_chk-ifunc.c: Likewise.
25360 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25363 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25364 header is not read in.
25366 2012-10-19 Joseph Myers <joseph@codesourcery.com>
25368 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25369 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25370 directly. Pass built executable to script as
25371 $(built-program-cmd).
25372 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25373 $testprogram without using LD_LIBRARY_PATH and $ldso.
25375 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25376 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25377 $(rtld-installed-name).
25378 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25379 (rtld_installed_name): Likewise.
25380 (library_path): Likewise.
25381 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25382 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25383 $(run-program-prefix) to tst-tables.sh.
25384 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25385 it to run tst-table-from and tst-table-to.
25386 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25387 Pass it to tst-table.sh.
25388 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25389 $(run-program-prefix) to tst-gettext.sh.
25390 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25392 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25394 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25395 to run tst-gettext.
25396 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25397 to run tst-gettext2.
25398 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25399 to run tst-translit.
25400 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25401 $(run-program-prefix) to tst-mtrace.sh.
25402 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25404 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25405 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25406 $(rtld-installed-name).
25407 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25408 (rtld_installed_name): Likewise.
25409 (run_program_prefix): New variable. Use it to run wordexp-test.
25411 * Makeconfig (ARCH): Remove all definitions.
25412 (machine): Likewise.
25413 [ARCH]: Remove conditional code.
25414 [!objdir]: Give error.
25415 [!objdir] (objpfx): Remove.
25416 [!objdir] (common-objpfx): Likewise.
25417 [!objdir] (common-objdir): Likewise.
25418 * configure.in (config_makefile): Remove. Hardcode Makefile in
25419 AC_CONFIG_FILES call.
25420 * configure: Regenerated.
25423 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25425 (testout): Likewise.
25427 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25428 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25429 $(rtld-installed-name).
25430 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25431 (rtld_installed_name): Likwise.
25432 (runit): Remove function.
25433 (run_getconf): New variable, Use it for running getconf binary.
25435 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25438 * string/test-memmem.c (check_result): New function.
25439 (do_one_test): Use it.
25440 (check1): New function.
25441 (test_main): Use it.
25443 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25445 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25447 2012-10-18 Joseph Myers <joseph@codesourcery.com>
25449 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25450 (_G_LSEEK64): Likewise.
25451 (_G_MMAP64): Likewise.
25452 (_G_FSTAT64): Likewise.
25453 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25454 (_G_LSEEK64): Likewise.
25455 (_G_MMAP64): Likewise.
25456 (_G_FSTAT64): Likewise.
25457 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25458 unconditional. Call __mmap64 directly.
25459 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25460 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25461 __lseek64 directly.
25462 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25463 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25465 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25466 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25467 __lseek64 directly.
25468 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25469 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25470 __lseek64 directly.
25471 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25472 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25473 __lseek64 directly.
25474 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25475 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25476 __fxstat64 directly.
25477 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25478 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25480 (freopen64) [!_G_OPEN64]: Remove conditional code.
25481 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25483 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25484 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25486 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25487 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25489 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25490 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25492 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25493 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25495 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25496 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25498 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25499 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25501 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25503 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25506 * manual/memory.texi (Malloc Tunable Parameters): Add note
25507 about free list pointers overwriting some perturb bytes.
25508 Wording suggested by Roland McGrath.
25510 2012-10-17 Joseph Myers <joseph@codesourcery.com>
25512 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25513 (lgamma_test): Likewise.
25514 (tgamma_test): Likewise.
25516 2012-10-16 Florian Weimer <fweimer@redhat.com>
25519 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25520 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25522 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25524 * NEWS: Mention BZ #14716.
25525 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25526 when removing AVAILABLE1_USES_J macro.
25528 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25530 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25531 (__bswap_64): __uint64_t for unsigned 64-bit int.
25533 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25535 * include/string.h (memmem): Declare libc hidden alias.
25536 * string/memmem.c (memmem): Define libc hidden alias.
25537 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25538 __read, __close instead of open, read, close.
25540 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25543 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25545 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25546 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25547 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25549 (__rawmemchr_sse2): Likewise.
25550 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25551 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25552 (__strchr_sse2): Likewise.
25553 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25554 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25555 (__strcasecmp_sse2): Likewise.
25556 (__strncasecmp_sse2): Likewise.
25557 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25558 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25559 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25560 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25561 (__strrchr_sse2): Likewise.
25562 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25564 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25565 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25566 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25567 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25568 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25569 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25570 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25571 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25572 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25573 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25574 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25575 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25576 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25577 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25578 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25579 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25580 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25581 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25582 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25583 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25584 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25585 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25586 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25587 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25588 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25589 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25590 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25591 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25592 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25593 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25595 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25597 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25598 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25599 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25600 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25602 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25604 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25605 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25606 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25607 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25609 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25610 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25611 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25612 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25613 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25614 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25615 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25616 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25617 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25618 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25619 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25620 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25621 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25622 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25623 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25624 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25625 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25626 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25627 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25628 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25629 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25630 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25631 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25632 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25633 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25634 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25635 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25636 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25637 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25638 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25639 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25640 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25641 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25642 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25643 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25644 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25645 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25646 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25647 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25648 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25649 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25651 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25652 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25653 * include/ifunc-impl-list.h: New file.
25654 * misc/ifunc-impl-list.c: Likewise.
25655 * misc/Makefile (routines): Add ifunc-impl-list.
25656 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25657 * string/test-string.h: Include <ifunc-impl-list.h>.
25658 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25659 TEST_NAME]: New variables.
25660 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25662 (test_init): Call __libc_ifunc_impl_list to initialize
25663 func_list if TEST_IFUNC and TEST_NAME are defined.
25665 * string/Makefile (strop-tests): Add bcopy and bzero.
25666 * string/test-bcopy.c: New file.
25667 * string/test-bzero.c: Likewise.
25668 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25670 * string/test-memset.c: Support bzero test if TEST_BZERO is
25672 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25674 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25676 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25679 2012-10-10 Joseph Myers <joseph@codesourcery.com>
25681 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25682 * configure: Regenerated.
25684 * Makeconfig (+link-static-before-libc): Don't include
25685 $(link-static-libc).
25687 * libio/libio.h (_IO_pos_t): Remove.
25689 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25691 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25694 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25696 * crypt/crypt-entry.c: Include fips-private.h.
25697 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25698 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25699 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25700 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25702 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25704 * crypt/crypt-private.h: Include stdbool.h.
25705 (_ufc_setup_salt_r): Return bool.
25706 * crypt/crypt-entry.c: Include errno.h.
25707 (__crypt_r): Return NULL with EINVAL for bad salt.
25708 * crypt/crypt_util.c (bad_for_salt): New.
25709 (_ufc_setup_salt_r): Check that salt is long enough and within
25710 the specified alphabet.
25711 * crypt/badsalttest.c: New file.
25712 * crypt/Makefile (tests): Add it.
25713 ($(objpfx)badsalttest): New.
25715 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25717 * NEWS: Add entry for BZ #14602.
25719 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25721 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25723 * math/libm-test.inc: Update comment listing what functions and
25725 (isgreater_test): New function.
25726 (isgreaterequal_test): Likewise.
25727 (isless_test): Likewise.
25728 (islessequal_test): Likewise.
25729 (islessgreater_test): Likewise.
25730 (isunordered_test): Likewise.
25731 (main): Call the new functions.
25733 2012-10-09 Roland McGrath <roland@hack.frob.com>
25735 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25736 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25737 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25738 * sysdeps/i386/configure: Regenerated.
25739 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25740 * sysdeps/mach/configure: Regenerated.
25741 * sysdeps/mach/hurd/configure: Regenerated.
25742 * sysdeps/powerpc/configure: Regenerated.
25743 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25744 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25745 * sysdeps/s390/s390-32/configure: Regenerated.
25746 * sysdeps/s390/s390-64/configure: Regenerated.
25747 * sysdeps/sh/configure: Regenerated.
25748 * sysdeps/sparc/configure: Regenerated.
25749 * sysdeps/unix/sysv/linux/configure: Regenerated.
25750 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25751 * sysdeps/x86_64/configure: Regenerated.
25753 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25754 defined. Don't check if MAP is NULL.
25756 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25758 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25759 (_G_stat64): Likewise.
25760 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25761 (_G_stat64): Likewise.
25762 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25763 instead of struct _G_stat64.
25764 * libio/fileops.c (mmap_remap_check): Likewise.
25765 (decide_maybe_mmap): Likewise.
25766 (_IO_new_file_seekoff): Likewise.
25767 (_IO_file_stat): Likewise.
25768 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25770 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25771 instead of struct _G_stat64.
25772 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25774 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25777 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25779 (CHECK_EOL): New macro.
25780 (two_way_short_needle): Check beginning of haystack for EOL. Use
25782 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25783 Replace with CHECK_EOL.
25784 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25785 Replace with CHECK_EOL.
25787 2012-10-08 Joseph Myers <joseph@codesourcery.com>
25789 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25791 * math/libm-test.inc: Update comment listing what functions and
25793 (finite_test): New function.
25794 (isinf_test): Likewise.
25795 (isnan_test): Likewise.
25796 (fpclassify_test): Test subnormal input.
25797 (isfinite_test): Likewise.
25798 (isnormal_test): Likewise.
25799 (main): Call the new functions.
25801 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25804 * Makerules (%.dynsym): Force C locale when running
25805 $(OBJDUMP) --dynamic-syms.
25807 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25809 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25812 2012-10-06 David S. Miller <davem@davemloft.net>
25814 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25815 upper 32-bits of the length value in %o2 since we use branch-on-register
25816 tests which consider the entire 64-bit register.
25818 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25820 * string/test-strstr.c (check2): Add a test for page boundary.
25822 2012-10-05 David S. Miller <davem@davemloft.net>
25824 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25825 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25827 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25829 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25830 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25831 and bzero when HWCAP_SPARC_CRYPTO is present.
25833 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25836 * string/test-strstr.c (check2): New function.
25837 (test_main): Call check2.
25839 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25841 * string/bug-strcasestr1.c (do_test): Moved to ...
25842 * string/test-strcasestr.c (check1): Here. New function.
25843 (do_one_test): Break out result checking code into ...
25844 (check_result): This. New function.
25845 (do_one_test): Call check_result.
25846 (test_main): Call check1.
25847 * string/bug-strchr1.c (do_test): Moved to ...
25848 * string/test-strchr.c (check1): Here. New function.
25849 (do_one_test): Break out result checking code into ...
25850 (check_result): This. New function.
25851 (do_one_test): Call check_result.
25852 (test_main): Call check1.
25853 * string/bug-strstr1.c (main): Moved to ...
25854 * string/test-strstr.c (check1): Here. New function.
25855 (do_one_test): Break out result checking code into ...
25856 (check_result): This. New function.
25857 (do_one_test): Call check_result.
25858 (test_main): Call check1.
25859 * string/bug-strcasestr1.c: Removed.
25860 * string/bug-strchr1.c: Likewise.
25861 * string/bug-strstr1.c: Likewise.
25863 * elf/Makefile (dl-routines): Add hwcaps.
25864 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25865 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25866 (_dl_important_hwcaps): Moved to ...
25867 * elf/dl-hwcaps.c: Here. New file.
25868 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25871 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25872 if IS_IN_rtld isn't defined.
25874 * elf/dl-support.c (_dl_sysinfo_map): New.
25875 Include "get-dynamic-info.h" and "setup-vdso.h".
25876 (_dl_non_dynamic_init): Call setup_vdso.
25877 * elf/dynamic-link.h: Don't include <assert.h>.
25878 (elf_get_dynamic_info): Moved to ...
25879 * elf/get-dynamic-info.h: Here. New file.
25880 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25881 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25882 * elf/setup-vdso.h: Here. New file.
25883 * elf/rtld.c: Include "setup-vdso.h".
25884 (dl_main): Call setup_vdso.
25886 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25888 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25889 creal in comment listing functions tested. List finite, isinf,
25890 isnan, isless, islessequal, isgreater, isgreaterequal,
25891 islessgreater, isunordered, lgamma_r and pow10 as functions and
25892 macros not tested. Mention which functions not tested are aliases
25893 for other functions. Fix typo. Note that signs of NaNs are not
25896 * scripts/config.guess: Update from config.git.
25897 * scripts/config.sub: Likewise.
25899 2012-10-04 Roland McGrath <roland@hack.frob.com>
25901 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25902 * misc/madvise.c (madvise): Renamed to __madvise.
25903 Make madvise a weak alias.
25904 * include/sys/mman.h: Declare __madvise.
25905 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25906 * sysdeps/unix/syscalls.list
25907 (madvise): Make __madvise the strong name, and madvise a weak alias.
25908 * sysdeps/unix/sysv/linux/syscalls.list
25909 (madvise, mmap): Remove redundant entries.
25910 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25911 * malloc/malloc.c (mtrim): Likewise.
25912 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25914 2012-10-03 Roland McGrath <roland@hack.frob.com>
25916 * sysdeps/mach/hurd/dl-cache.c: File removed.
25917 * config.h.in (USE_LDCONFIG): New #undef.
25918 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25919 * configure: Regenerated.
25920 * elf/Makefile (dl-routines): Add dl-cache only under
25921 [$(use-ldconfig) = yes].
25922 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25923 cache on [USE_LDCONFIG].
25924 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25926 * elf/rtld.c (dl_main): Likewise.
25928 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25930 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25931 _SC_LEVEL4_CACHE_LINESIZE.
25933 2012-10-03 Roland McGrath <roland@hack.frob.com>
25935 * sysdeps/unix/bsd/confstr.h: File removed.
25937 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25939 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25942 2012-10-02 Roland McGrath <roland@hack.frob.com>
25944 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25945 Make 'mapoff' field ElfW(Off) rather than off_t.
25947 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25949 * nscd/Makefile: Remove nscd-cflags and all its users.
25950 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25951 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25954 * malloc.c (malloc_printerr): Clarify error message.
25956 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25960 Set bit_FMA_Usable if FMA is supported.
25961 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25963 (bit_FMA4_Usable): Updated.
25964 (index_FMA_Usable): New macro.
25965 (CPUID_FMA): Likewise
25966 (HAS_FMA): Defined with bit_FMA_Usable.
25968 2012-10-01 Roland McGrath <roland@hack.frob.com>
25970 * bits/types.h (__swblk_t): Type removed.
25971 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25972 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25974 (__SWBLK_T_TYPE): Likewise.
25975 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25976 (__SWBLK_T_TYPE): Likewise.
25977 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25978 (__SWBLK_T_TYPE): Likewise.
25979 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25980 (__SWBLK_T_TYPE): Likewise.
25982 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25983 Honza Horak <hhorak@redhat.com>
25985 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25986 (xdr_mapname): Use YPMAXMAP as maxsize.
25987 (xdr_peername): Use YPMAXPEER as maxsize.
25988 (xdr_keydat): Use YPAXRECORD as maxsize.
25989 (xdr_valdat): Use YPMAXRECORD as maxsize.
25991 2012-10-01 Roland McGrath <roland@hack.frob.com>
25993 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25995 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25996 * csu/init-first.c: ... here.
25997 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25998 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25999 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26000 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26001 * sysdeps/i386/init-first.c: File removed.
26002 * sysdeps/sh/init-first.c: File removed.
26004 2012-10-01 Joseph Myers <joseph@codesourcery.com>
26007 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26008 if x * y might underflow to zero and z is zero.
26009 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26010 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26011 * math/libm-test.inc (min_subnorm_value): New variable.
26012 (fma_test): Add more tests.
26013 (fma_test_towardzero): Likewise.
26014 (fma_test_downward): Likewise
26015 (fma_test_upward): Likewise.
26016 (initialize): Set min_subnorm_value.
26018 2012-09-29 Joseph Myers <joseph@codesourcery.com>
26021 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26023 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26024 mode for addition resulting in exact zero.
26025 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26028 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26029 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26030 * math/libm-test.inc (fma_test): Add more tests.
26031 (fma_test_towardzero): New function.
26032 (fma_test_downward): Likewise.
26033 (fma_test_upward): Likewise.
26034 (main): Call the new functions.
26036 2012-09-28 David S. Miller <davem@davemloft.net>
26038 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26040 2012-09-28 Roland McGrath <roland@hack.frob.com>
26042 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26043 instead of SIGALRM.
26045 * sysdeps/gnu/_G_config.h: Moved to ...
26046 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26047 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26048 * sysdeps/generic/_G_config.h: ... here.
26050 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26052 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26054 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26055 Conditionalize target on [libnss_test1.so-version].
26057 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26059 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26060 (elfobjdir): Move out of conditionals.
26062 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26063 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26064 (__nss_lookup_function): Conditionalize label remove_from_tree on
26065 [!DO_STATIC_NSS || SHARED], matching its only use.
26067 2012-09-28 David S. Miller <davem@davemloft.net>
26069 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26070 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26072 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26074 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26075 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26076 when HWCAP_SPARC_CRYPTO is present.
26078 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26080 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26082 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26085 * stdio-common/vfprintf.c (process_string_arg): Revert
26088 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26090 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26092 * stdio-common/tst-sprintf.c: Include <locale.h>
26093 (main): Test sprintf's handling of incomplete multibyte
26096 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26098 * elf/dl-runtime.c (VERSYMIDX): Removed.
26099 * elf/dl-version.c (VERSYMIDX): Likewise.
26100 * elf/do-rel.h (VERSYMIDX): Likewise.
26101 (VALIDX): Likewise.
26102 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26103 * elf/rtld.c (VALIDX): Likewise.
26104 (ADDRIDX): Likewise.
26105 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26106 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26107 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26108 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26109 (VALIDX): Likewise.
26110 (ADDRIDX): Likewise.
26112 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26114 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26116 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26119 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26121 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26122 addresses are in the same scope as 192.0.2/24.
26123 * posix/gai.conf: Document new scope table defaults.
26125 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26128 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26129 for ftell. Compute offsets from write pointers instead.
26130 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26132 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26135 * libio/Makefile (tests): New test case tst-fseek.
26136 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26137 combination works in wide mode.
26138 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26139 state when the external buffer state changes.
26141 2012-09-27 David S. Miller <davem@davemloft.net>
26144 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26145 pass reloc->r_addend in as the 'high' argument to
26146 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26150 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26152 * rt/tst-aio2.c: Include <pthread.h>.
26153 * rt/tst-aio3.c: Likewise.
26155 2012-09-27 Steve Ellcey <sellcey@mips.com>
26157 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26159 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26161 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26162 contents on [SHARED].
26164 2012-09-26 Marek Polacek <polacek@redhat.com>
26168 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26169 for C++ and GCC <4.3 as well as for non GCC compilers.
26171 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26175 2012-09-25 Roland McGrath <roland@hack.frob.com>
26177 * Makefile.in (all, install): Declare with .PHONY.
26178 Reported by Michael Hope <michael.hope@linaro.org>.
26180 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26182 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26183 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26185 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26187 (sydep_routines): Add the new and the internal functions.
26188 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26189 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26191 (GLIBC_2.17): Add the new function.
26192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26193 (GLIBC_2.17): Likewise.
26194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26195 (GLIBC_2.17): Likewise.
26196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26197 (GLIBC_2.17): Likewise.
26198 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26200 2012-09-25 Alan Modra <amodra@gmail.com>
26202 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26203 Add release barrier before setting once_control to say
26204 initialisation is done. Add hints on lwarx. Use macro in
26206 (clear_once_control): Add release barrier.
26208 2012-09-25 Joseph Myers <joseph@codesourcery.com>
26211 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26213 * math/s_clog10.c (__clog10): Likewise.
26214 * math/s_clog10f.c (__clog10f): Likewise.
26215 * math/s_clog10l.c (__clog10l): Likewise.
26216 * math/s_clogf.c (__clogf): Likewise.
26217 * math/s_clogl.c (__clogl): Likewise.
26218 * math/Makefile (libm-calls): Add x2y2m1.
26219 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26220 (__x2y2m1): Likewise.
26221 (__x2y2m1l): Likewise.
26222 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26223 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26224 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26225 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26226 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26227 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26228 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26229 * sysdeps/i386/fpu/libm-test-ulps: Update.
26230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26233 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26234 int as type of variable DEPTH.
26235 (glob): Use size_t instead of int as type of variables NEWCOUNT
26238 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26240 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26241 Add s_sincosf-sse2.
26242 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26243 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26244 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26245 macros for using routine as __sincosf_ia32.
26246 Use macro for function declaration and weak_alias.
26247 * sysdeps/i386/fpu/libm-test-ulps: Update.
26249 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26252 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26253 subnormal argument.
26254 * math/s_cexpf.c (__cexpf): Likewise.
26255 * math/s_csinf.c (__csinf): Likewise.
26256 * math/s_csinhf.c (__csinhf): Likewise.
26257 * math/s_ctanf.c (__ctanf): Likewise.
26258 * math/s_ctanhf.c (__ctanhf): Likewise.
26259 * math/s_ccosh.c (__ccoshf): Likewise.
26260 * math/s_cexp.c (__cexpl): Likewise.
26261 * math/s_csin.c (__csin): Likewise.
26262 * math/s_csinh.c (__csinh): Likewise.
26263 * math/s_ctan.c (__ctan): Likewise.
26264 * math/s_ctanh.c (ctanh): Likewise.
26265 * math/s_ccoshl.c (__ccoshl): Likewise.
26266 * math/s_cexpl.c (__cexpl): Likewise.
26267 * math/s_csinl.c (__csinl): Likewise.
26268 * math/s_csinhl.c (__csinhl): Likewise.
26269 * math/s_ctanl.c (__ctanl): Likewise.
26270 * math/s_ctanhl.c (__ctanhl): Likewise.
26272 2012-09-25 Joseph Myers <joseph@codesourcery.com>
26274 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26275 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26276 (_IO_off_t): Define to __off_t, not _G_off_t.
26277 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26278 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26279 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26280 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26281 type of __dummy and __dummy2 fields.
26282 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26283 (_G_ssize_t): Likewise.
26284 (_G_off_t): Likewise.
26285 (_G_pid_t): Likewise.
26286 (_G_uid_t): Likewise.
26287 (_G_wchar_t): Likewise.
26288 (_G_wint_t): Likewise.
26289 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26290 (_G_ssize_t): Likewise.
26291 (_G_off_t): Likewise.
26292 (_G_pid_t): Likewise.
26293 (_G_uid_t): Likewise.
26294 (_G_wchar_t): Likewise.
26295 (_G_wint_t): Likewise.
26296 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26297 (_G_ssize_t): Likewise.
26298 (_G_off_t): Likewise.
26299 (_G_pid_t): Likewise.
26300 (_G_uid_t): Likewise.
26301 (_G_wchar_t): Likewise.
26302 (_G_wint_t): Likewise.
26304 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26306 * malloc/arena.c: Include malloc-sysdep.h.
26307 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26308 is sufficient to shrink the heap or an unmap is needed.
26309 * sysdeps/generic/malloc-sysdep.h: New file. Define
26310 new function check_may_shrink_heap.
26311 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26312 new function check_may_shrink_heap.
26314 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26316 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26319 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26321 * catgets/test-gencat.sh: Add "set -e".
26322 * elf/tst-pathopt.sh: Likewise.
26323 * grp/tst_fgetgrent.sh: Likewise.
26324 * iconvdata/run-iconv-test.sh: Likewise.
26325 * intl/tst-gettext.sh: Likewise.
26326 * intl/tst-gettext2.sh: Likewise.
26327 * intl/tst-gettext4.sh: Likewise.
26328 * intl/tst-gettext6.sh: Likewise.
26329 * intl/tst-translit.sh: Likewise.
26330 * io/ftwtest-sh: Likewise.
26331 * libio/test-freopen.sh: Likewise.
26332 * malloc/tst-mtrace.sh: Likewise.
26333 * posix/globtest.sh: Likewise.
26334 * posix/tst-getconf.sh: Likewise.
26335 * posix/wordexp-tst.sh: Likewise.
26336 * stdio-common/tst-printf.sh: Likewise.
26337 * stdio-common/tst-unbputc.sh: Likewise.
26338 * stdlib/tst-fmtmsg.sh: Likewise.
26339 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26340 * catgets/Makefile: Do not specify -e option when running
26341 testsuite shell scripts.
26342 * elf/Makefile: Likewise.
26343 * grp/Makefile: Likewise.
26344 * iconvdata/Makefile: Likewise.
26345 * intl/Makefile: Likewise.
26346 * io/Makefile: Likewise.
26347 * libio/Makefile: Likewise.
26348 * malloc/Makefile: Likewise.
26349 * posix/Makefile: Likewise.
26350 * stdio-common/Makefile: Likewise.
26351 * stdlib/Makefile: Likewise.
26352 * sysdeps/x86_64/Makefile: Likewise.
26354 * io/ftwtest-sh: Add copyright header.
26355 * posix/globtest.sh: Likewise.
26356 * posix/tst-getconf.sh: Likewise.
26357 * posix/wordexp-tst.sh: Likewise.
26358 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26360 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26363 * Makeconfig (+link): Defined as $(+link-static) if
26364 $(build-shared) isn't yes.
26365 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26367 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26369 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26372 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26373 new chunk size with MALLOC_ALIGN_MASK.
26375 2012-09-24 Joseph Myers <joseph@codesourcery.com>
26378 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26380 (__printf_fphex): Determine rounding using get_rounding_mode and
26382 * stdio-common/tst-printf-round.c (struct hex_test): New
26384 (hex_tests): New variable.
26385 (test_hex_in_one_mode): New function.
26386 (do_test): Also run tests for hex float output.
26388 2012-09-21 Joseph Myers <joseph@codesourcery.com>
26390 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26391 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26392 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26393 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26394 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26395 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26396 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26397 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26399 2012-09-20 Joseph Myers <joseph@codesourcery.com>
26401 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26402 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26403 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26404 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26406 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26409 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26411 * elf/tst-rtld-load-self.sh: New test.
26412 * elf/Makefile: Run it.
26414 2012-09-18 Joseph Myers <joseph@codesourcery.com>
26416 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26417 (tst-writev-ENV): Remove.
26418 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26420 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26422 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26424 2012-09-17 Joseph Myers <joseph@codesourcery.com>
26426 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26428 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26430 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26431 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26432 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26435 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26438 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26439 * config.make.in (have-cpp-asm-debuginfo): Removed.
26440 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26441 * configure: Regenerated.
26443 2012-09-14 Joseph Myers <joseph@codesourcery.com>
26446 * stdio-common/printf_fp.c: Include <stdbool.h> and
26448 (___printf_fp): Determine rounding using get_rounding_mode and
26450 * stdio-common/tst-printf-round.c: New file.
26451 * stdio-common/Makefile (tests): Add tst-printf-round.
26452 (link-libm): New variable.
26453 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26455 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26458 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26459 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26461 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26464 2012-09-13 Joseph Myers <joseph@codesourcery.com>
26466 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26467 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26468 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26469 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26471 2012-09-12 Joseph Myers <joseph@codesourcery.com>
26474 * include/rounding-mode.h: New file.
26475 * sysdeps/generic/get-rounding-mode.h: Likewise.
26476 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26477 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26478 (MAX_VALUE): New macro.
26479 (MIN_VALUE): Likewise.
26480 (overflow_value): New function.
26481 (underflow_value): Likewise.
26482 (round_and_return): Use overflow_value and underflow_value to
26483 determine return values in overflow and underflow cases. Use
26484 round_away to determine rounding depending on rounding mode.
26485 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26486 determine return values in overflow and underflow cases.
26487 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26488 (struct test_results): New structure.
26489 (struct test): Use struct test_results to store expected results
26490 for all rounding modes.
26491 (TEST): Include expected results for all rounding modes.
26492 (test_in_one_mode): New function.
26493 (do_test): Use test_in_one_mode to compute and check results.
26494 Check results for all rounding modes.
26495 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26498 2012-12-09 Allan McRae <allan@archlinux.org>
26500 * sysdeps/i386/fpu/libm-test-ulps: Update
26502 2012-09-11 Joseph Myers <joseph@codesourcery.com>
26504 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26505 (_G_int32_t): Likewise.
26506 (_G_uint16_t): Likewise.
26507 (_G_uint32_t): Likewise.
26508 (_G_HAVE_BOOL): Likewise.
26509 (_G_HAVE_ATEXIT): Likewise.
26510 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26511 (_G_HAVE_IO_FILE_OPEN): Likewise.
26512 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26513 (_G_int32_t): Likewise.
26514 (_G_uint16_t): Likewise.
26515 (_G_uint32_t): Likewise.
26516 (_G_HAVE_BOOL): Likewise.
26517 (_G_HAVE_ATEXIT): Likewise.
26518 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26519 (_G_HAVE_IO_FILE_OPEN): Likewise.
26520 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26521 (_G_int32_t): Likewise.
26522 (_G_uint16_t): Likewise.
26523 (_G_uint32_t): Likewise.
26524 (_G_HAVE_BOOL): Likewise.
26525 (_G_HAVE_ATEXIT): Likewise.
26526 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26527 (_G_HAVE_IO_FILE_OPEN): Likewise.
26529 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26531 * csu/libc-tls.c: Update copyright years.
26533 2012-09-10 Joseph Myers <joseph@codesourcery.com>
26535 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26536 [!_G_USING_THUNKS]: Remove conditional code.
26537 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26538 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26540 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26541 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26542 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26543 (_G_VTABLE_LABEL_PREFIX): Likewise.
26544 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26545 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26546 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26547 (_G_VTABLE_LABEL_PREFIX): Likewise.
26548 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26549 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26550 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26551 (_G_VTABLE_LABEL_PREFIX): Likewise.
26552 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26554 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26556 * libio/Makefile: Include ../Makeconfig before tests.
26557 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26558 only if $(build-shared) is yes.
26560 * iconv/gconv_db.c: Update copyright years.
26562 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26564 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26565 unwind info if defined PIC. Fix special cases description.
26566 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26568 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26570 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26572 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26574 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26576 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26579 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26580 (LDLIBS-tst-chk4): This.
26581 (LDFLAGS-tst-chk5): Renamed to ...
26582 (LDLIBS-tst-chk5): This.
26583 (LDFLAGS-tst-chk6): Renamed to ...
26584 (LDLIBS-tst-chk6): This.
26585 (LDFLAGS-tst-lfschk4): Renamed to ...
26586 (LDLIBS-tst-lfschk4): This.
26587 (LDFLAGS-tst-lfschk5): Renamed to ...
26588 (LDLIBS-tst-lfschk5): This.
26589 (LDFLAGS-tst-lfschk6): Renamed to ...
26590 (LDLIBS-tst-lfschk6): This.
26592 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26593 on $(common-objpfx)soversions.mk.
26595 2012-09-07 Joseph Myers <joseph@codesourcery.com>
26598 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26601 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26603 * malloc/arena.c (arena_get_retry): New function that gets
26604 another arena for the caller to try its request on.
26605 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26606 current arena cannot fulfill the request.
26607 (__libc_memalign): Likewise.
26608 (__libc_memalign): Likewise.
26609 (__libc_pvalloc): Likewise.
26610 (__libc_calloc): Likewise.
26612 2012-09-05 John Tobey <john.tobey@gmail.com>
26615 * manual/arith.texi (Operations on Complex): Fix description
26616 of carg branch cut.
26618 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26621 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26625 * manual/memory.texi (Memory): Make order of menu items match
26628 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26630 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26631 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26632 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26634 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26636 * csu/libc-tls.c (static_dtv): Renamed to ...
26637 (_dl_static_dtv): This. Make it global.
26638 (_dl_initial_dtv): Removed.
26639 (__libc_setup_tls): Updated.
26640 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26641 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26644 2012-09-06 Petr Machata <pmachata@redhat.com>
26646 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26647 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26648 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26649 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26651 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26654 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26655 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26658 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26661 * Makeconfig (link-static-before-libc): Replace $(+prector)
26663 (link-static-after-libc): Replace $(+postctor) with
26665 (link-bounded): Replace $(+prector)/$(+postctor) with
26666 $(+prectorT)/$(+postctorT).
26667 (+prectorT): New macro.
26668 (+postctorT): Likewise.
26670 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26672 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26673 (round_str): Handle values above the maximum for IBM long double
26675 * stdlib/tst-strtod-round.c (tests): Regenerated.
26677 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26679 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26681 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26682 zarch_nohighgprs around the zarch optimized routines.
26683 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26684 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26685 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26688 2012-09-05 David S. Miller <davem@davemloft.net>
26690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26692 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26693 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26694 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26695 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26698 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26700 * malloc/arena.c: Fold copyright years.
26701 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26703 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26705 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26707 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26709 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26711 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26713 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26714 change internal state upon failure.
26716 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26718 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26719 * malloc/memusage.c (mmap): Likewise.
26720 (mmap64, mremap): Likewise. Adjust name in comment.
26722 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26724 * libio/fileops.c: Fix typos in comments.
26725 * libio/oldfileops.c: Likewise.
26726 * libio/wfileops.c: Likewise.
26728 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26731 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26732 (tst-malloc-usable-ENV): Set environment for test case.
26733 * malloc/hooks.c (malloc_check_get_size): New function to get
26735 * malloc/malloc.c (musable): Use malloc_check_get_size.
26736 * malloc/tst-malloc-usable.c: New test case.
26738 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26740 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26742 2012-09-05 Allan McRae <allan@archlinux.org>
26745 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26746 determine header location.
26747 * configure: Regenerated.
26749 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26751 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26753 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26754 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26756 (test): Regenerate.
26758 2012-09-04 David S. Miller <davem@davemloft.net>
26760 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26761 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26762 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26764 2012-09-04 Florian Weimer <fweimer@redhat.com>
26766 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26769 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26771 2012-09-04 Joseph Myers <joseph@codesourcery.com>
26774 * libio/iogetdelim.c: Include <limits.h>.
26775 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26776 + len + 1 would overflow.
26778 2012-09-03 Andreas Jaeger <aj@suse.de>
26780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26781 * sysdeps/i386/fpu/libm-test-ulps: Update.
26783 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26785 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26786 Add s_sinf-sse2, s_conf-sse2.
26788 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26789 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26790 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26791 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26793 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26794 for using routine as __sinf_ia32.
26795 Use macro for function declaration and weak_alias.
26796 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26797 for using routine as __cosf_ia32.
26798 Use macro for function declaration and weak_alias.
26800 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26801 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26803 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26804 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26807 * math/libm-test.inc (cos_test): Add more test cases.
26808 (sin_test): Likewise.
26809 (sincos_test): Likewise.
26811 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26813 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26814 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26816 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26818 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26821 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26822 first element of the GOT.
26823 (elf_machine_load_address): Return the difference between
26824 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26826 2012-09-01 Allan McRae <allan@archlinux.org>
26829 * configure.in (AWK): Require gawk version 3.0 or later.
26830 * configure: Regenerated.
26832 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26834 * sysdeps/unix/sysv/linux/kernel-features.h
26835 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26836 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26837 [__NR_clock_getres]: Make code unconditional.
26838 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26839 (clock_getcpuclockid): Remove code left unreachable by removal of
26841 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26842 code unconditional.
26843 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26844 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26845 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26846 Make code unconditional.
26847 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26848 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26849 * sysdeps/unix/sysv/linux/clock_settime.c
26850 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26852 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26853 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26855 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26858 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26859 scripts/test-installation.pl.
26861 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26862 and $ld_so_version if it is set.
26864 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26867 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26868 failure if reading from procfs failed.
26869 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26871 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26873 * sysdeps/unix/sysv/linux/kernel-features.h
26874 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26875 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26876 Remove conditional code.
26877 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26878 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26879 Remove conditional code.
26880 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26881 * sysdeps/unix/sysv/linux/i386/fxstat.c
26882 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26883 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26884 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26885 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26886 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26887 * sysdeps/unix/sysv/linux/i386/lxstat.c
26888 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26889 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26890 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26891 Remove conditional code.
26892 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26893 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26894 Remove conditional code.
26895 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26896 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26897 <kernel-features.h>.
26898 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26900 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26901 Remove conditional code.
26902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26903 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26904 Remove conditional.
26906 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26909 * NEWS: Add fixed bug number.
26911 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26914 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26915 underflowing exponent in case of negative sign.
26916 * stdlib/tst-strtod-round-data: Add more tests.
26917 * stdlib/tst-strtod-round.c (tests): Regenerated.
26920 * stdlib/strtod_l.c (NDIG): Remove.
26921 (HEXNDIG): Likewise.
26922 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26923 smallest representable value.
26924 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26925 lie within an exact representation of 1/2 ulp of the result.
26926 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26928 (TENS_P9_IDX): Define unconditionally.
26929 (TENS_P9_SIZE): Likewise.
26930 (TENS_P10_IDX): Likewise.
26931 (TENS_P10_SIZE): Likewise.
26932 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26933 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26934 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26935 entries for 10^2^13 and 10^2^14.
26936 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26937 (TENS_P13_IDX): Define.
26938 (TENS_P13_SIZE): Likewise.
26939 (TENS_P14_IDX): Likewise.
26940 (TENS_P14_SIZE): Likewise.
26941 (_fpioconst_pow10): Change array size to
26942 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26944 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26945 1024]: Add entries for 10^2^13 and 10^2^14.
26946 [LAST_POW10 > _LAST_POW10]: Remove #error.
26947 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26948 (_fpioconst_pow10): Change array size to
26949 FPIOCONST_POW10_ARRAY_SIZE.
26950 * stdlib/gen-fpioconst.c: New file.
26951 * stdlib/gen-tst-strtod-round.c: Likewise.
26952 * stdlib/tst-strtod-round-data: Likewise.
26953 * stdlib/tst-strtod-round.c: Likewise.
26954 * stdlib/Makefile (tests): Add tst-strtod-round.
26957 * stdlib/strtod_l.c: Include <stdint.h>.
26958 (NDEBUG): Do not define.
26959 (round_and_return): Change EXPONENT parameter to type intmax_t.
26960 Rearrange calculations to avoid internal overflow possibilities.
26961 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26962 Rearrange calculations to avoid internal overflow possibilities.
26963 Assert that number fits inside MPNSIZE limbs.
26964 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26965 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26966 calculations and add assertions to avoid internal overflow
26967 possibilities. Add casts to avoid signed/unsigned operations.
26968 * stdlib/tst-strtod-overflow.c: New file.
26969 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26971 2012-08-25 Marek Polacek <polacek@redhat.com>
26973 * time/time.h: Fix some typos in comments.
26975 2012-08-23 Roland McGrath <roland@hack.frob.com>
26977 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26978 * posix/tst-rfc3484-2.c: Likewise.
26979 * posix/tst-rfc3484-3.c: Likewise.
26981 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26983 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26984 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26986 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26988 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26989 #include of fxstatat64.c.
26991 2012-08-22 Roland McGrath <roland@hack.frob.com>
26993 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26994 * shadow/getspent_r.c: Likewise.
26995 * shadow/getspnam.c: Likewise.
26996 * shadow/getspnam_r.c: Likewise.
26997 * gshadow/getsgent.c: Likewise.
26998 * gshadow/getsgent_r.c: Likewise.
26999 * gshadow/getsgnam.c: Likewise.
27000 * gshadow/getsgnam_r.c: Likewise.
27001 * inet/getnetbyad.c: Likewise.
27002 * inet/getnetbyad_r.c: Likewise.
27003 * inet/getnetbynm.c: Likewise.
27004 * inet/getnetbynm_r.c: Likewise.
27005 * inet/getnetent.c: Likewise.
27006 * inet/getnetent_r.c: Likewise.
27007 * inet/getproto.c: Likewise.
27008 * inet/getproto_r.c: Likewise.
27009 * inet/getprtent.c: Likewise.
27010 * inet/getprtent_r.c: Likewise.
27011 * inet/getprtname.c: Likewise.
27012 * inet/getprtname_r.c: Likewise.
27013 * inet/getrpcbyname.c: Likewise.
27014 * inet/getrpcbyname_r.c: Likewise.
27015 * inet/getrpcbynumber.c: Likewise.
27016 * inet/getrpcbynumber_r.c: Likewise.
27017 * inet/getrpcent.c: Likewise.
27018 * inet/getrpcent_r.c: Likewise.
27019 * inet/getaliasent.c: Likewise.
27020 * inet/getaliasent_r.c: Likewise.
27021 * inet/getaliasname.c: Likewise.
27022 * inet/getaliasname_r.c: Likewise.
27023 * nscd/getgrgid_r.c: Likewise.
27024 * nscd/getgrnam_r.c: Likewise.
27025 * nscd/gethstbyad_r.c: Likewise.
27026 * nscd/gethstbynm3_r.c: Likewise.
27027 * nscd/getpwnam_r.c: Likewise.
27028 * nscd/getpwuid_r.c: Likewise.
27029 * nscd/getsrvbynm_r.c: Likewise.
27030 * nscd/getsrvbypt_r.c: Likewise.
27031 * nscd/gai.c: Likewise.
27033 * configure.in (build_nscd): New substituted variable, set
27034 by --disable-build-nscd and defaults to $use_nscd.
27035 * configure: Regenerated.
27036 * config.make.in (build-nscd): New substituted variable.
27037 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27038 Change conditional to require [$(build-nscd) = yes] as well.
27039 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27042 * configure.in (use_nscd): New substituted variable, set by
27043 --disable-nscd. If enabled, define USE_NSCD.
27044 * configure: Regenerated.
27045 * config.h.in: Add USE_NSCD.
27046 * config.make.in (use-nscd): New substituted variable.
27047 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27048 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27049 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27050 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27051 (CFLAGS-getgrnam_r.c): Likewise.
27052 (CFLAGS-initgroups.c): Likewise.
27053 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27054 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27056 * inet/getnetgrent_r.c
27057 (nscd_setnetgrent): New function, broken out of ...
27058 (setnetgrent): ... here. Call it.
27059 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27060 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27061 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27062 * nscd/Makefile (routines, aux): Move definitions after include of
27063 Makeconfig. Conditionalize on [$(use-nscd) != no].
27064 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27065 Conditionalize on [USE_NSCD].
27066 (is_nscd, nscd_init_cb): Likewise.
27067 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27068 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27069 * nss/nss_db/db-init.c: Likewise.
27070 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27072 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27073 (make_request): Use it.
27074 (cache_valid_p): New function.
27075 (__check_pf): Use it.
27076 * NEWS: Add item for --disable-nscd.
27078 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27080 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27081 to support sed >= 4.2.1-20-ga9bf076.
27082 * configure: Regenerated.
27084 2012-08-22 Roland McGrath <roland@hack.frob.com>
27086 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27087 Conditionalize whole body on [IREL].
27089 2012-08-22 Jeff Law <law@redhat.com>
27092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27093 if the family is PF_UNSPEC.
27095 2012-08-22 Mike Frysinger <vapier@gentoo.org>
27097 * Makerules (lib-version): Rename from V.
27098 (install-lib-nosubdir): Change V to lib-version.
27100 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27103 * powerpc32/power6/wcschr.c: New file.
27104 * powerpc32/power6/wcscpy.c: New file.
27105 * powerpc32/power6/wcsrchr.c: New file.
27106 * powerpc64/power6/wcschr.c: New file.
27107 * powerpc64/power6/wcscpy.c: New file.
27108 * powerpc64/power6/wcsrchr.c: New file.
27110 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27112 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27113 (two_way_short_needle): Use it.
27114 * string/strstr.c (AVAILABLE1_USES_J): Define.
27115 * string/strcasestr.c: Likewise.
27117 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27119 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27122 * NEWS: Add an entry.
27123 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27124 define their defaults.
27125 (two_way_short_needle): Detect end-of-string on-the-fly.
27126 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27127 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27128 * string/bug-strcasestr1.c: New test.
27129 * string/Makefile: Run it.
27131 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27134 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27135 the first character.
27137 2012-08-21 Roland McGrath <roland@hack.frob.com>
27139 * csu/elf-init.c (__libc_csu_irel): Function removed.
27140 * csu/libc-start.c (apply_irel): New function.
27141 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27143 2012-08-21 Joseph Myers <joseph@codesourcery.com>
27145 * sysdeps/unix/sysv/linux/kernel-features.h
27146 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27147 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27148 <kernel-features.h>.
27149 [__NR_fadvise64_64]: Make code unconditional.
27150 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27151 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27152 !__NR_fadvise64_64)]: Likewise.
27153 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27154 !__NR_fadvise64_64))]: Likewise.
27155 [__NR_fadvise64]: Make code unconditional.
27156 [!__NR_fadvise64]: Remove conditional code.
27157 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27158 <kernel-features.h>.
27159 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27161 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27164 not include <kernel-features.h>.
27165 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27167 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27169 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27170 include <kernel-features.h>.
27171 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27173 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27176 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27178 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27179 slight instruction rearrangements per scrollpipe analysis.
27180 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27182 2012-08-20 Roland McGrath <roland@hack.frob.com>
27184 * manual/syslog.texi (syslog; vsyslog, closelog):
27185 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27186 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27188 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27189 DSOCAPS to match condition on defining it.
27191 2012-08-20 Joseph Myers <joseph@codesourcery.com>
27193 * sysdeps/unix/sysv/linux/kernel-features.h
27194 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27196 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27197 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27199 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27200 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27202 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27203 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27205 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27206 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27208 * sysdeps/unix/sysv/linux/kernel-features.h
27209 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27210 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27212 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27213 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27214 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27215 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27216 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27217 Make code unconditional.
27218 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27219 (__mmap64) [!__NR_mmap2]: Likewise.
27220 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27221 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27222 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27223 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27224 [__NR_mmap2]: Make code unconditional.
27225 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27226 (__mmap64) [!__NR_mmap2]: Likewise.
27228 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27230 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27232 2012-08-18 Andreas Jaeger <aj@suse.de>
27234 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27236 2012-08-18 Mike Frysinger <vapier@gentoo.org>
27238 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27239 * include/unistd.h (__have_sock_cloexec): Likewise.
27240 (__have_pipe2): Likewise.
27241 (__have_dup3): Likewise.
27243 2012-08-18 Mike Frysinger <vapier@gentoo.org>
27246 * include/unistd.h (__have_pipe2): Change define into an extern int.
27247 (__have_dup3): Likewise.
27248 * socket/have_sock_cloexec.c: Include fcntl.h.
27249 (__have_pipe2): New variable.
27250 (__have_dup3): Likewise.
27252 2012-08-17 Mike Frysinger <vapier@gentoo.org>
27254 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27256 2012-08-17 Marek Polacek <polacek@redhat.com>
27258 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27259 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27261 2012-08-17 Roland McGrath <roland@hack.frob.com>
27263 * configure.in: Add AC_SUBST for sysheaders.
27264 * configure: Regenerated.
27265 * config.make.in (sysheaders): New substituted variable.
27267 * sysdeps/unix/mkfifo.c: Moved ...
27268 * sysdeps/posix/mkfifo.c: ... here.
27269 * sysdeps/unix/mkfifoat.c: Moved ...
27270 * sysdeps/posix/mkfifoat.c: ... here.
27272 * sysdeps/unix/utime.c: Moved ...
27273 * sysdeps/posix/utime.c: ... here.
27275 * sysdeps/unix/time.c: Moved ...
27276 * sysdeps/posix/time.c: ... here.
27277 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27278 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27280 * sysdeps/unix/nice.c: Moved ...
27281 * sysdeps/posix/nice.c: ... here.
27283 * sysdeps/unix/alarm.c: Moved ...
27284 * sysdeps/posix/alarm.c: ... here.
27286 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27288 2012-08-17 Jeff Law <law@redhat.com>
27290 * intl/Makefile (codeset_mo): New variable.
27291 ($(codeset_mo)): New target.
27292 (tst-codeset.out): Depend on that. Remove explicit rule.
27293 (tst-gettext3.out, tst-gettext5.out): Likewise.
27294 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27295 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27296 * intl/tst-codeset.sh: Remove.
27297 * intl/tst-gettext3.sh: Likewise.
27298 * intl/tst-gettext5.sh: Likewise.
27300 2012-08-17 Roland McGrath <roland@hack.frob.com>
27302 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27303 * sysdeps/unix/syscalls.list: ... here.
27305 * sysdeps/posix/getaddrinfo.c
27306 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27307 (gaiconf_init, gaiconf_reload): Use them.
27308 [!_STATBUF_ST_NSEC]
27309 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27310 Define using time_t rather than struct timespec.
27312 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27313 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27315 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27317 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27318 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27321 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27322 __libc_cleanup_push argument.
27324 * bits/param.h: New file.
27325 * misc/sys/param.h: New file.
27326 * include/sys/param.h: New file.
27327 * misc/Makefile (headers): Add bits/param.h.
27328 * sysdeps/generic/sys/param.h: File removed.
27329 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27330 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27331 * sysdeps/mach/hurd/bits/param.h: New file.
27332 * sysdeps/mach/hurd/sys/param.h: File removed.
27334 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27337 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27339 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27340 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27343 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27344 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27345 rather than -D_IO_MTSAFE_IO conditionally.
27346 * stdio-common/Makefile (CPPFLAGS): Likewise.
27347 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27348 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27349 Use $(libio-mtsafe).
27350 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27351 of -D_IO_MTSAFE_IO.
27352 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27353 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27354 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27355 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27356 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27357 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27358 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27359 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27360 (CFLAGS-fread_u_chk.c): Likewise.
27361 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27362 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27363 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27364 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27365 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27366 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27367 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27368 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27369 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27371 * libio/Makefile: Test [$(libc-reentrant) = yes]
27372 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27375 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27376 * sysdeps/pthread/configure: File removed.
27377 * sysdeps/pthread/Makeconfig: New file.
27378 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27379 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27381 2012-08-16 Gary Benson <gbenson@redhat.com>
27383 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27384 unmapping the first object in a namespace.
27386 2012-08-16 Roland McGrath <roland@hack.frob.com>
27388 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27389 (__internal_setnetgrent): ... this. Add internal_function to
27390 definition. Add libc_hidden_def.
27391 (setnetgrent): Update caller.
27392 (internal_endnetgrent): Renamed to ...
27393 (__internal_endnetgrent): ... this. Add internal_function to
27394 definition. Add libc_hidden_def.
27395 (endnetgrent): Update caller.
27396 (internal_getnetgrent_r): Renamed to ...
27397 (__internal_getnetgrent_r): ... this. Add internal_function to
27398 definition. Add libc_hidden_def.
27399 (__getnetgrent_r): Update caller.
27400 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27402 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27404 * stdlib/longlong.h: Update from GCC.
27406 2012-08-16 Roland McGrath <roland@hack.frob.com>
27408 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27409 on _QL, which is set by umul_ppmm but never used.
27410 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27411 variables, which are set by GMP macros but never used.
27412 * stdio-common/_itowa.c (_itowa): Likewise.
27413 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27414 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27416 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27418 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27419 struct La_sh_regs is not constant.
27420 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27421 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27422 and struct La_sparc64_regs are not constant.
27424 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27426 * sysdeps/unix/sysv/linux/kernel-features.h
27427 (__ASSUME_POSIX_TIMERS): Remove.
27428 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27429 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27430 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27431 Make code unconditional.
27432 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27433 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27434 Make code unconditional.
27435 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27436 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27437 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27438 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27439 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27440 Make code unconditional.
27441 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27442 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27443 (__libc_missing_posix_timers): Remove.
27445 2012-08-15 Roland McGrath <roland@hack.frob.com>
27447 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27448 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27450 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27452 * elf/dl-sym.c: Include <stdlib.h>.
27454 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27455 constants, which avoids warnings in 32-bit builds.
27457 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27458 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27460 * misc/lseek.c: File moved to ...
27461 * io/lseek.c: ... here.
27463 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27465 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27466 shifting LEN more than 31 bits at once.
27468 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27471 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27472 segmentation fault for a case of two empty input strings.
27473 * string/test-strncasecmp.c (check1): Renamed to...
27474 (bz12205): ...this.
27475 (bz14195): Add new testcase for two empty input strings and N > 0.
27476 (test_main): Call new testcase, adapt for renamed function.
27478 2012-08-15 Andreas Jaeger <aj@suse.de>
27481 * crypt/md5test2.c: New test, based on test supplied by Serge
27482 Belyshev <belyshev@depni.sinp.msu.ru>.
27483 * crypt/Makefile (xtests): Add md5test-giant..
27484 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27486 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27489 * crypt/md5.c (md5_process_block): Don't assume the buffer
27490 length is less than 2**32.
27491 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27492 length is less than 2**64.
27494 2012-08-15 Roland McGrath <roland@hack.frob.com>
27496 * string/str-two-way.h: Include <sys/param.h>.
27497 (MAX): Macro removed.
27499 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27500 Move #define and #undef of memmove to just before and after
27501 including <string.h>.
27503 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27504 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27505 and after including <string.h>. Move declarations of
27506 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27507 to before #include "string/memmove.c".
27509 * include/dirent.h: Declare __getdirentries.
27511 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27512 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27514 2012-08-14 Mike Frysinger <vapier@gentoo.org>
27516 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27517 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27518 * sysdeps/i386/configure: Regenerated.
27519 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27520 STABS_CURRENT_FILE, and STABS_FUN.
27521 (END): Remove call to STABS_FUN_END.
27522 (STABS_CURRENT_FILE1): Delete.
27523 (STABS_CURRENT_FILE): Likewise.
27524 (STABS_FUN): Likewise.
27525 (STABS_FUN_END): Likewise.
27526 (STABS_FUN2): Likewise.
27527 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27528 * sysdeps/x86_64/configure: Regenerated.
27530 2012-08-14 Roland McGrath <roland@hack.frob.com>
27532 * elf/dl-open.c: Include <atomic.h>.
27533 * elf/dl-lookup.c: Likewise.
27535 2012-08-14 Joseph Myers <joseph@codesourcery.com>
27537 * sysdeps/unix/sysv/linux/kernel-features.h
27538 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27539 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27541 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27543 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27544 condition on __ASSUME_CLONE_THREAD_FLAGS.
27546 2012-08-14 Andreas Jaeger <aj@suse.de>
27548 * sysdeps/i386/fpu/libm-test-ulps: Update.
27550 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27552 * include/atomic.h (atomic_exchange_and_add): Split into ...
27553 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27556 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27558 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27560 2012-08-13 Jeff Law <law@redhat.com>
27562 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27563 null byte in the output string.
27565 2012-08-10 Joseph Myers <joseph@codesourcery.com>
27567 * sysdeps/unix/sysv/linux/kernel-features.h
27568 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27569 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27570 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27571 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27572 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27573 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27574 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27576 2012-08-09 Jeff Law <law@redhat.com>
27579 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27580 When avoid_arena is set, don't retry in the that arena. Pick the
27581 next one, whatever it might be.
27582 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27583 (arena_lock): Pass in new parameter to arena_get2.
27584 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27586 (__libc_malloc): Unify retrying after main arena failure with
27587 __libc_memalign version.
27588 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27590 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27593 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27594 to __redirect_strstr.
27595 (__strstr_sse42): Use typeof __redirect_strstr.
27596 (__strstr_ia32): Likewise.
27597 (__libc_strstr): New prototype.
27598 (strstr): Renamed to ...
27599 (__libc_strstr): This.
27600 (strstr): New strong alias of __libc_strstr.
27601 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27602 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27605 (__libc_time): New prototype.
27606 (time_ifunc): Replace time with __libc_time.
27607 (time): New strong alias and hidden definition of __libc_time.
27608 (__GI_time): Remove strong alias.
27609 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27610 Include <stddef.h>.
27611 (memmove): Redefined to __redirect_memmove.
27612 (__memmove_sse2): Use typeof __redirect_memmove.
27613 (__memmove_ssse3): Likewise.
27614 (__memmove_ssse3_back): Likewise.
27615 (__libc_memmove): New prototype.
27616 (memmove): Renamed to ...
27617 (__libc_memmove): This.
27618 (memmove): New strong alias of __libc_memmove.
27620 2012-08-08 Mark Salter <msalter@redhat.com>
27623 (R_MN10300_TLS_GD): Define.
27624 (R_MN10300_TLS_LD): Likewise.
27625 (R_MN10300_TLS_LDO): Likewise.
27626 (R_MN10300_TLS_GOTIE): Likewise.
27627 (R_MN10300_TLS_IE): Likewise.
27628 (R_MN10300_TLS_LE): Likewise.
27629 (R_MN10300_TLS_DTPMOD): Likewise.
27630 (R_MN10300_TLS_DTPOFF): Likewise.
27631 (R_MN10300_TLS_TPOFF): Likewise.
27632 (R_MN10300_SYM_DIFF): Likewise.
27633 (R_MN10300_ALIGN): Likewise.
27634 (R_MN10300_NUM): Update.
27636 2012-08-08 Joseph Myers <joseph@codesourcery.com>
27638 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27641 2012-08-08 Roland McGrath <roland@hack.frob.com>
27643 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27645 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27646 sysdeps/unix -> sysdeps/posix move.
27647 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27649 2012-08-07 Allan McRae <allan@archlinux.org>
27652 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27653 (SUNOS_CPP): Likewise.
27654 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27656 (open_input): Call CPP using execvp.
27658 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27660 * sysdeps/unix/sysv/linux/kernel-features.h
27661 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27662 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27663 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27664 (__ASSUME_WAITID_SYSCALL): Likewise.
27665 * sysdeps/unix/sysv/linux/dl-execstack.c
27666 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27667 code unconditional.
27668 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27670 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27671 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27672 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27674 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27676 [__ASSUME_WAITID_SYSCALL]: Likewise.
27677 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27679 2012-08-07 Roland McGrath <roland@hack.frob.com>
27681 * sysdeps/unix/closedir.c: Renamed to ...
27682 * sysdeps/posix/closedir.c: ... here.
27683 * sysdeps/unix/dirfd.c: Renamed to ...
27684 * sysdeps/posix/dirfd.c: ... here.
27685 * sysdeps/unix/dirstream.h: Renamed to ...
27686 * sysdeps/posix/dirstream.h: ... here.
27687 * sysdeps/unix/fdopendir.c: Renamed to ...
27688 * sysdeps/posix/fdopendir.c: ... here.
27689 * sysdeps/unix/opendir.c: Renamed to ...
27690 * sysdeps/posix/opendir.c: ... here.
27691 * sysdeps/unix/readdir.c: Renamed to ...
27692 * sysdeps/posix/readdir.c: ... here.
27693 * sysdeps/unix/readdir_r.c: Renamed to ...
27694 * sysdeps/posix/readdir_r.c: ... here.
27695 * sysdeps/unix/rewinddir.c: Renamed to ...
27696 * sysdeps/posix/rewinddir.c: ... here.
27697 * sysdeps/unix/seekdir.c: Renamed to ...
27698 * sysdeps/posix/seekdir.c: ... here.
27699 * sysdeps/unix/telldir.c: Renamed to ...
27700 * sysdeps/posix/telldir.c: ... here.
27701 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27702 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27703 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27704 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27706 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27707 * bits/fcntl.h: ... here.
27709 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27711 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27712 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27713 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27714 (struct flock): Move l_start, l_len to the beginning.
27715 Use __pid_t for l_pid.
27716 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27717 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27718 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27719 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27720 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27721 [__USE_LARGEFILE64] (struct flock64): New type.
27722 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27724 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27725 * bits/dirent.h: ... here.
27727 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27728 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27730 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27732 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27733 Change from 2.6.0 to 2.6.16.
27734 * sysdeps/unix/sysv/linux/configure: Regenerated.
27735 * sysdeps/unix/sysv/linux/kernel-features.h
27736 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27737 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27739 (__ASSUME_UTIMES): Likewise.
27740 (__ASSUME_CLONE_STOPPED): Remove.
27741 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27742 architectures, not kernel version.
27743 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27744 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27745 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27746 (__ASSUME_WAITID_SYSCALL): Likewise.
27747 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27748 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27749 * README: State 2.6.16 as minimum Linux kernel version. Do not
27750 refer to older versions.
27752 2012-08-06 Roland McGrath <roland@hack.frob.com>
27754 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27755 Define alphasort64 as an alias.
27756 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27757 Define versionsort64 as an alias.
27758 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27759 Define scandir64 as an alias.
27760 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27761 Define scandirat64 as an alias.
27762 * dirent/alphasort64.c (alphasort64):
27763 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27764 * dirent/versionsort64.c: Likewise.
27765 * dirent/scandir64.c: Likewise.
27766 * dirent/scandirat64.c: Likewise.
27767 * sysdeps/wordsize-64/alphasort.c: File removed.
27768 * sysdeps/wordsize-64/alphasort64.c: File removed.
27769 * sysdeps/wordsize-64/scandir.c: File removed.
27770 * sysdeps/wordsize-64/scandir64.c: File removed.
27771 * sysdeps/wordsize-64/scandirat.c: File removed.
27772 * sysdeps/wordsize-64/scandirat64.c: File removed.
27773 * sysdeps/wordsize-64/versionsort.c: File removed.
27774 * sysdeps/wordsize-64/versionsort64.c: File removed.
27775 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27776 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27777 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27778 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27779 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27780 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27781 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27782 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27784 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27785 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27786 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27787 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27788 [defined __arch64__ || defined __sparcv9]
27789 (__INO_T_MATCHES_INO64_T): New macro.
27790 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27791 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27792 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27793 * sysdeps/unix/sysv/linux/bits/dirent.h
27794 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27795 (_DIRENT_MATCHES_DIRENT64): New macro.
27797 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27798 Define lockf64 as an alias.
27799 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27800 Define fseeko64 as an alias.
27801 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27802 Define ftello64 as an alias.
27803 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27804 Define _IO_fgetpos64 and fgetpos64 as aliases.
27805 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27806 Define _IO_fsetpos64 and fsetpos64 as aliases.
27807 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27808 Conditionalize body on this.
27809 * libio/fseeko64.c: Likewise.
27810 * libio/ftello64.c: Likewise.
27811 * libio/iofgetpos64.c: Likewise.
27812 * libio/iofsetpos64.c: Likewise.
27813 * sysdeps/wordsize-64/lockf.c: File removed.
27814 * sysdeps/wordsize-64/lockf64.c: File removed.
27815 * sysdeps/wordsize-64/fseeko.c: File removed.
27816 * sysdeps/wordsize-64/fseeko64.c: File removed.
27817 * sysdeps/wordsize-64/ftello.c: File removed.
27818 * sysdeps/wordsize-64/ftello64.c: File removed.
27819 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27820 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27821 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27822 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27823 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27824 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27825 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27826 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27827 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27828 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27829 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27830 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27831 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27832 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27834 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27835 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27836 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27837 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27838 [defined __arch64__ || defined __sparcv9]
27839 (__OFF_T_MATCHES_OFF64_T): New macro.
27840 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27841 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27842 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27843 (__OFF_T_MATCHES_OFF64_T): New macro.
27845 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27847 * stdlib/secure-getenv.c (__secure_getenv): Replace
27848 GLIBC_2_16 with GLIBC_2_17.
27850 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27852 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27853 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27855 2012-08-03 David S. Miller <davem@davemloft.net>
27857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27859 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27861 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27863 (__ASSUME_CORRECT_SI_PID): Likewise.
27864 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27865 (__ASSUME_TMPFS_NAME): Likewise.
27866 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27867 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27868 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27869 (HAVE_AUX_SECURE): Make definition unconditional.
27870 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27871 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27873 2012-08-03 Roland McGrath <roland@hack.frob.com>
27875 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27876 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27877 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27878 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27879 __eloop_threshold instead of SYMLOOP_MAX.
27881 * sysdeps/generic/eloop-threshold.h: New file.
27882 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27884 * elf/chroot_canon.c (chroot_canon): Likewise.
27886 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27889 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27890 Change to 2.6.0 everywhere.
27891 * sysdeps/unix/sysv/linux/configure: Regenerated.
27892 * sysdeps/unix/sysv/linux/kernel-features.h
27893 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27894 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27896 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27897 (__ASSUME_FUTEX_REQUEUE): Remove.
27898 (__ASSUME_STATFS64): Define unconditionally.
27899 (__ASSUME_AT_SECURE): Likewise.
27900 (__ASSUME_CORRECT_SI_PID): Likewise.
27901 (__ASSUME_TGKILL): Define without depending on kernel version for
27903 (__ASSUME_UTIMES): Likewise.
27904 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27906 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27907 (__ASSUME_TMPFS_NAME): Likewise.
27908 * README: Update reference to Linux kernel versions.
27910 2012-08-02 Marek Polacek <polacek@redhat.com>
27913 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27914 libc_cv_asm_type_prefix with %.
27915 * configure: Regenerated.
27916 * include/libc-symbols.h: Remove comment about
27917 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27918 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27919 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27920 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27921 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27922 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27923 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27924 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27925 * elf/tst-unique2mod1.c: Likewise.
27926 * elf/tst-unique1mod2.c: Likewise.
27927 * elf/tst-unique1mod1.c: Likewise.
27928 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27929 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27930 Replace ASM_TYPE_DIRECTIVE with .type.
27931 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27932 * sysdeps/i386/sysdep.h: Likewise.
27933 * sysdeps/x86_64/sysdep.h: Likewise.
27934 * sysdeps/sh/sysdep.h: Likewise.
27935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27936 Do not define ASM_TYPE_DIRECTIVE.
27937 * sysdeps/powerpc/sysdep.h: Likewise.
27938 * sysdeps/powerpc/powerpc32/sysdep.h:
27939 Replace ASM_TYPE_DIRECTIVE with .type.
27940 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27941 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27942 * sysdeps/i386/fpu/e_powf.S: Likewise.
27943 * sysdeps/i386/fpu/e_expl.S: Likewise.
27944 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27945 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27946 * sysdeps/i386/fpu/e_pow.S: Likewise.
27947 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27948 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27949 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27950 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27951 * sysdeps/i386/fpu/e_log2.S: Likewise.
27952 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27953 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27954 * sysdeps/i386/fpu/e_powl.S: Likewise.
27955 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27956 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27957 * sysdeps/i386/fpu/e_logl.S: Likewise.
27958 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27959 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27960 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27961 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27962 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27963 * sysdeps/i386/fpu/e_log.S: Likewise.
27964 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27965 * sysdeps/i386/fpu/e_logf.S: Likewise.
27966 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27967 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27968 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27969 * sysdeps/i386/fpu/e_log10.S: Likewise.
27970 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27971 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27972 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27973 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27974 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27975 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27976 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27977 * sysdeps/i386/i686/strtok.S: Likewise.
27978 * sysdeps/i386/i386-mcount.S: Likewise.
27979 * sysdeps/i386/strtok.S: Likewise.
27980 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27981 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27982 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27983 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27984 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27985 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27986 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27987 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27988 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27989 * sysdeps/x86_64/_mcount.S: Likewise.
27990 * sysdeps/x86_64/strtok.S: Likewise.
27991 * sysdeps/sh/_mcount.S: Likewise.
27993 2012-08-01 Roland McGrath <roland@hack.frob.com>
27995 * libio/iofopen.c: Include <fcntl.h>.
27996 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27997 (_IO_fopen64, fopen64): Define as aliases.
27998 * libio/iofopen64.c: Include <fcntl.h>.
27999 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28000 Conditionalize body on this.
28001 * sysdeps/wordsize-64/iofopen.c: File removed.
28002 * sysdeps/wordsize-64/iofopen64.c: File removed.
28004 2012-08-01 Marek Polacek <polacek@redhat.com>
28006 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28007 Use dlfcn directly instead of a variable.
28008 (binfmt-subdir): Do not define.
28011 2012-08-01 Joseph Myers <joseph@codesourcery.com>
28013 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28014 Remove all definitions.
28015 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28016 <kernel-features.h>.
28017 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28018 (miss_F_GETOWN_EX): Remove all definitions.
28019 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28021 [!__ASSUME_FCNTL64]: Remove conditional code.
28022 [__ASSUME_FCNTL64]: Make code unconditional.
28023 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28024 <kernel-features.h>.
28025 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28026 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28027 (lockf64) [__NR_fcntl64]: Make code unconditional.
28028 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28030 * sysdeps/unix/sysv/linux/kernel-features.h
28031 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28032 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28033 Make code unconditional.
28034 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28035 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28037 [__NR_vfork]: Make code unconditional.
28038 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28039 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28041 [__NR_vfork]: Make code unconditional.
28042 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28043 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28045 2012-08-01 Roland McGrath <roland@hack.frob.com>
28047 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28048 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28050 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28051 Define mkstemp64 as an alias.
28052 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28053 Define mkstemps64 as an alias.
28054 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28055 Define mkostemp64 as an alias.
28056 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28057 Define mkostemps64 as an alias.
28058 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28059 Conditionalize body on this.
28060 * misc/mkostemp64.c: Likewise.
28061 * misc/mkostemps64.c: Likewise.
28062 * misc/mkstemps64.c: Likewise.
28063 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28064 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28065 * sysdeps/wordsize-64/mkostemp.c: File removed.
28066 * sysdeps/wordsize-64/mkstemp.c: File removed.
28067 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28068 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28069 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28070 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28073 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28074 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28075 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28076 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28078 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28079 compat_symbol macros from <shlib-compat.h> rather than the underlying
28080 default_symbol_version and symbol_version macros, so that DEFAULT
28081 lines in shlib-versions are respected.
28082 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28084 2012-08-01 Florian Weimer <fweimer@redhat.com>
28086 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28087 Declare with warn_unused_result.
28088 (setgid, setregid, setegid, setresgid): Likewise.
28089 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28091 * WUR-REPORT: Remove set*id functions.
28093 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28095 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28097 2012-07-31 Roland McGrath <roland@hack.frob.com>
28100 * include/sys/socket.h (__libc_accept, __libc_accept4):
28101 Add attribute_hidden.
28102 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28104 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28106 * inet/getnetgrent_r.c (setup): Likewise.
28108 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28110 2012-07-31 David S. Miller <davem@davemloft.net>
28112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28114 2012-07-31 Joseph Myers <joseph@codesourcery.com>
28117 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28118 value between 1.0 and 2.0 and smaller part has absolute value less
28120 * math/s_clog10.c (__clog10): Likewise.
28121 * math/s_clog10f.c (__clog10f): Likewise.
28122 * math/s_clog10l.c (__clog10l): Likewise.
28123 * math/s_clogf.c (__clogf): Likewise.
28124 * math/s_clogl.c (__clogl): Likewise.
28125 * math/libm-test.inc (clog_test): Add more tests.
28126 (clog10_test): Likewise.
28127 * sysdeps/i386/fpu/libm-test-ulps: Update.
28128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28130 2012-07-31 Florian Weimer <fweimer@redhat.com>
28132 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28133 Exit with zero in case no suitable GID is found, and write a
28134 message to standard error.
28136 2012-07-30 Roland McGrath <roland@hack.frob.com>
28138 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28140 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28141 (MAXPATHLEN): Removed.
28142 (NOGROUP, NODEV): New macros.
28143 (setbit, clrbit, isset, isclr): New macros.
28144 (howmany, roundup, powerof2): New macros.
28145 (DEV_BSIZE): New macro.
28147 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28148 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28150 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28151 definition on [!__NO_LONG_DOUBLE_MATH].
28153 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28154 PTR_MANGLE and PTR_DEMANGLE.
28156 * socket/accept4.c (accept4): Rename to __libc_accept4.
28157 Define accept4 as a weak alias.
28159 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28160 on [_DIRENT_HAVE_D_TYPE].
28161 * io/ftw.c (ftw_dir): Likewise.
28163 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28165 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28167 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28168 Use the BSD numbers rather than the arbitrary ones we had.
28169 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28170 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28171 (SIGXCPU, SIGXFSZ): New macros.
28174 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28175 initializer on [_LIBC_REENTRANT].
28177 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28178 definitions inside [_POSIX_MAPPED_FILES].
28180 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28182 * dirent/opendir.c: Include <fcntl.h>.
28184 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28185 (__libc_getspecific): Likewise.
28186 (__libc_key_create): Likewise.
28188 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28189 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28190 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28191 (tmpfile64): Define as alias.
28192 * sysdeps/wordsize-64/tmpfile.c: File removed.
28193 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28194 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28195 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28197 * stdio-common/vfscanf.c: Include <stdbool.h>.
28198 * nss/makedb.c: Likewise.
28199 * stdio-common/_i18n_number.h: Likewise.
28200 * argp/argp-help.c: Likewise.
28201 * posix/wordexp.c: Likewise.
28202 * sysdeps/posix/spawni.c: Likewise.
28203 * nss/nss_files/files-initgroups.c: Likewise.
28204 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28205 * nss/nss_files/files-initgroups.c: Likewise.
28206 * nss/nss_db/db-netgrp.c: Likewise.
28207 * nss/nss_db/db-initgroups.c: Likewise.
28208 * io/fchmodat.c: Include <sys/stat.h>.
28210 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28211 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28213 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28216 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28217 Add multiple inclusion protection.
28219 2012-07-27 David S. Miller <davem@davemloft.net>
28221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28223 2012-07-27 Gary Benson <gbenson@redhat.com>
28226 * elf/rtld.c: Include <stap-probe.h>.
28227 (dl_main): Added static probes "init_start" and "init_complete".
28228 * elf/dl-load.c: Include <stap-probe.h>.
28229 (lose): Take new parameter "nsid".
28230 Added static probe "map_failed".
28231 (_dl_map_object_from_fd): Pass namespace id to lose.
28232 Added static probe "map_start".
28233 (open_verify): Pass namespace id to lose.
28234 * elf/dl-open.c: Include <stap-probe.h>.
28235 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28236 and "reloc_complete".
28237 * elf/dl-close.c: Include <stap-probe.h>.
28238 (_dl_close_worker): Added static probes "unmap_start" and
28240 * elf/rtld-debugger-interface.txt: New file documenting the above.
28242 2012-07-26 Roland McGrath <roland@hack.frob.com>
28244 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28245 rather than a string variable.
28246 * sunrpc/rpc_main.c (h_output): Likewise.
28247 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28249 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28251 * inet/check_native.c: New file.
28253 2012-07-26 Joseph Myers <joseph@codesourcery.com>
28256 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28257 if larger part has absolute value 1.0.
28258 * math/s_clog10.c (__clog10): Likewise.
28259 * math/s_clog10f.c (__clog10f): Likewise.
28260 * math/s_clog10l.c (__clog10l): Likewise.
28261 * math/s_clogf.c (__clogf): Likewise.
28262 * math/s_clogl.c (__clogl): Likewise.
28263 * math/libm-test.inc (clog_test): Add more tests.
28264 (clog10_test): Likewise.
28265 * sysdeps/i386/fpu/libm-test-ulps: Update.
28266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28268 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28269 (pltexit): Likewise.
28270 (La_regs): Likewise.
28271 (La_retval): Likewise.
28272 (int_retval): Likewise.
28273 Update #error for removed macros to refer only to definitions in
28275 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28277 (pltexit): Likewise.
28278 (La_regs): Likewise.
28279 (La_retval): Likewise.
28280 (int_retval): Likewise.
28281 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28283 (pltexit): Likewise.
28284 (La_regs): Likewise.
28285 (La_retval): Likewise.
28286 (int_retval): Likewise.
28287 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28289 (pltexit): Likewise.
28290 (La_regs): Likewise.
28291 (La_retval): Likewise.
28292 (int_retval): Likewise.
28293 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28295 (pltexit): Likewise.
28296 (La_regs): Likewise.
28297 (La_retval): Likewise.
28298 (int_retval): Likewise.
28299 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28301 (pltexit): Likewise.
28302 (La_regs): Likewise.
28303 (La_retval): Likewise.
28304 (int_retval): Likewise.
28305 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28307 (pltexit): Likewise.
28308 (La_regs): Likewise.
28309 (La_retval): Likewise.
28310 (int_retval): Likewise.
28311 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28312 macro definitions in tst-audit.h.
28313 * sysdeps/i386/tst-audit.h: New file.
28314 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28315 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28316 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28317 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28318 * sysdeps/sh/tst-audit.h: Likewise.
28319 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28320 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28321 * sysdeps/x86_64/tst-audit.h: Likewise.
28323 2012-07-26 Andreas Jaeger <aj@suse.de>
28325 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28328 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28329 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28330 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28332 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28333 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28334 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28336 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28339 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28341 (si_call_addr, si_syscall, si_arch): Define new macro.
28342 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28344 (si_call_addr, si_syscall, si_arch): Define new marcro.
28345 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28347 (si_call_addr, si_syscall, si_arch): Define new macro.
28348 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28350 (si_call_addr, si_syscall, si_arch): Define new macro.
28352 2012-07-25 Joseph Myers <joseph@codesourcery.com>
28355 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28356 Change to 2.4.21 where previously 2.4.1.
28357 * sysdeps/unix/sysv/linux/configure: Regenerated.
28358 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28359 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28360 Linux kernel version.
28361 (__ASSUME_STD_AUXV): Remove.
28362 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28364 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28365 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28366 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28367 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28368 (__ASSUME_NETLINK_SUPPORT): Likewise.
28369 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28370 (__no_netlink_support): Remove conditional definition.
28371 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28373 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28374 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28375 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28376 (if_nameindex_ioctl): Remove.
28377 (if_nameindex_netlink): Do not handle __no_netlink_support.
28378 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28380 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28381 Remove conditional code.
28382 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28384 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28386 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28387 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28388 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28390 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28391 [!__ASSUME_STD_AUXV]: Remove conditional code.
28392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28393 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28394 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28396 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28397 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28399 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28401 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28402 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28404 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28406 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28409 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28412 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28413 code unconditional.
28414 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28416 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28418 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28421 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28423 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28426 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28427 code unconditional.
28428 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28430 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28432 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28435 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28436 code unconditional.
28437 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28439 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28441 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28444 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28446 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28447 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28448 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28449 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28450 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28451 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28452 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28453 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28454 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28455 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28456 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28457 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28458 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28459 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28460 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28461 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28462 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28463 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28464 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28465 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28466 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28467 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28468 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28470 2012-07-25 Florian Weimer <fweimer@redhat.com>
28472 * Versions.def: Add GLIBC_2.17.
28473 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28474 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28475 Introduce __libc_secure_getenv.
28476 * stdlib/Versions (2.17): Add secure_getenv
28477 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28478 * stdlib/secure-getenv.c: Rename __secure_getenv to
28479 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28480 symbol __secure_getenv for GLIBC_2.0.
28481 * stdlib/tst-secure-getenv.c: New.
28482 * stdlib/Makefile (tests): Add testcase.
28483 * manual/startup.texi (Environment Access): Document
28485 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28486 __libc_secure_getenv.
28487 * inet/ruserpass.c (ruserpass): Likewise.
28488 * malloc/mtrace.c (mtrace): Likewise.
28489 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28490 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28491 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28492 * sysdeps/posix/tempname.c: Likewise. Evaluate
28493 HAVE_SECURE_GETENV.
28494 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28495 __secure_getenv to __libc_secure_getenv.
28496 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28503 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28509 2012-07-25 Joseph Myers <joseph@codesourcery.com>
28511 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28512 (struct La_i86_retval): Likewise.
28513 (struct La_x86_64_regs): Likewise.
28514 (struct La_x86_64_retval): Likewise.
28515 (struct La_x32_regs): Likewise.
28516 (struct La_x32_retval): Likewise.
28517 (struct La_ppc32_regs): Likewise.
28518 (struct La_ppc32_retval): Likewise.
28519 (struct La_ppc64_regs): Likewise.
28520 (struct La_ppc64_retval): Likewise.
28521 (struct La_sh_regs): Likewise.
28522 (struct La_sh_retval): Likewise.
28523 (struct La_s390_32_regs): Likewise.
28524 (struct La_s390_32_retval): Likewise.
28525 (struct La_s390_64_regs): Likewise.
28526 (struct La_s390_64_retval): Likewise.
28527 (struct La_sparc32_regs): Likewise.
28528 (struct La_sparc32_retval): Likewise.
28529 (struct La_sparc64_regs): Likewise.
28530 (struct La_sparc64_retval): Likewise.
28531 (struct audit_ifaces): Remove architecture-specific pltenter and
28533 * sysdeps/i386/ldsodefs.h: New file.
28534 * sysdeps/powerpc/ldsodefs.h: Likewise.
28535 * sysdeps/s390/ldsodefs.h: Likewise.
28536 * sysdeps/sh/ldsodefs.h: Likewise.
28537 * sysdeps/sparc/ldsodefs.h: Likewise.
28538 * sysdeps/x86_64/ldsodefs.h: Likewise.
28540 2012-07-25 Marek Polacek <polacek@redhat.com>
28543 * math/libm-test.inc (yn_test): Add another test.
28544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28545 to ERANGE when the result is +-Inf.
28546 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28547 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28548 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28549 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28551 2012-07-24 Joseph Myers <joseph@codesourcery.com>
28553 * conform/data/time.h-data (NULL): Use macro-constant. Require
28555 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28557 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28559 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28561 * configure.in <sysdeps resolving>: Correct printing
28563 * configure: Regenerate.
28565 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28567 * math/w_ilogb.c: Include <limits.h>.
28568 * math/w_ilogbl.c: Likewise.
28570 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28572 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28573 va_copy. Document allowing for unavailable va_copy only as
28574 pre-C99 compatibility.
28575 * manual/string.texi (Copying and Concatenation): Use va_copy
28576 instead of __va_copy in concat example.
28578 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28580 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28581 (__sendto): Use create_address_port. Initialize APORT and deallocate
28584 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28585 with O_NOLINK passed to __file_name_lookup.
28587 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28588 with O_NOLINK passed to __file_name_lookup.
28590 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28591 negative N or less than NGIDS.
28593 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28594 type to string_t. Set ERANGE as errno and return it if NAME is not big
28595 enough. Use memcpy instead of strncpy.
28597 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28599 * elf/Makefile (check-data): Remove.
28600 (localplt.data): New vpath directive.
28601 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28602 instead of $(check-data).
28603 * scripts/data/localplt-generic.data: Move to ...
28604 * sysdeps/generic/localplt.data: ... here.
28605 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28606 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28607 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28610 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28613 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28616 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28619 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28622 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28626 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28628 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28629 PPC32 and PPC64 files.
28630 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28631 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28633 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28635 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28636 __makecontext_ret to ...
28637 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28638 ... here and call exit if uc_link is NULL. New file.
28639 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28640 __makecontext_ret.S.
28641 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28642 __makecontext_ret to ...
28643 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28644 ... here and call exit if uc_link is NULL. New file.
28645 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28646 __makecontext_ret.S.
28648 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28650 * elf/elf.h (R_390_IRELATIVE): New definition.
28651 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28652 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28653 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28654 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28655 (elf_machine_lazy_rel): Likewise.
28656 * sysdeps/s390/dl-irel.h: New file.
28657 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28658 * sysdeps/s390/s390-64/memset.S: New asm code.
28659 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28660 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28661 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28662 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28663 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28664 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28665 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28666 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28667 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28668 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28669 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28670 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28671 * sysdeps/s390/s390-32/memset.S: New asm code.
28672 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28674 2012-07-17 Marek Polacek <polacek@redhat.com>
28677 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28678 * sysdeps/s390/s390-64/configure.in: Likewise.
28679 * sysdeps/sparc/configure.in: Likewise.
28680 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28681 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28682 * sysdeps/i386/configure.in: Likewise.
28683 * sysdeps/x86_64/configure.in: Likewise.
28684 * sysdeps/sh/configure.in: Likewise.
28685 * sysdeps/s390/s390-32/configure: Regenerated.
28686 * sysdeps/s390/s390-64/configure: Likewise.
28687 * sysdeps/x86_64/configure: Likewise.
28688 * sysdeps/sh/configure: Likewise.
28689 * sysdeps/powerpc/powerpc64/configure: Likewise.
28690 * sysdeps/powerpc/powerpc32/configure: Likewise.
28691 * sysdeps/sparc/configure: Likwise.
28692 * sysdeps/i386/configure: Likewise.
28694 * elf/dl-open.c: Comment fixes.
28696 2012-07-17 Joseph Myers <joseph@codesourcery.com>
28698 * Makefile [CXX] (check-data): Remove.
28699 [CXX] (c++-types.data): New vpath directive.
28700 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28701 vpath. Do not allow for C++ type data being missing.
28702 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28703 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28704 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28705 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28706 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28707 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28708 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28711 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28714 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28717 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28720 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28723 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28726 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28729 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28732 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28733 definitions to architecture-specific files.
28734 (TLS_IE): Likewise.
28735 (TLS_LD): Likewise.
28736 (TLS_GD): Likewise.
28737 * sysdeps/i386/tls-macros.h: New file.
28738 * sysdeps/powerpc/tls-macros.h: Likewise.
28739 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28740 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28741 * sysdeps/sh/tls-macros.h: Likewise.
28742 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28743 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28744 * sysdeps/x86_64/tls-macros.h: Likewise.
28746 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28748 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28749 zero value for regular exit case.
28751 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28752 (__start_context): Preserve zero value for regular exit case.
28754 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28755 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28757 * manual/setjmp.texi (setcontext): Clarify normal process
28758 termination when uc_link is the null pointer.
28759 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28762 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28764 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28765 preprocessor. Test for each exception mask separately.
28767 2012-07-16 Andreas Jaeger <aj@suse.de>
28769 * po/ru.po: Update from translation team.
28771 2012-07-15 Joseph Myers <joseph@codesourcery.com>
28773 * conform/data/string.h-data (NULL): Use macro-constant. Require
28775 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28776 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28777 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28778 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28781 2012-07-13 Andreas Jaeger <aj@suse.de>
28783 * po/fr.po: Update from translation team.
28785 2012-07-12 Marek Polacek <polacek@redhat.com>
28788 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28789 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28792 2012-07-12 Joseph Myers <joseph@codesourcery.com>
28795 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28796 Change to 2.4.1 where previously 2.4.0.
28797 * sysdeps/unix/sysv/linux/configure: Regenerated.
28798 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28799 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28801 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28802 (__ASSUME_AT_CLKTCK): Remove.
28803 (__ASSUME_AT_PAGESIZE): Likewise.
28804 (__ASSUME_AT_XID): Likewise.
28805 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28806 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28807 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28809 (HAVE_AUX_PAGESIZE): Likewise.
28810 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28811 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28812 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28814 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28818 the temporary buffer used to invoke __gethostbyname2_r,
28819 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28820 host_data / struct gaih_addrtuple.
28821 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28822 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28823 header file nss/nsswitch.h.
28824 * nss/nsswitch.h (global scope): Add definition of implementation
28825 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28826 resolv/nss_dns/dns-host.c).
28828 2012-07-11 Andreas Jaeger <aj@suse.de>
28830 * po/fr.po: Update from translation team.
28832 * po/sv.po: Update from translation team
28833 * po/fr.po: Another update from translation team.
28835 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28837 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28838 for subnormals or multiply small sinh result by itself.
28839 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28842 2012-07-11 David S. Miller <davem@davemloft.net>
28844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28846 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28849 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28850 (INTERNAL_MARK): Shift it here.
28852 2012-07-10 Marek Polacek <polacek@redhat.com>
28855 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28856 libc_cv_asm_global_directive with .globl.
28857 * configure: Regenerated.
28858 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28860 * sysdeps/i386/configure: Regenerated.
28861 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28863 * sysdeps/x86_64/configure: Regenerated.
28864 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28865 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28866 * elf/tst-unique2mod2.c: Likewise.
28867 * elf/tst-unique2mod1.c: Likewise.
28868 * elf/tst-unique1mod2.c: Likewise.
28869 * elf/tst-unique1mod1.c: Likewise.
28870 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28871 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28872 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28873 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28874 * sysdeps/mach/sysdep.h: Likewise.
28875 * sysdeps/i386/sysdep.h: Likewise.
28876 * sysdeps/i386/i386-mcount.S: Likewise.
28877 * sysdeps/x86_64/_mcount.S: Likewise.
28878 * sysdeps/x86_64/sysdep.h: Likewise.
28879 * sysdeps/sh/_mcount.S: Likewise.
28880 * sysdeps/sh/sysdep.h: Likewise.
28881 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28882 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28883 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28884 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28885 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28886 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28887 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28888 * locale/localeinfo.h: Likewise.
28889 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28890 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28892 2012-07-09 Roland McGrath <roland@hack.frob.com>
28895 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28897 * manual/message.texi (The Uniforum approach): Likewise.
28898 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28899 (glibc iconv Implementation): Likewise.
28901 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28904 * math/s_clog.c (__clog): Avoid scaling a value down where that
28905 could result in underflow.
28906 * math/s_clog10.c (__clog10): Likewise.
28907 * math/s_clog10f.c (__clog10f): Likewise.
28908 * math/s_clog10l.c (__clog10l): Likewise.
28909 * math/s_clogf.c (__clogf): Likewise.
28910 * math/s_clogl.c (__clogl): Likewise.
28911 * math/libm-test.inc (clog_test): Add more tests.
28912 (clog10_test): Likewise.
28913 * sysdeps/i386/fpu/libm-test-ulps: Update.
28914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28916 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28919 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28920 by 7 not 8 to examine high bit of fractional part.
28923 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28924 for call to __mcount_internal.
28925 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28926 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28927 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28929 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28932 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28933 approximation for values within 0x1p-13f of an odd multiple of
28935 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28936 exception. Add more tests.
28937 * sysdeps/i386/fpu/libm-test-ulps: Update.
28940 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28941 inputs and return -1 for them. Do not check for +Inf in case not
28942 reachable for +Inf.
28943 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28944 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
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 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28950 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28951 and return -1 for them. Do not check for +Inf in case not
28952 reachable for +Inf.
28953 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28954 spurious underflow.
28955 * sysdeps/i386/fpu/libm-test-ulps: Update.
28956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28958 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28960 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28962 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28966 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28967 could result in spurious underflow. Scale down values above
28968 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28969 * math/s_csqrtf.c (__csqrtf): Likewise.
28970 * math/s_csqrtl.c (__csqrtl): Likewise.
28971 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28972 spurious underflow.
28973 * sysdeps/i386/fpu/libm-test-ulps: Update.
28974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28976 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28978 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28980 * catgets/xopen-msg.awk: New file.
28981 * catgets/xopen-msg.sed: Removed.
28983 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28985 * intl/po2test.awk: New file.
28986 * intl/po2test.sed: Removed.
28988 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28991 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28992 or multiply small sinh result by itself.
28993 * math/s_ctanf.c (__ctanf): Likewise.
28994 * math/s_ctanh.c (__ctanh): Likewise.
28995 * math/s_ctanhf.c (__ctanhf): Likewise.
28996 * math/s_ctanhl.c (__ctanhl): Likewise.
28997 * math/s_ctanl.c (__ctanl): Likewise.
28998 * math/libm-test.inc (ctan_test_tonearest): New function.
28999 (ctan_test_towardzero): Likewise.
29000 (ctan_test_downward): Likewise.
29001 (ctan_test_upward): Likewise.
29002 (ctanh_test_tonearest): Likewise.
29003 (ctanh_test_towardzero): Likewise.
29004 (ctanh_test_downward): Likewise.
29005 (ctanh_test_upward): Likewise.
29006 (main): Call these new functions.
29007 * sysdeps/i386/fpu/libm-test-ulps: Update.
29008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29010 2012-07-03 Mike Frysinger <vapier@gentoo.org>
29012 * .gitignore: Delete /ports entry.
29014 2012-07-03 Andreas Jaeger <aj@suse.de>
29016 * po/bg.po: Update from translation team.
29017 * po/cs.po: Likewise.
29018 * po/de.po: Likewise.
29019 * po/hr.po: Likewise.
29020 * po/nl.pl: Likewise.
29021 * po/pl.po: Likewise.
29022 * po/vi.po: Likewise.
29024 2012-07-03 Joseph Myers <joseph@codesourcery.com>
29026 * Makeconfig [!+link] (+link-before-libc): New variable.
29027 [!+link] (+link-after-libc): Likewise.
29028 [!+link] (+link-tests): Likewise.
29029 [!+link] (+link): Define in terms of $(+link-before-libc) and
29030 $(+link-after-libc).
29031 [!+link-static] (+link-static-before-libc): New variable.
29032 [!+link-static] (+link-static-after-libc): Likewise.
29033 [!+link-static] (+link-static-tests): Likewise.
29034 [!+link-static] (+link-static): Define in terms of
29035 $(+link-static-before-libc) and $(+link-static-after-libc).
29036 [build-shared] (link-libc-before-gnulib): New variable.
29037 [build-shared] (link-libc-tests): Likewise.
29038 [build-shared] (link-libc): Define in terms of
29039 $(link-libc-before-gnulib).
29040 [!build-shared] (link-libc-tests): New variable.
29041 (link-libc-static-tests): New variable.
29042 [!gnulib] (gnulib-arch): New variable.
29043 [!gnulib] (gnulib-tests): Likewise.
29044 [!gnulib] (static-gnulib-arch): Likewise.
29045 [!gnulib] (static-gnulib-tests): Likewise.
29046 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29047 Define with "=" instead of ":=".
29048 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29049 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29050 * Rules (binaries-all-notests): New variable.
29051 (binaries-all-tests): Likewise.
29052 (binaries-static-notests): Likewise.
29053 (binaries-static-tests): Likewise.
29054 (binaries-all): Define using $(binaries-all-notests) and
29055 $(binaries-all-tests).
29056 (binaries-static): Define using $(binaries-static-notests) and
29057 $(binaries-static-tests).
29058 (binaries-shared-tests): New variable.
29059 (binaries-shared-notests): Likewise.
29060 (binaries-shared): Remove variable.
29061 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29062 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29063 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29064 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29065 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29066 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29067 * elf/Makefile (sln-modules): New variable.
29068 (extra-objs): Add $(sln-modules:=.o).
29069 (ldconfig-modules): Add static-stubs.
29070 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29071 * elf/static-stubs.c: New file.
29074 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29075 by 7 not 8 to examine high bit of fractional part. Use volatile
29076 variables when splitting into final array of floats if
29077 __FLT_EVAL_METHOD__ != 0.
29078 * math/libm-test.inc (cos_test): Add another test.
29079 (sin_test): Likewise.
29080 * sysdeps/i386/fpu/libm-test-ulps: Update.
29083 * math/libm-test.inc (cosh_test): Add more tests.
29085 * version.h (RELEASE): Set to "development".
29086 (VERSION): Set to "2.16.90".
29088 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29090 * NEWS: Update copyright. Remove last-updated date.
29091 Mention math library bug fixes and timezone data changes.
29092 * README: Mention GNU/Hurd, x32, and HPPA support status.
29094 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29096 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29098 2012-06-27 Andreas Jaeger <aj@suse.de>
29100 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29102 2012-06-25 Andreas Jaeger <aj@suse.de>
29104 * sysdeps/s390/fpu/libm-test-ulps: Update.
29106 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29107 Thomas Schwinge <thomas@codesourcery.com>
29109 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29110 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29111 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29114 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29116 * sysdeps/mach/start.c: Remove file.
29117 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29118 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29119 * sysdeps/sh/init-first.c: Likewise.
29121 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29122 registers for frame unwinding purposes, add CFI directives.
29123 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29124 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29125 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29128 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29129 __fortify_fail returning.
29130 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29132 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29133 sysdeps/sh/____longjmp_chk.S.
29134 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29135 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29136 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29137 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29139 * sysdeps/sh/abort-instr.h: New file.
29140 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29141 process in case exit returns.
29143 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29144 initialize the GOT register before use.
29146 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29147 calculation of ARGC > 4.
29149 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29150 meaningful names to some local labels.
29152 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29153 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29155 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29156 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29157 (__arch_compare_and_exchange_val_16_acq): Likewise.
29158 (__arch_compare_and_exchange_val_32_acq): Likewise.
29159 (atomic_exchange_and_add): Fix gUSA sequence.
29160 (atomic_add): Likewise.
29161 (atomic_add_negative): Likewise.
29162 (atomic_add_zero): Likewise.
29163 (atomic_bit_test_set): Likewise.
29165 2012-06-22 Andreas Schwab <schwab@redhat.com>
29168 * include/link.h (struct link_map): Add l_free_initfini.
29169 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29171 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29172 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29173 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29176 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29178 * configure.in: Use AC_LANG_SOURCE.
29179 * configure: Regenerate.
29181 2012-06-22 Roland McGrath <roland@hack.frob.com>
29183 * configure.in (libc_cv_localstatedir): New substituted variable.
29184 * configure: Regenerated.
29185 * config.make.in (localstatedir): New variable, substituted from
29186 libc_cv_localstatedir.
29187 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29188 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29189 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29190 * sysdeps/gnu/configure: Regenerated.
29192 2012-06-21 Jeff Law <law@redhat.com>
29195 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29196 free. Simplify list management for _LIBC case.
29198 2012-06-21 Joseph Myers <joseph@codesourcery.com>
29201 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29202 Clear sign bit of 64-bit integer value before comparing against
29205 * sysdeps/mach/configure: Regenerated.
29207 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29210 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29212 2012-06-21 Jeff Law <law@redhat.com>
29215 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29216 uint16_t for elements in the "seen" array to avoid char overflows.
29217 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29218 * elf/dl-open.c (dl_open_worker): Likewise.
29220 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29222 * scripts/list-sources.sh: Scan PORTS for translations.
29223 * po/libc.pot: Regenerated.
29225 2012-06-21 Andreas Jaeger <aj@suse.de>
29228 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29230 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29231 * bits/byteswap-16.h (__bswap_16): Likewise.
29232 * bits/byteswap.h (__bswap_constant_16): Likewise.
29234 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29237 * sysdeps/i386/fpu_control.h: Removed.
29238 * sysdeps/x86_64/fpu_control.h: Moved to ...
29239 * sysdeps/x86/fpu_control.h: Here.
29241 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29242 (_FPU_SETCW): Likewise.
29244 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29247 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29248 * sysdeps/x86/fpu/bits/mathinline.h: This.
29249 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29253 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29254 functions if __x86_64__ is defined.
29256 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29258 * string/endian.h: Add !__ASSEMBLER__ condition for including
29259 conversion interfaces.
29261 2012-06-15 Joseph Myers <joseph@codesourcery.com>
29264 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29265 of ABS(x) in calculating zero to negative powers other than odd
29267 * math/libm-test.inc (pow_test): Add more tests.
29269 2012-06-15 Andreas Jaeger <aj@suse.de>
29271 * manual/contrib.texi (Contributors): Update entry of Liubov
29272 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29275 2012-06-15 Cyril Hrubis <metan@ucw.cz>
29277 * string/string.h: Add __wur to GNU version of strerror_r.
29279 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29282 * string/Makefile (tests): Add tst-strtok_r.
29283 * string/tst-strtok_r.c: New file.
29284 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29285 RAX_LP/RDX_LP on SAVE_PTR.
29287 2012-06-14 Roland McGrath <roland@hack.frob.com>
29289 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29291 2012-06-14 Joseph Myers <joseph@codesourcery.com>
29293 * libm_test.inc (csqrt_test): Allow more spurious underflow
29295 (j0_test): Likewise.
29296 (j1_test): Likewise.
29297 (y0_test): Likewise.
29298 (y1_test): Likewise.
29300 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29302 * po/Makefile (libc.pot): Use UTF-8 charset.
29304 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29307 Suppress sign-conversion warning from FD_SET.
29308 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29309 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29310 not unsigned long int.
29311 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29313 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29317 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29318 __extern_always_inline instead of __extern_inline.
29319 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29320 (__signbit): Likewise.
29321 (__signbitl): Support C++ namespace.
29322 (lrintf): New inline function.
29324 (llrintf): Likewise.
29325 (llrint): Likewise.
29335 (floorf): Likewise.
29336 (nearbyint): Likewise.
29337 (nearbyintf): Likewise.
29339 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29341 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29342 non-default versions.
29344 2012-06-11 Roland McGrath <roland@hack.frob.com>
29347 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29349 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29351 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29352 (FE_UPWARD, FE_DOWNWARD): Don't define.
29353 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29354 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29356 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29358 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29359 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29361 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29363 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29364 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29365 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29366 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29368 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29371 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29372 * sysdeps/i386/fpu/Implies: New file.
29373 * sysdeps/x86_64/fpu/Implies: Likewise.
29374 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29375 * sysdeps/x86/fpu/bits/fenv.h: This.
29377 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29380 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29383 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29384 character 0xffff that matches the last element of the
29387 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29389 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29392 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29394 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29395 values higher than 25.6283.
29397 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29399 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29400 subnormal exponent extraction and add some __builtin_expect.
29401 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29402 Fix for subnormal mantissa calculation.
29404 2012-06-04 Mike Frysinger <vapier@gentoo.org>
29406 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29407 cpu2 is -1 and errno is not ENOSYS.
29409 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29412 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29413 * sysdeps/x86/bits/string.h: This.
29414 * sysdeps/x86_64/bits/string.h: Removed.
29416 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29417 if not compiling for x86-64, but compiling for >= i486.
29419 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29420 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29422 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29423 New macro from Linux kernel 3.4.0.
29424 (FP_XSTATE_MAGIC2): Likewise.
29425 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29426 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29427 (struct _fpx_sw_bytes): New struct.
29428 (struct _xsave_hdr): Likewise.
29429 (struct _ymmh_state): Likewise.
29430 (struct _xstate): Likewise.
29432 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29433 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29434 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29435 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29436 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29437 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29439 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29440 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29441 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29442 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29443 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29444 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29446 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29449 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29450 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29451 (sysdep_headers): Include sys/platform/ppc.h.
29452 * sysdeps/powerpc/test-gettimebase.c: Test for
29453 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29454 * manual/Makefile (appendices): Include platform.texi.
29455 * manual/contrib.texi (Contributors): Update @node pointers.
29456 * manual/maint.texi (Maintenance): Likewise.
29457 (Platform): New node.
29458 * manual/platform.texi: New file. Document the new features.
29460 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29461 Jakub Jelinek <jakub@redhat.com>
29464 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29465 where __builtin_expect is unavailable.
29467 2012-06-03 David S. Miller <davem@davemloft.net>
29469 * stdlib/longlong.h: Updated from GCC.
29471 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29474 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29475 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29478 (GLIBC_2.16): Likewise.
29480 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29482 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29484 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29487 (default-abi): New variable.
29488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29489 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29491 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29493 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29495 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29498 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29499 definition. Document in comment.
29501 2012-06-01 David S. Miller <davem@davemloft.net>
29503 * stdlib/longlong.h: Updated from GCC.
29505 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29508 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29509 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29510 sys/debugreg.h sys/io.h here.
29511 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29512 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29514 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29515 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29516 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29517 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29518 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29519 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29521 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29522 Define only if __x86_64__ is defined.
29524 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29527 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29528 Use int64_t for variable i.
29529 * math/libm-test.inc (fmod_test): Add more tests.
29531 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29532 z computation is not scheduled after fetestexcept.
29533 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29534 Use math_force_eval instead of asm to ensure calculation scheduled
29535 before exception test.
29536 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29537 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29539 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29542 computation is not scheduled after fetestexcept.
29544 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29547 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29548 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29550 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29552 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29553 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29555 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29558 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29560 (__WCHAR_MIN): Support __WORDSIZE == 64.
29561 (__WCHAR_MAX): Likewise.
29563 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29564 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29567 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29568 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29571 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29572 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29574 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29575 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29577 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29578 Defined to 1 if __x86_64__ isn't defined.
29579 (_STAT_VER_LINUX_OLD): New.
29580 (st_atime): Remove duplicate.
29581 (st_mtime): Likewise.
29582 (st_ctime): Likewise.
29584 2012-05-31 David S. Miller <davem@davemloft.net>
29586 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29589 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29591 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29595 * elf/dl-reloc.c: Include <_itoa.h>.
29596 (_dl_reloc_bad_type): Remove use of INTUSE.
29597 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29598 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29599 * stdio-common/psiginfo.c (psiginfo): Likewise.
29600 * stdio-common/psignal.c (psignal): Likewise.
29601 * string/strsignal.c (strsignal): Likewise.
29602 * include/signal.h (_sys_siglist): Declare hidden proto.
29603 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29604 INTVARDEF with libc_hidden_data_def.
29605 * stdio-common/itoa-udigits.c: Likewise.
29606 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29607 (_itoa_lower_digits_internal): Remove declaration.
29608 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29609 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29610 (_sys_sigabbrev_internal): Remove aliases.
29611 (_sys_siglist): Define hidden alias.
29613 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29615 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29618 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29621 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29622 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29624 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29625 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29626 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29627 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29628 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29629 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29631 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29632 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29633 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29635 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29643 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29644 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29645 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29647 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29648 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29649 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29650 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29651 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29652 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29654 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29655 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29657 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29658 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29660 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29661 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29662 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29664 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29665 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29667 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29669 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29670 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29671 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29673 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29675 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29677 2012-05-31 Joseph Myers <joseph@codesourcery.com>
29679 * math/math.h (M_El): Use two more decimal places.
29680 (M_LOG2El): Likewise.
29681 (M_LOG10El): Likewise.
29682 (M_LN2l): Likewise.
29683 (M_LN10l): Likewise.
29685 (M_PI_2l): Likewise.
29686 (M_PI_4l): Likewise.
29687 (M_1_PIl): Likewise.
29688 (M_2_PIl): Likewise.
29689 (M_2_SQRTPIl): Likewise.
29690 (M_SQRT2l): Likewise.
29691 (M_SQRT1_2l): Likewise.
29693 2012-05-31 David S. Miller <davem@davemloft.net>
29695 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29696 values between float registers.
29697 * sysdeps/sparc/sparc64/memset.S: Likewise.
29698 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29700 2012-05-31 Mike Frysinger <vapier@gentoo.org>
29702 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29703 -D_FORTIFY_SOURCE=1.
29704 (CPPFLAGS-tst-longjmp_chk.c): Define.
29705 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29706 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29707 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29708 CFLAGS-tst-wchar-h.c.
29710 2012-05-31 Marek Polacek <polacek@redhat.com>
29713 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29714 __endmntent_internal): Remove declaration.
29715 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29716 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29717 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29719 2012-05-30 David S. Miller <davem@davemloft.net>
29721 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29722 (___Q_simulate_exceptions): Use real FP ops rather than writing
29724 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29727 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29730 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29731 * sysdeps/x86/bits/xtitypes.h: This.
29733 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29734 * sysdeps/x86/bits/wordsize.h: This.
29736 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29737 * sysdeps/x86/bits/huge_vall.h: This.
29739 * sysdeps/i386/bits/select.h: Removed.
29740 * sysdeps/x86_64/bits/select.h: Renamed to ...
29741 * sysdeps/x86/bits/select.h: This.
29743 * sysdeps/i386/bits/setjmp.h: Removed.
29744 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29745 * sysdeps/x86/bits/setjmp.h: This.
29747 * sysdeps/i386/bits/mathdef.h: Removed.
29748 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29749 * sysdeps/x86/bits/mathdef.h: This.
29751 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29754 * include/sys/socket.h (__connect_internal)
29755 (__libc_sa_len_internal): Remove declaration.
29756 (__connect, __libc_sa_len): Declare hidden_proto.
29757 (SA_LEN): Remove use of INTUSE.
29758 * socket/connect.c: Add libc_hidden_def.
29759 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29760 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29761 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29763 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29764 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29765 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29766 of adding _internal alias.
29768 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29771 * sysdeps/i386/bits/link.h: Removed.
29772 * sysdeps/i386/bits/linkmap.h: Likewise.
29773 * sysdeps/x86_64/bits/link.h: Renamed to ...
29774 * sysdeps/x86/bits/link.h: This.
29775 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29776 * sysdeps/x86/bits/linkmap.h: This.
29778 * sysdeps/i386/bits/endian.h: Removed.
29779 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29780 * sysdeps/x86/bits/endian.h: This.
29782 * sysdeps/i386/bits/byteswap.h: Removed.
29783 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29784 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29785 * sysdeps/x86/bits/byteswap.h: This.
29786 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29787 * sysdeps/x86/bits/byteswap-16.h: This.
29788 * sysdeps/i386/Implies: Add x86.
29789 * sysdeps/x86_64/Implies: Likewise.
29791 2012-05-30 David S. Miller <davem@davemloft.net>
29793 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29794 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29795 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29796 (FP_TRAPPING_EXCEPTIONS): Define.
29797 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29798 (FP_TRAPPING_EXCEPTIONS): Define.
29799 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29800 subnormals only when inexact has been signalled or underflow
29801 exceptions are enabled.
29802 (_FP_PACK_CANONICAL): Likewise.
29804 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29807 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29808 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29810 2012-05-30 Richard Henderson <rth@twiddle.net>
29812 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29813 with #ifndef NOT_IN_libc.
29815 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29816 marked to avoid plt entry.
29818 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29821 * Makeconfig (default-abi): New macro.
29822 (abi-includes): Likewise.
29823 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29824 $(abi-$(default-abi)-lib-soname) for soname if defined.
29825 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29827 * Makefile (installed-stubs): Likewise.
29828 * include/stubs-biarch.h: Removed.
29829 * scripts/lib-names.awk: Only handle one library at a time.
29830 * scripts/soversions.awk: Remove WORDSIZE support.
29831 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29833 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29835 (syscall-list-default-condition): Likewise.
29836 (syscall-list-default-condition): Likewise.
29837 (syscall-list-includes): Likewise.
29838 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29839 syscall-list-* with abi-*. Handle undefined abi-variants.
29840 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29841 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29842 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29843 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29844 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29845 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29847 (syscall-list-32-options): Likewise.
29848 (syscall-list-32-condition): Likewise.
29849 (syscall-list-64-options): Likewise.
29850 (syscall-list-64-condition): Likewise.
29851 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29853 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29856 (abi-64-ld-soname): New macro.
29857 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29858 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29861 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29862 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29864 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29866 * sysdeps/unix/sysv/linux/kernel-features.h
29867 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29868 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29869 include <kernel-features.h>.
29870 [!__NR_ftruncate64]: Remove conditional code.
29871 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29872 [__NR_ftruncate64]: Make code unconditional.
29873 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29874 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29875 include <kernel-features.h>.
29876 [!__NR_ftruncate64]: Remove conditional code.
29877 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29878 [__NR_ftruncate64]: Make code unconditional.
29879 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29881 include <kernel-features.h>.
29882 [!__NR_ftruncate64]: Remove conditional code.
29883 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29884 [__NR_ftruncate64]: Make code unconditional.
29885 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29887 include <kernel-features.h>.
29888 [!__NR_ftruncate64]: Remove conditional code.
29889 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29890 [__NR_ftruncate64]: Make code unconditional.
29891 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29893 * configure.in (libc_cv_fpie): Weaken to a compile test using
29894 LIBC_TRY_CC_OPTION.
29895 * configure: Regenerated.
29897 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29912 2012-05-27 David S. Miller <davem@davemloft.net>
29914 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29916 (__Q_simulate_exceptions): Return void. Change to simulate
29917 exceptions by writing into the %fsr.
29918 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29919 (__Qp_handle_exceptions): Likewise.
29921 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29922 __Qp_handle_exceptions.
29923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29924 __Qp_handle_exceptions.
29925 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29926 as unused and give dummy FP_RND_NEAREST initializer.
29927 (FP_INHIBIT_RESULTS): Define.
29928 (___Q_simulate_exceptions): Update declaration.
29929 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29931 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29932 as unused and give dummy FP_RND_NEAREST initializer.
29933 (__Qp_handle_exceptions): Update declaration.
29934 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29937 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29939 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29940 the temporary FPU control word.
29941 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29942 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29943 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29944 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29945 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29946 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29947 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29948 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29949 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29950 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29951 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29953 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29955 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29958 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29960 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29961 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29962 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29963 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29965 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29966 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29969 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29971 * po/h.po: Update from translation team.
29973 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29975 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29977 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29978 handling of denormals.
29979 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29980 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29981 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29982 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29983 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29984 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29988 2012-05-26 Marek Polacek <polacek@redhat.com>
29991 * math/libm-test.inc (fma_test): Don't always expect underflow
29994 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29997 * elf/tst-execstack.c: Include stackinfo.h.
29998 (do_test): Adjust test case to ensure that pthread_getattr_np
29999 behaviour remains the same after marking stack executable.
30001 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30003 * sysdeps/unix/sysv/linux/kernel-features.h
30004 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30005 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30007 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30008 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30009 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30011 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30012 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30014 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30016 * configure.in: Define the default includes to being none.
30017 * configure: Regenerated.
30019 2012-05-25 Roland McGrath <roland@hack.frob.com>
30021 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30022 * sysdeps/x86_64/setjmp.S: Likewise.
30023 * sysdeps/i386/bsd-setjmp.S: Likewise.
30024 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30025 * sysdeps/i386/setjmp.S: Likewise.
30026 * sysdeps/i386/__longjmp.S: Likewise.
30027 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30028 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30030 * include/stap-probe.h: New file.
30031 * configure.in: Handle --enable-systemtap.
30032 * configure: Regenerated.
30033 * config.h.in (USE_STAP_PROBE): New #undef.
30034 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30035 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30036 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30038 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30041 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30042 to 2.4.0 where earlier.
30043 * sysdeps/unix/sysv/linux/configure: Regenerated.
30044 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30045 <kernel-features.h>.
30046 [__ASSUME_32BITUIDS]: Make code unconditional.
30047 [!__ASSUME_32BITUIDS]: Remove conditional code.
30048 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30049 <kernel-features.h>.
30050 [__ASSUME_32BITUIDS]: Make code unconditional.
30051 [!__ASSUME_32BITUIDS]: Remove conditional code.
30052 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30053 [__ASSUME_32BITUIDS]: Make code unconditional.
30054 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30055 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30056 <kernel-features.h>.
30057 [__ASSUME_32BITUIDS]: Make code unconditional.
30058 [!__ASSUME_32BITUIDS]: Remove conditional code.
30059 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30060 <kernel-features.h>.
30061 [__ASSUME_32BITUIDS]: Make code unconditional.
30062 [!__ASSUME_32BITUIDS]: Remove conditional code.
30063 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30064 <kernel-features.h>.
30065 [__ASSUME_32BITUIDS]: Make code unconditional.
30066 [!__ASSUME_32BITUIDS]: Remove conditional code.
30067 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30068 <kernel-features.h>.
30069 [__ASSUME_32BITUIDS]: Make code unconditional.
30070 [!__ASSUME_32BITUIDS]: Remove conditional code.
30071 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30072 <kernel-features.h>.
30073 [__ASSUME_32BITUIDS]: Make code unconditional.
30074 [!__ASSUME_32BITUIDS]: Remove conditional code.
30075 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30076 <kernel-features.h>.
30077 [__ASSUME_32BITUIDS]: Make code unconditional.
30078 [!__ASSUME_32BITUIDS]: Remove conditional code.
30079 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30080 <kernel-features.h>.
30081 [__ASSUME_32BITUIDS]: Make code unconditional.
30082 [!__ASSUME_32BITUIDS]: Remove conditional code.
30083 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30084 <kernel-features.h>.
30085 [__ASSUME_32BITUIDS]: Make code unconditional.
30086 [!__ASSUME_32BITUIDS]: Remove conditional code.
30087 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30088 <kernel-features.h>.
30089 [__ASSUME_32BITUIDS]: Make code unconditional.
30090 [!__ASSUME_32BITUIDS]: Remove conditional code.
30091 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30092 <kernel-features.h>.
30093 [__ASSUME_32BITUIDS]: Make code unconditional.
30094 [!__ASSUME_32BITUIDS]: Remove conditional code.
30095 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30096 <kernel-features.h>.
30097 [__NR_setresgid] (__setresgid): Do not declare.
30098 [__ASSUME_32BITUIDS]: Make code unconditional.
30099 [!__ASSUME_32BITUIDS]: Remove conditional code.
30100 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30101 <kernel-features.h>.
30102 [__NR_setresuid] (__setresuid): Do not declare.
30103 [__ASSUME_32BITUIDS]: Make code unconditional.
30104 [!__ASSUME_32BITUIDS]: Remove conditional code.
30105 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30106 <kernel-features.h>.
30107 [__ASSUME_32BITUIDS]: Make code unconditional.
30108 [!__ASSUME_32BITUIDS]: Remove conditional code.
30109 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30110 <kernel-features.h>.
30111 [__ASSUME_32BITUIDS]: Make code unconditional.
30112 [!__ASSUME_32BITUIDS]: Remove conditional code.
30113 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30114 <kernel-features.h>.
30115 [__ASSUME_32BITUIDS]: Make code unconditional.
30116 [!__ASSUME_32BITUIDS]: Remove conditional code.
30117 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30118 <kernel-features.h>.
30119 [__ASSUME_32BITUIDS]: Make code unconditional.
30120 [!__ASSUME_32BITUIDS]: Remove conditional code.
30121 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30122 <kernel-features.h>.
30123 [__ASSUME_32BITUIDS]: Make code unconditional.
30124 [!__ASSUME_32BITUIDS]: Remove conditional code.
30125 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30126 <kernel-features.h>.
30127 [__ASSUME_32BITUIDS]: Make code unconditional.
30128 [!__ASSUME_32BITUIDS]: Remove conditional code.
30129 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30130 <kernel-features.h>.
30131 [__ASSUME_32BITUIDS]: Make code unconditional.
30132 [!__ASSUME_32BITUIDS]: Remove conditional code.
30133 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30134 <kernel-features.h>.
30135 [__ASSUME_32BITUIDS]: Make code unconditional.
30136 [!__ASSUME_32BITUIDS]: Remove conditional code.
30137 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30138 <kernel-features.h>.
30139 [__ASSUME_32BITUIDS]: Make code unconditional.
30140 [!__ASSUME_32BITUIDS]: Remove conditional code.
30141 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30142 <kernel-features.h>.
30143 [__ASSUME_32BITUIDS]: Make code unconditional.
30144 [!__ASSUME_32BITUIDS]: Remove conditional code.
30145 * sysdeps/unix/sysv/linux/kernel-features.h
30146 (__ASSUME_SETRESUID_SYSCALL): Remove.
30147 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30148 (__ASSUME_32BITUIDS): Likewise.
30149 (__ASSUME_LDT_WORKS): Likewise.
30150 (__ASSUME_O_DIRECTORY): Likewise.
30151 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30152 architecture but not kernel version.
30153 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30154 (__ASSUME_MMAP2_SYSCALL): Likewise.
30155 (__ASSUME_STAT64_SYSCALL): Likewise.
30156 (__ASSUME_IPC64): Likewise.
30157 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30158 <kernel-features.h>.
30159 [__ASSUME_32BITUIDS]: Make code unconditional.
30160 [!__ASSUME_32BITUIDS]: Remove conditional code.
30161 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30162 <kernel-features.h>.
30163 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30164 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30165 132096]: Remove conditional code.
30166 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30167 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30168 <kernel-features.h>.
30169 [__ASSUME_32BITUIDS]: Make code unconditional.
30170 [!__ASSUME_32BITUIDS]: Remove conditional code.
30171 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30172 <kernel-features.h>.
30173 [__ASSUME_32BITUIDS]: Make code unconditional.
30174 [!__ASSUME_32BITUIDS]: Remove conditional code.
30175 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30176 <kernel-features.h>.
30177 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30179 (__setresgid): Do not declare.
30180 [__ASSUME_32BITUIDS]: Make code unconditional.
30181 [!__ASSUME_32BITUIDS]: Remove conditional code.
30182 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30183 <kernel-features.h>.
30184 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30186 (__setresuid): Do not declare.
30187 [__ASSUME_32BITUIDS]: Make code unconditional.
30188 [!__ASSUME_32BITUIDS]: Remove conditional code.
30189 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30190 <kernel-features.h>.
30191 [__ASSUME_32BITUIDS]: Make code unconditional.
30192 [!__ASSUME_32BITUIDS]: Remove conditional code.
30193 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30194 <kernel-features.h>.
30195 [__ASSUME_32BITUIDS]: Make code unconditional.
30196 [!__ASSUME_32BITUIDS]: Remove conditional code.
30198 2012-05-25 Richard Henderson <rth@twiddle.net>
30200 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30201 dl_hwcap to ifunc resolver.
30202 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30204 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30205 dl_hwcap to ifunc resolver.
30206 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30208 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30211 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30212 for |x| <= 2**-26, not 2**-57.
30213 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30216 2012-05-24 Jeff Law <law@redhat.com>
30218 * stdio-common/Makefile (tests): Add bug25.
30219 * stdio-common/bug25.c: New test.
30221 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30224 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30225 multiple of MALLOC_ALIGNMENT in size.
30226 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30228 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30230 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30232 (FILENAME_MAX): Use macro-int-constant.
30233 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30234 (_IOFBF): Use macro-int-constant.
30235 (_IOLBF): Likewise.
30236 (_IONBF): Likewise.
30237 (SEEK_CUR): Likewise.
30238 (SEEK_END): Likewise.
30239 (SEEK_SET): Likewise.
30240 (TMP_MAX): Likewise.
30241 (EOF): Use macro-int-constant. Require < 0.
30242 (NULL): Use macro-constant. Require == 0.
30243 (stdin): Require type to be FILE *.
30244 (stdout): Likewise.
30245 (stderr): Likewise.
30246 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30247 macro-int-constant.
30248 (EXIT_SUCCESS): Likewise.
30249 (NULL): Use macro-constant. Require == 0.
30250 (RAND_MAX): Use macro-int-constant.
30251 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30252 [C99-based standards] (strtof): Require function.
30253 [C99-based standards] (strtold): Likewise.
30254 [C99-based standards] (strtoll): Likewise.
30255 [C99-based standards] (strtoull): Likewise.
30256 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30257 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30258 [ISO || ISO99 || ISO11] (math.h): Likewise.
30259 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30260 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30261 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30263 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30266 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30267 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30268 * intl/dgettext.c (DCGETTEXT): Likewise.
30269 * intl/gettext.c (DCGETTEXT): Likewise.
30270 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30271 * posix/regex_internal.h (gettext): Likewise.
30272 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30273 Remove declaration.
30274 * include/argz.h (__argz_count_internal)
30275 (__argz_stringify_internal): Remove declaration.
30276 (__argz_count, __argz_stringify): Declare hidden proto.
30277 * intl/dcgettext.c: Remove use of INTDEF.
30278 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30279 * string/argz-stringify.c: Likewise.
30280 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30281 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30282 Declare hidden proto.
30283 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30284 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30285 Declare hidden proto.
30286 * include/stdio.h (__asprintf_internal): Don't declare.
30287 (__asprintf): Don't define as macro. Declare hidden proto.
30288 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30289 (__fsetlocking): Declare hidden proto.
30290 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30291 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30293 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30294 (_IO_setlinebuf): Remove use of INTUSE.
30295 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30296 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30297 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30298 Remove declaration.
30299 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30300 (_IO_do_flush): Remove use of INTUSE.
30301 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30302 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30303 (_IO_adjust_column, _IO_least_wmarker)
30304 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30305 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30306 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30307 (_IO_default_doallocate, _IO_wdefault_doallocate)
30308 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30309 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30310 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30311 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30312 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30313 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30314 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30315 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30316 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30317 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30318 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30319 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30320 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30322 (_IO_flush_all_internal, _IO_adjust_column_internal)
30323 (_IO_default_uflow_internal, _IO_default_finish_internal)
30324 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30325 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30326 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30327 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30328 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30329 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30330 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30331 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30332 (_IO_file_close_internal, _IO_file_close_it_internal)
30333 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30334 (_IO_file_init_internal, _IO_file_attach_internal)
30335 (_IO_file_fopen_internal, _IO_file_read_internal)
30336 (_IO_file_sync_internal, _IO_file_seek_internal)
30337 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30338 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30339 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30340 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30341 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30342 (_IO_list_all_internal, _IO_link_in_internal)
30343 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30344 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30345 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30346 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30347 (_IO_do_write_internal, _IO_padn_internal)
30348 (_IO_getline_info_internal, _IO_getline_internal)
30349 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30350 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30351 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30352 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30353 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30354 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30355 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30356 with libc_hidden_ver, remove use of INTUSE.
30357 * libio/genops.c: Likewise.
30358 * libio/freopen.c: Likewise.
30359 * libio/freopen64.c: Likewise.
30360 * libio/iofclose.c: Likewise.
30361 * libio/iofdopen.c: Likewise.
30362 * libio/iofflush.c: Likewise.
30363 * libio/iofflush_u.c: Likewise.
30364 * libio/iofgets.c: Likewise.
30365 * libio/iofgets_u.c: Likewise.
30366 * libio/iofopen.c: Likewise.
30367 * libio/iofopncook.c: Likewise.
30368 * libio/iofread.c: Likewise.
30369 * libio/iofread_u.c: Likewise.
30370 * libio/ioftell.c: Likewise.
30371 * libio/iofwrite.c: Likewise.
30372 * libio/iogetline.c: Likewise.
30373 * libio/iogets.c: Likewise.
30374 * libio/iogetwline.c: Likewise.
30375 * libio/iopadn.c: Likewise.
30376 * libio/iopopen.c: Likewise.
30377 * libio/ioseekoff.c: Likewise.
30378 * libio/ioseekpos.c: Likewise.
30379 * libio/iosetbuffer.c: Likewise.
30380 * libio/iosetvbuf.c: Likewise.
30381 * libio/ioungetc.c: Likewise.
30382 * libio/ioungetwc.c: Likewise.
30383 * libio/iovdprintf.c: Likewise.
30384 * libio/iovsprintf.c: Likewise.
30385 * libio/iovsscanf.c: Likewise.
30386 * libio/memstream.c: Likewise.
30387 * libio/obprintf.c: Likewise.
30388 * libio/oldfileops.c: Likewise.
30389 * libio/oldiofclose.c: Likewise.
30390 * libio/oldiofdopen.c: Likewise.
30391 * libio/oldiofopen.c: Likewise.
30392 * libio/oldiopopen.c: Likewise.
30393 * libio/oldstdfiles.c: Likewise.
30394 * libio/putc.c: Likewise.
30395 * libio/setbuf.c: Likewise.
30396 * libio/setlinebuf.c: Likewise.
30397 * libio/stdfiles.c: Likewise.
30398 * libio/strops.c: Likewise.
30399 * libio/vasprintf.c: Likewise.
30400 * libio/vscanf.c: Likewise.
30401 * libio/vsnprintf.c: Likewise.
30402 * libio/vswprintf.c: Likewise.
30403 * libio/wfiledoalloc.c: Likewise.
30404 * libio/wfileops.c: Likewise.
30405 * libio/wgenops.c: Likewise.
30406 * libio/wmemstream.c: Likewise.
30407 * libio/wstrops.c: Likewise.
30408 * libio/__fpurge.c: Likewise.
30409 * libio/__fsetlocking.c: Likewise.
30410 * assert/assert.c: Likewise.
30411 * debug/fgets_chk.c: Likewise.
30412 * debug/fgets_u_chk.c: Likewise.
30413 * debug/fread_chk.c: Likewise.
30414 * debug/fread_u_chk.c: Likewise.
30415 * debug/gets_chk.c: Likewise.
30416 * debug/obprintf_chk.c: Likewise.
30417 * debug/vasprintf_chk.c: Likewise.
30418 * debug/vdprintf_chk.c: Likewise.
30419 * debug/vsnprintf_chk.c: Likewise.
30420 * debug/vsprintf_chk.c: Likewise.
30421 * malloc/mtrace.c: Likewise.
30422 * misc/error.c: Likewise.
30423 * misc/syslog.c: Likewise.
30424 * stdio-common/asprintf.c: Likewise.
30425 * stdio-common/fxprintf.c: Likewise.
30426 * stdio-common/getw.c: Likewise.
30427 * stdio-common/isoc99_fscanf.c: Likewise.
30428 * stdio-common/isoc99_scanf.c: Likewise.
30429 * stdio-common/isoc99_vfscanf.c: Likewise.
30430 * stdio-common/isoc99_vscanf.c: Likewise.
30431 * stdio-common/isoc99_vsscanf.c: Likewise.
30432 * stdio-common/printf-prs.c: Likewise.
30433 * stdio-common/printf_fp.c: Likewise.
30434 * stdio-common/printf_fphex.c: Likewise.
30435 * stdio-common/printf_size.c: Likewise.
30436 * stdio-common/putw.c: Likewise.
30437 * stdio-common/scanf.c: Likewise.
30438 * stdio-common/sprintf.c: Likewise.
30439 * stdio-common/tmpfile.c: Likewise.
30440 * stdio-common/vfprintf.c: Likewise.
30441 * stdio-common/vfscanf.c: Likewise.
30442 * stdlib/strfmon_l.c: Likewise.
30443 * sunrpc/openchild.c: Likewise.
30444 * sunrpc/xdr_stdio.c: Likewise.
30445 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30446 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30448 2012-05-24 Roland McGrath <roland@hack.frob.com>
30450 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30452 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30453 in the third column, to generate for the shared library an IFUNC
30454 that uses _dl_vdso_vsym.
30455 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30456 * Makeconfig (object-suffixes-noshared): New variable.
30458 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30459 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30460 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30461 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30464 * include/sys/time.h (__gettimeofday): Remove macro.
30465 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30466 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30468 (__gettimeofday): Add libc_hidden_def.
30469 (gettimeofday): Add libc_hidden_weak.
30470 * sysdeps/mach/gettimeofday.c: Likewise.
30471 * sysdeps/posix/gettimeofday.c: Likewise.
30472 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30473 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30474 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30475 (__gettimeofday_internal): Remove strong_alias.
30476 (__gettimeofday): Add libc_hidden_def.
30477 (gettimeofday): Add libc_hidden_weak.
30478 * sysdeps/unix/syscalls.list (gettimeofday):
30479 Remove __gettimeofday_internal alias.
30481 2012-05-24 Daniel Jacobowitz <drow@false.org>
30482 H.J. Lu <hongjiu.lu@intel.com>
30485 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30486 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30487 (largebin_index_32_big): New.
30488 (largebin_index): Use it for 16-byte alignment.
30489 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30490 correction with front_misalign.
30492 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30520 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30521 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30523 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30527 * math/libm-test.inc (exp_test): Add test from bug 14036.
30528 (pow_test): Add test from bug 10846.
30530 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30532 (special_function): Do not include flags in test name.
30533 (parse_args): Likewise.
30534 * sysdeps/i386/fpu/libm-test-ulps: Update.
30535 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30536 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30537 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30540 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30542 * math/libm-test.inc ("Philosophy"): Update comment about
30544 (UNDERFLOW_EXCEPTION): New macro.
30545 (UNDERFLOW_EXCEPTION_OK): Likewise.
30546 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30547 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30548 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30549 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30550 (INVALID_EXCEPTION_OK): Update value.
30551 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30552 (OVERFLOW_EXCEPTION_OK): Likewise.
30553 (IGNORE_ZERO_INF_SIGN): Likewise.
30554 (test_exceptions): Handle underflow exceptions.
30555 (acos_test): Update for underflow exception expectations.
30556 (cexp_test): Likewise.
30557 (clog_test): Likewise.
30558 (clog10_test): Likewise.
30559 (csqrt_test): Likewise.
30560 (ctan_test): Likewise.
30561 (ctanh_test): Likewise.
30562 (exp_test): Likewise.
30563 (exp10_test): Likewise.
30564 (exp2_test): Likewise.
30565 (expm1_test): Likewise.
30566 (fma_test): Likewise.
30567 (j0_test): Likewise.
30568 (jn_test): Likewise.
30569 (nexttoward_test): Likewise.
30570 (pow_test): Likewise.
30571 (scalbn_test): Likewise.
30572 (scalbln_test): Likewise.
30573 (tan_test): Likewise.
30574 (y1_test): Likewise.
30575 * sysdeps/i386/fpu/libm-test-ulps: Update.
30576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30578 2012-05-23 David S. Miller <davem@davemloft.net>
30580 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30581 (__libc_sigaction): Remove unused local variables.
30583 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30585 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30587 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30589 mktime: avoid signed integer overflow
30590 * time/mktime.c (__mktime_internal): Do not mishandle the case
30591 where diff == INT_MIN.
30593 mktime: simplify computation of average
30594 * time/mktime.c (ranged_convert): Use new time_t_avg function
30595 instead of rolling our own (probably-slower) code.
30597 mktime: do not assume signed right shift propagates sign bit
30598 * time/mktime.c (isdst_differ): New static function.
30599 (__mktime_internal): No need to normalize tm_isdst now.
30600 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30603 mktime: merge another wrapv change from gnulib
30604 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30605 from some compilers.
30607 mktime: remove incorrect attempt at unusual arithmetics
30608 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30609 The code didn't really work on such machines anyway.
30610 (TYPE_MINIMUM): Assume two's complement.
30611 (twos_complement_arithmetic): Verify that long_int and time_t
30612 are two's complement (or unsigned, in the latter case).
30614 mktime: check signed shifts on long_int and time_t, too
30615 * time/mktime.c (SHR): Check that shifts work as desired
30616 on the types long_int and time_t too, as SHR is used on
30619 mktime: do not assume 'long' is wide enough
30620 * time/mktime.c (verify): Move decl up.
30621 (long_int): New type.
30622 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30623 to remove assumption in the code that 'long' is wide enough to
30624 store year values. This assumption is not true on x32 and on
30625 some non-glibc platforms.
30627 mktime: merge wrapv change from gnulib
30628 * time/mktime.c (WRAPV): New macro.
30629 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30630 (guess_time_tm, __mktime_internal): Do not assume that signed
30631 integer overflow wraps around; modern compilers generate code
30632 where this assumption is no longer valid.
30634 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30636 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30637 Replace "jmp L(pseudo_end)" with "ret".
30638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30641 2012-05-23 Andreas Jaeger <aj@suse.de>
30643 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30644 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30646 2012-05-23 Andreas Jaeger <aj@suse.de>
30647 Maximilian Attems <max@stro.at>
30649 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30652 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30654 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30655 code so that pseudo_end is just ret and the stack pointer is
30656 correct also for static library in error case.
30658 2012-05-23 Joseph Myers <joseph@codesourcery.com>
30660 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30661 move to syscalls.list.
30662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30667 * manual/install.texi (Running make install): Do not mention Linux
30668 kernel version for which pt_chown is not needed.
30669 (Linux): Do not mention problems with nscd with 2.0 kernels.
30670 * INSTALL: Regenerated.
30672 2012-05-23 Andreas Jaeger <aj@suse.de>
30674 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30675 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30677 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30678 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30679 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30680 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30681 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30682 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30683 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30684 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30685 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30686 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30687 * sysdeps/unix/sysv/linux/bits/in.h
30688 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30690 2012-05-22 Roland McGrath <roland@hack.frob.com>
30692 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30693 (PREPARE_VERSION): Just use assert instead, it will be elided
30694 under [NDEBUG] anyway.
30696 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30698 * sysdeps/unix/sysv/linux/Makefile: Include
30699 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30700 (sysdep_routines): Remove sysctl.
30701 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30702 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30703 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30704 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30705 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30707 2012-05-22 Andreas Jaeger <aj@suse.de>
30709 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30710 that pseudo_end is just ret and the stack pointer is correct also
30711 for static library in error case.
30713 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30716 * nss/nsswitch.c (defconfig_entries): New variable.
30717 (__nss_database_lookup): Don't leak defconfig entries.
30718 (nss_parse_service_list): Don't leak on error paths.
30719 (free_database_entries): New function.
30720 (free_defconfig): New function.
30721 (free_mem): Move common code to free_database_entries.
30723 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30725 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30727 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30729 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30730 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30733 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30734 (INTERNAL_SYSCALL_TYPES): Likewise.
30735 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30736 (LOAD_REGS_TYPES_[1-6]): Likewise.
30737 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30738 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30740 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30742 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30743 copysignl for GLIBC_2_0.
30744 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30745 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30746 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30747 logbl for GLIBC_2_0.
30748 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30749 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30751 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30754 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30756 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30759 * time/mktime.c: Update copyright years.
30761 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30763 mktime: merge comment-quoting-style change from gnulib
30764 * time/mktime.c: Quote 'like this' in comments.
30765 The GNU coding standards suggest that we no longer quote `like this',
30766 as "`" and "'" are typically rendered asymmetrically nowadays.
30767 The typical gnulib style is to quote 'like this' when quoting
30768 code, and "like this" when quoting English.
30770 * time/mktime.c (compile-command): Add "-I.".
30772 mktime: merge mktime-internal.h change from gnulib
30773 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30775 mktime: merge time_r change from gnulib
30776 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30778 mktime: merge DEBUG change from gnulib
30779 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30780 case system <time.h> has a #define.
30782 mktime: merge <sys/types.h> change from gnulib
30783 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30784 since <time.t> is now guaranteed to define time_t.
30786 mktime: merge HAVE_CONFIG_H change from gnulib
30787 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30789 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30794 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30796 (struct rusage): Use anonymous union to pad each field to
30799 2012-05-21 David S. Miller <davem@davemloft.net>
30801 * Makefules (o-iterator): Remove .s cases.
30802 (compile-command.s): Delete.
30803 (COMPILE.s): Delete.
30804 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30806 2012-05-21 Joseph Myers <joseph@codesourcery.com>
30808 * configure.in (libc_cv_predef_stack_protector): Only consider
30809 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30810 * configure: Regenerated.
30812 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30815 New macro. Use R*LP on int and pointer.
30816 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30817 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30818 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30819 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30821 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30822 [__WORDSIZE_TIME64_COMPAT32] instead of
30823 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30824 (struct utmp): Likewise.
30825 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30826 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30828 (__WORDSIZE_TIME64_COMPAT32): This.
30829 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30830 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30831 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30832 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30833 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30834 (__WORDSIZE_TIME64_COMPAT32): New macro.
30836 2012-05-21 Andreas Jaeger <aj@suse.de>
30838 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30839 only if [SHARED]. Add prototype for __wcschr_ia32.
30841 2012-05-21 Roland McGrath <roland@hack.frob.com>
30843 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30844 of %rbp unmolested in the jmp_buf while mangling the low bits.
30845 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30846 unmolested high bits of %rbp while demangling the low bits.
30847 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30849 2012-05-21 Andreas Jaeger <aj@suse.de>
30851 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30852 * sunrpc/svc_simple.c: Use it for registerrpc.
30853 * sunrpc/xcrypt.c: Use it for passwd2des.
30855 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30857 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30859 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30860 Don't define if [__SYSCALL_WORDSIZE != 32].
30861 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30864 2012-05-21 Bruno Haible <bruno@clisp.org>
30865 Andreas Jaeger <aj@suse.de>
30867 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30868 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30869 inptr and inend for must_buffer_ch.
30870 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30871 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30872 * stdio-common/Makefile (tests): Remove bug15.
30873 (bug15-ENV): Remove macro.
30874 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30877 2012-05-19 Andreas Jaeger <aj@suse.de>
30878 Roland McGrath <roland@hack.frob.com>
30880 * manual/contrib.texi: Completely rewritten. It contains now an
30881 alphabetical list of contributors and their contributions.
30883 2012-05-21 Richard Henderson <rth@twiddle.net>
30885 * misc/getauxval.c (__getauxval): Use unsigned long int.
30886 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30887 (getauxval): Use unsigned long int.
30889 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30891 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30893 2012-05-21 Roland McGrath <roland@hack.frob.com>
30895 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30896 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30897 __alignof__ (long double).
30899 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30903 2012-05-20 Richard Henderson <rth@twiddle.net>
30905 * misc/getauxval.c: New file.
30906 * misc/sys/auxv.h: New file.
30907 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30908 (routines): Add getauxval.
30909 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30910 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30911 * elf/dl-sysdep.c (_dl_auxv): Remove.
30912 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30913 * elf/dl-support.c (_dl_auxv): New variable.
30914 (_dl_aux_init): Initialize it.
30915 * manual/startup.texi (Auxiliary Vector): New node.
30916 * sysdeps/generic/bits/hwcap.h: New file.
30917 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30918 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30919 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30920 * sysdeps/sparc/sysdep.h: ... here. Include it.
30921 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30922 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30928 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30934 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30938 2012-05-19 David S. Miller <davem@davemloft.net>
30940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30942 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30945 * math/s_ccosh.c: Include <float.h>
30946 (__ccosh): Avoid internal overflow calculating sinh and cosh
30947 values before multiplying by sin and cos values.
30948 * math/s_ccoshf.c: Likewise.
30949 * math/s_ccoshl.c: Likewise.
30950 * math/s_csin.c: Likewise.
30951 * math/s_csinf.c: Likewise.
30952 * math/s_csinl.c: Likewise.
30953 * math/s_csinh.c: Likewise.
30954 * math/s_csinhf.c: Likewise.
30955 * math/s_csinhl.c: Likewise.
30956 * math/libm-test.inc (ccos_test): Add more tests.
30957 (ccosh_test): Likewise.
30958 (csin_test): Likewise.
30959 (csinh_test): Likewise.
30960 * sysdeps/i386/fpu/libm-test-ulps: Update.
30961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30963 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30965 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30966 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30968 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30970 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30972 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30973 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30974 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30975 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30976 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30977 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30978 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30979 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30980 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30981 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30982 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30983 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30984 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30985 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30986 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30987 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30988 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30989 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30990 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30991 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30992 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30993 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30994 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30995 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30996 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30997 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30998 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30999 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31000 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31001 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31002 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31004 2012-05-18 Andreas Jaeger <aj@suse.de>
31006 * csu/.gitignore: Delete.
31008 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31010 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31011 (timex): Use __syscall_slong_t.
31013 2012-05-18 Andreas Jaeger <aj@suse.de>
31014 Carlos O'Donell <carlos_odonell@mentor.com>
31016 * manual/install.texi (Configuring and compiling): Update
31017 description about files modified in the source directory.
31018 * INSTALL: Regenerated.
31020 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31022 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31023 value. Use "or" to set return value to -1.
31024 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31025 negate return value.
31027 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31029 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31030 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31031 failure if the compiler has Graphite support disabled.
31032 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31034 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31035 (CFLAGS-memmove.c): Likewise.
31036 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31039 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31041 * sysdeps/x86_64/x32/_itoa.h: New file.
31043 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31044 getdents system call only if kernel and user dirents have the
31045 same d_ino and d_off.
31047 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31048 LLONG_MAX != LONG_MAX.
31049 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31050 (_fitoa_word): Likewise.
31052 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31054 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31055 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31056 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31058 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31059 include <bits/wordsize.h>. Check __x86_64__ instead of
31061 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31062 if __x86_64__ is defined. Use anonymous union on fpstate.
31064 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31067 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31069 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31070 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31071 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31072 Refer to _rtld_local_ro instead of _rtld_global_ro.
31073 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31075 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31077 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31079 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31080 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31081 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31083 * sysdeps/powerpc/powerpc32/dl-machine.c
31084 (__elf_machine_runtime_setup) [PROF]: Don't reference
31087 2012-05-18 Andreas Jaeger <aj@suse.de>
31089 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31090 function only available for GCCs before 3.4 since GCC 3.4
31091 introduced a builtin.
31093 (llrintf): Likewise.
31094 (llrint): Likewise.
31101 (nearbyint): Likewise.
31102 (nearbyintf): Likewise.
31106 (floorf): Likewise.
31108 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31110 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31111 on both fields and cast pointer to __syscall_ulong_t.
31113 * bits/types.h (__fsword_t): New type.
31114 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31115 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31116 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31117 (__FSWORD_T_TYPE): Likewise.
31118 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31119 (__FSWORD_T_TYPE): Likewise.
31120 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31121 (__FSWORD_T_TYPE): Likewise.
31122 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31123 (__FSWORD_T_TYPE): Likewise.
31124 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31125 __SWORD_TYPE with __fsword_t.
31126 (statfs64): Likewise.
31128 2012-05-17 David S. Miller <davem@davemloft.net>
31130 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31132 2012-05-17 Andreas Jaeger <aj@suse.de>
31134 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31137 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31139 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31141 2012-05-17 Andreas Jaeger <aj@suse.de>
31143 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31146 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31148 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31150 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31152 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31153 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31155 2012-05-17 Andreas Jaeger <aj@suse.de>
31156 Carlos O'Donell <carlos_odonell@mentor.com>
31159 * sysdeps/x86_64/multiarch/init-arch.h
31160 (bit_YMM_Usable): Rename to...
31161 (bit_AVX_Usable): ... this.
31162 (bit_FMA4_Usable): New macro.
31163 (bit_XMM_state): New macro.
31164 (bit_YMM_state): New macro.
31165 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31166 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31167 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31168 (CPUID_OSXSAVE): New macro.
31169 (CPUID_AVX): New macro.
31170 (CPUID_FMA4): New macro.
31171 (index_YMM_Usable): Rename to...
31172 (index_AVX_Usable): ... this.
31173 (HAS_AVX): Use HAS_ARCH_FEATURE.
31174 (HAS_FMA4): Likewise.
31175 (HAS_YMM_USABLE): Remove.
31176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31177 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31179 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31180 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31181 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31182 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31183 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31185 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31187 * math/libm-test.c: Support platforms without multiple rounding modes.
31188 * math/bug-nextafter.c: Support platforms without FP exceptions.
31189 * math/bug-nexttoward.c: Likewise.
31190 * math/test-fenv.c: Likewise.
31191 * math/test-misc.c: Likewise.
31192 * stdlib/bug-getcontext.c: Likewise.
31194 2012-05-17 Andreas Jaeger <aj@suse.de>
31196 * manual/examples/search.c (critter_cmp): Change signature to
31198 * manual/string.texi (Collation Functions): Likewise.
31200 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31202 * bits/types.h: Fold copyright years.
31203 * bits/typesizes.h: Likewise.
31204 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31205 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31207 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31208 * time/time.h: Likewise.
31210 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31213 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31214 in instead of returning them. Return void.
31215 (__libc_mallinfo): Accumulate over all arenas.
31216 (__malloc_stats): Adjust for change in int_mallinfo interface.
31218 2012-05-16 Roland McGrath <roland@hack.frob.com>
31221 * configure.in (NM): Add AC_CHECK_TOOL for it.
31222 (libc_extra_cflags): New substituted variable.
31223 Check for -fstack-protector being used implicitly.
31224 * configure: Regenerated.
31225 * config.make.in (config-extra-cflags): New variable,
31226 gets @libc_extra_cflags@.
31227 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31230 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31231 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31232 * configure: Regenerated.
31233 * config.make.in (CPPUNDEFS): New substituted variable.
31234 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31235 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31236 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31238 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31240 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31241 (mq_attr): Use __syscall_slong_t.
31243 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31245 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31246 Check __x86_64__ instead of __WORDSIZE.
31247 (_STAT_VER_LINUX): Likewise.
31248 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31249 __syscall_ulong_t and __syscall_slong_t.
31250 (stat64): Likewise.
31252 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31254 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31256 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31258 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31260 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31262 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31265 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31266 include <bits/wordsize.h>. Check __x86_64__ instead of
31268 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31270 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31272 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31273 include <bits/wordsize.h>. Check __x86_64__ instead of
31275 (user_regs_struct): Use "__extension__ unsigned long long"
31276 instead of "unsigned long" if __x86_64__ is defined.
31277 (user): Likewise. Pad after pointer field if __ILP32__ is
31280 2012-05-16 Joseph Myers <joseph@codesourcery.com>
31282 * configure.in (makeinfo): Require version 4.5 or later. Allow
31284 * configure: Regenerated.
31285 * manual/install.texi (texinfo): Increase version requirement to
31287 * INSTALL: Regenerated.
31289 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31291 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31293 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31295 * sysdeps/x86_64/x32/ffs.c: New file.
31297 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31299 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31300 defined. Use __syscall_ulong_t.
31301 (shminfo): Use __syscall_ulong_t.
31302 (shm_info): Likewise.
31304 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31307 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31309 (msgqnum_t): Use __syscall_ulong_t.
31310 (msglen_t): Likewise.
31311 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31314 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31315 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31317 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31319 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31320 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31322 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31325 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31326 include <bits/wordsize.h>. Check __x86_64__ instead of
31329 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31330 "unsigned long long int" if __x86_64__ is defined.
31331 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31333 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31334 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31335 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31337 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31339 (GET_PC): Cast to uintptr_t first.
31340 (GET_FRAME): Likewise.
31341 (GET_STACK): Likewise.
31343 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31344 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31345 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31346 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31347 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31348 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31349 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31350 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31351 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31352 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31353 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31354 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31355 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31356 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31357 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31358 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31359 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31360 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31361 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31362 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31363 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31364 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31365 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31366 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31367 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31368 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31369 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31370 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31371 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31373 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31375 * Makerules (+depfiles): Also collect depfiles from .oS in
31377 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31378 .oS, $(libnldbl-routines)).
31380 * Makerules (native-compile-mkdep-flags): Define.
31381 * sunrpc/Makefile (extra-objs): Add $(addprefix
31382 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31383 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31384 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31385 calling $(make-target-directory).
31387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31389 * bits/types.h (__snseconds_t): Removed.
31390 * time/time.h (struct timespec): Replace __snseconds_t with
31392 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31393 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31395 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31396 (__SNSECONDS_T_TYPE): Likewise.
31397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31398 (__SNSECONDS_T_TYPE): Likewise.
31399 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31400 (__SNSECONDS_T_TYPE): Likewise.
31402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31404 * sysdeps/mach/hurd/bits/typesizes.h
31405 (__SYSCALL_SLONG_TYPE): New macro.
31406 (__SYSCALL_ULONG_TYPE): Likewise.
31408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31410 * bits/types.h (__syscall_slong_t): New type.
31411 (__syscall_ulong_t): Likewise.
31413 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31414 (__SYSCALL_ULONG_TYPE): Likewise.
31415 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31416 (__SYSCALL_SLONG_TYPE): Likewise.
31417 (__SYSCALL_ULONG_TYPE): Likewise.
31418 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31419 (__SYSCALL_SLONG_TYPE): Likewise.
31420 (__SYSCALL_ULONG_TYPE): Likewise.
31421 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31422 (__SYSCALL_SLONG_TYPE): Likewise.
31423 (__SYSCALL_ULONG_TYPE): Likewise.
31425 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31427 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31428 Add sigaltstack-offsets.sym.
31429 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31430 <sigaltstack-offsets.h>.
31431 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31432 longjmp_msg pointer.
31433 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31434 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31436 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31438 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31440 * elf/stackguard-macros.h: Remove file.
31441 * sysdeps/generic/stackguard-macros.h: New file.
31442 * sysdeps/i386/stackguard-macros.h: Likewise.
31443 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31444 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31445 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31446 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31447 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31448 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31449 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31450 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31451 <elf/stackguard-macros.h>.
31454 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31455 __aligned__ in attribute.
31456 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31457 (gregset_t): Likewise.
31459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31461 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31462 * sysdeps/x86_64/64/Implies-after: Here. New file.
31463 * sysdeps/x86_64/x32/Implies-after: New file.
31465 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31467 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31468 and access return value for _dl_profile_fixup. Use R10_LP to
31471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31473 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31477 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31478 * sysdeps/x86_64/x32/sysdep.h: New file.
31480 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31482 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31483 * sysdeps/x86_64/setjmp.S: Likewise.
31485 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31487 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31488 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31489 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31490 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31491 remove unused global constant.
31493 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31495 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31496 include of <not-cancel.h>.
31498 2012-05-15 Roland McGrath <roland@hack.frob.com>
31500 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31502 2012-05-15 Jeff Law <law@redhat.com>
31503 Andreas Jaeger <aj@suse.de>
31506 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31508 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31509 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31510 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31511 code changing __hst_map_handle.map.
31513 2012-05-15 Roland McGrath <roland@hack.frob.com>
31515 * configure.in (sysnames): Look for Implies-before and Implies-after
31517 * configure: Regenerated.
31519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31521 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31522 8-byte data alignment with LP_SIZE alignment.
31524 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31526 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31531 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31535 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31536 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31537 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31539 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31543 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31544 (stackinfo_sub_sp): Likewise.
31546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31548 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31553 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31558 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31563 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31565 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31567 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31568 into R11_LP and load __x86_64_shared_cache_size_half into
31571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31573 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31576 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31578 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31580 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31582 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31584 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31585 powerpc32/power7/fpu/s_logb.c via #include.
31586 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31587 powerpc32/power7/fpu/s_logbf.c via #include.
31588 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31589 powerpc32/power7/fpu/s_logbl.c via #include.
31591 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31593 * README.libm: Remove file.
31595 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31597 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31598 count for x32. Use R*_LP and omit operand-size suffix.
31600 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31602 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31603 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31604 * sysdeps/x86_64/x32/shlib-versions: New file.
31606 2012-05-14 Roland McGrath <roland@hack.frob.com>
31608 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31609 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31610 Use _dl_fatal_printf instead.
31612 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31614 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31615 set if not set by the user. Do not allow for being unset.
31616 * sysdeps/unix/sysv/linux/configure: Regenerated.
31618 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31620 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31621 the `q' suffix from lea and replace .quad with ASM_ADDR.
31623 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31626 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31628 (PTR_DEMANGLE): Likewise.
31630 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31632 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31634 (ASM_ADDR): Likewise.
31635 (RAX_LP): Likewise.
31636 (RBP_LP): Likewise.
31637 (RBX_LP): Likewise.
31638 (RCX_LP): Likewise.
31639 (RDI_LP): Likewise.
31640 (RSI_LP): Likewise.
31641 (RSP_LP): Likewise.
31644 (R10_LP): Likewise.
31645 (R10_LP): Likewise.
31646 (R11_LP): Likewise.
31647 (R12_LP): Likewise.
31648 (R13_LP): Likewise.
31649 (R14_LP): Likewise.
31650 (R15_LP): Likewise.
31652 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31654 * sysdeps/x86_64/x32/dl-machine.h: New file.
31656 2012-05-14 Andreas Jaeger <aj@suse.de>
31658 * manual/Makefile (subdir): Remove export of subdir.
31659 (all): Remove target.
31660 (.PHONY): Remove all from list.
31661 (mkinstalldirs): Remove.
31662 (.PHONY): Remove installdirs from list.
31663 ($(inst_infodir)/libc.info): Use make-target-directory.
31664 (installdirs): Remove.
31665 (subdir_%): Remove.
31666 (glibc-targets): Remove.
31669 ($(objpfx)stubs ../po/manual.pot): Remove.
31670 ($(objpfx)stamp%): Remove.
31671 (make-target-directory): Remove.
31672 (subdir_install): Remove.
31673 (routines): Remove.
31680 * manual/.gitignore: Remove, it's not needed anymore.
31681 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31683 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31685 (texis): Renamed to $(objpfx)texis.
31686 (texis-path): New, contains path to generated files.
31687 (chapters.%): Use texis-path for complete path, add extra argument
31689 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31690 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31691 (summary,texi, stamp-summary): Use complete path of
31692 files. Generate files in build dir.
31693 (dir-add.texi): Build in build dir.
31694 (libm-err.texi,stamp-libm-err): Likewise.
31695 (version.texi, stamp-version): Likewise.
31696 (.%c.texi): Likewise.
31697 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31698 (mostlyclean): Remove target.
31699 (realclean): Remove target.
31700 (generated): Add new variable with contents from mostlyclean and
31701 realclean, remove entries duplicated in common-mostlyclean, add
31702 stamp-libm-err and stamp-version.
31703 (generated-dirs): Add libc directory.
31704 ($(inst_infodir)/libc.info): Install files from build dir.
31706 * manual/install.texi (Configuring and compiling): Adjust since
31707 the info files are not part of the tar ball anymore.
31709 2012-05-14 Andreas Jaeger <aj@suse.de>
31711 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31714 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31717 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31718 to 2.2.0 where earlier.
31719 * sysdeps/unix/sysv/linux/configure: Regenerated.
31720 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31721 Remove conditional code.
31722 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31723 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31724 Remove conditional code.
31725 [!__NR_lchown]: Likewise.
31726 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31727 [__NR_lchown]: Likewise.
31728 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31729 comment referencing __ASSUME_LCHOWN_SYSCALL.
31730 * sysdeps/unix/sysv/linux/i386/sigaction.c
31731 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31732 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31733 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31734 Remove conditional code.
31735 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31736 (__protocol_available): Remove #if 0 code.
31737 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31739 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31740 * sysdeps/unix/sysv/linux/kernel-features.h
31741 (__ASSUME_GETCWD_SYSCALL): Don't define.
31742 (__ASSUME_REALTIME_SIGNALS): Likewise.
31743 (__ASSUME_PREAD_SYSCALL): Likewise.
31744 (__ASSUME_PWRITE_SYSCALL): Likewise.
31745 (__ASSUME_POLL_SYSCALL): Likewise.
31746 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31747 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31749 (__ASSUME_SIOCGIFNAME): Don't define.
31750 (__ASSUME_MSG_NOSIGNAL): Likewise.
31751 (__ASSUME_SENDFILE): Define unconditionally.
31752 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31753 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31755 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31756 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31757 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31758 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31759 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31760 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31761 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31763 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31766 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31769 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31772 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31775 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31776 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31778 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31779 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31781 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31782 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31784 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31785 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31786 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31787 Remove conditional code.
31788 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31789 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31790 Remove conditional code.
31791 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31792 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31793 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31794 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31795 Remove conditional code.
31796 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31797 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31798 Remove conditional code.
31799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31800 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31801 Remove conditional code.
31802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31803 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31804 Remove conditional code.
31805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31806 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31807 Remove conditional code.
31808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31809 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31810 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31812 * sysdeps/unix/sysv/linux/sigaction.c
31813 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31814 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31815 * sysdeps/unix/sysv/linux/sigpending.c
31816 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31817 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31818 * sysdeps/unix/sysv/linux/sigprocmask.c
31819 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31820 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31821 * sysdeps/unix/sysv/linux/sigsuspend.c
31822 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31823 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31824 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31825 (__libc_missing_rt_sigs): Remove.
31826 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31827 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31828 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31829 Remove conditional code.
31830 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31831 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31833 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31834 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31835 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31836 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31838 2012-05-14 Andreas Jaeger <aj@suse.de>
31840 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31841 it's not used in glibc.
31842 (__coshm1): Likewise.
31843 (__acosh1p): Likewise.
31846 * manual/string.texi (Copying and Concatenation): Add missing
31847 variable in concat example.
31848 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31850 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31853 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31854 __builtin_clzl with __builtin_clzll.
31856 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31859 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31862 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31864 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31865 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31866 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31867 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31869 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31871 * NEWS: Update ia64 info.
31873 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31875 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31878 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31880 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31881 * sysdeps/unix/syscalls.list (dup3): Likewise.
31882 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31883 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31885 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31887 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31888 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31890 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31892 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31894 (TLS_IE): Use mov/add instead of movq/addq to load thread
31896 (TLS_GD_PREFIX): New.
31899 2012-05-11 David S. Miller <davem@davemloft.net>
31901 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31902 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31903 (_FPU_SETCW): Likewise.
31905 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31907 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31908 is 32-byte aligned.
31910 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31913 * iconvdata/gb18030.c: Update tables.
31914 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31915 characters specially.
31916 (BODY for TO_LOOP): Add encoding of missing ranges.
31918 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31921 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31922 * sysdeps/mach/hurd/dup3.c: Likewise.
31923 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31924 * sysdeps/powerpc/memmove.c:: Likewise.
31926 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31928 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31929 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31931 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31933 * elf/elf.h (R_X86_64_RELATIVE64): New.
31934 (R_X86_64_NUM): Updated.
31935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31936 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31937 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31938 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31939 tst-quad1pie tst-quad2pie
31940 (modules-names): Add tst-quadmod1 tst-quadmod2.
31941 ($(objpfx)tst-quad1): New dependency.
31942 ($(objpfx)tst-quad2): Likewise.
31943 ($(objpfx)tst-quad1pie): Likewise.
31944 ($(objpfx)tst-quad2pie): Likewise.
31945 * sysdeps/x86_64/tst-quad1.c: New file.
31946 * sysdeps/x86_64/tst-quad1pie.c: New file.
31947 * sysdeps/x86_64/tst-quad2.c: Likewise.
31948 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31949 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31950 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31951 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31952 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31954 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31956 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31957 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31958 * streams/stropts.h (t_scalar_t): Define type.
31960 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31961 (_PATH_PRESERVE): Set to "/var/lib".
31962 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31964 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31967 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31968 if __dir_mkfile succeeded.
31970 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31971 checking for _hurd_dtablesize. Unlock it right after having
31972 finished _hurd_dtable allocation.
31974 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31976 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31977 * sysdeps/mach/hurd/configure: Regenerated.
31978 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31979 special-casing to...
31980 * sysdeps/gnu/configure.in: ... this new file.
31981 * sysdeps/unix/sysv/linux/configure: Regenerated.
31982 * sysdeps/gnu/configure: New generated file.
31984 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31985 for Linux: use nsec instead of usec, as well as:
31986 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31987 members of type struct timespec.
31988 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31990 (struct stat64): Likewise.
31991 (_STATBUF_ST_NSEC): New macro.
31992 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31994 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31995 __strtoul_internal rather than strtoul.
31997 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31999 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32002 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32004 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32005 which preserves existing values.
32006 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32008 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32010 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32011 TIMEOUT values. Return EINVAL for NFDS values either negative or
32012 greater than FD_SETSIZE.
32014 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32016 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32017 allocated, call __vm_protect to finish enabling the existing space, and
32018 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32019 allocate the remainder.
32021 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32023 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32024 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32026 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32028 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32029 sysdeps/mach/hurd/readlink.c.
32031 * posix/tst-sysconf.c (posix_options): Only use
32032 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32033 _POSIX_SYNCHRONIZED_IO when they are defined
32034 * sysdeps/mach/hurd/bits/posix_opt.h:
32035 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32036 (_XOPEN_REALTIME): Undefine macro.
32037 (_XOPEN_REALTIME_THREADS): Undefine macro.
32038 (_XOPEN_SHM): Undefine macro.
32039 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32041 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32043 (_POSIX_ASYNC_IO): Undefine macro.
32044 (_POSIX_PRIORITIZED_IO): Undefine macro.
32045 (_POSIX_SPIN_LOCKS): Define macro to -1.
32047 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32048 SA_NODEFER, SA_RESETHAND.
32049 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32050 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32053 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32055 * elf/Makefile (pldd-modules): Define unconditionally.
32057 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32059 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32061 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32063 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32064 Return ENOENT when name is empty.
32065 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32067 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32069 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32071 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32073 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32075 Fix mlock in all cases except non-readable pages.
32076 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32077 instead of VM_PROT_ALL as parameter to __vm_wire function.
32079 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32080 (__mkdir): When path is `/', just fail with EEXIST.
32081 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32083 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32085 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32086 <sys/uio.h> (for writev).
32087 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32088 and <sys/param.h> (for MIN).
32090 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32092 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32093 REQUESTED_TIME. Properly set the remaining time and return EINTR
32096 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32098 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32099 Depend on against $(link-rpcuserlibs).
32101 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32103 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32104 (__libc_stack_end): Do not use attribute_relro.
32105 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32106 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32107 to libthread-provided value.
32108 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32111 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32114 * bits/libc-lock.h (__libc_once_get): New macro.
32115 * sysdeps/mach/bits/libc-lock.h: Likewise.
32116 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32117 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32118 instead of using implementation details.
32120 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32121 * libio/freopen.c: Likewise.
32122 * libio/freopen64.c: Likewise.
32123 * misc/syslog.c: Likewise.
32124 * nscd/connections.c: Likewise.
32125 * nscd/netgroupcache.c: Likewise.
32126 * sysdeps/posix/getcwd.c: Likewise.
32128 2012-05-10 Roland McGrath <roland@hack.frob.com>
32130 * math/w_ilogbf.c: Add #include <limits.h>.
32132 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32134 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32135 path instead of returning without unlocking.
32137 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32138 immediate-write ioctls.
32139 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32141 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32143 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32144 __builtin_frame_address instead of making assumptions about the
32145 location of the return address relative to DATA. Force early load of
32146 the return address.
32147 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32148 __builtin_frame_address.
32151 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32152 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32153 implement dup3 and do some further code clean-ups.
32154 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32155 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32157 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32159 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32161 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32162 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32163 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32164 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32165 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32168 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32169 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32170 when handler == SIG_ERR, not when handler != SIG_ERR.
32172 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32174 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32175 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32178 accept4 for GNU Hurd.
32179 * include/sys/socket.h (__libc_accept4): New prototype.
32180 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32181 to implement __libc_accept4.
32182 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32184 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32186 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32187 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32188 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32189 signal-defines.sym.
32191 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32193 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32195 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32197 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32198 assertion on O_CLOEXEC flag.
32199 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32200 * hurd/intern-fd.c: Likewise.
32201 * hurd/port2fd.c: Likewise.
32203 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32206 * bits/in.h (IPV6_PKTINFO): Define new macro.
32207 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32209 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32214 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32215 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32216 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32217 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32218 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32219 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32220 * math/libm-test.inc (logb_test) : Additional logb tests.
32222 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32223 Andreas Jaeger <aj@suse.de>
32225 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32226 * configure: Regenerated.
32227 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32228 * config.make.in (link-obsolete-rpc): New substituted variable.
32229 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32230 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32231 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32232 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32233 so that libc.a contains the symbols.
32234 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32235 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32236 * sunrpc/auth_none.c: Likewise.
32237 * sunrpc/auth_unix.c: Likewise.
32238 * sunrpc/authdes_prot.c: Likewise.
32239 * sunrpc/authuxprot.c: Likewise.
32240 * sunrpc/clnt_gen.c: Likewise.
32241 * sunrpc/clnt_perr.c: Likewise.
32242 * sunrpc/clnt_raw.c: Likewise.
32243 * sunrpc/clnt_simp.c: Likewise.
32244 * sunrpc/clnt_tcp.c: Likewise.
32245 * sunrpc/clnt_udp.c: Likewise.
32246 * sunrpc/clnt_unix.c: Likewise.
32247 * sunrpc/des_crypt.c: Likewise.
32248 * sunrpc/des_soft.c: Likewise.
32249 * sunrpc/get_myaddr.c: Likewise.
32250 * sunrpc/key_call.c: Likewise.
32251 * sunrpc/key_prot.c: Likewise.
32252 * sunrpc/netname.c: Likewise.
32253 * sunrpc/pm_getmaps.c: Likewise.
32254 * sunrpc/pm_getport.c: Likewise.
32255 * sunrpc/pmap_clnt.c: Likewise.
32256 * sunrpc/pmap_prot.c: Likewise.
32257 * sunrpc/pmap_prot2.c: Likewise.
32258 * sunrpc/pmap_rmt.c: Likewise.
32259 * sunrpc/publickey.c: Likewise.
32260 * sunrpc/rpc_cmsg.c: Likewise.
32261 * sunrpc/rpc_common.c: Likewise.
32262 * sunrpc/rpc_dtable.c: Likewise.
32263 * sunrpc/rpc_prot.c: Likewise.
32264 * sunrpc/rpc_thread.c: Likewise.
32265 * sunrpc/rtime.c: Likewise.
32266 * sunrpc/svc.c: Likewise.
32267 * sunrpc/svc_auth.c: Likewise.
32268 * sunrpc/svc_raw.c: Likewise.
32269 * sunrpc/svc_run.c: Likewise.
32270 * sunrpc/svc_tcp.c: Likewise.
32271 * sunrpc/svc_udp.c: Likewise.
32272 * sunrpc/svc_unix.c: Likewise.
32273 * sunrpc/svcauth_des.c: Likewise.
32274 * sunrpc/xcrypt.c: Likewise.
32275 * sunrpc/xdr.c: Likewise.
32276 * sunrpc/xdr_array.c: Likewise.
32277 * sunrpc/xdr_float.c: Likewise.
32278 * sunrpc/xdr_intXX_t.c: Likewise.
32279 * sunrpc/xdr_mem.c: Likewise.
32280 * sunrpc/xdr_rec.c: Likewise.
32281 * sunrpc/xdr_ref.c: Likewise.
32282 * sunrpc/xdr_sizeof.c: Likewise.
32283 * sunrpc/xdr_stdio.c: Likewise.
32285 2012-05-10 Roland McGrath <roland@hack.frob.com>
32287 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32288 change. Update copyright years.
32290 2012-05-10 Joseph Myers <joseph@codesourcery.com>
32292 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32294 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32295 Joseph Myers <joseph@codesourcery.com>
32296 Paul Pluzhnikov <ppluzhnikov@google.com>
32299 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32301 [cross-compiling] (extra-libs): Likewise.
32302 [cross-compiling] (extra-libs-others): Likewise.
32303 [cross-compiling] (librpcsvc-routines): Likewise.
32304 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32305 [cross-compiling] (omit-deps): Likewise.
32306 (sunrpc-CPPFLAGS): New variable.
32307 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32308 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32309 (cross-rpcgen-objs): New variable.
32310 (extra-objs): Append $(cross-rpcgen-objs).
32311 ($(cross-rpcgen-objs)): New rule.
32312 ($(objpfx)cross-rpcgen): Likewise.
32313 (rpcgen-cmd): Define to use $(built-program-file). Expand
32315 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32316 ($(objpfx)x%.stmp): Likewise.
32317 * sunrpc/proto.h [IS_IN_build] (_): Define.
32318 [IS_IN_build] (_libc_intl_domainname): Likewise.
32320 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32322 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32323 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32324 and R_X86_64_TPOFF64.
32326 2012-05-10 Joseph Myers <joseph@codesourcery.com>
32328 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32329 sysdeps/unix/sysv/syscalls.list.
32332 * sysdeps/unix/sysv/syscalls.list: Remove file.
32334 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32337 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32338 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32339 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32340 (__LC_IDENTIFICATION): Make these macros useful in #if
32341 expressions, as required by C99.
32343 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32345 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32346 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32349 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32351 * stdlib/longlong.h: Updated from GCC.
32353 2012-05-09 Andreas Jaeger <aj@suse.de>
32355 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32356 default is first entry.
32357 (run_mode): Set type.
32358 (main): Remove informal message about syslog.
32359 (options): Fix typo.
32362 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32365 (llrintf): Likewise.
32366 (llrint): Likewise.
32369 (nearbyint): Likewise.
32370 (nearbyintf): Likewise.
32372 2012-05-09 Andreas Jaeger <aj@suse.de>
32373 Pedro Alves <palves@redhat.com>
32375 * nscd/nscd.c (run_mode): Use enum.
32376 (main): Cleanup coding style issue.
32378 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
32379 Andreas Jaeger <aj@suse.de>
32381 * nscd/nscd.c (go_background): Replaced with...
32382 (run_mode): ... this.
32383 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32384 (options): Add -F --foreground.
32385 (main): Implement it.
32386 (parse_opt): Parse it.
32388 2012-05-09 Andreas Jaeger <aj@suse.de>
32391 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32392 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32393 -Wconversion warning.
32394 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32397 2012-05-09 Joseph Myers <joseph@codesourcery.com>
32399 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32401 (LC_ALL): Use macro-int-constant.
32402 (LC_COLLATE): Likewise.
32403 (LC_CTYPE): Likewise.
32404 (LC_MESSAGES): Likewise.
32405 (LC_MONETARY): Likewise.
32406 (LC_NUMERIC): Likewise.
32407 (LC_TIME): Likewise.
32408 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32409 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32410 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32411 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32413 [C99-based standards] (float_t): Expect type.
32414 [C99-based standards] (double_t): Expect type.
32415 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32417 [C99-based standards] (HUGE_VALL): Likewise.
32418 [C99-based standards] (INFINITY): Likewise.
32419 [C99-based standards] (NAN): Likewise.
32420 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32421 [C99-based standards] (FP_NAN): Likewise.
32422 [C99-based standards] (FP_NORMAL): Likewise.
32423 [C99-based standards] (FP_SUBNORMAL): Likewise.
32424 [C99-based standards] (FP_ZERO): Likewise.
32425 [C99-based standards] (FP_FAST_FMA): Use
32426 optional-macro-int-constant. Specify type. Require == 1.
32427 [C99-based standards] (FP_FAST_FMAF): Likewise.
32428 [C99-based standards] (FP_FAST_FMAL): Likewise.
32429 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32430 [C99-based standards] (FP_ILOGBNAN): Likewise.
32431 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32433 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32434 [C99-based standards] (math_errhandling): Specify type.
32435 [ISO99 || ISO11] (signgam): Do not allow.
32436 [non-C99-based standards] (copysignf): Do not allow.
32437 [non-C99-based standards] (exp2f): Likewise.
32438 [non-C99-based standards] (log2f): Likewise.
32439 [non-C99-based standards] (modff): Allow.
32440 [non-C99-based standards] (erff): Do not allow.
32441 [non-C99-based standards] (erfcf): Likewise.
32442 [non-C99-based standards] (gammaf): Likewise.
32443 [non-C99-based standards] (hypotf): Likewise.
32444 [non-C99-based standards] (j0f): Likewise.
32445 [non-C99-based standards] (j1f): Likewise.
32446 [non-C99-based standards] (jnf): Likewise.
32447 [non-C99-based standards] (lgammaf): Likewise.
32448 [non-C99-based standards] (tgammaf): Likewise.
32449 [non-C99-based standards] (y0f): Likewise.
32450 [non-C99-based standards] (y1f): Likewise.
32451 [non-C99-based standards] (ynf): Likewise.
32452 [non-C99-based standards] (isnanf): Likewise.
32453 [non-C99-based standards] (acoshf): Likewise.
32454 [non-C99-based standards] (asinhf): Likewise.
32455 [non-C99-based standards] (atanhf): Likewise.
32456 [non-C99-based standards] (cbrtf): Likewise.
32457 [non-C99-based standards] (expm1f): Likewise.
32458 [non-C99-based standards] (ilogbf): Likewise.
32459 [non-C99-based standards] (log1pf): Likewise.
32460 [non-C99-based standards] (logbf): Likewise.
32461 [non-C99-based standards] (nextafterf): Likewise.
32462 [non-C99-based standards] (remainderf): Likewise.
32463 [non-C99-based standards] (rintf): Likewise.
32464 [non-C99-based standards] (scalbf): Likewise.
32465 [non-C99-based standards] (copysignl): Likewise.
32466 [non-C99-based standards] (exp2l): Likewise.
32467 [non-C99-based standards] (log2l): Likewise.
32468 [non-C99-based standards] (modfl): Allow.
32469 [non-C99-based standards] (erfl): Do not allow.
32470 [non-C99-based standards] (erfcl): Likewise.
32471 [non-C99-based standards] (gammal): Likewise.
32472 [non-C99-based standards] (hypotl): Likewise.
32473 [non-C99-based standards] (j0l): Likewise.
32474 [non-C99-based standards] (j1l): Likewise.
32475 [non-C99-based standards] (jnl): Likewise.
32476 [non-C99-based standards] (lgammal): Likewise.
32477 [non-C99-based standards] (tgammal): Likewise.
32478 [non-C99-based standards] (y0l): Likewise.
32479 [non-C99-based standards] (y1l): Likewise.
32480 [non-C99-based standards] (ynl): Likewise.
32481 [non-C99-based standards] (isnanl): Likewise.
32482 [non-C99-based standards] (acoshl): Likewise.
32483 [non-C99-based standards] (asinhl): Likewise.
32484 [non-C99-based standards] (atanhl): Likewise.
32485 [non-C99-based standards] (cbrtl): Likewise.
32486 [non-C99-based standards] (expm1l): Likewise.
32487 [non-C99-based standards] (ilogbl): Likewise.
32488 [non-C99-based standards] (log1pl): Likewise.
32489 [non-C99-based standards] (logbl): Likewise.
32490 [non-C99-based standards] (nextafterl): Likewise.
32491 [non-C99-based standards] (remainderl): Likewise.
32492 [non-C99-based standards] (rintl): Likewise.
32493 [non-C99-based standards] (scalbl): Likewise.
32494 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32495 [non-C99-based standards] (FP_*): Do not allow.
32496 [C99-based standards] (FP_*): Change to
32497 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32498 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32500 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32501 (SIG_ERR): Likewise.
32502 [X/Open-based standards] (SIG_HOLD): Likewise.
32503 (SIG_IGN): Likewise.
32504 (SIGABRT): Use macro-int-constant. Specify type. Require
32506 (SIGFPE): Likewise.
32507 (SIGILL): Likewise.
32508 (SIGINT): Likewise.
32509 (SIGSEGV): Likewise.
32510 (SIGTER): Likewise.
32511 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32512 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32513 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32514 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32515 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32516 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32517 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32518 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32519 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32520 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32521 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32522 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32523 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32524 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32525 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32526 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32527 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32528 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32529 [X/Open-based standards] (SIGTRAP): Likewise.
32530 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32531 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32532 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32533 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32534 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32537 2012-05-08 Ian Wienand <ianw@vmware.com>
32540 * time/tzset.c (__tzset_parse_tz): Update default rules for
32541 daylight time changes in the Energy Policy Act of 2005.
32543 2012-05-09 Andreas Jaeger <aj@suse.de>
32546 * elf/ldconfig.c (parse_conf): Change string to make clear that
32547 ldconfig only issued a warning if ld.so.conf does not exist.
32549 2012-05-08 David S. Miller <davem@davemloft.net>
32551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32552 movxtod instead of popping the value on the stack.
32554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32556 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32558 * config.h.in: Add HAVE_ARM_PCS_VFP.
32560 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
32563 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32564 checking but the checks are disabled for any reason.
32566 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32568 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32569 and ELF64_R_TYPE with ELFW(R_TYPE).
32571 2012-05-08 Joseph Myers <joseph@codesourcery.com>
32573 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32574 (ulimit): Likewise.
32576 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32577 (settimeofday): Likewise.
32579 2012-05-08 Mike Frysinger <vapier@gentoo.org>
32581 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32582 a struct th_u2 inside the union, and move tu_block/tu_code into
32583 a new th_u3 union of tu_block/tu_code inside of that. Move
32584 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32585 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32586 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32587 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32588 (th_stuff): Change to th_u1.tu_stuff.
32590 (th_msg): Change to th_u1.th_u2.tu_data.
32592 2012-05-07 David S. Miller <davem@davemloft.net>
32594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32597 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32598 (SETUP_PIC_REG): Use it.
32599 (SETUP_PIC_REG_LEAF): Use it.
32601 2012-05-07 Joseph Myers <joseph@codesourcery.com>
32605 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32607 (EXPL_FINITE): Likewise.
32608 (FLDLOG): Likewise.
32609 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32610 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32612 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32614 (EXPL_FINITE): Likewise.
32615 (FLDLOG): Likewise.
32616 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32617 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32619 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32620 test of -max_value argument for long double.
32621 * sysdeps/i386/fpu/libm-test-ulps: Update.
32622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32624 2012-05-06 David S. Miller <davem@davemloft.net>
32626 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32627 quad soft-float symbols whose references which are compiler
32629 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32631 2012-05-06 Joseph Myers <joseph@codesourcery.com>
32635 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32637 (EXPL_FINITE): Likewise.
32638 (FLDLOG): Likewise.
32641 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32642 Adjust comments for base varying.
32643 (__expl_finite): Change alias to EXPL_FINITE.
32644 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32646 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32647 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32648 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32649 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32650 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32652 (EXPL_FINITE): Likewise.
32653 (FLDLOG): Likewise.
32656 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32657 Adjust comments for base varying.
32658 (__expl_finite): Change alias to EXPL_FINITE.
32659 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32664 * math/libm-test.inc (check_float_internal): Correct ulp
32665 calculation for subnormal expected results.
32667 2012-05-06 Andreas Jaeger <aj@suse.de>
32669 * Makeconfig (+math-flags): New, set to -frounding-math.
32670 (+cflags): Add +math-flags so that all of glibc gets compiled with
32673 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32675 2012-05-05 Joseph Myers <joseph@codesourcery.com>
32677 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32683 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32684 (__ieee754_expl): Allow for and saturate large arguments.
32685 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32686 (u_threshold): Likewise.
32687 (__exp): Call __ieee754_exp before checking for overflow and
32689 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32690 (u_threshold): Likewise.
32691 (__expf): Call __ieee754_expf before checking for overflow and
32693 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32694 (u_threshold): Likewise.
32695 (__expl): Call __ieee754_expl before checking for overflow and
32697 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32698 (__ieee754_expl): Allow for and saturate large arguments.
32699 * math/libm-test.inc (exp_test): Add another test. Do not allow
32700 missing overflow exception on overflow.
32701 (expm1_test): Do not allow missing overflow exception on overflow.
32703 * sysdeps/i386/fpu/e_expl.c: Move to ...
32704 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32705 rather than using inline asm.
32706 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32707 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32708 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32710 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32713 (signal): Likewise.
32717 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32719 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32720 sysdeps/unix/common/syscalls.list.
32721 (fchmod): Likewise.
32722 (fchown): Likewise.
32723 (ftruncate): Likewise.
32724 (getrusage): Likewise.
32725 (gettimeofday): Likewise.
32726 (setpgid): Likewise.
32727 (setregid): Likewise.
32728 (setreuid): Likewise.
32729 (sigaction): Likewise.
32730 (truncate): Likewise.
32731 (vhangup): Likewise.
32732 * sysdeps/unix/common/syscalls.list: Remove file.
32733 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32734 * sysdeps/unix/sysv/linux/Implies: Likewise.
32736 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32738 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32740 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32744 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32747 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32750 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32753 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32756 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32759 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32762 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32766 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32770 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32773 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32777 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32781 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32783 * sysdeps/unix/common/bits/dirent.h: Remove file.
32784 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32786 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32787 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32788 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32789 * sysdeps/unix/bsd/isatty.c: Likewise.
32790 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32791 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32792 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32794 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32797 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32798 long double comparison inaccuracies.
32799 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32802 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32804 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32805 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32807 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32810 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32811 nonzero digits before rounding a hex value.
32812 * stdlib/tst-strtod.c (tests): Add another test.
32814 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32816 * sysdeps/s390/fpu/libm-test-ulps: Update.
32818 2012-05-03 Andreas Jaeger <aj@suse.de>
32820 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32821 does not get optimized out.
32822 (malloc_opt_barrier): New.
32824 2012-05-03 Andreas Jaeger <aj@suse.de>
32825 Roland McGrath <roland@hack.frob.com>
32827 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32828 intermediate file deletion.
32829 (generated): Add .symlist files.
32831 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32834 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32835 Redirect under this condition.
32836 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32837 [__USE_GNU] (__dprintf_chk): Not under this condition.
32838 [__USE_GNU] (__vdprintf_chk): Likewise.
32839 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32840 under this condition.
32841 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32842 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32843 [__USE_XOPEN2K8] (vdprintf): Likewise.
32844 [__USE_GNU] (__dprintf_chk): Not under this condition.
32845 [__USE_GNU] (__vdprintf_chk): Likewise.
32846 [__USE_GNU] (dprintf): Likewise.
32847 [__USE_GNU] (vdprintf): Likewise.
32849 2012-05-03 Roland McGrath <roland@hack.frob.com>
32851 * elf/Makefile (common-generated): Set this instead of generated for
32852 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32853 $(all-built-dso)-derived lists.
32855 2012-05-03 Andreas Jaeger <aj@suse.de>
32857 * sysdeps/i386/fpu/libm-test-ulps: Update.
32860 * FAQ.in: Likewise.
32861 * scripts/gen-FAQ.pl: Likewise.
32862 * manual/install.texi (Installation): Point to online location of
32864 * Makefile (files-for-dist): Remove FAQ.
32867 2012-05-02 Allan McRae <allan@archlinux.org>
32869 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32870 (LDFLAGS-reldepmod5.so): Likewise.
32871 (LDFLAGS-reldep6mod1.so): Likewise.
32872 (LDFLAGS-reldep6mod4.so): Likewise.
32873 (LDFLAGS-reldep8mod3.so): Likewise.
32874 (LDFLAGS-unload4mod1.so): Likewise.
32875 (LDFLAGS-unload4mod2.so): Likewise.
32876 (LDFLAGS-tst-initorder): Likewise.
32877 (LDFLAGS-tst-initordera2.so): Likewise.
32878 (LDFLAGS-tst-initordera3.so): Likewise.
32879 (LDFLAGS-tst-initordera4.so): Likewise.
32880 (LDFLAGS-tst-initorderb2.so): Likewise.
32881 (LDFLAGS-noload): Likewise.
32882 (LDFLAGS-next): Likewise.
32883 (LDFLAGS-order2mod1.so): Likewise.
32884 (LDFLAGS-order2mod2.so): Likewise.
32885 (LDFLAGS-tst-initorder2): Likewise.
32886 (LDFLAGS-tst-initorder2a.so): Likewise.
32887 (LDFLAGS-tst-initorder2b.so): Likewise.
32888 (LDFLAGS-tst-initorder2c.so): Likewise.
32889 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32891 2012-05-02 David S. Miller <davem@davemloft.net>
32893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32895 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32898 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32900 2012-05-02 Andreas Jaeger <aj@suse.de>
32902 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32903 since we manipulate rounding mode.
32904 (CPPFLAGS-test-idouble.c): Likewise.
32905 (CPPFLAGS-test-ifloat.c): Likewise.
32906 (CFLAGS-test-ldouble.c): Likewise.
32907 (CFLAGS-test-double.c): Likewise.
32908 (CFLAGS-test-float.c): Likewise.
32909 (CFLAGS-test-misc.c): Likewise.
32910 (CFLAGS-test-test-fenv.c): Likewise.
32912 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32916 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32917 comparisons to determine direction to adjust input.
32919 2012-05-01 Roland McGrath <roland@hack.frob.com>
32921 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32922 output to the target.
32924 * scripts/localplt.awk: New file.
32925 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32926 (check-localplt-CFLAGS): Variable removed.
32927 ($(all-built-dso:=.jmprel)): New static pattern rule.
32928 (generated): Add those targets.
32929 (localplt-built-dso): New variable.
32930 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32932 * elf/check-localplt.c: File removed.
32934 * scripts/check-execstack.awk: New file.
32935 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32936 (check-execstack-CFLAGS): Variable removed.
32937 ($(objpfx)check-execstack.h): Target removed.
32938 ($(objpfx)execstack-default): New target.
32939 (generated): Add that instead of check-execstack.h.
32940 ($(all-built-dso:=.phdr)): New static pattern rule.
32941 (generated): Add those targets.
32942 * elf/check-execstack.c: File removed.
32944 * scripts/check-textrel.awk: New file.
32945 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32946 (check-textrel-CFLAGS): Variable removed.
32947 (all-built-dso): Use := to define.o
32948 ($(all-built-dso:=.dyn)): New static pattern rule.
32949 (generated): Add those targets.
32950 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32951 * config.make.in (READELF): New substituted variable.
32952 * elf/check-textrel.c: File removed.
32954 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32956 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32958 * conform/data/ctype.h-data [C99-based standards] (isblank):
32960 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32961 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32963 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32964 Specify type. Require positive value.
32965 (EILSEQ): Likewise.
32966 (ERANGE): Likewise.
32967 [ISO || POSIX] (EILSEQ): Do not expect.
32968 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32969 Specify type. Require positive value.
32970 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32971 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32972 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32973 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32974 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32975 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32976 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32977 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32978 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32979 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32980 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32981 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32982 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32983 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32984 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32985 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32986 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32987 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32988 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32989 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32990 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32991 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32992 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32993 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32994 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32995 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32996 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32997 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32998 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32999 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33000 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33001 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33002 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33003 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33004 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33005 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33006 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33007 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33008 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33009 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33010 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33011 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33012 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33013 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33014 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33015 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33016 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33017 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33018 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33019 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33020 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33021 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33022 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33023 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33024 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33025 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33026 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33027 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33028 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33029 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33030 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33031 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33032 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33033 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33034 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33035 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33036 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33037 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33038 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33039 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33040 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33041 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33042 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33043 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33044 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33045 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33046 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33048 (FLT_ROUNDS): Expect as macro, not constant.
33049 (FLT_MANT_DIG): Use macro-int-constant.
33050 (DBL_MANT_DIG): Likewise.
33051 (LDBL_MANT_DIG): Likewise.
33052 (FLT_DIG): Likewise.
33053 (DBL_DIG): Likewise.
33054 (LDBL_DIG): Likewise.
33055 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33056 (DBL_MIN_EXP): Likewise.
33057 (LDBL_MIN_EXP): Likewise.
33058 (FLT_MAX_EXP): Use macro-int-constant.
33059 (DBL_MAX_EXP): Likewise.
33060 (LDBL_MAX_EXP): Likewise.
33061 (FLT_MAX_10_EXP): Likewise.
33062 (DBL_MAX_10_EXP): Likewise.
33063 (LDBL_MAX_10_EXP): Likewise.
33064 (FLT_MAX): Use macro-constant.
33065 (DBL_MAX): Likewise.
33066 (LDBL_MAX): Likewise.
33067 (FLT_EPSILON): Use macro-constant. Give upper bound.
33068 (DBL_EPSILON): Likewise.
33069 (LDBL_EPSILON): Likewise.
33070 (FLT_MIN): Likewise.
33071 (DBL_MIN): Likewise.
33072 (LDBL_MIN): Likewise.
33073 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33074 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33075 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33076 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33077 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33078 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33079 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33080 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33081 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33082 [ISO11] (FLT_TRUE_MIN): Likewise.
33083 [ISO11] (LDBL_TRUE_MIN): Likewise.
33084 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33085 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33086 (SCHAR_MIN): Use macro-int-constant. Specify type.
33087 (SCHAR_MAX): Likewise.
33088 (UCHAR_MAX): Likewise.
33089 (CHAR_MIN): Likewise.
33090 (CHAR_MAX): Likewise.
33091 (MB_LEN_MAX): Use macro-int-constant.
33092 (SHRT_MIN): Use macro-int-constant. Specify type.
33093 (SHRT_MAX): Likewise.
33094 (USHRT_MAX): Likewise.
33095 (INT_MAX): Likewise.
33096 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33098 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33100 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33102 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33103 bound negative. Suffix upper bound with "L".
33104 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33106 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33108 [C99-based standards] (LLONG_MAX): Likewise.
33109 [C99-based standards] (ULLONG_MAX): Likewise.
33110 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33112 [ISO11] (max_align_t): Require type.
33113 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33115 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33116 from $CFLAGS, without defining away __attribute__ calls.
33117 (checknamespace): Use $CFLAGS_namespace.
33119 * conform/conformtest.pl (@keywords): Only include C99 keywords
33120 for standards based on C99 or C11.
33122 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33124 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33127 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33128 usability of symbols in #if.
33130 * conform/conformtest.pl: If macro or constant types start
33131 "promoted:", expect the symbol to be of the following type
33132 promoted by the integer promotions.
33134 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33135 in one place. Also handle "macro-constant".
33137 * conform/conformtest.pl: Only accept expected macro values with
33138 "==". Parse all "macro" lines in one place.
33139 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33141 * conform/conformtest.pl: Handle braced types on "constant" lines
33142 instead of handling "typed-constant".
33143 * conform/data/signal.h-data: Use "constant" instead of
33146 * conform/conformtest.pl: Handle "optional-" at start of lines in
33147 one place rather than duplicating several cases. Handle each
33148 format of "macro" line with initial "optional-".
33150 * conform/conformtest.pl: Only accept expected constant or
33151 optional-constant values with "==". Parse all "constant" lines in
33152 one place. Parse all "optional-constant" lines in one place.
33153 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33154 * conform/data/fmtmsg.h-data: Likewise.
33155 * conform/data/netinet/in.h-data: Likewise.
33156 * conform/data/tar.h-data: Likewise.
33157 * conform/data/limits.h-data: Use "==" form on "constant" and
33158 "optional-constant" lines.
33160 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33161 Use -std=c99 for XOPEN2K.
33162 (@knownproblems): Remove.
33163 (newtoken): Don't check %isknown.
33165 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33166 Do not expect macro.
33167 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33168 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33169 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33170 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33171 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33172 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33173 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33174 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33175 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33176 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33177 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33178 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33179 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33180 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33181 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33182 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33183 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33184 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33185 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33186 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33187 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33188 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33189 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33190 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33191 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33192 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33193 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33194 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33195 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33196 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33197 [XPG3] (acosh): Likewise.
33198 [XPG3] (asinh): Likewise.
33199 [XPG3] (atanh): Likewise.
33200 [XPG3] (cbrt): Likewise.
33201 [XPG3] (expm1): Likewise.
33202 [XPG3] (ilogb): Likewise.
33203 [XPG3] (log1p): Likewise.
33204 [XPG3] (logb): Likewise.
33205 [XPG3] (nextafter): Likewise.
33206 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33207 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33208 [XPG3] (remainder): Likewise.
33209 [XPG3] (rint): Likewise.
33210 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33211 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33212 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33213 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33214 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33215 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33216 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33217 [UNIX98 || XOPEN2K] (scalb): Expect.
33218 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33219 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33220 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33221 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33222 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33223 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33224 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33225 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33226 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33227 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33228 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33229 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33230 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33231 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33232 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33233 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33234 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33235 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33236 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33237 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33238 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33239 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33240 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33241 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33242 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33243 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33244 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33245 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33246 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33247 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33248 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33249 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33250 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33251 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33252 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33253 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33254 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33255 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33256 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33257 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33258 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33259 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33260 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33261 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33262 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33263 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33264 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33265 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33266 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33267 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33268 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33269 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33270 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33271 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33272 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33273 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33274 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33275 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33276 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33277 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33278 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33279 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33280 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33281 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33282 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33283 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33284 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33285 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33286 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33287 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33288 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33289 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33290 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33291 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33292 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33293 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33294 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33295 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33296 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33297 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33298 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33299 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33300 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33301 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33302 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33303 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33304 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33305 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33306 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33307 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33308 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33309 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33310 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33311 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33312 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33313 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33314 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33315 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33316 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33317 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33318 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33319 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33320 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33321 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33322 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33323 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33324 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33325 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33326 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33327 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33328 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33329 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33330 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33331 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33332 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33333 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33334 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33335 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33336 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33337 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33338 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33339 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33340 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33341 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33342 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33343 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33344 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33345 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33346 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33347 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33348 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33349 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33350 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33351 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33352 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33353 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33354 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33356 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33357 _XOPEN_SOURCE_EXTENDED for XPG4.
33359 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33361 * Makeconfig (localtime): Remove variable.
33362 (inst_localtime-file): Likewise.
33364 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33385 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33389 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33390 comparisons to determine direction to adjust input.
33391 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33392 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33393 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33395 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33397 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33399 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33400 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33402 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33404 * math/libm-test.inc (nexttoward_test): Add more tests.
33406 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33409 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33410 in version GLIBC_2.1, not GLIBC_2.0.
33411 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33414 2012-04-30 Joseph Myers <joseph@codesourcery.com>
33417 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33419 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33420 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33421 * math/libm-test.inc (acos_test): Add more tests.
33422 (asin_test): Likewise.
33423 * sysdeps/i386/fpu/libm-test-ulps: Update.
33424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33427 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33429 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33430 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33431 * math/libm-test.inc (acos_test_tonearest): New function.
33432 (acos_test_towardzero): Likewise.
33433 (acos_test_downward): Likewise.
33434 (acos_test_upward): Likewise.
33435 (asin_test_tonearest): Likewise.
33436 (asin_test_towardzero): Likewise.
33437 (asin_test_downward): Likewise.
33438 (asin_test_upward): Likewise.
33439 (main): Call the new functions.
33440 * sysdeps/i386/fpu/libm-test-ulps: Update.
33441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33445 * math/e_exp10.c: Include <float.h>.
33446 (__ieee754_exp10): Handle underflow here rather than multiplying
33447 large negative argument by M_LN10.
33448 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33450 * math/e_exp10l.c: Include <float.h>.
33451 (__ieee754_exp10l): Handle underflow here rather than multiplying
33452 large negative argument by M_LN10l.
33453 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33454 spurious overflow exception on underflow.
33456 2012-04-29 Marek Polacek <polacek@redhat.com>
33458 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33459 (__fortify_function): New macro.
33460 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33461 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33462 __extern_always_inline.
33463 * libio/bits/stdio2.h: Likewise.
33464 * libio/bits/stdio.h: Likewise.
33465 * string/string.h: Likewise.
33466 * string/bits/string3.h: Likewise.
33467 * include/stdio.h: Likewise.
33468 * stdlib/bits/stdlib.h: Likewise.
33469 * stdlib/stdlib.h: Likewise.
33470 * rt/bits/mqueue2.h: Likewise.
33471 * rt/mqueue.h: Likewise.
33472 * posix/bits/unistd.h: Likewise.
33473 * posix/unistd.h: Likewise.
33474 * io/bits/poll2.h: Likewise.
33475 * io/bits/fcntl2.h: Likewise.
33476 * io/fcntl.h: Likewise.
33477 * io/sys/poll.h: Likewise.
33478 * misc/bits/syslog.h: Likewise.
33479 * misc/bits/syslog-ldbl.h: Likewise.
33480 * misc/sys/syslog.h: Likewise.
33481 * socket/bits/socket2.h: Likewise.
33482 * socket/sys/socket.h: Likewise.
33483 * debug/tst-chk1.c: Likewise.
33484 * wcsmbs/bits/wchar2.h: Likewise.
33485 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33486 * wcsmbs/wchar.h: Likewise.
33488 2012-04-29 Andreas Jaeger <aj@suse.de>
33490 * Makerules (tests): Remove enable-check-abi protection.
33491 (check-abi-warn): Remove.
33492 (check-abi-%): Remove check-abi-warn usage.
33494 * configure.in: Remove check-abi configure option.
33495 * configure: Regenerated.
33496 * config.make.in (enable-check-abi): Remove.
33498 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33501 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33502 double functions to double *_finite functions.
33505 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33506 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33508 * stdio-common/Makefile (tests): Add tst-sprintf3.
33509 * stdio-common/tst-sprintf3.c: New file.
33511 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33512 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33514 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33516 * conform/conformtest.pl: Remove duplicate typed-constant
33519 2012-04-28 David S. Miller <davem@davemloft.net>
33521 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33522 (check-abi-%): Remove AWK script prerequisite and explicit
33524 (check-abi): Rewrite to just diff the symlist with the abilist.
33525 (config-tls, config-abi-config): Delete, no longer used.
33526 (update-abi-%): Remove AWK script and explicit abilist directory.
33527 (update-abi): Rewrite to simply compare and conditionally copy the
33528 symlist and the sysdep abilist file. Remove update-abi-config
33530 * abilist/ld.abilist: Remove.
33531 * abilist/libBrokenLocale.abilist: Remove.
33532 * abilist/libanl.abilist: Remove.
33533 * abilist/libcrypt.abilist: Remove.
33534 * abilist/libdl.abilist: Remove.
33535 * abilist/librt.abilist: Remove.
33536 * abilist/libthread_db.abilist: Remove.
33537 * abilist/libutil.abilist: Remove.
33538 * scripts/extract-abilist.awk: Remove.
33539 * scripts/merge-abilist.awk: Remove.
33540 * sysdeps/generic/libcidn.abilist: New file.
33541 * sysdeps/generic/libnss_compat.abilist: New file.
33542 * sysdeps/generic/libnss_db.abilist: New file.
33543 * sysdeps/generic/libnss_dns.abilist: New file.
33544 * sysdeps/generic/libnss_files.abilist: New file.
33545 * sysdeps/generic/libnss_hesiod.abilist: New file.
33546 * sysdeps/generic/libnss_nis.abilist: New file.
33547 * sysdeps/generic/libnss_nisplus.abilist: New file.
33548 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33549 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33550 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33552 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33553 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33554 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33555 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33556 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33557 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33558 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33559 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33560 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33562 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33563 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33564 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33565 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33567 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33568 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33569 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33570 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33571 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33572 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33574 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33575 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33576 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33578 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33681 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33682 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33683 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33685 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33686 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33687 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33688 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33689 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33690 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33691 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33692 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33693 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33694 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33746 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33748 * conform/conformtest.pl: Fix typo in handling typed-constant from
33751 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33753 * README: Cut down references to pre-2.6 Linux kernels and
33754 Linuxthreads. Update lists of configurations in libc and ports
33755 and sort alphabetically. Say "or newer" with Linux kernel version
33758 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33760 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33763 * math/libm-test.inc (logb_test_downward): New test to expose
33764 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33767 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33770 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33772 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33773 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33775 2012-04-26 Joseph Myers <joseph@codesourcery.com>
33777 * sysdeps/unix/i386/brk.S: Remove file.
33778 * sysdeps/unix/i386/dl-brk.S: Likewise.
33779 * sysdeps/unix/i386/pipe.S: Likewise.
33780 * sysdeps/unix/i386/sigreturn.S: Likewise.
33781 * sysdeps/unix/i386/syscall.S: Likewise.
33782 * sysdeps/unix/i386/vfork.S: Likewise.
33783 * sysdeps/unix/i386/wait.S: Likewise.
33785 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33786 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33788 * configure.in (arm*-none*): Do not allow without
33789 --enable-hacker-mode.
33790 (netbsd*): Remove case setting base_os.
33791 (386bsd*): Likewise.
33792 (freebsd*): Likewise.
33795 (sunos*): Likewise.
33796 (ultrix*): Likewise.
33797 (newsos*): Likewise.
33798 (dynix*): Likewise.
33804 (minix*): Likewise.
33805 (irix4*): Likewise.
33806 (irix6*): Likewise.
33807 (solaris[2-9]*): Likewise.
33809 * configure: Regenerated.
33811 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33814 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33815 overflow or cancellation in calculating denominator.
33816 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33817 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33818 down expression to avoid unexpected rounding in newer GCCs.
33819 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33821 2012-04-26 David S. Miller <davem@davemloft.net>
33823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33824 long-double compat symbols.
33825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33839 2012-04-25 David S. Miller <davem@davemloft.net>
33841 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33842 HWCAP_* values only after the memory barriers have been defined.
33843 (atomic_full_barrier): Define.
33844 (atomic_read_barrier): Define.
33845 (atomic_write_barrier): Define.
33847 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33849 * shlib-versions: Add libgcc_s version information.
33850 * sysdeps/generic/libgcc_s.h: Remove.
33851 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33853 * sysdeps/gnu/unwind-resume.c: Likewise.
33854 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33856 2012-04-25 David S. Miller <davem@davemloft.net>
33858 * sysdeps/unix/sparc/brk.S: Delete.
33859 * sysdeps/unix/sparc/dl-brk.S: Delete.
33860 * sysdeps/unix/sparc/pipe.S: Delete.
33861 * sysdeps/unix/sparc/sysdep.S: Delete.
33862 * sysdeps/unix/sparc/sysdep.h: Delete.
33863 * sysdeps/unix/sparc/vfork.S: Delete.
33864 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33865 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33866 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33867 (ret_ERRVAL, r0, r1, MOVE): Define.
33868 (JUMPTARGET): Remove.
33869 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33870 sysdeps/unix/sparc/sysdep.h
33871 (ENTRY, END): Remove.
33872 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33874 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33876 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33877 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33880 * timezone/README: Update upstream location and email address for
33882 * timezone/zdump.c: Update from tzcode 2012b.
33883 * timezone/zic.c: Likewise.
33885 * configure.in (libc_cv_as_needed): Remove test.
33886 * configure: Regenerated.
33887 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33888 conditional definition.
33889 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33890 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33891 * config.make.in (have-as-needed): Remove variable.
33893 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33894 Paul Pluzhnikov <ppluzhnikov@google.com>
33896 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33899 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33901 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33902 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33903 * sysdeps/sh/strlen.S: Likewise.
33905 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33907 * sysdeps/unix/fork.S: Remove file.
33908 * sysdeps/unix/i386/fork.S: Likewise.
33909 * sysdeps/unix/sparc/fork.S: Likewise.
33911 * sysdeps/unix/system.c: Remove file.
33912 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33914 * sysdeps/unix/getegid.S: Remove file.
33915 * sysdeps/unix/geteuid.S: Likewise.
33917 2012-04-24 Roland McGrath <roland@hack.frob.com>
33919 * scripts/check-localplt.awk: New file.
33920 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33922 * scripts/data/localplt-generic.data: Add a comment.
33924 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33925 NODE when __dir_mkfile failed.
33926 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33927 Reported by Ludovic Courtès <ludo@gnu.org>.
33929 2012-04-24 Andreas Jaeger <aj@suse.de>
33931 * Makerules (common-clean): Also remove gen-as-const-headers
33934 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33936 * Makerules (native-compile): Do not change working directory for
33937 build. Use $(OUTPUT_OPTION) in command.
33938 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33940 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33943 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33944 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33945 * math/libm-test.inc (floor_test): Add more tests.
33946 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33948 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33950 * sysdeps/unix/getdents.c: Remove file.
33951 * sysdeps/unix/sysv/getdents.c: Likewise.
33952 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33954 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33955 sysdeps/unix/mman/syscalls.list.
33957 (mprotect): Likewise.
33959 (munmap): Likewise.
33960 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33961 * sysdeps/unix/mman/syscalls.list: Remove.
33962 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33964 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33965 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33966 * configure: Regenerated.
33967 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33968 $(libgcc_s_suffix).
33969 * config.make.in (libgcc_s_suffix): Remove variable.
33971 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33973 * sysdeps/unix/sysv/gethostname.c: Move to ...
33974 * sysdeps/posix/gethostname.c: ... here.
33976 * sysdeps/unix/execve.S: Remove file.
33978 * sysdeps/unix/_exit.S: Remove file.
33980 2012-04-23 Andreas Jaeger <aj@suse.de>
33983 * manual/Makefile: Remove make dist support, there's no
33984 need for a stand-alone documentation tar ball.
33985 (TEXI2DVI): Define always, it's not in Makeconfig.
33988 (edition): Removed.
33989 (glibc-doc-$(edition).tar): Removed
33993 (ETAGS): Remove, it's in Makeconfig.
33994 (move-if-change): Remove, it's in Makeconfig.
33996 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33999 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34000 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34001 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34002 (strtod_l, strtof_l, strtold_l): Remove __wur.
34003 It is not necessarily an error to ignore strtol's return value.
34004 One can reliably look at the stored endptr to decide whether
34005 the number had valid syntax.
34007 2012-04-21 Andreas Jaeger <aj@suse.de>
34010 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34012 2012-04-21 Joseph Myers <joseph@codesourcery.com>
34014 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34015 * sysdeps/unix/sysv/Versions: Remove file.
34017 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34022 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
34025 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34026 version from __vm86.
34028 2012-04-20 Joseph Myers <joseph@codesourcery.com>
34030 * sysdeps/unix/common/lxstat.c: Remove file.
34031 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34033 * sysdeps/unix/sysv/Makefile: Remove file.
34035 * sysdeps/unix/sysv/direct.h: Remove file.
34037 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34038 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34039 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34040 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34041 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34042 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34043 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34045 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34047 * sysdeps/unix/xmknod.c: Remove file.
34048 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34050 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34052 * sysdeps/unix/sysv/i386/time.S: Remove file.
34054 * sysdeps/unix/fxstat.c: Remove file.
34055 * sysdeps/unix/xstat.c: Likewise.
34056 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34058 * sysdeps/unix/sysv/sigaction.c: Remove file.
34060 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34061 (sysdep_headers): Remove variable.
34062 [termio.h not in sysdep_headers] (generated): Likewise.
34063 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34064 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34065 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34066 * sysdeps/unix/sysv/tcflow.c: Likewise.
34067 * sysdeps/unix/sysv/tcflush.c: Likewise.
34068 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34069 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34070 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34071 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34072 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34074 * sysdeps/unix/siglist.c: Remove file.
34076 * sysdeps/unix/getppid.S: Remove file.
34078 * sysdeps/unix/mkdir.c: Remove file.
34079 * sysdeps/unix/rmdir.c: Likewise.
34081 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34083 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34085 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34086 errlist-compat value.
34088 2012-04-18 David S. Miller <davem@davemloft.net>
34090 * sysdeps/generic/memcopy.h (reg_char): Delete.
34091 * debug/strcat_chk.c: Use char, not reg_char.
34092 * debug/strcpy_chk.c: Likewise.
34093 * debug/strncat_chk.c: Likewise.
34094 * debug/strncpy_chk.c: Likewise.
34095 * string/memchr.c: Likewise.
34096 * string/memrchr.c: Likewise.
34097 * string/rawmemchr.c: Likewise.
34098 * string/strcat.c: Likewise.
34099 * string/strchr.c: Likewise.
34100 * string/strchrnul.c: Likewise.
34101 * string/strcmp.c: Likewise.
34102 * string/strcpy.c: Likewise.
34103 * string/strncat.c: Likewise.
34104 * string/strncmp.c: Likewise.
34105 * string/strncpy.c: Likewise.
34107 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34109 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34110 __builtin_memcopy is called when src and dest ranges are known to not
34113 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34115 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34116 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34117 fwd_align_merge macro call.
34118 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34119 bwd_align_merge macro call.
34120 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34122 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34124 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34125 bwd_align_merge macros.
34126 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34127 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34128 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34130 2012-04-18 David S. Miller <davem@davemloft.net>
34132 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34134 2012-04-18 Andreas Jaeger <aj@suse.de>
34137 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34138 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34139 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34141 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34142 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34143 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34145 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34146 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34147 Adjust for changed ldbl-128 files.
34149 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34150 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34151 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34153 2012-04-17 David S. Miller <davem@davemloft.net>
34155 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34157 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34159 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34160 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34161 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34162 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34163 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34164 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34166 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34169 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34170 * math/libm-test.inc: Add ilogb errno and exception tests.
34171 * math/w_ilogb.c: New file: ilogb wrapper.
34172 * math/w_ilogbf.c: New file: ilogbf wrapper.
34173 * math/w_ilogbl.c: New file: ilogbl wrapper.
34174 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34175 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34176 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34177 exception being thrown with 0.0 as argument.
34178 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34179 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34180 exception being thrown with 0.0 as argument.
34181 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34182 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34183 exception being thrown with 0.0 as argument.
34184 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34185 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34186 exception being thrown with 0.0 as argument.
34187 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34188 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34189 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34190 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34191 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34192 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34193 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34194 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34195 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34197 2012-04-17 Petr Baudis <pasky@ucw.cz>
34199 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34202 2012-04-16 Marek Polacek <polacek@redhat.com>
34204 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34206 2012-04-16 Marek Polacek <polacek@redhat.com>
34208 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34209 operands of fdivp instruction.
34211 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34213 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34214 * elf/tst-auditmod3b.c: Likewise.
34215 * elf/tst-auditmod4b.c: Likewise.
34216 * elf/tst-auditmod5b.c: Likewise.
34217 * elf/tst-auditmod6b.c: Likewise.
34218 * elf/tst-auditmod6c.c: Likewise.
34219 * elf/tst-auditmod7b.c: Likewise.
34220 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34221 * sysdeps/x86_64/preconfigure.in: Likewise.
34222 * sysdeps/x86_64/preconfigure: Regenerated.
34224 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34226 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34229 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
34231 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34232 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34234 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34237 * locale/iso-639.def: Fix gl language name. Spotted by
34240 2012-04-12 Roland McGrath <roland@hack.frob.com>
34243 * libio/libio.h (__io_write_fn): Update comment.
34245 2012-04-12 Petr Baudis <pasky@ucw.cz>
34248 * stdio.texi (Hook Functions): The user provided writer function
34249 is not allowed to return -1.
34251 2012-04-11 David S. Miller <davem@davemloft.net>
34253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34255 2012-04-11 Mike Frysinger <vapier@gentoo.org>
34257 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34258 Add a leading slash to rtkaio.
34260 2012-04-11 Jim Meyering <meyering@redhat.com>
34263 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34264 It is not necessarily an error to ignore fwrite's return
34265 value. One can reliably use ferror to test for errors after
34268 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34270 * bits/types.h (__snseconds_t): New type.
34271 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34273 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34275 (__SNSECONDS_T_TYPE): Likewise.
34276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34277 (__SNSECONDS_T_TYPE): Likewise.
34278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34279 (__SNSECONDS_T_TYPE): Likewise.
34281 2012-04-10 Andreas Jaeger <aj@suse.de>
34284 * manual/time.texi (Processor Time): Return type of times is
34285 elapsed real time since an arbitrary point in the past.
34286 (CPU Time): Move CLK_TCK from here...
34287 (Processor Time): ...to here. Correct description.
34288 * manual/conf.texi (Constants for Sysconf): Correct description of
34291 2012-04-10 David S. Miller <davem@davemloft.net>
34294 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34295 where the is a gap between DT_REL(A) and DT_JMPREL.
34297 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34299 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34300 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34301 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34303 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34305 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34306 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34307 (dl_main): Handle --inhibit-cache.
34308 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34310 * elf/dl-load.c (_dl_map_object): Use it.
34311 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34313 2012-04-09 Joseph Myers <joseph@codesourcery.com>
34316 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34317 (__ieee754_powl): Saturate large exponents rather than testing for
34318 overflow of y*log2(x).
34319 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34320 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34324 * math/s_ctan.c: Include <float.h>.
34325 (__ctan): Avoid internal overflow or cancellation in calculating
34327 * math/s_ctanf.c: Likewise.
34328 * math/s_ctanl.c: Likewise.
34329 * math/s_ctanh.c: Likewise.
34330 * math/s_ctanhf.c: Likewise.
34331 * math/s_ctanhl.c: Likewise.
34332 * math/libm-test.inc (ctan_test): Add more tests.
34333 (ctanh_test): Likewise.
34334 * sysdeps/i386/fpu/libm-test-ulps: Update.
34335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34337 2012-04-09 Andreas Jaeger <aj@suse.de>
34340 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34341 is an optional BSD extension.
34344 * manual/stdio.texi (Opening Streams): Document additional fopen
34347 2012-04-09 Roland McGrath <roland@hack.frob.com>
34349 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34350 %eax without telling the compiler.
34352 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34355 * manual/install.texi: Use sourceware.org.
34357 2012-04-09 Joseph Myers <joseph@codesourcery.com>
34360 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34361 (__ieee754_pow): Generate overflow and underflow using huge*huge
34362 and tiny*tiny rather than just returning constant infinity or zero
34363 for large exponents.
34364 * math/libm-test.inc (pow_test): Require overflow exceptions for
34365 applicable cases of large exponents.
34368 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34369 (__ieee754_pow): Use iterative multiplication algorithm only for
34370 integer exponents with absolute value below 1024. Check for odd
34371 integer exponents when using algorithm for real exponents.
34372 * math/libm-test.inc (pow_test): Add more tests.
34373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34375 2012-04-08 Joseph Myers <joseph@codesourcery.com>
34378 * math/libm-test.inc (exp_test): Do not allow overflow exception
34381 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34384 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34385 instead of __kernel_standard_f.
34387 2012-04-08 Mike Frysinger <vapier@gentoo.org>
34389 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34390 * sysdeps/x86_64/memset_chk.S: Likewise.
34392 2012-04-08 Andreas Jaeger <aj@suse.de>
34395 * manual/startup.texi (Environment Access): Describe return value
34396 for putenv and setenv.
34399 * manual/filesys.texi (Directory Entries): Add description for
34403 * manual/filesys.texi (Directory Entries): Clarify that it's file
34404 system not operating system in the description of DT_UNKNOWN.
34407 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34409 2012-04-08 Stephen Compall <s11@member.fsf.org>
34412 * manual/llio.texi (Opening and Closing Files): Add cross
34413 reference to explain mode argument.
34415 2012-04-07 Mike Frysinger <vapier@gentoo.org>
34417 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34418 * sysdeps/x86_64/memset_chk.S: Likewise.
34420 2012-04-07 David S. Miller <davem@davemloft.net>
34422 * elf/elf.h (R_SPARC_WDISP10): Define.
34423 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34425 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34426 R_SPARC_SIZE64 and R_SPARC_H34.
34428 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34430 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34431 conditions and remove no longer applicable assertion.
34433 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34435 * bits/byteswap.h: Include <features.h>.
34436 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34437 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34439 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34441 * bits/byteswap.h (__bswap_16): Removed.
34442 Include <bits/byteswap-16.h> to get __bswap_16.
34443 * sysdeps/i386/bits/byteswap.h: Likewise.
34444 * sysdeps/s390/bits/byteswap.h: Likewise.
34445 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34446 * bits/byteswap-16.h: New file.
34447 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34448 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34449 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34450 * string/Makefile (headers): Add bits/byteswap-16.h.
34452 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34455 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34457 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34458 * nss/tst-nss-static.c: New.
34460 2012-04-06 Robert Millan <rmh@gnu.org>
34463 * manual/llio.texi (File Position Primitive): lseek
34464 refers to WHENCE when it really means OFFSET.
34466 2012-04-06 Andreas Jaeger <aj@suse.de>
34468 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34469 strncmp declarations.
34471 * abilist/libc.abilist: Add __poll and __ppoll.
34473 2012-04-05 David S. Miller <davem@davemloft.net>
34475 * scripts/check-local-headers.sh: Accept a host triplet in the
34476 path matched by the exclude regexp.
34478 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34480 * sysdeps/powerpc/powerpc32/dl-machine.h
34481 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34482 * sysdeps/s390/s390-32/dl-machine.h
34483 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34484 * sysdeps/sparc/sparc32/dl-machine.h
34485 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34486 * sysdeps/sparc/sparc64/dl-machine.h
34487 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34489 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34491 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34492 undefined symbol errors.
34494 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34497 2012-04-05 Michael Matz <matz@suse.de>
34500 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34502 2012-04-05 Andreas Jaeger <aj@suse.de>
34505 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34508 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34510 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34511 which ROUND is no valid rounding mode.
34513 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34515 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34517 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34519 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34521 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34522 an exception using FPU order intentionally.
34524 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34526 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34527 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34528 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34529 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34531 2012-04-05 Simon Josefsson <simon@josefsson.org>
34534 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34535 EINVAL when BUFLEN is too smal.
34537 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34540 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34541 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34543 2012-04-03 Andreas Jaeger <aj@suse.de>
34546 * manual/setjmp.texi (System V contexts): Fix sentence.
34549 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34550 New macro for this case.
34551 [!__GNUC__] (__bswap_64): New inline function for this case.
34552 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34553 * bits/byteswap.h: Likewise.
34554 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34555 ull, guard with __GLIBC_HAVE_LONG_LONG.
34557 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34558 __GLIBC_HAVE_LONG_LONG.
34560 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34561 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34563 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34566 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34567 inptr and inend, rather than using last_ch.
34569 2012-04-02 David S. Miller <davem@davemloft.net>
34571 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34572 * stdio-common/printf-parse.h (read_int): Change return type to
34573 'int', return -1 on INT_MAX overflow.
34574 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34575 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34576 overflows INT_MAX. Check for overflow of in-format-string precision
34577 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34578 SIZE_MAX not INT_MAX for integer overflow test.
34579 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34580 skip the construct in the format string but do not record anything.
34581 * stdio-common/bug22.c: Adjust to test both width/prevision
34582 INT_MAX overflow as well as total length INT_MAX overflow. Check
34583 explicitly for proper errno values.
34585 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34587 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34589 * string/test-strcmp.c [! WIDE]: Likewise.
34590 * time/tst-mktime2.c: Likewise for INT_MAX.
34591 * string/test-string.h: #include <sys/param.h> for MIN.
34593 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34594 * sysdeps/i386/init-first.c (init): Likewise.
34595 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34596 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34597 * sysdeps/sh/init-first.c (init): Likewise.
34599 2012-04-01 Ulrich Drepper <drepper@gmail.com>
34601 * po/ru.po: Update from translation team.
34602 * po/vi.po: Likewise.
34604 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34606 * resolv/nss_dns/dns-host.c: Merge copyright years.
34608 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34610 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34611 Optimize memcpy with prefetch if
34612 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34613 src, dst pointers have unequal 16 byte alignments.
34615 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34618 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34619 from a CNAME entry and return the minimum ttl for the query.
34620 (gaih_getanswer_slice): Likewise.
34622 2012-03-30 Jeff Law <law@redhat.com>
34624 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34626 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34627 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34629 * resolv/nss_dns/dns-host.c: Update copyright year.
34631 2012-03-30 Ulrich Drepper <drepper@gmail.com>
34633 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34634 requests to save a system call. Fix check that all bytes are sent.
34636 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34637 comments for sendmmsg.
34639 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34642 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34643 with only 1 character between 0x0041 and 0x01b0.
34644 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34645 * wcsmbs/tst-mbsnrtowcs.c: New file.
34647 2012-03-29 David S. Miller <davem@davemloft.net>
34649 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34650 small copies by hand.
34652 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34655 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34656 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34659 2012-03-28 David S. Miller <davem@davemloft.net>
34661 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34662 that branches into memcpy.
34663 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34664 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34665 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34666 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34667 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34669 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34670 implementation too.
34671 * sysdeps/sparc/mempcpy.S: New file.
34673 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34674 the IFUNC routine in the libc case.
34675 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34677 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34678 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34679 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34680 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34681 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34682 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34683 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34684 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34686 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34687 loop to 256 bytes instead of 64 bytes and fix test signedness.
34689 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34690 * sysdeps/sparc/sparc32/Makefile: rather than here...
34691 * sysdeps/sparc/sparc64/Makefile: and here.
34693 2012-03-28 Ulrich Drepper <drepper@gmail.com>
34695 * malloc/mallocbug.c: Avoid warnings about unused variables.
34697 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34700 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34701 in the right place. Discard and retry query if response is
34702 larger than input buffer size.
34704 2012-03-28 Joseph Myers <joseph@codesourcery.com>
34709 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34710 x for large integer exponent.
34711 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34712 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34713 sign of result as needed afterwards.
34714 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34715 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34716 result for underflowing pow the same as for overflow.
34717 (__kernel_standard_l): Handle powl overflow and underflow here
34718 rather than calling __kernel_standard.
34719 * math/libm-test.inc (pow_test): Add more tests.
34734 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34735 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34736 (__kernel_standard_l): New function.
34737 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34739 * math/w_acosl.c (__acosl): Likewise.
34740 * math/w_asinl.c (__asinl): Likewise.
34741 * math/w_atan2l.c (__atan2l): Likewise.
34742 * math/w_atanhl.c (__atanhl): Likewise.
34743 * math/w_coshl.c (__coshl): Likewise.
34744 * math/w_exp10l.c (__exp10l): Likewise.
34745 * math/w_exp2l.c (__exp2l): Likewise.
34746 * math/w_fmodl.c (__fmodl): Likewise.
34747 * math/w_hypotl.c (__hypotl): Likewise.
34748 * math/w_j0l.c (__j0l, __y0l): Likewise.
34749 * math/w_j1l.c (__j1l, __y1l): Likewise.
34750 * math/w_jnl.c (__jnl, __ynl): Likewise.
34751 * math/w_lgammal.c (__lgammal): Likewise.
34752 * math/w_log10l.c (__log10l): Likewise.
34753 * math/w_log2l.c (__log2l): Likewise.
34754 * math/w_logl.c (__logl): Likewise.
34755 * math/w_powl.c (__powl): Likewise.
34756 * math/w_remainderl.c (__remainderl): Likewise.
34757 * math/w_scalbl.c (sysv_scalbl): Likewise.
34758 * math/w_sinhl.c (__sinhl): Likewise.
34759 * math/w_sqrtl.c (__sqrtl): Likewise.
34760 * math/w_tgammal.c (__tgammal): Likewise.
34761 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34762 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34763 * math/libm-test.inc (acos_test): Add more tests.
34764 (acosh_test): Likewise.
34765 (asin_test): Likewise.
34766 (atanh_test): Likewise.
34767 (exp_test): Likewise.
34768 (exp10_test): Likewise.
34769 (exp2_test): Likewise.
34770 (expm1_test): Likewise.
34771 (lgamma_test): Likewise.
34772 (log_test): Likewise.
34773 (log10_test): Likewise.
34774 (log1p_test): Likewise.
34775 (log2_test): Likewise.
34776 (pow_test): Do not allow some spurious overflow exceptions.
34777 (sqrt_test): Add more tests.
34778 (tgamma_test): Likewise.
34779 (y0_test): Likewise.
34780 (y1_test): Likewise.
34781 (yn_test): Likewise.
34783 2012-03-27 Anton Blanchard <anton@samba.org>
34785 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34787 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34788 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34789 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34791 2012-03-27 David S. Miller <davem@davemloft.net>
34793 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34795 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34796 have-as-vis3 check.
34798 2012-03-27 Andreas Jaeger <aj@suse.de>
34800 * sysdeps/x86_64/elf/configure.in: Moved to ...
34801 * sysdeps/x86_64/configure.in: ... here.
34802 * sysdeps/x86_64/elf/start.S: Moved to ...
34803 * sysdeps/x86_64/start.S: ... here.
34804 * sysdeps/x86_64/elf/configure: Delete.
34806 * sysdeps/x86_64/configure.in: Merge contents from
34807 sysdeps/i386/configure.in (without i686 check).
34809 * sysdeps/i386/elf/Versions: Merge into ...
34810 * sysdeps/i386/Versions: ... this.
34811 * sysdeps/i386/elf/Versions: Delete file.
34812 * sysdeps/i386/elf/start.S: Moved to ...
34813 * sysdeps/i386/start.S: ...here.
34814 * sysdeps/i386/elf/configure.in: Merge into...
34815 * sysdeps/i386/configure.in: ...here.
34816 * sysdeps/i386/elf/configure.in: Delete file.
34817 * sysdeps/i386/elf/configure: Delete file.
34819 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34820 * debug/backtracesyms.c: ... here.
34821 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34822 * debug/backtracesymsfd.c: ... here.
34823 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34824 * sysdeps/generic/ifunc-sel.h: ... here.
34826 * sysdeps/unix/i386/start.c: Delete file.
34827 * sysdeps/unix/sparc/start.c: Delete file.
34828 * sysdeps/unix/start.c: Delete file.
34830 * sysdeps/sh/elf/configure.in: Moved to ...
34831 * sysdeps/sh/configure.in: ... here.
34832 * sysdeps/sh/elf/start.S: Moved to ...
34833 * sysdeps/sh/start.S: ... here.
34834 * sysdeps/sh/elf/configure: Delete file.
34836 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34837 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34838 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34839 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34840 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34841 * sysdeps/powerpc/powerpc64/start.S: here.
34842 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34843 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34844 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34845 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34846 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34848 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34849 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34850 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34851 * sysdeps/powerpc/powerpc32/start.S: ... here.
34852 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34853 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34854 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34856 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34857 * sysdeps/powerpc/ifunc-sel.h: ... here.
34858 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34859 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34861 * sysdeps/sparc/elf/configure.in: Moved to ...
34862 * sysdeps/sparc/configure.in: ... here.
34863 * sysdeps/sparc/elf/configure: Delete file.
34864 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34865 * sysdeps/sparc/sparc32/start.S: ... here.
34866 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34867 * sysdeps/sparc/sparc64/start.S: ... here.
34868 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34869 * sysdeps/sparc/sparc32/Makefile: ... this.
34870 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34871 * sysdeps/sparc/sparc64/Makefile: ... this.
34873 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34874 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34875 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34876 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34877 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34878 * sysdeps/s390/s390-32/setjmp.S: ... here.
34879 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34880 * sysdeps/s390/s390-32/configure.in: ... here.
34881 * sysdeps/s390/s390-32/elf/configure: Delete file.
34882 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34883 * sysdeps/s390/s390-32/start.S: ... here.
34885 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34886 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34887 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34888 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34889 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34890 * sysdeps/s390/s390-64/setjmp.S: ... here.
34891 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34892 * sysdeps/s390/s390-64/configure.in: ... here
34893 * sysdeps/s390/s390-64/elf/configure: Delete file.
34894 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34895 * sysdeps/s390/s390-64/start.S: ... here.
34896 * sysdeps/s390/s390-64/elf/configure: Delete.
34898 * configure.in: Remove support for elf directories in sysdeps.
34900 * configure: Regenerated.
34901 * sysdeps/i386/configure: Regenerated.
34902 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34903 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34904 * sysdeps/s390/s390-32/configure: Regenerated.
34905 * sysdeps/s390/s390-64/configure: Regenerated.
34906 * sysdeps/sh/configure: Regenerated.
34907 * sysdeps/sparc/configure: Regenerated.
34908 * sysdeps/x86_64/configure: Regenerated.
34910 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34914 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34915 denormal result into account.
34917 2012-03-25 Roland McGrath <roland@hack.frob.com>
34919 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34920 Reported by Allan McRae <allan@archlinux.org>.
34922 2012-03-23 Jeff Law <law@redhat.com>
34924 * nss/getnssent.c (__nss_getent): Fix typo.
34926 2012-03-23 David S. Miller <davem@davemloft.net>
34928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34930 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34932 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34933 to pad to uint64_t for each field.
34934 (dl_tls_index): Replace unsigned long with uint64_t.
34936 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34937 Paul Pluzhnikov <ppluzhnikov@google.com>
34940 * grp/Makefile (otherlibs): Don't set it.
34941 * inet/Makefile (otherlibs): Likewise.
34942 * login/Makefile (otherlibs): Likewise.
34943 * nscd/Makefile (otherlibs): Likewise.
34944 * posix/Makefile (otherlibs): Likewise.
34945 * pwd/Makefile (otherlibs): Likewise.
34946 * rt/Makefile (otherlibs): Likewise.
34947 * sunrpc/Makefile (otherlibs): Likewise.
34948 * nss/Makefile (otherlibs): Likewise.
34949 Add libnss_files to routines and static-only-routines.
34950 ($(objpfx)getent): Remove rule.
34951 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34952 static-only-routines.
34954 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34957 * math/s_cexp.c: Include <float.h>.
34958 (__cexp): Handle exp result overflowing not necessarily
34959 overflowing both real and imaginary parts of result.
34960 * math/s_cexpf.c: Likewise.
34961 * math/s_cexpl.c: Likewise.
34962 * math/libm-test.inc (cexp_test): Add more tests.
34963 * sysdeps/i386/fpu/libm-test-ulps: Update.
34964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34966 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34968 * include/link.h (ELFW): New macro.
34969 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34970 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34972 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34974 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34977 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34979 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34981 (struct La_x32_retval): Likewise.
34983 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34985 * sysdeps/x86_64/preconfigure.in: New file.
34986 * sysdeps/x86_64/preconfigure: New generated file.
34988 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34991 * math/e_exp2l.c: Include <float.h>.
34992 (__ieee754_exp2l): Handle overflow and underflow cases
34993 separately. Only pass fractional part of argument to
34995 * math/libm-test.inc (exp2_test): Add more tests.
34997 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34998 negating x to take absolute value.
34999 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35001 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35002 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35004 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35005 computing low part if x was negated.
35006 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35008 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35010 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35011 la_x32_gnu_pltexit.
35012 (pltexit): Cast int_retval to ptrdiff_t.
35013 * elf/tst-auditmod3b.c: Likewise.
35014 * elf/tst-auditmod4b.c: Likewise.
35015 * elf/tst-auditmod5b.c: Likewise.
35016 * elf/tst-auditmod6b.c: Likewise.
35017 * elf/tst-auditmod6c.c: Likewise.
35018 * elf/tst-auditmod7b.c: Likewise.
35020 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35021 and x32_gnu_pltexit.
35023 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35024 __ELF_NATIVE_CLASS.
35025 (La_x32_regs): New macro.
35026 (La_x32_retval): Likewise.
35027 (la_x32_gnu_pltenter): New function prototype.
35028 (la_x32_gnu_pltexit): Likewise.
35030 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35032 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35037 * configure.in (libc_cv_cc_nofma): Check for option to disable
35038 generation of FMA instructions.
35039 * configure: Regenerate.
35040 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35041 * sysdeps/ieee754/dbl-64/Makefile: New file.
35042 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35043 Remove brandred-fma4.
35044 (CFLAGS-brandred-fma4.c): Remove.
35045 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35046 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35048 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35051 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35053 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35054 LLONG_MAX != LONG_MAX.
35055 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35056 (_fitoa_word): Likewise.
35057 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35058 LLONG_MAX != LONG_MAX.
35059 * stdio-common/_itowa.h: Include <_itoa.h>.
35060 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35061 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35062 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35063 only if not defined.
35064 (_ITOA_WORD_TYPE): Likewise.
35065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35066 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35068 2012-03-21 David S. Miller <davem@davemloft.net>
35070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35072 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35074 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35075 of x86_64 when setting libc_cv_slibdir, libdir and
35077 * sysdeps/unix/sysv/linux/configure: Regenerated.
35079 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35081 * manual/lang.texi (Old Varargs): Remove section.
35082 (How Variadic): Update menu.
35083 (va_start): Do not mention varargs.h.
35085 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35086 Joseph Myers <joseph@codesourcery.com>
35088 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35090 * configure: Regenerated.
35092 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35094 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35095 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35098 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35101 * Makefile (files-for-dist): Remove NOTES.
35102 (NOTES): Remove rule.
35103 * README: Don't refer to NOTES.
35104 * manual/creature.texi: Don't include macros.texi.
35105 * manual/intro.texi (creature.texi): Remove comment referring to
35108 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35109 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35110 * configure: Regenerated.
35111 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35112 LIBC_TRY_CC_OPTION.
35113 (libc_cv_as_i686): Likewise.
35114 (libc_cv_cc_avx): Likewise.
35115 (libc_cv_cc_sse2avx): Likewise.
35116 (libc_cv_cc_fma4): Likewise.
35117 (libc_cv_cc_novzeroupper): Likewise.
35118 * sysdeps/i386/configure: Regenerated.
35121 * sysdeps/i386/fpu/s_cexp.S: Remove.
35122 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35123 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35124 * math/libm-test.inc (cexp_test): Add more tests.
35125 * sysdeps/i386/fpu/libm-test-ulps: Update.
35126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35128 2012-03-21 Allan McRae <allan@archlinux.org>
35130 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35132 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35135 * math/w_exp2.c: Do not include <float.h>.
35136 (o_threshold, u_threshold): Remove.
35137 (__exp2): Calculate result before checking finiteness and calling
35139 * math/w_exp2f.c: Likewise.
35140 * math/w_exp2l.c: Likewise.
35141 * math/libm-test.inc (exp2_test): Require overflow exception for
35145 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35146 range of signed 64-bit integers before using fistpll. Remove
35147 checks for whether integers fit in mantissa bits.
35148 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35149 the range of signed 32-bit integers before using fistpl. Remove
35150 checks for whether integers fit in mantissa bits.
35151 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35152 (__ieee754_powl): Test for y outside the range of signed 64-bit
35153 integers before using fistpll. Reduce 64-bit values to 63-bit
35155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35156 divide-by-zero is raised for zero to large negative powers.
35157 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35158 (__ieee754_powl): Test for y outside the range of signed 64-bit
35159 integers before using fistpll. Reduce 64-bit values to 63-bit
35161 * math/libm-test.inc (pow_test): Add more tests.
35163 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35165 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35166 <stdio-common/_itoa.h>.
35167 * debug/segfault.c: Likewise.
35168 * elf/dl-cache.c: Likewise.
35169 * elf/dl-minimal.c: Likewise.
35170 * elf/dl-misc.c: Likewise.
35171 * elf/dl-sysdep.c: Likewise.
35172 * elf/dl-version.c: Likewise.
35173 * elf/rtld.c: Likewise.
35174 * hurd/hurdsock.c: Likewise.
35175 * hurd/lookup-retry.c: Likewise.
35176 * malloc/malloc.c: Likewise.
35177 * malloc/mtrace.c: Likewise.
35178 * nscd/nscd_getgr_r.c: Likewise.
35179 * nscd/nscd_getpw_r.c: Likewise.
35180 * nscd/nscd_getserv_r.c: Likewise.
35181 * posix/getopt_init.c: Likewise.
35182 * posix/wordexp.c: Likewise.
35183 * stdio-common/_itoa.c: Likewise.
35184 * stdio-common/printf_fphex.c: Likewise.
35185 * stdio-common/vfprintf.c: Likewise.
35186 * string/_strerror.c: Likewise.
35187 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35188 * sysdeps/i386/i686/hp-timing.h: Likewise.
35189 * sysdeps/mach/_strerror.c: Likewise.
35190 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35191 * sysdeps/mach/hurd/sethostid.c: Likewise.
35192 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35193 * sysdeps/mach/xpg-strerror.c: Likewise.
35194 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35195 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35196 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35197 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35198 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35199 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35200 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35201 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35202 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35203 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35204 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35205 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35206 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35207 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35208 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35209 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35210 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35211 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35212 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35213 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35214 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35216 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35218 * stdio-common/_itoa.h: Moved to ...
35219 * sysdeps/generic/_itoa.h: Here.
35221 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35223 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35224 instead of "_itoa.h" and "_itowa.h".
35225 * stdio-common/vfprintf.: Likewise.
35227 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35229 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35231 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35232 (__signbit): Likwise.
35233 (llrintf): Likwise.
35236 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35238 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35241 2012-03-20 Joseph Myers <joseph@codesourcery.com>
35243 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35244 OVERFLOW_EXCEPTION_OK.
35245 * math/libm-test.inc ("Philosophy"): Update comment about
35247 (OVERFLOW_EXCEPTION): Define.
35248 (OVERFLOW_EXCEPTION_OK): Likewise.
35249 (INVALID_EXCEPTION_OK): Renumber.
35250 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35251 (IGNORE_ZERO_INF_SIGN): Likewise.
35252 (test_exceptions): Handle FE_OVERFLOW.
35253 (exp10_test): Expect overflow exceptions.
35254 (exp2_test): Likewise.
35255 (expm1_test): Likewise.
35256 (nextafter_test): Likewise.
35257 (pow_test): Likewise.
35258 (scalbn_test): Likewise.
35259 (scalbln_test): Likewise.
35261 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35263 * sysdeps/x86_64/bits/atomic.h
35264 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35266 (atomic_exchange_acq): Likewise.
35267 (__arch_exchange_and_add_body): Likewise.
35268 (__arch_add_body): Likewise.
35269 (atomic_add_negative): Likewise.
35270 (atomic_add_zero): Likewise.
35272 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35274 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35275 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35277 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35279 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35280 Check __x86_64__ instead of __WORDSIZE.
35282 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35284 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35286 2012-03-19 David S. Miller <davem@davemloft.net>
35288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35290 * sysdeps/sparc/fpu/fenv_private.h: New file.
35291 * sysdeps/sparc/fpu/math_private.h: Use it.
35292 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35294 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35295 (libc_feholdexcept_setroundl): Remove.
35296 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35298 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35299 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35301 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35303 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35304 int64_t instead of long int.
35305 (INSERT_WORDS64): Likwise.
35307 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35309 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35310 _Unwind_GetCFA return to _Unwind_Ptr first.
35312 2012-03-19 Joseph Myers <joseph@codesourcery.com>
35315 * math/s_clog.c: Include <float.h>.
35316 (__clog): Scale large or subnormal inputs.
35317 * math/s_clogf.c: Likewise.
35318 * math/s_clogl.c: Likewise.
35319 * math/s_clog10.c: Include <float.h>.
35320 (M_LOG10_2): Define.
35321 (__clog10): Scale large or subnormal inputs.
35322 * math/s_clog10f.c: Likewise.
35323 * math/s_clog10l.c: Likewise.
35324 * math/libm-test.inc (clog_test): Add more tests.
35325 (clog10_test): Likewise.
35326 * sysdeps/i386/fpu/libm-test-ulps: Update.
35327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35330 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35332 * math/libm-test.inc (atan2_test): Add another test.
35334 * Makerules (common-objdir-compile): Remove.
35335 * sysdeps/unix/Makefile (config-generated): Do not add
35336 $(unix-generated) to variable.
35337 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35338 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35340 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35342 [generic bits/local_lim.h] (before-compile): Do not append to
35344 [generic bits/local_lim.h] (common-generated): Likewise.
35345 [generic sys/param.h] (before-compile): Do not append to variable.
35346 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35347 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35348 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35349 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35351 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35352 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35353 [generic sys/param.h] ($(addprefix
35354 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35355 [generic sys/param.h] (common-generated): Do not append to
35357 [generic sys/param.h] (sysdep_headers): Likewise.
35358 [generic bits/errno.h] (before-compile): Do not append to
35360 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35362 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35363 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35364 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35365 [generic bits/errno.h] (common-generated): Do not append to
35367 [generic bits/ioctls.h] (before-compile): Do not append to
35369 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35371 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35372 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35373 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35375 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35376 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35377 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35378 [generic bits/ioctls.h] (common-generated): Do not append to
35380 [generic sys/syscall.h] (syscall.h): Remove variable.
35381 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35383 [generic sys/syscall.h] (before-compile): Do not append to
35385 [generic sys/syscall.h] (common-generated): Likewise.
35386 * sysdeps/unix/errnos-tmpl.c: Remove file.
35387 * sysdeps/unix/errnos.awk: Likewise.
35388 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35389 * sysdeps/unix/ioctls.awk: Likewise.
35390 * sysdeps/unix/mk-local_lim.c: Likewise.
35391 * sysdeps/unix/snarf-ioctls: Likewise.
35393 2012-03-19 Richard Henderson <rth@twiddle.net>
35395 * sysdeps/i386/fpu/fenv_private.h: New file.
35396 * sysdeps/i386/fpu/math_private.h: Use it.
35397 (math_opt_barrier, math_force_eval): Remove.
35398 (libc_feholdexcept_setround_53bit): Remove.
35399 (libc_feupdateenv_53bit): Remove.
35400 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35401 (math_opt_barrier, math_force_eval): Remove.
35402 (libc_feholdexcept): Remove.
35403 (libc_feholdexcept_setround): Remove.
35404 (libc_fetestexcept, libc_fesetenv): Remove.
35405 (libc_feupdateenv_test): Remove.
35406 (libc_feupdateenv, libc_feholdsetround): Remove.
35407 (libc_feresetround): Remove.
35409 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35410 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35412 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35413 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35414 (libc_feupdateenv_testl): New.
35415 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35416 (libc_feupdateenv_testf): New.
35417 (libc_feupdateenv): Use libc_feupdateenv_test.
35418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35419 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35421 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35422 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35423 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35424 (libc_feresetround_noex): New.
35425 (libc_feresetround_noexf): New.
35426 (libc_feresetround_noexl): New.
35427 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35428 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35429 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35430 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35432 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35435 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35436 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35437 SET_RESTORE_ROUND_NOEX.
35438 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35439 SET_RESTORE_ROUND_NOEXF.
35440 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35441 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35442 (libc_feholdsetroundf): New.
35443 (libc_feresetround, libc_feresetroundf): New.
35445 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35446 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35447 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35449 * sysdeps/generic/math_private.h: Include <fenv.h>.
35450 (default_libc_feholdexcept): New.
35451 (default_libc_feholdexcept_setround): New.
35452 (default_libc_fesetenv, default_libc_feupdateenv): New.
35453 (libc_feholdexcept): Only define if undefined.
35454 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35455 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35456 (libc_feholdexcept_setroundl): Likewise.
35457 (libc_feholdexcept_setround_53bit): Likewise.
35458 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35459 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35460 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35461 (libc_feupdateenv_53bit): Likewise.
35462 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35463 (libc_feholdexcept): Convert from macro to inline function.
35464 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35465 (libc_fesetenv, libc_feupdateenv): Likewise.
35467 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35468 not previously defined.
35469 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35470 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35471 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35472 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35473 * sysdeps/ieee754/flt-32/math_private.h: New file.
35474 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35475 math_private.h below SET_FLOAT_WORD.
35476 (__isnan, __isinf_ns, __finite): Remove.
35477 (__isnanf, __isinf_nsf, __finitef): Remove.
35479 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35483 2012-03-17 David S. Miller <davem@davemloft.net>
35486 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35489 2012-03-16 David S. Miller <davem@davemloft.net>
35491 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35495 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35497 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35498 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35499 sysdep_routines when subdir is sysvipc.
35500 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35501 __getshmlba helper.
35503 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35505 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35507 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35510 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35512 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35513 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35514 (__lround): Renamed to ...
35515 (__llround): This. Replace long int with long long int.
35516 Define lround functions as aliases of llround functions.
35517 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35519 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35521 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35522 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35523 adresses to uintptr_t. Replace "long int" and "unsigned long
35524 int" with "greg_t" on va_arg.
35526 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35528 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35529 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35531 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35532 Move e_machine check before EI_CLASS check. Handle x32
35533 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35534 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35535 SKIP_EM_IA_64 and include
35536 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35538 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35539 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35540 (add_system_dir): New macro.
35542 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35543 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35545 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35556 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35558 * math/w_j0f.c (j0f): Likewise.
35560 * math/w_j0l.c (__j0l): Likewise.
35562 * math/w_j1.c (j1): Likewise.
35564 * math/w_j1f.c (j1f): Likewise.
35566 * math/w_j1l.c (__j1l): Likewise.
35568 * math/w_jn.c (jn): Likewise.
35570 * math/w_jnf.c (jnf): Likewise.
35572 * math/w_jnl.c (__jnl): Likewise.
35574 * math/libm-test.inc (j0_test): Add more tests.
35575 (j1_test): Likewise.
35576 (jn_test): Likewise. Add trailing semicolon to existing test.
35577 (y0_test): Likewise.
35578 (y1_test): Likewise.
35579 * sysdeps/i386/fpu/libm-test-ulps: Update.
35580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35584 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35585 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35586 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35587 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35588 (__tanl): Set errno for infinite argument.
35589 * sysdeps/i386/fpu/mptan.c: Remove.
35590 * sysdeps/i386/fpu/s_tan.S: Likewise.
35591 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35592 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35593 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35594 * math/libm-test.inc (tan_test): Add more tests and enable more
35595 tests for double and long double.
35596 * sysdeps/i386/fpu/libm-test-ulps: Update.
35597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35599 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35601 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35602 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35604 2012-03-16 Roland McGrath <roland@hack.frob.com>
35606 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35607 * configure.in: Use it for both main tree and add-ons.
35608 * configure: Regenerated.
35610 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35612 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35614 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35616 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35620 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35621 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35622 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35623 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35624 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35626 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35627 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35628 != 0 for prec == 2.
35629 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35630 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35631 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35632 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35633 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35634 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35635 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35636 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35637 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35638 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35639 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35640 * math/libm-test.inc (cos_test): Add more tests and enable more
35641 tests for long double.
35642 (sin_test): Likewise.
35643 (sincos_test): Likewise.
35644 * sysdeps/i386/fpu/libm-test-ulps: Update.
35645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35647 2012-03-16 David S. Miller <davem@davemloft.net>
35649 * sysdeps/sparc/fpu/math_private.h: New file.
35651 2012-03-15 David S. Miller <davem@davemloft.net>
35653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35663 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35667 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35668 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35670 * sysdeps/sparc/sparc-ifunc.h: New file.
35671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35697 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35699 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35709 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35710 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35711 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35712 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35714 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35716 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35718 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35722 2012-03-15 Andreas Jaeger <aj@suse.de>
35725 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35726 ieee754/flt-32 implementation for sin, cos and sincos.
35727 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35728 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35729 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35730 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35731 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35732 ieee754/flt-32 implementation for tan.
35734 * math/libm-test.inc (cos_test): Enable some large input tests for
35736 (sin_test): Likewise.
35737 (sincos_test): Likewise.
35738 (tan_test): Add tests for large input.
35740 * sysdeps/i386/fpu/libm-test-ulps: Update.
35742 2012-03-15 Andreas Jaeger <aj@suse.de>
35745 * math/libm-test.inc (cos_test): Add more test cases.
35746 (sin_test): Likewise.
35747 (sincos_test): Likewise.
35749 2012-03-15 Andreas Jaeger <aj@suse.de>
35752 * math/libm-test.inc (cos_test): Add a test case for large input
35754 (sin_test): Likewise.
35755 (sincos_test): Likewise.
35757 2012-03-15 Andreas Jaeger <aj@suse.de>
35758 Joseph Myers <joseph@codesourcery.com>
35761 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35762 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35763 * sysdeps/i386/fpu/branred.c: Likewise.
35764 * sysdeps/i386/fpu/dosincos.c: Likewise.
35765 * sysdeps/i386/fpu/mpa.c: Likewise.
35766 * sysdeps/i386/fpu/s_cos.S: Likewise.
35767 * sysdeps/i386/fpu/s_sin.S: Likewise.
35768 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35769 * sysdeps/i386/fpu/sincos32.c: Likewise.
35771 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35773 (libc_feupdateenv_53bit): Define.
35774 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35776 (libc_feupdateenv_53bit): Define.
35778 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35779 53 bit (without extend i386 double precision).
35781 * math/libm-test.inc (sincos_test): Add tests for large input.
35785 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35787 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35791 2012-03-15 David S. Miller <davem@davemloft.net>
35793 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35794 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35795 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35796 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35806 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35820 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35821 fmin/fmax sysdep routines.
35822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35824 2012-03-14 David S. Miller <davem@davemloft.net>
35826 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35828 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35830 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35831 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35832 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35833 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35837 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35841 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35842 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35843 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35846 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35847 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35848 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35849 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35850 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35851 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35852 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35853 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35898 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35903 * sysdeps/sparc/configure.in: New file.
35904 * sysdeps/sparc/configure: Generate.
35905 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35906 * configure: Regenerate.
35907 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35908 * config.make.in (have-as-vis3): New.
35909 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35910 available use -Av9d instead of -Av9a.
35911 * sysdeps/sparc/sparc64/Makefile: Likewise.
35912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35922 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35923 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35924 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35925 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35927 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35928 fzeros/fnegs to load 0x80000000 into a float register instead of
35930 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35932 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35936 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35937 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35938 ($(inst_includedir)/bits/syscall.h): Remove rule.
35939 ($(objpfx)bits/syscall.d): Include instead of
35940 $(objpfx)syscall-list.d.
35941 (generated): Change syscall-list.h and syscall-list.d to
35942 bits/syscall.h and bits/syscall.d.
35944 2012-03-14 Roland McGrath <roland@hack.frob.com>
35947 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35949 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35952 * math/s_csqrt.c: Include <float.h>.
35953 (__csqrt): Scale large or subnormal inputs.
35954 * math/s_csqrtf.c: Likewise.
35955 * math/s_csqrtl.c: Likewise.
35956 * math/libm-test.inc (csqrt_test): Add more tests.
35957 * sysdeps/i386/fpu/libm-test-ulps: Update.
35958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35961 * math/libm-test.inc (hypot_test): Add more tests.
35963 2012-03-13 David S. Miller <davem@davemloft.net>
35966 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35967 double-precision for the calculation instead of scaling.
35969 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35971 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35972 manipulate bits before adding and subtracting TWO52[sx].
35973 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35974 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35976 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35978 2012-03-13 David S. Miller <davem@davemloft.net>
35980 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35981 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35982 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35983 rtld-global-offsets.h
35984 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35986 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35989 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35991 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35992 'err' in the ifdef scope in which it is actually used.
35994 * nss/nss_db/db-init.c: Include string.h
35996 2012-03-12 David S. Miller <davem@davemloft.net>
35998 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35999 masking out of the most significant byte of random value used.
36000 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36001 Fix coding style in previous change.
36003 * sysdeps/unix/sysv/linux/kernel-features.h
36004 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36005 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36007 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36010 2012-03-11 David S. Miller <davem@davemloft.net>
36012 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36013 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36014 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36015 for 'resultvar' otherwise things get truncated on 64-bit.
36017 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36018 Fix masking out of the most significant byte of random value used.
36020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36022 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36026 2012-03-09 David S. Miller <davem@davemloft.net>
36028 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36029 variables with appropriate CPP guards.
36030 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36031 from the frame pointer, not the stack pointer. Correct layout
36032 comments. Fix test on resulting framesize and the management of
36033 the outregs buffer for pltexit. Preserve floating point return
36034 values across _dl_call_pltexit call.
36035 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36036 framesize and the management of the outregs buffer for pltexit.
36037 Preserve floating point return values across _dl_call_pltexit
36039 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36040 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36041 (la_sparc64_gnu_pltexit): New functions.
36042 (print_exit): Fix format string for return register value.
36044 2012-03-10 Joseph Myers <joseph@codesourcery.com>
36046 * sunrpc/Makefile (others): Add rpcgen.
36047 ($(objpfx)rpcgen): Remove special build rule and dependency on
36049 * sunrpc/rpcgen.c: New file.
36051 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36054 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36055 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36056 * sysdeps/i386/crti.S: Likewise.
36057 * sysdeps/i386/crtn.S: Likewise.
36058 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36059 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36060 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36061 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36062 * sysdeps/sh/crti.S: Likewise.
36063 * sysdeps/sh/crtn.S: Likewise.
36064 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36067 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36069 * locale/programs/locfile-kw.gperf: Likewise.
36070 * locale/programs/charmap-kw.h: Regenerated.
36071 * locale/programs/locfile-kw.h: Likewise.
36074 * intl/plural.y: Replace FSF snail mail address with URL.
36075 * intl/plural.c: Regenerated.
36077 2012-03-09 Richard Henderson <rth@twiddle.net>
36079 * include/math_private.h: Remove file.
36080 * math/math_private.h: Move file ...
36081 * sysdeps/generic/math_private.h: ... here.
36083 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36084 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36085 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36087 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36088 and <math_private.h>.
36089 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36090 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36091 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36092 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36093 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36094 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36095 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36096 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36097 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36098 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36100 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36101 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36102 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36103 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36104 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36105 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36106 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36107 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36108 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36109 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36110 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36111 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36113 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36114 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36115 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36116 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36117 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36119 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36120 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36121 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36122 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36123 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36124 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36125 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36126 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36127 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36128 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36129 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36130 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36131 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36132 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36133 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36134 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36135 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36136 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36137 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36138 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36139 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36140 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36141 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36142 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36143 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36144 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36145 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36146 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36147 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36148 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36149 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36150 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36151 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36152 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36153 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36154 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36155 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36156 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36157 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36158 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36159 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36160 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36161 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36162 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36163 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36164 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36165 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36166 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36167 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36168 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36169 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36170 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36171 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36172 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36173 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36174 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36175 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36176 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36177 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36178 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36179 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36180 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36181 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36182 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36183 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36184 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36185 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36186 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36187 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36188 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36189 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36190 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36191 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36192 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36193 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36194 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36195 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36196 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36197 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36198 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36199 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36200 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36201 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36202 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36203 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36204 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36205 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36206 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36207 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36208 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36209 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36210 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36211 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36212 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36213 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36214 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36215 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36216 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36217 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36218 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36219 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36220 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36221 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36222 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36223 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36224 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36225 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36226 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36227 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36228 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36229 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36230 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36231 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36232 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36233 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36234 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36235 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36236 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36237 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36238 * sysdeps/ieee754/k_standard.c: Likewise.
36239 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36240 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36241 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36242 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36243 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36244 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36245 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36246 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36247 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36248 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36249 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36250 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36251 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36252 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36253 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36254 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36255 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36256 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36257 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36258 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36259 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36260 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36261 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36262 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36263 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36264 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36265 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36266 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36267 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36268 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36269 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36270 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36271 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36272 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36273 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36274 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36275 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36276 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36277 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36278 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36279 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36280 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36281 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36282 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36283 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36284 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36285 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36286 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36287 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36288 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36289 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36290 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36291 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36292 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36293 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36294 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36295 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36296 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36297 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36298 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36299 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36300 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36301 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36302 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36303 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36304 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36305 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36306 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36307 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36308 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36309 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36310 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36311 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36312 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36313 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36314 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36315 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36316 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36317 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36318 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36319 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36320 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36321 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36322 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36323 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36324 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36325 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36326 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36327 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36328 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36329 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36330 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36331 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36332 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36333 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36334 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36335 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36336 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36337 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36338 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36339 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36340 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36341 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36342 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36343 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36344 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36345 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36346 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36347 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36348 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36349 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36350 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36351 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36352 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36353 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36354 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36355 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36356 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36357 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36358 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36359 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36360 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36361 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36362 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36363 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36364 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36365 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36366 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36367 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36368 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36369 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36370 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36371 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36372 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36373 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36374 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36375 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36376 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36377 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36378 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36379 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36380 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36381 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36382 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36383 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36384 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36385 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36386 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36387 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36388 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36389 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36390 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36391 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36392 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36393 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36394 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36395 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36396 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36397 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36398 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36399 * sysdeps/ieee754/s_lib_version.c: Likewise.
36400 * sysdeps/ieee754/s_matherr.c: Likewise.
36401 * sysdeps/ieee754/s_signgam.c: Likewise.
36402 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36403 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36404 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36405 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36406 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36407 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36408 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36409 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36410 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36411 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36412 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36413 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36414 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36415 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36416 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36417 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36418 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36419 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36420 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36421 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36422 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36424 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36426 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36427 * sunrpc/rpc_main.c: Likewise.
36428 * sunrpc/rpc_svcout.c: Likewise.
36430 2012-03-09 David S. Miller <davem@davemloft.net>
36432 * include/math_private.h: New file.
36434 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36436 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36437 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36438 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36439 from <bits/socket_type.h>.
36440 (enum __socket_type): Don't define here.
36441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36443 bits/socket_type.h.
36446 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36447 checking __USE_GNU.
36449 * Makerules ($(inst_includedir)/%.h): New rule.
36450 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36451 (install-others): Remove variable setting.
36452 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36454 2012-03-08 Richard Henderson <rth@twiddle.net>
36456 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36457 from macro to inline function; merge with the
36458 !__LIBC_INTERNAL_MATH_INLINES version.
36459 (__ieee754_sqrtf): Likewise.
36461 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36462 to inline function.
36463 (__rintf, __floor, __floorf): Likewise.
36465 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36466 macro to inline function.
36467 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36469 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36470 not <math/math_private.h>.
36472 2012-03-08 David S. Miller <davem@davemloft.net>
36474 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36476 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36478 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36480 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36482 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36483 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36485 2012-03-08 Ulrich Drepper <drepper@gmail.com>
36487 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36488 be defined individually, they must be defined as a block. Define
36489 S for printing a string instead of hidint the different by using a
36490 macro for adding the 'l'.
36491 * stdio-common/tst-fphex-wide.c: Adjust.
36493 2012-03-07 Marek Polacek <polacek@redhat.com>
36495 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36497 2012-03-08 Marek Polacek <polacek@redhat.com>
36500 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36501 * stdio-common/tst-fphex.c: Define a few macros to make the
36502 test reusable. Use them.
36503 * stdio-common/tst-fphex-wide.c: New file.
36505 2012-03-08 Joseph Myers <joseph@codesourcery.com>
36508 * manual/macros.texi (gnusystems): New macro.
36509 (nongnusystems): Likewise.
36510 (gnulinuxhurdsystems): Likewise.
36511 (gnuhurdsystems): Likewise..
36512 (gnulinuxsystems): Likewise.
36513 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36514 variants of the GNU system, not "GNU system".
36515 * manual/conf.texi: Likewise.
36516 * manual/errno.texi: Likewise. Update example of errno macro
36518 * manual/filesys.texi: Likewise.
36519 (getumask): Document as specific to GNU/Hurd.
36520 * manual/install.texi: Likewise. Reword some references to
36522 * manual/intro.texi: Likewise.
36523 * manual/io.texi: Likewise.
36524 (File Name Portability): Detail which constraints are inapplicable
36525 to all GNU systems and which are only inapplicable to GNU/Hurd.
36526 * manual/job.texi: Likewise.
36527 * manual/llio.texi: Likewise.
36528 (O_NOCTTY): Document as present on GNU/Linux.
36529 * manual/maint.texi: Likewise.
36530 * manual/memory.texi: Likewise.
36531 * manual/pattern.texi: Likewise.
36532 * manual/pipe.texi: Likewise.
36533 * manual/process.texi: Likewise.
36534 * manual/resource.texi: Likewise.
36535 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36537 * manual/setjmp.texi: Likewise.
36538 * manual/signal.texi: Likewise.
36539 * manual/startup.texi: Likewise.
36540 * manual/stdio.texi: Likewise.
36541 * manual/terminal.texi: Likewise.
36542 (ONLCR): Document as POSIX.
36543 (OXTABS): Document availability on GNU/Linux as XTABS.
36544 (ONOEOT): Document availability separately from other bits.
36545 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36546 * manual/time.texi: Likewise.
36547 * manual/users.texi: Likewise.
36548 * INSTALL: Regenerated.
36549 * sysdeps/gnu/errlist.c: Regenerated.
36551 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36552 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36553 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36555 * configure: Regenerated.
36557 2012-03-07 Joseph Myers <joseph@codesourcery.com>
36559 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36560 default includes instead of AC_HEADER_CHECK.
36561 * sysdeps/i386/configure: Regenerated.
36564 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36565 * math/s_cacoshf.c (__cacoshf): Likewise.
36566 * math/s_cacoshl.c (__cacoshl): Likewise.
36567 * math/s_casinh.c (__casinh): Set signs of result from argument.
36568 * math/s_casinhf.c (__casinhf): Likewise.
36569 * math/s_casinhl.c (__casinhl): Likewise.
36570 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36571 (casinh_test): Add more tests.
36572 * sysdeps/i386/fpu/libm-test-ulps: Update.
36573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36575 2012-03-07 Ulrich Drepper <drepper@gmail.com>
36577 * po/zh_TW.po: Update from translation team.
36579 * login/Makefile (distribute): Remove variable.
36580 * catgets/Makefile: Likewise.
36581 * mach/Makefile: Likewise.
36582 * malloc/Makefile: Likewise.
36583 * misc/Makefile: Likewise.
36584 * iconv/Makefile: Likewise.
36585 * nscd/Makefile: Likewise.
36586 * hurd/Makefile: Likewise.
36587 * manual/Makefile: Likewise.
36588 * locale/Makefile: Likewise.
36589 * intl/Makefile: Likewise.
36590 * conform/Makefile: Likewise.
36591 * nss/Makefile: Likewise.
36592 * time/Makefile: Likewise.
36593 * soft-fp/Makefile: Likewise.
36594 * dirent/Makefile: Likewise.
36595 * gmon/Makefile: Likewise.
36596 * po/Makefile: Likewise.
36597 * rt/Makefile: Likewise.
36598 * socket/Makefile: Likewise.
36599 * math/Makefile: Likewise.
36600 * signal/Makefile: Likewise.
36601 * debug/Makefile: Likewise.
36602 * elf/Makefile: Likewise.
36603 * timezone/Makefile: Likewise.
36604 * stdlib/Makefile: Likewise.
36605 * iconvdata/Makefile: Likewise.
36606 * sunrpc/Makefile: Likewise.
36607 * io/Makefile: Likewise.
36608 * argp/Makefile: Likewise.
36609 * inet/Makefile: Likewise.
36610 * hesiod/Makefile: Likewise.
36611 * grp/Makefile: Likewise.
36612 * csu/Makefile: Likewise.
36613 * wctype/Makefile: Likewise.
36614 * crypt/Makefile: Likewise.
36615 * libio/Makefile: Likewise.
36616 * string/Makefile: Likewise.
36617 * nis/Makefile: Likewise.
36618 * resolv/Makefile: Likewise.
36619 * stdio-common/Makefile: Likewise.
36620 * wcsmbs/Makefile: Likewise.
36621 * dlfcn/Makefile: Likewise.
36622 * posix/Makefile: Likewise.
36625 * timezone/Makefile: Don't install timezone files, just the programs
36628 2012-03-06 Ulrich Drepper <drepper@gmail.com>
36630 * nss/databases.def: Add missing gshadow entry.
36632 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36634 2012-03-06 Marek Polacek <polacek@redhat.com>
36637 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36638 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36639 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36640 * stdio-common/tst-long-dbl-fphex.c: New file.
36642 2012-03-06 David S. Miller <davem@davemloft.net>
36644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36645 (set_obp_int): New function.
36646 (get_obp_int): New function.
36647 (__get_clockfreq_via_dev_openprom): Likewise.
36648 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36649 Avoid unused variable warnings on 'val' and use builtin_expect.
36650 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36652 (INLINE_CLONE_SYSCALL): Likewise.
36654 2012-03-05 David S. Miller <davem@davemloft.net>
36656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36658 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36662 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36663 only for |x| >= 40.
36664 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36666 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
36668 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36669 Replace gettimeofday with __vdso_gettimeofday.
36671 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36672 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36673 __vdso_clock_gettime and __vdso_getcpu.
36675 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36676 time with __vdso_time.
36678 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36680 * manual/lang.texi (size_t): Note types to which size_t may be
36681 equivalent with the GNU C Library, but do not describe when
36682 differences between them are significant.
36684 2012-03-05 Andreas Jaeger <aj@suse.de>
36686 * sysdeps/i386/fpu/libm-test-ulps: Update.
36688 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36691 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36692 (__ieee754_pow): Save and restore rounding mode and use
36693 round-to-nearest for main computations.
36694 * math/libm-test.inc (pow_test_tonearest): New function.
36695 (pow_test_towardzero): Likewise.
36696 (pow_test_downward): Likewise.
36697 (pow_test_upward): Likewise.
36698 (main): Call the new functions.
36699 * sysdeps/i386/fpu/libm-test-ulps: Update.
36700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36703 * math/libm-test.inc (cosh_test_tonearest): New function.
36704 (cosh_test_towardzero): Likewise.
36705 (cosh_test_downward): Likewise.
36706 (cosh_test_upward): Likewise.
36707 (sinh_test_tonearest): Likewise.
36708 (sinh_test_towardzero): Likewise.
36709 (sinh_test_downward): Likewise.
36710 (sinh_test_upward): Likewise.
36711 (main): Call the new functions.
36712 * sysdeps/i386/fpu/libm-test-ulps: Update.
36713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36715 2012-03-05 Tom de Vries <tom@codesourcery.com>
36717 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36718 default stack guard is set in last bytes.
36719 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36721 2012-03-05 Kees Cook <keescook@chromium.org>
36723 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36726 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36727 possibly allocate from heap instead of stack.
36728 * stdio-common/bug-vfprintf-nargs.c: New file.
36729 * stdio-common/Makefile (tests): Add nargs overflow test.
36731 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36735 2012-03-03 Marek Polacek <polacek@redhat.com>
36737 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36738 * math/math_private.h: Likewise.
36739 * stdlib/tst-strtod.c: Likewise.
36740 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36741 * sysdeps/x86_64/bits/atomic.h: Likewise.
36743 2012-03-02 David S. Miller <davem@davemloft.net>
36745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36749 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36750 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36751 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36752 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36754 2012-03-02 Roland McGrath <roland@hack.frob.com>
36757 * manual/examples/README: New file, says the example source files
36758 can be used under GPL>=2.
36759 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36760 line containing just "*/".
36761 * manual/examples/add.c: Add copyright header (GPL>=2).
36762 * manual/examples/argp-ex1.c: Likewise.
36763 * manual/examples/argp-ex2.c: Likewise.
36764 * manual/examples/argp-ex3.c: Likewise.
36765 * manual/examples/argp-ex4.c: Likewise.
36766 * manual/examples/atexit.c: Likewise.
36767 * manual/examples/db.c: Likewise.
36768 * manual/examples/dir.c: Likewise.
36769 * manual/examples/dir2.c: Likewise.
36770 * manual/examples/execinfo.c: Likewise.
36771 * manual/examples/filecli.c: Likewise.
36772 * manual/examples/filesrv.c: Likewise.
36773 * manual/examples/fmtmsgexpl.c: Likewise.
36774 * manual/examples/genpass.c: Likewise.
36775 * manual/examples/inetcli.c: Likewise.
36776 * manual/examples/inetsrv.c: Likewise.
36777 * manual/examples/isockad.c: Likewise.
36778 * manual/examples/longopt.c: Likewise.
36779 * manual/examples/memopen.c: Likewise.
36780 * manual/examples/memstrm.c: Likewise.
36781 * manual/examples/mkfsock.c: Likewise.
36782 * manual/examples/mkisock.c: Likewise.
36783 * manual/examples/mygetpass.c: Likewise.
36784 * manual/examples/pipe.c: Likewise.
36785 * manual/examples/popen.c: Likewise.
36786 * manual/examples/rprintf.c: Likewise.
36787 * manual/examples/search.c: Likewise.
36788 * manual/examples/select.c: Likewise.
36789 * manual/examples/setjmp.c: Likewise.
36790 * manual/examples/sigh1.c: Likewise.
36791 * manual/examples/sigusr.c: Likewise.
36792 * manual/examples/stpcpy.c: Likewise.
36793 * manual/examples/strdupa.c: Likewise.
36794 * manual/examples/strftim.c: Likewise.
36795 * manual/examples/strncat.c: Likewise.
36796 * manual/examples/subopt.c: Likewise.
36797 * manual/examples/swapcontext.c: Likewise.
36798 * manual/examples/termios.c: Likewise.
36799 * manual/examples/testopt.c: Likewise.
36800 * manual/examples/testpass.c: Likewise.
36801 * manual/examples/timeval_subtract.c: Likewise.
36804 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36806 * manual/timeval_subtract.c.texi: ... here, new file.
36808 2012-03-02 David S. Miller <davem@davemloft.net>
36810 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36812 2012-03-02 Joseph Myers <joseph@codesourcery.com>
36815 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36816 (__sin): Save and restore rounding mode and use round-to-nearest
36817 for all computations.
36818 (__cos): Save and restore rounding mode and use round-to-nearest
36819 for all computations.
36820 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36822 (tan): Save and restore rounding mode and use round-to-nearest for
36824 * math/libm-test.inc (cos_test_tonearest): New function.
36825 (cos_test_towardzero): Likewise.
36826 (cos_test_downward): Likewise.
36827 (cos_test_upward): Likewise.
36828 (sin_test_tonearest): Likewise.
36829 (sin_test_towardzero): Likewise.
36830 (sin_test_downward): Likewise.
36831 (sin_test_upward): Likewise.
36832 (tan_test_tonearest): Likewise.
36833 (tan_test_towardzero): Likewise.
36834 (tan_test_downward): Likewise.
36835 (tan_test_upward): Likewise.
36836 (main): Call the new functions.
36837 * sysdeps/i386/fpu/libm-test-ulps: Update.
36838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36841 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36842 small n, then large n, before computing and testing k+n.
36843 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36844 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36846 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36848 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36849 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36850 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36851 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36852 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36853 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36854 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36855 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36856 * math/libm-test.inc (scalbn_test): Add more tests.
36857 (scalbln_test): Likewise.
36859 * manual/filesys.texi (mode_t): Describe constraints on size and
36860 signedness, not exact equivalence to a particular type.
36862 (ino64_t): Likewise.
36864 (nlink_t): Likewise.
36865 (blkcnt_t): Likewise.
36866 (blkcnt64_t): Likewise.
36867 * manual/llio.texi (off_t): Likewise.
36870 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36871 (__ieee754_exp): Save and restore rounding mode and use
36872 round-to-nearest for all computations.
36873 * math/libm-test.inc (exp_test_tonearest): New function.
36874 (exp_test_towardzero): Likewise.
36875 (exp_test_downward): Likewise.
36876 (exp_test_upward): Likewise.
36877 (main): Call the new functions.
36878 * sysdeps/i386/fpu/libm-test-ulps: Update.
36879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36881 2012-03-01 Chris Demetriou <cgd@google.com>
36883 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36884 have predictable order.
36886 2012-03-01 David S. Miller <davem@davemloft.net>
36888 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36890 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36891 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36892 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36893 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36895 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36896 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36897 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36899 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36900 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36901 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36902 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36903 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36907 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36908 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36909 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36911 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36912 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36913 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36914 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36915 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36916 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36917 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36918 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36919 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36920 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36921 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36922 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36924 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36925 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36927 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36928 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36929 * sysdeps/sparc/elf/configure: Regenerated.
36931 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36933 * configure.in (AS, LD): Require binutils 2.20 or later.
36934 * configure: Regenerated.
36935 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36936 as required minimum version.
36937 * INSTALL: Regenerated.
36941 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36942 before squaring exponent.
36943 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36944 bottom long double and 27 bits of top long double before squaring
36946 * math/libm-test.inc (erfc_test): Add more tests.
36947 * sysdeps/i386/fpu/libm-test-ulps: Update.
36948 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36951 2012-03-01 Kai Tietz <ktietz@redhat.com>
36953 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36954 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36955 containing bit-fields.
36956 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36957 * soft-fp/single.h (_FP_UNION_S): Likewise.
36958 * soft-fp/double.h (_FP_UNION_D): Likewise.
36960 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36963 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36964 not include ../strcmp.S.
36965 [USE_AS_STRNCASECMP_L]: Likewise.
36966 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36967 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36968 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36969 (__strncasecmp_l_ia32): Define as alias to
36970 __strncasecmp_l_nonascii.
36973 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36974 * sysdeps/i386/fpu/libm-test-ulps: Update.
36975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36977 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36980 2012-02-29 Jeff Law <law@redhat.com>
36982 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36983 out of bounds read.
36985 2012-02-29 Marek Polacek <polacek@redhat.com>
36988 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36989 * elf/Makefile: Add rules to run tst-unused-dep.out.
36991 2012-02-28 David S. Miller <davem@davemloft.net>
36993 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36994 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36995 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36996 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36997 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36998 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37000 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37002 * math/libm-test.inc (llround_test): Move one test from
37003 lround_test. Use TEST_f_L in moved test.
37004 (lround_test): Move misplaced test to llround_test. Add testcase
37007 2012-02-28 Ulrich Drepper <drepper@gmail.com>
37009 * sysdeps/x86_64/fpu/e_expf.S: New file.
37010 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37012 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37015 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37016 of remain_len that may cause incomplete multi-byte character and
37018 * posix/bug-regex33.c: New file.
37019 * posix/Makefile (tests): Add bug-regex33.
37021 2012-02-28 Joseph Myers <joseph@codesourcery.com>
37023 * manual/macros.texi: New file.
37024 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37025 * manual/libc.texinfo: Include macros.texi.
37026 * manual/creatute.texi: Likewise.
37027 * manual/install.texi: Likewise.
37028 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37029 @glibcadj{} in references to the GNU C Library.
37030 * manual/charset.texi: Likewise.
37031 * manual/conf.texi: Likewise.
37032 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37033 when not using those macros.
37034 * manual/creature.texi: Likewise.
37035 * manual/crypt.texi: Likewise.
37036 * manual/errno.texi: Likewise.
37037 * manual/filesys.texi: Likewise.
37038 * manual/header.texi: Likewise.
37039 * manual/install.texi: Likewise.
37040 * manual/intro.texi: Likewise.
37041 * manual/io.texi: Likewise.
37042 * manual/job.texi: Likewise.
37043 * manual/lang.texi: Likewise.
37044 * manual/libc.texiinfo: Likewise.
37045 * manual/llio.texi: Likewise.
37046 * manual/locale.texi: Likewise.
37047 * manual/maint.texi: Likewise.
37048 * manual/math.texi: Likewise.
37049 * manual/memory.texi: Likewise.
37050 * manual/message.texi: Likewise.
37051 * manual/nss.texi: Likewise.
37052 * manual/pattern.texi: Likewise.
37053 * manual/process.texi: Likewise.
37054 * manual/resource.texi: Likewise.
37055 * manual/search.texi: Likewise.
37056 * manual/setjmp.texi: Likewise.
37057 * manual/signal.texi: Likewise.
37058 * manual/socket.texi: Likewise.
37059 * manual/startup.texi: Likewise.
37060 * manual/stdio.texi: Likewise.
37061 * manual/string.texi: Likewise.
37062 * manual/sysinfo.texi: Likewise.
37063 * manual/syslog.texi: Likewise.
37064 * manual/terminal.texi: Likewise.
37065 * manual/time.texi: Likewise.
37066 * manual/users.texi: Likewise.
37067 * INSTALL: Regenerated.
37068 * NOTES: Regenerated.
37069 * sysdeps/gnu/errlist.c: Regenerated.
37071 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37073 * include/dirent.h: Include <dirstream.h> before
37076 2012-02-28 David S. Miller <davem@davemloft.net>
37078 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37079 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37080 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37081 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37083 2012-02-27 David S. Miller <davem@davemloft.net>
37085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37087 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37088 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37091 frame pointer instead of stack pointer relative arg slot.
37092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37093 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37094 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37096 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37099 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37101 2012-02-27 David S. Miller <davem@davemloft.net>
37103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37107 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37108 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37109 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37110 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37112 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37114 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37115 later. Allow versions 5-9.
37116 * configure: Regenerated.
37117 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37118 required minimum version and 4.6 as recommended version. Do not
37119 mention bugs in GCC 2.7 and 2.8.
37120 * INSTALL: Regenerated.
37122 2012-02-27 David S. Miller <davem@davemloft.net>
37124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37128 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37129 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37130 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37131 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37133 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37134 manipulate bits before adding and subtracting TWO112[sx].
37135 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37137 2012-02-27 Roland McGrath <roland@hack.frob.com>
37140 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37141 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37142 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37143 being in POSIX, because they are in 1003.1-2008.
37145 * rt/tst-aio.c: Include <fcntl.h>.
37146 * rt/tst-aio7.c: Likewise.
37147 * rt/tst-aio64.c: Likewise.
37149 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37151 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37153 * manual/install.texi (--with-headers): Describe headers as
37154 interface headers, not private headers.
37155 (Specific advice for GNU/Linux systems): Describe use of headers
37156 from "make headers_install", not private headers from older
37158 * INSTALL: Regenerated.
37159 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37161 * sysdeps/unix/sysv/linux/configure: Regenerated.
37163 * manual/llio.texi (fclean): Remove documentation.
37165 * manual/Makefile (libc-texi-generated): New variable. Include
37167 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37168 $(libc-texi-generated), not duplicated list of files.
37169 (version.texi, stamp-version): New rules.
37170 (realclean): Remove $(libc-texi-generated), not individual files
37171 from that list. Do not remove dir-add.texinfo.
37172 * manual/libc.texinfo: Comment out uses of edition numbers and
37173 references to printed manual. Remove last-updated dates.
37174 (EDITION): Comment out.
37176 (VERSION, UPDATED): Remove.
37177 (version.texi): Include.
37179 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37181 * sysdeps/posix/spawni.c: Include <signal.h>.
37182 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37183 * sysdeps/pthread/aio_fsync.c: Likewise.
37185 2012-02-26 Ulrich Drepper <drepper@gmail.com>
37187 * conform/Makefile (tests): Run only when not cross-compiling and
37188 when fast-check is not defined.
37190 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37191 * conform/data/limits.h-data: Fixes for POSIX2008.
37192 * conform/run-conformtest.sh: Run all tests.
37193 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37195 * include/bits/dlfcn.h: Likewise.
37196 * include/langinfo.h: Likewise.
37197 * include/monetary.h: Likewise.
37198 * include/sys/poll.h: Likewise.
37200 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37202 * posix/spawn.h: Define __need_sigset_t.
37203 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37204 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37205 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37206 to get sigevent_t only.
37207 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37208 only for __USE_GNU.
37209 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37210 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37211 process_vm_writev only for __USE_GNU.
37212 * termios/termios.h: Declare tcgetsid also for POSIX2008.
37214 * conform/Makefile: For now ignore errors from run-conformtest.
37215 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37216 POSIX to avoid namespace pollution. Don't prepend headers.
37217 * conform/data/aio.h-data: Fixes for POSIX testing.
37218 * conform/data/fcntl.h-data: Likewise.
37219 * conform/data/glob.h-data: Likewise.
37220 * conform/data/grp.h-data: Likewise.
37221 * conform/data/pthread.h-data: Likewise.
37222 * conform/data/pwd.h-data: Likewise.
37223 * conform/data/signal.h-data: Likewise.
37224 * conform/data/spawn.h-data: Likewise.
37225 * conform/data/stdio.h-data: Likewise.
37226 * conform/data/stdlib.h-data: Likewise.
37227 * conform/data/stropts.h-data: Likewise.
37228 * conform/data/sys/mman.h-data: Likewise.
37229 * conform/data/sys/stat.h-data: Likewise.
37230 * conform/data/sys/types.h-data: Likewise.
37231 * conform/data/sys/wait.h-data: Likewise.
37232 * conform/data/time.h-data: Likewise.
37233 * conform/data/unistd.h-data: Likewise.
37234 * conform/data/utime.h-data: Likewise.
37236 * io/sys/stat.h: fchmod was always in POSIX.
37237 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37238 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37239 * rt/aio.h: Define __need_timespec before including <time.h>.
37240 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37241 struct. Add forward declaration of pthread_attr_t and use it in
37243 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37244 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37245 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37246 always remove CLK_TCK definition.
37248 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37250 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37252 2012-02-25 Ulrich Drepper <drepper@gmail.com>
37254 * conform/run-conformtest.sh: New file.
37255 * conform/Makefile: Run run-conformtest for tests.
37256 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37259 * conform/data/uchar.h-data: New file.
37260 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37261 * conform/data/arpa/inet.h-data: Likewise.
37262 * conform/data/assert.h-data: Likewise.
37263 * conform/data/complex.h-data: Likewise.
37264 * conform/data/cpio.h-data: Likewise.
37265 * conform/data/ctype.h-data: Likewise.
37266 * conform/data/dirent.h-data: Likewise.
37267 * conform/data/dlfcn.h-data: Likewise.
37268 * conform/data/errno.h-data: Likewise.
37269 * conform/data/fcntl.h-data: Likewise.
37270 * conform/data/float.h-data: Likewise.
37271 * conform/data/fmtmsg.h-data: Likewise.
37272 * conform/data/fnmatch.h-data: Likewise.
37273 * conform/data/ftw.h-data: Likewise.
37274 * conform/data/glob.h-data: Likewise.
37275 * conform/data/grp.h-data: Likewise.
37276 * conform/data/iconv.h-data: Likewise.
37277 * conform/data/inttypes.h-data: Likewise.
37278 * conform/data/langinfo.h-data: Likewise.
37279 * conform/data/libgen.h-data: Likewise.
37280 * conform/data/limits.h-data: Likewise.
37281 * conform/data/locale.h-data: Likewise.
37282 * conform/data/math.h-data: Likewise.
37283 * conform/data/monetary.h-data: Likewise.
37284 * conform/data/mqueue.h-data: Likewise.
37285 * conform/data/ndbm.h-data: Likewise.
37286 * conform/data/net/if.h-data: Likewise.
37287 * conform/data/netdb.h-data: Likewise.
37288 * conform/data/netinet/in.h-data: Likewise.
37289 * conform/data/nl_types.h-data: Likewise.
37290 * conform/data/poll.h-data: Likewise.
37291 * conform/data/pthread.h-data: Likewise.
37292 * conform/data/pwd.h-data: Likewise.
37293 * conform/data/regex.h-data: Likewise.
37294 * conform/data/sched.h-data: Likewise.
37295 * conform/data/search.h-data: Likewise.
37296 * conform/data/semaphore.h-data: Likewise.
37297 * conform/data/setjmp.h-data: Likewise.
37298 * conform/data/signal.h-data: Likewise.
37299 * conform/data/spawn.h-data: Likewise.
37300 * conform/data/stdarg.h-data: Likewise.
37301 * conform/data/stdio.h-data: Likewise.
37302 * conform/data/stdlib.h-data: Likewise.
37303 * conform/data/string.h-data: Likewise.
37304 * conform/data/strings.h-data: Likewise.
37305 * conform/data/stropts.h-data: Likewise.
37306 * conform/data/sys/ipc.h-data: Likewise.
37307 * conform/data/sys/mman.h-data: Likewise.
37308 * conform/data/sys/msg.h-data: Likewise.
37309 * conform/data/sys/resource.h-data: Likewise.
37310 * conform/data/sys/select.h-data: Likewise.
37311 * conform/data/sys/sem.h-data: Likewise.
37312 * conform/data/sys/shm.h-data: Likewise.
37313 * conform/data/sys/socket.h-data: Likewise.
37314 * conform/data/sys/stat.h-data: Likewise.
37315 * conform/data/sys/statvfs.h-data: Likewise.
37316 * conform/data/sys/time.h-data: Likewise.
37317 * conform/data/sys/timeb.h-data: Likewise.
37318 * conform/data/sys/times.h-data: Likewise.
37319 * conform/data/sys/types.h-data: Likewise.
37320 * conform/data/sys/uio.h-data: Likewise.
37321 * conform/data/sys/un.h-data: Likewise.
37322 * conform/data/sys/utsname.h-data: Likewise.
37323 * conform/data/sys/wait.h-data: Likewise.
37324 * conform/data/syslog.h-data: Likewise.
37325 * conform/data/tar.h-data: Likewise.
37326 * conform/data/termios.h-data: Likewise.
37327 * conform/data/utime.h-data: Likewise.
37328 * conform/data/utmpx.h-data: Likewise.
37329 * conform/data/varargs.h-data: Likewise.
37330 * conform/data/wchar.h-data: Likewise.
37331 * conform/data/wctype.h-data: Likewise.
37332 * conform/data/wordexp.h-data: Likewise.
37334 * include/stropts.h: New file.
37335 * include/uchar.h: New file.
37336 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37337 * include/assert.h: Likewise.
37338 * include/ctype.h: Likewise.
37339 * include/dirent.h: Likewise.
37340 * include/dlfcn.h: Likewise.
37341 * include/fcntl.h: Likewise.
37342 * include/fnmatch.h: Likewise.
37343 * include/glob.h: Likewise.
37344 * include/grp.h: Likewise.
37345 * include/libio.h: Likewise.
37346 * include/locale.h: Likewise.
37347 * include/math.h: Likewise.
37348 * include/net/if.h: Likewise.
37349 * include/netdb.h: Likewise.
37350 * include/netinet/in.h: Likewise.
37351 * include/pthread.h: Likewise.
37352 * include/pwd.h: Likewise.
37353 * include/regex.h: Likewise.
37354 * include/sched.h: Likewise.
37355 * include/search.h: Likewise.
37356 * include/setjmp.h: Likewise.
37357 * include/signal.h: Likewise.
37358 * include/stdio.h: Likewise.
37359 * include/stdlib.h: Likewise.
37360 * include/string.h: Likewise.
37361 * include/sys/cdefs.h: Likewise.
37362 * include/sys/mman.h: Likewise.
37363 * include/sys/msg.h: Likewise.
37364 * include/sys/resource.h: Likewise.
37365 * include/sys/select.h: Likewise.
37366 * include/sys/socket.h: Likewise.
37367 * include/sys/stat.h: Likewise.
37368 * include/sys/statvfs.h: Likewise.
37369 * include/sys/time.h: Likewise.
37370 * include/sys/times.h: Likewise.
37371 * include/sys/uio.h: Likewise.
37372 * include/sys/utsname.h: Likewise.
37373 * include/sys/wait.h: Likewise.
37374 * include/termios.h: Likewise.
37375 * include/time.h: Likewise.
37376 * include/ulimit.h: Likewise.
37377 * include/unistd.h: Likewise.
37378 * include/utime.h: Likewise.
37379 * include/wchar.h: Likewise.
37380 * include/wctype.h: Likewise.
37381 * include/wordexp.h: Likewise.
37383 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37385 * time/time.h: TIME_UTC must be a macro.
37386 Make timespec_get available for ISO C11 only as well.
37388 2012-02-24 Ulrich Drepper <drepper@gmail.com>
37390 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37391 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37393 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37395 * configure.in: Use -o not -a in test for unsupported multi-arch.
37397 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37399 * manual/texinfo.tex: Update to version 2012-01-19.16.
37401 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37403 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37405 2012-02-24 Roland McGrath <roland@hack.frob.com>
37408 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37409 * manual/fdl-1.3.texi: New file.
37410 * manual/fdl-1.1.texi: File removed.
37413 * manual/libc.texinfo (FDL_VERSION): New @set.
37414 Use it for mention of FDL in cover text.
37415 (Documentation License): Use it in @include file name.
37417 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37418 Roland McGrath <roland@hack.frob.com>
37421 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37422 (not LONG_LONG_MAX and LONG_LONG_MIN.
37423 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37424 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37426 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37428 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37432 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37433 manipulate bits before adding and subtracting TWO23[sx].
37434 * math/libm-test.inc (nearbyint_test): Add more tests.
37436 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37439 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37440 bits before adding and subtracting TWO23[sx].
37441 * math/libm-test.inc (rint_test): Add more tests.
37442 (rint_test_tonearest): Likewise.
37443 (rint_test_towardzero): Likewise.
37444 (rint_test_downward): Likewise.
37445 (rint_test_upward: Likewise.
37447 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37450 * include/stdc-predef.h: New file. Extracted from features.h.
37451 * include/features.h: Include stdc-predef.h.
37452 * Makefile (headers): Add stdc-predef.h.
37453 * CONFORMANCE (Compiler limitations): Update.
37455 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37457 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37459 2012-02-21 David S. Miller <davem@davemloft.net>
37461 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37462 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37464 2012-02-20 David S. Miller <davem@davemloft.net>
37466 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37467 using a normal save/restore sequence, rather than allocating a
37468 dummy stack frame just to store a frame pointer and restore.
37469 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37471 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37473 * manual/install.texi: Fix stray word in line-wrapped comment.
37475 2012-02-20 David S. Miller <davem@davemloft.net>
37477 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37478 both binutils and gcc support GOTDATA.
37480 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37481 "rd %pc" in the PIC register setup sequences.
37483 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37484 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37485 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37486 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37487 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37489 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37490 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37491 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37492 (SYSCALL_ERROR_HANDLER): Likewise.
37493 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37494 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37495 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37496 (SYSCALL_ERROR_HANDLER): Likewise.
37498 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37499 (HAVE_GCC_GOTDATA): New.
37500 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37501 relocation support in both binutils and gcc.
37502 * sysdeps/sparc/elf/configure: Regenerate.
37504 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37505 * sysdeps/sparc/sparc32/elf/configure: Delete.
37506 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37507 * sysdeps/sparc/sparc64/elf/configure: Delete.
37508 * sysdeps/sparc/elf/configure.in: New file.
37509 * sysdeps/sparc/elf/configure: Generate.
37511 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37512 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37513 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37514 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37515 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37517 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37519 * manual/install.texi: Do not mention specific glibc version
37521 * manual/libc.texinfo (VERSION, UPDATED): Update.
37522 (@copying): Use @copyright{} and range of years.
37524 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37527 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37528 [crti.S not in sysdirs] (generated): Do not append.
37529 [crti.S not in sysdirs] (omit-deps): Likewise.
37530 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37531 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37532 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37533 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37534 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37536 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37537 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37538 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37539 * csu/defs.awk: Remove file.
37540 * sysdeps/generic/initfini.c: Likewise.
37541 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37543 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37546 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37548 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37549 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37550 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37551 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37552 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37553 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37555 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37556 (__EPOLL_PACKED): Define to empty if not defined by
37558 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37562 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37564 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37565 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37566 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37567 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37569 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37573 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37575 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37577 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37578 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37579 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37582 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37584 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37585 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37587 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37589 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37590 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37592 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37594 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37597 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37599 * math/w_acos.c: Use non-signaling floating-point comparisons.
37600 * math/w_acosf.c: Likewise.
37601 * math/w_acosh.c: Likewise.
37602 * math/w_acoshf.c: Likewise.
37603 * math/w_acoshl.c: Likewise.
37604 * math/w_acosl.c: Likewise.
37605 * math/w_asin.c: Likewise.
37606 * math/w_asinf.c: Likewise.
37607 * math/w_asinl.c: Likewise.
37608 * math/w_atanh.c: Likewise.
37609 * math/w_atanhf.c: Likewise.
37610 * math/w_atanhl.c: Likewise.
37611 * math/w_exp2.c: Likewise.
37612 * math/w_exp2f.c: Likewise.
37613 * math/w_exp2l.c: Likewise.
37614 * math/w_j0.c: Likewise.
37615 * math/w_j0f.c: Likewise.
37616 * math/w_j0l.c: Likewise.
37617 * math/w_j1.c: Likewise.
37618 * math/w_j1f.c: Likewise.
37619 * math/w_j1l.c: Likewise.
37620 * math/w_jn.c: Likewise.
37621 * math/w_jnf.c: Likewise.
37622 * math/w_log.c: Likewise.
37623 * math/w_log10.c: Likewise.
37624 * math/w_log10f.c: Likewise.
37625 * math/w_log10l.c: Likewise.
37626 * math/w_log2.c: Likewise.
37627 * math/w_log2f.c: Likewise.
37628 * math/w_log2l.c: Likewise.
37629 * math/w_logf.c: Likewise.
37630 * math/w_logl.c: Likewise.
37631 * math/w_sqrt.c: Likewise.
37632 * math/w_sqrtf.c: Likewise.
37633 * math/w_sqrtl.c: Likewise.
37634 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37635 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37636 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37637 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37638 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37640 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37643 * manual/string.texi (strnlen): Use correct parameter name in
37644 equivalent expression.
37646 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37649 * manual/users.texi (seteuid): Consistently use neweuid for
37652 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37655 * manual/nss.texi (Services in the NSS configuration): Correct
37656 list of services in example configuration file.
37658 2012-02-19 Nick Bowler <nbowler@draconx.ca>
37661 * manual/arith.texi: Remove statements about negative zero
37662 behaving identically to zero.
37664 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37667 * manual/install.texi: Do not document upgrading from libc5.
37669 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37672 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37674 2012-02-18 David S. Miller <davem@davemloft.net>
37676 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37677 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37678 %o7 across the call.
37679 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37682 SETUP_PIC_REG_LEAF.
37683 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37684 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37685 * sysdeps/sparc/crtn.S: Likewise.
37687 2012-02-17 Ulrich Drepper <drepper@gmail.com>
37689 * aout/Makefile: Remove.
37691 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37694 * manual/examples/argp-ex1.c (main): Format definition in GNU
37696 * manual/examples/argp-ex2.c (main): Likewise.
37697 * manual/examples/argp-ex3.c (main): Likewise.
37698 * manual/examples/argp-ex4.c (main): Likewise.
37699 * manual/examples/longopt.c (main): Use new-style prototype
37701 * manual/examples/strncat.c (main): Specify return type and use
37702 (void) for arguments.
37703 * manual/examples/subopt.c (main): Use char **argv argument.
37705 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37708 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37711 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37714 * manual/string.texi (strchr): Change when strchrnul is
37717 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37720 * manual/locale.texi (setlocale): Document LOCPATH.
37722 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37725 * manual/process.texi (execle): Move @dots{} before last argument.
37727 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
37730 * manual/charset.texi (Generic Charset Conversion): Fix typo
37731 (LC_TYPE -> LC_CTYPE).
37733 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37736 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37737 (scalbnf): Likewise.
37738 (scalbnl): Likewise.
37739 (scalbln): Likewise.
37740 (scalblnf): Likewise.
37741 (scalblnl): Likewise.
37742 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37743 (vwarnx): Likewise.
37746 * manual/filesys.texi (telldir): Use braces around return type.
37747 * manual/llio.texi (mmap): Add space after comma.
37748 (mmap64): Likewise.
37749 * manual/math.texi (jn): Use @var{} on parameter names.
37755 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37757 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37759 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37760 (sched_get_priority_max): Likewise.
37761 * manual/signal.texi (sigvec): Add space after comma.
37762 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37764 (if_indextoname): Likewise.
37765 (if_freenameindex): Likewise.
37766 (sendto): Use ',' instead of '.' in prototype.
37767 * manual/startup.texi (syscall): Use @dots{} instead of literal
37769 * manual/stdio.texi (__fpending): Separate initial words of
37770 paragraph from @deftypefun line.
37771 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37773 (vsyslog): Use @var{} on parameter names.
37774 * manual/terminal.texi (stty): Use @var{} on parameter names.
37775 * manual/users.texi (getutmp): Use @var{} on parameter names.
37776 (getutmpx): Likewise.
37778 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37781 * manual/stdio.texi (fopen): Fix typos in description of
37784 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37787 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37788 get clock_id definition.
37790 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
37793 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37794 (madvise): Cast every argument to void on its own.
37796 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37799 * manual/startup.texi (Exit Status): Fix typo.
37801 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37804 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37805 * manual/examples/argp-ex2.c: Likewise.
37806 * manual/examples/argp-ex3.c: Likewise.
37808 2012-02-16 Richard Henderson <rth@redhat.com>
37810 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37811 * sysdeps/s390/s390-32/initfini.c: Remove.
37812 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37813 * sysdeps/s390/s390-64/initfini.c: Remove.
37815 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37817 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37818 compiler output for sysdeps/generic/initfini.c.
37819 * sysdeps/sh/elf/initfini.c: Remove file.
37821 2012-02-16 David S. Miller <davem@davemloft.net>
37824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37826 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37827 * sysdeps/sparc/crti.S: New file.
37828 * sysdeps/sparc/crtn.S: New file.
37829 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37830 * sysdeps/sparc/sparc64/Makefile: Likewise.
37832 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37835 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37837 2012-02-15 Roland McGrath <roland@hack.frob.com>
37840 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37842 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37843 (write, read, close): Likewise.
37844 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37846 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37848 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37849 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37850 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37851 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37853 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37857 2012-02-14 Marek Polacek <polacek@redhat.com>
37859 * sysdeps/x86_64/crti.S: New file.
37860 * sysdeps/x86_64/crtn.S: New file.
37861 * sysdeps/x86_64/elf/initfini.c: Remove file.
37863 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37865 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37866 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37867 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37868 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37870 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37874 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37876 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37877 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37878 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37879 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37881 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37885 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37887 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37888 __feraiseexcept instead of feraiseexcept.
37890 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37891 nanosleep invocations.
37892 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37893 strings, and add error checking for a nanosleep invocations.
37895 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37897 Replace FSF snail mail address with URLs, as per GNU coding standards.
37898 Most of the snail mail addresses were wrong anyway, and omitting
37899 them makes the source code easier to maintain. Almost all of the
37900 changes are to license notices and to locale LC_IDENTIFICATION
37901 addresses, except for this one:
37902 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37903 not its snail mail address.
37905 2012-02-09 Richard Henderson <rth@twiddle.net>
37907 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37908 of kernel-features.h.
37910 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37912 2012-02-08 Marek Polacek <polacek@redhat.com>
37914 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37915 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37916 * sysdeps/gnu/_G_config.h: Likewise.
37917 * sysdeps/generic/_G_config.h: Likewise.
37919 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37921 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37925 * sysdeps/powerpc/powerpc32/crti.S: New file.
37926 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37927 * sysdeps/powerpc/powerpc64/crti.S: New file.
37928 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37930 * Makeconfig (have-initfini): Don't set.
37931 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37932 * configure.in (nopic_initfini): Don't substitute.
37933 * config.h.in (HAVE_INITFINI): Don't #undef.
37934 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37935 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37937 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37939 Support crti.S and crtn.S provided directly by architectures.
37940 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37941 [crti.S in sysdirs] (omit-deps): Likewise.
37942 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37943 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37944 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37945 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37946 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37947 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37948 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37949 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37950 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37951 compiler output for sysdeps/generic/initfini.c.
37952 * sysdeps/i386/elf/Makefile: Remove file.
37953 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37955 2012-02-07 Marek Polacek <polacek@redhat.com>
37957 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37958 * sysdeps/gnu/_G_config.h: Likewise.
37959 * sysdeps/mach/hurd/_G_config.h: Likewise.
37961 2012-02-07 Marek Polacek <polacek@redhat.com>
37963 * math/Makefile (tests): Add tst-CMPLX2.
37964 * math/tst-CMPLX2.c: New file.
37966 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37968 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37970 * math/libm-test.inc (jn_test): Add missing L suffix.
37972 2012-02-06 Marek Polacek <polacek@redhat.com>
37974 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37975 * sysdeps/i386/fpu/e_powf.S: Likewise.
37976 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37977 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37978 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37979 * sysdeps/i386/fpu/e_pow.S: Likewise.
37980 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37981 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37982 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37983 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37984 * sysdeps/i386/fpu/e_log2.S: Likewise.
37985 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37986 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37987 * sysdeps/i386/fpu/e_powl.S: Likewise.
37988 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37989 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37990 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37991 * sysdeps/i386/fpu/e_logl.S: Likewise.
37992 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37993 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37994 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37995 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37996 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37997 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37998 * sysdeps/i386/fpu/e_log.S: Likewise.
37999 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38000 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38001 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38002 * sysdeps/i386/fpu/e_logf.S: Likewise.
38003 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38004 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38005 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38006 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38007 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38008 * sysdeps/i386/fpu/e_log10.S: Likewise.
38009 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38010 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38011 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38012 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38013 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38014 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38015 * sysdeps/i386/asm-syntax.h: Likewise.
38016 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38017 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38018 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38019 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38020 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38021 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38022 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38023 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38024 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38025 * sysdeps/powerpc/sysdep.h: Likewise.
38026 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38027 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38029 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38032 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38034 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38036 * sysdeps/i386/sysdep.h: Include <features.h>.
38037 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38040 2012-02-05 Joseph Myers <joseph@codesourcery.com>
38042 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38044 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38047 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38049 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38050 (SETUP_PIC_REG): Use GET_PC_THUNK.
38051 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38054 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38056 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38057 for non-PIC compilation.
38058 (SETUP_PIC_REG): Add .p2align directive.
38059 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38060 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38061 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38062 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38063 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38064 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38065 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38066 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38067 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38068 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38069 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38070 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38071 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38072 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38073 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38074 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38075 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38076 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38077 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38078 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38079 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38080 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38081 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38082 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38083 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38085 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38086 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38087 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38088 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38089 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38090 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38091 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38092 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38093 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38094 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38095 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38096 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38097 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38098 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38099 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38101 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38103 * math/tst-CMPLX.c: Include <stdio.h>.
38105 2012-01-31 Joseph Myers <joseph@codesourcery.com>
38107 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38109 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38110 * sysdeps/sparc/bits/mathdef.h: Likewise.
38112 2012-01-31 Marek Polacek <polacek@redhat.com>
38114 * libio/libio.h: Don't define _PARAMS.
38115 * locale/programs/config.h: Don't define PARAMS.
38116 * stdlib/strtol_l.c: Likewise.
38117 (__strtol_l): Remove PARAMS from the prototype.
38119 2012-01-31 Ulrich Drepper <drepper@gmail.com>
38121 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38122 names. Just use the correct names. Remove unnecessary wrapper
38124 * malloc/arena.c: Likewise.
38125 * malloc/hooks.c: Likewise.
38127 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38128 ARENA_TEST says not to. Simplify test for creation of a new arena.
38129 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38131 2012-01-30 Ulrich Drepper <drepper@gmail.com>
38133 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38135 (update_get_addr): New function.
38136 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38137 GET_ADDR_MODULE parameter.
38139 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38141 * crypt/cert.c: Remove __STDC__ conditionals.
38142 * crypt/crypt-entry.c: Likewise.
38143 * crypt/crypt_util.c: Likewise.
38144 * libio/filedoalloc.c: Likewise.
38145 * libio/fileops.c: Likewise.
38146 * libio/genops.c: Likewise.
38147 * libio/iofclose.c: Likewise.
38148 * libio/iofdopen.c: Likewise.
38149 * libio/iofopen.c: Likewise.
38150 * libio/iofopen64.c: Likewise.
38151 * libio/iogetdelim.c: Likewise.
38152 * libio/iopopen.c: Likewise.
38153 * libio/obprintf.c: Likewise.
38154 * libio/oldfileops.c: Likewise.
38155 * libio/oldiofclose.c: Likewise.
38156 * libio/oldiofdopen.c: Likewise.
38157 * libio/oldiofopen.c: Likewise.
38158 * libio/oldiopopen.c: Likewise.
38159 * libio/wfiledoalloc.c: Likewise.
38160 * libio/wgenops.c: Likewise.
38161 * locale/programs/xmalloc.c: Likewise.
38162 * misc/syslog.c: Likewise.
38163 * stdio-common/xbug.c: Likewise.
38164 * string/memchr.c: Likewise.
38165 * string/memcmp.c: Likewise.
38166 * string/memrchr.c: Likewise.
38167 * string/rawmemchr.c: Likewise.
38168 * sysdeps/posix/getcwd.c: Likewise.
38169 * time/strftime_l.c: Likewise.
38171 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38173 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38174 * config.make.in (config-cflags-sse2avx): Define.
38175 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38178 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38180 * scripts/config.guess: Update from upstream config git repository.
38181 * scripts/config.sub: Likewise.
38183 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38185 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38187 (R_TILEPRO_*, R_TILEGX_*): New macros.
38189 * scripts/firstversions.awk: Fix bug in version range handling.
38191 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38193 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38195 * include/sys/epoll.h: New file.
38196 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38199 2012-01-28 Ulrich Drepper <drepper@gmail.com>
38201 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38202 Avoid unnecessary __WORDSIZE == 64 test.
38203 (fmaxf): Use VEX format if possible.
38208 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38209 * math/math_private.h: Remove libc_fegetround* and
38211 * sysdeps/i386/configure.in: Check for -msse2avx.
38212 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38213 also if SSE2AVX is defined.
38214 Remove libc_fegetround* and libc_fesetround*.
38215 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38216 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38217 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38219 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38220 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38221 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38222 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38223 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38225 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38227 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38229 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38231 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38233 2012-01-27 Ulrich Drepper <drepper@gmail.com>
38236 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38238 * Makeconfig (libm): Define.
38239 * elf/Makefile: Add rules to build and run tst-relsort1.
38240 * elf/tst-relsort1.c: New file.
38241 * elf/tst-relsort1mod1.c: New file.
38242 * elf/tst-relsort1mod2.c: New file.
38244 2012-01-27 Joseph Myers <joseph@codesourcery.com>
38246 * math/s_ldexp.c: Remove __STDC__ conditionals.
38247 * math/s_ldexpf.c: Likewise.
38248 * math/s_ldexpl.c: Likewise.
38249 * math/s_nextafter.c: Likewise.
38250 * math/s_nexttowardf.c: Likewise.
38251 * math/s_significand.c: Likewise.
38252 * math/s_significandf.c: Likewise.
38253 * math/s_significandl.c: Likewise.
38254 * math/w_jnl.c: Likewise.
38255 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38256 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38257 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38258 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38259 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38260 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38261 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38262 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38263 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38264 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38265 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38266 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38267 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38268 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38269 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38270 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38271 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38272 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38273 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38274 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38275 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38276 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38277 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38278 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38279 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38280 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38281 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38282 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38283 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38284 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38285 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38286 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38287 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38288 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38289 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38290 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38291 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38292 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38293 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38294 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38295 * sysdeps/ieee754/k_standard.c: Likewise.
38296 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38297 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38298 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38299 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38300 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38301 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38302 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38303 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38304 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38305 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38306 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38307 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38308 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38309 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38310 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38311 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38312 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38313 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38314 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38315 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38316 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38317 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38318 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38319 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38320 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38321 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38322 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38323 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38324 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38325 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38326 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38327 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38328 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38329 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38330 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38331 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38332 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38333 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38334 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38335 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38336 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38337 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38338 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38339 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38340 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38341 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38342 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38343 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38344 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38345 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38346 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38347 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38348 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38349 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38350 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38351 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38352 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38353 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38354 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38355 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38356 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38357 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38358 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38359 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38360 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38361 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38362 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38363 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38364 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38365 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38366 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38367 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38368 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38369 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38370 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38371 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38372 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38373 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38374 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38375 * sysdeps/ieee754/s_matherr.c: Likewise.
38376 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38377 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38378 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38381 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38383 * crypt/md5.h: Remove __STDC__ conditionals.
38384 * libio/libioP.h: Likewise.
38385 * locale/programs/config.h: Likewise.
38386 * sysdeps/generic/sysdep.h: Likewise.
38387 * sysdeps/i386/asm-syntax.h: Likewise.
38388 * sysdeps/s390/asm-syntax.h: Likewise.
38389 * sysdeps/unix/sysdep.h: Likewise.
38390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38393 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38395 * libio/libio.h: Remove __STDC__ conditionals.
38396 * malloc/obstack.h: Likewise.
38397 * math/complex.h: Likewise.
38398 * math/math.h: Likewise.
38399 * sysdeps/generic/_G_config.h: Likewise.
38400 * sysdeps/gnu/_G_config.h: Likewise.
38401 * sysdeps/mach/hurd/_G_config.h: Likewise.
38402 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38403 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38404 * sysdeps/sparc/bits/mathdef.h: Likewise.
38406 2012-01-26 Ulrich Drepper <drepper@gmail.com>
38409 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38410 Clean up HAS_* macros.
38411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38412 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38414 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38416 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38417 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38418 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38419 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38420 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38422 2012-01-25 Joseph Myers <joseph@codesourcery.com>
38424 * elf/tst-unique3.cc (gets): Remove declaration.
38425 * elf/tst-unique3lib.cc (gets): Likewise.
38426 * elf/tst-unique3lib2.cc (gets): Likewise.
38427 * elf/tst-unique4.cc (gets): Likewise.
38429 2012-01-24 Ulrich Drepper <drepper@gmail.com>
38431 * include/stdio.h: Add C++ protection. Add gets declarations and
38433 * debug/tst-chk1.c: Don't declare gets here.
38434 * stdio-common/tst-gets.c: Likewise.
38436 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38438 * posix/glob: Remove directory.
38440 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38442 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38444 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38446 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38447 of the non-standard EPFNOSUPPORT.
38449 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38451 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38452 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38453 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38455 2012-01-21 Ulrich Drepper <drepper@gmail.com>
38457 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38459 2012-01-20 Ulrich Drepper <drepper@gmail.com>
38461 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38463 * nscd/grpcache.c (cache_addgr): Likewise.
38464 * nscd/hstcache.c (cache_addhst): Likewise.
38465 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38466 * nscd/pwdcache.c (cache_addpw): Likewise.
38467 * nscd/servicescache.c (cache_addserv): Likewise.
38469 2012-01-16 Ulrich Drepper <drepper@gmail.com>
38471 * malloc/malloc.c: Various cleanups.
38472 * malloc/hooks.c: Likewise.
38474 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38475 * stdlib/bug-fmtmsg1.c: New file.
38477 * stdlib/fmtmsg.c (init): Add missing unlock.
38478 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38480 2012-01-12 Marek Polacek <polacek@redhat.com>
38482 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38485 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38487 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38488 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38489 macro to ensure uniqueness of label name.
38490 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38491 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38493 2012-01-11 Ulrich Drepper <drepper@gmail.com>
38495 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38497 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38498 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38499 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38500 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38502 2012-01-10 Ulrich Drepper <drepper@gmail.com>
38504 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38506 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38507 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38508 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38510 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38512 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38513 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38514 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38515 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38517 * math/bits/math-finite.h: Add ldexp support.
38519 2012-01-10 Marek Polacek <polacek@redhat.com>
38521 * locale/programs/localedef.h (show_archive_content): Add noreturn
38524 2012-01-09 Ulrich Drepper <drepper@gmail.com>
38526 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38528 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38530 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38532 * io/Makefile (headers): Add bits/poll2.h.
38534 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38537 typo #include statement.
38539 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38541 * include/sys/cdefs.h: Define __attribute_alloc_size.
38542 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38543 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38544 * elf/pldd.c: Likewise.
38545 * iconv/iconv_charmap.c: Likewise.
38546 * iconv/iconvconfig.c: Likewise.
38547 * iconv/strtab.c: Likewise.
38548 * locale/programs/locale.c: Likewise.
38549 * locale/programs/localedef.h: Likewise.
38550 * locale/programs/simple-hash.c: Likewise.
38551 * nscd/nscd.h: Likewise.
38552 * nss/makedb.c: Likewise.
38553 * sysdeps/generic/ldconfig.h: Likewise.
38554 * locale/programs/localedef.c: Remove xmalloc prototype.
38555 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38557 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38559 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38562 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38564 * math/Makefile (tests): Add tst-CMPLX.
38565 * math/tst-CMPLX.c: New file.
38567 * math/complex.h (CMPLXL): Fix typo.
38569 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38570 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38572 * debug/tst-chk1.c: Add poll and ppoll tests.
38573 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38574 * include/sys/poll.h: Add hidden proto for ppoll.
38575 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38576 * sysdeps/mach/hurd/ppoll.c: Likewise.
38577 * io/ppoll.c: Likewise.
38578 * debug/poll_chk.c: New file.
38579 * debug/ppoll_chk.c: New file.
38580 * include/bits/poll2.h: New file.
38581 * io/bits/poll2.h: New file.
38584 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38586 * configure.in: static is always set to yes. Remove.
38587 * config.make.in: Don't set build-static.
38588 * Makeconfig: Remove use of build-static.
38589 * dlfcn/Makefile: Likewise.
38590 * elf/Makefile: Likewise.
38591 * math/Makefile: Likewise.
38592 * misc/Makefile: Likewise.
38593 * nptl/Makefile: Likewise.
38594 * sysdeps/mach/hurd/Makefile: Likewise.
38596 * configure.in: PWD_P is not used anymore.
38597 * config.make.in: Remove PWD_P entry.
38599 * configure.in: Remove last remnants of RANLIB.
38600 No need to check for signed size_t anymore.
38601 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38603 Remove __builtin_expect test because we require at least gcc 3.4.
38604 * aclocal.m4: Likewise.
38606 * wcsmbs/mbrtoc16.c: Implement using towc function.
38607 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38608 * wcsmbs/wcsmbsload.c: Likewise.
38609 * iconv/gconv_simple.c: Likewise.
38610 * iconv/gconv_int.h: Likewise.
38611 * iconv/gconv_builtin.h: Likewise.
38612 * iconv/iconv_prog.c: Remove CHAR16 handling.
38614 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38616 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38618 * configure.in: Remove --with-elf and --enable-bounded options.
38619 Dont set base_machine for ia64. More non-ELF conditions removed.
38620 Remove testing and setting of leading underscore information.
38621 * config.make.in (build-bounded): Set to no.
38622 * config.h.in: Remove NO_UNDERSCORES entry.
38623 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38625 * csu/start.c: Remove !NO_UNDERSCORE code.
38626 * locale/localeinfo.h: Likewise.
38627 * sysdeps/generic/machine-gmon.h: Likewise.
38628 * sysdeps/generic/sysdep.h: Likewise.
38629 * sysdeps/i386/sysdep.h: Likewise.
38630 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38631 * sysdeps/mach/sysdep.h: Likewise.
38632 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38633 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38634 * sysdeps/sh/sysdep.h: Likewise.
38635 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38636 * sysdeps/unix/i386/sysdep.S: Likewise.
38637 * sysdeps/unix/sparc/start.c: Likewise.
38638 * sysdeps/unix/sparc/sysdep.S: Likewise.
38639 * sysdeps/unix/sparc/sysdep.h: Likewise.
38640 * sysdeps/unix/start.c: Likewise.
38641 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38642 * sysdeps/x86_64/sysdep.h: Likewise.
38644 2012-01-07 Ulrich Drepper <drepper@gmail.com>
38647 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38649 * argp/argp-fmtstream.h: Use const instead __const.
38650 * argp/argp.h: Likewise.
38651 * assert/assert.h: Likewise.
38652 * bits/fenv.h: Likewise.
38653 * bits/sched.h: Likewise.
38654 * bits/sigset.h: Likewise.
38655 * bits/sigthread.h: Likewise.
38656 * catgets/nl_types.h: Likewise.
38657 * conform/data/pthread.h-data: Likewise.
38658 * crypt/crypt-private.h: Likewise.
38659 * crypt/crypt.h: Likewise.
38660 * crypt/crypt_util.c: Likewise.
38661 * ctype/ctype.h: Likewise.
38662 * debug/execinfo.h: Likewise.
38663 * debug/mbsnrtowcs_chk.c: Likewise.
38664 * debug/mbsrtowcs_chk.c: Likewise.
38665 * debug/wcsnrtombs_chk.c: Likewise.
38666 * debug/wcsrtombs_chk.c: Likewise.
38667 * debug/wcstombs_chk.c: Likewise.
38668 * dirent/dirent.h: Likewise.
38669 * dlfcn/dlfcn.h: Likewise.
38670 * elf/neededtest4.c: Likewise.
38671 * grp/grp.h: Likewise.
38672 * gshadow/gshadow.h: Likewise.
38673 * iconv/gconv.h: Likewise.
38674 * iconv/gconv_int.h: Likewise.
38675 * iconv/gconv_simple.c: Likewise.
38676 * iconv/iconv.h: Likewise.
38677 * iconv/loop.c: Likewise.
38678 * iconv/skeleton.c: Likewise.
38679 * include/aio.h: Likewise.
38680 * include/aliases.h: Likewise.
38681 * include/argz.h: Likewise.
38682 * include/arpa/inet.h: Likewise.
38683 * include/assert.h: Likewise.
38684 * include/dirent.h: Likewise.
38685 * include/dlfcn.h: Likewise.
38686 * include/execinfo.h: Likewise.
38687 * include/fcntl.h: Likewise.
38688 * include/fenv.h: Likewise.
38689 * include/glob.h: Likewise.
38690 * include/grp.h: Likewise.
38691 * include/libintl.h: Likewise.
38692 * include/mntent.h: Likewise.
38693 * include/netdb.h: Likewise.
38694 * include/pwd.h: Likewise.
38695 * include/rpc/netdb.h: Likewise.
38696 * include/sched.h: Likewise.
38697 * include/search.h: Likewise.
38698 * include/shadow.h: Likewise.
38699 * include/signal.h: Likewise.
38700 * include/stdio.h: Likewise.
38701 * include/stdlib.h: Likewise.
38702 * include/string.h: Likewise.
38703 * include/sys/socket.h: Likewise.
38704 * include/sys/stat.h: Likewise.
38705 * include/sys/statfs.h: Likewise.
38706 * include/sys/statvfs.h: Likewise.
38707 * include/sys/syslog.h: Likewise.
38708 * include/sys/time.h: Likewise.
38709 * include/sys/uio.h: Likewise.
38710 * include/time.h: Likewise.
38711 * include/unistd.h: Likewise.
38712 * include/utmp.h: Likewise.
38713 * include/wchar.h: Likewise.
38714 * include/wctype.h: Likewise.
38715 * inet/aliases.h: Likewise.
38716 * inet/arpa/inet.h: Likewise.
38717 * inet/netinet/ether.h: Likewise.
38718 * inet/netinet/in.h: Likewise.
38719 * intl/libintl.h: Likewise.
38720 * io/bits/fcntl2.h: Likewise.
38721 * io/fcntl.h: Likewise.
38722 * io/ftw.h: Likewise.
38723 * io/sys/poll.h: Likewise.
38724 * io/sys/stat.h: Likewise.
38725 * io/sys/statfs.h: Likewise.
38726 * io/sys/statvfs.h: Likewise.
38727 * io/utime.h: Likewise.
38728 * libio/bits/stdio.h: Likewise.
38729 * libio/bits/stdio2.h: Likewise.
38730 * libio/libio.h: Likewise.
38731 * libio/libioP.h: Likewise.
38732 * libio/stdio.h: Likewise.
38733 * locale/lc-ctype.c: Likewise.
38734 * locale/locale.h: Likewise.
38735 * login/utmp.h: Likewise.
38736 * malloc/arena.c: Likewise.
38737 * malloc/malloc.c: Likewise.
38738 * malloc/malloc.h: Likewise.
38739 * malloc/mcheck.c: Likewise.
38740 * malloc/mtrace.c: Likewise.
38741 * math/bits/mathcalls.h: Likewise.
38742 * math/fenv.h: Likewise.
38743 * math/math_private.h: Likewise.
38744 * misc/bits/error.h: Likewise.
38745 * misc/bits/syslog.h: Likewise.
38746 * misc/err.h: Likewise.
38747 * misc/error.h: Likewise.
38748 * misc/fstab.h: Likewise.
38749 * misc/mntent.h: Likewise.
38750 * misc/regexp.h: Likewise.
38751 * misc/search.h: Likewise.
38752 * misc/sgtty.h: Likewise.
38753 * misc/sys/mman.h: Likewise.
38754 * misc/sys/syslog.h: Likewise.
38755 * misc/sys/uio.h: Likewise.
38756 * misc/sys/xattr.h: Likewise.
38757 * misc/ttyent.h: Likewise.
38758 * nis/rpcsvc/ypclnt.h: Likewise.
38759 * nss/nss.h: Likewise.
38760 * posix/bits/unistd.h: Likewise.
38761 * posix/fnmatch.h: Likewise.
38762 * posix/glob.h: Likewise.
38763 * posix/sched.h: Likewise.
38764 * posix/spawn.h: Likewise.
38765 * posix/sys/wait.h: Likewise.
38766 * posix/unistd.h: Likewise.
38767 * posix/wordexp.h: Likewise.
38768 * pwd/pwd.h: Likewise.
38769 * resolv/netdb.h: Likewise.
38770 * resource/sys/resource.h: Likewise.
38771 * rt/aio.h: Likewise.
38772 * rt/bits/mqueue2.h: Likewise.
38773 * rt/mqueue.h: Likewise.
38774 * shadow/shadow.h: Likewise.
38775 * signal/signal.h: Likewise.
38776 * socket/send.c: Likewise.
38777 * socket/sendto.c: Likewise.
38778 * socket/sys/socket.h: Likewise.
38779 * stdio-common/printf.h: Likewise.
38780 * stdlib/bits/stdlib.h: Likewise.
38781 * stdlib/fmtmsg.h: Likewise.
38782 * stdlib/monetary.h: Likewise.
38783 * stdlib/stdlib.h: Likewise.
38784 * stdlib/ucontext.h: Likewise.
38785 * streams/stropts.h: Likewise.
38786 * string/argz.h: Likewise.
38787 * string/bits/string2.h: Likewise.
38788 * string/string.h: Likewise.
38789 * string/strings.h: Likewise.
38790 * sunrpc/rpc/auth.h: Likewise.
38791 * sunrpc/rpc/auth_des.h: Likewise.
38792 * sunrpc/rpc/clnt.h: Likewise.
38793 * sunrpc/rpc/netdb.h: Likewise.
38794 * sunrpc/rpc/pmap_clnt.h: Likewise.
38795 * sunrpc/rpc/xdr.h: Likewise.
38796 * sysdeps/generic/inttypes.h: Likewise.
38797 * sysdeps/generic/net/if.h: Likewise.
38798 * sysdeps/generic/sys/swap.h: Likewise.
38799 * sysdeps/gnu/net/if.h: Likewise.
38800 * sysdeps/gnu/utmpx.h: Likewise.
38801 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38802 * sysdeps/i386/i486/bits/string.h: Likewise.
38803 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38804 * sysdeps/s390/bits/string.h: Likewise.
38805 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38806 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38807 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38808 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38809 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38810 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38811 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38812 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38813 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38814 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38815 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38816 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38817 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38818 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38819 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38820 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38821 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38823 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38824 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38825 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38826 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38827 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38828 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38829 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38830 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38831 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38832 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38833 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38834 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38835 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38836 * sysvipc/sys/ipc.h: Likewise.
38837 * sysvipc/sys/msg.h: Likewise.
38838 * sysvipc/sys/sem.h: Likewise.
38839 * sysvipc/sys/shm.h: Likewise.
38840 * termios/termios.h: Likewise.
38841 * time/sys/time.h: Likewise.
38842 * time/time.h: Likewise.
38843 * wcsmbs/bits/wchar2.h: Likewise.
38844 * wcsmbs/uchar.h: Likewise.
38845 * wcsmbs/wchar.h: Likewise.
38846 * wctype/wctype.h: Likewise.
38849 * Makeconfig: Remove all but ELF support including AIX support.
38850 * Makerules: Likewise.
38851 * config.h.in: Likewise.
38852 * config.make.in: Likewise.
38853 * configure: Likewise.
38854 * configure.in: Likewise.
38855 * csu/Makefile: Likewise.
38856 * csu/version.c: Likewise.
38857 * debug/Makefile: Likewise.
38858 * dlfcn/Makefile: Likewise.
38859 * elf/Makefile: Likewise.
38860 * extra-lib.mk: Likewise.
38861 * iconv/Makefile: Likewise.
38862 * include/libc-symbols.h: Likewise.
38863 * include/shlib-compat.h: Likewise.
38864 * resolv/Makefile: Likewise.
38865 * resolv/res_libc.c: Likewise.
38866 * rt/Makefile: Likewise.
38867 * sysdeps/i386/asm-syntax.h: Likewise.
38868 * sysdeps/i386/sysdep.h: Likewise.
38869 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38870 * sysdeps/mach/sysdep.h: Likewise.
38871 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38872 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38873 * sysdeps/s390/asm-syntax.h: Likewise.
38874 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38876 * sysdeps/sh/sysdep.h: Likewise.
38877 * sysdeps/unix/sparc/sysdep.h: Likewise.
38878 * sysdeps/wordsize-32/divdi3.c: Likewise.
38879 * sysdeps/x86_64/sysdep.h: Likewise.
38881 * argp/Versions: Remove _argp_unlock_xxx.
38884 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38885 * abilist/libBrokenLocale.abilist: Likewise.
38886 * abilist/libanl.abilist: Likewise.
38887 * abilist/libc.abilist: Likewise.
38888 * abilist/libcrypt.abilist: Likewise.
38889 * abilist/libdl.abilist: Likewise.
38890 * abilist/libm.abilist: Likewise.
38891 * abilist/libnsl.abilist: Likewise.
38892 * abilist/libpthread.abilist: Likewise.
38893 * abilist/libresolv.abilist: Likewise.
38894 * abilist/librt.abilist: Likewise.
38895 * abilist/libthread_db.abilist: Likewise.
38896 * abilist/libutil.abilist: Likewise.
38897 * abilist/libnss_db.abilist: New file.
38899 * scripts/abilist.awk: Add support for indirect functions.
38901 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38903 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38905 * shlib-versions: Remove entries for ports architectures.
38907 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38909 * elf/stackguard-macros.h: Remove support for IA-64.
38910 * elf/tst-auditmod1.c: Likewise.
38911 * sysdeps/generic/ldsodefs.h: Likewise.
38913 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38914 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38918 * configure.in: Remove --enable-omitfp support.
38920 * config.make.in: Likewise.
38921 * Makeconfig: Likewise.
38922 * manual/install.texi: Likewise.
38924 In case anyone cares, the IA-64 architecture could move to ports.
38925 * sysdeps/ia64/*: Removed.
38926 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38927 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38930 * configure.in: Remove entries for unsupported architectures.
38933 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38934 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38936 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38937 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38938 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38939 fall back to using wcrtomb.
38940 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38941 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38943 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38944 * wcsmbs/tst-c16c32-1.c: New file.
38946 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38949 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38951 * elf/tst-unique3.cc: Add explicit declaration of gets.
38952 * elf/tst-unique3lib.cc: Likewise.
38953 * elf/tst-unique3lib2.cc: Likewise.
38954 * elf/tst-unique4.cc: Likewise.
38956 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38958 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38961 * assert/assert.h (static_assert): Don't define for C++.
38962 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38963 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38965 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38967 * iconv/loop.c (single loop): Fix assertion in storing of
38970 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38972 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38974 * posix/getconf.c: Update copyright year.
38975 * nss/getent.c: Likewise.
38976 * nss/makedb.c: Likewise.
38977 * iconv/iconvconfig.c: Likewise.
38978 * iconv/iconv_prog.c: Likewise.
38979 * elf/ldconfig.c: Likewise.
38980 * elf/pldd.c: Likewise.
38981 * elf/sotruss.ksh: Likewise.
38982 * catgets/gencat.c: Likewise.
38983 * csu/version.c: Likewise.
38984 * elf/ldd.bash.in: Likewise.
38985 * elf/sprof.c (print_version): Likewise.
38986 * locale/programs/locale.c: Likewise.
38987 * locale/programs/localedef.c: Likewise.
38988 * login/programs/pt_chown.c: Likewise.
38989 * nscd/nscd.c (print_version): Likewise.
38990 * debug/xtrace.sh: Likewise.
38991 * malloc/memusage.sh: Likewise.
38992 * malloc/mtrace.pl: Likewise.
38993 * debug/catchsegv.sh: Likewise.
38995 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38997 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39000 2011-12-24 Ulrich Drepper <drepper@gmail.com>
39003 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39004 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39006 * iconv/gconv_int.h: Likewise.
39007 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39008 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39009 from libc for GLIBC_2.16.
39010 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39011 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39012 * wcsmbs/uchar.h: Really define mbstate_t.
39013 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39014 * wcsmbs/c16rtomb.c: New file.
39015 * wcsmbs/mbrtoc16.c: New file.
39016 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39017 for C/POSIX locale.
39018 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39019 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39021 * wcsmbs/wchar.h: Add missing __restrict.
39023 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39026 * time/Makefile (routines): Add timespec_get.
39027 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39028 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39029 timespec for ISO C11.
39030 * time/timespec_get.c: New file.
39031 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39032 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39035 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39036 * stdlib/stdlib.h: Declare aligned_alloc.
39037 * Versions.def: Add GLIBC_2.16 for libc.
39038 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39041 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39044 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39048 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39051 * assert/assert.h (static_assert): Define.
39053 * version.h: Update for 2.16 development version.
39056 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39059 * version.h (RELEASE): Bump for 2.15 release.
39060 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39062 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39063 Patch by Marek Polacek <mpolacek@redhat.com>.
39065 * bits/byteswap.h: Protect long long constants with __extension__.
39066 * sysdeps/i386/bits/byteswap.h: Likewise.
39067 * sysdeps/ia64/bits/byteswap.h: Likewise.
39068 * sysdeps/s390/bits/byteswap.h: Likewise.
39069 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39071 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39074 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39075 destination buffer.
39076 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39078 2011-12-23 Marek Polacek <polacek@redhat.com>
39080 * elf/dl-addr.c (determine_info): Add inline keyword.
39081 * elf/tst-auditmod4b.c (check_avx): Likewise.
39082 * elf/tst-auditmod6b.c (check_avx): Likewise.
39083 * elf/tst-auditmod6c.c (check_avx): Likewise.
39084 * elf/tst-auditmod7b.c (check_avx): Likewise.
39086 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39088 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39091 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39094 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39095 processing for last bytes.
39097 2011-08-06 Bruno Haible <bruno@clisp.org>
39100 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39101 U+0385, not to U+1FEE.
39104 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39105 entry for U+00A5 U+0301.
39107 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39110 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39111 buffer for the output is too small.
39113 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39117 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39118 SSE flags if possible.
39120 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39123 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39124 processing for last bytes.
39126 2011-12-22 Joseph Myers <joseph@codesourcery.com>
39128 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39129 (syscall-list-default-options, syscall-list-default-condition)
39130 (syscall-list-includes): Define.
39131 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39132 list of ABIs and options and #if conditions for each ABI. Do not
39133 handle common syscalls between ABIs specially.
39134 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39136 (syscall-list-variants, syscall-list-32bit-options)
39137 (syscall-list-32bit-condition, syscall-list-64bit-options)
39138 (syscall-list-64bit-condition): Define.
39139 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
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/sparc/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.
39148 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39150 (syscall-list-variants, syscall-list-32bit-options)
39151 (syscall-list-32bit-condition, syscall-list-64bit-options)
39152 (syscall-list-64bit-condition): Define.
39154 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39156 * locale/iso-639.def: Add brx entry.
39159 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39160 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39162 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39163 __feraiseexcept_renamed.
39165 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39168 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39169 EPOLLET with unsigned values.
39170 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39171 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39173 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39174 to large cancellation.
39175 * math/s_cacoshf.c: Likewise.
39176 * math/s_cacoshl.c: Likewise.
39178 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39182 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39183 * math/s_cacoshf.c: Likewise.
39184 * math/s_cacoshl.c: Likewise.
39186 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39189 * iconv/gconv.h: Define __GCONV_SWAP.
39190 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39191 * iconvdata/utf-16.c: Likewise.
39192 * iconvdata/utf-32.c: Likewise.
39194 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39197 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39198 numerator after shifting it by one limb.
39200 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39202 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39203 under [__USE_EXTERN_INLINES].
39205 2011-12-17 Ulrich Drepper <drepper@gmail.com>
39208 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39210 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39212 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39213 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39215 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39216 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39217 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39218 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39219 for strncasecmp/strncasecmp_l compilation.
39220 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39221 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39223 2011-12-08 Marek Polacek <mpolacek@redhat.com>
39226 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39229 2011-12-17 Ulrich Drepper <drepper@gmail.com>
39232 * time/tzfile.c (__tzfile_read): Check values from file header.
39234 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39236 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39237 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39238 * powerpc/powerpc32/dl-start.S: Likewise.
39239 * powerpc/powerpc32/elf/start.S: Likewise.
39240 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39241 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39242 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39243 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39244 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39245 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39246 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39247 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39248 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39249 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39250 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39251 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39252 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39253 * powerpc/powerpc32/memset.S: Likewise.
39254 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39255 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39256 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39257 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39258 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39259 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39260 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39261 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39262 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39263 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39264 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39265 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39266 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39268 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39270 * math/libm-test.inc: Added more nearbyint tests.
39271 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39272 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39273 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39274 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39276 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39278 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39281 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39283 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39284 Add wcscpy-ssse3 wcscpy-c.
39285 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39286 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39287 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39288 * sysdeps/x86_64/wcschr.S: New file.
39289 * sysdeps/x86_64/wcsrchr.S: New file.
39290 * string/test-strcmp.c: Remove checking of wcscmp function for
39292 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39293 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39294 wcsrchr-sse2 wcsrchr-c.
39295 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39296 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39297 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39298 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39299 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39300 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39301 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39302 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39303 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39304 * wcsmbc/wcschr.c (WCSCHR): New macro.
39306 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39308 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39309 * wcsmbs/test-wcsrchr.c: New file.
39310 * string/test-strrchr.c: Add wcsrchr support.
39312 * wcsmbs/test-wcscpy.c: New file.
39313 * string/test-strcpy.c: Add wcscpy support.
39316 2011-12-10 Ulrich Drepper <drepper@gmail.com>
39318 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39321 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39324 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39326 2011-12-04 Ulrich Drepper <drepper@gmail.com>
39328 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39329 Minor optimizations.
39331 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39332 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39333 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39335 2011-12-03 Ulrich Drepper <drepper@gmail.com>
39337 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39338 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39339 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39340 for gcc to avoid warnings.
39341 * inet/Makefile (tests): Add tst-checks.
39342 * inet/tst-checks.c: New file.
39344 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39347 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39350 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39351 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39353 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39355 2011-12-02 Ulrich Drepper <drepper@gmail.com>
39357 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39360 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39362 2011-11-29 Joseph Myers <joseph@codesourcery.com>
39364 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39365 conditional on GCC version.
39366 (__arch_compare_and_exchange_val_8_acq)
39367 (__arch_compare_and_exchange_val_16_acq)
39368 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39369 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39370 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39372 2011-12-02 Joseph Myers <joseph@codesourcery.com>
39374 * sysdeps/sh/backtrace.c: New file.
39376 2011-12-02 Andreas Schwab <schwab@redhat.com>
39378 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39381 2011-12-01 Andreas Schwab <schwab@redhat.com>
39383 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39384 falling back to utime.
39386 2011-11-30 Andreas Schwab <schwab@redhat.com>
39388 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39389 expectations for float.
39391 2011-11-29 Andreas Schwab <schwab@redhat.com>
39393 * locale/weight.h (findidx): Add parameter len.
39394 * locale/weightwc.h (findidx): Likewise.
39395 * posix/fnmatch_loop.c (FCT): Adjust caller.
39396 * posix/regcomp.c (build_equiv_class): Likewise.
39397 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39398 * posix/regexec.c (check_node_accept_bytes): Likewise.
39399 * string/strcoll_l.c (STRCOLL): Likewise.
39400 * string/strxfrm_l.c (STRXFRM): Likewise.
39402 2011-11-17 Ulrich Drepper <drepper@gmail.com>
39404 * Makefile.in: Remove CVSOPT handling.
39405 * configure.in: Remove use of AC_REVISION.
39406 * iconvdata/Makefile (distribute): No need to filter out CVS.
39407 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39410 2011-11-16 Andreas Schwab <schwab@redhat.com>
39412 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39413 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39414 [USE_AS_STRNCASECMP_L]: Likewise.
39415 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39416 NO_TLS_DIRECT_SEG_REFS.
39417 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39418 Fix argument offsets for non-PIC.
39419 [USE_AS_STRNCASECMP_L]: Likewise.
39420 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39421 NO_TLS_DIRECT_SEG_REFS.
39423 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39425 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39427 * locale/loadlocale.c (_nl_load_locale): Likewise.
39429 2011-11-15 Andreas Schwab <schwab@redhat.com>
39431 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39432 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39433 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39434 (SYSCALL_GETTIME): Set errno on error.
39436 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39437 count references to noai6ai_cached.
39439 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39441 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39443 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39444 FD_CLOEXEC for /proc/self/maps.
39446 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39447 FD_CLOEXEC for /proc/meminfo.
39449 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39452 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39453 FD_CLOEXEC for given file.
39455 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39457 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39458 FD_CLOEXEC for /etc/hosts.
39459 (_gethtent): Likewise.
39461 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39463 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39464 cancellation and set FD_CLOEXEC for /etc/netgroup.
39466 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39467 reading /etc/publickey.
39469 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39470 allow cancellation when reading /etc/group.
39472 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39474 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39476 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39477 when using data file.
39479 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39481 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39482 (write_nis_obj): Use "c" and "e" in fopen.
39484 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39486 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39488 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39490 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39492 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39495 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39497 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39499 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39501 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39502 file parsing and set FD_CLOEXEC.
39504 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39506 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39508 2011-11-14 Andreas Schwab <schwab@redhat.com>
39510 * malloc/arena.c (arena_get2): Don't call reused_arena when
39511 _int_new_arena failed.
39513 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39515 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39516 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39517 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39518 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39519 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39520 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39521 to compile strcasecmp and strncasecmp.
39522 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39523 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39525 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39527 2011-11-13 Ulrich Drepper <drepper@gmail.com>
39529 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39530 locale-defines.sym to gen-as-const-headers.
39531 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39532 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39534 to compile strcasecmp and strncasecmp.
39535 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39536 strcasecmp_l and strncasecmp_l.
39537 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39538 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39539 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39540 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39541 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39542 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39543 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39544 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39545 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39546 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39547 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39549 2011-11-12 Ulrich Drepper <drepper@gmail.com>
39551 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39552 result of SYSDEP_GETTIME_CPU to retval.
39553 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39554 parameter list to macro. Remove trailing semicolon. Adjust users.
39556 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39559 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39561 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39563 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39564 from unused variable.
39566 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39568 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39571 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39574 * sunrpc/rpc_prot.c (rejected): Fix case value.
39576 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39577 unsigned long long int to avoid warnings in shift.
39579 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39581 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39584 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39585 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39586 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39588 * nis/nis_table.c (nis_list): Use variable of correct type for
39589 result of __follow_path call.
39591 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39593 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39594 of math functions ceil, trunc, floor, round, and sqrt, when
39595 avaliable on the platform.
39596 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39598 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39599 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39600 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39602 2011-10-30 Marek Polacek <mpolacek@redhat.com>
39604 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39605 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39607 2011-11-11 Roland McGrath <roland@hack.frob.com>
39609 * include/unistd.h: Fix __readlink return type.
39610 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39612 2011-11-11 Ulrich Drepper <drepper@gmail.com>
39614 * stdlib/ucontext.h: Undo last change for makecontext.
39616 2011-11-11 Andreas Schwab <schwab@redhat.com>
39618 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39620 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39621 * setjmp/setjmp.h: Mark functions as non-leaf.
39622 * setjmp/bits/setjmp2.h: Likewise.
39623 * stdlib/ucontext.h: Likewise.
39625 2011-11-10 Andreas Schwab <schwab@redhat.com>
39627 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39628 (reused_arena): Don't check arena limit.
39629 (arena_get2): Atomically check arena limit.
39631 2011-11-08 Ulrich Drepper <drepper@gmail.com>
39633 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39634 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39636 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39639 2011-11-07 Andreas Schwab <schwab@redhat.com>
39641 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39642 handler when locking.
39644 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39645 Fix size of allocated buffer.
39647 2011-11-04 Andreas Schwab <schwab@redhat.com>
39650 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39651 declarations for long double functions.
39652 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39654 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39656 2011-11-03 Andreas Schwab <schwab@redhat.com>
39658 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39661 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39664 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39666 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39668 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39670 * include/alloca.h (stackinfo_alloca_round): Define.
39671 (extend_alloca): Use it.
39672 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39673 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39676 * scripts/check-local-headers.sh: Ignore libaudit.h.
39678 * nscd/Makefile (extra-objs): Make recursively expanded.
39680 2011-11-01 Ulrich Drepper <drepper@gmail.com>
39682 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39683 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39685 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39686 * posix/tst-rfc3484-2.c: Likewise.
39687 * posix/tst-rfc3484-3.c: Likewise.
39689 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39691 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39693 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39694 process_vm_writev from libc using GLIBC_2.15 version.
39696 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39698 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39700 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39703 2011-10-31 Ulrich Drepper <drepper@gmail.com>
39706 * nss/getent.c (initgroups_keys): Show error message in case no group
39709 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39710 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39711 __bump_nl_timestamp.
39712 * nscd/connections (nscd_init): When host database is served open
39713 netlink socket and request notification about configuration changes.
39714 (main_loop_poll): Track netlink file descriptor and bump timestamp
39715 in case data becomes available.
39716 (main_loop_epoll): Likewise.
39717 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39718 (database_pers_head): Add extra_data fileds.
39719 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39720 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39721 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39723 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39724 in6ai data, call __free_in6ai.
39725 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39726 Add -DHAVE_NETLINK.
39727 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39728 interface information. Reuse previous data if netlink timestamp
39730 (__bump_nl_timestamp): New function.
39731 (__free_in6ai): New function.
39733 2011-10-30 Ulrich Drepper <drepper@gmail.com>
39735 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39736 close_not_cancel_no_status here.
39737 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39739 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39742 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39745 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39746 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39747 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39749 2011-07-03 Andreas Jaeger <aj@suse.de>
39752 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39753 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39754 * math/libm-test.inc (sin_test): Add test case.
39756 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39759 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39760 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39762 * elf/chroot_canon.c (chroot_canon): Cleanups.
39764 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39767 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39768 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39770 * string/test-strchr.c: Make usable for strchrnul testing.
39771 * string/test-strchrnul.c: New file.
39772 * string/Makefile (strop-tests): Add strchrnul.
39774 * po/it.po: Update from translation team.
39775 * po/es.po: Likewise.
39777 2011-10-28 Ulrich Drepper <drepper@gmail.com>
39779 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39780 the three constants needed as parameters. Drop the others.
39781 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39782 __m128i_strloadu_tolower.
39783 Create and initialize variable zero and use it in all the places
39784 where _mm_setzero_si128 was used.
39786 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39787 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39788 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39789 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39791 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39792 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39793 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39794 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39795 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39796 __mpranred, __mptan.
39797 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39798 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39799 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39800 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39801 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39802 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39803 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39804 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39805 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39807 2011-10-28 Andreas Schwab <schwab@redhat.com>
39809 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39810 redefine if SHARED.
39811 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39814 wide char related routines to wcsmbs subdir.
39816 2011-10-27 Andreas Schwab <schwab@redhat.com>
39819 * misc/sys/cdefs.h (__THROWNL): Define.
39820 * posix/unistd.h: Use __THREADNL instead of __THREAD
39821 for memory synchronization functions.
39823 2011-10-26 Roland McGrath <roland@hack.frob.com>
39826 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39828 * manual/stdio.texi (Obstack Streams): Node removed.
39830 2011-10-26 Andreas Schwab <schwab@redhat.com>
39832 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39833 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39834 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39836 * math/math_private.h (math_force_eval): Allow non-addressable
39838 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39840 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39842 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39843 file is not needed.
39845 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39846 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39847 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39848 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39849 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39850 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39851 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39852 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39854 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39855 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39856 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39857 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39858 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39859 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39860 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39861 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39862 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39863 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39864 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39865 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39866 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39867 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39868 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39869 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39870 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39871 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39872 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39874 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39875 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39877 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39878 place. Use VEX encoding when compiling for AVX.
39880 2011-10-25 Andreas Schwab <schwab@redhat.com>
39882 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39883 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39885 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39887 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39889 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39890 useless if() expression.
39891 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39892 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39893 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39894 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39895 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39896 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39897 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39898 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39899 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39900 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39901 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39902 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39903 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39904 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39905 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39906 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39907 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39908 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39909 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39911 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39913 2011-10-25 Andreas Schwab <schwab@redhat.com>
39915 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39917 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39919 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39921 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39922 .text section. Avoid duplicate constants.
39923 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39924 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39925 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39926 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39927 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39928 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39929 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39930 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39931 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39932 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39933 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39934 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39935 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39936 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39937 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39938 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39939 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39940 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39941 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39942 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39943 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39944 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39945 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39946 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39947 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39948 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39949 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39950 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39951 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39952 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39953 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39954 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39955 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39956 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39957 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39958 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39959 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39960 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39961 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39962 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39963 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39964 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39965 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39966 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39967 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39969 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39971 * sysdeps/x86_64/dla.h: Move to ...
39972 * sysdeps/x86_64/fpu/dla.h: ...here.
39973 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39974 situations. Use __builtin_fma only for gcc 4.6 and up.
39976 * config.make.in: Add have-mfma4 entry.
39977 * configure.in: Substitute libc_cv_cc_fma4.
39978 * math/Makefile (dbl-only-routines): Add sincostab.
39979 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39980 Use __sincostab not sincos.
39981 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39983 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39984 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39985 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39988 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39989 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39990 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39991 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39993 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39994 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39996 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39997 define aliases when function name is a macro.
39998 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39999 sysdeps/ieee754/dbl-64/sincos.tbl.
40000 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40001 fma4-enabled routines.
40002 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40003 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40004 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40005 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40006 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40007 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40008 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40009 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40010 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40011 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40012 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40013 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40014 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40015 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40016 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40017 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40018 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40019 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40020 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40021 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40022 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40023 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40024 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40025 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40026 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40027 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40028 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40029 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40030 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40031 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40033 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40035 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40036 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40037 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40038 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40039 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40040 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40041 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40042 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40044 2011-10-24 Andreas Schwab <schwab@redhat.com>
40046 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40048 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40050 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40052 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40054 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40056 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40057 Remove unused variable magic_bits.
40058 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40060 * string/strnlen.c: Define and use STRNLEN macro.
40061 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40062 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40063 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40064 * wcsmbs/wcslen.c: Define and use WCSLEN.
40065 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40066 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40067 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40068 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40069 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40070 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40071 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40073 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40076 strnlen-sse2-no-bsf.
40077 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40078 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40079 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40080 Add strnlen support.
40081 (USE_AS_STRNLEN): New macro.
40082 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40083 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40084 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40085 * sysdeps/x86_64/wcslen.S: New file.
40087 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40089 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40090 XMM-moves are used for copying on small sizes.
40092 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40094 * wcsmbs/Makefile (strop-tests): Add wcschr.
40095 * wcsmbs/test-wcschr.c: New file.
40096 * string/test-strchr.c: Update.
40097 Add wcschr support.
40100 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40102 * wcsmbs/Makefile (strop-tests): Add wcslen.
40103 * wcsmbs/test-wcslen.c: New file.
40104 * string/test-strlen.c: Update.
40105 Add wcslen support.
40108 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40110 * po/it.po: Update from translation team.
40112 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40114 * sysdeps/x86_64/wcscmp.S: Update.
40115 Fix wrong comparison semantics.
40116 wcscmp shall use signed comparison not unsigned.
40117 Don't use substraction to avoid overflow bug.
40118 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40119 * wcsmbc/wcscmp.c: Likewise.
40120 * string/test-strcmp.c: Likewise.
40121 Add new tests to check cases with negative values.
40123 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40125 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40126 * sysdeps/x86_64/dla.h: ...here. New file.
40127 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40128 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40130 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40131 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40132 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40134 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40135 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40137 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40139 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40140 __ynl_finite aliases.
40142 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40146 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40148 [DLA_FMA] (EMULV): Use DLA_FMA.
40149 [DLA_FMA] (MUL12): Use EMULV.
40150 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40151 that are not needed.
40152 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40157 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40160 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40162 * math/s_nan.c: Undef __nan.
40163 * math/s_nanf.c: Undef __nanf.
40164 * math/s_nanl.c: Undef __nanl.
40165 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40168 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40170 * math/s_catan.c: Add branch predictions.
40171 * math/s_catanf.c: Likewise.
40172 * math/s_catanh.c: Likewise.
40173 * math/s_catanhf.c: Likewise.
40174 * math/s_catanhl.c: Likewise.
40175 * math/s_catanl.c: Likewise.
40176 * math/s_cexp.c: Likewise.
40177 * math/s_cexpf.c: Likewise.
40178 * math/s_cexpl.c: Likewise.
40179 * math/s_clog.c: Likewise.
40180 * math/s_clog10.c: Likewise.
40181 * math/s_clog10f.c: Likewise.
40182 * math/s_clog10l.c: Likewise.
40183 * math/s_clogf.c: Likewise.
40184 * math/s_clogl.c: Likewise.
40185 * math/s_csqrt.c: Likewise.
40186 * math/s_csqrtf.c: Likewise.
40187 * math/s_csqrtl.c: Likewise.
40188 * math/s_ctanf.c: Likewise.
40189 * math/s_ctanh.c: Likewise.
40190 * math/s_ctanhf.c: Likewise.
40191 * math/s_ctanhl.c: Likewise.
40192 * math/s_ctanl.c: Likewise.
40194 * math/math_private.h: Define __nan, __nanf, __nanl.
40195 * math/s_cacosh.c: Include <math_private.h>.
40196 * math/s_cacoshl.c: Likewise.
40197 * math/s_casinh.c: Likewise.
40198 * math/s_casinhf.c: Likewise.
40199 * math/s_casinhl.c: Likewise.
40200 * math/s_ccos.c: Rely entire on ccosh.
40201 * math/s_ccosf.c: Rely entire on ccoshf.
40202 * math/s_ccosl.c: Rely entirely on ccoshl.
40203 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40204 Remove tests for FE_INVALID.
40205 * math/s_ccoshf.c: Likewise.
40206 * math/s_ccoshl.c: Likewise.
40207 * math/s_csin.c: Likewise.
40208 * math/s_csinf.c: Likewise.
40209 * math/s_csinh.c Likewise.
40210 * math/s_csinhf.c: Likewise.
40211 * math/s_csinhl.c: Likewise.
40212 * math/s_csinl.c: Likewise.
40213 * math/s_ctan.c: Likewise.
40214 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40215 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40216 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40218 2011-10-21 Ulrich Drepper <drepper@gmail.com>
40220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40221 compilation problems.
40223 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40226 2011-10-20 Ulrich Drepper <drepper@gmail.com>
40228 * sysdeps/i386/configure.in: Test for -mfma4 option.
40229 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40230 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40231 COMMON_CPUID_INDEX_80000001.
40232 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40233 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40234 use it if FMA3 is not supported.
40235 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40237 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40238 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40240 2011-10-20 Andreas Schwab <schwab@redhat.com>
40243 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40244 it would create a cycle with a link time dependency.
40246 2011-10-19 Ulrich Drepper <drepper@gmail.com>
40248 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40250 * string/Makefile (strop-tests): Add rawmemchr.
40251 * string/test-rawmemchr.c: New file.
40253 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40254 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40255 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40256 when compiling str{,n}casecmp and when AVX is available. Hook up
40257 new optimized code in initializers.
40259 2011-10-19 Andreas Schwab <schwab@redhat.com>
40261 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40262 __feraiseexcept instead of feraiseexcept.
40264 2011-10-18 Ulrich Drepper <drepper@gmail.com>
40266 * math/math_private.h: Define defaults for libc_fetestexcept and
40268 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40269 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40270 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40271 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40272 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40273 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40274 libc_fetestexcept and libc_feupdateenv.
40276 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40277 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40278 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40279 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40280 libc_feholdexcept_setround.
40282 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40283 Add s_nearbyint-c and s_nearbyintf-c.
40284 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40285 nearbyintf inlines.
40286 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40287 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40288 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40289 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40291 * math/math_private.h: Define defaults for libc_fegetround,
40292 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40293 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40294 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40295 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40296 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40297 standard functions.
40298 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40299 Remove comments and hacks for old compiler versions.
40300 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40301 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40302 libc_feholdexceptl.
40304 2011-10-18 Andreas Schwab <schwab@redhat.com>
40306 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40307 (__feraiseexcept_renamed): Add __NTH.
40308 (feraiseexcept): Add __NTH. Rename local variables to fix
40309 namespace violations.
40311 2011-10-17 Ulrich Drepper <drepper@gmail.com>
40313 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40315 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40317 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40318 recently added interfaces.
40319 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40321 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40322 about macro parameter expansion.
40324 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40325 __NO_MATH_INLINES is defined. Cleanups.
40327 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40328 and __floorf is target has SSE4.1.
40329 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40330 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40331 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40332 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40334 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40336 (floorf): Likewise.
40338 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40340 2011-10-17 Andreas Schwab <schwab@redhat.com>
40342 * misc/sys/cdefs.h: Fix last change.
40344 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40347 2011-10-16 Ulrich Drepper <drepper@gmail.com>
40349 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40351 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40352 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40353 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40354 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40355 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40356 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40357 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40358 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40359 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40360 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40361 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40362 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40363 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40364 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40365 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40366 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40367 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40368 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40369 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40370 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40371 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40372 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40374 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40375 ceil, ceilf, floor, floorf.
40377 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40378 Perform IRELATIVE relocations last.
40380 * elf/do-rel.h: Add another parameter nrelative, replacing the
40381 local variable with the same name. Change name of the function
40382 to end in Rel or Rela (uppercase).
40383 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40384 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40385 elf_dynamic_do_##reloc function.
40387 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40389 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40390 is sufficient, at least on modern CPUs.
40392 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40394 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40395 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40397 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40399 * math/bits/math-finite.h: Add entries for exp.
40400 * math/e_expl.c: Add __*_finite alias.
40401 * sysdeps/i386/fpu/e_exp.S: Likewise.
40402 * sysdeps/i386/fpu/e_expf.S: Likewise.
40403 * sysdeps/i386/fpu/e_expl.c: Likewise.
40404 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40405 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40406 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40407 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40408 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40409 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40410 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40412 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40413 is sufficient, at least on modern CPUs.
40415 * ctype/ctype-info.c (__ctype_init): Define.
40416 * include/ctype.h (__ctype_init): Declare.
40417 (__ctype_b_loc): The variable is always initialized.
40418 (__ctype_toupper_loc): Likewise.
40419 (__ctype_tolower_loc): Likewise.
40420 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40421 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40423 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40425 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40427 * configure.in: Also look in $cxxmachine/include for C++ system
40430 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40432 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40433 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40434 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40435 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40436 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40437 (USE_AS_WMEMCMP): New macro.
40439 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40440 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40441 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40442 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40444 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40445 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40446 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40447 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40448 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40449 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40450 (USE_AS_WMEMCMP): New macro.
40451 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40452 * sysdeps/string/test-memcmp.c: Update.
40453 Fix simple_wmemcmp.
40455 * wcsmbs/wmemcmp.c: Update.
40456 (WMEMCMP): New macro.
40459 2011-10-12 Andreas Jaeger <aj@suse.de>
40462 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40464 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40466 * libio/iofwide.c (do_length): Avoid warning.
40468 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40470 2011-10-14 Ulrich Drepper <drepper@gmail.com>
40472 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40474 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40475 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40476 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40477 * sysdeps/i386/i686/fpu/e_log.S: New file.
40478 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40479 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40481 * ctype/ctype.h: Add support for inlined isXXX functions when
40482 compiling C++ code.
40484 2011-10-14 Andreas Schwab <schwab@redhat.com>
40486 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40488 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40490 2011-10-13 Roland McGrath <roland@hack.frob.com>
40493 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40495 2011-10-13 Andreas Schwab <schwab@redhat.com>
40497 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40498 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40501 * sysdeps/x86_64/memrchr.S: Check for zero size.
40503 * string/stratcliff.c: Add memrchr tests.
40505 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40508 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40509 rawmemchr-sse2 rawmemchr-sse2-bsf.
40510 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40511 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40512 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40513 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40514 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40515 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40516 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40517 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40518 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40519 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40520 * string/memrchr.c (MEMRCHR): New macro.
40522 2011-10-12 Ulrich Drepper <drepper@gmail.com>
40524 Add integration with gcc's -ffinite-math-only and optimize wrapper
40526 * Versions.def: Define GLIBC_2.15 version for libm.
40527 * math/Makefile (headers): Add bits/math-finite.h.
40528 * math/bits/math-finite.h: New file.
40529 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40530 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40531 * math/e_acoshl.c: Add __*_finite alias.
40532 * math/e_acosl.c: Likewise.
40533 * math/e_asinl.c: Likewise.
40534 * math/e_atan2l.c: Likewise.
40535 * math/e_atanhl.c: Likewise.
40536 * math/e_coshl.c: Likewise.
40537 * math/e_exp10.c: Likewise.
40538 * math/e_exp10f.c: Likewise.
40539 * math/e_exp10l.c: Likewise.
40540 * math/e_exp2l.c: Likewise.
40541 * math/e_fmodl.c: Likewise.
40542 * math/e_gammal_r.c: Likewise.
40543 * math/e_hypotl.c: Likewise.
40544 * math/e_j0l.c: Likewise.
40545 * math/e_j1l.c: Likewise.
40546 * math/e_jnl.c: Likewise.
40547 * math/e_lgammal_r.c: Likewise.
40548 * math/e_log10l.c: Likewise.
40549 * math/e_log2l.c: Likewise.
40550 * math/e_logl.c: Likewise.
40551 * math/e_powl.c: Likewise.
40552 * math/e_sinhl.c: Likewise.
40553 * math/e_sqrtl.c: Likewise.
40554 * math/e_scalb.c: Completely rewritten and optimized.
40555 * math/e_scalbf.c: Likewise.
40556 * math/e_scalbl.c: Likewise.
40557 * math/w_acos.c: Likewise.
40558 * math/w_acosf.c: Likewise.
40559 * math/w_acosl.c: Likewise.
40560 * math/w_acosh.c: Likewise.
40561 * math/w_acoshf.c: Likewise.
40562 * math/w_acoshl.c: Likewise.
40563 * math/w_asin.c: Likewise.
40564 * math/w_asinf.c: Likewise.
40565 * math/w_asinl.c: Likewise.
40566 * math/w_atan2.c: Likewise.
40567 * math/w_atan2f.c: Likewise.
40568 * math/w_atan2l.c: Likewise.
40569 * math/w_atanh.c: Likewise.
40570 * math/w_atanhf.c: Likewise.
40571 * math/w_atanhl.c: Likewise.
40572 * math/w_exp10.c: Likewise.
40573 * math/w_exp10f.c: Likewise.
40574 * math/w_exp10l.c: Likewise.
40575 * math/w_fmod.c: Likewise.
40576 * math/w_fmodf.c: Likewise.
40577 * math/w_fmodl.c: Likewise.
40578 * math/w_j0.c: Likewise.
40579 * math/w_j0f.c: Likewise.
40580 * math/w_j0l.c: Likewise.
40581 * math/w_j1.c: Likewise.
40582 * math/w_j1f.c: Likewise.
40583 * math/w_j1l.c: Likewise.
40584 * math/w_jn.c: Likewise.
40585 * math/w_jnf.c: Likewise.
40586 * math/w_log.c: Likewise.
40587 * math/w_logf.c: Likewise.
40588 * math/w_logl.c: Likewise.
40589 * math/w_log10.c: Likewise.
40590 * math/w_log10f.c: Likewise.
40591 * math/w_log10l.c: Likewise.
40592 * math/w_log2.c: Likewise.
40593 * math/w_log2f.c: Likewise.
40594 * math/w_log2l.c: Likewise.
40595 * math/w_pow.c: Likewise.
40596 * math/w_powf.c: Likewise.
40597 * math/w_powl.c: Likewise.
40598 * math/w_remainder.c: Likewise.
40599 * math/w_remainderf.c: Likewise.
40600 * math/w_remainderl.c: Likewise.
40601 * math/w_scalb.c: Likewise.
40602 * math/w_scalbf.c: Likewise.
40603 * math/w_scalbl.c: Likewise.
40604 * math/w_sqrt.c: Likewise.
40605 * math/w_sqrtf.c: Likewise.
40606 * math/w_sqrtl.c: Likewise.
40607 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40608 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40610 * math/math_private.h: Declare __kernel_standard_f.
40611 * math/w_cosh.c: Remove cruft and optimize a bit.
40612 * math/w_coshf.c: Likewise.
40613 * math/w_coshl.c: Likewise.
40614 * math/w_exp2.c: Likewise.
40615 * math/w_exp2f.c: Likewise.
40616 * math/w_exp2l.c: Likewise.
40617 * math/w_hypot.c: Likewise.
40618 * math/w_hypotf.c: Likewise.
40619 * math/w_hypotl.c: Likewise.
40620 * math/w_lgamma.c: Likewise.
40621 * math/w_lgamma_r.c: Likewise.
40622 * math/w_lgammaf.c: Likewise.
40623 * math/w_lgammaf_r.c: Likewise.
40624 * math/w_lgammal.c: Likewise.
40625 * math/w_lgammal_r.c: Likewise.
40626 * math/w_sinh.c: Likewise.
40627 * math/w_sinhf.c: Likewise.
40628 * math/w_sinhl.c: Likewise.
40629 * math/w_tgamma.c: Likewise.
40630 * math/w_tgammaf.c: Likewise.
40631 * math/w_tgammal.c: Likewise.
40632 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40633 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40634 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40635 Minor optimizations. Pretty printing. Remove cruft.
40636 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40637 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40638 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40639 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40640 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40641 * sysdeps/i386/fpu/e_asin.S: Likewise.
40642 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40643 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40644 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40645 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40646 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40647 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40648 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40649 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40650 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40651 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40652 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40653 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40654 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40655 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40656 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40657 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40658 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40659 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40660 * sysdeps/i386/fpu/e_log.S: Likewise.
40661 * sysdeps/i386/fpu/e_log10.S: Likewise.
40662 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40663 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40664 * sysdeps/i386/fpu/e_log2.S: Likewise.
40665 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40666 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40667 * sysdeps/i386/fpu/e_logf.S: Likewise.
40668 * sysdeps/i386/fpu/e_logl.S: Likewise.
40669 * sysdeps/i386/fpu/e_pow.S: Likewise.
40670 * sysdeps/i386/fpu/e_powf.S: Likewise.
40671 * sysdeps/i386/fpu/e_powl.S: Likewise.
40672 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40673 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40674 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40675 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40676 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40677 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40678 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40679 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40680 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40681 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40682 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40683 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40684 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40685 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40686 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40687 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40688 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40689 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40690 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40691 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40692 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40693 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40694 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40695 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40696 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40697 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40698 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40699 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40700 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40701 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40702 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40703 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40704 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40705 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40706 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40707 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40708 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40709 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40710 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40711 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40712 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40713 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40714 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40715 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40716 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40717 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40718 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40719 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40720 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40721 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40722 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40723 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40724 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40725 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40726 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40727 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40728 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40729 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40730 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40731 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40732 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40733 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40734 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40735 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40736 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40737 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40738 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40739 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40740 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40741 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40742 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40743 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40744 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40745 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40746 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40747 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40748 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40749 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40750 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40751 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40752 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40753 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40754 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40755 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40756 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40757 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40758 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40759 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40760 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40761 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40762 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40763 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40764 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40765 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40766 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40767 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40768 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40769 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40770 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40771 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40772 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40773 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40774 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40775 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40776 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40777 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40778 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40779 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40780 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40781 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40782 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40783 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40784 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40785 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40786 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40787 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40788 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40789 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40790 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40791 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40792 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40793 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40794 (__isnanf): Likewise.
40795 (__isinf_ns): Likewise.
40796 (__isinf_nsf): Likewise.
40797 (__finite): Likewise.
40798 (__finitef): Likewise.
40799 (__ieee754_sqrt): Define as macro.
40800 (__ieee754_sqrtf): Define as macro.
40801 (__ieee754_sqrtl): Define as macro.
40802 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40804 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40805 __FINITE_MATH_ONLY__ consistent.
40806 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40808 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40810 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40813 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40815 2011-10-09 Ulrich Drepper <drepper@gmail.com>
40817 * po/ja.po: Update from translation team.
40819 2011-10-08 Roland McGrath <roland@hack.frob.com>
40821 * locale/programs/locarchive.c (prepare_address_space): New function.
40822 (create_archive, enlarge_archive, open_archive): Use it.
40824 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40825 inside [SHARED], where it is used.
40827 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40829 * nss/getent.c (netgroup_keys): Remove unused variable.
40830 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40832 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40834 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40835 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40836 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40837 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40838 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40839 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40840 * math/Makefile (libm-calls): Add s_isinf_ns.
40841 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40842 * math/multc3.c: Likewise.
40843 * math/s_casin.c: Likewise.
40844 * math/s_casinf.c: Likewise.
40845 * math/s_casinl.c: Likewise.
40846 * math/s_ccos.c: Likewise.
40847 * math/s_ccosf.c: Likewise.
40848 * math/s_ccosl.c: Likewise.
40849 * math/s_ctan.c: Likewise.
40850 * math/s_ctanf.c: Likewise.
40851 * math/s_ctanh.c: Likewise.
40852 * math/s_ctanhf.c: Likewise.
40853 * math/s_ctanhl.c: Likewise.
40854 * math/s_ctanl.c: Likewise.
40855 * math/w_fmod.c: Likewise.
40856 * math/w_fmodf.c: Likewise.
40857 * math/w_fmodl.c: Likewise.
40858 * math/w_remainder.c: Likewise.
40859 * math/w_remainderf.c: Likewise.
40860 * math/w_remainderl.c: Likewise.
40861 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40862 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40863 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40864 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40865 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40866 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40867 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40868 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40870 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40872 * stdio-common/printf_fphex.c: Likewise.
40873 * stdio-common/printf_size.c: Likewise.
40875 * math/e_exp10.c: Include math_private.h using <...> not "...".
40876 * math/e_exp10f.c: Likewise.
40877 * math/e_exp10l.c: Likewise.
40878 * math/e_exp2l.c: Likewise.
40879 * math/e_j0l.c: Likewise.
40880 * math/e_j1l.c: Likewise.
40881 * math/e_jnl.c: Likewise.
40882 * math/e_lgammal_r.c: Likewise.
40883 * math/e_rem_pio2l.c: Likewise.
40884 * math/e_scalb.c: Likewise.
40885 * math/e_scalbf.c: Likewise.
40886 * math/e_scalbl.c: Likewise.
40887 * math/k_cosl.c: Likewise.
40888 * math/k_sinl.c: Likewise.
40889 * math/k_tanl.c: Likewise.
40890 * math/s_cacoshf.c: Likewise.
40891 * math/s_catan.c: Likewise.
40892 * math/s_catanf.c: Likewise.
40893 * math/s_catanh.c: Likewise.
40894 * math/s_catanhf.c: Likewise.
40895 * math/s_catanhl.c: Likewise.
40896 * math/s_catanl.c: Likewise.
40897 * math/s_ccosh.c: Likewise.
40898 * math/s_ccoshf.c: Likewise.
40899 * math/s_ccoshl.c: Likewise.
40900 * math/s_cexp.c: Likewise.
40901 * math/s_cexpf.c: Likewise.
40902 * math/s_cexpl.c: Likewise.
40903 * math/s_clog.c: Likewise.
40904 * math/s_clog10.c: Likewise.
40905 * math/s_clog10f.c: Likewise.
40906 * math/s_clog10l.c: Likewise.
40907 * math/s_clogf.c: Likewise.
40908 * math/s_clogl.c: Likewise.
40909 * math/s_csin.c: Likewise.
40910 * math/s_csinf.c: Likewise.
40911 * math/s_csinh.c: Likewise.
40912 * math/s_csinhf.c: Likewise.
40913 * math/s_csinhl.c: Likewise.
40914 * math/s_csinl.c: Likewise.
40915 * math/s_csqrt.c: Likewise.
40916 * math/s_csqrtf.c: Likewise.
40917 * math/s_csqrtl.c: Likewise.
40918 * math/s_ctan.c: Likewise.
40919 * math/s_ctanf.c: Likewise.
40920 * math/s_ctanh.c: Likewise.
40921 * math/s_ctanhf.c: Likewise.
40922 * math/s_ctanhl.c: Likewise.
40923 * math/s_ctanl.c: Likewise.
40924 * math/s_ldexp.c: Likewise.
40925 * math/s_ldexpf.c: Likewise.
40926 * math/s_ldexpl.c: Likewise.
40927 * math/s_significand.c: Likewise.
40928 * math/s_significandf.c: Likewise.
40929 * math/s_significandl.c: Likewise.
40930 * math/w_acos.c: Likewise.
40931 * math/w_acosf.c: Likewise.
40932 * math/w_acosh.c: Likewise.
40933 * math/w_acoshf.c: Likewise.
40934 * math/w_acoshl.c: Likewise.
40935 * math/w_acosl.c: Likewise.
40936 * math/w_asin.c: Likewise.
40937 * math/w_asinf.c: Likewise.
40938 * math/w_asinl.c: Likewise.
40939 * math/w_atan2.c: Likewise.
40940 * math/w_atan2f.c: Likewise.
40941 * math/w_atan2l.c: Likewise.
40942 * math/w_atanh.c: Likewise.
40943 * math/w_atanhf.c: Likewise.
40944 * math/w_atanhl.c: Likewise.
40945 * math/w_cosh.c: Likewise.
40946 * math/w_coshf.c: Likewise.
40947 * math/w_coshl.c: Likewise.
40948 * math/w_dremf.c: Likewise.
40949 * math/w_exp10.c: Likewise.
40950 * math/w_exp10f.c: Likewise.
40951 * math/w_exp10l.c: Likewise.
40952 * math/w_exp2.c: Likewise.
40953 * math/w_exp2f.c: Likewise.
40954 * math/w_fmod.c: Likewise.
40955 * math/w_fmodf.c: Likewise.
40956 * math/w_fmodl.c: Likewise.
40957 * math/w_hypot.c: Likewise.
40958 * math/w_hypotf.c: Likewise.
40959 * math/w_hypotl.c: Likewise.
40960 * math/w_j0.c: Likewise.
40961 * math/w_j0f.c: Likewise.
40962 * math/w_j0l.c: Likewise.
40963 * math/w_j1.c: Likewise.
40964 * math/w_j1f.c: Likewise.
40965 * math/w_j1l.c: Likewise.
40966 * math/w_jn.c: Likewise.
40967 * math/w_jnf.c: Likewise.
40968 * math/w_jnl.c: Likewise.
40969 * math/w_lgamma.c: Likewise.
40970 * math/w_lgamma_r.c: Likewise.
40971 * math/w_lgammaf.c: Likewise.
40972 * math/w_lgammaf_r.c: Likewise.
40973 * math/w_lgammal.c: Likewise.
40974 * math/w_lgammal_r.c: Likewise.
40975 * math/w_log.c: Likewise.
40976 * math/w_log10.c: Likewise.
40977 * math/w_log10f.c: Likewise.
40978 * math/w_log10l.c: Likewise.
40979 * math/w_log2.c: Likewise.
40980 * math/w_log2f.c: Likewise.
40981 * math/w_log2l.c: Likewise.
40982 * math/w_logf.c: Likewise.
40983 * math/w_logl.c: Likewise.
40984 * math/w_pow.c: Likewise.
40985 * math/w_powf.c: Likewise.
40986 * math/w_powl.c: Likewise.
40987 * math/w_remainder.c: Likewise.
40988 * math/w_remainderf.c: Likewise.
40989 * math/w_remainderl.c: Likewise.
40990 * math/w_scalb.c: Likewise.
40991 * math/w_scalbf.c: Likewise.
40992 * math/w_scalbl.c: Likewise.
40993 * math/w_sinh.c: Likewise.
40994 * math/w_sinhf.c: Likewise.
40995 * math/w_sinhl.c: Likewise.
40996 * math/w_sqrt.c: Likewise.
40997 * math/w_sqrtf.c: Likewise.
40998 * math/w_sqrtl.c: Likewise.
40999 * math/w_tgamma.c: Likewise.
41000 * math/w_tgammaf.c: Likewise.
41001 * math/w_tgammal.c: Likewise.
41003 * po/ja.po: Update from translation team.
41005 2011-09-29 Andreas Jaeger <aj@suse.de>
41008 * sunrpc/netname.c (netname2host): Fix logic.
41012 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41014 * math/w_remainder.c (__remainder): Likewise.
41015 * math/w_remainderf.c (__remainderf): Likewise.
41016 * math/libm-test.inc (remainder_test): Add test cases.
41018 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41020 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41023 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41025 * string/test-memcmp.c: Avoid unncessary #defines.
41026 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41028 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41030 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41031 Use new sse2 version for core i3 - i7 as it's faster
41032 than sse42 version.
41033 (bit_Prefer_PMINUB_for_stringop): New.
41034 * sysdeps/x86_64/rawmemchr.S: Update.
41035 Replace with faster SSE2 version.
41036 * sysdeps/x86_64/memrchr.S: New file.
41037 * sysdeps/x86_64/memchr.S: Update.
41038 Replace with faster SSE2 version.
41040 2011-09-12 Marek Polacek <mpolacek@redhat.com>
41042 * elf/dl-load.c (lose): Add cast to avoid warning.
41044 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41046 * po/ca.po: Update from translation team.
41048 * inet/getnetgrent_r.c: Hook up nscd.
41049 * nscd/Makefile (routines): Add nscd_netgroup.
41050 (nscd-modules): Add netgroupcache.
41051 (CFLAGS-netgroupcache.c): Define.
41052 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41053 (cache_search): Add const to second parameter.
41054 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41056 (dbs): Add netgrdb entry.
41057 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41058 (verify_persistent_db): Handle netgrdb.
41059 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41060 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41062 (netgroup_response_header): Define.
41063 (innetgroup_response_header): Define.
41064 (datahead): Add netgroup_response_header and innetgroup_response_header
41066 * nscd/nscd.conf: Add entries for netgroup cache.
41067 * nscd/nscd.h (dbtype): Add netgrdb.
41068 (_PATH_NSCD_NETGROUP_DB): Define.
41069 (netgroup_iov_disabled): Declare.
41070 (xmalloc, xcalloc, xrealloc): Move declarations here.
41071 (cache_search): Adjust prototype.
41072 Add netgroup-related prototypes.
41073 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41074 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41075 (__nscd_innetgr): Declare.
41076 * nscd/selinux.c (perms): Use access_vector_t as element type and
41077 add netgroup-related initializers.
41078 * nscd/netgroupcache.c: New file.
41079 * nscd/nscd_netgroup.c: New file.
41080 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41081 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41082 For four parameters use innetgr.
41083 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41084 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41085 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41086 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41088 * nscd/connections.c (register_traced_file): Don't register file
41089 for disabled databases.
41091 2011-10-06 Ulrich Drepper <drepper@gmail.com>
41093 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41095 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41096 from tree and freeing node.
41098 2011-09-25 Jiri Olsa <jolsa@redhat.com>
41100 * nss/nsswitch.c (__nss_database_lookup): Handle
41101 nss_parse_service_list out of memory case.
41103 2011-09-15 Jiri Olsa <jolsa@redhat.com>
41105 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41106 out of memory case.
41108 2011-10-04 Andreas Schwab <schwab@redhat.com>
41110 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41111 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41113 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41114 elf_machine_rela, elf_machine_lazy_rel.
41115 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41116 (ELF_DYNAMIC_DO_REL): Likewise.
41117 (ELF_DYNAMIC_DO_RELA): Likewise.
41118 (ELF_DYNAMIC_RELOCATE): Likewise.
41119 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41120 to ELF_DYNAMIC_DO_REL.
41121 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41122 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41123 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41125 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41126 skip_ifunc, don't call ifunc function if non-zero.
41127 (elf_machine_rela): Likewise.
41128 (elf_machine_lazy_rel): Likewise.
41129 (elf_machine_lazy_rela): Likewise.
41130 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41131 (elf_machine_lazy_rel): Likewise.
41132 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41134 (elf_machine_lazy_rel): Likewise.
41135 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41137 (elf_machine_lazy_rel): Likewise.
41138 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41139 (elf_machine_lazy_rel): Likewise.
41140 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41141 (elf_machine_lazy_rel): Likewise.
41142 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41143 (elf_machine_lazy_rel): Likewise.
41144 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41145 (elf_machine_lazy_rel): Likewise.
41146 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41147 (elf_machine_lazy_rel): Likewise.
41148 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41149 (elf_machine_lazy_rel): Likewise.
41151 2011-09-28 Ulrich Drepper <drepper@gmail.com>
41153 * nss/nss_files/files-init.c (_nss_files_init): Use static
41154 initialization for all the *_traced_file variables.
41156 2011-09-28 Andreas Schwab <schwab@redhat.com>
41158 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41160 2011-09-27 Roland McGrath <roland@hack.frob.com>
41163 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41165 2011-09-27 Andreas Schwab <schwab@redhat.com>
41167 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41168 Reread the line before reparsing it.
41170 2011-09-26 Andreas Schwab <schwab@redhat.com>
41172 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41174 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41175 Maxim Kuvyrkov <maxim@codesourcery.com>
41176 Joseph Myers <joseph@codesourcery.com>
41178 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41179 if needed for __stack_chk_guard.
41181 2011-09-19 Roland McGrath <roland@hack.frob.com>
41183 * sysdeps/posix/spawni.c (script_execute): Always define it.
41184 It will be optimized away if unused.
41185 (maybe_script_execute): New function.
41186 (__spawni): Call it.
41188 * Makerules: Don't include tls.make.
41189 (config-tls): Always set to thread.
41190 * tls.make.c: File removed.
41192 2011-09-19 Mike Frysinger <vapier@gentoo.org>
41194 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41195 * config.make.in (CPPFLAGS-config): New substituted variable.
41197 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41199 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41202 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41203 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41205 2011-09-15 Roland McGrath <roland@hack.frob.com>
41207 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41208 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41209 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41210 (CALL_FAIL): Likewise.
41211 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41212 (CALL_FAIL): Macro removed.
41213 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41215 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41217 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41218 for __FINITE_MATH_ONLY__ == 1.
41220 2011-09-15 Andreas Schwab <schwab@redhat.com>
41222 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41223 __ieee754_sqrt instead of sqrt.
41224 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41225 __ieee754_sqrtf instead of sqrtf.
41226 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41227 __floorf instead of floorf.
41228 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41229 __floorf, __truncf instead of floorf, truncf.
41231 2011-09-14 Ulrich Drepper <drepper@gmail.com>
41233 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41235 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41236 __extern_always_inline.
41237 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41240 2011-09-14 Andreas Schwab <schwab@redhat.com>
41242 * elf/rtld.c (dl_main): Also relocate in dependency order when
41243 doing symbol dependency testing.
41245 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41248 Always define `refsym'.
41250 2011-09-13 Andreas Schwab <schwab@redhat.com>
41252 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41253 (__FD_ELT): Renamed from __FDELT.
41254 * misc/bits/select2.h (__FD_ELT): Likewise.
41255 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41256 __FD_MASK instead of __FDELT, __FDMASK.
41257 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41259 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41262 * elf/Makefile (gen-ldd): Fix pattern.
41264 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41265 (init_tls): Likewise.
41267 2011-09-12 Ulrich Drepper <drepper@gmail.com>
41269 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41271 2011-09-12 Andreas Schwab <schwab@redhat.com>
41273 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41274 `struct cmsghdr *' instead of `void *'.
41275 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41278 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41280 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41282 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41283 ldd_rewrite_script.
41285 2011-09-11 Ulrich Drepper <drepper@gmail.com>
41287 * configure.in: Remove --with-tls option.
41288 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41289 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41290 out in case it is missing.
41291 * sysdeps/ia64/elf/configure.in: Likewise.
41292 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41293 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41294 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41295 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41296 * sysdeps/sh/elf/configure.in: Likewise.
41297 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41298 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41299 * sysdeps/x86_64/elf/configure.in: Likewise.
41300 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41301 * sysdeps/mach/hurd/tls.h: Likewise.
41304 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41307 * configure.in: Fix use of AC_INIT.
41309 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41311 2011-09-10 Ulrich Drepper <drepper@gmail.com>
41313 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41315 * malloc/hooks.c: Likewise.
41318 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41319 variables statically.
41320 (narenas): Initialize.
41321 (list_lock): Initialize.
41322 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41323 initializtion of main_arena and list_lock. Small cleanups.
41324 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41325 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41326 Add initializers to main_arena and mp_.
41327 (malloc_state): Remove pagesize member. Change all users to use
41330 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41331 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41332 is always initialized.
41334 * malloc/malloc.c: Removed unused configurations and dead code.
41335 * malloc/arena.c: Likewise.
41336 * malloc/hooks.c: Likewise.
41337 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41339 * include/tls.h: Removed. USE___THREAD must always be defined.
41340 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41341 * elf/dl-libc.c: Likewise.
41342 * elf/dl-tsd.c: Likewise.
41343 * include/errno.h: Likewise.
41344 * include/netdb.h: Likewise.
41345 * include/resolv.h: Likewise.
41346 * inet/herrno-loc.c: Likewise.
41347 * inet/herrno.c: Likewise.
41348 * malloc/arena.c: Likewise.
41349 * malloc/hooks.c: Likewise.
41350 * malloc/malloc.c: Likewise.
41351 * resolv/res-state.c: Likewise.
41352 * resolv/res_libc.c: Likewise.
41353 * sysdeps/i386/dl-machine.h: Likewise.
41354 * sysdeps/ia64/dl-machine.h: Likewise.
41355 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41356 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41357 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41358 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41359 * sysdeps/sh/dl-machine.h: Likewise.
41360 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41361 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41362 * sysdeps/unix/i386/sysdep.S: Likewise.
41363 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41364 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41365 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41366 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41367 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41368 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41369 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41370 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41371 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41372 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41373 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41374 * sysdeps/x86_64/dl-machine.h: Likewise.
41375 * tls.make.c: Likewise.
41377 * configure.in: Remove --with-__thread option. Make tests for
41378 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41379 tls_model attribute fail if no support is available. Remove
41381 * Makeconfig: Adjust for dropped configure option. All features are
41383 * Makerules: Likewise.
41384 * Versions.def: Likewise.
41385 * argp/argp-fmtstream.c: Likewise.
41386 * argp/argp-fmtstream.h: Likewise.
41387 * argp/argp-help.c: Likewise.
41388 * assert/assert.c: Likewise.
41389 * config.h.in: Likewise.
41390 * config.make.in: Likewise.
41391 * configure: Likewise.
41392 * configure.in: Likewise.
41393 * csu/Versions: Likewise.
41394 * csu/init.c: Likewise.
41395 * elf/tst-audit2.c: Likewise.
41396 * elf/tst-tls10.c: Likewise.
41397 * elf/tst-tls10.h: Likewise.
41398 * elf/tst-tls11.c: Likewise.
41399 * elf/tst-tls12.c: Likewise.
41400 * elf/tst-tls14.c: Likewise.
41401 * elf/tst-tlsmod11.c: Likewise.
41402 * elf/tst-tlsmod12.c: Likewise.
41403 * elf/tst-tlsmod13.c: Likewise.
41404 * elf/tst-tlsmod13a.c: Likewise.
41405 * elf/tst-tlsmod14a.c: Likewise.
41406 * elf/tst-tlsmod15b.c: Likewise.
41407 * elf/tst-tlsmod16a.c: Likewise.
41408 * elf/tst-tlsmod16b.c: Likewise.
41409 * elf/tst-tlsmod7.c: Likewise.
41410 * elf/tst-tlsmod8.c: Likewise.
41411 * elf/tst-tlsmod9.c: Likewise.
41412 * gmon/gmon.c: Likewise.
41413 * grp/fgetgrent_r.c: Likewise.
41414 * grp/putgrent.c: Likewise.
41415 * hurd/fopenport.c: Likewise.
41416 * include/libc-symbols.h: Likewise.
41417 * include/tls.h: Likewise.
41418 * intl/gettextP.h: Likewise.
41419 * intl/loadinfo.h: Likewise.
41420 * locale/global-locale.c: Likewise.
41421 * locale/localeinfo.h: Likewise.
41422 * mach/devstream.c: Likewise.
41423 * malloc/arena.c: Likewise.
41424 * malloc/set-freeres.c: Likewise.
41425 * misc/err.c: Likewise.
41426 * misc/getttyent.c: Likewise.
41427 * misc/mntent_r.c: Likewise.
41428 * posix/getopt.c: Likewise.
41429 * posix/wordexp.c: Likewise.
41430 * pwd/fgetpwent_r.c: Likewise.
41431 * resolv/Versions: Likewise.
41432 * resolv/res_hconf.c: Likewise.
41433 * shadow/fgetspent_r.c: Likewise.
41434 * shadow/putspent.c: Likewise.
41435 * stdio-common/printf_fphex.c: Likewise.
41436 * stdio-common/tmpfile.c: Likewise.
41437 * stdlib/abort.c: Likewise.
41438 * stdlib/fmtmsg.c: Likewise.
41439 * sunrpc/auth_unix.c: Likewise.
41440 * sunrpc/clnt_perr.c: Likewise.
41441 * sunrpc/clnt_tcp.c: Likewise.
41442 * sunrpc/clnt_udp.c: Likewise.
41443 * sunrpc/clnt_unix.c: Likewise.
41444 * sunrpc/openchild.c: Likewise.
41445 * sunrpc/svc_simple.c: Likewise.
41446 * sunrpc/svc_tcp.c: Likewise.
41447 * sunrpc/svc_udp.c: Likewise.
41448 * sunrpc/svc_unix.c: Likewise.
41449 * sunrpc/xdr.c: Likewise.
41450 * sunrpc/xdr_array.c: Likewise.
41451 * sunrpc/xdr_rec.c: Likewise.
41452 * sunrpc/xdr_ref.c: Likewise.
41453 * sunrpc/xdr_stdio.c: Likewise.
41455 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41457 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41459 2011-07-03 Andreas Jaeger <aj@suse.de>
41461 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41462 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41463 regenerate with gen-libm-tests.pl.
41465 2010-05-12 Petr Baudis <pasky@suse.cz>
41468 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41469 around j0() zero points by switching to j1().
41470 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41471 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41472 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41473 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41475 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41477 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41479 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41481 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41482 Patch in part by Pavel Roskin <proski@gnu.org>.
41485 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41487 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41488 Free memory block if necessary.
41491 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41492 be NULL. Don't lock in this case.
41494 2011-09-09 Roland McGrath <roland@hack.frob.com>
41496 * elf/elf.h (ELFOSABI_GNU): New macro.
41497 (ELFOSABI_LINUX): Define to that.
41499 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41501 * string/strncat.c (strncat): Undef the symbol in case it has been
41502 defined in bits/string.h.
41504 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41506 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41508 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41511 2011-08-17 Andreas Jaeger <aj@suse.de>
41513 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41515 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41516 Ian Lance Taylor <iant@google.com>
41518 * math/libm-test.inc (lround_test): New testcase.
41519 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41521 2011-09-08 Ulrich Drepper <drepper@gmail.com>
41523 * Makefile: Remove support for automatic cvs check-ins.
41524 * Makerules: Likewise.
41525 * config.make.in: Likewise.
41526 * configure.in: Likewise.
41527 * intl/Makefile: Likewise.
41528 * locale/Makefile: Likewise.
41529 * po/Makefile: Likewise.
41530 * posix/Makefile: Likewise.
41531 * sysdeps/gnu/Makefile: Likewise.
41532 * sysdeps/mach/hurd/Makefile: Likewise.
41533 * sysdeps/sparc/sparc32/Makefile: Likewise.
41536 * posix/Makefile (bug-regex32-ENV): Define.
41537 Patch by John Stanley <jpsinthemix@verizon.net>.
41539 * misc/Makefile (headers): Add bits/select2.h.
41540 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41541 * misc/bits/select2.h: New file.
41542 * include/bits/select2.h: New file.
41543 * debug/Makefile (routines): Add fdelt_chk.
41544 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41545 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41547 * debug/fdelt_chk.c: New file.
41549 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41550 * wcsmbs/test-wmemcmp.c: Likewise.
41551 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
41552 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
41554 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41556 * string/Makefile (strop-tests): Add memcmp.
41557 * string/test-wmemcmp.c: New file.
41558 * string/test-memcmp.c: Add wmemcmp support.
41560 2011-09-08 Roland McGrath <roland@hack.frob.com>
41563 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41566 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41567 garbage value in a __mach_port_mod_refs call in the cases of the
41568 task-self and thread-self ports.
41570 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41572 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41574 2011-09-08 Andreas Schwab <schwab@redhat.com>
41576 * elf/dl-load.c (lose): Check for non-null L.
41578 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41580 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41582 * elf/dl-libc.c (dlerror_run): Pass back error code from
41586 * elf/dl-load.c (lose): Free l_origin if it is valid.
41588 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41590 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41591 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41592 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41593 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41594 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41595 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41597 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41599 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41600 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41601 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41602 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41603 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41604 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41605 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41606 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41607 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41608 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41610 2011-08-15 Alan Modra <amodra@gmail.com>
41613 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41614 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41615 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41616 ppc_mcount to static-only-routines.
41617 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41619 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41620 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41622 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41624 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41625 for finite and infinity parameters.
41627 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41629 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41630 and add nop instructions for throughput optimization.
41631 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41633 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41635 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41636 aligned copy for power7 with vector-scalar instructions.
41637 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41639 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41641 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41644 2011-09-07 Andreas Schwab <schwab@redhat.com>
41647 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41650 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41652 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41653 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41654 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41655 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41658 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41660 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41661 Forgot to demangle the pointer.
41663 * sysdeps/i386/sysdep.h: Define atom_text_section.
41664 * sysdeps/x86_64/sysdep.h: Likewise.
41665 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41666 section with atom_text_section.
41667 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41668 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41669 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41670 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41671 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41673 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41674 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41675 already be defined. Change to take two parameters and don't assign
41676 result to variable. Adjust all users.
41677 Define INTERNAL_GETTIME if not already defined.
41678 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41680 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41681 HAVE_CLOCK_GETTIME_VSYSCALL.
41682 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41684 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41685 gettimeofday vsyscall, just use time.
41687 2011-09-06 Andreas Schwab <schwab@redhat.com>
41689 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41692 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41694 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41698 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41699 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41700 syscall if possible.
41702 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41704 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41705 e_ident. Don't pass to find_mapsXX.
41706 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41708 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41711 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41712 * sysdeps/x86_64/multiarch/strchr.S: Update.
41713 Check bit_slow_BSF bit.
41714 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41715 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41716 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41718 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41721 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41723 (tryshell): Define.
41724 (__spawni): Change last parameter to be flag. Test
41725 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41726 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41727 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41728 * posix/spawni.c: Likewise.
41729 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41730 * posix/spawnp.c: Likewise. Change normal version to use
41731 SPAWN_XFLAGS_USE_PATH.
41732 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41733 SPAWN_XFLAGS_TRY_SHELL.
41736 * posix/glob.h: Remove gcc 1.x support.
41739 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41741 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41744 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41746 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41747 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41748 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41749 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41750 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41751 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41753 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41755 * sysdeps/x86_64/wcscmp.S: New file.
41757 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41758 wcscmp-c wcscmp-sse2
41759 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41760 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41761 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41762 * wcsmbs/wcscmp.c: Allow renaming.
41764 2011-09-05 David S. Miller <davem@davemloft.net>
41766 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41767 stack slot, rather than the struct return pointer slot.
41768 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41769 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41771 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41773 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41775 * po/ja.po: Update from translation team.
41778 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41779 kernel in 64-bit binaries.
41781 2011-09-01 David S. Miller <davem@davemloft.net>
41783 * elf/elf.h (HWCAP_SPARC_*): Move to..
41784 * sysdeps/sparc/sysdep.h: this new file and add new values.
41785 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41786 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41787 _DL_HWCAP_COUNT to 24.
41788 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41790 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41791 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41792 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41793 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41794 instead of magic constants.
41795 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41797 2011-08-31 David S. Miller <davem@davemloft.net>
41799 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41800 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41801 Reimplement to do errno handling inline.
41802 (SYSCALL_ERROR_HANDLER): New macro.
41803 (__SYSCALL_STRING): Do not do errno handling in asm.
41804 (__CLONE_SYSCALL_STRING): Delete.
41805 (__INTERNAL_SYSCALL_STRING): Delete.
41806 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41807 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41808 (PSEUDO): Reimplement to do errno handling inline.
41809 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41810 (SYSCALL_ERROR_HANDLER): New macro.
41811 (__SYSCALL_STRING): Do not do errno handling in asm.
41812 (__CLONE_SYSCALL_STRING): Delete.
41813 (__INTERNAL_SYSCALL_STRING): Delete.
41814 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41815 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41817 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41818 (inline_syscall*): Add 'err' argument.
41819 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41820 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41821 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41822 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41824 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41825 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41827 2011-08-30 Andreas Schwab <schwab@redhat.com>
41829 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41831 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41833 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41836 2011-08-24 David S. Miller <davem@davemloft.net>
41838 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41840 2011-08-24 Andreas Schwab <schwab@redhat.com>
41842 * elf/Makefile: Add rules to build and run unload8 test.
41843 * elf/unload8.c: New file.
41844 * elf/unload8mod1.c: New file.
41845 * elf/unload8mod1x.c: New file.
41846 * elf/unload8mod2.c: New file.
41847 * elf/unload8mod3.c: New file.
41849 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41852 2011-08-23 David S. Miller <davem@davemloft.net>
41854 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41855 subtract stack bias.
41856 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41857 %sp not %fp in calculations.
41858 (_JMPBUF_UNWINDS_ADJ): Likewise.
41860 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41861 (aio_suspend): Call it to force an exception region around the
41862 AIO_MISC_WAIT() invocation.
41864 2011-08-23 Andreas Schwab <schwab@redhat.com>
41866 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41869 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41871 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41873 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41874 and <dl-machine.h>.
41875 (Elf64_FuncDesc): Remove.
41877 2011-08-22 David S. Miller <davem@davemloft.net>
41879 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41880 sigaltstack check, add missing cfi directives.
41881 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41882 missing cfi directives, and sigaltstack handling.
41884 2011-08-16 Andreas Schwab <schwab@redhat.com>
41887 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41888 object is seen twice.
41889 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41891 * elf/Makefile (distribute): Add tst-initorder2.c.
41892 (tests): Add tst-initorder2.
41893 (modules-names): Add tst-initorder2a tst-initorder2b
41894 tst-initorder2c tst-initorder2d. Add rules to build them.
41895 ($(objpfx)tst-initorder2.out): New rule.
41896 * elf/tst-initorder2.c: New file.
41897 * elf/tst-initorder2.exp: New file.
41899 2011-08-22 Andreas Schwab <schwab@redhat.com>
41901 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41903 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41904 dependencies back to end of function.
41906 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41907 $(elfobjdir)/ld.so.
41909 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41911 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41912 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41913 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41914 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41915 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41916 of __vdso_gettimeofday.
41917 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41918 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41920 (_libc_vdso_platform_setup): Remove initialization of
41921 __vdso_gettimeofday and __vdso_time.
41923 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41925 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41926 and fgetc_unlocked.
41927 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41930 * elf/dl-open.c (add_to_global): Report additions to the global scope
41931 for LD_DEBUG=scopes.
41932 (dl_open_worker): Also print scope of newly loaded dependencies.
41933 (_dl_show_scope): Indicate if there is no scope.
41936 * stdio-common/Makefile (tests): Add bug24.
41937 * stdio-common/bug24.c: New file.
41939 2011-08-19 Andreas Jaeger <aj@suse.de>
41942 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41943 non-existant file when using close-on-exec mode.
41945 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41948 the very first instruction.
41950 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41951 the CFI state in the end.
41952 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41953 inclusion of dl-trampoline.h.
41954 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41956 2011-08-19 Andreas Schwab <schwab@redhat.com>
41958 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41959 expectations for long double.
41961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41962 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41964 2011-08-14 David S. Miller <davem@davemloft.net>
41966 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41967 artificual limit depends upon the system page size.
41969 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41971 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41972 * resolv/Makefile: Define CFLAGS-libresolv.
41974 2011-08-17 Andreas Schwab <schwab@redhat.com>
41976 * nss/makedb.c (compute_tables): Make variables used in nested
41979 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41981 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41982 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41983 if buffer was too small.
41985 * elf/pldd.c (main): Attach to all threads in the process.
41986 Rewrite /proc handling to use *at functions.
41988 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41990 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41991 specifies first scope to show.
41992 (dl_open_worker): Update callers. Move printing scope of new
41993 object to before the relocation.
41994 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41995 * sysdeps/generic/ldsodefs.h: Update declaration.
41997 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41998 string for the scope number.
42000 2011-08-14 Ulrich Drepper <drepper@gmail.com>
42002 * nscd/servicescache.c (cache_addserv): Make sure written is always
42005 2011-08-14 Roland McGrath <roland@hack.frob.com>
42007 * sysdeps/i386/i486/bits/atomic.h
42008 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42009 statement expression, so as to suppress "set but not used" warning.
42010 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42012 * string/strncat.c (STRNCAT): Use prototype definition.
42014 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42015 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42017 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42018 (localedef-modules): Add localedef.
42019 (locale-modules): Add locale.
42021 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42022 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42023 to avoid a warning.
42025 2011-08-14 David S. Miller <davem@davemloft.net>
42027 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42028 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42030 2011-08-13 Ulrich Drepper <drepper@gmail.com>
42032 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42033 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42034 * elf/rtld.c (dl_main): Set l_name of vDSO.
42035 Call _dl_show_scope when DL_DEBUG_SCOPES.
42036 (process_dl_debug): Recognize scopes flag and also set it for all.
42037 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42038 Declare _dl_show_scope.
42040 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42041 (do_dlopen): Pass caller_dlopen to dl_open.
42042 (__libc_dlopen_mode): Initialize caller_dlopen.
42044 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42045 of libc. Make tolower call locale-independent. Optimize a bit by
42046 using isdigit instead of isalnum.
42047 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42049 2011-08-12 Ulrich Drepper <drepper@gmail.com>
42051 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42052 was a dependency or dynamically loaded.
42054 2011-08-11 Ulrich Drepper <drepper@gmail.com>
42056 * intl/l10nflist.c: Allow architecture-specific pop function.
42057 * sysdeps/x86_64/l10nflist.c: New file.
42059 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42062 2011-08-10 Andreas Schwab <schwab@redhat.com>
42064 * include/dirent.h: Add libc_hidden_proto for scandirat and
42065 scandirat64. Don't declare __scandirat64.
42066 * dirent/scandirat.c: Add libc_hidden_def.
42067 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42068 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42070 2011-08-10 David S. Miller <davem@davemloft.net>
42072 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42074 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42075 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42076 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42078 2011-08-09 Ulrich Drepper <drepper@gmail.com>
42080 * Versions.def [libc]: Add GLIBC_2.15.
42081 * dirent/Makefile (routines): Add scandirat and scandirat64.
42082 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42084 * dirent/dirent.h: Declare scandirat and scandirat64.
42085 * dirent/scandirat.c: New file.
42086 * dirent/scandirat64.c: New file.
42087 * sysdeps/wordsize-64/scandirat.c: New file.
42088 * sysdeps/wordsize-64/scandirat64.c: New file.
42089 * dirent/opendir.c: Define opendirat.
42090 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42092 * dirent/scandir64.c: Adjust for scandir.c change.
42093 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42094 __scandirat64, and __scandir_cancel_handler.
42095 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42096 additional parameter and use openat instead of open (outside of ld.so).
42097 Add new __opendir as wrapper around __opendirat.
42098 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42099 here without requiring old scandirat implementation.
42101 2011-08-08 Ulrich Drepper <drepper@gmail.com>
42103 * dirent/scandir.c (cancel_handler): Renamed to
42104 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42105 defined. Adjust users.
42106 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42107 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42109 2011-08-04 Ulrich Drepper <drepper@gmail.com>
42111 * string/test-string.h (IMPL): Use __STRING to expand name and then
42114 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42117 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42119 * string/Makefile: Update.
42120 (strop-tests): Append strncat.
42121 * string/test-wcscmp.c: New file.
42122 New comprehensive test for wcscmp.
42123 * string/test-strcmp.c: Update.
42124 (WIDE): New define.
42126 2011-07-22 Andreas Schwab <schwab@redhat.com>
42128 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42131 2011-07-26 Andreas Schwab <schwab@redhat.com>
42133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42134 encoding to ACE if AI_IDN.
42136 2011-08-01 Jakub Jelinek <jakub@redhat.com>
42138 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42139 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42141 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42143 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42144 Fix overflow bug in strncat.
42145 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42147 * string/test-strncat.c: Update.
42148 Add new tests for checking overflow bugs.
42150 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42153 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42154 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42155 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42156 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42157 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42158 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42159 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42160 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42162 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42163 (USE_AS_STRCAT): Define.
42164 Add strcat and strncat support.
42165 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42167 2011-07-25 Andreas Schwab <schwab@redhat.com>
42169 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42170 __n bigger than INT_MAX+1.
42171 (__strncmp_g): Likewise.
42173 2011-07-23 Ulrich Drepper <drepper@gmail.com>
42175 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42176 * libio/stido.h: Likewise.
42178 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42183 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42184 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42185 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42186 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42187 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42190 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42195 (_dl_x86_64_save_sse): Likewise.
42197 2011-07-22 Ulrich Drepper <drepper@gmail.com>
42199 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42201 (_dl_x86_64_save_sse): Likewise.
42203 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42205 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42207 2011-07-21 Andreas Schwab <schwab@redhat.com>
42209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42211 (_dl_x86_64_save_sse): Use correct AVX check.
42213 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42216 bug in strncpy/strncat.
42217 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42219 2011-07-21 Ulrich Drepper <drepper@gmail.com>
42221 * string/tester.c (test_strcat): Add tests for different alignments
42222 of source and destination.
42223 (test_strncat): Likewise.
42225 2011-07-20 Ulrich Drepper <drepper@gmail.com>
42228 * posix/glob.c (glob): Check passed in values before using them in
42229 expressions to avoid some overflows.
42230 (glob_in_dir): Likewise.
42233 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42234 check for AVX enablement so that we don't crash with old kernels and
42236 * elf/tst-audit4.c: Add same checks here.
42237 * elf/tst-audit6.c: Likewise.
42239 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42241 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42243 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42245 2011-07-20 Ulrich Drepper <drepper@gmail.com>
42247 * po/cs.po: Update from translation team.
42248 * po/bg.po: Likewise.
42250 2011-07-12 Marek Polacek <mpolacek@redhat.com>
42252 * misc/sys/cdefs.h: Add support for const attribute.
42253 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42254 to gnu_dev_{major,minor,makedev} functions.
42256 2011-07-20 Marek Polacek <mpolacek@redhat.com>
42258 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42260 2011-07-20 Andreas Schwab <schwab@redhat.com>
42262 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42265 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42267 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42268 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42269 register in order to avoid conflicts with the soft frame pointer
42270 being held in r11 when necessary.
42271 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42272 (INTERNAL_VSYSCALL_NCS): Likewise.
42274 2011-07-14 Marek Polacek <mpolacek@redhat.com>
42276 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42277 * elf/dl-fini.c (_dl_fini): Adjust caller.
42278 * elf/dl-close.c (_dl_close_worker): Likewise.
42279 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42281 2011-07-15 Marek Polacek <mpolacek@redhat.com>
42283 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42284 "aux_cache->nlibs < 0".
42286 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42287 in the reload-count case.
42289 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42292 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42293 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42294 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42295 * sysdeps/x86_64/multiarch/strcat.S: New file.
42296 * sysdeps/x86_64/multiarch/strncat.S: New file.
42297 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42298 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42299 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42300 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42301 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42302 (USE_AS_STRCAT): Define.
42303 Add strcat and strncat support.
42304 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42305 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42306 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42307 * string/strncat.c: Update.
42308 (USE_AS_STRNCAT): Define.
42309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42310 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42312 * sysdeps/x86_64/multiarch/init-arch.h
42313 (bit_Prefer_PMINUB_for_stringop): New.
42314 (index_Prefer_PMINUB_for_stringop): Likewise.
42315 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42316 bit_Prefer_PMINUB_for_stringop.
42318 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42320 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42322 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42323 of casting of buffer.
42324 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42325 buffer32 and buffer64.
42326 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42327 writes instead of casting of buffer.
42328 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42330 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42333 2011-07-19 Andreas Schwab <schwab@redhat.com>
42335 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42337 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42339 * nscd/nscd.c (termination_handler): Don't do anything for a database
42340 if it has not yet been initialized.
42342 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42344 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42346 2011-07-15 Marek Polacek <mpolacek@redhat.com>
42348 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42350 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42352 * po/nl.po: Update from translation team.
42353 * po/sv.po: Likewise.
42355 2011-07-16 Roland McGrath <roland@hack.frob.com>
42357 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42358 now disallowed by GCC.
42360 * configure.in (use-default-link): Default to yes if a test -shared
42361 link meets our qualifications.
42362 * configure: Regenerated.
42364 * config.make.in (output-format): New variable.
42365 * configure.in: Check for ld --print-output-format support.
42366 * configure: Regenerated.
42367 * Makerules ($(common-objpfx)format.lds)
42368 [$(output-format) != unknown]: Just use $(output-format),
42369 instead of the linker-script munging.
42371 2011-07-14 Roland McGrath <roland@hack.frob.com>
42373 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42374 of $(common-objpfx)shlib.lds.
42375 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42377 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42378 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42380 * configure.in (-z relro check): Adjust test code to add a large
42381 writable data section after it.
42382 * configure: Regenerated.
42384 2011-07-11 Roland McGrath <roland@hack.frob.com>
42386 * configure.in (-z relro check): Fix test code to make the variable
42388 * configure: Regenerated.
42390 2011-07-11 Ulrich Drepper <drepper@gmail.com>
42392 * nscd/nscd.h (struct traced_file): Define.
42393 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42394 elements. Add traced_files.
42395 (inotify_fd): Declare.
42396 (register_traced_file): Declare.
42397 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42398 (inotify_fd): Export.
42399 (resolv_conf_descr): Remove.
42400 (nscd_init): Move inotify descriptor creation to main.
42401 Don't register files for notification here.
42402 (register_traced_file): New function.
42403 (invalidate_cache): Don't use reset_res to determine whether to call
42404 res_init, go through the list of registered files.
42405 (main_loop_poll): The inotify descriptors are now stored in the
42406 structures for the traced files.
42407 (main_loop_epoll): Likewise
42408 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42409 to __nss_disable_nscd.
42410 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42411 for a database anymore. Check the records for all the registered
42413 * nss/Makefile (libnss_files-routines): Add files-init.
42414 (libnss_db-routines): Add db-init.
42415 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42416 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42417 * nss/nss_db/db-init.c: New file.
42418 * nss/nss_files/files-init.c: New file.
42419 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42420 __nss_lookup_function.
42421 (__nss_lookup_function): Call nss_load_library.
42422 (nss_load_all_libraries): New function.
42423 (__nss_disable_nscd): Take parameter with callback function for files
42424 to register. Set is_nscd. Load all the DSOs for the NSS modules
42425 used for the cached services.
42426 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42427 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42428 options for features to all the files in nscd.
42430 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42432 2011-07-10 Roland McGrath <roland@hack.frob.com>
42434 * csu/elf-init.c (__libc_csu_init): Comment typo.
42436 2011-07-09 Ulrich Drepper <drepper@gmail.com>
42438 * po/pl.po: Update from translation team.
42439 * po/ja.po: Likewise.
42440 * po/ru.po: Likewise.
42441 * po/ko.po: Likewise.
42442 * po/fr.po: Likewise.
42444 2011-07-09 Roland McGrath <roland@hack.frob.com>
42446 * configure.in (.ctors/.dtors header and trailer check):
42447 Use an empirical test on a built program.
42448 * configure: Regenerated.
42450 * configure.in (-z relro check): Use an empirical test on a built DSO.
42451 Detect, but do not require, on ia64.
42452 * configure: Regenerated.
42454 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42455 Update tests that use readelf to use $READELF instead.
42456 * configure: Regenerated.
42458 2011-07-08 Ulrich Drepper <drepper@gmail.com>
42460 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42461 if the result is not used.
42463 2011-07-05 Andreas Jaeger <aj@suse.de>
42466 * stdlib/tst-strtod.c: Add testcase.
42468 2011-07-07 Ulrich Drepper <drepper@gmail.com>
42470 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42471 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42472 The latter has a higher limit. Take additional parameter to pass to
42474 (__pathconf): Pass file to __statfs_link_max.
42475 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42477 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42481 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42482 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42484 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42485 (__statfs_filesize_max): Likewise.
42486 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42488 2011-07-05 Andreas Jaeger <aj@suse.de>
42490 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42492 2011-07-06 Marek Polacek <mpolacek@redhat.com>
42494 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42496 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42499 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42501 * Makefile (strop-tests): Add strncat.
42502 * string/test-strncat.c: New file.
42504 2011-06-30 Marek Polacek <mpolacek@redhat.com>
42506 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42508 2011-06-21 Andreas Jaeger <aj@suse.de>
42510 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42511 Copy rule from iconvdata/Makefile.
42513 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42516 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42517 but no long options are defined, just return 'W'.
42519 2011-06-22 Marek Polacek <mpolacek@redhat.com>
42522 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42524 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42526 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42528 (innetgr): Likewise.
42530 2011-07-05 Roland McGrath <roland@hack.frob.com>
42532 * config.make.in (install_root): Default to $(DESTDIR).
42534 2011-07-05 Ulrich Drepper <drepper@gmail.com>
42536 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42538 2011-07-02 Roland McGrath <roland@hack.frob.com>
42540 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42542 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42543 containing directory rather than embedding absolute directory names.
42545 * scripts/check-local-headers.sh: Rewritten using awk.
42546 Match by word, not by line. Print error messages for matches.
42547 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42549 * Makerules [shlib-lds-flags empty]:
42550 ($(common-objpfx)libc_pic.opts): New target.
42551 ($(common-objpfx)libc_pic.os.clean): New target.
42552 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42554 * config.make.in (OBJCOPY): New variable.
42555 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42556 * configure: Regenerated.
42558 * config.make.in (use-default-link): New variable.
42559 * configure.in (use_default_link): Grok --with-default-link to set it.
42560 * configure: Regenerated.
42561 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42562 (shlib-lds, shlib-lds-flags): Define to empty.
42564 * Makerules (shlib-lds): New variable.
42565 (shlib-lds-flags): New variable.
42566 (build-shlib, build-moduile, build-module-asneeded): Use it.
42567 ($(common-objpfx)libc.so): Use $(shlib-lds).
42568 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42569 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42571 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42572 DT_FLAGS/DT_FLAGS_1 with zero flags.
42574 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42575 linker script munging.
42577 2011-07-02 Ulrich Drepper <drepper@gmail.com>
42579 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42581 * crypt/sha512.c (sha512_process_block): Perform total addition using
42582 128-bit if possible.
42583 (__sha512_finish_ctx): Likewise.
42584 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42586 * crypt/sha256.c (SWAP64): Define.
42587 (sha256_process_block): Perform total addition using 64-bit if
42589 (__sha256_finish_ctx): Likewise.
42591 2011-07-01 Ulrich Drepper <drepper@gmail.com>
42593 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42594 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42595 * nscd/hstcache.c (cache_addhst): Likewise.
42596 * nscd/grpcache.c (cache_addgr): Likewise.
42597 * nscd/aicache.c (addhstaiX): Likewise
42598 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42600 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
42602 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42603 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42604 * nscd/hstcache.c (cache_addhst): Likewise.
42605 * nscd/grpcache.c (cache_addgr): Likewise.
42606 * nscd/aicache.c (addhstaiX): Likewise
42608 2011-07-01 Andreas Schwab <schwab@redhat.com>
42610 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42611 domain only when needed.
42613 2011-06-30 Andreas Schwab <schwab@redhat.com>
42615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42616 is always restored.
42618 2011-06-29 Ulrich Drepper <drepper@gmail.com>
42620 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42621 are re-adding the entry.
42622 * nscd/servicescache.c (cache_addserv): Likewise.
42624 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42626 * sysdeps/generic/dl-irel.h: fix protection against multiple
42628 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42630 2011-06-28 Ulrich Drepper <drepper@gmail.com>
42633 * malloc/memusage.sh: Fix quoting in message.
42634 * debug/xtrace.sh: Likewise.
42636 * configure.in: Remove support for --experimental-malloc option, make
42638 * config.make.in: Likewise.
42639 * malloc/Makefile: Likewise.
42641 2011-06-27 Andreas Schwab <schwab@redhat.com>
42643 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42644 two-byte characters.
42646 2011-06-27 Roland McGrath <roland@hack.frob.com>
42648 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42649 AC_CACHE_CHECK invocation.
42650 * configure: Regenerated.
42652 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42654 2011-06-27 Ulrich Drepper <drepper@gmail.com>
42657 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42658 bit from old_res_options.
42660 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42662 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42663 value type for setfct.
42665 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42667 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42668 __gettimeofday instead of gettimeofday.
42670 2011-06-26 Ulrich Drepper <drepper@gmail.com>
42672 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42674 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42676 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42678 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42681 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42684 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42685 strcpy-sse2-unaligned strncpy-sse2-unaligned
42686 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42687 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42688 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42689 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42690 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42692 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42693 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42694 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42695 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42696 (STRCPY): Support SSE2 and SSSE3 versions.
42698 2011-06-24 Ulrich Drepper <drepper@gmail.com>
42701 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42702 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42703 kernels which artificially limit size of requests.
42705 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42708 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42709 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42710 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42711 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42712 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42713 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42714 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42715 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42716 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42717 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42718 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42719 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42720 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42721 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42723 Enable unaligned load optimization for Intel Core i3, i5 and i7
42725 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42727 (index_Fast_Unaligned_Load): Define.
42728 (HAS_FAST_UNALIGNED_LOAD): Define.
42730 2011-06-23 Marek Polacek <mpolacek@redhat.com>
42732 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42734 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42737 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42738 until it is clear that the information is realy needed.
42739 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42741 2011-06-22 Andreas Schwab <schwab@redhat.com>
42743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42745 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42747 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42748 /sys/devices/system/cpu/online if it is usable.
42750 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42751 reading the information from the /proc filesystem to once a second.
42753 2011-06-21 Andreas Jaeger <aj@suse.de>
42755 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42756 NULL after inclusion of kernel headers.
42758 2011-06-21 Ulrich Drepper <drepper@gmail.com>
42760 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42761 calls to internal_setent.
42764 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42765 addresses using gethostbyname4_r ignore IPv4 addresses.
42767 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42768 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42770 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42772 2011-06-20 David S. Miller <davem@davemloft.net>
42774 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42776 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42778 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42779 (elf_irel): Use it.
42780 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42781 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42782 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42783 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42784 * sysdeps/x86_64/dl-irel.h: Likewise.
42786 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42787 * elf/dl-sym.c: Likewise.
42789 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42791 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42792 need to dereference resplen2.
42794 2011-06-14 Andreas Schwab <schwab@redhat.com>
42796 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42798 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42800 * Makeconfig: Define vardbdir and inst_vardbdir.
42801 * nss/Makefile: Add rules to install db-Makefile.
42803 * nss/nss_db/db-XXX.c: Cleanup.
42805 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42806 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42808 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42809 * nss/makedb.c: Implement -g option to specify that value strings
42810 are generated and should not be added to table iterated over for
42812 * nss/nss_db/db-initgroups.c: New file.
42814 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42817 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42818 (internal_getgrouplist): Adjust to name change.
42819 Update use_initgroups_entry if this is not the first call.
42820 * nss/databases.def: Add initgroups entry.
42822 * nss/makedb.c (compute_tables): Check result of multiple hash table
42823 sizes to minimize maximum chain length.
42825 2011-06-14 Ulrich Drepper <drepper@gmail.com>
42827 * Versions.def: Add entry for libnss_db.
42828 * shlib-versions: Likewise.
42829 * nss/Makefile: Add rules to build libnss_db.
42830 * nss/Versions: Add libnss_db information. Organize libnss_files
42832 * nss/db-Makefile: Add gshadow support. Change rules for the new
42833 makedb progra. Some minor improvements to generate smaller files.
42834 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42836 * nss/makedb.c: ...here.
42837 Improve database format to be smaller and require less memory at
42839 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42841 * nss/nss_db/db-netgrp.c: Likewise.
42842 * nss/nss_db/db-open.c: Likewise.
42843 * nss/nss_files/flies-XXX.x: Adjust comments.
42844 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42845 * nss/nss_files/files-grp.c: Likewise.
42846 * nss/nss_files/files-hosts.c: Likewise.
42847 * nss/nss_files/files-network.c: Likewise.
42848 * nss/nss_files/files-proto.c: Likewise.
42849 * nss/nss_files/files-pwd.c: Likewise.
42850 * nss/nss_files/files-rpc.c: Likewise.
42851 * nss/nss_files/files-service.c: Likewise.
42852 * nss/nss_files/files-sgrp.c: Likewise.
42853 * nss/nss_files/files-spwd.c: Likewise.
42854 * nss/nss_db/db-alias.c: Removed.
42855 * nss/nss_db/dummy-db.h: Removed.
42857 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42859 * nss/makedb.c: Rewritten to not use database library.
42860 * nss/Makefile: Update to build new makedb program.
42862 2011-06-14 Andreas Jaeger <aj@suse.de>
42864 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42865 memset declaration.
42867 2011-06-10 Andreas Schwab <schwab@redhat.com>
42869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42872 2011-06-10 Roland McGrath <roland@hack.frob.com>
42874 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42875 * elf/Makefile ($(objpfx)ld.so): Likewise.
42877 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42878 Don't list ld.so twice in dependencies.
42880 * posix/bug-regex31.c: Include <stdlib.h>.
42882 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42884 * nis/nss_compat/compat-spwd.c
42885 (getspent_next_nss_netgr): Remove unused variable.
42886 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42888 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42889 nonmembers" output to use the right array.
42891 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42893 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42895 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42896 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42897 * catgets/gencat.c (read_input_file): Likewise.
42898 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42900 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42901 variable definition inside #if's controlling its use.
42903 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42905 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42907 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42909 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42912 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42914 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42915 * configure: Regenerated.
42917 * Makerules: Revert last change.
42918 * elf/Makefile: Likewise.
42920 2011-06-09 Roland McGrath <roland@hack.frob.com>
42922 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42923 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42924 (reloc-link): Likewise.
42926 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42928 * elf/Makefile: Add rules to build pldd.
42929 * elf/pldd.c: New file.
42930 * elf/pldd-xx.c: New file.
42932 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42934 * version.h: Update for 2.15 development version.
42936 2011-06-07 David S. Miller <davem@davemloft.net>
42938 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42940 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42941 elf_machine_lazy_rel): Likewise.
42942 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42943 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42944 elf_machine_lazy_rel): Likewise.
42945 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42946 dl_hwcap via passed in argument.
42947 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42950 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42952 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42954 2011-06-06 Roland McGrath <roland@hack.frob.com>
42957 * manual/fdl-1.1.texi: New file, verbatim from:
42958 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42959 * manual/lgpl-2.1.texi: New file, verbatim from:
42960 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42961 * manual/Makefile (licenses): New variable, list those new file names.
42963 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42965 * manual/fdl.texi: File removed.
42966 * manual/lesser.texi: File removed.
42967 * manual/libc.texinfo (Copying, Documentation License):
42968 Use new @include file names, put @appendix directive before @include.
42970 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42973 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42974 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42975 (mq_open): Add __NTH.
42977 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42980 Assume Intel Core i3/i5/i7 processor if AVX is available.
42982 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42984 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42987 2011-05-31 Andreas Schwab <schwab@redhat.com>
42989 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42990 memory. Use alloca_account. Fix memory leak when retrying.
42992 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42994 * version.h (RELEASE): Bump for 2.14 release.
42995 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42997 * config.make.in (RANLIB): Remove entry.
42999 2011-05-30 Ulrich Drepper <drepper@gmail.com>
43001 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43002 (libc.pot): Work around missing support for .ksh extension in xgettext.
43005 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43006 if both request failed.
43007 (send_dg): In case of server errors clear resplen or *resplen2.
43010 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43011 when there are multiple maps.
43012 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43013 (_dl_fini): Remove test here.
43015 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43017 2011-05-29 Ulrich Drepper <drepper@gmail.com>
43020 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43021 bit from old_res_options.
43022 (gaih_inet): Likewise.
43025 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43028 * resolv/res_init.c (res_setoptions): Make the code more compact.
43031 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43035 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43037 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43040 * malloc/malloc.h: Declare malloc hook variables as volatile.
43042 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43046 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43047 raise in the comment.
43048 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43049 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43050 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43052 2011-05-28 Ulrich Drepper <drepper@gmail.com>
43055 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43056 grow the buffers more if it already has to be sufficient.
43057 (build_wcs_upper_buffer): Likewise.
43058 * posix/regexec.c (check_matching): Likewise.
43059 (clean_state_log_if_needed): Likewise.
43060 (extend_buffers): Don't enlarge buffers beyond size of the input
43062 Patches mostly by Emil Wojak <emil@wojak.eu>.
43063 * posix/bug-regex32.c: New file.
43064 * posix/Makefile (tests): Add bug-regex32.
43066 * locale/findlocale.c (_nl_find_locale): Return right away if
43067 _nl_explode_name failed.
43068 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43070 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43072 * debug/xtrace.sh: Unify messages.
43073 * malloc/memusage.sh: Likewise.
43076 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43077 time symbol from vDSO. Substitute with vsyscall if not available.
43078 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43081 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43082 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43083 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43084 Add sendmmsg and internal_sendmmsg.
43085 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43086 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43087 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43089 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43090 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43091 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43093 2011-05-27 Ulrich Drepper <drepper@gmail.com>
43096 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43097 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43099 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43103 * iconvdata/Makefile (tests): Add bug-iconv9.
43104 * iconvdata/bug-iconv9.c: New file.
43106 2011-05-27 Andreas Schwab <schwab@redhat.com>
43109 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43111 2011-05-25 Jakub Jelinek <jakub@redhat.com>
43113 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43114 (struct user_regs_struct): Change intcs field back to cs.
43116 2011-05-25 Ulrich Drepper <drepper@gmail.com>
43118 * po/ja.po: Update from translation team.
43120 2011-05-23 Ulrich Drepper <drepper@gmail.com>
43123 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43124 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43126 2011-05-20 Andreas Schwab <schwab@redhat.com>
43128 * stdlib/longlong.h: Update from GCC.
43130 2011-05-23 Andreas Schwab <schwab@redhat.com>
43132 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43134 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43135 Add parameter name.
43136 (__sysconf): Pass it down.
43138 2011-05-22 Ulrich Drepper <drepper@gmail.com>
43141 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43143 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43144 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43145 add in in __libc_use_alloca calls. Adjust callers.
43146 (glob): Use malloc in some situations.
43148 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43149 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43152 2011-05-21 Ulrich Drepper <drepper@gmail.com>
43154 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43155 and CLOCK_BOOTTIME_ALARM.
43158 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43161 * string/_strerror.c (__strerror_r): Print negative errors as signed
43165 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43166 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43167 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43169 * configure.in: Fix typo in redirection and correct removal of test
43170 files in two cases.
43173 * locale/setlocale.c (new_composite_name): Fix test to check for
43174 identical name of all categories.
43177 * libio/filedoalloc.c (local_isatty): New function.
43178 (_IO_file_doallocate): Use local_isatty.
43179 * stdio-common/perror.c (perror): In case a new stream is used
43180 forward the stream error.
43181 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43184 2011-05-20 Ulrich Drepper <drepper@gmail.com>
43187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43189 * include/alloca.h (extend_alloca_account): Define.
43192 * posix/regex.h: Fix comments with documentation of user-accessible
43193 fields after compilation and describe correct free'ing of pattern
43194 after re_compile_pattern.
43195 Patch by Reuben Thomas <rrt@sc3d.org>.
43197 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43199 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43200 and -mno-altivec to prevent the compiler from using Altivec and/or
43201 VSX instructions when the corresponding registers are not available.
43203 2011-05-19 Andreas Schwab <schwab@redhat.com>
43205 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43207 2011-05-19 Ulrich Drepper <drepper@gmail.com>
43209 * libio/freopen.c (freopen): Use __dup2, not dup2.
43210 * libio/freopen64.c (freopen64): Likewise.
43212 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43215 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43216 * math/Makefile (tests): Add test-powl.
43217 (CFLAGS-test-powl.c): Define.
43218 * math/test-powl.c: New file.
43220 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43222 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43224 2011-05-17 Ulrich Drepper <drepper@gmail.com>
43227 * iconvdata/gb18030.c: Update to GB18020-2005.
43229 2011-05-16 Ulrich Drepper <drepper@gmail.com>
43231 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43232 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43233 Patch by Aharon Robbins <arnold@skeeve.com>.
43236 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43240 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43241 through underflows.
43244 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43245 point to strings before performing equality test for error_one_per_line
43249 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43252 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43253 (struct user_fpregs_struct): Avoid __uint*_t types.
43256 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43257 symbol info. Use it instead of calling _dl_addr locally.
43258 (lock_and_info): New function.
43259 (tr_freehook): Call lock_and_info and pass symbol info as additional
43260 parameter to tr_where.
43261 (tr_mallochook): Likewise.
43262 (tr_reallochook): Likewise.
43263 (tr_memalignhook): Likewise.
43265 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43266 used and couldn't be at all thread-safe.
43268 2011-05-15 Ulrich Drepper <drepper@gmail.com>
43270 * libio/freopen.c (freopen): Don't close old file descriptor
43271 before the new one is opened. Instead dup the new file descriptor
43272 to the old one after the new stream is created.
43273 * libio/freopen64.c (freopen64): Likewise.
43274 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43275 * libio/fileops.c (_IO_new_file_close_it): Handle new
43276 _IO_FLAGS2_NOCLOSE flag.
43277 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43278 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43279 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43280 _IO_FLAGS2_NOCLOSE flag.
43281 * include/unistd.h: Add hidden_proto for dup3.
43282 Define __have_dup3.
43283 * io/dup3.c: Define hidden symbol.
43284 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43287 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43288 when an incomplete long option is used.
43289 * posix/tst-getopt_long1.c: New file.
43290 * posix/Makefile (tests): Add tst-getopt_long1.
43293 * scripts/config.guess: Update from autoconf-2.68.
43294 * scripts/config.sub: Likewise.
43297 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43299 (has_cpuclock): ...this. New function.
43300 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43301 macro here based on has_cpuclock code.
43304 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43305 First byte (not low byte) is now always NUL.
43306 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43308 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43309 Use non-cancelable interfaces.
43312 * locale/iso-639.def: Add entry for Sorani.
43315 * include/stdlib.h: Move include protection to the right place.
43316 Define abort_msg_s. Declare __abort_msg with it.
43317 * stdlib/abort.c (__abort_msg): Adjust type.
43318 * assert/assert.c (__assert_fail_base): New function. Majority
43319 of code from __assert_fail. Allocate memory for __abort_msg with
43321 (__assert_fail): Now call __assert_fail_base.
43322 * assert/assert-perr.c: Remove bulk of implementation. Use
43323 __assert_fail_base.
43324 * include/assert.hL Declare __assert_fail_base.
43325 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43327 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43329 2011-05-14 Ulrich Drepper <drepper@gmail.com>
43333 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43334 until all modules are registered in the DTV.
43335 * elf/Makefile: Add rules to build and run tst-tls19.
43336 * elf/tst-tls19.c: New file.
43337 * elf/tst-tls19mod1.c: New file.
43338 * elf/tst-tls19mod2.c: New file.
43339 * elf/tst-tls19mod3.c: New file.
43340 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43343 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43347 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43348 two-byte sequence errors.
43349 * iconvdata/Makefile (tests): Add bug-iconv8.
43350 * iconvdata/bug-iconv8.c: New file.
43353 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43356 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43359 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43360 (dummy_getcfa): New function.
43361 (init): Get _Unwind_GetCFA address, use dummy if not found.
43362 (backtrace_helper): In recursion check, also check whether CFA changes.
43363 (__backtrace): Completely initialize arg.
43365 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43366 storing incomplete byte sequence in state object. Avoid testing for
43367 guaranteed too small input if we know there is enough data available.
43369 2011-05-11 Andreas Schwab <schwab@redhat.com>
43371 * Makeconfig (+link-pie): Indent.
43372 * Rules (binaries-pie): Define if $(have-fpie) and
43374 (binaries-shared): Also filter out $(binaries-pie).
43375 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43376 * nscd/Makefile (others-pie): Add nscd.
43377 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43378 ($(objpfx)nscd): Remove command override.
43379 * login/Makefile (others-pie): Add pt_chown.
43380 ($(objpfx)pt_chown): Remove command override.
43381 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43382 remove command overrides.
43384 2011-05-13 Ulrich Drepper <drepper@gmail.com>
43386 * libio/tst_putwc.c: Fix error messages.
43389 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43390 currently writing and seek to current position when not.
43391 * libio/Makefile (tests): Add bug-fclose1.
43392 * libio/bug-fclose1.c: New file.
43394 2011-05-12 Ulrich Drepper <drepper@gmail.com>
43397 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43398 don't set DF_1_NODELETE here.
43399 (do_lookup_x): When entering new entry test for copy relocation
43400 and if necessary set DF_1_NODELETE flag.
43401 * elf/tst-unique4.cc: New file.
43402 * elf/tst-unique4.h: New file.
43403 * elf/tst-unique4lib.cc: New file.
43404 * elf/Makefile: Add rules to build and run tst-unique4.
43405 Patch by Piotr Bury <pbury@goahead.com>.
43407 2011-05-11 Ulrich Drepper <drepper@gmail.com>
43410 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43413 * misc/mntent_r.c (addmntent): Flush the stream after the output
43416 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43417 (is_trusted_path_normalize): Skip initial colon. Append slash
43418 to empty buffer. Duplicate is_trusted_path code but allow
43419 constructed patch to be prefix.
43420 (is_dst): Allow $ORIGIN followed by /.
43421 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43422 Correct testing of result of is_trusted_path_normalize
43423 (decompose_rpath): Fix warning.
43425 2011-05-10 Ulrich Drepper <drepper@gmail.com>
43428 * grp/initgroups.c (internal_getgrouplist): When we found the service
43429 list through the initgroups entry in nsswitch.conf do not always
43430 continue on a successful lookup. Don't always use the
43431 __nss_group_database value if it is set.
43432 * nss/nsswitch.conf (initgroups): Change action for successful db
43433 lookup to continue for compatibility.
43435 2011-05-09 Ulrich Drepper <drepper@gmail.com>
43438 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43440 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43442 * iconvdata/tst-tables.sh: Likewise.
43443 * iconvdata/cp770.c: New file.
43444 * iconvdata/cp771.c: New file.
43445 * iconvdata/cp772.c: New file.
43446 * iconvdata/cp773.c: New file.
43447 * iconvdata/cp774.c: New file.
43448 * iconvdata/testdata/CP770: New file.
43449 * iconvdata/testdata/CP770..UTF8: New file.
43450 * iconvdata/testdata/CP771: New file.
43451 * iconvdata/testdata/CP771..UTF8: New file.
43452 * iconvdata/testdata/CP772: New file.
43453 * iconvdata/testdata/CP772..UTF8: New file.
43454 * iconvdata/testdata/CP773: New file.
43455 * iconvdata/testdata/CP773..UTF8: New file.
43456 * iconvdata/testdata/CP774: New file.
43457 * iconvdata/testdata/CP774..UTF8: New file.
43459 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43461 * iconvdata/gen-8bit-gap.sh: Likewise.
43462 * iconvdata/gen-8bit.sh: Likewise.
43464 * locale/iso-639.def: Add ary entry.
43467 * locale/C-translit.h.in: Add U20A1 transliteration.
43470 * locale/iso-639.def: Add wae entry.
43471 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43474 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43478 * locale/C-translit.h.in: Add entry for U20B9.
43479 Patch by pravin.d.s@gmail.com.
43481 2011-05-08 Ulrich Drepper <drepper@gmail.com>
43484 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43485 ENAMETOOLONG use generic getcwd.
43486 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43487 in rtld. Use *stat64.
43488 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43489 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43490 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43491 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43492 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43493 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43494 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43495 __fstatat64 macros.
43496 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43497 * dirent/rewinddir.c: Add libc_hidden_def.
43498 * sysdeps/mach/hurd/rewinddir.c: Likewise.
43499 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
43501 * include/dirent.h (__alloc_dir): Add flags parameter.
43502 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43503 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43505 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43506 from fdopendir if O_CLOEXEC is already set.
43508 2011-03-15 Alan Modra <amodra@gmail.com>
43510 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43511 l_tls_firstbyte_offset non-zero. Save padding offset in
43512 l_tls_firstbyte_offset for later use.
43513 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43514 freeing static tls block.
43516 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43518 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43519 where #ifdef was intended. The intent is to prevent ARG_MAX from
43520 being defined by the kernel headers.
43522 2011-05-07 Ulrich Drepper <drepper@gmail.com>
43525 * resolv/resolv.h: Define RES_NOTLDQUERY.
43526 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43527 no-tld-query and set RES_NOTLDQUERY.
43528 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43529 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43530 modern BIND to search name as TLD unless forbidden.
43532 2011-05-07 Petr Baudis <pasky@suse.cz>
43533 Ulrich Drepper <drepper@gmail.com>
43536 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43537 (is_trusted_path): ...to here.
43538 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
43539 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
43540 using is_trusted_path_normalize() in setuid scripts.
43542 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43544 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43545 __BEGIN/__END_DECLS.
43547 2011-05-06 Ulrich Drepper <drepper@gmail.com>
43549 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43550 NSS_STATUS_NOTFOUND if no record was found.
43552 2011-05-05 Andreas Schwab <schwab@redhat.com>
43554 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43555 (headers-not-in-tirpc): Remove rpc/netdb.h
43556 * resolv/netdb.h: Revert last change.
43558 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43560 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43561 circular dependency between libgcc.a and libc.a.
43563 2011-05-05 Andreas Schwab <schwab@redhat.com>
43565 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43566 * nis/Makefile: Don't install rpcsvc/*.
43567 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43568 instead of <rpc/types.h>.
43569 (MAXHOSTNAMELEN): Define.
43571 2011-05-03 Andreas Schwab <schwab@redhat.com>
43573 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43575 2011-04-28 Maciej Babinski <mbabinski@google.com>
43578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43579 gethostbyname4_r when IPv6 results are possible.
43581 2011-05-02 Ulrich Drepper <drepper@gmail.com>
43584 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43585 _PC_PIPE_BUF handling.
43587 2011-04-30 Bruno Haible <bruno@clisp.org>
43590 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43591 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43593 * inet/getnameinfo.c (getnameinfo): Likewise.
43595 2011-04-29 Ulrich Drepper <drepper@gmail.com>
43597 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43598 to groups setting in database lookup.
43599 * nss/nsswitch.conf: Add initgroups entry.
43601 2011-04-22 Ulrich Drepper <drepper@gmail.com>
43604 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43606 Patch by Eric Blake <eblake@redhat.com>.
43608 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43610 * sunrpc/Makefile (need-export-routines): Add svc_run.
43611 (routines): Remove svc_run.
43612 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43613 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43614 * sunrpc/svc_run.c (svc_run): Likewise.
43615 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43617 2011-04-21 Ulrich Drepper <drepper@gmail.com>
43619 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43620 problem in reallocation in last patch.
43622 2011-04-20 Ulrich Drepper <drepper@gmail.com>
43624 * sunrpc/Makefile: Move inclusion of Rules.
43626 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43628 * nss/nss_files/files-initgroups.c: New file.
43629 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43630 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43631 _nss_files_initgroups_dyn.
43633 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43635 * elf/elf.h (R_ARM_IRELATIVE): Define.
43637 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43639 * po/ru.po: Update from translation team.
43641 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43643 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43646 2011-02-06 Mike Frysinger <vapier@gentoo.org>
43649 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43650 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43651 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43652 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43653 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43655 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43657 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43659 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43660 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43661 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43663 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43666 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43668 * stdlib/bug-getcontext.c: New file.
43669 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43671 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43673 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43674 instructions into .machine "z9-109".
43675 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43676 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43678 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43680 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43681 between environment variables and auxiliary vector.
43683 2011-04-16 Ulrich Drepper <drepper@gmail.com>
43685 * Makefile: Add rules to build linkobj/libc.so.
43686 * include/libc-symbols.h: Define libc_hidden_nolink.
43687 * include/rpc/auth.h: Mark functions which are to be hidden.
43688 * include/rpc/auth_des.h: Likewise.
43689 * include/rpc/auth_unix.h: Likewise.
43690 * include/rpc/clnt.h: Likewise.
43691 * include/rpc/des_crypt.h: Likewise.
43692 * include/rpc/key_prot.h: Likewise.
43693 * include/rpc/pmap_clnt.h: Likewise.
43694 * include/rpc/pmap_prot.h: Likewise.
43695 * include/rpc/pmap_rmt.h: Likewise.
43696 * include/rpc/rpc_msg.h: Likewise.
43697 * include/rpc/svc.h: Likewise.
43698 * include/rpc/svc_auth.h: Likewise.
43699 * include/rpc/xdr.h: Likewise.
43700 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43701 * nss/Makefile: Likewise.
43702 * sunrpc/Makefile: Don't install headers. Build library with normal
43703 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43704 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43705 for the compat linking library. Remove use of INTDEF/INTUSE.
43706 * sunrpc/auth_none.c: Likewise.
43707 * sunrpc/auth_unix.c: Likewise.
43708 * sunrpc/authdes_prot.c: Likewise.
43709 * sunrpc/authuxprot.c: Likewise.
43710 * sunrpc/clnt_gen.c: Likewise.
43711 * sunrpc/clnt_perr.c: Likewise.
43712 * sunrpc/clnt_raw.c: Likewise.
43713 * sunrpc/clnt_simp.c: Likewise.
43714 * sunrpc/clnt_tcp.c: Likewise.
43715 * sunrpc/clnt_udp.c: Likewise.
43716 * sunrpc/clnt_unix.c: Likewise.
43717 * sunrpc/des_crypt.c: Likewise.
43718 * sunrpc/des_soft.c: Likewise.
43719 * sunrpc/get_myaddr.c: Likewise.
43720 * sunrpc/key_call.c: Likewise.
43721 * sunrpc/key_prot.c: Likewise.
43722 * sunrpc/netname.c: Likewise.
43723 * sunrpc/pm_getmaps.c: Likewise.
43724 * sunrpc/pm_getport.c: Likewise.
43725 * sunrpc/pmap_clnt.c: Likewise.
43726 * sunrpc/pmap_prot.c: Likewise.
43727 * sunrpc/pmap_prot2.c: Likewise.
43728 * sunrpc/pmap_rmt.c: Likewise.
43729 * sunrpc/publickey.c: Likewise.
43730 * sunrpc/rpc_cmsg.c: Likewise.
43731 * sunrpc/rpc_common.c: Likewise.
43732 * sunrpc/rpc_dtable.c: Likewise.
43733 * sunrpc/rpc_prot.c: Likewise.
43734 * sunrpc/rpc_thread.c: Likewise.
43735 * sunrpc/rtime.c: Likewise.
43736 * sunrpc/svc.c: Likewise.
43737 * sunrpc/svc_auth.c: Likewise.
43738 * sunrpc/svc_authux.c: Likewise.
43739 * sunrpc/svc_raw.c: Likewise.
43740 * sunrpc/svc_run.c: Likewise.
43741 * sunrpc/svc_simple.c: Likewise.
43742 * sunrpc/svc_tcp.c: Likewise.
43743 * sunrpc/svc_udp.c: Likewise.
43744 * sunrpc/svc_unix.c: Likewise.
43745 * sunrpc/svcauth_des.c: Likewise.
43746 * sunrpc/xcrypt.c: Likewise.
43747 * sunrpc/xdr.c: Likewise.
43748 * sunrpc/xdr_array.c: Likewise.
43749 * sunrpc/xdr_float.c: Likewise.
43750 * sunrpc/xdr_intXX_t.c: Likewise.
43751 * sunrpc/xdr_mem.c: Likewise.
43752 * sunrpc/xdr_rec.c: Likewise.
43753 * sunrpc/xdr_ref.c: Likewise.
43754 * sunrpc/xdr_sizeof.c: Likewise.
43755 * sunrpc/xdr_stdio.c: Likewise.
43757 2011-04-10 Ulrich Drepper <drepper@gmail.com>
43760 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43761 * sysdeps/ia64/dl-tls.h: Likewise.
43762 * sysdeps/powerpc/dl-tls.h: Likewise.
43763 * sysdeps/s390/dl-tls.h: Likewise.
43764 * sysdeps/sh/dl-tls.h: Likewise.
43765 * sysdeps/sparc/dl-tls.h: Likewise.
43766 * sysdeps/x86_64/dl-tls.h: Likewise.
43767 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43769 2011-03-14 Andreas Schwab <schwab@redhat.com>
43771 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43772 rpath element also skip the following colon.
43773 (expand_dynamic_string_token): Add is_path parameter and pass
43774 down to DL_DST_REQUIRED and _dl_dst_substitute.
43775 (decompose_rpath): Call expand_dynamic_string_token with
43776 non-zero is_path. Ignore empty rpaths.
43777 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43780 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43785 2011-04-09 Ulrich Drepper <drepper@gmail.com>
43788 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43789 Patch by Filipe David Manana <fdmanana@apache.org>.
43791 2011-04-07 Andreas Schwab <schwab@redhat.com>
43793 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43794 Maintain aligned stack.
43795 (CHECK_RSP): Remove unused macro.
43797 2011-04-03 Ulrich Drepper <drepper@gmail.com>
43799 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43800 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43802 2011-04-02 Ulrich Drepper <drepper@gmail.com>
43804 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43806 * include/features.h: Mention __USE_XOPEN2K8 in comment.
43808 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43811 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43812 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43813 * sysdeps/x86_64/memmove.c: New file.
43814 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43815 (memcpy): Renamed to ...
43816 (__new_memcpy): This.
43817 (memcpy): Provide GLIBC_2_14 memcpy.
43818 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43819 (memcpy): Provide GLIBC_2_2_5 memcpy.
43821 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43824 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43826 2011-03-30 Andreas Schwab <schwab@redhat.com>
43828 * misc/syncfs.c: New file.
43829 * misc/Makefile (routines): Add syncfs.
43830 * posix/unistd.h: Declare syncfs.
43831 * sysdeps/unix/syscalls.list: Add syncfs.
43833 2011-04-01 Andreas Schwab <schwab@redhat.com>
43835 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43837 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43838 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43839 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43840 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43841 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43842 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43843 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43845 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43847 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43848 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43849 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43851 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43853 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43855 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43856 sync_file_range.c with -fexceptions.
43857 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43858 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43859 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43860 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43861 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43862 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43863 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43864 sync_file_range as cancellation point
43865 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43866 now a wrapper around __call_sync_file_range with cancellation handling.
43867 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43868 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43869 function name to __call_sync_file_range.
43870 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43871 Add call_sync_file_range.
43873 2011-04-01 Andreas Schwab <schwab@redhat.com>
43875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43878 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43880 * iconv/iconv.h: Fix typo in comment.
43881 * io/fcntl.h: Likewise.
43882 * libio/stdio.h: Likewise.
43883 * posix/spawn.h: Likewise.
43884 * posix/unistd.h: Likewise.
43885 * stdlib/stdlib.h: Likewise.
43886 * time/time.h: Likewise.
43887 * wcsmbs/wchar.h: Likewise.
43889 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43890 open_by_handle): Add.
43891 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43892 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43893 Augment a few comments.
43894 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43895 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43896 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43898 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43899 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43902 * io/fcntl.h (AT_EMPTY_PATH): Define.
43904 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43906 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43907 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43908 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43910 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43911 * Versions.def: Add GLIBC_2.14.
43912 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43915 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43917 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43919 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43921 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43924 * string/test-strncmp.c (do_page_test): New function.
43925 (check2): Likewise.
43926 (test_main): Call check2.
43927 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43929 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43932 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43933 Handle cache information in CPU leaf 4.
43934 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43936 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43939 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43940 character representation.
43941 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43943 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43945 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43946 END(__isnan) to END(__isnanf) to match function entry point/label
43947 EALIGN(__isnanf,...).
43949 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43951 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43953 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43956 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43957 copy from the symbol referenced in the relocation to initialize the
43959 Patch by Piotr Bury <pbury@goahead.com>.
43960 * elf/Makefile: Add rules to build and tst-unique3.
43961 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43962 * elf/tst-unique3.cc: New file.
43963 * elf/tst-unique3.h: New file.
43964 * elf/tst-unique3lib.cc: New file.
43965 * elf/tst-unique3lib2.cc: New file.
43967 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43969 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43971 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43972 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43975 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43977 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43978 to-be-loaded object along a path to loader is ld.so.
43980 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43981 Ulrich Drepper <drepper@gmail.com>
43983 * sysdeps/x86_64/memset.S: After aligning destination, code
43984 branches to different locations depending on the value of
43985 misalignment, when multiarch is enabled. Fix this.
43987 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43989 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43990 Set _x86_64_preferred_memory_instruction for AMD processsors.
43991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43992 Set bit_Prefer_SSE_for_memop for AMD processors.
43994 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43996 * libio/fmemopen.c (fmemopen): Optimize a bit.
43998 2011-03-03 Andreas Schwab <schwab@redhat.com>
44000 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44002 2011-03-03 Roland McGrath <roland@redhat.com>
44004 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44006 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44008 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44009 __bzero_ultra1 instead of __memset_ultra1.
44011 2011-02-23 Andreas Schwab <schwab@redhat.com>
44012 Ulrich Drepper <drepper@gmail.com>
44015 * include/link.h (struct link_map): Add l_orig_initfini.
44016 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44017 returning unsuccessfully.
44018 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44019 close of a file loaded at startup, restore the original l_initfini
44021 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44022 list, store the pointer.
44023 * elf/Makefile ($(objpfx)noload-mem): New rule.
44024 (noload-ENV): Define.
44025 (tests): Add $(objpfx)noload-mem.
44026 * elf/noload.c: Include <memcheck.h>.
44027 (main): Call mtrace. Close all opened handles.
44029 2011-02-17 Andreas Schwab <schwab@redhat.com>
44032 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44033 dependencies are missing.
44035 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44037 Fix __if_freereq crash: Unlike the generic version which uses free,
44039 * sysdeps/mach/hurd/ifreq.h: New file.
44041 2011-01-27 Petr Baudis <pasky@suse.cz>
44042 Ulrich Drepper <drepper@gmail.com>
44045 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44046 to extend_alloca().
44047 * stdio-common/bug23.c: New file.
44048 * stdio-common/Makefile (tests): Add bug23.
44050 2010-09-28 Andreas Schwab <schwab@redhat.com>
44051 Ulrich Drepper <drepper@gmail.com>
44054 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44055 before performing relro protection. At old place add assertion
44056 to make sure nothing changed.
44058 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44059 Glauber de Oliveira Costa <glommer@gmail.com>
44061 * elf/elf.h: Add new ARM TLS relocs.
44063 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44066 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44068 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44070 * sysdeps/wordsize-64/tst-writev.c: New file.
44072 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44074 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44075 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44076 insns in _dl_start to prevent a TOC reference before relocs are
44079 2011-02-15 Ulrich Drepper <drepper@gmail.com>
44082 * Makeconfig: Remove RANLIB definition.
44083 * Makerules: Don't use RANLIB.
44084 * aclocal.m4: Remove ranlib test.
44085 * configure.in: No need to check for ranlib.
44086 * elf/rtld-Rules: Don't use RANLIB.
44088 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44090 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44092 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44093 inclusion protection macro.
44095 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44096 SIGRTMIN and SIGRTMAX and print information in that case only when
44097 SIGRTMIN is defined.
44099 2011-02-11 Jakub Jelinek <jakub@redhat.com>
44101 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44102 arginfo fn returning -1.
44104 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44105 and thousands string is zero terminated.
44107 2011-02-03 Andreas Schwab <schwab@redhat.com>
44109 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44110 sysdeps/unix/sysv/linux/bits/socket.h.
44112 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44114 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44115 (__CPU_COUNT): Remove old macros.
44116 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44117 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44118 (__CPU_ALLOC, __CPU_FREE): Add macros.
44119 (__sched_cpualloc, __sched_cpufree): Add declarations.
44121 2011-02-05 Ulrich Drepper <drepper@gmail.com>
44123 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44124 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44125 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44126 (readdhstai): Return value of addhstaiX call.
44127 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44128 (addgrbyX): Return value returned by cache_addgr.
44129 (readdgrbyname): Return value returned by addgrbyX.
44130 (readdgrbygid): Likewise.
44131 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44132 (addpwbyX): Return value returned by cache_addpw.
44133 (readdpwbyname): Return value returned by addhstbyX.
44134 (readdpwbyuid): Likewise.
44135 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44136 (addservbyX): Return value returned by cache_addserv.
44137 (readdservbyname): Return value returned by addservbyX:
44138 (readdservbyport): Likewise.
44139 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44140 (addhstbyX): Return value returned by cache_addhst.
44141 (readdhstbyname): Return value returned by addhstbyX.
44142 (readdhstbyaddr): Likewise.
44143 (readdhstbynamev6): Likewise.
44144 (readdhstbyaddrv6): Likewise.
44145 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44146 (readdinitgroups): Return value returned by addinitgroupsX.
44147 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44148 (prune_cache): Keep track of timeout value of re-added entries.
44149 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44150 * nscd/nscd.h: Adjust prototypes of readd* functions.
44152 2011-02-04 Roland McGrath <roland@redhat.com>
44154 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44155 (nis_stats): Likewise.
44156 * nis/nis_modify.c (nis_modify): Likewise.
44157 * nis/nis_remove.c (nis_remove): Likewise.
44158 * nis/nis_add.c (nis_add): Likewise.
44160 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44162 * posix/fnmatch_loop.c: Add some consts.
44164 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44166 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44169 * config.make.in (config-cflags-novzeroupper): Define.
44170 * configure.in: Substitute libc_cv_cc_novzeroupper.
44171 * elf/Makefile (AVX-CFLAGS): Define.
44172 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44173 (CFLAGS-tst-auditmod4a.c): Likewise.
44174 (CFLAGS-tst-auditmod4b.c): Likewise.
44175 (CFLAGS-tst-auditmod6b.c): Likewise.
44176 (CFLAGS-tst-auditmod6c.c): Likewise.
44177 (CFLAGS-tst-auditmod7b.c): Likewise.
44178 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44180 2011-02-02 Ulrich Drepper <drepper@gmail.com>
44182 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44183 function to the callback.
44184 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44186 2011-02-02 Andreas Schwab <schwab@redhat.com>
44188 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44191 2011-01-19 Ulrich Drepper <drepper@gmail.com>
44194 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44196 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44198 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44201 * elf/Makefile: Add rules to build and run new test.
44202 * elf/tst-initorder.c: New file.
44203 * elf/tst-initorder.exp: New file.
44204 * elf/tst-initordera1.c: New file.
44205 * elf/tst-initordera2.c: New file.
44206 * elf/tst-initordera3.c: New file.
44207 * elf/tst-initordera4.c: New file.
44208 * elf/tst-initorderb1.c: New file.
44209 * elf/tst-initorderb2.c: New file.
44210 * elf/tst-order-a1.c: New file.
44211 * elf/tst-order-a2.c: New file.
44212 * elf/tst-order-a3.c: New file.
44213 * elf/tst-order-a4.c: New file.
44214 * elf/tst-order-b1.c: New file.
44215 * elf/tst-order-b2.c: New file.
44216 * elf/tst-order-main.c: New file.
44217 New test case by George Gensure <werkt0@gmail.com>.
44219 2010-10-01 Andreas Schwab <schwab@redhat.com>
44221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44222 decoding ACE if AI_CANONIDN.
44224 2011-01-18 Ulrich Drepper <drepper@gmail.com>
44226 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44228 2011-01-17 Ulrich Drepper <drepper@gmail.com>
44230 * version.h (RELEASE): Bump for 2.13 release.
44231 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44233 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44235 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44237 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44238 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44239 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44240 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44241 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44242 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44244 * posix/getconf.c: Update copyright year.
44245 * catgets/gencat.c: Likewise.
44246 * csu/version.c: Likewise.
44247 * debug/catchsegv.sh: Likewise.
44248 * debug/xtrace.sh: Likewise.
44249 * elf/ldconfig.c: Likewise.
44250 * elf/ldd.bash.in: Likewise.
44251 * elf/sprof.c (print_version): Likewise.
44252 * iconv/iconv_prog.c: Likewise.
44253 * iconv/iconvconfig.c: Likewise.
44254 * locale/programs/locale.c: Likewise.
44255 * locale/programs/localedef.c: Likewise.
44256 * malloc/memusage.sh: Likewise.
44257 * malloc/mtrace.pl: Likewise.
44258 * nscd/nscd.c (print_version): Likewise.
44259 * nss/getent.c: Likewise.
44261 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44262 PF_CAIF, and PF_ALG.
44263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44265 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44267 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44268 (modules-names): Use them.
44269 (ifunc-test-modules, ifunc-pie-tests): Define.
44270 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44271 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44272 (test-extras): Likewise.
44273 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44274 $(compile-command.c).
44275 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44276 (all-built-dso): Define.
44277 (check-textrel.out, check-execstack.out): Depend on it.
44279 * configure.in: Don't override --enable-multi-arch.
44281 2011-01-15 Ulrich Drepper <drepper@gmail.com>
44284 * nscd/hstcache.c (tryagain): Define.
44285 (cache_addhst): Return tryagain not notfound for temporary errors.
44286 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44289 2011-01-14 Ulrich Drepper <drepper@gmail.com>
44292 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44293 to make the syscall.
44294 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44297 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44298 and fall back to matching as normal character if the string ends before
44299 the matching ']' is found. This is what POSIX requires.
44300 * posix/testfnm.c: Adjust test result.
44301 * posix/globtest.sh: Adjust test result. Add new test.
44302 * posix/tst-fnmatch.input: Likewise.
44303 * posix/tst-fnmatch2.c: Add new test.
44305 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44307 * elf/Makefile (check-execstack): Revert last change. Depend on
44309 (check-execstack.h): New target.
44310 (generated): Add check-execstack.h.
44311 * elf/check-execstack.c: Include "check-execstack.h".
44312 (main): Revert last change.
44313 (handle_file): Return zero if GNU_STACK is absent and
44314 DEFAULT_STACK_PERMS doesn't include PF_X.
44316 2011-01-13 Ulrich Drepper <drepper@gmail.com>
44318 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44319 in child fails because the descriptor is already closed.
44320 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44321 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44322 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44325 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44329 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44330 temporary buffer used to handle multi lookups locally.
44331 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44333 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44335 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44338 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44340 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44341 alignment for SSE2.
44343 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44346 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44347 characters. When rounding increased number of integer digits recompute
44349 * stdio-common/tst-grouping.c: New file.
44350 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44352 2011-01-09 Ulrich Drepper <drepper@gmail.com>
44354 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44355 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44357 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44359 * bits/select.h: Likewise.
44361 2011-01-08 Ulrich Drepper <drepper@gmail.com>
44363 * po/ja.po: Update from translation team.
44365 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
44368 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44369 implementation just like for lxstat, fxstatat, et al.
44371 2010-12-27 Jim Meyering <meyering@redhat.com>
44374 * posix/regexec.c (build_trtable): Return failure indication upon
44375 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44377 2010-12-25 Ulrich Drepper <drepper@gmail.com>
44380 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44381 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44382 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44383 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44386 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44389 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44390 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44392 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44394 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44395 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44396 script has SORT_BY_INIT_PRIORITY.
44397 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44398 NO_CTORS_DTORS_SECTIONS is defined.
44399 * elf/soinit.c: Likewise.
44400 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44401 NO_CTORS_DTORS_SECTIONS is defined.
44402 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44403 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44404 * sysdeps/sh/init-first.c: Likewise.
44405 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44407 2010-12-24 Ulrich Drepper <drepper@gmail.com>
44409 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44410 always use the slow path.
44412 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44414 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44415 similar rule which adds the sysdep directories to the header search in
44416 order to pick up the correct platform stackinfo.h.
44417 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44418 perform test if it is, otherwise return successfully without testing.
44419 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44420 DEFAULT_STACK_PERMS define in stackinfo.h.
44421 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44422 defined in stackinfo.h.
44423 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44424 DEFAULT_STACK_PERMS defined in stackinfo.h.
44425 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44426 * sysdeps/ia64/stackinfo.h: Likewise.
44427 * sysdeps/s390/stackinfo.h: Likewise.
44428 * sysdeps/sh/stackinfo.h: Likewise.
44429 * sysdeps/sparc/stackinfo.h: Likewise.
44430 * sysdeps/x86_64/stackinfo.h: Likewise.
44431 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44432 PF_X for powerpc64. Retain PF_X for powerpc32.
44434 2010-12-19 Ulrich Drepper <drepper@gmail.com>
44436 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44438 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44439 GETDENTS_64BIT_ALIGNED.
44441 2010-12-14 Ulrich Drepper <dreper@gmail.com>
44443 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44445 2010-12-10 Andreas Schwab <schwab@redhat.com>
44447 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44450 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44451 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44453 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44454 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44456 2010-12-09 Ulrich Drepper <drepper@gmail.com>
44459 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44462 2010-12-09 Jakub Jelinek <jakub@redhat.com>
44464 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44466 2010-12-03 Ulrich Drepper <drepper@gmail.com>
44468 * po/it.po: Update from translation team.
44470 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44472 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44475 2010-11-30 Ulrich Drepper <drepper@gmail.com>
44477 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44479 2010-11-24 Andreas Schwab <schwab@redhat.com>
44481 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44483 (gaih_getanswer_slice): Likewise.
44485 2010-10-20 Jakub Jelinek <jakub@redhat.com>
44487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44489 2010-05-31 Petr Baudis <pasky@suse.cz>
44492 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44493 silently even in the chroot mode.
44495 2010-11-22 Ulrich Drepper <drepper@gmail.com>
44497 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44498 last patch a bit. Pretty printing
44500 2010-05-31 Petr Baudis <pasky@suse.cz>
44503 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44504 initialization of skip_initgroups_dyn.
44506 2010-11-19 Ulrich Drepper <drepper@gmail.com>
44508 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44509 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44511 2010-11-16 Ulrich Drepper <drepper@gmail.com>
44513 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44515 2010-11-11 Andreas Schwab <schwab@redhat.com>
44517 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44518 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44519 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44520 ($(objpfx)tst-fnmatch-mem): New rule.
44521 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44522 * posix/tst-fnmatch.c (main): Call mtrace.
44524 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44527 Support Intel processor model 6 and model 0x2c.
44529 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
44531 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44534 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44537 * string/test-strncasecmp.c (check_result): New function.
44538 (do_one_test): Use it.
44539 (check1): New function.
44540 (test_main): Use it.
44541 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44542 Support strcasecmp and strncasecmp.
44544 2010-11-08 Ulrich Drepper <drepper@gmail.com>
44547 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44548 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44550 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44552 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44556 * sysdeps/x86_64/multiarch/bzero.S: New file.
44557 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44558 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44559 * sysdeps/x86_64/multiarch/memset.S: New file.
44560 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44562 Set bit_Prefer_SSE_for_memop for Intel processors.
44563 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44565 (index_Prefer_SSE_for_memop): Define.
44566 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44568 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
44570 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44571 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44573 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44576 * sysdeps/i386/i686/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.
44581 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44582 (__x86_64_raw_data_cache_size_half): Likewise.
44583 (__x86_64_raw_shared_cache_size): Likewise.
44584 (__x86_64_raw_shared_cache_size_half): Likewise.
44585 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44586 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44587 and __x86_64_raw_shared_cache_size_half. Round
44588 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44589 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44590 to multiple of 256 bytes.
44592 2010-11-03 Ulrich Drepper <drepper@gmail.com>
44595 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44596 of inacessible symlinks. Verify result of symlink before returning it.
44597 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44598 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44600 2010-10-28 Erich Ritz <erichritz@gmail.com>
44602 * math/math.h (isinf): Fix typo in comment.
44604 2010-11-01 Ulrich Drepper <drepper@gmail.com>
44606 * po/da.po: Update from translation team.
44608 2010-10-26 Ulrich Drepper <drepper@gmail.com>
44610 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44611 is added to the list.
44613 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44614 Ulrich Drepper <drepper@gmail.com>
44616 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44617 the global list here. Move code to...
44618 (_dl_add_to_namespace_list): ...here. New function.
44619 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44620 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44621 * elf/dl-load.c (lose): Don't remove the element from the list.
44622 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44623 (_dl_map_object): Likewise.
44625 2010-10-25 Ulrich Drepper <drepper@gmail.com>
44628 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44629 into all bytes of SSE register.
44630 Patch by Richard Li <richardpku@gmail.com>.
44632 2010-10-24 Ulrich Drepper <drepper@gmail.com>
44635 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44638 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44640 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44641 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44642 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44643 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44648 2010-10-22 Andreas Schwab <schwab@redhat.com>
44650 * include/dlfcn.h (__RTLD_SECURE): Define.
44651 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44652 mode & __RTLD_SECURE instead.
44653 (open_path): Rename preloaded parameter to secure.
44654 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44655 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44656 * elf/dl-deps.c (openaux): Likewise.
44657 * elf/rtld.c (struct map_args): Remove is_preloaded.
44658 (map_doit): Don't use it.
44659 (dl_main): Likewise.
44660 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44661 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44663 2010-09-09 Andreas Schwab <schwab@redhat.com>
44665 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44666 (sysd-rules-targets): Remove duplicates.
44667 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44668 rtld-%.$o dependency.
44670 2010-10-18 Andreas Schwab <schwab@redhat.com>
44672 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44673 _dl_map_object do it.
44675 2010-10-19 Ulrich Drepper <drepper@gmail.com>
44677 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44678 fast fma builtins, define the macros in the C99 standard.
44679 (FP_FAST_FMAF): Likewise.
44680 (FP_FAST_FMAL): Likewise.
44681 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44683 * bits/mathdef.h: Update copyright year.
44684 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44686 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44688 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44689 builtins, define the macros in the C99 standard.
44690 (FP_FAST_FMAF): Likewise.
44691 (FP_FAST_FMAL): Likewise.
44692 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44694 (FP_FAST_FMAF): Likewise.
44696 2010-10-15 Jakub Jelinek <jakub@redhat.com>
44699 * math/libm-test.inc (fma_test): Some new testcases.
44700 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44701 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44702 y and infinite z. Do multiplication by C already in long double.
44703 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44705 y and infinite z. Do bitwise or of inexact bit into u.d.
44706 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44707 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44708 * sysdeps/i386/fpu/s_fma.S: Removed.
44709 * sysdeps/i386/fpu/s_fmal.S: Removed.
44711 2010-10-16 Jakub Jelinek <jakub@redhat.com>
44714 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44716 computation is not scheduled after fetestexcept. Fix value
44717 of minimum denormal long double.
44719 2010-10-14 Jakub Jelinek <jakub@redhat.com>
44722 * math/libm-test.inc (fma_test): Add some more tests.
44723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44726 2010-10-15 Andreas Schwab <schwab@redhat.com>
44728 * scripts/data/localplt-s390-linux-gnu.data: New file.
44729 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44731 2010-10-13 Jakub Jelinek <jakub@redhat.com>
44734 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44735 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44737 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44739 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44741 if one of x and y is very large and the other is subnormal.
44742 * sysdeps/s390/fpu/s_fmaf.c: New file.
44743 * sysdeps/s390/fpu/s_fma.c: New file.
44744 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44745 * sysdeps/powerpc/fpu/s_fma.S: New file.
44746 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44747 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44748 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44750 2010-10-12 Jakub Jelinek <jakub@redhat.com>
44753 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44755 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44756 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44757 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44758 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44759 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44760 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44761 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44763 2010-10-12 Ulrich Drepper <drepper@redhat.com>
44766 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44767 * posix/bug-regex31.input: Add test case.
44769 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44771 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44772 * posix/bug-regex31.input: New file.
44775 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44776 (parse_sub_exp): Fix last change, use postorder.
44778 * posix/bug-regex31.c: New file.
44779 * posix/Makefile: Add rules to build and run bug-regex31.
44781 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44784 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44787 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44788 to have entries in sys_siglist.
44791 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44794 2010-10-07 Jakub Jelinek <jakub@redhat.com>
44797 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44798 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44799 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44800 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44801 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44802 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44803 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44804 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44805 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44806 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44807 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44808 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44809 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44810 * math/ftestexcept.c (fetestexcept): Likewise.
44811 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44812 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44813 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44814 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44815 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44816 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44817 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44819 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44822 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44825 2010-10-06 Ulrich Drepper <drepper@gmail.com>
44827 * string/bug-strstr1.c: New file.
44828 * string/Makefile: Add rules to build and run bug-strstr1.
44830 2010-10-05 Eric Blake <eblake@redhat.com>
44833 * string/str-two-way.h (two_way_long_needle): Always clear memory
44834 when skipping input due to the shift table.
44836 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44839 * malloc/mcheck.c: Handle large requests.
44842 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44843 for strncmp and strncasecmp.
44844 * string/stratcliff.c: Add tests for strcmp and strncmp.
44845 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44847 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44849 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44852 2010-09-30 Andreas Jaeger <aj@suse.de>
44854 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44855 (CGROUP_SUPER_MAGIC): Define.
44856 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44857 Handle btrfs and cgroup file systems.
44858 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44861 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44863 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44864 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44866 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44869 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44870 trying to locate the ELF header.
44872 2010-09-27 Andreas Schwab <schwab@redhat.com>
44875 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44876 Mask out sign-bit copies when constructing f_fsid.
44878 2010-09-24 Petr Baudis <pasky@suse.cz>
44880 * debug/stack_chk_fail_local.c: Add missing licence exception.
44881 * debug/warning-nop.c: Likewise.
44883 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44885 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44886 implementing getdents64 using getdents syscall, set d_type if
44887 __ASSUME_GETDENTS32_D_TYPE.
44889 2010-09-16 Andreas Schwab <schwab@redhat.com>
44891 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44892 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44894 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44897 * posix/unistd.h: Undo change of feature selection for ftruncate from
44900 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44902 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44905 2010-09-20 Andreas Schwab <schwab@redhat.com>
44907 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44909 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44911 2010-09-14 Andreas Schwab <schwab@redhat.com>
44913 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44914 variables after CHECK_SP call.
44915 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44917 2010-09-13 Andreas Schwab <schwab@redhat.com>
44918 Ulrich Drepper <drepper@redhat.com>
44920 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44921 re-relocationg ld.so.
44922 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44923 _dl_init_paths call.
44924 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44927 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44929 * resolv/res_init.c (__res_vinit): Count the default server we added.
44931 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44932 Ulrich Drepper <drepper@redhat.com>
44935 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44936 (____longjmp_chk): Use %ebx for saving value across system call.
44939 2010-09-06 Andreas Schwab <schwab@redhat.com>
44941 * manual/Makefile: Don't mix pattern rules with normal rules.
44943 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44945 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44947 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44948 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44949 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44950 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44951 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44954 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44957 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44958 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44960 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44962 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44963 * sysdeps/x86_64/addmul_1.S: Likewise.
44964 * sysdeps/x86_64/lshift.S: Likewise.
44965 * sysdeps/x86_64/mul_1.S: Likewise.
44966 * sysdeps/x86_64/rshift.S: Likewise.
44967 * sysdeps/x86_64/sub_n.S: Likewise.
44968 * sysdeps/x86_64/submul_1.S: Likewise.
44970 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44972 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44973 Define __sched_param instead of SCHED_* and sched_param when
44974 <bits/sched.h> is included with __need_schedparam defined.
44975 * bits/sched.h [__need_schedparam]
44976 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44977 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44978 (__defined_schedparam): Define to 1.
44979 (__sched_param): New structure, identical to sched_param.
44980 (__need_schedparam): Undefine.
44982 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44984 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44985 (epoll_create1): Declare.
44987 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44989 2010-08-31 Andreas Schwab <schwab@redhat.com>
44992 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44993 shifting retval into place.
44995 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44997 * nis/rpcsvc/nis.h: Update copyright notice.
44998 * nis/rpcsvc/nis.x: Likewise.
44999 * nis/rpcsvc/nis_callback.h: Likewise.
45000 * nis/rpcsvc/nis_callback.x: Likewise.
45001 * nis/rpcsvc/nis_object.x: Likewise.
45002 * nis/rpcsvc/nis_tags.h: Likewise.
45003 * nis/rpcsvc/yp.h: Likewise.
45004 * nis/rpcsvc/yp.x: Likewise.
45005 * nis/rpcsvc/ypupd.h: Likewise.
45006 * nis/yp_xdr.c: Likewise.
45007 * nis/ypupdate_xdr.c: Likewise.
45009 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45010 mainly the body of pmap_getport. Add parameters to specify timeouts.
45011 (pmap_getport): Use __libc_rpc_getport.
45012 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45013 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45014 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45016 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45021 2010-08-27 Roland McGrath <roland@redhat.com>
45023 * sysdeps/i386/i686/multiarch/Makefile
45024 (CFLAGS-varshift.c): New variable.
45026 2010-08-27 Ulrich Drepper <drepper@redhat.com>
45028 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45029 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45031 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45033 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45035 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45037 * sysdeps/x86_64/strlen.S: Unroll the loop.
45038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45039 strlen-sse2 strlen-sse2-bsf.
45040 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45041 __strlen_no_bsf if bit_Slow_BSF is set.
45042 (__strlen_sse42): Removed.
45043 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45044 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45046 2010-08-25 Roland McGrath <roland@redhat.com>
45048 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45049 * sysdeps/x86_64/multiarch/varshift.c: New file.
45050 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45051 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45052 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45053 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45055 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45058 strlen-sse2 strlen-sse2-bsf.
45059 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45060 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45061 (__strlen_sse2): Removed.
45062 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45063 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45065 bit_Slow_BSF for Atom.
45066 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45067 (index_Slow_BSF): Define.
45068 (HAS_SLOW_BSF): Define.
45070 2010-08-25 Ulrich Drepper <drepper@redhat.com>
45073 * resolv/res_init.c (__res_vinit): When no server address at all
45074 is given default to loopback.
45076 2010-08-24 Roland McGrath <roland@redhat.com>
45078 * configure.in: Remove config-name.h generation.
45079 * configure: Regenerated.
45080 * config-name.in: File removed.
45081 * scripts/config-uname.sh: New file.
45082 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45083 ($(objdir)config-name.h): New target.
45085 * sunrpc/rpc_parse.h: Avoid nested comment.
45087 2010-08-24 Richard Henderson <rth@redhat.com>
45088 Ulrich Drepper <drepper@redhat.com>
45089 H.J. Lu <hongjiu.lu@intel.com>
45091 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45093 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45094 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45095 _mm_alignr_epi8 with _mm_loadu_si128.
45096 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45097 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45098 (__m128i_shift_right): Removed.
45099 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45100 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45101 * sysdeps/x86_64/multiarch/varshift.h: New file.
45102 * sysdeps/x86_64/multiarch/varshift.S: New file.
45104 2010-08-21 Mike Frysinger <vapier@gentoo.org>
45106 * configure.in: Move assembler checks to before sysdep dir checking.
45108 2010-08-20 Petr Baudis <pasky@suse.cz>
45110 * LICENSES: Sync the sunrpc license.
45112 2010-08-19 Ulrich Drepper <drepper@redhat.com>
45114 * sunrpc/auth_des.c: Update copyright notice once again.
45115 * sunrpc/auth_none.c: Likewise.
45116 * sunrpc/auth_unix.c: Likewise.
45117 * sunrpc/authdes_prot.c: Likewise.
45118 * sunrpc/authuxprot.c: Likewise.
45119 * sunrpc/bindrsvprt.c: Likewise.
45120 * sunrpc/clnt_gen.c: Likewise.
45121 * sunrpc/clnt_perr.c: Likewise.
45122 * sunrpc/clnt_raw.c: Likewise.
45123 * sunrpc/clnt_simp.c: Likewise.
45124 * sunrpc/clnt_tcp.c: Likewise.
45125 * sunrpc/clnt_udp.c: Likewise.
45126 * sunrpc/clnt_unix.c: Likewise.
45127 * sunrpc/des_crypt.c: Likewise.
45128 * sunrpc/des_soft.c: Likewise.
45129 * sunrpc/get_myaddr.c: Likewise.
45130 * sunrpc/getrpcport.c: Likewise.
45131 * sunrpc/key_call.c: Likewise.
45132 * sunrpc/key_prot.c: Likewise.
45133 * sunrpc/openchild.c: Likewise.
45134 * sunrpc/pm_getmaps.c: Likewise.
45135 * sunrpc/pm_getport.c: Likewise.
45136 * sunrpc/pmap_clnt.c: Likewise.
45137 * sunrpc/pmap_prot.c: Likewise.
45138 * sunrpc/pmap_prot2.c: Likewise.
45139 * sunrpc/pmap_rmt.c: Likewise.
45140 * sunrpc/rpc/auth.h: Likewise.
45141 * sunrpc/rpc/auth_unix.h: Likewise.
45142 * sunrpc/rpc/clnt.h: Likewise.
45143 * sunrpc/rpc/des_crypt.h: Likewise.
45144 * sunrpc/rpc/key_prot.h: Likewise.
45145 * sunrpc/rpc/netdb.h: Likewise.
45146 * sunrpc/rpc/pmap_clnt.h: Likewise.
45147 * sunrpc/rpc/pmap_prot.h: Likewise.
45148 * sunrpc/rpc/pmap_rmt.h: Likewise.
45149 * sunrpc/rpc/rpc.h: Likewise.
45150 * sunrpc/rpc/rpc_des.h: Likewise.
45151 * sunrpc/rpc/rpc_msg.h: Likewise.
45152 * sunrpc/rpc/svc.h: Likewise.
45153 * sunrpc/rpc/svc_auth.h: Likewise.
45154 * sunrpc/rpc/types.h: Likewise.
45155 * sunrpc/rpc/xdr.h: Likewise.
45156 * sunrpc/rpc_clntout.c: Likewise.
45157 * sunrpc/rpc_cmsg.c: Likewise.
45158 * sunrpc/rpc_common.c: Likewise.
45159 * sunrpc/rpc_cout.c: Likewise.
45160 * sunrpc/rpc_dtable.c: Likewise.
45161 * sunrpc/rpc_hout.c: Likewise.
45162 * sunrpc/rpc_main.c: Likewise.
45163 * sunrpc/rpc_parse.c: Likewise.
45164 * sunrpc/rpc_parse.h: Likewise.
45165 * sunrpc/rpc_prot.c: Likewise.
45166 * sunrpc/rpc_sample.c: Likewise.
45167 * sunrpc/rpc_scan.c: Likewise.
45168 * sunrpc/rpc_scan.h: Likewise.
45169 * sunrpc/rpc_svcout.c: Likewise.
45170 * sunrpc/rpc_tblout.c: Likewise.
45171 * sunrpc/rpc_util.c: Likewise.
45172 * sunrpc/rpc_util.h: Likewise.
45173 * sunrpc/rpcinfo.c: Likewise.
45174 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45175 * sunrpc/rpcsvc/key_prot.x: Likewise.
45176 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45177 * sunrpc/rpcsvc/mount.x: Likewise.
45178 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45179 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45180 * sunrpc/rpcsvc/rex.x: Likewise.
45181 * sunrpc/rpcsvc/rstat.x: Likewise.
45182 * sunrpc/rpcsvc/rusers.x: Likewise.
45183 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45184 * sunrpc/rpcsvc/spray.x: Likewise.
45185 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45186 * sunrpc/rtime.c: Likewise.
45187 * sunrpc/svc.c: Likewise.
45188 * sunrpc/svc_auth.c: Likewise.
45189 * sunrpc/svc_authux.c: Likewise.
45190 * sunrpc/svc_raw.c: Likewise.
45191 * sunrpc/svc_run.c: Likewise.
45192 * sunrpc/svc_simple.c: Likewise.
45193 * sunrpc/svc_tcp.c: Likewise.
45194 * sunrpc/svc_udp.c: Likewise.
45195 * sunrpc/svc_unix.c: Likewise.
45196 * sunrpc/svcauth_des.c: Likewise.
45197 * sunrpc/xcrypt.c: Likewise.
45198 * sunrpc/xdr.c: Likewise.
45199 * sunrpc/xdr_array.c: Likewise.
45200 * sunrpc/xdr_float.c: Likewise.
45201 * sunrpc/xdr_mem.c: Likewise.
45202 * sunrpc/xdr_rec.c: Likewise.
45203 * sunrpc/xdr_ref.c: Likewise.
45204 * sunrpc/xdr_sizeof.c: Likewise.
45205 * sunrpc/xdr_stdio.c: Likewise.
45207 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45210 2010-08-19 Andreas Schwab <schwab@redhat.com>
45212 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45214 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
45216 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45217 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45218 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45219 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45220 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45221 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45222 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45223 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45224 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45225 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45226 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45227 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45228 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45229 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45231 2010-07-26 Anton Blanchard <anton@samba.org>
45233 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45234 * malloc/arena.c (heap_trim): Likewise.
45236 2010-08-16 Ulrich Drepper <drepper@redhat.com>
45238 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45240 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45241 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45243 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45245 * sysdeps/i386/elf/Makefile: New file.
45247 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45249 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45250 from fanotify_init.
45251 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45252 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45254 2010-08-15 Ulrich Drepper <drepper@redhat.com>
45256 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45258 * sysdeps/multiarch/strcmp.S: Likewise.
45260 2010-08-14 Ulrich Drepper <drepper@redhat.com>
45262 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45263 strncase_l-nonascii.
45264 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45265 Add strncase_l-ssse3.
45266 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45267 * sysdeps/x86_64/strcmp.S: Likewise.
45268 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45269 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45270 * sysdeps/x86_64/strncase.S: New file.
45271 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45272 * sysdeps/x86_64/strncase_l.S: New file.
45273 * string/Makefile (strop-tests): Add strncasecmp.
45274 * string/test-strncasecmp.c: New file.
45276 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45279 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45280 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45282 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45284 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45286 2010-08-12 Ulrich Drepper <drepper@redhat.com>
45288 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45289 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45290 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45292 2010-05-01 Alan Modra <amodra@gmail.com>
45294 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45295 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45296 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45297 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45298 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45299 tidying. Don't tail-call __sigjmp_save for static lib.
45300 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45302 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45303 (CALL_MCOUNT): Add eh info, and nop after bl.
45304 (TAIL_CALL_SYSCALL_ERROR): New macro.
45305 (PSEUDO_RET): Use it.
45306 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45307 Correct save location of integer regs and cr.
45308 (_dl_profile_resolve): Correct cr save location. Delete nops
45309 after bl when SHARED. Reduce cfi size a little by better
45310 placement of cfi directives.
45311 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45312 make a stack frame. Instead use parm save area as a temp.
45313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45314 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45316 Don't make a stack frame for parent, use parm save area.
45317 Increase child stack frame to 112 bytes. Don't save unused reg,
45318 and adjust reg usage. Set up cfi on error recovery and
45319 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45321 (__makecontext): Add dummy nop after jump to exit.
45322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45323 Use correct parm save area and cr save, reduce stack frame.
45324 Correct cfi for possible PSEUDO_RET frame setup.
45325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45326 Branch to local label emitted by PSEUDO_RET rather than
45329 2010-08-12 Andreas Schwab <schwab@redhat.com>
45332 * locale/programs/locale.c (print_assignment): New function.
45333 (show_locale_vars): Use it.
45335 2010-08-11 Ulrich Drepper <drepper@redhat.com>
45337 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45339 (struct statfs64): Likewise.
45340 (_STATFS_F_FLAGS): Define.
45341 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45342 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45343 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45344 (ST_VALID): Define locally.
45345 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45346 __statvfs_getflags, use the provided value.
45347 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45348 __ASSUME_STATFS_F_FLAGS.
45350 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45352 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45353 Add sys/fanotify.h.
45354 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45355 fanotify_mask for GLIBC_2.13.
45356 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45357 fanotify_init and fanotify_mark.
45358 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45359 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45361 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45363 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45364 prlimit64 for GLIBC_2.13.
45365 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45367 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45370 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45371 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45372 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45373 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45375 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45378 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45379 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45381 * nss/Makefile: Add rules to build and run tst-nss-test1.
45382 * shlib-versions: Add entry for libnss_test1.
45383 * nss/nss_test1.c: New file.
45384 * nss/tst-nss-test1.c: New file.
45386 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45387 (__nss_configure_lookup): Set appropriate entry in
45388 __nss_configure_lookup to true.
45389 * nss/nsswitch.h: Define enum with indeces of databases in
45390 databases and __nss_database_custom arrays. Declare
45391 __nss_database_custom.
45392 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45393 to avoid using nscd when custom rules are installed.
45394 * nss/getXXbyYY_r.c: Likewise.
45395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45397 * nss/nss_files/files-parse.c: Whitespace fixes.
45399 2010-08-09 Ulrich Drepper <drepper@redhat.com>
45402 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45403 * posix/fnmatch_loop.c: Likewise.
45405 2010-07-17 Andi Kleen <ak@linux.intel.com>
45407 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45408 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45409 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45410 * Versions.def [GLIBC_2.13]: Add.
45412 2010-08-06 Ulrich Drepper <drepper@redhat.com>
45414 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45415 Also fail if tpwd after pwuid call is NULL.
45417 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45419 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45420 when converting to ms.
45422 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45424 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45425 EOPNOTSUPP errors with ENOTTY.
45426 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45427 EOPNOTSUPP errors with ENOTTY.
45429 2010-07-31 Ulrich Drepper <drepper@redhat.com>
45431 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45432 Add strcasecmp_l-ssse3.
45433 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45435 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45436 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45437 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45439 2010-07-30 Ulrich Drepper <drepper@redhat.com>
45441 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45443 * string/Makefile (strop-tests): Add strcasecmp.
45444 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45445 strcasecmp_l-nonascii.
45446 (gen-as-const-headers): Add locale-defines.sym.
45447 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45448 * sysdeps/x86_64/strcasecmp.S: New file.
45449 * sysdeps/x86_64/strcasecmp_l.S: New file.
45450 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45451 * sysdeps/x86_64/locale-defines.sym: New file.
45452 * string/test-strcasecmp.c: New file.
45454 * string/test-strcasestr.c: Test both ends of the range of characters.
45455 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45457 2010-07-29 Roland McGrath <roland@redhat.com>
45460 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45462 2010-07-27 Ulrich Drepper <drepper@redhat.com>
45464 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45467 2010-07-27 Andreas Schwab <schwab@redhat.com>
45469 * manual/memory.texi (Malloc Tunable Parameters): Document
45472 2010-07-26 Roland McGrath <roland@redhat.com>
45475 * configure.in (-fgnu89-inline check): Set and substitute
45476 gnu89_inline, not libc_cv_gnu89_inline.
45477 * configure: Regenerated.
45478 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45480 2010-07-26 Ulrich Drepper <drepper@redhat.com>
45482 * string/test-strnlen.c: New file.
45483 * string/Makefile (strop-tests): Add strnlen.
45484 * string/tester.c (test_strnlen): Add a few more test cases.
45485 * string/tst-strlen.c: Better error reporting.
45487 * sysdeps/x86_64/strnlen.S: New file.
45489 2010-07-24 Ulrich Drepper <drepper@redhat.com>
45491 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45492 lower-latency instructions.
45494 2010-07-23 Ulrich Drepper <drepper@redhat.com>
45496 * string/test-strcasestr.c: New file.
45497 * string/test-strstr.c: New file.
45498 * string/Makefile (strop-tests): Add strstr and strcasestr.
45499 * string/str-two-way.h: Don't undefine MAX.
45500 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45502 2010-07-21 Andreas Schwab <schwab@redhat.com>
45504 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45505 strcasestr-nonascii.
45506 (CFLAGS-strcasestr-nonascii.c): Define.
45507 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45508 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45509 Remove unused attribute.
45511 2010-07-20 Roland McGrath <roland@redhat.com>
45513 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45514 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45515 ld.so.cache was broken. With it, there is no way to disable dsocaps
45516 like LD_HWCAP_MASK can disable hwcaps.
45518 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45520 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45522 2010-07-16 Ulrich Drepper <drepper@redhat.com>
45524 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45525 call in strcasestr.
45526 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45527 __strcasestr_sse42_nonascii.
45528 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45529 strcasestr-nonascii.c.
45530 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45532 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
45534 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45535 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45536 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45537 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45539 2010-07-09 Ulrich Drepper <drepper@redhat.com>
45541 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45544 2010-07-06 Andreas Schwab <schwab@redhat.com>
45547 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45550 2010-07-06 Ulrich Drepper <drepper@redhat.com>
45552 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45553 _PC_PIPE_BUF using F_GETPIPE_SZ.
45555 2010-07-05 Roland McGrath <roland@redhat.com>
45557 * manual/arith.texi (Rounding Functions): Fix rint description
45558 implicit in round description.
45560 2010-07-02 Ulrich Drepper <drepper@redhat.com>
45562 * elf/Makefile: Fix linking for a few tests to make recent linker
45565 2010-06-30 Andreas Schwab <schwab@redhat.com>
45567 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45568 $(common-objpfx)libc_nonshared.a.
45570 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
45572 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45573 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45574 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45575 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45576 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45577 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45578 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45579 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45594 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45595 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45596 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45597 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45598 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45599 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45600 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45601 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45602 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45603 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45604 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45605 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45621 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45623 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45624 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45625 * string/memmove.c (memmove): Renamed to ...
45626 (MEMMOVE): ...this. Default to memmove.
45627 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45628 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45631 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45632 mempcpy-ssse3-back memmove-ssse3-back.
45633 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45634 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45635 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45636 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45637 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45638 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45639 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45640 * sysdeps/x86_64/multiarch/memmove.c: New file.
45641 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45642 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45643 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45644 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45645 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45646 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45648 (index_Fast_Copy_Backward): Define.
45649 (HAS_ARCH_FEATURE): Define.
45650 (HAS_FAST_REP_STRING): Define.
45651 (HAS_FAST_COPY_BACKWARD): Define.
45653 2010-06-21 Andreas Schwab <schwab@redhat.com>
45655 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45656 Restore proper fallback handling.
45658 2010-06-19 Ulrich Drepper <drepper@redhat.com>
45661 * posix/group_member.c (__group_member): Correct checking loop.
45663 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45664 OOM in getpwuid_r correctly. Return error number when the caller
45665 should return, otherwise -1.
45666 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45667 call returning > 0 value.
45668 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45670 2010-06-07 Andreas Schwab <schwab@redhat.com>
45672 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45673 libc_nonshared.a from targets in modules-names.
45675 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45677 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45680 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
45682 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45683 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45684 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45685 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45687 2010-06-02 Andreas Schwab <schwab@redhat.com>
45689 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45691 2010-06-14 Ulrich Drepper <drepper@redhat.com>
45693 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45695 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45696 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45699 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45700 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45702 2010-06-14 Roland McGrath <roland@redhat.com>
45704 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45706 2010-06-07 Jakub Jelinek <jakub@redhat.com>
45708 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45709 __REDIRECT followed by __THROW.
45710 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45711 * posix/getopt.h (getopt): Likewise.
45713 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45715 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45716 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45717 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45719 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45720 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45722 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
45724 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45726 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45730 Properly check family and model.
45732 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45734 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45736 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
45738 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45740 2010-05-21 Ulrich Drepper <drepper@redhat.com>
45742 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45745 2010-05-19 Andreas Schwab <schwab@redhat.com>
45747 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45750 2010-05-21 Andreas Schwab <schwab@redhat.com>
45752 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45753 and internal_recvmmsg.
45754 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45755 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45756 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45757 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45759 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45760 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45761 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45763 2010-05-20 Andreas Schwab <schwab@redhat.com>
45765 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45767 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
45769 POWER7 optimizations.
45770 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45771 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45773 2010-05-19 Ulrich Drepper <drepper@redhat.com>
45775 * version.h: Update for 2.13 development version.
45777 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
45779 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45780 exceptions. Return 0.
45782 2010-05-07 Roland McGrath <roland@redhat.com>
45784 * elf/ldconfig.c (main): Add a const.
45786 2010-05-06 Ulrich Drepper <drepper@redhat.com>
45788 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45789 (args_options): Add no-idn option.
45790 (ahosts_keys_int): Add idn_flags to ai_flags.
45791 (parse_option): Handle 'i' option to clear idn_flags.
45793 * malloc/malloc.c (_int_free): Possible race in the most recently
45794 added check. Only act on the data if no current modification
45797 See ChangeLog.17 for earlier changes.