]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
a762760f14b6ca03c6b21663674a79747548fdc2
[thirdparty/glibc.git] / ChangeLog
1 2012-11-02 Roland McGrath <roland@hack.frob.com>
2
3 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5 autoconf-time if not.
6 * configure.in: Remove AC_PREREQ.
7
8 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9
10 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12 of the internal implementation.
13
14 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15
16 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17 except include of <misc/sys/syslog.h>.
18
19 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
20
21 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22 function returns with a NULL context exit with zero.
23
24 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25
26 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27
28 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29
30 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31 (run_program_cmd): This.
32 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33 (tst_langinfo): New variable. Use it.
34
35 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36
37 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
38 floating point opcodes.
39
40 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41
42 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43 variable.
44
45 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
46
47 * sysdeps/mach/hurd/powerpc: Remove directory.
48 * sysdeps/mach/powerpc: Likewise.
49
50 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
51
52 * scripts/check-local-headers.sh: Ignore c++ headers.
53
54 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
55
56 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
57 __libc_cleanup_region_start argument.
58
59 2012-11-01 Joseph Myers <joseph@codesourcery.com>
60
61 [BZ #14784]
62 [BZ #14785]
63 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64 x * y using scaling, not as x * y + z.
65 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67 * math/libm-test.inc (fma_test): Add more tests.
68 (fma_test_towardzero): Likewise.
69 (fma_test_downward): Likewise.
70 (fma_test_upward): Likewise.
71
72 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
73
74 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75
76 2012-10-31 Joseph Myers <joseph@codesourcery.com>
77
78 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
79 New variable.
80
81 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
82
83 * rt/tst-shm.c (worker): Correct checking for mmap failure.
84
85 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
86
87 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
88 Fix sort order.
89 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
90 Likewise.
91
92 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
93
94 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
95 Fix the order of the list for glibc 2.17.
96 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
97 Likewise.
98
99 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
100
101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
102
103 2012-10-31 Joseph Myers <joseph@codesourcery.com>
104
105 [BZ #14610]
106 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
107 for low part of x being zero before using __atanl (y).
108 * math/libm-test.inc (atan2_test): Add another test.
109
110 * manual/install.texi (Configuring and compiling): Document
111 general use of test-wrapper and test-wrapper-env.
112 * INSTALL: Regenerated.
113
114 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
115 (__fma): Do not extract and scale down low bits on after-rounding
116 systems when result rounded to normal precision would have normal
117 exponent.
118 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
119 (__fmal): Do not extract and scale down low bits on after-rounding
120 systems when result rounded to normal precision would have normal
121 exponent.
122 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
123 (__fmal): Do not extract and scale down low bits on after-rounding
124 systems when result rounded to normal precision would have normal
125 exponent.
126 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
127 macro.
128 (fma_test): Add more tests.
129 (fma_test_towardzero): Likewise.
130 (fma_test_downward): Likewise.
131 (fma_test_upward): Likewise.
132
133 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
134
135 * sysdeps/i386/tininess.h: Renamed to ...
136 * sysdeps/x86/tininess.h: This.
137 * sysdeps/x86_64/tininess.h: Removed.
138
139 2012-10-30 Joseph Myers <joseph@codesourcery.com>
140
141 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
142 input. Use $(build-program-cmd).
143 ($(objpfx)tst-array1-static.out): Likewise.
144 ($(objpfx)tst-array2.out): Likewise.
145 ($(objpfx)tst-array3.out): Likewise.
146 ($(objpfx)tst-array4.out): Likewise.
147 ($(objpfx)tst-array5.out): Likewise.
148 ($(objpfx)tst-array5-static.out): Likewise.
149
150 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
151
152 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
153 if defined.
154
155 * nss/nsswitch.h (nss_interface_function): Provide new
156 macro for use with NSS functions.
157 * grp/initgroups.c: Use new macro.
158 * nss/getXXbyYY.c: Likewise.
159 * nss/getXXbyYY_r.c: Likewise.
160 * nss/getXXent.c: Likewise.
161 * nss/getXXent_r.c: Likewise.
162 * sysdeps/posix/getaddrinfo.c: Likewise.
163
164 2012-10-30 Andreas Jaeger <aj@suse.de>
165
166 * po/ru.po: Update Russion translation from translation project.
167
168 2012-10-30 Joseph Myers <joseph@codesourcery.com>
169
170 [BZ #14152]
171 [BZ #14783]
172 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
173 result and shift together with sticky bit instead of replicating
174 round-to-nearest rounding.
175 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
176 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
177 * math/libm-test.inc (fma_test): Add more tests. Do not permit
178 missing underflow exceptions.
179 (fma_test_towardzero): Add more tests.
180 (fma_test_downward): Likewise.
181 (fma_test_upward): Likewise.
182
183 [BZ #14047]
184 * sysdeps/generic/tininess.h: New file.
185 * sysdeps/i386/tininess.h: Likewise.
186 * sysdeps/sh/tininess.h: Likewise.
187 * sysdeps/x86_64/tininess.h: Likewise.
188 * stdlib/tst-strtod-underflow.c: Likewise.
189 * stdlib/tst-tininess.c: Likewise.
190 * stdlib/strtod_l.c: Include <tininess.h>.
191 (round_and_return): Do not set errno for exact underflow cases.
192 Force an underflow exception when setting errno for underflow.
193 Determine underflow based on rounding to normal precision if
194 TININESS_AFTER_ROUNDING.
195 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
196 ERANGE for exact underflow cases.
197 * stdlib/Makefile (tests): Add tst-tininess and
198 tst-strtod-underflow.
199 ($(objpfx)tst-tininess): Use $(link-libm).
200 ($(objpfx)tst-strtod-underflow): Likewise.
201
202 2012-10-30 Andreas Jaeger <aj@suse.de>
203
204 [BZ#14767]
205 * elf/Makefile (tests): Remove conditional for have-initfini-array
206 since this is now always required and the variable does not exist
207 anymore.
208 (tests-static): Likewise.
209 (modules-names): Likewise.
210
211 * po/eo.po: Add Esperanto translation from translation project.
212
213 * elf/tst-array1.c (fini_array): Make writeable so that it can be
214 merged with constructor/destructor.
215 (init_array): Likewise.
216 * elf/tst-array2dep.c (fini_array): Likewise.
217 (init_array): Likewise.
218
219 2012-10-29 Mike Frysinger <vapier@gentoo.org>
220
221 * manual/message.texi: Delete @cartouche tags.
222
223 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
224
225 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
226 EOPNOTSUPP.
227 * sysdeps/mach/hurd/fsync.c: Likewise.
228
229 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
230 [_POSIX_REALTIME_SIGNALS]: Change condition to
231 [_POSIX_REALTIME_SIGNALS > 0].
232
233 2012-10-27 Andreas Jaeger <aj@suse.de>
234
235 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
236 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
237 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
238 [__WORDSIZE != 64]: Likewise.
239
240 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
241
242 * iconvdata/tst-table.sh: Remove ${SHELL}.
243 * iconvdata/tst-tables.sh: Likewise.
244
245 2012-10-25 David S. Miller <davem@davemloft.net>
246
247 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
248 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
249 of strtoull.
250
251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
252 ifunc-impl-list.c
253 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
254 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
255 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
256 file.
257
258 2012-10-25 Roland McGrath <roland@hack.frob.com>
259
260 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
261 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
262 __getdirentries.
263
264 2012-10-25 Joseph Myers <joseph@codesourcery.com>
265 Jim Blandy <jimb@codesourcery.com>
266
267 * scripts/cross-test-ssh.sh: New file.
268 * manual/install.texi (Configuring and compiling): Document use of
269 cross-test-ssh.sh.
270 * INSTALL: Regenerated.
271
272 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
273
274 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
275 EOPNOTSUPP.
276
277 2012-10-25 Joseph Myers <joseph@codesourcery.com>
278
279 * Makeconfig (run-program-prefix): Fix comment.
280
281 2012-10-24 Joseph Myers <joseph@codesourcery.com>
282 Jim Blandy <jimb@codesourcery.com>
283
284 * Makeconfig (test-wrapper): New variable,
285 (test-wrapper-env): Likewise.
286 [$(cross-compiling) = yes && $(test-wrapper) != ""]
287 (run-built-tests): Define to yes.
288 (run-program-prefix): Use $(test-wrapper).
289 (built-program-cmd): Likewise.
290 * Rules (make-test-out): Use $(test-wrapper-env) and
291 $(host-built-program-cmd).
292 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
293 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
294 tst-pathopt.sh.
295 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
296 $(test-wrapper-env) to tst-rtld-load-self.sh.
297 ($(objpfx)order2.out): Use $(test-wrapper).
298 ($(objpfx)tst-initorder.out): Likewise.
299 ($(objpfx)tst-initorder2.out): Likewise.
300 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
301 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
302 (test_wrapper_env): New variable. Use it to run ld.so.
303 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
304 Use it to run ld.so.
305 (test_wrapper_env): Likewise.
306 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
307 $(test-wrapper) to run-iconv-test.sh.
308 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
309 (ICONV): Use $test_wrapper.
310 * posix/Makefile ($(objpfx)globtest.out): Pass
311 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
312 globtest.sh, not $(run-program-prefix).
313 * posix/globtest.sh (run_via_rtld_prefix): New variable.
314 (test_wrapper): Likewise.
315 (test_wrapper_env): Likewise. Use it to run globtest with HOME
316 set together with run_via_rtld_prefix.
317 (run_program_prefix): Define in terms of test_wrapper and
318 run_via_rtld_prefix.
319
320 2012-10-24 Roland McGrath <roland@hack.frob.com>
321
322 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
323 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
324 Targets removed.
325
326 [BZ #14743]
327 * include/time.h: Remove librt_hidden_proto (clock_gettime).
328 Declare __clock_getres, __clock_gettime, __clock_settime,
329 __clock_nanosleep, and __clock_getcpuclockid.
330 * rt/clock_gettime.c: Define __clock_gettime as an alias.
331 Remove librt_hidden_def (clock_gettime).
332 * sysdeps/unix/clock_gettime.c: Likewise.
333 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
334 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
335 * rt/clock_getres.c: Define __clock_getres as an alias.
336 * sysdeps/posix/clock_getres.c: Likewise.
337 * rt/clock_settime.c: Define __clock_settime as an alias.
338 * sysdeps/unix/clock_settime.c: Likewise.
339 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
340 * sysdeps/unix/clock_nanosleep.c: Likewise.
341 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
342 * rt/clock-compat.c: New file.
343 * rt/Makefile (librt-routines): Add clock-compat and move
344 $(clock-routines) to ...
345 (routines): ... here, new variable.
346 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
347 Don't add get_clockfreq here.
348 * rt/Versions (libc: GLIBC_2.17): New version set.
349 Add clock_* symbols here.
350 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
351 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
352 (GLIBC_2.17): Add clock_* symbols.
353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
355 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
357 Likewise.
358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
359 Likewise.
360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
364 * NEWS: Mention the move.
365
366 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
367 Use __open, __read, __close rather than their public counterparts.
368 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
369 (__get_clockfreq_via_cpuinfo): Likewise.
370 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
371 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
372
373 * config.h.in (HAVE_IFUNC): New #undef.
374 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
375 was successful.
376 * configure: Regenerated.
377
378 2012-10-24 Mike Frysinger <vapier@gentoo.org>
379
380 * configure.in: Move READELF check to start of file.
381 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
382 libc_cv_asm_gnu_indirect_function in the process.
383 * configure: Regenerated.
384
385 2012-10-24 Mike Frysinger <vapier@gentoo.org>
386
387 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
388 send the output to /dev/null.
389 (libc_cv_cc_with_libunwind): Likewise.
390 (libc_cv_as_noexecstack): Likewise.
391 * configure: Regenerate.
392
393 2012-10-24 Joseph Myers <joseph@codesourcery.com>
394
395 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
396
397 * posix/globtest.sh (TMPDIR): Do not set.
398 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
399 (testout): Likewise.
400
401 2012-10-24 Andreas Jaeger <aj@suse.de>
402
403 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
404 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
405 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
406 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
407 posix_fadvise64, posix_fallocate64.
408
409 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
410 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
411 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
412 Likewise.
413 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
414 Likewise.
415 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
416
417 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
418 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
419 <bits/fcntl-linux.h>.
420 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
421
422 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
423 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
424 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
425 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
426 [__WORDSIZE != 64]: Likewise.
427
428 2012-10-23 Joseph Myers <joseph@codesourcery.com>
429
430 * Makeconfig (run-built-tests): New variable.
431 * Rules [$(cross-compiling) = yes]: Change condition to
432 [$(run-built-tests) = no].
433 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
434 to [$(run-built-tests) = yes].
435 * elf/Makefile [$(cross-compiling) = no]: Likewise
436 * grp/Makefile [$(cross-compiling) = no]: Likewise.
437 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
438 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
439 * intl/Makefile [$(cross-compiling) = no]: Likewise.
440 * io/Makefile [$(cross-compiling) = no]: Likewise.
441 * libio/Makefile [$(cross-compiling) = no]: Likewise.
442 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
443 * misc/Makefile [$(cross-compiling) = no]: Likewise.
444 * posix/Makefile [$(cross-compiling) = no]: Likewise.
445 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
446 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
447 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
448 * string/Makefile [$(cross-compiling) = no]: Likewise.
449
450 * posix/Makefile ($(objpfx)globtest.out): Pass
451 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
452 $(rtld-installed-name).
453 * posix/globtest.sh (elf_objpfx): Remove variable.
454 (rtld_installed_name): Likewise.
455 (library_path): Likewise.
456 (run_program_prefix): New variable. Use for running globtest
457 binary.
458
459 2012-10-23 Jim Blandy <jimb@codesourcery.com>
460 Joseph Myers <joseph@codesourcery.com>
461
462 * Makeconfig (host-built-program-cmd): New variable.
463 * elf/Makefile (tst-stackguard1-ARGS): Use
464 $(host-built-program-cmd).
465 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
466 (tst-spawn-ARGS): Likewise.
467 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
468
469 2012-10-23 Joseph Myers <joseph@codesourcery.com>
470 Jim Blandy <jimb@codesourcery.com>
471
472 * Makeconfig (run-via-rtld-prefix): New variable.
473 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
474 (built-program-cmd): Likewise.
475
476 2012-10-22 Andreas Jaeger <aj@suse.de>
477
478 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
479 __O_RSYNC if it exists, otherwise to O_SYNC.
480
481 2012-10-22 Jim Blandy <jimb@codesourcery.com>
482 Joseph Myers <joseph@codesourcery.com>
483
484 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
485 /dev/null.
486 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
487 from /dev/null
488 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
489 /dev/null.
490
491 2012-10-22 Andreas Jaeger <aj@suse.de>
492
493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
494 Define always.
495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
496
497 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
498 bits/fcntl-linux.h.
499
500 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
501 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
502
503 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
504 to __O_LARGEFILE.
505 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
506 to __O_LARGEFILE.
507
508 2012-10-21 Jim Blandy <jimb@codesourcery.com>
509 Joseph Myers <joseph@codesourcery.com>
510
511 * config.make.in (NM): New variable.
512
513 2012-10-21 Andreas Jaeger <aj@suse.de>
514
515 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
516 definitions and declarations that are provided by
517 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
518
519 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
520
521 [BZ #14683]
522 * elf/Makefile (tests-static): Add tst-leaks1-static.
523 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
524 ($(objpfx)tst-leaks1-static): New rule.
525 ($(objpfx)tst-leaks1-static-mem): Likewise.
526 (tst-leaks1-static-ENV): New macro.
527 * elf/dl-open.c (dl_open_worker): Check the main application
528 only if SHARED is defined.
529 * elf/tst-leaks1-static.c: New file.
530
531 2012-10-20 Andreas Jaeger <aj@suse.de>
532
533 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
534 generic values for Linux.
535 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
536 and declarations that are provided by <bits/fcntl-linux.h> and
537 include <bits/fcntl-linux.h>.
538 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
539 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
540
541 2012-10-20 Roland McGrath <roland@hack.frob.com>
542
543 * io/fcntl.h: Move include of <bits/types.h> to the top and
544 include it unconditionally.
545
546 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
547
548 * wcsmbs/Makefile (tests-ifunc): New variable.
549 (tests): Add $(tests-ifunc).
550 * wcsmbs/test-wcschr-ifunc.c: New file.
551 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
552 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
553 * wcsmbs/test-wcslen-ifunc.c: Likewise.
554 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
555 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
556
557 * string/Makefile (tests-ifunc): New variable.
558 (tests): Add $(tests-ifunc).
559 * string/test-memccpy.c (TEST_NAME): New macro.
560 * string/test-memchr.c (TEST_NAME): Likewise.
561 * string/test-memcmp.c (TEST_NAME): Likewise.
562 * string/test-memcpy.c (TEST_NAME): Likewise.
563 * string/test-memmem.c (TEST_NAME): Likewise.
564 * string/test-memmove.c (TEST_NAME): Likewise.
565 * string/test-memset.c (TEST_NAME): Likewise.
566 * string/test-rawmemchr.c (TEST_NAME): Likewise.
567 * string/test-stpcpy.c (TEST_NAME): Likewise.
568 * string/test-stpncpy.c (TEST_NAME): Likewise.
569 * string/test-strcasecmp.c (TEST_NAME): Likewise.
570 * string/test-strcasestr.c (TEST_NAME): Likewise.
571 * string/test-strcat.c (TEST_NAME): Likewise.
572 * string/test-strchr.c (TEST_NAME): Likewise.
573 * string/test-strcmp.c(TEST_NAME): Likewise.
574 * string/test-strcpy.c (TEST_NAME): Likewise.
575 * string/test-strcspn.c (TEST_NAME): Likewise.
576 * string/test-strlen.c (TEST_NAME): Likewise.
577 * string/test-strncasecmp.c (TEST_NAME): Likewise.
578 * string/test-strncmp.c (TEST_NAME): Likewise.
579 * string/test-strncpy.c (TEST_NAME): Likewise.
580 * string/test-strnlen.c (TEST_NAME): Likewise.
581 * string/test-strpbrk.c (TEST_NAME): Likewise.
582 * string/test-strrchr.c (TEST_NAME): Likewise.
583 * string/test-strspn.c (TEST_NAME): Likewise.
584 * string/test-strstr.c (TEST_NAME): Likewise.
585 * string/test-bcopy-ifunc.c: New file.
586 * string/test-bzero-ifunc.c: Likewise.
587 * string/test-memccpy-ifunc.c: Likewise.
588 * string/test-memchr-ifunc.c: Likewise.
589 * string/test-memcmp-ifunc.c: Likewise.
590 * string/test-memcpy-ifunc.c: Likewise.
591 * string/test-memmem-ifunc.c: Likewise.
592 * string/test-memmove-ifunc.c: Likewise.
593 * string/test-mempcpy-ifunc.c: Likewise.
594 * string/test-memset-ifunc.c: Likewise.
595 * string/test-rawmemchr-ifunc.c: Likewise.
596 * string/test-stpcpy-ifunc.c: Likewise.
597 * string/test-stpncpy-ifunc.c: Likewise.
598 * string/test-strcasecmp-ifunc.c: Likewise.
599 * string/test-strcasestr-ifunc.c: Likewise.
600 * string/test-strcat-ifunc.c: Likewise.
601 * string/test-strchr-ifunc.c: Likewise.
602 * string/test-strchrnul-ifunc.c: Likewise.
603 * string/test-strcmp-ifunc.c: Likewise.
604 * string/test-strcpy-ifunc.c: Likewise.
605 * string/test-strcspn-ifunc.c: Likewise.
606 * string/test-strlen-ifunc.c: Likewise.
607 * string/test-strncasecmp-ifunc.c: Likewise.
608 * string/test-strncat-ifunc.c: Likewise.
609 * string/test-strncmp-ifunc.c: Likewise.
610 * string/test-strncpy-ifunc.c: Likewise.
611 * string/test-strnlen-ifunc.c: Likewise.
612 * string/test-strpbrk-ifunc.c: Likewise.
613 * string/test-strrchr-ifunc.c: Likewise.
614 * string/test-strspn-ifunc.c: Likewise.
615 * string/test-strstr-ifunc.c: Likewise.
616
617 * debug/Makefile (tests-ifunc): New variable.
618 (tests): Add $(tests-ifunc).
619 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
620 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
621 * debug/test-stpcpy_chk-ifunc.c: New file.
622 * debug/test-strcpy_chk-ifunc.c: Likewise.
623
624 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
625
626 [BZ #13601]
627 * elf/dl-load.c (open_verify): Retry read if the entire ELF
628 header is not read in.
629
630 2012-10-19 Joseph Myers <joseph@codesourcery.com>
631
632 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
633 script to $(SHELL) as $<. Pass $(common-objpfx) to script
634 directly. Pass built executable to script as
635 $(built-program-cmd).
636 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
637 $testprogram without using LD_LIBRARY_PATH and $ldso.
638
639 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
640 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
641 $(rtld-installed-name).
642 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
643 (rtld_installed_name): Likewise.
644 (library_path): Likewise.
645 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
646 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
647 $(run-program-prefix) to tst-tables.sh.
648 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
649 it to run tst-table-from and tst-table-to.
650 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
651 Pass it to tst-table.sh.
652 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
653 $(run-program-prefix) to tst-gettext.sh.
654 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
655 tst-translit.sh.
656 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
657 tst-gettext2.sh.
658 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
659 to run tst-gettext.
660 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
661 to run tst-gettext2.
662 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
663 to run tst-translit.
664 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
665 $(run-program-prefix) to tst-mtrace.sh.
666 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
667 to run tst-mtrace.
668 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
669 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
670 $(rtld-installed-name).
671 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
672 (rtld_installed_name): Likewise.
673 (run_program_prefix): New variable. Use it to run wordexp-test.
674
675 * Makeconfig (ARCH): Remove all definitions.
676 (machine): Likewise.
677 [ARCH]: Remove conditional code.
678 [!objdir]: Give error.
679 [!objdir] (objpfx): Remove.
680 [!objdir] (common-objpfx): Likewise.
681 [!objdir] (common-objdir): Likewise.
682 * configure.in (config_makefile): Remove. Hardcode Makefile in
683 AC_CONFIG_FILES call.
684 * configure: Regenerated.
685
686 [BZ #13888]
687 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
688 or TMPDIR.
689 (testout): Likewise.
690
691 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
692 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
693 $(rtld-installed-name).
694 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
695 (rtld_installed_name): Likwise.
696 (runit): Remove function.
697 (run_getconf): New variable, Use it for running getconf binary.
698
699 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
700
701 [BZ #14716]
702 * string/test-memmem.c (check_result): New function.
703 (do_one_test): Use it.
704 (check1): New function.
705 (test_main): Use it.
706
707 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
708
709 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
710
711 2012-10-18 Joseph Myers <joseph@codesourcery.com>
712
713 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
714 (_G_LSEEK64): Likewise.
715 (_G_MMAP64): Likewise.
716 (_G_FSTAT64): Likewise.
717 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
718 (_G_LSEEK64): Likewise.
719 (_G_MMAP64): Likewise.
720 (_G_FSTAT64): Likewise.
721 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
722 unconditional. Call __mmap64 directly.
723 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
724 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
725 __lseek64 directly.
726 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
727 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
728 __mmap64 directly.
729 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
730 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
731 __lseek64 directly.
732 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
733 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
734 __lseek64 directly.
735 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
736 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
737 __lseek64 directly.
738 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
739 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
740 __fxstat64 directly.
741 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
742 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
743 unconditional.
744 (freopen64) [!_G_OPEN64]: Remove conditional code.
745 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
746 unconditional.
747 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
748 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
749 unconditional.
750 (ftello64) [!_G_LSEEK64]: Remove conditional code.
751 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
752 unconditional.
753 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
754 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
755 unconditional.
756 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
757 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
758 unconditional.
759 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
760 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
761 unconditional.
762 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
763 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
764 unconditional.
765 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
766
767 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
768
769 [BZ #12140]
770 * manual/memory.texi (Malloc Tunable Parameters): Add note
771 about free list pointers overwriting some perturb bytes.
772 Wording suggested by Roland McGrath.
773
774 2012-10-17 Joseph Myers <joseph@codesourcery.com>
775
776 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
777 (lgamma_test): Likewise.
778 (tgamma_test): Likewise.
779
780 2012-10-16 Florian Weimer <fweimer@redhat.com>
781
782 [BZ #14700]
783 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
784 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
785
786 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
787
788 * NEWS: Mention BZ #14716.
789 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
790 when removing AVAILABLE1_USES_J macro.
791
792 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
793
794 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
795 (__bswap_64): __uint64_t for unsigned 64-bit int.
796
797 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
798
799 * include/string.h (memmem): Declare libc hidden alias.
800 * string/memmem.c (memmem): Define libc hidden alias.
801 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
802 __read, __close instead of open, read, close.
803
804 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
805
806 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
807 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
808 global and hidden.
809 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
810 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
811 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
812 Likewise.
813 (__rawmemchr_sse2): Likewise.
814 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
815 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
816 (__strchr_sse2): Likewise.
817 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
818 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
819 (__strcasecmp_sse2): Likewise.
820 (__strncasecmp_sse2): Likewise.
821 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
822 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
823 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
824 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
825 (__strrchr_sse2): Likewise.
826 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
827 ifunc-impl-list.c.
828 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
829 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
830 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
831 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
832 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
833 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
834 * sysdeps/x86_64/multiarch/memset.S: Likewise.
835 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
836 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
837 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
838 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
839 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
840 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
841 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
842 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
843 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
844 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
845 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
846 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
847 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
848 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
849 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
850 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
851 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
852 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
853 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
854 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
855 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
856 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
857 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
858
859 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
860 global and hidden.
861 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
862 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
863 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
864 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
865 Likewise.
866 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
867 Likewise.
868 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
869 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
870 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
871 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
872 ifunc-impl-list.c.
873 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
874 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
875 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
876 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
877 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
878 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
879 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
880 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
881 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
882 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
883 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
884 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
885 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
886 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
887 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
888 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
889 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
890 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
891 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
892 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
893 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
894 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
895 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
896 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
897 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
898 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
899 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
900 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
901 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
902 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
903 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
904 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
905 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
906 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
907 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
908 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
909 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
910 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
911 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
912 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
913 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
914
915 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
916 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
917 * include/ifunc-impl-list.h: New file.
918 * misc/ifunc-impl-list.c: Likewise.
919 * misc/Makefile (routines): Add ifunc-impl-list.
920 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
921 * string/test-string.h: Include <ifunc-impl-list.h>.
922 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
923 impl_array): New variables.
924 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
925 are defined.
926 (test_init): Call __libc_ifunc_impl_list to initialize
927 func_list if TEST_IFUNC and TEST_NAME are defined.
928
929 * string/Makefile (strop-tests): Add bcopy and bzero.
930 * string/test-bcopy.c: New file.
931 * string/test-bzero.c: Likewise.
932 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
933 defined.
934 * string/test-memset.c: Support bzero test if TEST_BZERO is
935 defined.
936 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
937 __libc_memmove.
938 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
939 __libc_memset.
940 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
941 of memset.
942
943 2012-10-10 Joseph Myers <joseph@codesourcery.com>
944
945 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
946 * configure: Regenerated.
947
948 * Makeconfig (+link-static-before-libc): Don't include
949 $(link-static-libc).
950
951 * libio/libio.h (_IO_pos_t): Remove.
952
953 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
954
955 * NEWS: Add note about FIPS mode. Wording suggested by Roland
956 McGrath.
957
958 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
959
960 * crypt/crypt-entry.c: Include fips-private.h.
961 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
962 * crypt/md5c-test.c (main): Tolerate disabled MD5.
963 * sysdeps/unix/sysv/linux/fips-private.h: New file.
964 * sysdeps/generic/fips-private.h: New file, dummy fallback.
965
966 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
967
968 * crypt/crypt-private.h: Include stdbool.h.
969 (_ufc_setup_salt_r): Return bool.
970 * crypt/crypt-entry.c: Include errno.h.
971 (__crypt_r): Return NULL with EINVAL for bad salt.
972 * crypt/crypt_util.c (bad_for_salt): New.
973 (_ufc_setup_salt_r): Check that salt is long enough and within
974 the specified alphabet.
975 * crypt/badsalttest.c: New file.
976 * crypt/Makefile (tests): Add it.
977 ($(objpfx)badsalttest): New.
978
979 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
980
981 * NEWS: Add entry for BZ #14602.
982
983 2012-10-09 Joseph Myers <joseph@codesourcery.com>
984
985 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
986 type-generic.
987 * math/libm-test.inc: Update comment listing what functions and
988 macros are tested.
989 (isgreater_test): New function.
990 (isgreaterequal_test): Likewise.
991 (isless_test): Likewise.
992 (islessequal_test): Likewise.
993 (islessgreater_test): Likewise.
994 (isunordered_test): Likewise.
995 (main): Call the new functions.
996
997 2012-10-09 Roland McGrath <roland@hack.frob.com>
998
999 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
1000 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
1001 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
1002 * sysdeps/i386/configure: Regenerated.
1003 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1004 * sysdeps/mach/configure: Regenerated.
1005 * sysdeps/mach/hurd/configure: Regenerated.
1006 * sysdeps/powerpc/configure: Regenerated.
1007 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1008 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1009 * sysdeps/s390/s390-32/configure: Regenerated.
1010 * sysdeps/s390/s390-64/configure: Regenerated.
1011 * sysdeps/sh/configure: Regenerated.
1012 * sysdeps/sparc/configure: Regenerated.
1013 * sysdeps/unix/sysv/linux/configure: Regenerated.
1014 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1015 * sysdeps/x86_64/configure: Regenerated.
1016
1017 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1018 defined. Don't check if MAP is NULL.
1019
1020 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1021
1022 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1023 (_G_stat64): Likewise.
1024 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1025 (_G_stat64): Likewise.
1026 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1027 instead of struct _G_stat64.
1028 * libio/fileops.c (mmap_remap_check): Likewise.
1029 (decide_maybe_mmap): Likewise.
1030 (_IO_new_file_seekoff): Likewise.
1031 (_IO_file_stat): Likewise.
1032 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1033 _G_off64_t.
1034 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1035 instead of struct _G_stat64.
1036 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1037
1038 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1039
1040 [BZ #14602]
1041 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1042 Replace with ...
1043 (CHECK_EOL): New macro.
1044 (two_way_short_needle): Check beginning of haystack for EOL. Use
1045 CHECK_EOL.
1046 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1047 Replace with CHECK_EOL.
1048 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1049 Replace with CHECK_EOL.
1050
1051 2012-10-08 Joseph Myers <joseph@codesourcery.com>
1052
1053 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1054 type-generic.
1055 * math/libm-test.inc: Update comment listing what functions and
1056 macros are tested.
1057 (finite_test): New function.
1058 (isinf_test): Likewise.
1059 (isnan_test): Likewise.
1060 (fpclassify_test): Test subnormal input.
1061 (isfinite_test): Likewise.
1062 (isnormal_test): Likewise.
1063 (main): Call the new functions.
1064
1065 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1066
1067 [BZ #14660]
1068 * Makerules (%.dynsym): Force C locale when running
1069 $(OBJDUMP) --dynamic-syms.
1070
1071 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1072
1073 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1074 <stdint.h>.
1075
1076 2012-10-06 David S. Miller <davem@davemloft.net>
1077
1078 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1079 upper 32-bits of the length value in %o2 since we use branch-on-register
1080 tests which consider the entire 64-bit register.
1081
1082 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1083
1084 * string/test-strstr.c (check2): Add a test for page boundary.
1085
1086 2012-10-05 David S. Miller <davem@davemloft.net>
1087
1088 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1089 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1090 file.
1091 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1092 sysdep_routines.
1093 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1094 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1095 and bzero when HWCAP_SPARC_CRYPTO is present.
1096
1097 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1098
1099 [BZ #14602]
1100 * string/test-strstr.c (check2): New function.
1101 (test_main): Call check2.
1102
1103 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1104 and bug-strchr1.
1105 * string/bug-strcasestr1.c (do_test): Moved to ...
1106 * string/test-strcasestr.c (check1): Here. New function.
1107 (do_one_test): Break out result checking code into ...
1108 (check_result): This. New function.
1109 (do_one_test): Call check_result.
1110 (test_main): Call check1.
1111 * string/bug-strchr1.c (do_test): Moved to ...
1112 * string/test-strchr.c (check1): Here. New function.
1113 (do_one_test): Break out result checking code into ...
1114 (check_result): This. New function.
1115 (do_one_test): Call check_result.
1116 (test_main): Call check1.
1117 * string/bug-strstr1.c (main): Moved to ...
1118 * string/test-strchr.c (check1): Here. New function.
1119 (do_one_test): Break out result checking code into ...
1120 (check_result): This. New function.
1121 (do_one_test): Call check_result.
1122 (test_main): Call check1.
1123 * string/bug-strcasestr1.c: Removed.
1124 * string/bug-strchr1.c: Likewise.
1125 * string/bug-strstr1.c: Likewise.
1126
1127 * elf/Makefile (dl-routines): Add hwcaps.
1128 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1129 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1130 (_dl_important_hwcaps): Moved to ...
1131 * elf/dl-hwcaps.c: Here. New file.
1132 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1133
1134 [BZ #14557]
1135 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1136 if IS_IN_rtld isn't defined.
1137
1138 * elf/dl-support.c (_dl_sysinfo_map): New.
1139 Include "get-dynamic-info.h" and "setup-vdso.h".
1140 (_dl_non_dynamic_init): Call setup_vdso.
1141 * elf/dynamic-link.h: Don't include <assert.h>.
1142 (elf_get_dynamic_info): Moved to ...
1143 * elf/get-dynamic-info.h: Here. New file.
1144 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1145 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1146 * elf/setup-vdso.h: Here. New file.
1147 * elf/rtld.c: Include "setup-vdso.h".
1148 (dl_main): Call setup_vdso.
1149
1150 2012-10-05 Joseph Myers <joseph@codesourcery.com>
1151
1152 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1153 creal in comment listing functions tested. List finite, isinf,
1154 isnan, isless, islessequal, isgreater, isgreaterequal,
1155 islessgreater, isunordered, lgamma_r and pow10 as functions and
1156 macros not tested. Mention which functions not tested are aliases
1157 for other functions. Fix typo. Note that signs of NaNs are not
1158 tested.
1159
1160 * scripts/config.guess: Update from config.git.
1161 * scripts/config.sub: Likewise.
1162
1163 2012-10-04 Roland McGrath <roland@hack.frob.com>
1164
1165 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1166 * misc/madvise.c (madvise): Renamed to __madvise.
1167 Make madvise a weak alias.
1168 * include/sys/mman.h: Declare __madvise.
1169 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1170 * sysdeps/unix/syscalls.list
1171 (madvise): Make __madvise the strong name, and madvise a weak alias.
1172 * sysdeps/unix/sysv/linux/syscalls.list
1173 (madvise, mmap): Remove redundant entries.
1174 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1175 * malloc/malloc.c (mtrim): Likewise.
1176 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1177
1178 2012-10-03 Roland McGrath <roland@hack.frob.com>
1179
1180 * sysdeps/mach/hurd/dl-cache.c: File removed.
1181 * config.h.in (USE_LDCONFIG): New #undef.
1182 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1183 * configure: Regenerated.
1184 * elf/Makefile (dl-routines): Add dl-cache only under
1185 [$(use-ldconfig) = yes].
1186 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1187 cache on [USE_LDCONFIG].
1188 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1189 [USE_LDCONFIG].
1190 * elf/rtld.c (dl_main): Likewise.
1191
1192 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1193
1194 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1195 _SC_LEVEL4_CACHE_LINESIZE.
1196
1197 2012-10-03 Roland McGrath <roland@hack.frob.com>
1198
1199 * sysdeps/unix/bsd/confstr.h: File removed.
1200
1201 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
1202
1203 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1204 sys/sdt-config.h.
1205
1206 2012-10-02 Roland McGrath <roland@hack.frob.com>
1207
1208 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1209 Make 'mapoff' field ElfW(Off) rather than off_t.
1210
1211 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1212
1213 * nscd/Makefile: Remove nscd-cflags and all its users.
1214 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1215 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1216
1217 [BZ #10631]
1218 * malloc.c (malloc_printerr): Clarify error message.
1219
1220 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1221
1222 [BZ #14648]
1223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1224 Set bit_FMA_Usable if FMA is supported.
1225 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1226 macro.
1227 (bit_FMA4_Usable): Updated.
1228 (index_FMA_Usable): New macro.
1229 (CPUID_FMA): Likewise
1230 (HAS_FMA): Defined with bit_FMA_Usable.
1231
1232 2012-10-01 Roland McGrath <roland@hack.frob.com>
1233
1234 * bits/types.h (__swblk_t): Type removed.
1235 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1236 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1237 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1238 (__SWBLK_T_TYPE): Likewise.
1239 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1240 (__SWBLK_T_TYPE): Likewise.
1241 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1242 (__SWBLK_T_TYPE): Likewise.
1243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1244 (__SWBLK_T_TYPE): Likewise.
1245
1246 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
1247 Honza Horak <hhorak@redhat.com>
1248
1249 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1250 (xdr_mapname): Use YPMAXMAP as maxsize.
1251 (xdr_peername): Use YPMAXPEER as maxsize.
1252 (xdr_keydat): Use YPAXRECORD as maxsize.
1253 (xdr_valdat): Use YPMAXRECORD as maxsize.
1254
1255 2012-10-01 Roland McGrath <roland@hack.frob.com>
1256
1257 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1258
1259 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1260 * csu/init-first.c: ... here.
1261 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1262 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1263 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1264 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1265 * sysdeps/i386/init-first.c: File removed.
1266 * sysdeps/sh/init-first.c: File removed.
1267
1268 2012-10-01 Joseph Myers <joseph@codesourcery.com>
1269
1270 [BZ #14645]
1271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1272 if x * y might underflow to zero and z is zero.
1273 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1274 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1275 * math/libm-test.inc (min_subnorm_value): New variable.
1276 (fma_test): Add more tests.
1277 (fma_test_towardzero): Likewise.
1278 (fma_test_downward): Likewise
1279 (fma_test_upward): Likewise.
1280 (initialize): Set min_subnorm_value.
1281
1282 2012-09-29 Joseph Myers <joseph@codesourcery.com>
1283
1284 [BZ #14638]
1285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1286 0 + 0.
1287 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1288 mode for addition resulting in exact zero.
1289 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1291 exact 0 + 0.
1292 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1293 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1294 * math/libm-test.inc (fma_test): Add more tests.
1295 (fma_test_towardzero): New function.
1296 (fma_test_downward): Likewise.
1297 (fma_test_upward): Likewise.
1298 (main): Call the new functions.
1299
1300 2012-09-28 David S. Miller <davem@davemloft.net>
1301
1302 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1303
1304 2012-09-28 Roland McGrath <roland@hack.frob.com>
1305
1306 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1307 instead of SIGALRM.
1308
1309 * sysdeps/gnu/_G_config.h: Moved to ...
1310 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1311 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1312 * sysdeps/generic/_G_config.h: ... here.
1313
1314 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1315
1316 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1317
1318 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1319 Conditionalize target on [libnss_test1.so-version].
1320
1321 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1322
1323 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1324 (elfobjdir): Move out of conditionals.
1325
1326 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1327 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1328 (__nss_lookup_function): Conditionalize label remove_from_tree on
1329 [!DO_STATIC_NSS || SHARED], matching its only use.
1330
1331 2012-09-28 David S. Miller <davem@davemloft.net>
1332
1333 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1334 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1335 file.
1336 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1337 sysdep_routines.
1338 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1339 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1340 when HWCAP_SPARC_CRYPTO is present.
1341
1342 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1343
1344 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1345
1346 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1347
1348 [BZ #6530]
1349 * stdio-common/vfprintf.c (process_string_arg): Revert
1350 2000-07-22 change.
1351
1352 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1353
1354 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1355 for testcase.
1356 * stdio-common/tst-sprintf.c: Include <locale.h>
1357 (main): Test sprintf's handling of incomplete multibyte
1358 characters.
1359
1360 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1361
1362 * elf/dl-runtime.c (VERSYMIDX): Removed.
1363 * elf/dl-version.c (VERSYMIDX): Likewise.
1364 * elf/do-rel.h (VERSYMIDX): Likewise.
1365 (VALIDX): Likewise.
1366 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1367 * elf/rtld.c (VALIDX): Likewise.
1368 (ADDRIDX): Likewise.
1369 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1370 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1371 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
1372 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1373 (VALIDX): Likewise.
1374 (ADDRIDX): Likewise.
1375
1376 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1377
1378 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1379
1380 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1381
1382 [BZ #11438]
1383 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1384 to global scope.
1385 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1386 addresses are in the same scope as 192.0.2/24.
1387 * posix/gai.conf: Document new scope table defaults.
1388
1389 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1390
1391 [BZ #5298]
1392 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1393 for ftell. Compute offsets from write pointers instead.
1394 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1395
1396 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1397
1398 [BZ #14543]
1399 * libio/Makefile (tests): New test case tst-fseek.
1400 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1401 combination works in wide mode.
1402 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1403 state when the external buffer state changes.
1404
1405 2012-09-27 David S. Miller <davem@davemloft.net>
1406
1407 [BZ #14376]
1408 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1409 pass reloc->r_addend in as the 'high' argument to
1410 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1411
1412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1413
1414 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1415
1416 * rt/tst-aio2.c: Include <pthread.h>.
1417 * rt/tst-aio3.c: Likewise.
1418
1419 2012-09-27 Steve Ellcey <sellcey@mips.com>
1420
1421 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1422
1423 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1424
1425 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1426 contents on [SHARED].
1427
1428 2012-09-26 Marek Polacek <polacek@redhat.com>
1429
1430 [BZ #14530]
1431 [BZ #13741]
1432 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1433 for C++ and GCC <4.3 as well as for non GCC compilers.
1434
1435 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1436
1437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1438
1439 2012-09-25 Roland McGrath <roland@hack.frob.com>
1440
1441 * Makefile.in (all, install): Declare with .PHONY.
1442 Reported by Michael Hope <michael.hope@linaro.org>.
1443
1444 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1445
1446 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1447 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1448 system header.
1449 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1450 Likewise.
1451 (sydep_routines): Add the new and the internal functions.
1452 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1453 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1455 (GLIBC_2.17): Add the new function.
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1457 (GLIBC_2.17): Likewise.
1458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1459 (GLIBC_2.17): Likewise.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1461 (GLIBC_2.17): Likewise.
1462 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1463
1464 2012-09-25 Alan Modra <amodra@gmail.com>
1465
1466 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1467 Add release barrier before setting once_control to say
1468 initialisation is done. Add hints on lwarx. Use macro in
1469 place of isync.
1470 (clear_once_control): Add release barrier.
1471
1472 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1473
1474 [BZ #13629]
1475 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1476 specially.
1477 * math/s_clog10.c (__clog10): Likewise.
1478 * math/s_clog10f.c (__clog10f): Likewise.
1479 * math/s_clog10l.c (__clog10l): Likewise.
1480 * math/s_clogf.c (__clogf): Likewise.
1481 * math/s_clogl.c (__clogl): Likewise.
1482 * math/Makefile (libm-calls): Add x2y2m1.
1483 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1484 (__x2y2m1): Likewise.
1485 (__x2y2m1l): Likewise.
1486 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1487 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1488 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1489 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1490 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1491 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1492 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1493 * sysdeps/i386/fpu/libm-test-ulps: Update.
1494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1495
1496 [BZ #14621]
1497 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1498 int as type of variable DEPTH.
1499 (glob): Use size_t instead of int as type of variables NEWCOUNT
1500 and OLD_PATHC.
1501
1502 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1503
1504 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1505 Add s_sincosf-sse2.
1506 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1507 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1508 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1509 macros for using routine as __sincosf_ia32.
1510 Use macro for function declaration and weak_alias.
1511 * sysdeps/i386/fpu/libm-test-ulps: Update.
1512
1513 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1515
1516 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
1517 subnormal argument.
1518 * math/s_cexpf.c (__cexpf): Likewise.
1519 * math/s_csinf.c (__csinf): Likewise.
1520 * math/s_csinhf.c (__csinhf): Likewise.
1521 * math/s_ctanf.c (__ctanf): Likewise.
1522 * math/s_ctanhf.c (__ctanhf): Likewise.
1523 * math/s_ccosh.c (__ccoshf): Likewise.
1524 * math/s_cexp.c (__cexpl): Likewise.
1525 * math/s_csin.c (__csin): Likewise.
1526 * math/s_csinh.c (__csinh): Likewise.
1527 * math/s_ctan.c (__ctan): Likewise.
1528 * math/s_ctanh.c (ctanh): Likewise.
1529 * math/s_ccoshl.c (__ccoshl): Likewise.
1530 * math/s_cexpl.c (__cexpl): Likewise.
1531 * math/s_csinl.c (__csinl): Likewise.
1532 * math/s_csinhl.c (__csinhl): Likewise.
1533 * math/s_ctanl.c (__ctanl): Likewise.
1534 * math/s_ctanhl.c (__ctanhl): Likewise.
1535
1536 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1537
1538 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1539 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1540 (_IO_off_t): Define to __off_t, not _G_off_t.
1541 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1542 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1543 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1544 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1545 type of __dummy and __dummy2 fields.
1546 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1547 (_G_ssize_t): Likewise.
1548 (_G_off_t): Likewise.
1549 (_G_pid_t): Likewise.
1550 (_G_uid_t): Likewise.
1551 (_G_wchar_t): Likewise.
1552 (_G_wint_t): Likewise.
1553 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1554 (_G_ssize_t): Likewise.
1555 (_G_off_t): Likewise.
1556 (_G_pid_t): Likewise.
1557 (_G_uid_t): Likewise.
1558 (_G_wchar_t): Likewise.
1559 (_G_wint_t): Likewise.
1560 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1561 (_G_ssize_t): Likewise.
1562 (_G_off_t): Likewise.
1563 (_G_pid_t): Likewise.
1564 (_G_uid_t): Likewise.
1565 (_G_wchar_t): Likewise.
1566 (_G_wint_t): Likewise.
1567
1568 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1569
1570 * malloc/arena.c: Include malloc-sysdep.h.
1571 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1572 is sufficient to shrink the heap or an unmap is needed.
1573 * sysdeps/generic/malloc-sysdep.h: New file. Define
1574 new function check_may_shrink_heap.
1575 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1576 new function check_may_shrink_heap.
1577
1578 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1579
1580 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1581 comments.
1582
1583 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1584
1585 * catgets/test-gencat.sh: Add "set -e".
1586 * elf/tst-pathopt.sh: Likewise.
1587 * grp/tst_fgetgrent.sh: Likewise.
1588 * iconvdata/run-iconv-test.sh: Likewise.
1589 * intl/tst-gettext.sh: Likewise.
1590 * intl/tst-gettext2.sh: Likewise.
1591 * intl/tst-gettext4.sh: Likewise.
1592 * intl/tst-gettext6.sh: Likewise.
1593 * intl/tst-translit.sh: Likewise.
1594 * io/ftwtest-sh: Likewise.
1595 * libio/test-freopen.sh: Likewise.
1596 * malloc/tst-mtrace.sh: Likewise.
1597 * posix/globtest.sh: Likewise.
1598 * posix/tst-getconf.sh: Likewise.
1599 * posix/wordexp-tst.sh: Likewise.
1600 * stdio-common/tst-printf.sh: Likewise.
1601 * stdio-common/tst-unbputc.sh: Likewise.
1602 * stdlib/tst-fmtmsg.sh: Likewise.
1603 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1604 * catgets/Makefile: Do not specify -e option when running
1605 testsuite shell scripts.
1606 * elf/Makefile: Likewise.
1607 * grp/Makefile: Likewise.
1608 * iconvdata/Makefile: Likewise.
1609 * intl/Makefile: Likewise.
1610 * io/Makefile: Likewise.
1611 * libio/Makefile: Likewise.
1612 * malloc/Makefile: Likewise.
1613 * posix/Makefile: Likewise.
1614 * stdio-common/Makefile: Likewise.
1615 * stdlib/Makefile: Likewise.
1616 * sysdeps/x86_64/Makefile: Likewise.
1617
1618 * io/ftwtest-sh: Add copyright header.
1619 * posix/globtest.sh: Likewise.
1620 * posix/tst-getconf.sh: Likewise.
1621 * posix/wordexp-tst.sh: Likewise.
1622 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1623
1624 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1625
1626 [BZ #13679]
1627 * Makeconfig (+link): Defined as $(+link-static) if
1628 $(build-shared) isn't yes.
1629 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1630 isn't yes.
1631 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1632
1633 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1634
1635 [BZ #14562]
1636 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1637 new chunk size with MALLOC_ALIGN_MASK.
1638
1639 2012-09-24 Joseph Myers <joseph@codesourcery.com>
1640
1641 [BZ #5044]
1642 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1643 <rounding-mode.h>.
1644 (__printf_fphex): Determine rounding using get_rounding_mode and
1645 round_away.
1646 * stdio-common/tst-printf-round.c (struct hex_test): New
1647 structure.
1648 (hex_tests): New variable.
1649 (test_hex_in_one_mode): New function.
1650 (do_test): Also run tests for hex float output.
1651
1652 2012-09-21 Joseph Myers <joseph@codesourcery.com>
1653
1654 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1655 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1656 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1657 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1658 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1659 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1660 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1661 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1662
1663 2012-09-20 Joseph Myers <joseph@codesourcery.com>
1664
1665 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1666 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1667 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1668 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1669
1670 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1671
1672 [BZ #14579]
1673 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1674 mode only.
1675 * elf/tst-rtld-load-self.sh: New test.
1676 * elf/Makefile: Run it.
1677
1678 2012-09-18 Joseph Myers <joseph@codesourcery.com>
1679
1680 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1681 (tst-writev-ENV): Remove.
1682 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1683
1684 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1685
1686 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1687
1688 2012-09-17 Joseph Myers <joseph@codesourcery.com>
1689
1690 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1691 unconditional.
1692 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1693 Likewise.
1694 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1695 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1696 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1697 Likewise.
1698
1699 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1700
1701 [BZ #14587]
1702 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1703 * config.make.in (have-cpp-asm-debuginfo): Removed.
1704 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1705 * configure: Regenerated.
1706
1707 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1708
1709 [BZ #5044]
1710 * stdio-common/printf_fp.c: Include <stdbool.h> and
1711 <rounding-mode.h>.
1712 (___printf_fp): Determine rounding using get_rounding_mode and
1713 round_away.
1714 * stdio-common/tst-printf-round.c: New file.
1715 * stdio-common/Makefile (tests): Add tst-printf-round.
1716 (link-libm): New variable.
1717 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1718
1719 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1720
1721 [BZ #14576]
1722 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1723 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1724 Likewise.
1725 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1726 Likewise.
1727
1728 2012-09-13 Joseph Myers <joseph@codesourcery.com>
1729
1730 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1731 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1732 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1733 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1734
1735 2012-09-12 Joseph Myers <joseph@codesourcery.com>
1736
1737 [BZ #14518]
1738 * include/rounding-mode.h: New file.
1739 * sysdeps/generic/get-rounding-mode.h: Likewise.
1740 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1741 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1742 (MAX_VALUE): New macro.
1743 (MIN_VALUE): Likewise.
1744 (overflow_value): New function.
1745 (underflow_value): Likewise.
1746 (round_and_return): Use overflow_value and underflow_value to
1747 determine return values in overflow and underflow cases. Use
1748 round_away to determine rounding depending on rounding mode.
1749 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1750 determine return values in overflow and underflow cases.
1751 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1752 (struct test_results): New structure.
1753 (struct test): Use struct test_results to store expected results
1754 for all rounding modes.
1755 (TEST): Include expected results for all rounding modes.
1756 (test_in_one_mode): New function.
1757 (do_test): Use test_in_one_mode to compute and check results.
1758 Check results for all rounding modes.
1759 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1760 $(link-libm).
1761
1762 2012-12-09 Allan McRae <allan@archlinux.org>
1763
1764 * sysdeps/i386/fpu/libm-test-ulps: Update
1765
1766 2012-09-11 Joseph Myers <joseph@codesourcery.com>
1767
1768 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1769 (_G_int32_t): Likewise.
1770 (_G_uint16_t): Likewise.
1771 (_G_uint32_t): Likewise.
1772 (_G_HAVE_BOOL): Likewise.
1773 (_G_HAVE_ATEXIT): Likewise.
1774 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1775 (_G_HAVE_IO_FILE_OPEN): Likewise.
1776 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1777 (_G_int32_t): Likewise.
1778 (_G_uint16_t): Likewise.
1779 (_G_uint32_t): Likewise.
1780 (_G_HAVE_BOOL): Likewise.
1781 (_G_HAVE_ATEXIT): Likewise.
1782 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1783 (_G_HAVE_IO_FILE_OPEN): Likewise.
1784 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1785 (_G_int32_t): Likewise.
1786 (_G_uint16_t): Likewise.
1787 (_G_uint32_t): Likewise.
1788 (_G_HAVE_BOOL): Likewise.
1789 (_G_HAVE_ATEXIT): Likewise.
1790 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1791 (_G_HAVE_IO_FILE_OPEN): Likewise.
1792
1793 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1794
1795 * csu/libc-tls.c: Update copyright years.
1796
1797 2012-09-10 Joseph Myers <joseph@codesourcery.com>
1798
1799 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1800 [!_G_USING_THUNKS]: Remove conditional code.
1801 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1802 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1803
1804 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1805 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1806 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1807 (_G_VTABLE_LABEL_PREFIX): Likewise.
1808 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1809 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1810 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1811 (_G_VTABLE_LABEL_PREFIX): Likewise.
1812 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1813 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1814 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1815 (_G_VTABLE_LABEL_PREFIX): Likewise.
1816 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1817
1818 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1819
1820 * libio/Makefile: Include ../Makeconfig before tests.
1821 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1822 only if $(build-shared) is yes.
1823
1824 * iconv/gconv_db.c: Update copyright years.
1825
1826 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1827
1828 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1829 unwind info if defined PIC. Fix special cases description.
1830 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1831
1832 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1833 DP_HI_MASK entry.
1834 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1835
1836 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1837
1838 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1839
1840 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1841 is NULL.
1842
1843 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1844 (LDLIBS-tst-chk4): This.
1845 (LDFLAGS-tst-chk5): Renamed to ...
1846 (LDLIBS-tst-chk5): This.
1847 (LDFLAGS-tst-chk6): Renamed to ...
1848 (LDLIBS-tst-chk6): This.
1849 (LDFLAGS-tst-lfschk4): Renamed to ...
1850 (LDLIBS-tst-lfschk4): This.
1851 (LDFLAGS-tst-lfschk5): Renamed to ...
1852 (LDLIBS-tst-lfschk5): This.
1853 (LDFLAGS-tst-lfschk6): Renamed to ...
1854 (LDLIBS-tst-lfschk6): This.
1855
1856 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1857 on $(common-objpfx)soversions.mk.
1858
1859 2012-09-07 Joseph Myers <joseph@codesourcery.com>
1860
1861 [BZ #10014]
1862 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1863 example host name.
1864
1865 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1866
1867 * malloc/arena.c (arena_get_retry): New function that gets
1868 another arena for the caller to try its request on.
1869 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1870 current arena cannot fulfill the request.
1871 (__libc_memalign): Likewise.
1872 (__libc_memalign): Likewise.
1873 (__libc_pvalloc): Likewise.
1874 (__libc_calloc): Likewise.
1875
1876 2012-09-05 John Tobey <john.tobey@gmail.com>
1877
1878 [BZ #13542]
1879 * manual/arith.texi (Operations on Complex): Fix description
1880 of carg branch cut.
1881
1882 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1883
1884 [BZ #10014]
1885 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1886 host name.
1887
1888 [BZ #10038]
1889 * manual/memory.texi (Memory): Make order of menu items match
1890 order of sections.
1891
1892 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1893
1894 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1895 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1896 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1897
1898 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1899
1900 * csu/libc-tls.c (static_dtv): Renamed to ...
1901 (_dl_static_dtv): This. Make it global.
1902 (_dl_initial_dtv): Removed.
1903 (__libc_setup_tls): Updated.
1904 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1905 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1906 DL_INITIAL_DTV.
1907
1908 2012-09-06 Petr Machata <pmachata@redhat.com>
1909
1910 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1911 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1912 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1913 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1914
1915 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1916
1917 [BZ #14545]
1918 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1919 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1920 freeing dtv[-1].
1921
1922 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1923
1924 [BZ #14544]
1925 * Makeconfig (link-static-before-libc): Replace $(+prector)
1926 with $(+prectorT).
1927 (link-static-after-libc): Replace $(+postctor) with
1928 $(+postctorT).
1929 (link-bounded): Replace $(+prector)/$(+postctor) with
1930 $(+prectorT)/$(+postctorT).
1931 (+prectorT): New macro.
1932 (+postctorT): Likewise.
1933
1934 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1935
1936 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1937 (round_str): Handle values above the maximum for IBM long double
1938 as inexact.
1939 * stdlib/tst-strtod-round.c (tests): Regenerated.
1940
1941 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1942
1943 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1944 assembler flag.
1945 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1946 zarch_nohighgprs around the zarch optimized routines.
1947 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1948 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1949 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1950 for zarch.
1951
1952 2012-09-05 David S. Miller <davem@davemloft.net>
1953
1954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1955
1956 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1957 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1958 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1959 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1960 entries.
1961
1962 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1963
1964 * malloc/arena.c: Fold copyright years.
1965 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1966
1967 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1968
1969 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1970
1971 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1972
1973 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1974
1975 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1976
1977 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1978 change internal state upon failure.
1979
1980 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1981
1982 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1983 * malloc/memusage.c (mmap): Likewise.
1984 (mmap64, mremap): Likewise. Adjust name in comment.
1985
1986 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1987
1988 * libio/fileops.c: Fix typos in comments.
1989 * libio/oldfileops.c: Likewise.
1990 * libio/wfileops.c: Likewise.
1991
1992 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1993
1994 [BZ #1349]
1995 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1996 (tst-malloc-usable-ENV): Set environment for test case.
1997 * malloc/hooks.c (malloc_check_get_size): New function to get
1998 requested size.
1999 * malloc/malloc.c (musable): Use malloc_check_get_size.
2000 * malloc/tst-malloc-usable.c: New test case.
2001
2002 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2003
2004 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
2005
2006 2012-09-05 Allan McRae <allan@archlinux.org>
2007
2008 [BZ #13966]
2009 * configure.in (CXX_SYSINCLUDES): Use compiler output to
2010 determine header location.
2011 * configure: Regenerated.
2012
2013 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2014
2015 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2016 float format.
2017 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
2018 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2019 format.
2020 (test): Regenerate.
2021
2022 2012-09-04 David S. Miller <davem@davemloft.net>
2023
2024 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2025 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2026 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2027
2028 2012-09-04 Florian Weimer <fweimer@redhat.com>
2029
2030 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2031 failures.
2032
2033 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2034
2035 2012-09-04 Joseph Myers <joseph@codesourcery.com>
2036
2037 [BZ #9914]
2038 * libio/iogetdelim.c: Include <limits.h>.
2039 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2040 + len + 1 would overflow.
2041
2042 2012-09-03 Andreas Jaeger <aj@suse.de>
2043
2044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2045 * sysdeps/i386/fpu/libm-test-ulps: Update.
2046
2047 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2048
2049 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2050 Add s_sinf-sse2, s_conf-sse2.
2051
2052 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2053 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2054 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2055 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2056
2057 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2058 for using routine as __sinf_ia32.
2059 Use macro for function declaration and weak_alias.
2060 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2061 for using routine as __cosf_ia32.
2062 Use macro for function declaration and weak_alias.
2063
2064 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2065 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2066
2067 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2068 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2069 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2070
2071 * math/libm-test.inc (cos_test): Add more test cases.
2072 (sin_test): Likewise.
2073 (sincos_test): Likewise.
2074
2075 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2076
2077 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2078 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2079 hidden.
2080 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2081
2082 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2083
2084 [BZ #14538]
2085 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2086 first element of the GOT.
2087 (elf_machine_load_address): Return the difference between
2088 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2089
2090 2012-09-01 Allan McRae <allan@archlinux.org>
2091
2092 [BZ #13412]
2093 * configure.in (AWK): Require gawk version 3.0 or later.
2094 * configure: Regenerated.
2095
2096 2012-09-01 Joseph Myers <joseph@codesourcery.com>
2097
2098 * sysdeps/unix/sysv/linux/kernel-features.h
2099 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2100 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2101 [__NR_clock_getres]: Make code unconditional.
2102 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2103 (clock_getcpuclockid): Remove code left unreachable by removal of
2104 conditionals.
2105 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2106 code unconditional.
2107 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2108 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2109 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2110 Make code unconditional.
2111 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2112 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2113 * sysdeps/unix/sysv/linux/clock_settime.c
2114 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2115 conditional code.
2116 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2117 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2118
2119 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2120
2121 [BZ #14476]
2122 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2123 scripts/test-installation.pl.
2124
2125 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2126 and $ld_so_version if it is set.
2127
2128 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2129
2130 [BZ #14516]
2131 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2132 failure if reading from procfs failed.
2133 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2134
2135 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2136
2137 * sysdeps/unix/sysv/linux/kernel-features.h
2138 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2139 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2140 Remove conditional code.
2141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2142 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2143 Remove conditional code.
2144 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2145 * sysdeps/unix/sysv/linux/i386/fxstat.c
2146 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2147 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2148 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2149 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2150 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2151 * sysdeps/unix/sysv/linux/i386/lxstat.c
2152 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2153 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2154 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2155 Remove conditional code.
2156 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2157 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2158 Remove conditional code.
2159 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2160 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2161 <kernel-features.h>.
2162 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2163 Remove.
2164 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2165 Remove conditional code.
2166 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2167 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2168 Remove conditional.
2169
2170 2012-08-27 Mike Frysinger <vapier@gentoo.org>
2171
2172 [BZ #5400]
2173 * NEWS: Add fixed bug number.
2174
2175 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2176
2177 [BZ #14519]
2178 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2179 underflowing exponent in case of negative sign.
2180 * stdlib/tst-strtod-round-data: Add more tests.
2181 * stdlib/tst-strtod-round.c (tests): Regenerated.
2182
2183 [BZ #3479]
2184 * stdlib/strtod_l.c (NDIG): Remove.
2185 (HEXNDIG): Likewise.
2186 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2187 smallest representable value.
2188 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2189 lie within an exact representation of 1/2 ulp of the result.
2190 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2191 unconditionally.
2192 (TENS_P9_IDX): Define unconditionally.
2193 (TENS_P9_SIZE): Likewise.
2194 (TENS_P10_IDX): Likewise.
2195 (TENS_P10_SIZE): Likewise.
2196 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2197 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2198 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2199 entries for 10^2^13 and 10^2^14.
2200 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2201 (TENS_P13_IDX): Define.
2202 (TENS_P13_SIZE): Likewise.
2203 (TENS_P14_IDX): Likewise.
2204 (TENS_P14_SIZE): Likewise.
2205 (_fpioconst_pow10): Change array size to
2206 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2207 unconditional.
2208 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2209 1024]: Add entries for 10^2^13 and 10^2^14.
2210 [LAST_POW10 > _LAST_POW10]: Remove #error.
2211 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2212 (_fpioconst_pow10): Change array size to
2213 FPIOCONST_POW10_ARRAY_SIZE.
2214 * stdlib/gen-fpioconst.c: New file.
2215 * stdlib/gen-tst-strtod-round.c: Likewise.
2216 * stdlib/tst-strtod-round-data: Likewise.
2217 * stdlib/tst-strtod-round.c: Likewise.
2218 * stdlib/Makefile (tests): Add tst-strtod-round.
2219
2220 [BZ #14459]
2221 * stdlib/strtod_l.c: Include <stdint.h>.
2222 (NDEBUG): Do not define.
2223 (round_and_return): Change EXPONENT parameter to type intmax_t.
2224 Rearrange calculations to avoid internal overflow possibilities.
2225 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2226 Rearrange calculations to avoid internal overflow possibilities.
2227 Assert that number fits inside MPNSIZE limbs.
2228 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2229 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2230 calculations and add assertions to avoid internal overflow
2231 possibilities. Add casts to avoid signed/unsigned operations.
2232 * stdlib/tst-strtod-overflow.c: New file.
2233 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2234
2235 2012-08-25 Marek Polacek <polacek@redhat.com>
2236
2237 * time/time.h: Fix some typos in comments.
2238
2239 2012-08-23 Roland McGrath <roland@hack.frob.com>
2240
2241 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2242 * posix/tst-rfc3484-2.c: Likewise.
2243 * posix/tst-rfc3484-3.c: Likewise.
2244
2245 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2246
2247 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2248 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2249
2250 2012-08-23 Joseph Myers <joseph@codesourcery.com>
2251
2252 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2253 #include of fxstatat64.c.
2254
2255 2012-08-22 Roland McGrath <roland@hack.frob.com>
2256
2257 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2258 * shadow/getspent_r.c: Likewise.
2259 * shadow/getspnam.c: Likewise.
2260 * shadow/getspnam_r.c: Likewise.
2261 * gshadow/getsgent.c: Likewise.
2262 * gshadow/getsgent_r.c: Likewise.
2263 * gshadow/getsgnam.c: Likewise.
2264 * gshadow/getsgnam_r.c: Likewise.
2265 * inet/getnetbyad.c: Likewise.
2266 * inet/getnetbyad_r.c: Likewise.
2267 * inet/getnetbynm.c: Likewise.
2268 * inet/getnetbynm_r.c: Likewise.
2269 * inet/getnetent.c: Likewise.
2270 * inet/getnetent_r.c: Likewise.
2271 * inet/getproto.c: Likewise.
2272 * inet/getproto_r.c: Likewise.
2273 * inet/getprtent.c: Likewise.
2274 * inet/getprtent_r.c: Likewise.
2275 * inet/getprtname.c: Likewise.
2276 * inet/getprtname_r.c: Likewise.
2277 * inet/getrpcbyname.c: Likewise.
2278 * inet/getrpcbyname_r.c: Likewise.
2279 * inet/getrpcbynumber.c: Likewise.
2280 * inet/getrpcbynumber_r.c: Likewise.
2281 * inet/getrpcent.c: Likewise.
2282 * inet/getrpcent_r.c: Likewise.
2283 * inet/getaliasent.c: Likewise.
2284 * inet/getaliasent_r.c: Likewise.
2285 * inet/getaliasname.c: Likewise.
2286 * inet/getaliasname_r.c: Likewise.
2287 * nscd/getgrgid_r.c: Likewise.
2288 * nscd/getgrnam_r.c: Likewise.
2289 * nscd/gethstbyad_r.c: Likewise.
2290 * nscd/gethstbynm3_r.c: Likewise.
2291 * nscd/getpwnam_r.c: Likewise.
2292 * nscd/getpwuid_r.c: Likewise.
2293 * nscd/getsrvbynm_r.c: Likewise.
2294 * nscd/getsrvbypt_r.c: Likewise.
2295 * nscd/gai.c: Likewise.
2296
2297 * configure.in (build_nscd): New substituted variable, set
2298 by --disable-build-nscd and defaults to $use_nscd.
2299 * configure: Regenerated.
2300 * config.make.in (build-nscd): New substituted variable.
2301 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2302 Change conditional to require [$(build-nscd) = yes] as well.
2303 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2304
2305 [BZ# 13696]
2306 * configure.in (use_nscd): New substituted variable, set by
2307 --disable-nscd. If enabled, define USE_NSCD.
2308 * configure: Regenerated.
2309 * config.h.in: Add USE_NSCD.
2310 * config.make.in (use-nscd): New substituted variable.
2311 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2312 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2313 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2314 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2315 (CFLAGS-getgrnam_r.c): Likewise.
2316 (CFLAGS-initgroups.c): Likewise.
2317 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2318 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2319 Variables removed.
2320 * inet/getnetgrent_r.c
2321 (nscd_setnetgrent): New function, broken out of ...
2322 (setnetgrent): ... here. Call it.
2323 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2324 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2325 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2326 * nscd/Makefile (routines, aux): Move definitions after include of
2327 Makeconfig. Conditionalize on [$(use-nscd) != no].
2328 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2329 Conditionalize on [USE_NSCD].
2330 (is_nscd, nscd_init_cb): Likewise.
2331 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2332 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2333 * nss/nss_db/db-init.c: Likewise.
2334 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2335 [USE_NSCD].
2336 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2337 (make_request): Use it.
2338 (cache_valid_p): New function.
2339 (__check_pf): Use it.
2340 * NEWS: Add item for --disable-nscd.
2341
2342 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2343
2344 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2345 to support sed >= 4.2.1-20-ga9bf076.
2346 * configure: Regenerated.
2347
2348 2012-08-22 Roland McGrath <roland@hack.frob.com>
2349
2350 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2351 Conditionalize whole body on [IREL].
2352
2353 2012-08-22 Jeff Law <law@redhat.com>
2354
2355 [BZ #14505]
2356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2357 if the family is PF_UNSPEC.
2358
2359 2012-08-22 Mike Frysinger <vapier@gentoo.org>
2360
2361 * Makerules (lib-version): Rename from V.
2362 (install-lib-nosubdir): Change V to lib-version.
2363
2364 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2365
2366 [BZ #14252]
2367 * powerpc32/power6/wcschr.c: New file.
2368 * powerpc32/power6/wcscpy.c: New file.
2369 * powerpc32/power6/wcsrchr.c: New file.
2370 * powerpc64/power6/wcschr.c: New file.
2371 * powerpc64/power6/wcscpy.c: New file.
2372 * powerpc64/power6/wcsrchr.c: New file.
2373
2374 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2375
2376 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2377 (two_way_short_needle): Use it.
2378 * string/strstr.c (AVAILABLE1_USES_J): Define.
2379 * string/strcasestr.c: Likewise.
2380
2381 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2382 array references.
2383 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2384
2385 [BZ #11607]
2386 * NEWS: Add an entry.
2387 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2388 define their defaults.
2389 (two_way_short_needle): Detect end-of-string on-the-fly.
2390 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2391 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2392 * string/bug-strcasestr1.c: New test.
2393 * string/Makefile: Run it.
2394
2395 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2396
2397 [BZ #11607]
2398 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2399 the first character.
2400
2401 2012-08-21 Roland McGrath <roland@hack.frob.com>
2402
2403 * csu/elf-init.c (__libc_csu_irel): Function removed.
2404 * csu/libc-start.c (apply_irel): New function.
2405 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2406
2407 2012-08-21 Joseph Myers <joseph@codesourcery.com>
2408
2409 * sysdeps/unix/sysv/linux/kernel-features.h
2410 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2411 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2412 <kernel-features.h>.
2413 [__NR_fadvise64_64]: Make code unconditional.
2414 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2415 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2416 !__NR_fadvise64_64)]: Likewise.
2417 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2418 !__NR_fadvise64_64))]: Likewise.
2419 [__NR_fadvise64]: Make code unconditional.
2420 [!__NR_fadvise64]: Remove conditional code.
2421 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2422 <kernel-features.h>.
2423 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2424 unconditional.
2425 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2426 conditional code.
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2428 not include <kernel-features.h>.
2429 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2430 unconditional.
2431 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2432 conditional code.
2433 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2434 include <kernel-features.h>.
2435 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2436 unconditional.
2437 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2438 conditional code.
2439
2440 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2441
2442 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2443 slight instruction rearrangements per scrollpipe analysis.
2444 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2445
2446 2012-08-20 Roland McGrath <roland@hack.frob.com>
2447
2448 * manual/syslog.texi (syslog; vsyslog, closelog):
2449 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2450 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2451
2452 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2453 DSOCAPS to match condition on defining it.
2454
2455 2012-08-20 Joseph Myers <joseph@codesourcery.com>
2456
2457 * sysdeps/unix/sysv/linux/kernel-features.h
2458 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2460 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2461 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2463 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2464 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2466 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2467 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2468
2469 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2470 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2471
2472 * sysdeps/unix/sysv/linux/kernel-features.h
2473 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2474 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2475 unconditional.
2476 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2477 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2478 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2479 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2480 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2481 Make code unconditional.
2482 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2483 (__mmap64) [!__NR_mmap2]: Likewise.
2484 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2485 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2486 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2487 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2488 [__NR_mmap2]: Make code unconditional.
2489 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2490 (__mmap64) [!__NR_mmap2]: Likewise.
2491
2492 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2493
2494 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2495
2496 2012-08-18 Andreas Jaeger <aj@suse.de>
2497
2498 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2499
2500 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2501
2502 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2503 * include/unistd.h (__have_sock_cloexec): Likewise.
2504 (__have_pipe2): Likewise.
2505 (__have_dup3): Likewise.
2506
2507 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2508
2509 [BZ #9685]
2510 * include/unistd.h (__have_pipe2): Change define into an extern int.
2511 (__have_dup3): Likewise.
2512 * socket/have_sock_cloexec.c: Include fcntl.h.
2513 (__have_pipe2): New variable.
2514 (__have_dup3): Likewise.
2515
2516 2012-08-17 Mike Frysinger <vapier@gentoo.org>
2517
2518 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2519
2520 2012-08-17 Marek Polacek <polacek@redhat.com>
2521
2522 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2523 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2524
2525 2012-08-17 Roland McGrath <roland@hack.frob.com>
2526
2527 * configure.in: Add AC_SUBST for sysheaders.
2528 * configure: Regenerated.
2529 * config.make.in (sysheaders): New substituted variable.
2530
2531 * sysdeps/unix/mkfifo.c: Moved ...
2532 * sysdeps/posix/mkfifo.c: ... here.
2533 * sysdeps/unix/mkfifoat.c: Moved ...
2534 * sysdeps/posix/mkfifoat.c: ... here.
2535
2536 * sysdeps/unix/utime.c: Moved ...
2537 * sysdeps/posix/utime.c: ... here.
2538
2539 * sysdeps/unix/time.c: Moved ...
2540 * sysdeps/posix/time.c: ... here.
2541 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2542 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
2543
2544 * sysdeps/unix/nice.c: Moved ...
2545 * sysdeps/posix/nice.c: ... here.
2546
2547 * sysdeps/unix/alarm.c: Moved ...
2548 * sysdeps/posix/alarm.c: ... here.
2549
2550 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2551
2552 2012-08-17 Jeff Law <law@redhat.com>
2553
2554 * intl/Makefile (codeset_mo): New variable.
2555 ($(codeset_mo)): New target.
2556 (tst-codeset.out): Depend on that. Remove explicit rule.
2557 (tst-gettext3.out, tst-gettext5.out): Likewise.
2558 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2559 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2560 * intl/tst-codeset.sh: Remove.
2561 * intl/tst-gettext3.sh: Likewise.
2562 * intl/tst-gettext5.sh: Likewise.
2563
2564 2012-08-17 Roland McGrath <roland@hack.frob.com>
2565
2566 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2567 * sysdeps/unix/syscalls.list: ... here.
2568
2569 * sysdeps/posix/getaddrinfo.c
2570 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2571 (gaiconf_init, gaiconf_reload): Use them.
2572 [!_STATBUF_ST_NSEC]
2573 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2574 Define using time_t rather than struct timespec.
2575
2576 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2577 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2578 Macros removed.
2579 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2580 [!NO_THREADS].
2581 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2582 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2583 Likewise.
2584
2585 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2586 __libc_cleanup_push argument.
2587
2588 * bits/param.h: New file.
2589 * misc/sys/param.h: New file.
2590 * include/sys/param.h: New file.
2591 * misc/Makefile (headers): Add bits/param.h.
2592 * sysdeps/generic/sys/param.h: File removed.
2593 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2594 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2595 * sysdeps/mach/hurd/bits/param.h: New file.
2596 * sysdeps/mach/hurd/sys/param.h: File removed.
2597
2598 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2599 last change.
2600
2601 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2602 [_IO_MTSAFE_IO].
2603 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2604 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2605 New macros.
2606
2607 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2608 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2609 rather than -D_IO_MTSAFE_IO conditionally.
2610 * stdio-common/Makefile (CPPFLAGS): Likewise.
2611 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2612 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2613 Use $(libio-mtsafe).
2614 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2615 of -D_IO_MTSAFE_IO.
2616 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2617 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2618 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2619 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2620 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2621 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2622 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2623 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2624 (CFLAGS-fread_u_chk.c): Likewise.
2625 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2626 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2627 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2628 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2629 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2630 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2631 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2632 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2633 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2634
2635 * libio/Makefile: Test [$(libc-reentrant) = yes]
2636 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2637
2638 * Makeconfig
2639 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2640 * sysdeps/pthread/configure: File removed.
2641 * sysdeps/pthread/Makeconfig: New file.
2642 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2643 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2644
2645 2012-08-16 Gary Benson <gbenson@redhat.com>
2646
2647 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2648 unmapping the first object in a namespace.
2649
2650 2012-08-16 Roland McGrath <roland@hack.frob.com>
2651
2652 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2653 (__internal_setnetgrent): ... this. Add internal_function to
2654 definition. Add libc_hidden_def.
2655 (setnetgrent): Update caller.
2656 (internal_endnetgrent): Renamed to ...
2657 (__internal_endnetgrent): ... this. Add internal_function to
2658 definition. Add libc_hidden_def.
2659 (endnetgrent): Update caller.
2660 (internal_getnetgrent_r): Renamed to ...
2661 (__internal_getnetgrent_r): ... this. Add internal_function to
2662 definition. Add libc_hidden_def.
2663 (__getnetgrent_r): Update caller.
2664 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2665
2666 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2667
2668 * stdlib/longlong.h: Update from GCC.
2669
2670 2012-08-16 Roland McGrath <roland@hack.frob.com>
2671
2672 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2673 on _QL, which is set by umul_ppmm but never used.
2674 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2675 variables, which are set by GMP macros but never used.
2676 * stdio-common/_itowa.c (_itowa): Likewise.
2677 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2678 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2679
2680 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2681
2682 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2683 struct La_sh_regs is not constant.
2684 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2685 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2686 and struct La_sparc64_regs are not constant.
2687
2688 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2689
2690 * sysdeps/unix/sysv/linux/kernel-features.h
2691 (__ASSUME_POSIX_TIMERS): Remove.
2692 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2693 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2694 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2695 Make code unconditional.
2696 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2697 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2698 Make code unconditional.
2699 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2700 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2701 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2702 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2703 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2704 Make code unconditional.
2705 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2706 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2707 (__libc_missing_posix_timers): Remove.
2708
2709 2012-08-15 Roland McGrath <roland@hack.frob.com>
2710
2711 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2712 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2713
2714 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2715
2716 * elf/dl-sym.c: Include <stdlib.h>.
2717
2718 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2719 constants, which avoids warnings in 32-bit builds.
2720
2721 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2722 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2723
2724 * misc/lseek.c: File moved to ...
2725 * io/lseek.c: ... here.
2726
2727 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2728
2729 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2730 shifting LEN more than 31 bits at once.
2731
2732 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2733
2734 [BZ #14195]
2735 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2736 segmentation fault for a case of two empty input strings.
2737 * string/test-strncasecmp.c (check1): Renamed to...
2738 (bz12205): ...this.
2739 (bz14195): Add new testcase for two empty input strings and N > 0.
2740 (test_main): Call new testcase, adapt for renamed function.
2741
2742 2012-08-15 Andreas Jaeger <aj@suse.de>
2743
2744 [BZ #14090]
2745 * crypt/md5test2.c: New test, based on test supplied by Serge
2746 Belyshev <belyshev@depni.sinp.msu.ru>.
2747 * crypt/Makefile (xtests): Add md5test-giant..
2748 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2749
2750 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2751
2752 [BZ #14090]
2753 * crypt/md5.c (md5_process_block): Don't assume the buffer
2754 length is less than 2**32.
2755 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2756 length is less than 2**64.
2757
2758 2012-08-15 Roland McGrath <roland@hack.frob.com>
2759
2760 * string/str-two-way.h: Include <sys/param.h>.
2761 (MAX): Macro removed.
2762
2763 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2764 Move #define and #undef of memmove to just before and after
2765 including <string.h>.
2766
2767 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2768 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2769 and after including <string.h>. Move declarations of
2770 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2771 to before #include "string/memmove.c".
2772
2773 * include/dirent.h: Declare __getdirentries.
2774
2775 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2776 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2777
2778 2012-08-14 Mike Frysinger <vapier@gentoo.org>
2779
2780 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2781 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2782 * sysdeps/i386/configure: Regenerated.
2783 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2784 STABS_CURRENT_FILE, and STABS_FUN.
2785 (END): Remove call to STABS_FUN_END.
2786 (STABS_CURRENT_FILE1): Delete.
2787 (STABS_CURRENT_FILE): Likewise.
2788 (STABS_FUN): Likewise.
2789 (STABS_FUN_END): Likewise.
2790 (STABS_FUN2): Likewise.
2791 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2792 * sysdeps/x86_64/configure: Regenerated.
2793
2794 2012-08-14 Roland McGrath <roland@hack.frob.com>
2795
2796 * elf/dl-open.c: Include <atomic.h>.
2797 * elf/dl-lookup.c: Likewise.
2798
2799 2012-08-14 Joseph Myers <joseph@codesourcery.com>
2800
2801 * sysdeps/unix/sysv/linux/kernel-features.h
2802 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2803 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2804 unconditionally.
2805 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2806 unconditionally.
2807 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2808 condition on __ASSUME_CLONE_THREAD_FLAGS.
2809
2810 2012-08-14 Andreas Jaeger <aj@suse.de>
2811
2812 * sysdeps/i386/fpu/libm-test-ulps: Update.
2813
2814 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2815
2816 * include/atomic.h (atomic_exchange_and_add): Split into ...
2817 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2818 New atomic macros.
2819
2820 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2821
2822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2823
2824 2012-08-13 Jeff Law <law@redhat.com>
2825
2826 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2827 null byte in the output string.
2828
2829 2012-08-10 Joseph Myers <joseph@codesourcery.com>
2830
2831 * sysdeps/unix/sysv/linux/kernel-features.h
2832 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2833 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2834 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2835 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2836 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2837 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2838 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2839
2840 2012-08-09 Jeff Law <law@redhat.com>
2841
2842 [BZ #13939]
2843 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2844 When avoid_arena is set, don't retry in the that arena. Pick the
2845 next one, whatever it might be.
2846 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2847 (arena_lock): Pass in new parameter to arena_get2.
2848 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2849 arena_get2.
2850 (__libc_malloc): Unify retrying after main arena failure with
2851 __libc_memalign version.
2852 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2853
2854 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2855
2856 [BZ #14166]
2857 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2858 to __redirect_strstr.
2859 (__strstr_sse42): Use typeof __redirect_strstr.
2860 (__strstr_ia32): Likewise.
2861 (__libc_strstr): New prototype.
2862 (strstr): Renamed to ...
2863 (__libc_strstr): This.
2864 (strstr): New strong alias of __libc_strstr.
2865 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2866 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2867 __redirect_time.
2868 Include <time.h>.
2869 (__libc_time): New prototype.
2870 (time_ifunc): Replace time with __libc_time.
2871 (time): New strong alias and hidden definition of __libc_time.
2872 (__GI_time): Remove strong alias.
2873 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2874 Include <stddef.h>.
2875 (memmove): Redefined to __redirect_memmove.
2876 (__memmove_sse2): Use typeof __redirect_memmove.
2877 (__memmove_ssse3): Likewise.
2878 (__memmove_ssse3_back): Likewise.
2879 (__libc_memmove): New prototype.
2880 (memmove): Renamed to ...
2881 (__libc_memmove): This.
2882 (memmove): New strong alias of __libc_memmove.
2883
2884 2012-08-08 Mark Salter <msalter@redhat.com>
2885
2886 * elf/elf.h
2887 (R_MN10300_TLS_GD): Define.
2888 (R_MN10300_TLS_LD): Likewise.
2889 (R_MN10300_TLS_LDO): Likewise.
2890 (R_MN10300_TLS_GOTIE): Likewise.
2891 (R_MN10300_TLS_IE): Likewise.
2892 (R_MN10300_TLS_LE): Likewise.
2893 (R_MN10300_TLS_DTPMOD): Likewise.
2894 (R_MN10300_TLS_DTPOFF): Likewise.
2895 (R_MN10300_TLS_TPOFF): Likewise.
2896 (R_MN10300_SYM_DIFF): Likewise.
2897 (R_MN10300_ALIGN): Likewise.
2898 (R_MN10300_NUM): Update.
2899
2900 2012-08-08 Joseph Myers <joseph@codesourcery.com>
2901
2902 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2903 Remove.
2904
2905 2012-08-08 Roland McGrath <roland@hack.frob.com>
2906
2907 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2908
2909 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2910 sysdeps/unix -> sysdeps/posix move.
2911 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2912
2913 2012-08-07 Allan McRae <allan@archlinux.org>
2914
2915 [BZ #14303]
2916 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2917 (SUNOS_CPP): Likewise.
2918 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2919 not found.
2920 (open_input): Call CPP using execvp.
2921
2922 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2923
2924 * sysdeps/unix/sysv/linux/kernel-features.h
2925 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2926 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2927 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2928 (__ASSUME_WAITID_SYSCALL): Likewise.
2929 * sysdeps/unix/sysv/linux/dl-execstack.c
2930 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2931 code unconditional.
2932 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2933 conditional code.
2934 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2935 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2936 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2937 code.
2938 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2939 unconditional.
2940 [__ASSUME_WAITID_SYSCALL]: Likewise.
2941 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2942
2943 2012-08-07 Roland McGrath <roland@hack.frob.com>
2944
2945 * sysdeps/unix/closedir.c: Renamed to ...
2946 * sysdeps/posix/closedir.c: ... here.
2947 * sysdeps/unix/dirfd.c: Renamed to ...
2948 * sysdeps/posix/dirfd.c: ... here.
2949 * sysdeps/unix/dirstream.h: Renamed to ...
2950 * sysdeps/posix/dirstream.h: ... here.
2951 * sysdeps/unix/fdopendir.c: Renamed to ...
2952 * sysdeps/posix/fdopendir.c: ... here.
2953 * sysdeps/unix/opendir.c: Renamed to ...
2954 * sysdeps/posix/opendir.c: ... here.
2955 * sysdeps/unix/readdir.c: Renamed to ...
2956 * sysdeps/posix/readdir.c: ... here.
2957 * sysdeps/unix/readdir_r.c: Renamed to ...
2958 * sysdeps/posix/readdir_r.c: ... here.
2959 * sysdeps/unix/rewinddir.c: Renamed to ...
2960 * sysdeps/posix/rewinddir.c: ... here.
2961 * sysdeps/unix/seekdir.c: Renamed to ...
2962 * sysdeps/posix/seekdir.c: ... here.
2963 * sysdeps/unix/telldir.c: Renamed to ...
2964 * sysdeps/posix/telldir.c: ... here.
2965 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2966 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2967 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2968 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2969
2970 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2971 * bits/fcntl.h: ... here.
2972
2973 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2974 not 0.
2975 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2976 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2977 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2978 (struct flock): Move l_start, l_len to the beginning.
2979 Use __pid_t for l_pid.
2980 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2981 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2982 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2983 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2984 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2985 [__USE_LARGEFILE64] (struct flock64): New type.
2986 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2987
2988 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2989 * bits/dirent.h: ... here.
2990
2991 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2992 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2993
2994 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2995
2996 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2997 Change from 2.6.0 to 2.6.16.
2998 * sysdeps/unix/sysv/linux/configure: Regenerated.
2999 * sysdeps/unix/sysv/linux/kernel-features.h
3000 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
3001 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
3002 version.
3003 (__ASSUME_UTIMES): Likewise.
3004 (__ASSUME_CLONE_STOPPED): Remove.
3005 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
3006 architectures, not kernel version.
3007 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3008 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3009 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3010 (__ASSUME_WAITID_SYSCALL): Likewise.
3011 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3012 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3013 * README: State 2.6.16 as minimum Linux kernel version. Do not
3014 refer to older versions.
3015
3016 2012-08-06 Roland McGrath <roland@hack.frob.com>
3017
3018 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3019 Define alphasort64 as an alias.
3020 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3021 Define versionsort64 as an alias.
3022 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3023 Define scandir64 as an alias.
3024 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3025 Define scandirat64 as an alias.
3026 * dirent/alphasort64.c (alphasort64):
3027 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3028 * dirent/versionsort64.c: Likewise.
3029 * dirent/scandir64.c: Likewise.
3030 * dirent/scandirat64.c: Likewise.
3031 * sysdeps/wordsize-64/alphasort.c: File removed.
3032 * sysdeps/wordsize-64/alphasort64.c: File removed.
3033 * sysdeps/wordsize-64/scandir.c: File removed.
3034 * sysdeps/wordsize-64/scandir64.c: File removed.
3035 * sysdeps/wordsize-64/scandirat.c: File removed.
3036 * sysdeps/wordsize-64/scandirat64.c: File removed.
3037 * sysdeps/wordsize-64/versionsort.c: File removed.
3038 * sysdeps/wordsize-64/versionsort64.c: File removed.
3039 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3040 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3041 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3042 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3043 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3044 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3045 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3046 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3047
3048 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3049 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3050 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3051 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3052 [defined __arch64__ || defined __sparcv9]
3053 (__INO_T_MATCHES_INO64_T): New macro.
3054 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3055 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3056 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3057 * sysdeps/unix/sysv/linux/bits/dirent.h
3058 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3059 (_DIRENT_MATCHES_DIRENT64): New macro.
3060
3061 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3062 Define lockf64 as an alias.
3063 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3064 Define fseeko64 as an alias.
3065 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3066 Define ftello64 as an alias.
3067 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3068 Define _IO_fgetpos64 and fgetpos64 as aliases.
3069 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3070 Define _IO_fsetpos64 and fsetpos64 as aliases.
3071 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3072 Conditionalize body on this.
3073 * libio/fseeko64.c: Likewise.
3074 * libio/ftello64.c: Likewise.
3075 * libio/iofgetpos64.c: Likewise.
3076 * libio/iofsetpos64.c: Likewise.
3077 * sysdeps/wordsize-64/lockf.c: File removed.
3078 * sysdeps/wordsize-64/lockf64.c: File removed.
3079 * sysdeps/wordsize-64/fseeko.c: File removed.
3080 * sysdeps/wordsize-64/fseeko64.c: File removed.
3081 * sysdeps/wordsize-64/ftello.c: File removed.
3082 * sysdeps/wordsize-64/ftello64.c: File removed.
3083 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3084 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3085 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3086 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3087 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3088 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3089 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3090 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3091 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3092 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3093 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3094 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3095 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3096 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3097
3098 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3099 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3100 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3101 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3102 [defined __arch64__ || defined __sparcv9]
3103 (__OFF_T_MATCHES_OFF64_T): New macro.
3104 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3105 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3106 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3107 (__OFF_T_MATCHES_OFF64_T): New macro.
3108
3109 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3110
3111 * stdlib/secure-getenv.c (__secure_getenv): Replace
3112 GLIBC_2_16 with GLIBC_2_17.
3113
3114 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3115
3116 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3117 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3118
3119 2012-08-03 David S. Miller <davem@davemloft.net>
3120
3121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3122
3123 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3124
3125 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3126 Remove.
3127 (__ASSUME_CORRECT_SI_PID): Likewise.
3128 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3129 (__ASSUME_TMPFS_NAME): Likewise.
3130 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3131 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3132 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3133 (HAVE_AUX_SECURE): Make definition unconditional.
3134 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3135 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3136
3137 2012-08-03 Roland McGrath <roland@hack.frob.com>
3138
3139 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3140 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3141 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3142 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3143 __eloop_threshold instead of SYMLOOP_MAX.
3144
3145 * sysdeps/generic/eloop-threshold.h: New file.
3146 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3147 of MAXSYMLINKS.
3148 * elf/chroot_canon.c (chroot_canon): Likewise.
3149
3150 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3151
3152 [BZ #13717]
3153 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3154 Change to 2.6.0 everywhere.
3155 * sysdeps/unix/sysv/linux/configure: Regenerated.
3156 * sysdeps/unix/sysv/linux/kernel-features.h
3157 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3158 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3159 kernel versions.
3160 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3161 (__ASSUME_FUTEX_REQUEUE): Remove.
3162 (__ASSUME_STATFS64): Define unconditionally.
3163 (__ASSUME_AT_SECURE): Likewise.
3164 (__ASSUME_CORRECT_SI_PID): Likewise.
3165 (__ASSUME_TGKILL): Define without depending on kernel version for
3166 i386.
3167 (__ASSUME_UTIMES): Likewise.
3168 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3169 kernel version.
3170 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3171 (__ASSUME_TMPFS_NAME): Likewise.
3172 * README: Update reference to Linux kernel versions.
3173
3174 2012-08-02 Marek Polacek <polacek@redhat.com>
3175
3176 [BZ# 14150]
3177 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3178 libc_cv_asm_type_prefix with %.
3179 * configure: Regenerated.
3180 * include/libc-symbols.h: Remove comment about
3181 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3182 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3183 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3184 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3185 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3186 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3187 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3188 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3189 * elf/tst-unique2mod1.c: Likewise.
3190 * elf/tst-unique1mod2.c: Likewise.
3191 * elf/tst-unique1mod1.c: Likewise.
3192 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3193 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3194 Replace ASM_TYPE_DIRECTIVE with .type.
3195 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3196 * sysdeps/i386/sysdep.h: Likewise.
3197 * sysdeps/x86_64/sysdep.h: Likewise.
3198 * sysdeps/sh/sysdep.h: Likewise.
3199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3200 Do not define ASM_TYPE_DIRECTIVE.
3201 * sysdeps/powerpc/sysdep.h: Likewise.
3202 * sysdeps/powerpc/powerpc32/sysdep.h:
3203 Replace ASM_TYPE_DIRECTIVE with .type.
3204 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3205 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3206 * sysdeps/i386/fpu/e_powf.S: Likewise.
3207 * sysdeps/i386/fpu/e_expl.S: Likewise.
3208 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3209 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3210 * sysdeps/i386/fpu/e_pow.S: Likewise.
3211 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3212 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3213 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3214 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3215 * sysdeps/i386/fpu/e_log2.S: Likewise.
3216 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3217 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3218 * sysdeps/i386/fpu/e_powl.S: Likewise.
3219 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3220 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3221 * sysdeps/i386/fpu/e_logl.S: Likewise.
3222 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3223 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3224 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3225 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3226 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3227 * sysdeps/i386/fpu/e_log.S: Likewise.
3228 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3229 * sysdeps/i386/fpu/e_logf.S: Likewise.
3230 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3231 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3232 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3233 * sysdeps/i386/fpu/e_log10.S: Likewise.
3234 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3235 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3236 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3237 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3238 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3239 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3240 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3241 * sysdeps/i386/i686/strtok.S: Likewise.
3242 * sysdeps/i386/i386-mcount.S: Likewise.
3243 * sysdeps/i386/strtok.S: Likewise.
3244 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3245 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3246 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3247 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3248 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3249 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3250 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3251 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3252 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3253 * sysdeps/x86_64/_mcount.S: Likewise.
3254 * sysdeps/x86_64/strtok.S: Likewise.
3255 * sysdeps/sh/_mcount.S: Likewise.
3256
3257 2012-08-01 Roland McGrath <roland@hack.frob.com>
3258
3259 * libio/iofopen.c: Include <fcntl.h>.
3260 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3261 (_IO_fopen64, fopen64): Define as aliases.
3262 * libio/iofopen64.c: Include <fcntl.h>.
3263 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3264 Conditionalize body on this.
3265 * sysdeps/wordsize-64/iofopen.c: File removed.
3266 * sysdeps/wordsize-64/iofopen64.c: File removed.
3267
3268 2012-08-01 Marek Polacek <polacek@redhat.com>
3269
3270 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3271 Use dlfcn directly instead of a variable.
3272 (binfmt-subdir): Do not define.
3273 (dlfcn): Likewise.
3274
3275 2012-08-01 Joseph Myers <joseph@codesourcery.com>
3276
3277 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3278 Remove all definitions.
3279 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3280 <kernel-features.h>.
3281 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3282 (miss_F_GETOWN_EX): Remove all definitions.
3283 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3284 macro definition.
3285 [!__ASSUME_FCNTL64]: Remove conditional code.
3286 [__ASSUME_FCNTL64]: Make code unconditional.
3287 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3288 <kernel-features.h>.
3289 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3290 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3291 (lockf64) [__NR_fcntl64]: Make code unconditional.
3292 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3293
3294 * sysdeps/unix/sysv/linux/kernel-features.h
3295 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3296 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3297 Make code unconditional.
3298 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3299 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3301 [__NR_vfork]: Make code unconditional.
3302 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3303 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3305 [__NR_vfork]: Make code unconditional.
3306 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3307 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3308
3309 2012-08-01 Roland McGrath <roland@hack.frob.com>
3310
3311 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3312 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3313
3314 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3315 Define mkstemp64 as an alias.
3316 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3317 Define mkstemps64 as an alias.
3318 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3319 Define mkostemp64 as an alias.
3320 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3321 Define mkostemps64 as an alias.
3322 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3323 Conditionalize body on this.
3324 * misc/mkostemp64.c: Likewise.
3325 * misc/mkostemps64.c: Likewise.
3326 * misc/mkstemps64.c: Likewise.
3327 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3328 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3329 * sysdeps/wordsize-64/mkostemp.c: File removed.
3330 * sysdeps/wordsize-64/mkstemp.c: File removed.
3331 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3332 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3333 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3334 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3335
3336 [BZ #14138]
3337 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3338 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3339 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3340 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3341
3342 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3343 compat_symbol macros from <shlib-compat.h> rather than the underlying
3344 default_symbol_version and symbol_version macros, so that DEFAULT
3345 lines in shlib-versions are respected.
3346 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3347
3348 2012-08-01 Florian Weimer <fweimer@redhat.com>
3349
3350 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3351 Declare with warn_unused_result.
3352 (setgid, setregid, setegid, setresgid): Likewise.
3353 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3354 Likewise.
3355 * WUR-REPORT: Remove set*id functions.
3356
3357 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3358
3359 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3360
3361 2012-07-31 Roland McGrath <roland@hack.frob.com>
3362
3363 * include/sys/socket.h (__libc_accept, __libc_accept4):
3364 Add attribute_hidden.
3365 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3366
3367 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3368 use of PTR_MANGLE.
3369 * inet/getnetgrent_r.c (setup): Likewise.
3370
3371 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3372
3373 2012-07-31 David S. Miller <davem@davemloft.net>
3374
3375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3376
3377 2012-07-31 Joseph Myers <joseph@codesourcery.com>
3378
3379 [BZ #13629]
3380 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3381 value between 1.0 and 2.0 and smaller part has absolute value less
3382 than 1.0.
3383 * math/s_clog10.c (__clog10): Likewise.
3384 * math/s_clog10f.c (__clog10f): Likewise.
3385 * math/s_clog10l.c (__clog10l): Likewise.
3386 * math/s_clogf.c (__clogf): Likewise.
3387 * math/s_clogl.c (__clogl): Likewise.
3388 * math/libm-test.inc (clog_test): Add more tests.
3389 (clog10_test): Likewise.
3390 * sysdeps/i386/fpu/libm-test-ulps: Update.
3391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3392
3393 2012-07-31 Florian Weimer <fweimer@redhat.com>
3394
3395 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3396 Exit with zero in case no suitable GID is found, and write a
3397 message to standard error.
3398
3399 2012-07-30 Roland McGrath <roland@hack.frob.com>
3400
3401 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3402 rather than to 1.
3403 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3404 (MAXPATHLEN): Removed.
3405 (NOGROUP, NODEV): New macros.
3406 (setbit, clrbit, isset, isclr): New macros.
3407 (howmany, roundup, powerof2): New macros.
3408 (DEV_BSIZE): New macro.
3409
3410 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3411 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3412
3413 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3414 definition on [!__NO_LONG_DOUBLE_MATH].
3415
3416 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3417 PTR_MANGLE and PTR_DEMANGLE.
3418
3419 * socket/accept4.c (accept4): Rename to __libc_accept4.
3420 Define accept4 as a weak alias.
3421
3422 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3423 on [_DIRENT_HAVE_D_TYPE].
3424 * io/ftw.c (ftw_dir): Likewise.
3425
3426 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3427
3428 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3429
3430 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3431 Use the BSD numbers rather than the arbitrary ones we had.
3432 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3433 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3434 (SIGXCPU, SIGXFSZ): New macros.
3435 (_NSIG): Now 32.
3436
3437 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3438 initializer on [_LIBC_REENTRANT].
3439
3440 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3441 definitions inside [_POSIX_MAPPED_FILES].
3442
3443 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3444
3445 * dirent/opendir.c: Include <fcntl.h>.
3446
3447 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3448 (__libc_getspecific): Likewise.
3449 (__libc_key_create): Likewise.
3450
3451 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3452 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3453 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3454 (tmpfile64): Define as alias.
3455 * sysdeps/wordsize-64/tmpfile.c: File removed.
3456 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3457 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3458 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3459
3460 * stdio-common/vfscanf.c: Include <stdbool.h>.
3461 * nss/makedb.c: Likewise.
3462 * stdio-common/_i18n_number.h: Likewise.
3463 * argp/argp-help.c: Likewise.
3464 * posix/wordexp.c: Likewise.
3465 * sysdeps/posix/spawni.c: Likewise.
3466 * nss/nss_files/files-initgroups.c: Likewise.
3467 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3468 * nss/nss_files/files-initgroups.c: Likewise.
3469 * nss/nss_db/db-netgrp.c: Likewise.
3470 * nss/nss_db/db-initgroups.c: Likewise.
3471 * io/fchmodat.c: Include <sys/stat.h>.
3472
3473 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3474 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3475
3476 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3477 [HAVE_MMAP].
3478
3479 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3480 Add multiple inclusion protection.
3481
3482 2012-07-27 David S. Miller <davem@davemloft.net>
3483
3484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3485
3486 2012-07-27 Gary Benson <gbenson@redhat.com>
3487
3488 [BZ #14298]
3489 * elf/rtld.c: Include <stap-probe.h>.
3490 (dl_main): Added static probes "init_start" and "init_complete".
3491 * elf/dl-load.c: Include <stap-probe.h>.
3492 (lose): Take new parameter "nsid".
3493 Added static probe "map_failed".
3494 (_dl_map_object_from_fd): Pass namespace id to lose.
3495 Added static probe "map_start".
3496 (open_verify): Pass namespace id to lose.
3497 * elf/dl-open.c: Include <stap-probe.h>.
3498 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3499 and "reloc_complete".
3500 * elf/dl-close.c: Include <stap-probe.h>.
3501 (_dl_close_worker): Added static probes "unmap_start" and
3502 "unmap_complete".
3503 * elf/rtld-debugger-interface.txt: New file documenting the above.
3504
3505 2012-07-26 Roland McGrath <roland@hack.frob.com>
3506
3507 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3508 rather than a string variable.
3509 * sunrpc/rpc_main.c (h_output): Likewise.
3510 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3511
3512 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3513
3514 * inet/check_native.c: New file.
3515
3516 2012-07-26 Joseph Myers <joseph@codesourcery.com>
3517
3518 [BZ #13629]
3519 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3520 if larger part has absolute value 1.0.
3521 * math/s_clog10.c (__clog10): Likewise.
3522 * math/s_clog10f.c (__clog10f): Likewise.
3523 * math/s_clog10l.c (__clog10l): Likewise.
3524 * math/s_clogf.c (__clogf): Likewise.
3525 * math/s_clogl.c (__clogl): Likewise.
3526 * math/libm-test.inc (clog_test): Add more tests.
3527 (clog10_test): Likewise.
3528 * sysdeps/i386/fpu/libm-test-ulps: Update.
3529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3530
3531 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3532 (pltexit): Likewise.
3533 (La_regs): Likewise.
3534 (La_retval): Likewise.
3535 (int_retval): Likewise.
3536 Update #error for removed macros to refer only to definitions in
3537 tst-audit.h.
3538 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3539 macro.
3540 (pltexit): Likewise.
3541 (La_regs): Likewise.
3542 (La_retval): Likewise.
3543 (int_retval): Likewise.
3544 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3545 macro.
3546 (pltexit): Likewise.
3547 (La_regs): Likewise.
3548 (La_retval): Likewise.
3549 (int_retval): Likewise.
3550 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3551 macro.
3552 (pltexit): Likewise.
3553 (La_regs): Likewise.
3554 (La_retval): Likewise.
3555 (int_retval): Likewise.
3556 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3557 macro.
3558 (pltexit): Likewise.
3559 (La_regs): Likewise.
3560 (La_retval): Likewise.
3561 (int_retval): Likewise.
3562 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3563 macro.
3564 (pltexit): Likewise.
3565 (La_regs): Likewise.
3566 (La_retval): Likewise.
3567 (int_retval): Likewise.
3568 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3569 macro.
3570 (pltexit): Likewise.
3571 (La_regs): Likewise.
3572 (La_retval): Likewise.
3573 (int_retval): Likewise.
3574 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3575 macro definitions in tst-audit.h.
3576 * sysdeps/i386/tst-audit.h: New file.
3577 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3578 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3579 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3580 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3581 * sysdeps/sh/tst-audit.h: Likewise.
3582 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3583 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3584 * sysdeps/x86_64/tst-audit.h: Likewise.
3585
3586 2012-07-26 Andreas Jaeger <aj@suse.de>
3587
3588 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3589 ptrace.
3590
3591 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3592 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3593 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3594 PTRACE_O_MASK.
3595 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3596 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3597 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3598
3599 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3600 value.
3601
3602 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3603 _sigsys.
3604 (si_call_addr, si_syscall, si_arch): Define new macro.
3605 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3606 _sigsys.
3607 (si_call_addr, si_syscall, si_arch): Define new marcro.
3608 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3609 _sigsys.
3610 (si_call_addr, si_syscall, si_arch): Define new macro.
3611 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3612 _sigsys.
3613 (si_call_addr, si_syscall, si_arch): Define new macro.
3614
3615 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3616
3617 [BZ #13717]
3618 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3619 Change to 2.4.21 where previously 2.4.1.
3620 * sysdeps/unix/sysv/linux/configure: Regenerated.
3621 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3622 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3623 Linux kernel version.
3624 (__ASSUME_STD_AUXV): Remove.
3625 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3626 kernel version.
3627 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3628 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3629 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3630 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3631 (__ASSUME_NETLINK_SUPPORT): Likewise.
3632 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3633 (__no_netlink_support): Remove conditional definition.
3634 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3635 Remove.
3636 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3637 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3638 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3639 (if_nameindex_ioctl): Remove.
3640 (if_nameindex_netlink): Do not handle __no_netlink_support.
3641 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3642 code.
3643 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3644 Remove conditional code.
3645 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3646 code.
3647 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3648 unconditional.
3649 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3650 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3651 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3652 Remove.
3653 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3654 [!__ASSUME_STD_AUXV]: Remove conditional code.
3655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3656 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3657 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3659 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3660 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3661 code.
3662 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3664 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3665 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3666 conditional code.
3667 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3669 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3670 code.
3671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3672 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3673 conditional code.
3674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3675 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3676 code unconditional.
3677 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3678 conditional code.
3679 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3680 unconditional.
3681 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3682 conditional code.
3683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3684 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3685 unconditional.
3686 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3687 conditional code.
3688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3689 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3690 code unconditional.
3691 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3692 conditional code.
3693 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3694 unconditional.
3695 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3696 conditional code.
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3698 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3699 code unconditional.
3700 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3701 conditional code.
3702 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3703 unconditional.
3704 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3705 conditional code.
3706
3707 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3708
3709 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3710 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3711 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3712 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3713 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3714 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3715 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3716 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3717 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3718 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3719 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3720 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3721 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3722 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3723 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3724 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3725 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3726 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3727 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3729 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3730 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3731 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3732
3733 2012-07-25 Florian Weimer <fweimer@redhat.com>
3734
3735 * Versions.def: Add GLIBC_2.17.
3736 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3737 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3738 Introduce __libc_secure_getenv.
3739 * stdlib/Versions (2.17): Add secure_getenv
3740 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3741 * stdlib/secure-getenv.c: Rename __secure_getenv to
3742 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3743 symbol __secure_getenv for GLIBC_2.0.
3744 * stdlib/tst-secure-getenv.c: New.
3745 * stdlib/Makefile (tests): Add testcase.
3746 * manual/startup.texi (Environment Access): Document
3747 secure_getenv.
3748 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3749 __libc_secure_getenv.
3750 * inet/ruserpass.c (ruserpass): Likewise.
3751 * malloc/mtrace.c (mtrace): Likewise.
3752 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3753 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3754 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3755 * sysdeps/posix/tempname.c: Likewise. Evaluate
3756 HAVE_SECURE_GETENV.
3757 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3758 __secure_getenv to __libc_secure_getenv.
3759 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3761 Likewise.
3762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3763 Likewise.
3764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3766 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3771
3772 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3773
3774 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3775 (struct La_i86_retval): Likewise.
3776 (struct La_x86_64_regs): Likewise.
3777 (struct La_x86_64_retval): Likewise.
3778 (struct La_x32_regs): Likewise.
3779 (struct La_x32_retval): Likewise.
3780 (struct La_ppc32_regs): Likewise.
3781 (struct La_ppc32_retval): Likewise.
3782 (struct La_ppc64_regs): Likewise.
3783 (struct La_ppc64_retval): Likewise.
3784 (struct La_sh_regs): Likewise.
3785 (struct La_sh_retval): Likewise.
3786 (struct La_s390_32_regs): Likewise.
3787 (struct La_s390_32_retval): Likewise.
3788 (struct La_s390_64_regs): Likewise.
3789 (struct La_s390_64_retval): Likewise.
3790 (struct La_sparc32_regs): Likewise.
3791 (struct La_sparc32_retval): Likewise.
3792 (struct La_sparc64_regs): Likewise.
3793 (struct La_sparc64_retval): Likewise.
3794 (struct audit_ifaces): Remove architecture-specific pltenter and
3795 pltexit members.
3796 * sysdeps/i386/ldsodefs.h: New file.
3797 * sysdeps/powerpc/ldsodefs.h: Likewise.
3798 * sysdeps/s390/ldsodefs.h: Likewise.
3799 * sysdeps/sh/ldsodefs.h: Likewise.
3800 * sysdeps/sparc/ldsodefs.h: Likewise.
3801 * sysdeps/x86_64/ldsodefs.h: Likewise.
3802
3803 2012-07-25 Marek Polacek <polacek@redhat.com>
3804
3805 [BZ #6808]
3806 * math/libm-test.inc (yn_test): Add another test.
3807 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3808 to ERANGE when the result is +-Inf.
3809 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3810 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3811 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3812 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3813
3814 2012-07-24 Joseph Myers <joseph@codesourcery.com>
3815
3816 * conform/data/time.h-data (NULL): Use macro-constant. Require
3817 equal to 0.
3818 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3819 clock_t.
3820 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3821
3822 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3823
3824 * configure.in <sysdeps resolving>: Correct printing
3825 Implies_before.
3826 * configure: Regenerate.
3827
3828 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3829
3830 * math/w_ilogb.c: Include <limits.h>.
3831 * math/w_ilogbl.c: Likewise.
3832
3833 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3834
3835 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3836 va_copy. Document allowing for unavailable va_copy only as
3837 pre-C99 compatibility.
3838 * manual/string.texi (Copying and Concatenation): Use va_copy
3839 instead of __va_copy in concat example.
3840
3841 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3842
3843 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3844 (__sendto): Use create_address_port. Initialize APORT and deallocate
3845 it if not null.
3846
3847 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3848 with O_NOLINK passed to __file_name_lookup.
3849
3850 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3851 with O_NOLINK passed to __file_name_lookup.
3852
3853 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3854 negative N or less than NGIDS.
3855
3856 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3857 type to string_t. Set ERANGE as errno and return it if NAME is not big
3858 enough. Use memcpy instead of strncpy.
3859
3860 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3861
3862 * elf/Makefile (check-data): Remove.
3863 (localplt.data): New vpath directive.
3864 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3865 instead of $(check-data).
3866 * scripts/data/localplt-generic.data: Move to ...
3867 * sysdeps/generic/localplt.data: ... here.
3868 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3869 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3870 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3872 ... here.
3873 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3875 ... here.
3876 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3878 ... here.
3879 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3881 ... here.
3882 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3884 ... here.
3885 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3887 ... here.
3888
3889 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3890
3891 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3892 PPC32 and PPC64 files.
3893 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3894 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3895
3896 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3897
3898 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3899 __makecontext_ret to ...
3900 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3901 ... here and call exit if uc_link is NULL. New file.
3902 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3903 __makecontext_ret.S.
3904 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3905 __makecontext_ret to ...
3906 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3907 ... here and call exit if uc_link is NULL. New file.
3908 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3909 __makecontext_ret.S.
3910
3911 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3912
3913 * elf/elf.h (R_390_IRELATIVE): New definition.
3914 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3915 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3916 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3917 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3918 (elf_machine_lazy_rel): Likewise.
3919 * sysdeps/s390/dl-irel.h: New file.
3920 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3921 * sysdeps/s390/s390-64/memset.S: New asm code.
3922 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3923 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3924 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3925 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3926 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3927 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3928 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3929 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3930 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3931 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3932 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3933 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3934 * sysdeps/s390/s390-32/memset.S: New asm code.
3935 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3936
3937 2012-07-17 Marek Polacek <polacek@redhat.com>
3938
3939 [BZ #14349]
3940 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3941 * sysdeps/s390/s390-64/configure.in: Likewise.
3942 * sysdeps/sparc/configure.in: Likewise.
3943 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3944 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3945 * sysdeps/i386/configure.in: Likewise.
3946 * sysdeps/x86_64/configure.in: Likewise.
3947 * sysdeps/sh/configure.in: Likewise.
3948 * sysdeps/s390/s390-32/configure: Regenerated.
3949 * sysdeps/s390/s390-64/configure: Likewise.
3950 * sysdeps/x86_64/configure: Likewise.
3951 * sysdeps/sh/configure: Likewise.
3952 * sysdeps/powerpc/powerpc64/configure: Likewise.
3953 * sysdeps/powerpc/powerpc32/configure: Likewise.
3954 * sysdeps/sparc/configure: Likwise.
3955 * sysdeps/i386/configure: Likewise.
3956
3957 * elf/dl-open.c: Comment fixes.
3958
3959 2012-07-17 Joseph Myers <joseph@codesourcery.com>
3960
3961 * Makefile [CXX] (check-data): Remove.
3962 [CXX] (c++-types.data): New vpath directive.
3963 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3964 vpath. Do not allow for C++ type data being missing.
3965 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3966 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3967 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3968 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3969 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3970 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3971 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3973 ... here.
3974 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3976 ... here.
3977 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3979 ... here.
3980 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3982 ... here.
3983 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3985 ... here.
3986 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3988 ... here.
3989 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3991 ... here.
3992 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3994
3995 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3996 definitions to architecture-specific files.
3997 (TLS_IE): Likewise.
3998 (TLS_LD): Likewise.
3999 (TLS_GD): Likewise.
4000 * sysdeps/i386/tls-macros.h: New file.
4001 * sysdeps/powerpc/tls-macros.h: Likewise.
4002 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4003 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4004 * sysdeps/sh/tls-macros.h: Likewise.
4005 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
4006 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4007 * sysdeps/x86_64/tls-macros.h: Likewise.
4008
4009 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4010
4011 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4012 zero value for regular exit case.
4013
4014 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4015 (__start_context): Preserve zero value for regular exit case.
4016
4017 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4018 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4019
4020 * manual/setjmp.texi (setcontext): Clarify normal process
4021 termination when uc_link is the null pointer.
4022 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4023 exit call.
4024
4025 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4026
4027 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4028 preprocessor. Test for each exception mask separately.
4029
4030 2012-07-16 Andreas Jaeger <aj@suse.de>
4031
4032 * po/ru.po: Update from translation team.
4033
4034 2012-07-15 Joseph Myers <joseph@codesourcery.com>
4035
4036 * conform/data/string.h-data (NULL): Use macro-constant. Require
4037 equal to 0.
4038 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4039 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4040 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4041 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4042 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4043
4044 2012-07-13 Andreas Jaeger <aj@suse.de>
4045
4046 * po/fr.po: Update from translation team.
4047
4048 2012-07-12 Marek Polacek <polacek@redhat.com>
4049
4050 [BZ #14173]
4051 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4052 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4053 loop condition.
4054
4055 2012-07-12 Joseph Myers <joseph@codesourcery.com>
4056
4057 [BZ #13717]
4058 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4059 Change to 2.4.1 where previously 2.4.0.
4060 * sysdeps/unix/sysv/linux/configure: Regenerated.
4061 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4062 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4063 version.
4064 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4065 (__ASSUME_AT_CLKTCK): Remove.
4066 (__ASSUME_AT_PAGESIZE): Likewise.
4067 (__ASSUME_AT_XID): Likewise.
4068 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4069 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4070 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4071 unconditionally.
4072 (HAVE_AUX_PAGESIZE): Likewise.
4073 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4074 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4075 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4076
4077 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4078
4079 [BZ #14307]
4080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4081 the temporary buffer used to invoke __gethostbyname2_r,
4082 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4083 host_data / struct gaih_addrtuple.
4084 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4085 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4086 header file nss/nsswitch.h.
4087 * nss/nsswitch.h (global scope): Add definition of implementation
4088 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4089 resolv/nss_dns/dns-host.c).
4090
4091 2012-07-11 Andreas Jaeger <aj@suse.de>
4092
4093 * po/fr.po: Update from translation team.
4094
4095 * po/sv.po: Update from translation team
4096 * po/fr.po: Another update from translation team.
4097
4098 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4099
4100 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4101 for subnormals or multiply small sinh result by itself.
4102 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4104
4105 2012-07-11 David S. Miller <davem@davemloft.net>
4106
4107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4108
4109 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4110
4111 [BZ #14347]
4112 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4113 (INTERNAL_MARK): Shift it here.
4114
4115 2012-07-10 Marek Polacek <polacek@redhat.com>
4116
4117 [BZ #14151]
4118 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4119 libc_cv_asm_global_directive with .globl.
4120 * configure: Regenerated.
4121 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4122 with .globl.
4123 * sysdeps/i386/configure: Regenerated.
4124 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4125 with .globl.
4126 * sysdeps/x86_64/configure: Regenerated.
4127 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4128 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4129 * elf/tst-unique2mod2.c: Likewise.
4130 * elf/tst-unique2mod1.c: Likewise.
4131 * elf/tst-unique1mod2.c: Likewise.
4132 * elf/tst-unique1mod1.c: Likewise.
4133 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4134 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4135 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4136 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4137 * sysdeps/mach/sysdep.h: Likewise.
4138 * sysdeps/i386/sysdep.h: Likewise.
4139 * sysdeps/i386/i386-mcount.S: Likewise.
4140 * sysdeps/x86_64/_mcount.S: Likewise.
4141 * sysdeps/x86_64/sysdep.h: Likewise.
4142 * sysdeps/sh/_mcount.S: Likewise.
4143 * sysdeps/sh/sysdep.h: Likewise.
4144 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4145 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4146 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4147 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4148 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4149 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4150 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4151 * locale/localeinfo.h: Likewise.
4152 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4153 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4154
4155 2012-07-09 Roland McGrath <roland@hack.frob.com>
4156
4157 [BZ #14336]
4158 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4159 system".
4160 * manual/message.texi (The Uniforum approach): Likewise.
4161 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4162 (glibc iconv Implementation): Likewise.
4163
4164 2012-07-09 Joseph Myers <joseph@codesourcery.com>
4165
4166 [BZ #14337]
4167 * math/s_clog.c (__clog): Avoid scaling a value down where that
4168 could result in underflow.
4169 * math/s_clog10.c (__clog10): Likewise.
4170 * math/s_clog10f.c (__clog10f): Likewise.
4171 * math/s_clog10l.c (__clog10l): Likewise.
4172 * math/s_clogf.c (__clogf): Likewise.
4173 * math/s_clogl.c (__clogl): Likewise.
4174 * math/libm-test.inc (clog_test): Add more tests.
4175 (clog10_test): Likewise.
4176 * sysdeps/i386/fpu/libm-test-ulps: Update.
4177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4178
4179 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4180
4181 [BZ #14283]
4182 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4183 by 7 not 8 to examine high bit of fractional part.
4184
4185 [BZ #14042]
4186 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4187 for call to __mcount_internal.
4188 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4189 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4190 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4191
4192 2012-07-06 Joseph Myers <joseph@codesourcery.com>
4193
4194 [BZ #14154]
4195 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4196 approximation for values within 0x1p-13f of an odd multiple of
4197 pi/4.
4198 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4199 exception. Add more tests.
4200 * sysdeps/i386/fpu/libm-test-ulps: Update.
4201
4202 [BZ #6778]
4203 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4204 inputs and return -1 for them. Do not check for +Inf in case not
4205 reachable for +Inf.
4206 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4207 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4208 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4209 and return -1 for them. Do not check for +Inf in case not
4210 reachable for +Inf.
4211 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4212 define.
4213 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4214 and return -1 for them. Do not check for +Inf in case not
4215 reachable for +Inf.
4216 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4217 spurious underflow.
4218 * sysdeps/i386/fpu/libm-test-ulps: Update.
4219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4220
4221 2012-07-06 Mike Frysinger <vapier@gentoo.org>
4222
4223 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4224
4225 2012-07-05 Joseph Myers <joseph@codesourcery.com>
4226
4227 [BZ #14157]
4228 [BZ #14331]
4229 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4230 could result in spurious underflow. Scale down values above
4231 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4232 * math/s_csqrtf.c (__csqrtf): Likewise.
4233 * math/s_csqrtl.c (__csqrtl): Likewise.
4234 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4235 spurious underflow.
4236 * sysdeps/i386/fpu/libm-test-ulps: Update.
4237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4238
4239 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4240
4241 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4242 xopen-msg.sed.
4243 * catgets/xopen-msg.awk: New file.
4244 * catgets/xopen-msg.sed: Removed.
4245
4246 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4247 po2text.sed.
4248 * intl/po2test.awk: New file.
4249 * intl/po2test.sed: Removed.
4250
4251 2012-07-04 Joseph Myers <joseph@codesourcery.com>
4252
4253 [BZ #14328]
4254 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4255 or multiply small sinh result by itself.
4256 * math/s_ctanf.c (__ctanf): Likewise.
4257 * math/s_ctanh.c (__ctanh): Likewise.
4258 * math/s_ctanhf.c (__ctanhf): Likewise.
4259 * math/s_ctanhl.c (__ctanhl): Likewise.
4260 * math/s_ctanl.c (__ctanl): Likewise.
4261 * math/libm-test.inc (ctan_test_tonearest): New function.
4262 (ctan_test_towardzero): Likewise.
4263 (ctan_test_downward): Likewise.
4264 (ctan_test_upward): Likewise.
4265 (ctanh_test_tonearest): Likewise.
4266 (ctanh_test_towardzero): Likewise.
4267 (ctanh_test_downward): Likewise.
4268 (ctanh_test_upward): Likewise.
4269 (main): Call these new functions.
4270 * sysdeps/i386/fpu/libm-test-ulps: Update.
4271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4272
4273 2012-07-03 Mike Frysinger <vapier@gentoo.org>
4274
4275 * .gitignore: Delete /ports entry.
4276
4277 2012-07-03 Andreas Jaeger <aj@suse.de>
4278
4279 * po/bg.po: Update from translation team.
4280 * po/cs.po: Likewise.
4281 * po/de.po: Likewise.
4282 * po/hr.po: Likewise.
4283 * po/nl.pl: Likewise.
4284 * po/pl.po: Likewise.
4285 * po/vi.po: Likewise.
4286
4287 2012-07-03 Joseph Myers <joseph@codesourcery.com>
4288
4289 * Makeconfig [!+link] (+link-before-libc): New variable.
4290 [!+link] (+link-after-libc): Likewise.
4291 [!+link] (+link-tests): Likewise.
4292 [!+link] (+link): Define in terms of $(+link-before-libc) and
4293 $(+link-after-libc).
4294 [!+link-static] (+link-static-before-libc): New variable.
4295 [!+link-static] (+link-static-after-libc): Likewise.
4296 [!+link-static] (+link-static-tests): Likewise.
4297 [!+link-static] (+link-static): Define in terms of
4298 $(+link-static-before-libc) and $(+link-static-after-libc).
4299 [build-shared] (link-libc-before-gnulib): New variable.
4300 [build-shared] (link-libc-tests): Likewise.
4301 [build-shared] (link-libc): Define in terms of
4302 $(link-libc-before-gnulib).
4303 [!build-shared] (link-libc-tests): New variable.
4304 (link-libc-static-tests): New variable.
4305 [!gnulib] (gnulib-arch): New variable.
4306 [!gnulib] (gnulib-tests): Likewise.
4307 [!gnulib] (static-gnulib-arch): Likewise.
4308 [!gnulib] (static-gnulib-tests): Likewise.
4309 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4310 Define with "=" instead of ":=".
4311 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4312 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4313 * Rules (binaries-all-notests): New variable.
4314 (binaries-all-tests): Likewise.
4315 (binaries-static-notests): Likewise.
4316 (binaries-static-tests): Likewise.
4317 (binaries-all): Define using $(binaries-all-notests) and
4318 $(binaries-all-tests).
4319 (binaries-static): Define using $(binaries-static-notests) and
4320 $(binaries-static-tests).
4321 (binaries-shared-tests): New variable.
4322 (binaries-shared-notests): Likewise.
4323 (binaries-shared): Remove variable.
4324 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4325 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4326 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4327 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4328 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4329 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4330 * elf/Makefile (sln-modules): New variable.
4331 (extra-objs): Add $(sln-modules:=.o).
4332 (ldconfig-modules): Add static-stubs.
4333 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4334 * elf/static-stubs.c: New file.
4335
4336 [BZ #14283]
4337 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4338 by 7 not 8 to examine high bit of fractional part. Use volatile
4339 variables when splitting into final array of floats if
4340 __FLT_EVAL_METHOD__ != 0.
4341 * math/libm-test.inc (cos_test): Add another test.
4342 (sin_test): Likewise.
4343 * sysdeps/i386/fpu/libm-test-ulps: Update.
4344
4345 [BZ #14273]
4346 * math/libm-test.inc (cosh_test): Add more tests.
4347
4348 * version.h (RELEASE): Set to "development".
4349 (VERSION): Set to "2.16.90".
4350
4351 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4352
4353 * NEWS: Update copyright. Remove last-updated date.
4354 Mention math library bug fixes and timezone data changes.
4355 * README: Mention GNU/Hurd, x32, and HPPA support status.
4356
4357 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4358
4359 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4360
4361 2012-06-27 Andreas Jaeger <aj@suse.de>
4362
4363 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4364
4365 2012-06-25 Andreas Jaeger <aj@suse.de>
4366
4367 * sysdeps/s390/fpu/libm-test-ulps: Update.
4368
4369 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4370 Thomas Schwinge <thomas@codesourcery.com>
4371
4372 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4373 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4375 fanotify_mark.
4376
4377 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4378
4379 * sysdeps/mach/start.c: Remove file.
4380 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4381 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4382 * sysdeps/sh/init-first.c: Likewise.
4383
4384 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4385 registers for frame unwinding purposes, add CFI directives.
4386 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4387 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4388 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4389 Likewise.
4390
4391 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4392 __fortify_fail returning.
4393 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4394
4395 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4396 sysdeps/sh/____longjmp_chk.S.
4397 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4398 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4399 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4400 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4401
4402 * sysdeps/sh/abort-instr.h: New file.
4403 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4404 process in case exit returns.
4405
4406 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4407 initialize the GOT register before use.
4408
4409 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4410 calculation of ARGC > 4.
4411
4412 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4413 meaningful names to some local labels.
4414
4415 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4416 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4417
4418 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4419 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4420 (__arch_compare_and_exchange_val_16_acq): Likewise.
4421 (__arch_compare_and_exchange_val_32_acq): Likewise.
4422 (atomic_exchange_and_add): Fix gUSA sequence.
4423 (atomic_add): Likewise.
4424 (atomic_add_negative): Likewise.
4425 (atomic_add_zero): Likewise.
4426 (atomic_bit_test_set): Likewise.
4427
4428 2012-06-22 Andreas Schwab <schwab@redhat.com>
4429
4430 [BZ #13579]
4431 * include/link.h (struct link_map): Add l_free_initfini.
4432 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4433 l_initfini.
4434 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4435 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4436 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4437 set.
4438
4439 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4440
4441 * configure.in: Use AC_LANG_SOURCE.
4442 * configure: Regenerate.
4443
4444 2012-06-22 Roland McGrath <roland@hack.frob.com>
4445
4446 * configure.in (libc_cv_localstatedir): New substituted variable.
4447 * configure: Regenerated.
4448 * config.make.in (localstatedir): New variable, substituted from
4449 libc_cv_localstatedir.
4450 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4451 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4452 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4453 * sysdeps/gnu/configure: Regenerated.
4454
4455 2012-06-21 Jeff Law <law@redhat.com>
4456
4457 [BZ #14277]
4458 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4459 free. Simplify list management for _LIBC case.
4460
4461 2012-06-21 Joseph Myers <joseph@codesourcery.com>
4462
4463 [BZ #14273]
4464 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4465 Clear sign bit of 64-bit integer value before comparing against
4466 overflow value.
4467
4468 * sysdeps/mach/configure: Regenerated.
4469
4470 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4471
4472 [BZ #14278]
4473 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4474
4475 2012-06-21 Jeff Law <law@redhat.com>
4476
4477 [BZ #13882]
4478 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4479 uint16_t for elements in the "seen" array to avoid char overflows.
4480 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4481 * elf/dl-open.c (dl_open_worker): Likewise.
4482
4483 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4484
4485 * scripts/list-sources.sh: Scan PORTS for translations.
4486 * po/libc.pot: Regenerated.
4487
4488 2012-06-21 Andreas Jaeger <aj@suse.de>
4489
4490 [BZ #12194]
4491 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4492 warning.
4493 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4494 * bits/byteswap-16.h (__bswap_16): Likewise.
4495 * bits/byteswap.h (__bswap_constant_16): Likewise.
4496
4497 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4498
4499 [BZ #14117]
4500 * sysdeps/i386/fpu_control.h: Removed.
4501 * sysdeps/x86_64/fpu_control.h: Moved to ...
4502 * sysdeps/x86/fpu_control.h: Here.
4503
4504 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4505 (_FPU_SETCW): Likewise.
4506
4507 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4508
4509 [BZ #14117]
4510 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4511 * sysdeps/x86/fpu/bits/mathinline.h: This.
4512 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4513
4514 [BZ #14050]
4515 [BZ #14117]
4516 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4517 functions if __x86_64__ is defined.
4518
4519 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4520
4521 * string/endian.h: Add !__ASSEMBLER__ condition for including
4522 conversion interfaces.
4523
4524 2012-06-15 Joseph Myers <joseph@codesourcery.com>
4525
4526 [BZ #14241]
4527 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4528 of ABS(x) in calculating zero to negative powers other than odd
4529 integers.
4530 * math/libm-test.inc (pow_test): Add more tests.
4531
4532 2012-06-15 Andreas Jaeger <aj@suse.de>
4533
4534 * manual/contrib.texi (Contributors): Update entry of Liubov
4535 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4536 Machado Filho.
4537
4538 2012-06-15 Cyril Hrubis <metan@ucw.cz>
4539
4540 * string/string.h: Add __wur to GNU version of strerror_r.
4541
4542 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4543
4544 [BZ #14229]
4545 * string/Makefile (tests): Add tst-strtok_r.
4546 * string/tst-strtok_r.c: New file.
4547 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4548 RAX_LP/RDX_LP on SAVE_PTR.
4549
4550 2012-06-14 Roland McGrath <roland@hack.frob.com>
4551
4552 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4553
4554 2012-06-14 Joseph Myers <joseph@codesourcery.com>
4555
4556 * libm_test.inc (csqrt_test): Allow more spurious underflow
4557 exceptions.
4558 (j0_test): Likewise.
4559 (j1_test): Likewise.
4560 (y0_test): Likewise.
4561 (y1_test): Likewise.
4562
4563 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4564
4565 * po/Makefile (libc.pot): Use UTF-8 charset.
4566
4567 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4568
4569 [BZ #14210]
4570 Suppress sign-conversion warning from FD_SET.
4571 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4572 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4573 not unsigned long int.
4574 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4575
4576 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4577
4578 [BZ #14050]
4579 [BZ #14117]
4580 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4581 __extern_always_inline instead of __extern_inline.
4582 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4583 (__signbit): Likewise.
4584 (__signbitl): Support C++ namespace.
4585 (lrintf): New inline function.
4586 (lrint): Likewise.
4587 (llrintf): Likewise.
4588 (llrint): Likewise.
4589 (fmaxf): Likewise.
4590 (fmax): Likewise.
4591 (fminf): Likewise.
4592 (fmin): Likewise.
4593 (rint): Likewise.
4594 (rintf): Likewise.
4595 (ceil): Likewise.
4596 (ceilf): Likewise.
4597 (floor): Likewise.
4598 (floorf): Likewise.
4599 (nearbyint): Likewise.
4600 (nearbyintf): Likewise.
4601
4602 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4603
4604 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4605 non-default versions.
4606
4607 2012-06-11 Roland McGrath <roland@hack.frob.com>
4608
4609 [BZ #14218]
4610 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4611
4612 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4613
4614 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4615 (FE_UPWARD, FE_DOWNWARD): Don't define.
4616 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4617 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4618
4619 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4620 reading it.
4621 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4622 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4623
4624 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4625
4626 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4627 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4628 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4629 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4630
4631 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4632
4633 [BZ #14117]
4634 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4635 * sysdeps/i386/fpu/Implies: New file.
4636 * sysdeps/x86_64/fpu/Implies: Likewise.
4637 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4638 * sysdeps/x86/fpu/bits/fenv.h: This.
4639
4640 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4641 __SSE_MATH__.
4642
4643 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4644
4645 [BZ #14134]
4646 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4647 character 0xffff that matches the last element of the
4648 conversion table.
4649
4650 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4651
4652 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4653 fmodl commit.
4654
4655 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4656
4657 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4658 values higher than 25.6283.
4659
4660 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4661
4662 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4663 subnormal exponent extraction and add some __builtin_expect.
4664 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4665 Fix for subnormal mantissa calculation.
4666
4667 2012-06-04 Mike Frysinger <vapier@gentoo.org>
4668
4669 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4670 cpu2 is -1 and errno is not ENOSYS.
4671
4672 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4673
4674 [BZ #14117]
4675 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4676 * sysdeps/x86/bits/string.h: This.
4677 * sysdeps/x86_64/bits/string.h: Removed.
4678
4679 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4680 if not compiling for x86-64, but compiling for >= i486.
4681
4682 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4683 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4684
4685 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4686 New macro from Linux kernel 3.4.0.
4687 (FP_XSTATE_MAGIC2): Likewise.
4688 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4689 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4690 (struct _fpx_sw_bytes): New struct.
4691 (struct _xsave_hdr): Likewise.
4692 (struct _ymmh_state): Likewise.
4693 (struct _xstate): Likewise.
4694
4695 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4696 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4697 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4698 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4699 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4700 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4701
4702 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4703 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4704 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4705 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4706 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4707 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4708
4709 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4710
4711 [BZ #13743]
4712 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4713 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4714 (sysdep_headers): Include sys/platform/ppc.h.
4715 * sysdeps/powerpc/test-gettimebase.c: Test for
4716 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4717 * manual/Makefile (appendices): Include platform.texi.
4718 * manual/contrib.texi (Contributors): Update @node pointers.
4719 * manual/maint.texi (Maintenance): Likewise.
4720 (Platform): New node.
4721 * manual/platform.texi: New file. Document the new features.
4722
4723 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4724 Jakub Jelinek <jakub@redhat.com>
4725
4726 [BZ #14188]
4727 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4728 where __builtin_expect is unavailable.
4729
4730 2012-06-03 David S. Miller <davem@davemloft.net>
4731
4732 * stdlib/longlong.h: Updated from GCC.
4733
4734 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4735
4736 [BZ #14042]
4737 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4738 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4739 __mcount_internal.
4740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4741 (GLIBC_2.16): Likewise.
4742
4743 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4744
4745 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4746
4747 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4748
4749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4750 (default-abi): New variable.
4751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4752 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4753 variable.
4754 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4755 Likewise.
4756 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4757 Likewise.
4758 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4759 Likewise.
4760
4761 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4762 definition. Document in comment.
4763
4764 2012-06-01 David S. Miller <davem@davemloft.net>
4765
4766 * stdlib/longlong.h: Updated from GCC.
4767
4768 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4769
4770 [BZ #14117]
4771 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4772 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4773 sys/debugreg.h sys/io.h here.
4774 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4775 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4776 sys/io.h.
4777 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4778 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4779 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4780 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4781 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4782 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4783
4784 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4785 Define only if __x86_64__ is defined.
4786
4787 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4788
4789 [BZ #14048]
4790 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4791 Use int64_t for variable i.
4792 * math/libm-test.inc (fmod_test): Add more tests.
4793
4794 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4795 z computation is not scheduled after fetestexcept.
4796 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4797 Use math_force_eval instead of asm to ensure calculation scheduled
4798 before exception test.
4799 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4800 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4801
4802 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4803
4804 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4805 computation is not scheduled after fetestexcept.
4806
4807 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4808
4809 [BZ #14117]
4810 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4811 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4812
4813 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4814
4815 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4816 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4817
4818 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4819
4820 [BZ #14117]
4821 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4822 <bits/wordsize.h>.
4823 (__WCHAR_MIN): Support __WORDSIZE == 64.
4824 (__WCHAR_MAX): Likewise.
4825
4826 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4827 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4828
4829 [BZ #14183]
4830 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4831 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4832
4833 [BZ #14117]
4834 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4835 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4836
4837 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4838 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4839
4840 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4841 Defined to 1 if __x86_64__ isn't defined.
4842 (_STAT_VER_LINUX_OLD): New.
4843 (st_atime): Remove duplicate.
4844 (st_mtime): Likewise.
4845 (st_ctime): Likewise.
4846
4847 2012-05-31 David S. Miller <davem@davemloft.net>
4848
4849 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4850 entries.
4851
4852 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4853
4854 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4855 gen-libm-test.pl.
4856
4857 [BZ #14132]
4858 * elf/dl-reloc.c: Include <_itoa.h>.
4859 (_dl_reloc_bad_type): Remove use of INTUSE.
4860 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4861 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4862 * stdio-common/psiginfo.c (psiginfo): Likewise.
4863 * stdio-common/psignal.c (psignal): Likewise.
4864 * string/strsignal.c (strsignal): Likewise.
4865 * include/signal.h (_sys_siglist): Declare hidden proto.
4866 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4867 INTVARDEF with libc_hidden_data_def.
4868 * stdio-common/itoa-udigits.c: Likewise.
4869 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4870 (_itoa_lower_digits_internal): Remove declaration.
4871 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4872 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4873 (_sys_sigabbrev_internal): Remove aliases.
4874 (_sys_siglist): Define hidden alias.
4875
4876 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4877
4878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4879 bits/sysctl.h.
4880
4881 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4882
4883 [BZ #14117]
4884 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4885 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4886
4887 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4888 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4889 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4890 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4891 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4892 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4893
4894 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4895 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4896 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4897
4898 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4899 with __addr.
4900 (insw): Likewise.
4901 (insl): Likewise.
4902 (outsb): Likewise.
4903 (outsw): Likewise.
4904 (outsl): Likewise.
4905
4906 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4907 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4908 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4909
4910 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4911 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4912 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4913 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4914 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4915 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4916
4917 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4918 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4919
4920 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4921 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4922
4923 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4925 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4926
4927 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4928 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4929 to ...
4930 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4931
4932 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4933 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4934 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4935
4936 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4937 for x86-64.
4938 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4939
4940 2012-05-31 Joseph Myers <joseph@codesourcery.com>
4941
4942 * math/math.h (M_El): Use two more decimal places.
4943 (M_LOG2El): Likewise.
4944 (M_LOG10El): Likewise.
4945 (M_LN2l): Likewise.
4946 (M_LN10l): Likewise.
4947 (M_PIl): Likewise.
4948 (M_PI_2l): Likewise.
4949 (M_PI_4l): Likewise.
4950 (M_1_PIl): Likewise.
4951 (M_2_PIl): Likewise.
4952 (M_2_SQRTPIl): Likewise.
4953 (M_SQRT2l): Likewise.
4954 (M_SQRT1_2l): Likewise.
4955
4956 2012-05-31 David S. Miller <davem@davemloft.net>
4957
4958 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4959 values between float registers.
4960 * sysdeps/sparc/sparc64/memset.S: Likewise.
4961 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4962
4963 2012-05-31 Mike Frysinger <vapier@gentoo.org>
4964
4965 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4966 -D_FORTIFY_SOURCE=1.
4967 (CPPFLAGS-tst-longjmp_chk.c): Define.
4968 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4969 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4970 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4971 CFLAGS-tst-wchar-h.c.
4972
4973 2012-05-31 Marek Polacek <polacek@redhat.com>
4974
4975 [BZ #14132]
4976 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4977 __endmntent_internal): Remove declaration.
4978 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4979 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4980 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4981
4982 2012-05-30 David S. Miller <davem@davemloft.net>
4983
4984 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4985 (___Q_simulate_exceptions): Use real FP ops rather than writing
4986 into the %fsr.
4987 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4988 Likewise.
4989
4990 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4991
4992 [BZ #14117]
4993 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4994 * sysdeps/x86/bits/xtitypes.h: This.
4995
4996 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4997 * sysdeps/x86/bits/wordsize.h: This.
4998
4999 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
5000 * sysdeps/x86/bits/huge_vall.h: This.
5001
5002 * sysdeps/i386/bits/select.h: Removed.
5003 * sysdeps/x86_64/bits/select.h: Renamed to ...
5004 * sysdeps/x86/bits/select.h: This.
5005
5006 * sysdeps/i386/bits/setjmp.h: Removed.
5007 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5008 * sysdeps/x86/bits/setjmp.h: This.
5009
5010 * sysdeps/i386/bits/mathdef.h: Removed.
5011 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5012 * sysdeps/x86/bits/mathdef.h: This.
5013
5014 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5015
5016 [BZ #14132]
5017 * include/sys/socket.h (__connect_internal)
5018 (__libc_sa_len_internal): Remove declaration.
5019 (__connect, __libc_sa_len): Declare hidden_proto.
5020 (SA_LEN): Remove use of INTUSE.
5021 * socket/connect.c: Add libc_hidden_def.
5022 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5023 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5024 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5025 alias.
5026 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5027 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5028 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5029 of adding _internal alias.
5030
5031 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5032
5033 [BZ #14117]
5034 * sysdeps/i386/bits/link.h: Removed.
5035 * sysdeps/i386/bits/linkmap.h: Likewise.
5036 * sysdeps/x86_64/bits/link.h: Renamed to ...
5037 * sysdeps/x86/bits/link.h: This.
5038 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5039 * sysdeps/x86/bits/linkmap.h: This.
5040
5041 * sysdeps/i386/bits/endian.h: Removed.
5042 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5043 * sysdeps/x86/bits/endian.h: This.
5044
5045 * sysdeps/i386/bits/byteswap.h: Removed.
5046 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5047 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5048 * sysdeps/x86/bits/byteswap.h: This.
5049 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5050 * sysdeps/x86/bits/byteswap-16.h: This.
5051 * sysdeps/i386/Implies: Add x86.
5052 * sysdeps/x86_64/Implies: Likewise.
5053
5054 2012-05-30 David S. Miller <davem@davemloft.net>
5055
5056 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5057 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5058 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5059 (FP_TRAPPING_EXCEPTIONS): Define.
5060 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5061 (FP_TRAPPING_EXCEPTIONS): Define.
5062 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5063 subnormals only when inexact has been signalled or underflow
5064 exceptions are enabled.
5065 (_FP_PACK_CANONICAL): Likewise.
5066
5067 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5068
5069 [BZ #14183]
5070 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5071 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5072
5073 2012-05-30 Richard Henderson <rth@twiddle.net>
5074
5075 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5076 with #ifndef NOT_IN_libc.
5077
5078 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5079 marked to avoid plt entry.
5080
5081 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5082
5083 [BZ #14112]
5084 * Makeconfig (default-abi): New macro.
5085 (abi-includes): Likewise.
5086 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5087 $(abi-$(default-abi)-lib-soname) for soname if defined.
5088 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5089 abi-variants.
5090 * Makefile (installed-stubs): Likewise.
5091 * include/stubs-biarch.h: Removed.
5092 * scripts/lib-names.awk: Only handle one library at a time.
5093 * scripts/soversions.awk: Remove WORDSIZE support.
5094 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5095 entries.
5096 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5097 Removed.
5098 (syscall-list-default-condition): Likewise.
5099 (syscall-list-default-condition): Likewise.
5100 (syscall-list-includes): Likewise.
5101 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5102 syscall-list-* with abi-*. Handle undefined abi-variants.
5103 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5104 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5105 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5106 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5107 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5108 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5109 Removed.
5110 (syscall-list-32-options): Likewise.
5111 (syscall-list-32-condition): Likewise.
5112 (syscall-list-64-options): Likewise.
5113 (syscall-list-64-condition): Likewise.
5114 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5115 macro.
5116 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5117 Renamed to ...
5118 (abi-*): This.
5119 (abi-64-ld-soname): New macro.
5120 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5121 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5122 Renamed to ...
5123 (abi-*): This.
5124 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5125 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5126
5127 2012-05-30 Joseph Myers <joseph@codesourcery.com>
5128
5129 * sysdeps/unix/sysv/linux/kernel-features.h
5130 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5131 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5132 include <kernel-features.h>.
5133 [!__NR_ftruncate64]: Remove conditional code.
5134 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5135 [__NR_ftruncate64]: Make code unconditional.
5136 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5137 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5138 include <kernel-features.h>.
5139 [!__NR_ftruncate64]: Remove conditional code.
5140 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5141 [__NR_ftruncate64]: Make code unconditional.
5142 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5144 include <kernel-features.h>.
5145 [!__NR_ftruncate64]: Remove conditional code.
5146 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5147 [__NR_ftruncate64]: Make code unconditional.
5148 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5150 include <kernel-features.h>.
5151 [!__NR_ftruncate64]: Remove conditional code.
5152 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5153 [__NR_ftruncate64]: Make code unconditional.
5154 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5155
5156 * configure.in (libc_cv_fpie): Weaken to a compile test using
5157 LIBC_TRY_CC_OPTION.
5158 * configure: Regenerated.
5159
5160 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5161
5162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5166 Refreshed.
5167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5173 Refreshed.
5174
5175 2012-05-27 David S. Miller <davem@davemloft.net>
5176
5177 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5178 (___Q_zero): New.
5179 (__Q_simulate_exceptions): Return void. Change to simulate
5180 exceptions by writing into the %fsr.
5181 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5182 (__Qp_handle_exceptions): Likewise.
5183 (numbers): Delete.
5184 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5185 __Qp_handle_exceptions.
5186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5187 __Qp_handle_exceptions.
5188 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5189 as unused and give dummy FP_RND_NEAREST initializer.
5190 (FP_INHIBIT_RESULTS): Define.
5191 (___Q_simulate_exceptions): Update declaration.
5192 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5193 formatting.
5194 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5195 as unused and give dummy FP_RND_NEAREST initializer.
5196 (__Qp_handle_exceptions): Update declaration.
5197 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5198 formatting.
5199
5200 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5201
5202 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5203 the temporary FPU control word.
5204 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5205 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5206 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5207 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5208 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5209 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5210 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5211 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5212 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5213 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5214 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5215
5216 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5217
5218 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5219 fields.
5220
5221 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5222
5223 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5224 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5225 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5226 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5227 Likewise.
5228 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5229 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5230 Likewise.
5231
5232 2012-05-27 Ulrich Drepper <drepper@gmail.com>
5233
5234 * po/h.po: Update from translation team.
5235
5236 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5237
5238 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5239
5240 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5241 handling of denormals.
5242 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5243 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5244 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5245 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5246 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5248 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5249 Likewise.
5250
5251 2012-05-26 Marek Polacek <polacek@redhat.com>
5252
5253 [BZ #14152]
5254 * math/libm-test.inc (fma_test): Don't always expect underflow
5255 exception.
5256
5257 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5258
5259 [BZ #12416]
5260 * elf/tst-execstack.c: Include stackinfo.h.
5261 (do_test): Adjust test case to ensure that pthread_getattr_np
5262 behaviour remains the same after marking stack executable.
5263
5264 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5265
5266 * sysdeps/unix/sysv/linux/kernel-features.h
5267 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5268 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5269 kernel-features.h.
5270 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5271 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5272 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5273 kernel-features.h.
5274 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5275 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5276
5277 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5278
5279 * configure.in: Define the default includes to being none.
5280 * configure: Regenerated.
5281
5282 2012-05-25 Roland McGrath <roland@hack.frob.com>
5283
5284 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5285 * sysdeps/x86_64/setjmp.S: Likewise.
5286 * sysdeps/i386/bsd-setjmp.S: Likewise.
5287 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5288 * sysdeps/i386/setjmp.S: Likewise.
5289 * sysdeps/i386/__longjmp.S: Likewise.
5290 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5291 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5292
5293 * include/stap-probe.h: New file.
5294 * configure.in: Handle --enable-systemtap.
5295 * configure: Regenerated.
5296 * config.h.in (USE_STAP_PROBE): New #undef.
5297 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5298 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5299 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5300
5301 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5302
5303 [BZ #13717]
5304 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5305 to 2.4.0 where earlier.
5306 * sysdeps/unix/sysv/linux/configure: Regenerated.
5307 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5308 <kernel-features.h>.
5309 [__ASSUME_32BITUIDS]: Make code unconditional.
5310 [!__ASSUME_32BITUIDS]: Remove conditional code.
5311 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5312 <kernel-features.h>.
5313 [__ASSUME_32BITUIDS]: Make code unconditional.
5314 [!__ASSUME_32BITUIDS]: Remove conditional code.
5315 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5316 [__ASSUME_32BITUIDS]: Make code unconditional.
5317 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5318 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5319 <kernel-features.h>.
5320 [__ASSUME_32BITUIDS]: Make code unconditional.
5321 [!__ASSUME_32BITUIDS]: Remove conditional code.
5322 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5323 <kernel-features.h>.
5324 [__ASSUME_32BITUIDS]: Make code unconditional.
5325 [!__ASSUME_32BITUIDS]: Remove conditional code.
5326 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5327 <kernel-features.h>.
5328 [__ASSUME_32BITUIDS]: Make code unconditional.
5329 [!__ASSUME_32BITUIDS]: Remove conditional code.
5330 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5331 <kernel-features.h>.
5332 [__ASSUME_32BITUIDS]: Make code unconditional.
5333 [!__ASSUME_32BITUIDS]: Remove conditional code.
5334 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5335 <kernel-features.h>.
5336 [__ASSUME_32BITUIDS]: Make code unconditional.
5337 [!__ASSUME_32BITUIDS]: Remove conditional code.
5338 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5339 <kernel-features.h>.
5340 [__ASSUME_32BITUIDS]: Make code unconditional.
5341 [!__ASSUME_32BITUIDS]: Remove conditional code.
5342 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5343 <kernel-features.h>.
5344 [__ASSUME_32BITUIDS]: Make code unconditional.
5345 [!__ASSUME_32BITUIDS]: Remove conditional code.
5346 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5347 <kernel-features.h>.
5348 [__ASSUME_32BITUIDS]: Make code unconditional.
5349 [!__ASSUME_32BITUIDS]: Remove conditional code.
5350 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5351 <kernel-features.h>.
5352 [__ASSUME_32BITUIDS]: Make code unconditional.
5353 [!__ASSUME_32BITUIDS]: Remove conditional code.
5354 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5355 <kernel-features.h>.
5356 [__ASSUME_32BITUIDS]: Make code unconditional.
5357 [!__ASSUME_32BITUIDS]: Remove conditional code.
5358 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5359 <kernel-features.h>.
5360 [__NR_setresgid] (__setresgid): Do not declare.
5361 [__ASSUME_32BITUIDS]: Make code unconditional.
5362 [!__ASSUME_32BITUIDS]: Remove conditional code.
5363 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5364 <kernel-features.h>.
5365 [__NR_setresuid] (__setresuid): Do not declare.
5366 [__ASSUME_32BITUIDS]: Make code unconditional.
5367 [!__ASSUME_32BITUIDS]: Remove conditional code.
5368 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5369 <kernel-features.h>.
5370 [__ASSUME_32BITUIDS]: Make code unconditional.
5371 [!__ASSUME_32BITUIDS]: Remove conditional code.
5372 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5373 <kernel-features.h>.
5374 [__ASSUME_32BITUIDS]: Make code unconditional.
5375 [!__ASSUME_32BITUIDS]: Remove conditional code.
5376 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5377 <kernel-features.h>.
5378 [__ASSUME_32BITUIDS]: Make code unconditional.
5379 [!__ASSUME_32BITUIDS]: Remove conditional code.
5380 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5381 <kernel-features.h>.
5382 [__ASSUME_32BITUIDS]: Make code unconditional.
5383 [!__ASSUME_32BITUIDS]: Remove conditional code.
5384 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5385 <kernel-features.h>.
5386 [__ASSUME_32BITUIDS]: Make code unconditional.
5387 [!__ASSUME_32BITUIDS]: Remove conditional code.
5388 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5389 <kernel-features.h>.
5390 [__ASSUME_32BITUIDS]: Make code unconditional.
5391 [!__ASSUME_32BITUIDS]: Remove conditional code.
5392 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5393 <kernel-features.h>.
5394 [__ASSUME_32BITUIDS]: Make code unconditional.
5395 [!__ASSUME_32BITUIDS]: Remove conditional code.
5396 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5397 <kernel-features.h>.
5398 [__ASSUME_32BITUIDS]: Make code unconditional.
5399 [!__ASSUME_32BITUIDS]: Remove conditional code.
5400 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5401 <kernel-features.h>.
5402 [__ASSUME_32BITUIDS]: Make code unconditional.
5403 [!__ASSUME_32BITUIDS]: Remove conditional code.
5404 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5405 <kernel-features.h>.
5406 [__ASSUME_32BITUIDS]: Make code unconditional.
5407 [!__ASSUME_32BITUIDS]: Remove conditional code.
5408 * sysdeps/unix/sysv/linux/kernel-features.h
5409 (__ASSUME_SETRESUID_SYSCALL): Remove.
5410 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5411 (__ASSUME_32BITUIDS): Likewise.
5412 (__ASSUME_LDT_WORKS): Likewise.
5413 (__ASSUME_O_DIRECTORY): Likewise.
5414 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5415 architecture but not kernel version.
5416 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5417 (__ASSUME_MMAP2_SYSCALL): Likewise.
5418 (__ASSUME_STAT64_SYSCALL): Likewise.
5419 (__ASSUME_IPC64): Likewise.
5420 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5421 <kernel-features.h>.
5422 [__ASSUME_32BITUIDS]: Make code unconditional.
5423 [!__ASSUME_32BITUIDS]: Remove conditional code.
5424 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5425 <kernel-features.h>.
5426 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5427 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5428 132096]: Remove conditional code.
5429 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5430 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5431 <kernel-features.h>.
5432 [__ASSUME_32BITUIDS]: Make code unconditional.
5433 [!__ASSUME_32BITUIDS]: Remove conditional code.
5434 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5435 <kernel-features.h>.
5436 [__ASSUME_32BITUIDS]: Make code unconditional.
5437 [!__ASSUME_32BITUIDS]: Remove conditional code.
5438 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5439 <kernel-features.h>.
5440 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5441 unconditional.
5442 (__setresgid): Do not declare.
5443 [__ASSUME_32BITUIDS]: Make code unconditional.
5444 [!__ASSUME_32BITUIDS]: Remove conditional code.
5445 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5446 <kernel-features.h>.
5447 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5448 unconditional.
5449 (__setresuid): Do not declare.
5450 [__ASSUME_32BITUIDS]: Make code unconditional.
5451 [!__ASSUME_32BITUIDS]: Remove conditional code.
5452 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5453 <kernel-features.h>.
5454 [__ASSUME_32BITUIDS]: Make code unconditional.
5455 [!__ASSUME_32BITUIDS]: Remove conditional code.
5456 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5457 <kernel-features.h>.
5458 [__ASSUME_32BITUIDS]: Make code unconditional.
5459 [!__ASSUME_32BITUIDS]: Remove conditional code.
5460
5461 2012-05-25 Richard Henderson <rth@twiddle.net>
5462
5463 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5464 dl_hwcap to ifunc resolver.
5465 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5466 elf_ifunc_invoke.
5467 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5468 dl_hwcap to ifunc resolver.
5469 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5470
5471 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5472
5473 [BZ #14153]
5474 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5475 for |x| <= 2**-26, not 2**-57.
5476 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5477 exception.
5478
5479 2012-05-24 Jeff Law <law@redhat.com>
5480
5481 * stdio-common/Makefile (tests): Add bug25.
5482 * stdio-common/bug25.c: New test.
5483
5484 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5485
5486 [BZ #13576]
5487 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5488 multiple of MALLOC_ALIGNMENT in size.
5489 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5490
5491 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5492
5493 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5494 Require >= 256.
5495 (FILENAME_MAX): Use macro-int-constant.
5496 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5497 (_IOFBF): Use macro-int-constant.
5498 (_IOLBF): Likewise.
5499 (_IONBF): Likewise.
5500 (SEEK_CUR): Likewise.
5501 (SEEK_END): Likewise.
5502 (SEEK_SET): Likewise.
5503 (TMP_MAX): Likewise.
5504 (EOF): Use macro-int-constant. Require < 0.
5505 (NULL): Use macro-constant. Require == 0.
5506 (stdin): Require type to be FILE *.
5507 (stdout): Likewise.
5508 (stderr): Likewise.
5509 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5510 macro-int-constant.
5511 (EXIT_SUCCESS): Likewise.
5512 (NULL): Use macro-constant. Require == 0.
5513 (RAND_MAX): Use macro-int-constant.
5514 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5515 [C99-based standards] (strtof): Require function.
5516 [C99-based standards] (strtold): Likewise.
5517 [C99-based standards] (strtoll): Likewise.
5518 [C99-based standards] (strtoull): Likewise.
5519 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5520 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5521 [ISO || ISO99 || ISO11] (math.h): Likewise.
5522 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5523 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5524 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5525
5526 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5527
5528 [BZ #14132]
5529 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5530 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5531 * intl/dgettext.c (DCGETTEXT): Likewise.
5532 * intl/gettext.c (DCGETTEXT): Likewise.
5533 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5534 * posix/regex_internal.h (gettext): Likewise.
5535 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5536 Remove declaration.
5537 * include/argz.h (__argz_count_internal)
5538 (__argz_stringify_internal): Remove declaration.
5539 (__argz_count, __argz_stringify): Declare hidden proto.
5540 * intl/dcgettext.c: Remove use of INTDEF.
5541 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5542 * string/argz-stringify.c: Likewise.
5543 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5544 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5545 Declare hidden proto.
5546 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5547 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5548 Declare hidden proto.
5549 * include/stdio.h (__asprintf_internal): Don't declare.
5550 (__asprintf): Don't define as macro. Declare hidden proto.
5551 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5552 (__fsetlocking): Declare hidden proto.
5553 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5554 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5555 hidden proto.
5556 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5557 (_IO_setlinebuf): Remove use of INTUSE.
5558 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5559 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5560 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5561 Remove declaration.
5562 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5563 (_IO_do_flush): Remove use of INTUSE.
5564 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5565 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5566 (_IO_adjust_column, _IO_least_wmarker)
5567 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5568 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5569 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5570 (_IO_default_doallocate, _IO_wdefault_doallocate)
5571 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5572 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5573 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5574 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5575 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5576 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5577 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5578 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5579 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5580 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5581 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5582 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5583 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5584 proto.
5585 (_IO_flush_all_internal, _IO_adjust_column_internal)
5586 (_IO_default_uflow_internal, _IO_default_finish_internal)
5587 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5588 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5589 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5590 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5591 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5592 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5593 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5594 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5595 (_IO_file_close_internal, _IO_file_close_it_internal)
5596 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5597 (_IO_file_init_internal, _IO_file_attach_internal)
5598 (_IO_file_fopen_internal, _IO_file_read_internal)
5599 (_IO_file_sync_internal, _IO_file_seek_internal)
5600 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5601 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5602 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5603 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5604 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5605 (_IO_list_all_internal, _IO_link_in_internal)
5606 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5607 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5608 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5609 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5610 (_IO_do_write_internal, _IO_padn_internal)
5611 (_IO_getline_info_internal, _IO_getline_internal)
5612 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5613 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5614 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5615 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5616 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5617 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5618 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5619 with libc_hidden_ver, remove use of INTUSE.
5620 * libio/genops.c: Likewise.
5621 * libio/freopen.c: Likewise.
5622 * libio/freopen64.c: Likewise.
5623 * libio/iofclose.c: Likewise.
5624 * libio/iofdopen.c: Likewise.
5625 * libio/iofflush.c: Likewise.
5626 * libio/iofflush_u.c: Likewise.
5627 * libio/iofgets.c: Likewise.
5628 * libio/iofgets_u.c: Likewise.
5629 * libio/iofopen.c: Likewise.
5630 * libio/iofopncook.c: Likewise.
5631 * libio/iofread.c: Likewise.
5632 * libio/iofread_u.c: Likewise.
5633 * libio/ioftell.c: Likewise.
5634 * libio/iofwrite.c: Likewise.
5635 * libio/iogetline.c: Likewise.
5636 * libio/iogets.c: Likewise.
5637 * libio/iogetwline.c: Likewise.
5638 * libio/iopadn.c: Likewise.
5639 * libio/iopopen.c: Likewise.
5640 * libio/ioseekoff.c: Likewise.
5641 * libio/ioseekpos.c: Likewise.
5642 * libio/iosetbuffer.c: Likewise.
5643 * libio/iosetvbuf.c: Likewise.
5644 * libio/ioungetc.c: Likewise.
5645 * libio/ioungetwc.c: Likewise.
5646 * libio/iovdprintf.c: Likewise.
5647 * libio/iovsprintf.c: Likewise.
5648 * libio/iovsscanf.c: Likewise.
5649 * libio/memstream.c: Likewise.
5650 * libio/obprintf.c: Likewise.
5651 * libio/oldfileops.c: Likewise.
5652 * libio/oldiofclose.c: Likewise.
5653 * libio/oldiofdopen.c: Likewise.
5654 * libio/oldiofopen.c: Likewise.
5655 * libio/oldiopopen.c: Likewise.
5656 * libio/oldstdfiles.c: Likewise.
5657 * libio/putc.c: Likewise.
5658 * libio/setbuf.c: Likewise.
5659 * libio/setlinebuf.c: Likewise.
5660 * libio/stdfiles.c: Likewise.
5661 * libio/strops.c: Likewise.
5662 * libio/vasprintf.c: Likewise.
5663 * libio/vscanf.c: Likewise.
5664 * libio/vsnprintf.c: Likewise.
5665 * libio/vswprintf.c: Likewise.
5666 * libio/wfiledoalloc.c: Likewise.
5667 * libio/wfileops.c: Likewise.
5668 * libio/wgenops.c: Likewise.
5669 * libio/wmemstream.c: Likewise.
5670 * libio/wstrops.c: Likewise.
5671 * libio/__fpurge.c: Likewise.
5672 * libio/__fsetlocking.c: Likewise.
5673 * assert/assert.c: Likewise.
5674 * debug/fgets_chk.c: Likewise.
5675 * debug/fgets_u_chk.c: Likewise.
5676 * debug/fread_chk.c: Likewise.
5677 * debug/fread_u_chk.c: Likewise.
5678 * debug/gets_chk.c: Likewise.
5679 * debug/obprintf_chk.c: Likewise.
5680 * debug/vasprintf_chk.c: Likewise.
5681 * debug/vdprintf_chk.c: Likewise.
5682 * debug/vsnprintf_chk.c: Likewise.
5683 * debug/vsprintf_chk.c: Likewise.
5684 * malloc/mtrace.c: Likewise.
5685 * misc/error.c: Likewise.
5686 * misc/syslog.c: Likewise.
5687 * stdio-common/asprintf.c: Likewise.
5688 * stdio-common/fxprintf.c: Likewise.
5689 * stdio-common/getw.c: Likewise.
5690 * stdio-common/isoc99_fscanf.c: Likewise.
5691 * stdio-common/isoc99_scanf.c: Likewise.
5692 * stdio-common/isoc99_vfscanf.c: Likewise.
5693 * stdio-common/isoc99_vscanf.c: Likewise.
5694 * stdio-common/isoc99_vsscanf.c: Likewise.
5695 * stdio-common/printf-prs.c: Likewise.
5696 * stdio-common/printf_fp.c: Likewise.
5697 * stdio-common/printf_fphex.c: Likewise.
5698 * stdio-common/printf_size.c: Likewise.
5699 * stdio-common/putw.c: Likewise.
5700 * stdio-common/scanf.c: Likewise.
5701 * stdio-common/sprintf.c: Likewise.
5702 * stdio-common/tmpfile.c: Likewise.
5703 * stdio-common/vfprintf.c: Likewise.
5704 * stdio-common/vfscanf.c: Likewise.
5705 * stdlib/strfmon_l.c: Likewise.
5706 * sunrpc/openchild.c: Likewise.
5707 * sunrpc/xdr_stdio.c: Likewise.
5708 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5709 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5710
5711 2012-05-24 Roland McGrath <roland@hack.frob.com>
5712
5713 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5714
5715 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5716 in the third column, to generate for the shared library an IFUNC
5717 that uses _dl_vdso_vsym.
5718 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5719 * Makeconfig (object-suffixes-noshared): New variable.
5720
5721 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5722 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5723 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5724 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5725
5726 [BZ #14132]
5727 * include/sys/time.h (__gettimeofday): Remove macro.
5728 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5729 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5730 Remove INTDEF.
5731 (__gettimeofday): Add libc_hidden_def.
5732 (gettimeofday): Add libc_hidden_weak.
5733 * sysdeps/mach/gettimeofday.c: Likewise.
5734 * sysdeps/posix/gettimeofday.c: Likewise.
5735 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5736 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5737 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5738 (__gettimeofday_internal): Remove strong_alias.
5739 (__gettimeofday): Add libc_hidden_def.
5740 (gettimeofday): Add libc_hidden_weak.
5741 * sysdeps/unix/syscalls.list (gettimeofday):
5742 Remove __gettimeofday_internal alias.
5743
5744 2012-05-24 Daniel Jacobowitz <drow@false.org>
5745 H.J. Lu <hongjiu.lu@intel.com>
5746
5747 [BZ #12495]
5748 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5749 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5750 (largebin_index_32_big): New.
5751 (largebin_index): Use it for 16-byte alignment.
5752 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5753 correction with front_misalign.
5754
5755 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5756
5757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5759 Likewise.
5760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5761 Likewise.
5762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5763 Likewise.
5764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5765 Likewise.
5766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5767 Likewise.
5768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5769 Likewise.
5770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5771 Likewise.
5772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5773 Likewise.
5774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5775 Likewise.
5776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5777 Likewise.
5778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5779 Likewise.
5780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5781 Likewise.
5782
5783 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5784 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5785
5786 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5787
5788 [BZ #10846]
5789 [BZ #14036]
5790 * math/libm-test.inc (exp_test): Add test from bug 14036.
5791 (pow_test): Add test from bug 10846.
5792
5793 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5794 and other flags.
5795 (special_function): Do not include flags in test name.
5796 (parse_args): Likewise.
5797 * sysdeps/i386/fpu/libm-test-ulps: Update.
5798 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5799 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5800 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5802
5803 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5804 exceptions.
5805 * math/libm-test.inc ("Philosophy"): Update comment about
5806 exception testing.
5807 (UNDERFLOW_EXCEPTION): New macro.
5808 (UNDERFLOW_EXCEPTION_OK): Likewise.
5809 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5810 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5811 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5812 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5813 (INVALID_EXCEPTION_OK): Update value.
5814 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5815 (OVERFLOW_EXCEPTION_OK): Likewise.
5816 (IGNORE_ZERO_INF_SIGN): Likewise.
5817 (test_exceptions): Handle underflow exceptions.
5818 (acos_test): Update for underflow exception expectations.
5819 (cexp_test): Likewise.
5820 (clog_test): Likewise.
5821 (clog10_test): Likewise.
5822 (csqrt_test): Likewise.
5823 (ctan_test): Likewise.
5824 (ctanh_test): Likewise.
5825 (exp_test): Likewise.
5826 (exp10_test): Likewise.
5827 (exp2_test): Likewise.
5828 (expm1_test): Likewise.
5829 (fma_test): Likewise.
5830 (j0_test): Likewise.
5831 (jn_test): Likewise.
5832 (nexttoward_test): Likewise.
5833 (pow_test): Likewise.
5834 (scalbn_test): Likewise.
5835 (scalbln_test): Likewise.
5836 (tan_test): Likewise.
5837 (y1_test): Likewise.
5838 * sysdeps/i386/fpu/libm-test-ulps: Update.
5839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5840
5841 2012-05-23 David S. Miller <davem@davemloft.net>
5842
5843 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5844 (__libc_sigaction): Remove unused local variables.
5845
5846 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5847
5848 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5849
5850 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5851
5852 mktime: avoid signed integer overflow
5853 * time/mktime.c (__mktime_internal): Do not mishandle the case
5854 where diff == INT_MIN.
5855
5856 mktime: simplify computation of average
5857 * time/mktime.c (ranged_convert): Use new time_t_avg function
5858 instead of rolling our own (probably-slower) code.
5859
5860 mktime: do not assume signed right shift propagates sign bit
5861 * time/mktime.c (isdst_differ): New static function.
5862 (__mktime_internal): No need to normalize tm_isdst now.
5863 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5864 tm_isdst values.
5865
5866 mktime: merge another wrapv change from gnulib
5867 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5868 from some compilers.
5869
5870 mktime: remove incorrect attempt at unusual arithmetics
5871 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5872 The code didn't really work on such machines anyway.
5873 (TYPE_MINIMUM): Assume two's complement.
5874 (twos_complement_arithmetic): Verify that long_int and time_t
5875 are two's complement (or unsigned, in the latter case).
5876
5877 mktime: check signed shifts on long_int and time_t, too
5878 * time/mktime.c (SHR): Check that shifts work as desired
5879 on the types long_int and time_t too, as SHR is used on
5880 such types.
5881
5882 mktime: do not assume 'long' is wide enough
5883 * time/mktime.c (verify): Move decl up.
5884 (long_int): New type.
5885 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5886 to remove assumption in the code that 'long' is wide enough to
5887 store year values. This assumption is not true on x32 and on
5888 some non-glibc platforms.
5889
5890 mktime: merge wrapv change from gnulib
5891 * time/mktime.c (WRAPV): New macro.
5892 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5893 (guess_time_tm, __mktime_internal): Do not assume that signed
5894 integer overflow wraps around; modern compilers generate code
5895 where this assumption is no longer valid.
5896
5897 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5898
5899 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5900 Replace "jmp L(pseudo_end)" with "ret".
5901 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5902 Likewise.
5903
5904 2012-05-23 Andreas Jaeger <aj@suse.de>
5905
5906 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5907 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5908
5909 2012-05-23 Andreas Jaeger <aj@suse.de>
5910 Maximilian Attems <max@stro.at>
5911
5912 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5913 New macros.
5914
5915 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5916
5917 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5918 code so that pseudo_end is just ret and the stack pointer is
5919 correct also for static library in error case.
5920
5921 2012-05-23 Joseph Myers <joseph@codesourcery.com>
5922
5923 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5924 move to syscalls.list.
5925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5929
5930 * manual/install.texi (Running make install): Do not mention Linux
5931 kernel version for which pt_chown is not needed.
5932 (Linux): Do not mention problems with nscd with 2.0 kernels.
5933 * INSTALL: Regenerated.
5934
5935 2012-05-23 Andreas Jaeger <aj@suse.de>
5936
5937 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5938 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5939 macro.
5940 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5941 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5942 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5943 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5944 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5945 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5946 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5947 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5948 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5949 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5950 * sysdeps/unix/sysv/linux/bits/in.h
5951 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5952
5953 2012-05-22 Roland McGrath <roland@hack.frob.com>
5954
5955 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5956 (PREPARE_VERSION): Just use assert instead, it will be elided
5957 under [NDEBUG] anyway.
5958
5959 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5960
5961 * sysdeps/unix/sysv/linux/Makefile: Include
5962 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5963 (sysdep_routines): Remove sysctl.
5964 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5965 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5966 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5967 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5968 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5969
5970 2012-05-22 Andreas Jaeger <aj@suse.de>
5971
5972 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5973 that pseudo_end is just ret and the stack pointer is correct also
5974 for static library in error case.
5975
5976 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5977
5978 [BZ #14122]
5979 * nss/nsswitch.c (defconfig_entries): New variable.
5980 (__nss_database_lookup): Don't leak defconfig entries.
5981 (nss_parse_service_list): Don't leak on error paths.
5982 (free_database_entries): New function.
5983 (free_defconfig): New function.
5984 (free_mem): Move common code to free_database_entries.
5985
5986 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5987
5988 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5989 Add arch_prctl.
5990 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5991
5992 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5993 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5994 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5995 New macro.
5996 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5997 (INTERNAL_SYSCALL_TYPES): Likewise.
5998 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5999 (LOAD_REGS_TYPES_[1-6]): Likewise.
6000 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
6001 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
6002
6003 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6004
6005 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
6006 copysignl for GLIBC_2_0.
6007 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6008 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6009 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6010 logbl for GLIBC_2_0.
6011 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6012 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6013
6014 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6015
6016 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6017 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6018
6019 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6020 Use "neg %eax".
6021
6022 * time/mktime.c: Update copyright years.
6023
6024 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6025
6026 mktime: merge comment-quoting-style change from gnulib
6027 * time/mktime.c: Quote 'like this' in comments.
6028 The GNU coding standards suggest that we no longer quote `like this',
6029 as "`" and "'" are typically rendered asymmetrically nowadays.
6030 The typical gnulib style is to quote 'like this' when quoting
6031 code, and "like this" when quoting English.
6032
6033 * time/mktime.c (compile-command): Add "-I.".
6034
6035 mktime: merge mktime-internal.h change from gnulib
6036 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6037
6038 mktime: merge time_r change from gnulib
6039 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6040
6041 mktime: merge DEBUG change from gnulib
6042 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6043 case system <time.h> has a #define.
6044
6045 mktime: merge <sys/types.h> change from gnulib
6046 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6047 since <time.t> is now guaranteed to define time_t.
6048
6049 mktime: merge HAVE_CONFIG_H change from gnulib
6050 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6051
6052 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6053
6054 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6055 Use "neg %eax".
6056
6057 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6058 __rlim_t cast.
6059 (struct rusage): Use anonymous union to pad each field to
6060 __syscall_slong_t.
6061
6062 2012-05-21 David S. Miller <davem@davemloft.net>
6063
6064 * Makefules (o-iterator): Remove .s cases.
6065 (compile-command.s): Delete.
6066 (COMPILE.s): Delete.
6067 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6068
6069 2012-05-21 Joseph Myers <joseph@codesourcery.com>
6070
6071 * configure.in (libc_cv_predef_stack_protector): Only consider
6072 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6073 * configure: Regenerated.
6074
6075 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6076
6077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6078 New macro. Use R*LP on int and pointer.
6079 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
6080 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6081 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
6082 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6083
6084 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6085 [__WORDSIZE_TIME64_COMPAT32] instead of
6086 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6087 (struct utmp): Likewise.
6088 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6089 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6090 Renamed to ...
6091 (__WORDSIZE_TIME64_COMPAT32): This.
6092 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6093 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6094 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6095 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6096 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6097 (__WORDSIZE_TIME64_COMPAT32): New macro.
6098
6099 2012-05-21 Andreas Jaeger <aj@suse.de>
6100
6101 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6102 only if [SHARED]. Add prototype for __wcschr_ia32.
6103
6104 2012-05-21 Roland McGrath <roland@hack.frob.com>
6105
6106 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6107 of %rbp unmolested in the jmp_buf while mangling the low bits.
6108 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6109 unmolested high bits of %rbp while demangling the low bits.
6110 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6111
6112 2012-05-21 Andreas Jaeger <aj@suse.de>
6113
6114 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6115 * sunrpc/svc_simple.c: Use it for registerrpc.
6116 * sunrpc/xcrypt.c: Use it for passwd2des.
6117
6118 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6119
6120 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6121
6122 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6123 Don't define if [__SYSCALL_WORDSIZE != 32].
6124 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6125 New macro.
6126
6127 2012-05-21 Bruno Haible <bruno@clisp.org>
6128 Andreas Jaeger <aj@suse.de>
6129
6130 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6131 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6132 inptr and inend for must_buffer_ch.
6133 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6134 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6135 * stdio-common/Makefile (tests): Remove bug15.
6136 (bug15-ENV): Remove macro.
6137 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6138 anymore.
6139
6140 2012-05-19 Andreas Jaeger <aj@suse.de>
6141 Roland McGrath <roland@hack.frob.com>
6142
6143 * manual/contrib.texi: Completely rewritten. It contains now an
6144 alphabetical list of contributors and their contributions.
6145
6146 2012-05-21 Richard Henderson <rth@twiddle.net>
6147
6148 * misc/getauxval.c (__getauxval): Use unsigned long int.
6149 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6150 (getauxval): Use unsigned long int.
6151
6152 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6153
6154 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6155
6156 2012-05-21 Roland McGrath <roland@hack.frob.com>
6157
6158 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6159 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6160 __alignof__ (long double).
6161
6162 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6163
6164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6165
6166 2012-05-20 Richard Henderson <rth@twiddle.net>
6167
6168 * misc/getauxval.c: New file.
6169 * misc/sys/auxv.h: New file.
6170 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6171 (routines): Add getauxval.
6172 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6173 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6174 * elf/dl-sysdep.c (_dl_auxv): Remove.
6175 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6176 * elf/dl-support.c (_dl_auxv): New variable.
6177 (_dl_aux_init): Initialize it.
6178 * manual/startup.texi (Auxiliary Vector): New node.
6179 * sysdeps/generic/bits/hwcap.h: New file.
6180 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6181 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6182 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6183 * sysdeps/sparc/sysdep.h: ... here. Include it.
6184 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6185 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
6186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6187 Update.
6188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6191 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6196
6197 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6198
6199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6200
6201 2012-05-19 David S. Miller <davem@davemloft.net>
6202
6203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6204
6205 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6206
6207 [BZ #14123]
6208 * math/s_ccosh.c: Include <float.h>
6209 (__ccosh): Avoid internal overflow calculating sinh and cosh
6210 values before multiplying by sin and cos values.
6211 * math/s_ccoshf.c: Likewise.
6212 * math/s_ccoshl.c: Likewise.
6213 * math/s_csin.c: Likewise.
6214 * math/s_csinf.c: Likewise.
6215 * math/s_csinl.c: Likewise.
6216 * math/s_csinh.c: Likewise.
6217 * math/s_csinhf.c: Likewise.
6218 * math/s_csinhl.c: Likewise.
6219 * math/libm-test.inc (ccos_test): Add more tests.
6220 (ccosh_test): Likewise.
6221 (csin_test): Likewise.
6222 (csinh_test): Likewise.
6223 * sysdeps/i386/fpu/libm-test-ulps: Update.
6224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6225
6226 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6227
6228 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6229 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6230
6231 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6232
6233 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6234
6235 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6236 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6237 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6238 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6239 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6240 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6241 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6242 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6243 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6244 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6245 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6246 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6247 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6248 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6249 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6250 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6251 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6252 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6253 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6254 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6255 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6256 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6257 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6258 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6259 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6260 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6261 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6262 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6263 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6264 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6265 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6266
6267 2012-05-18 Andreas Jaeger <aj@suse.de>
6268
6269 * csu/.gitignore: Delete.
6270
6271 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6272
6273 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6274 (timex): Use __syscall_slong_t.
6275
6276 2012-05-18 Andreas Jaeger <aj@suse.de>
6277 Carlos O'Donell <carlos_odonell@mentor.com>
6278
6279 * manual/install.texi (Configuring and compiling): Update
6280 description about files modified in the source directory.
6281 * INSTALL: Regenerated.
6282
6283 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6284
6285 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6286 value. Use "or" to set return value to -1.
6287 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6288 negate return value.
6289
6290 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6291
6292 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6293 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6294 failure if the compiler has Graphite support disabled.
6295 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6296 Likewise.
6297 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6298 CFLAGS-memmove.c): Likewise.
6299 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6300 Likewise.
6301
6302 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6303
6304 * sysdeps/x86_64/x32/_itoa.h: New file.
6305
6306 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6307 getdents system call only if kernel and user dirents have the
6308 same d_ino and d_off.
6309
6310 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6311 LLONG_MAX != LONG_MAX.
6312 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6313 (_fitoa_word): Likewise.
6314
6315 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6316 years.
6317 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6318 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6319 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6320
6321 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6322 include <bits/wordsize.h>. Check __x86_64__ instead of
6323 __WORDSIZE.
6324 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6325 if __x86_64__ is defined. Use anonymous union on fpstate.
6326
6327 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6328 anonymous union.
6329
6330 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6331
6332 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6333 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6334 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6335 Refer to _rtld_local_ro instead of _rtld_global_ro.
6336 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6337 Likewise.
6338 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6339 Likewise.
6340 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6341 Likewise.
6342 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6343 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6344 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6345
6346 * sysdeps/powerpc/powerpc32/dl-machine.c
6347 (__elf_machine_runtime_setup) [PROF]: Don't reference
6348 _dl_prof_resolve.
6349
6350 2012-05-18 Andreas Jaeger <aj@suse.de>
6351
6352 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6353 function only available for GCCs before 3.4 since GCC 3.4
6354 introduced a builtin.
6355 (lrint): Likewise.
6356 (llrintf): Likewise.
6357 (llrint): Likewise.
6358 (fmaxf): Likewise.
6359 (fmax): Likewise.
6360 (fminf): Likewise.
6361 (fmin): Likewise.
6362 (rint): Likewise.
6363 (rintf): Likewise.
6364 (nearbyint): Likewise.
6365 (nearbyintf): Likewise.
6366 (ceil): Likewise.
6367 (ceilf): Likewise.
6368 (floor): Likewise.
6369 (floorf): Likewise.
6370
6371 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6372
6373 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6374 on both fields and cast pointer to __syscall_ulong_t.
6375
6376 * bits/types.h (__fsword_t): New type.
6377 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6378 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6379 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6380 (__FSWORD_T_TYPE): Likewise.
6381 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6382 (__FSWORD_T_TYPE): Likewise.
6383 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6384 (__FSWORD_T_TYPE): Likewise.
6385 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6386 (__FSWORD_T_TYPE): Likewise.
6387 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6388 __SWORD_TYPE with __fsword_t.
6389 (statfs64): Likewise.
6390
6391 2012-05-17 David S. Miller <davem@davemloft.net>
6392
6393 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6394
6395 2012-05-17 Andreas Jaeger <aj@suse.de>
6396
6397 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6398 warning.
6399
6400 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6401
6402 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6403
6404 2012-05-17 Andreas Jaeger <aj@suse.de>
6405
6406 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6407 when it is used.
6408
6409 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6410
6411 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6412
6413 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6414
6415 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6416 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6417
6418 2012-05-17 Andreas Jaeger <aj@suse.de>
6419 Carlos O'Donell <carlos_odonell@mentor.com>
6420
6421 [BZ #14059]
6422 * sysdeps/x86_64/multiarch/init-arch.h
6423 (bit_YMM_Usable): Rename to...
6424 (bit_AVX_Usable): ... this.
6425 (bit_FMA4_Usable): New macro.
6426 (bit_XMM_state): New macro.
6427 (bit_YMM_state): New macro.
6428 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6429 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6430 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6431 (CPUID_OSXSAVE): New macro.
6432 (CPUID_AVX): New macro.
6433 (CPUID_FMA4): New macro.
6434 (index_YMM_Usable): Rename to...
6435 (index_AVX_Usable): ... this.
6436 (HAS_AVX): Use HAS_ARCH_FEATURE.
6437 (HAS_FMA4): Likewise.
6438 (HAS_YMM_USABLE): Remove.
6439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6440 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6441 are present.
6442 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6443 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6444 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6445 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6446 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6447
6448 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6449
6450 * math/libm-test.c: Support platforms without multiple rounding modes.
6451 * math/bug-nextafter.c: Support platforms without FP exceptions.
6452 * math/bug-nexttoward.c: Likewise.
6453 * math/test-fenv.c: Likewise.
6454 * math/test-misc.c: Likewise.
6455 * stdlib/bug-getcontext.c: Likewise.
6456
6457 2012-05-17 Andreas Jaeger <aj@suse.de>
6458
6459 * manual/examples/search.c (critter_cmp): Change signature to
6460 avoid warnings.
6461 * manual/string.texi (Collation Functions): Likewise.
6462
6463 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6464
6465 * bits/types.h: Fold copyright years.
6466 * bits/typesizes.h: Likewise.
6467 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6468 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6469 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6470 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6471 * time/time.h: Likewise.
6472
6473 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6474
6475 [BZ #208]
6476 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6477 in instead of returning them. Return void.
6478 (__libc_mallinfo): Accumulate over all arenas.
6479 (__malloc_stats): Adjust for change in int_mallinfo interface.
6480
6481 2012-05-16 Roland McGrath <roland@hack.frob.com>
6482
6483 [BZ #10375]
6484 * configure.in (NM): Add AC_CHECK_TOOL for it.
6485 (libc_extra_cflags): New substituted variable.
6486 Check for -fstack-protector being used implicitly.
6487 * configure: Regenerated.
6488 * config.make.in (config-extra-cflags): New variable,
6489 gets @libc_extra_cflags@.
6490 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6491
6492 [BZ #10375]
6493 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6494 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6495 * configure: Regenerated.
6496 * config.make.in (CPPUNDEFS): New substituted variable.
6497 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6498 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6499 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6500
6501 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6502
6503 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6504 (mq_attr): Use __syscall_slong_t.
6505
6506 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6507
6508 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6509 Check __x86_64__ instead of __WORDSIZE.
6510 (_STAT_VER_LINUX): Likewise.
6511 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6512 __syscall_ulong_t and __syscall_slong_t.
6513 (stat64): Likewise.
6514
6515 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6516
6517 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6518
6519 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6520
6521 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6522
6523 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6524
6525 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6526 __syscall_ulong_t.
6527
6528 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6529 include <bits/wordsize.h>. Check __x86_64__ instead of
6530 __WORDSIZE.
6531 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6532 defined.
6533 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6534
6535 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6536 include <bits/wordsize.h>. Check __x86_64__ instead of
6537 __WORDSIZE.
6538 (user_regs_struct): Use "__extension__ unsigned long long"
6539 instead of "unsigned long" if __x86_64__ is defined.
6540 (user): Likewise. Pad after pointer field if __ILP32__ is
6541 defined.
6542
6543 2012-05-16 Joseph Myers <joseph@codesourcery.com>
6544
6545 * configure.in (makeinfo): Require version 4.5 or later. Allow
6546 versions 5 to 9.
6547 * configure: Regenerated.
6548 * manual/install.texi (texinfo): Increase version requirement to
6549 4.5 or later.
6550 * INSTALL: Regenerated.
6551
6552 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6553
6554 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6555
6556 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6557
6558 * sysdeps/x86_64/x32/ffs.c: New file.
6559
6560 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6561 __syscall_ulong_t.
6562 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6563 defined. Use __syscall_ulong_t.
6564 (shminfo): Use __syscall_ulong_t.
6565 (shm_info): Likewise.
6566
6567 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6568 __syscall_ulong_t.
6569
6570 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6571 <bits/wordsize.h>.
6572 (msgqnum_t): Use __syscall_ulong_t.
6573 (msglen_t): Likewise.
6574 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6575 __syscall_ulong_t.
6576
6577 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6578 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6579
6580 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6581
6582 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6583 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6584
6585 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6586 __syscall_slong_t.
6587
6588 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6589 include <bits/wordsize.h>. Check __x86_64__ instead of
6590 __WORDSIZE.
6591
6592 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6593 "unsigned long long int" if __x86_64__ is defined.
6594 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6595
6596 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6597 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6598 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6599
6600 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6601 <stdint.h>.
6602 (GET_PC): Cast to uintptr_t first.
6603 (GET_FRAME): Likewise.
6604 (GET_STACK): Likewise.
6605
6606 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6607 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6608 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6609 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6610 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6611 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6612 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6613 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6614 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6615 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6616 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6617 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6618 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6619 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6620 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6621 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6622 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6623 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6624 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6625 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6626 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6627 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6628 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6629 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6630 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6631 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6632 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6633 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6634 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6635
6636 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6637
6638 * Makerules (+depfiles): Also collect depfiles from .oS in
6639 $(extra-objs).
6640 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6641 .oS, $(libnldbl-routines)).
6642
6643 * Makerules (native-compile-mkdep-flags): Define.
6644 * sunrpc/Makefile (extra-objs): Add $(addprefix
6645 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6646 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6647 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6648 calling $(make-target-directory).
6649
6650 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6651
6652 * bits/types.h (__snseconds_t): Removed.
6653 * time/time.h (struct timespec): Replace __snseconds_t with
6654 __syscall_slong_t.
6655 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6656 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6657 Likewise.
6658 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6659 (__SNSECONDS_T_TYPE): Likewise.
6660 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6661 (__SNSECONDS_T_TYPE): Likewise.
6662 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6663 (__SNSECONDS_T_TYPE): Likewise.
6664
6665 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6666
6667 * sysdeps/mach/hurd/bits/typesizes.h
6668 (__SYSCALL_SLONG_TYPE): New macro.
6669 (__SYSCALL_ULONG_TYPE): Likewise.
6670
6671 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6672
6673 * bits/types.h (__syscall_slong_t): New type.
6674 (__syscall_ulong_t): Likewise.
6675
6676 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6677 (__SYSCALL_ULONG_TYPE): Likewise.
6678 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6679 (__SYSCALL_SLONG_TYPE): Likewise.
6680 (__SYSCALL_ULONG_TYPE): Likewise.
6681 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6682 (__SYSCALL_SLONG_TYPE): Likewise.
6683 (__SYSCALL_ULONG_TYPE): Likewise.
6684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6685 (__SYSCALL_SLONG_TYPE): Likewise.
6686 (__SYSCALL_ULONG_TYPE): Likewise.
6687
6688 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6689
6690 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6691 Add sigaltstack-offsets.sym.
6692 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6693 <sigaltstack-offsets.h>.
6694 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6695 longjmp_msg pointer.
6696 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6697 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6698 signal stack.
6699 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6700
6701 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6702
6703 * elf/stackguard-macros.h: Remove file.
6704 * sysdeps/generic/stackguard-macros.h: New file.
6705 * sysdeps/i386/stackguard-macros.h: Likewise.
6706 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6707 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6708 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6709 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6710 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6711 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6712 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6713 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6714 <elf/stackguard-macros.h>.
6715
6716 [BZ #14109]
6717 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6718 __aligned__ in attribute.
6719 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6720 (gregset_t): Likewise.
6721
6722 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6723
6724 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6725 * sysdeps/x86_64/64/Implies-after: Here. New file.
6726 * sysdeps/x86_64/x32/Implies-after: New file.
6727
6728 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6729
6730 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6731 and access return value for _dl_profile_fixup. Use R10_LP to
6732 load frame size.
6733
6734 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6735
6736 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6737
6738 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6739
6740 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6741 * sysdeps/x86_64/x32/sysdep.h: New file.
6742
6743 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6744
6745 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6746 * sysdeps/x86_64/setjmp.S: Likewise.
6747
6748 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6749
6750 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6751 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6752 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6753 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6754 remove unused global constant.
6755
6756 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6757
6758 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6759 include of <not-cancel.h>.
6760
6761 2012-05-15 Roland McGrath <roland@hack.frob.com>
6762
6763 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6764
6765 2012-05-15 Jeff Law <law@redhat.com>
6766 Andreas Jaeger <aj@suse.de>
6767
6768 [BZ #13594]
6769 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6770 out from...
6771 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6772 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6773 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6774 code changing __hst_map_handle.map.
6775
6776 2012-05-15 Roland McGrath <roland@hack.frob.com>
6777
6778 * configure.in (sysnames): Look for Implies-before and Implies-after
6779 files.
6780 * configure: Regenerated.
6781
6782 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6783
6784 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6785 8-byte data alignment with LP_SIZE alignment.
6786
6787 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6788
6789 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6790 into R10_LP.
6791
6792 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6793
6794 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6795
6796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6797
6798 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6799 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6800 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6801 Likewise.
6802 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6803
6804 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6805
6806 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6807 (stackinfo_sub_sp): Likewise.
6808
6809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6810
6811 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6812 RAX_LP.
6813
6814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6815
6816 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6817 into R*_LP.
6818
6819 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6820
6821 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6822 sizes into R*_LP.
6823
6824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6825
6826 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6827
6828 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6829
6830 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6831 into R11_LP and load __x86_64_shared_cache_size_half into
6832 R8_LP.
6833
6834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6835
6836 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6837 R8_LP.
6838
6839 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6840
6841 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6842 logb for POWER7.
6843 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6844 logbf for POWER7.
6845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6846 logbl for POWER7.
6847 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6848 powerpc32/power7/fpu/s_logb.c via #include.
6849 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6850 powerpc32/power7/fpu/s_logbf.c via #include.
6851 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6852 powerpc32/power7/fpu/s_logbl.c via #include.
6853
6854 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6855
6856 * README.libm: Remove file.
6857
6858 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6859
6860 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6861 count for x32. Use R*_LP and omit operand-size suffix.
6862
6863 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6864
6865 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6866 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6867 * sysdeps/x86_64/x32/shlib-versions: New file.
6868
6869 2012-05-14 Roland McGrath <roland@hack.frob.com>
6870
6871 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6872 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6873 Use _dl_fatal_printf instead.
6874
6875 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6876
6877 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6878 set if not set by the user. Do not allow for being unset.
6879 * sysdeps/unix/sysv/linux/configure: Regenerated.
6880
6881 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6882
6883 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6884 the `q' suffix from lea and replace .quad with ASM_ADDR.
6885
6886 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6887
6888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6889 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6890 instead of $17.
6891 (PTR_DEMANGLE): Likewise.
6892
6893 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6894
6895 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6896 (LP_OP): Likewise.
6897 (ASM_ADDR): Likewise.
6898 (RAX_LP): Likewise.
6899 (RBP_LP): Likewise.
6900 (RBX_LP): Likewise.
6901 (RCX_LP): Likewise.
6902 (RDI_LP): Likewise.
6903 (RSI_LP): Likewise.
6904 (RSP_LP): Likewise.
6905 (R8_LP): Likewise.
6906 (R9_LP): Likewise.
6907 (R10_LP): Likewise.
6908 (R10_LP): Likewise.
6909 (R11_LP): Likewise.
6910 (R12_LP): Likewise.
6911 (R13_LP): Likewise.
6912 (R14_LP): Likewise.
6913 (R15_LP): Likewise.
6914
6915 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6916
6917 * sysdeps/x86_64/x32/dl-machine.h: New file.
6918
6919 2012-05-14 Andreas Jaeger <aj@suse.de>
6920
6921 * manual/Makefile (subdir): Remove export of subdir.
6922 (all): Remove target.
6923 (.PHONY): Remove all from list.
6924 (mkinstalldirs): Remove.
6925 (.PHONY): Remove installdirs from list.
6926 ($(inst_infodir)/libc.info): Use make-target-directory.
6927 (installdirs): Remove.
6928 (subdir_%): Remove.
6929 (glibc-targets): Remove.
6930 (lib): Remove.
6931 (stubs): Remove.
6932 ($(objpfx)stubs ../po/manual.pot): Remove.
6933 ($(objpfx)stamp%): Remove.
6934 (make-target-directory): Remove.
6935 (subdir_install): Remove.
6936 (routines): Remove.
6937 (aux): Remove.
6938 (sources): Remove.
6939 (objects): Remove.
6940 (headers): Remove.
6941
6942 [BZ #13750]
6943 * manual/.gitignore: Remove, it's not needed anymore.
6944 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6945 all files in it.
6946 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6947 directory.
6948 (texis): Renamed to $(objpfx)texis.
6949 (texis-path): New, contains path to generated files.
6950 (chapters.%): Use texis-path for complete path, add extra argument
6951 libc-texinfo.sh.
6952 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6953 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6954 (summary,texi, stamp-summary): Use complete path of
6955 files. Generate files in build dir.
6956 (dir-add.texi): Build in build dir.
6957 (libm-err.texi,stamp-libm-err): Likewise.
6958 (version.texi, stamp-version): Likewise.
6959 (.%c.texi): Likewise.
6960 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6961 (mostlyclean): Remove target.
6962 (realclean): Remove target.
6963 (generated): Add new variable with contents from mostlyclean and
6964 realclean, remove entries duplicated in common-mostlyclean, add
6965 stamp-libm-err and stamp-version.
6966 (generated-dirs): Add libc directory.
6967 ($(inst_infodir)/libc.info): Install files from build dir.
6968
6969 * manual/install.texi (Configuring and compiling): Adjust since
6970 the info files are not part of the tar ball anymore.
6971
6972 2012-05-14 Andreas Jaeger <aj@suse.de>
6973
6974 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6975 variable.
6976
6977 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6978
6979 [BZ #13717]
6980 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6981 to 2.2.0 where earlier.
6982 * sysdeps/unix/sysv/linux/configure: Regenerated.
6983 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6984 Remove conditional code.
6985 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6986 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6987 Remove conditional code.
6988 [!__NR_lchown]: Likewise.
6989 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6990 [__NR_lchown]: Likewise.
6991 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6992 comment referencing __ASSUME_LCHOWN_SYSCALL.
6993 * sysdeps/unix/sysv/linux/i386/sigaction.c
6994 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6995 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6996 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6997 Remove conditional code.
6998 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6999 (__protocol_available): Remove #if 0 code.
7000 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
7001 conditional code.
7002 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
7003 * sysdeps/unix/sysv/linux/kernel-features.h
7004 (__ASSUME_GETCWD_SYSCALL): Don't define.
7005 (__ASSUME_REALTIME_SIGNALS): Likewise.
7006 (__ASSUME_PREAD_SYSCALL): Likewise.
7007 (__ASSUME_PWRITE_SYSCALL): Likewise.
7008 (__ASSUME_POLL_SYSCALL): Likewise.
7009 (__ASSUME_LCHOWN_SYSCALL): Likewise.
7010 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7011 non-SPARC.
7012 (__ASSUME_SIOCGIFNAME): Don't define.
7013 (__ASSUME_MSG_NOSIGNAL): Likewise.
7014 (__ASSUME_SENDFILE): Define unconditionally.
7015 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7016 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7017 conditional code.
7018 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7019 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7020 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7021 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7022 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7023 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7024 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7026 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7027 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7029 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7032 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7033 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7035 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7036 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7038 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7039 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7041 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7042 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7044 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7045 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7047 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7049 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7050 Remove conditional code.
7051 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7052 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7053 Remove conditional code.
7054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7055 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7056 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7057 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7058 Remove conditional code.
7059 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7060 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7061 Remove conditional code.
7062 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7063 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7064 Remove conditional code.
7065 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7066 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7067 Remove conditional code.
7068 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7069 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7070 Remove conditional code.
7071 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7072 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7073 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7074 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7075 * sysdeps/unix/sysv/linux/sigaction.c
7076 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7077 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7078 * sysdeps/unix/sysv/linux/sigpending.c
7079 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7080 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7081 * sysdeps/unix/sysv/linux/sigprocmask.c
7082 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7083 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7084 * sysdeps/unix/sysv/linux/sigsuspend.c
7085 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7086 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7087 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7088 (__libc_missing_rt_sigs): Remove.
7089 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7090 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7091 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7092 Remove conditional code.
7093 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7094 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7095 return 1.
7096 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7097 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7098 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7099 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7100
7101 2012-05-14 Andreas Jaeger <aj@suse.de>
7102
7103 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7104 it's not used in glibc.
7105 (__coshm1): Likewise.
7106 (__acosh1p): Likewise.
7107 (__sgn): Likewise.
7108
7109 * manual/string.texi (Copying and Concatenation): Add missing
7110 variable in concat example.
7111 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7112
7113 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7114
7115 [BZ #14103]
7116 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7117 __builtin_clzl with __builtin_clzll.
7118
7119 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7120
7121 [BZ #14104]
7122 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7123 libc_freeres_ptr.
7124
7125 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7126
7127 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7128 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7129 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7130 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7131
7132 2012-05-14 Mike Frysinger <vapier@gentoo.org>
7133
7134 * NEWS: Update ia64 info.
7135
7136 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7137
7138 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7139 used as bcopy.
7140
7141 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7142
7143 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7144 * sysdeps/unix/syscalls.list (dup3): Likewise.
7145 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7146 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7147
7148 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7149
7150 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7151 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7152
7153 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7154
7155 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7156 thread pointer.
7157 (TLS_IE): Use mov/add instead of movq/addq to load thread
7158 pointer.
7159 (TLS_GD_PREFIX): New.
7160 (TLS_GD): Use it.
7161
7162 2012-05-11 David S. Miller <davem@davemloft.net>
7163
7164 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7165 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7166 (_FPU_SETCW): Likewise.
7167
7168 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7169
7170 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7171 is 32-byte aligned.
7172
7173 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7174
7175 [BZ #11837]
7176 * iconvdata/gb18030.c: Update tables.
7177 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7178 characters specially.
7179 (BODY for TO_LOOP): Add encoding of missing ranges.
7180
7181 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7182
7183 [BZ #13673]
7184 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7185 * sysdeps/mach/hurd/dup3.c: Likewise.
7186 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7187 * sysdeps/powerpc/memmove.c:: Likewise.
7188
7189 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7190
7191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7192 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7193
7194 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7195
7196 * elf/elf.h (R_X86_64_RELATIVE64): New.
7197 (R_X86_64_NUM): Updated.
7198 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7199 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7200 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7201 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7202 tst-quad1pie tst-quad2pie
7203 (modules-names): Add tst-quadmod1 tst-quadmod2.
7204 ($(objpfx)tst-quad1): New dependency.
7205 ($(objpfx)tst-quad2): Likewise.
7206 ($(objpfx)tst-quad1pie): Likewise.
7207 ($(objpfx)tst-quad2pie): Likewise.
7208 * sysdeps/x86_64/tst-quad1.c: New file.
7209 * sysdeps/x86_64/tst-quad1pie.c: New file.
7210 * sysdeps/x86_64/tst-quad2.c: Likewise.
7211 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7212 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7213 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7214 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7215 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7216
7217 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7218
7219 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7220 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7221 * streams/stropts.h (t_scalar_t): Define type.
7222
7223 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7224 (_PATH_PRESERVE): Set to "/var/lib".
7225 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7226
7227 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7228 instead of int.
7229
7230 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7231 if __dir_mkfile succeeded.
7232
7233 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7234 checking for _hurd_dtablesize. Unlock it right after having
7235 finished _hurd_dtable allocation.
7236
7237 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7238
7239 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7240 * sysdeps/mach/hurd/configure: Regenerated.
7241 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7242 special-casing to...
7243 * sysdeps/gnu/configure.in: ... this new file.
7244 * sysdeps/unix/sysv/linux/configure: Regenerated.
7245 * sysdeps/gnu/configure: New generated file.
7246
7247 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7248 for Linux: use nsec instead of usec, as well as:
7249 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7250 members of type struct timespec.
7251 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7252 New macros.
7253 (struct stat64): Likewise.
7254 (_STATBUF_ST_NSEC): New macro.
7255 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7256
7257 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7258 __strtoul_internal rather than strtoul.
7259
7260 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7261
7262 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7263 and reject them.
7264
7265 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7266
7267 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7268 which preserves existing values.
7269 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7270
7271 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7272
7273 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7274 TIMEOUT values. Return EINVAL for NFDS values either negative or
7275 greater than FD_SETSIZE.
7276
7277 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7278
7279 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7280 allocated, call __vm_protect to finish enabling the existing space, and
7281 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7282 allocate the remainder.
7283
7284 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7285
7286 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7287 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7288
7289 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7290
7291 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7292 sysdeps/mach/hurd/readlink.c.
7293
7294 * posix/tst-sysconf.c (posix_options): Only use
7295 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7296 _POSIX_SYNCHRONIZED_IO when they are defined
7297 * sysdeps/mach/hurd/bits/posix_opt.h:
7298 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7299 (_XOPEN_REALTIME): Undefine macro.
7300 (_XOPEN_REALTIME_THREADS): Undefine macro.
7301 (_XOPEN_SHM): Undefine macro.
7302 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7303 macro to -1.
7304 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7305 macro to -1.
7306 (_POSIX_ASYNC_IO): Undefine macro.
7307 (_POSIX_PRIORITIZED_IO): Undefine macro.
7308 (_POSIX_SPIN_LOCKS): Define macro to -1.
7309
7310 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7311 SA_NODEFER, SA_RESETHAND.
7312 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7313 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7314 F_DUPFD_CLOEXEC.
7315
7316 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7317
7318 * elf/Makefile (pldd-modules): Define unconditionally.
7319
7320 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7321
7322 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7323
7324 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7325
7326 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7327 Return ENOENT when name is empty.
7328 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7329
7330 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7331
7332 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7333
7334 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7335
7336 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7337
7338 Fix mlock in all cases except non-readable pages.
7339 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7340 instead of VM_PROT_ALL as parameter to __vm_wire function.
7341
7342 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7343 (__mkdir): When path is `/', just fail with EEXIST.
7344 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7345
7346 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7347
7348 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7349 <sys/uio.h> (for writev).
7350 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7351 and <sys/param.h> (for MIN).
7352
7353 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7354
7355 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7356 REQUESTED_TIME. Properly set the remaining time and return EINTR
7357 if interrupted.
7358
7359 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7360
7361 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7362 Depend on against $(link-rpcuserlibs).
7363
7364 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7365
7366 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7367 (__libc_stack_end): Do not use attribute_relro.
7368 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7369 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
7370 to libthread-provided value.
7371 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7372 attribute_relro.
7373
7374 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7375
7376 [BZ #3748]
7377 * bits/libc-lock.h (__libc_once_get): New macro.
7378 * sysdeps/mach/bits/libc-lock.h: Likewise.
7379 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7380 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7381 instead of using implementation details.
7382
7383 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7384 * libio/freopen.c: Likewise.
7385 * libio/freopen64.c: Likewise.
7386 * misc/syslog.c: Likewise.
7387 * nscd/connections.c: Likewise.
7388 * nscd/netgroupcache.c: Likewise.
7389 * sysdeps/posix/getcwd.c: Likewise.
7390
7391 2012-05-10 Roland McGrath <roland@hack.frob.com>
7392
7393 * math/w_ilogbf.c: Add #include <limits.h>.
7394
7395 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7396
7397 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
7398 path instead of returning without unlocking.
7399
7400 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7401 immediate-write ioctls.
7402 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7403
7404 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7405
7406 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7407 __builtin_frame_address instead of making assumptions about the
7408 location of the return address relative to DATA. Force early load of
7409 the return address.
7410 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7411 __builtin_frame_address.
7412
7413 dup3 for GNU Hurd.
7414 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7415 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7416 implement dup3 and do some further code clean-ups.
7417 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7418 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7419
7420 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7421
7422 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7423
7424 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7425 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7426 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7427 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7428 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7429 d->port.lock.
7430
7431 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7432 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7433 when handler == SIG_ERR, not when handler != SIG_ERR.
7434
7435 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7436
7437 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7438 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7439 definitions.
7440
7441 accept4 for GNU Hurd.
7442 * include/sys/socket.h (__libc_accept4): New prototype.
7443 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7444 to implement __libc_accept4.
7445 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7446 __libc_accept4.
7447 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7448
7449 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7450 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7451 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7452 signal-defines.sym.
7453
7454 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7455
7456 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
7457
7458 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7459
7460 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7461 assertion on O_CLOEXEC flag.
7462 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7463 * hurd/intern-fd.c: Likewise.
7464 * hurd/port2fd.c: Likewise.
7465
7466 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7467
7468 [BZ #3906]
7469 * bits/in.h (IPV6_PKTINFO): Define new macro.
7470 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7471
7472 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7473
7474 [BZ #13954]
7475 [BZ #13955]
7476 [BZ #13956]
7477 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7478 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7479 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7480 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7482 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7483 * math/libm-test.inc (logb_test) : Additional logb tests.
7484
7485 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7486 Andreas Jaeger <aj@suse.de>
7487
7488 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7489 * configure: Regenerated.
7490 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7491 * config.make.in (link-obsolete-rpc): New substituted variable.
7492 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7493 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7494 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7495 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7496 so that libc.a contains the symbols.
7497 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7498 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7499 * sunrpc/auth_none.c: Likewise.
7500 * sunrpc/auth_unix.c: Likewise.
7501 * sunrpc/authdes_prot.c: Likewise.
7502 * sunrpc/authuxprot.c: Likewise.
7503 * sunrpc/clnt_gen.c: Likewise.
7504 * sunrpc/clnt_perr.c: Likewise.
7505 * sunrpc/clnt_raw.c: Likewise.
7506 * sunrpc/clnt_simp.c: Likewise.
7507 * sunrpc/clnt_tcp.c: Likewise.
7508 * sunrpc/clnt_udp.c: Likewise.
7509 * sunrpc/clnt_unix.c: Likewise.
7510 * sunrpc/des_crypt.c: Likewise.
7511 * sunrpc/des_soft.c: Likewise.
7512 * sunrpc/get_myaddr.c: Likewise.
7513 * sunrpc/key_call.c: Likewise.
7514 * sunrpc/key_prot.c: Likewise.
7515 * sunrpc/netname.c: Likewise.
7516 * sunrpc/pm_getmaps.c: Likewise.
7517 * sunrpc/pm_getport.c: Likewise.
7518 * sunrpc/pmap_clnt.c: Likewise.
7519 * sunrpc/pmap_prot.c: Likewise.
7520 * sunrpc/pmap_prot2.c: Likewise.
7521 * sunrpc/pmap_rmt.c: Likewise.
7522 * sunrpc/publickey.c: Likewise.
7523 * sunrpc/rpc_cmsg.c: Likewise.
7524 * sunrpc/rpc_common.c: Likewise.
7525 * sunrpc/rpc_dtable.c: Likewise.
7526 * sunrpc/rpc_prot.c: Likewise.
7527 * sunrpc/rpc_thread.c: Likewise.
7528 * sunrpc/rtime.c: Likewise.
7529 * sunrpc/svc.c: Likewise.
7530 * sunrpc/svc_auth.c: Likewise.
7531 * sunrpc/svc_raw.c: Likewise.
7532 * sunrpc/svc_run.c: Likewise.
7533 * sunrpc/svc_tcp.c: Likewise.
7534 * sunrpc/svc_udp.c: Likewise.
7535 * sunrpc/svc_unix.c: Likewise.
7536 * sunrpc/svcauth_des.c: Likewise.
7537 * sunrpc/xcrypt.c: Likewise.
7538 * sunrpc/xdr.c: Likewise.
7539 * sunrpc/xdr_array.c: Likewise.
7540 * sunrpc/xdr_float.c: Likewise.
7541 * sunrpc/xdr_intXX_t.c: Likewise.
7542 * sunrpc/xdr_mem.c: Likewise.
7543 * sunrpc/xdr_rec.c: Likewise.
7544 * sunrpc/xdr_ref.c: Likewise.
7545 * sunrpc/xdr_sizeof.c: Likewise.
7546 * sunrpc/xdr_stdio.c: Likewise.
7547
7548 2012-05-10 Roland McGrath <roland@hack.frob.com>
7549
7550 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7551 change. Update copyright years.
7552
7553 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7554
7555 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7556
7557 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7558 Joseph Myers <joseph@codesourcery.com>
7559 Paul Pluzhnikov <ppluzhnikov@google.com>
7560
7561 [BZ #14012]
7562 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7563 requiring rpcgen.
7564 [cross-compiling] (extra-libs): Likewise.
7565 [cross-compiling] (extra-libs-others): Likewise.
7566 [cross-compiling] (librpcsvc-routines): Likewise.
7567 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7568 [cross-compiling] (omit-deps): Likewise.
7569 (sunrpc-CPPFLAGS): New variable.
7570 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7571 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7572 (cross-rpcgen-objs): New variable.
7573 (extra-objs): Append $(cross-rpcgen-objs).
7574 ($(cross-rpcgen-objs)): New rule.
7575 ($(objpfx)cross-rpcgen): Likewise.
7576 (rpcgen-cmd): Define to use $(built-program-file). Expand
7577 comment.
7578 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7579 ($(objpfx)x%.stmp): Likewise.
7580 * sunrpc/proto.h [IS_IN_build] (_): Define.
7581 [IS_IN_build] (_libc_intl_domainname): Likewise.
7582
7583 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7584
7585 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7586 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7587 and R_X86_64_TPOFF64.
7588
7589 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7590
7591 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7592 sysdeps/unix/sysv/syscalls.list.
7593 (stime): Likewise.
7594 (utime): Likewise.
7595 * sysdeps/unix/sysv/syscalls.list: Remove file.
7596
7597 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7598
7599 [BZ #3440]
7600 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7601 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7602 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7603 (__LC_IDENTIFICATION): Make these macros useful in #if
7604 expressions, as required by C99.
7605
7606 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7607
7608 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7609 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7610 after this.
7611
7612 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7613
7614 * stdlib/longlong.h: Updated from GCC.
7615
7616 2012-05-09 Andreas Jaeger <aj@suse.de>
7617
7618 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7619 default is first entry.
7620 (run_mode): Set type.
7621 (main): Remove informal message about syslog.
7622 (options): Fix typo.
7623
7624 [BZ #14053]
7625 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7626 to asm.
7627 (lrint): Likewise.
7628 (llrintf): Likewise.
7629 (llrint): Likewise.
7630 (rint): Likewise.
7631 (rintf): Likewise.
7632 (nearbyint): Likewise.
7633 (nearbyintf): Likewise.
7634
7635 2012-05-09 Andreas Jaeger <aj@suse.de>
7636 Pedro Alves <palves@redhat.com>
7637
7638 * nscd/nscd.c (run_mode): Use enum.
7639 (main): Cleanup coding style issue.
7640
7641 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
7642 Andreas Jaeger <aj@suse.de>
7643
7644 * nscd/nscd.c (go_background): Replaced with...
7645 (run_mode): ... this.
7646 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7647 (options): Add -F --foreground.
7648 (main): Implement it.
7649 (parse_opt): Parse it.
7650
7651 2012-05-09 Andreas Jaeger <aj@suse.de>
7652
7653 [BZ #14083]
7654 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7655 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7656 -Wconversion warning.
7657 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7658 Likewise.
7659
7660 2012-05-09 Joseph Myers <joseph@codesourcery.com>
7661
7662 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7663 == 0.
7664 (LC_ALL): Use macro-int-constant.
7665 (LC_COLLATE): Likewise.
7666 (LC_CTYPE): Likewise.
7667 (LC_MESSAGES): Likewise.
7668 (LC_MONETARY): Likewise.
7669 (LC_NUMERIC): Likewise.
7670 (LC_TIME): Likewise.
7671 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7672 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7673 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7674 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7675 Specify type.
7676 [C99-based standards] (float_t): Expect type.
7677 [C99-based standards] (double_t): Expect type.
7678 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7679 type.
7680 [C99-based standards] (HUGE_VALL): Likewise.
7681 [C99-based standards] (INFINITY): Likewise.
7682 [C99-based standards] (NAN): Likewise.
7683 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7684 [C99-based standards] (FP_NAN): Likewise.
7685 [C99-based standards] (FP_NORMAL): Likewise.
7686 [C99-based standards] (FP_SUBNORMAL): Likewise.
7687 [C99-based standards] (FP_ZERO): Likewise.
7688 [C99-based standards] (FP_FAST_FMA): Use
7689 optional-macro-int-constant. Specify type. Require == 1.
7690 [C99-based standards] (FP_FAST_FMAF): Likewise.
7691 [C99-based standards] (FP_FAST_FMAL): Likewise.
7692 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7693 [C99-based standards] (FP_ILOGBNAN): Likewise.
7694 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7695 Specify type.
7696 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7697 [C99-based standards] (math_errhandling): Specify type.
7698 [ISO99 || ISO11] (signgam): Do not allow.
7699 [non-C99-based standards] (copysignf): Do not allow.
7700 [non-C99-based standards] (exp2f): Likewise.
7701 [non-C99-based standards] (log2f): Likewise.
7702 [non-C99-based standards] (modff): Allow.
7703 [non-C99-based standards] (erff): Do not allow.
7704 [non-C99-based standards] (erfcf): Likewise.
7705 [non-C99-based standards] (gammaf): Likewise.
7706 [non-C99-based standards] (hypotf): Likewise.
7707 [non-C99-based standards] (j0f): Likewise.
7708 [non-C99-based standards] (j1f): Likewise.
7709 [non-C99-based standards] (jnf): Likewise.
7710 [non-C99-based standards] (lgammaf): Likewise.
7711 [non-C99-based standards] (tgammaf): Likewise.
7712 [non-C99-based standards] (y0f): Likewise.
7713 [non-C99-based standards] (y1f): Likewise.
7714 [non-C99-based standards] (ynf): Likewise.
7715 [non-C99-based standards] (isnanf): Likewise.
7716 [non-C99-based standards] (acoshf): Likewise.
7717 [non-C99-based standards] (asinhf): Likewise.
7718 [non-C99-based standards] (atanhf): Likewise.
7719 [non-C99-based standards] (cbrtf): Likewise.
7720 [non-C99-based standards] (expm1f): Likewise.
7721 [non-C99-based standards] (ilogbf): Likewise.
7722 [non-C99-based standards] (log1pf): Likewise.
7723 [non-C99-based standards] (logbf): Likewise.
7724 [non-C99-based standards] (nextafterf): Likewise.
7725 [non-C99-based standards] (remainderf): Likewise.
7726 [non-C99-based standards] (rintf): Likewise.
7727 [non-C99-based standards] (scalbf): Likewise.
7728 [non-C99-based standards] (copysignl): Likewise.
7729 [non-C99-based standards] (exp2l): Likewise.
7730 [non-C99-based standards] (log2l): Likewise.
7731 [non-C99-based standards] (modfl): Allow.
7732 [non-C99-based standards] (erfl): Do not allow.
7733 [non-C99-based standards] (erfcl): Likewise.
7734 [non-C99-based standards] (gammal): Likewise.
7735 [non-C99-based standards] (hypotl): Likewise.
7736 [non-C99-based standards] (j0l): Likewise.
7737 [non-C99-based standards] (j1l): Likewise.
7738 [non-C99-based standards] (jnl): Likewise.
7739 [non-C99-based standards] (lgammal): Likewise.
7740 [non-C99-based standards] (tgammal): Likewise.
7741 [non-C99-based standards] (y0l): Likewise.
7742 [non-C99-based standards] (y1l): Likewise.
7743 [non-C99-based standards] (ynl): Likewise.
7744 [non-C99-based standards] (isnanl): Likewise.
7745 [non-C99-based standards] (acoshl): Likewise.
7746 [non-C99-based standards] (asinhl): Likewise.
7747 [non-C99-based standards] (atanhl): Likewise.
7748 [non-C99-based standards] (cbrtl): Likewise.
7749 [non-C99-based standards] (expm1l): Likewise.
7750 [non-C99-based standards] (ilogbl): Likewise.
7751 [non-C99-based standards] (log1pl): Likewise.
7752 [non-C99-based standards] (logbl): Likewise.
7753 [non-C99-based standards] (nextafterl): Likewise.
7754 [non-C99-based standards] (remainderl): Likewise.
7755 [non-C99-based standards] (rintl): Likewise.
7756 [non-C99-based standards] (scalbl): Likewise.
7757 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7758 [non-C99-based standards] (FP_*): Do not allow.
7759 [C99-based standards] (FP_*): Change to
7760 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7761 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7762 allow.
7763 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7764 (SIG_ERR): Likewise.
7765 [X/Open-based standards] (SIG_HOLD): Likewise.
7766 (SIG_IGN): Likewise.
7767 (SIGABRT): Use macro-int-constant. Specify type. Require
7768 positive value.
7769 (SIGFPE): Likewise.
7770 (SIGILL): Likewise.
7771 (SIGINT): Likewise.
7772 (SIGSEGV): Likewise.
7773 (SIGTER): Likewise.
7774 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7775 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7776 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7777 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7778 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7779 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7780 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7781 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7782 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7783 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7784 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7785 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7786 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7787 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7788 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7789 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7790 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7791 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7792 [X/Open-based standards] (SIGTRAP): Likewise.
7793 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7794 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7795 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7796 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7797 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7798 allow.
7799
7800 2012-05-08 Ian Wienand <ianw@vmware.com>
7801
7802 [BZ #14080]
7803 * time/tzset.c (__tzset_parse_tz): Update default rules for
7804 daylight time changes in the Energy Policy Act of 2005.
7805
7806 2012-05-09 Andreas Jaeger <aj@suse.de>
7807
7808 [BZ #13983]
7809 * elf/ldconfig.c (parse_conf): Change string to make clear that
7810 ldconfig only issued a warning if ld.so.conf does not exist.
7811
7812 2012-05-08 David S. Miller <davem@davemloft.net>
7813
7814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7815 movxtod instead of popping the value on the stack.
7816
7817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7818
7819 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7820
7821 * config.h.in: Add HAVE_ARM_PCS_VFP.
7822
7823 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
7824
7825 [BZ #13979]
7826 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7827 checking but the checks are disabled for any reason.
7828
7829 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7830
7831 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7832 and ELF64_R_TYPE with ELFW(R_TYPE).
7833
7834 2012-05-08 Joseph Myers <joseph@codesourcery.com>
7835
7836 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7837 (ulimit): Likewise.
7838
7839 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7840 (settimeofday): Likewise.
7841
7842 2012-05-08 Mike Frysinger <vapier@gentoo.org>
7843
7844 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7845 a struct th_u2 inside the union, and move tu_block/tu_code into
7846 a new th_u3 union of tu_block/tu_code inside of that. Move
7847 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7848 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7849 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7850 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7851 (th_stuff): Change to th_u1.tu_stuff.
7852 (th_data): Define.
7853 (th_msg): Change to th_u1.th_u2.tu_data.
7854
7855 2012-05-07 David S. Miller <davem@davemloft.net>
7856
7857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7858
7859 [BZ #14074]
7860 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7861 (SETUP_PIC_REG): Use it.
7862 (SETUP_PIC_REG_LEAF): Use it.
7863
7864 2012-05-07 Joseph Myers <joseph@codesourcery.com>
7865
7866 [BZ #13885]
7867 [BZ #13923]
7868 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7869 USE_AS_EXPM1L.
7870 (EXPL_FINITE): Likewise.
7871 (FLDLOG): Likewise.
7872 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7873 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7874 e_expl.S.
7875 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7876 USE_AS_EXPM1L.
7877 (EXPL_FINITE): Likewise.
7878 (FLDLOG): Likewise.
7879 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7880 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7881 e_expl.S.
7882 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7883 test of -max_value argument for long double.
7884 * sysdeps/i386/fpu/libm-test-ulps: Update.
7885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7886
7887 2012-05-06 David S. Miller <davem@davemloft.net>
7888
7889 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7890 quad soft-float symbols whose references which are compiler
7891 generated.
7892 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7893
7894 2012-05-06 Joseph Myers <joseph@codesourcery.com>
7895
7896 [BZ #13884]
7897 [BZ #13914]
7898 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7899 USE_AS_EXP10L.
7900 (EXPL_FINITE): Likewise.
7901 (FLDLOG): Likewise.
7902 (c0): Likewise.
7903 (c1): Likewise.
7904 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7905 Adjust comments for base varying.
7906 (__expl_finite): Change alias to EXPL_FINITE.
7907 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7908 e_expl.S.
7909 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7910 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7911 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7912 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7913 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7914 USE_AS_EXP10L.
7915 (EXPL_FINITE): Likewise.
7916 (FLDLOG): Likewise.
7917 (c0): Likewise.
7918 (c1): Likewise.
7919 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7920 Adjust comments for base varying.
7921 (__expl_finite): Change alias to EXPL_FINITE.
7922 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7923 tests for bugs.
7924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7925
7926 [BZ #14064]
7927 * math/libm-test.inc (check_float_internal): Correct ulp
7928 calculation for subnormal expected results.
7929
7930 2012-05-06 Andreas Jaeger <aj@suse.de>
7931
7932 * Makeconfig (+math-flags): New, set to -frounding-math.
7933 (+cflags): Add +math-flags so that all of glibc gets compiled with
7934 it.
7935
7936 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7937
7938 2012-05-05 Joseph Myers <joseph@codesourcery.com>
7939
7940 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7941 Disable one test.
7942
7943 [BZ #13787]
7944 [BZ #13922]
7945 [BZ #14036]
7946 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7947 (__ieee754_expl): Allow for and saturate large arguments.
7948 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7949 (u_threshold): Likewise.
7950 (__exp): Call __ieee754_exp before checking for overflow and
7951 underflow.
7952 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7953 (u_threshold): Likewise.
7954 (__expf): Call __ieee754_expf before checking for overflow and
7955 underflow.
7956 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7957 (u_threshold): Likewise.
7958 (__expl): Call __ieee754_expl before checking for overflow and
7959 underflow.
7960 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7961 (__ieee754_expl): Allow for and saturate large arguments.
7962 * math/libm-test.inc (exp_test): Add another test. Do not allow
7963 missing overflow exception on overflow.
7964 (expm1_test): Do not allow missing overflow exception on overflow.
7965
7966 * sysdeps/i386/fpu/e_expl.c: Move to ...
7967 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7968 rather than using inline asm.
7969 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7970 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7971 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7972
7973 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7974 (nice): Likewise.
7975 (poll): Likewise.
7976 (signal): Likewise.
7977 (time): Likewise.
7978 (times): Likewise.
7979
7980 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7981
7982 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7983 sysdeps/unix/common/syscalls.list.
7984 (fchmod): Likewise.
7985 (fchown): Likewise.
7986 (ftruncate): Likewise.
7987 (getrusage): Likewise.
7988 (gettimeofday): Likewise.
7989 (setpgid): Likewise.
7990 (setregid): Likewise.
7991 (setreuid): Likewise.
7992 (sigaction): Likewise.
7993 (truncate): Likewise.
7994 (vhangup): Likewise.
7995 * sysdeps/unix/common/syscalls.list: Remove file.
7996 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7997 * sysdeps/unix/sysv/linux/Implies: Likewise.
7998
7999 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
8000
8001 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
8002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
8003 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
8004 Moved to ...
8005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8006 Here.
8007 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8008 to ...
8009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8010 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8011 to ...
8012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8013 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8014 to ...
8015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8016 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8017 to ...
8018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8019 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8020 to ...
8021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8022 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8023 to ...
8024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8025 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8026 to ...
8027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8028 Here.
8029 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8030 to ...
8031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8032 Here.
8033 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8034 to ...
8035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8036 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8037 Moved to ...
8038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8039 Here.
8040 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8041 to ...
8042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8043
8044 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8045
8046 * sysdeps/unix/common/bits/dirent.h: Remove file.
8047 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8048
8049 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8050 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8051 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8052 * sysdeps/unix/bsd/isatty.c: Likewise.
8053 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8054 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8055 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8056
8057 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8058
8059 [BZ #13563]
8060 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8061 long double comparison inaccuracies.
8062 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8064
8065 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8066
8067 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8068 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8069
8070 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8071
8072 [BZ #14049]
8073 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8074 nonzero digits before rounding a hex value.
8075 * stdlib/tst-strtod.c (tests): Add another test.
8076
8077 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8078
8079 * sysdeps/s390/fpu/libm-test-ulps: Update.
8080
8081 2012-05-03 Andreas Jaeger <aj@suse.de>
8082
8083 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8084 does not get optimized out.
8085 (malloc_opt_barrier): New.
8086
8087 2012-05-03 Andreas Jaeger <aj@suse.de>
8088 Roland McGrath <roland@hack.frob.com>
8089
8090 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
8091 intermediate file deletion.
8092 (generated): Add .symlist files.
8093
8094 2012-05-03 Joseph Myers <joseph@codesourcery.com>
8095
8096 [BZ #13775]
8097 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8098 Redirect under this condition.
8099 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8100 [__USE_GNU] (__dprintf_chk): Not under this condition.
8101 [__USE_GNU] (__vdprintf_chk): Likewise.
8102 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8103 under this condition.
8104 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8105 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8106 [__USE_XOPEN2K8] (vdprintf): Likewise.
8107 [__USE_GNU] (__dprintf_chk): Not under this condition.
8108 [__USE_GNU] (__vdprintf_chk): Likewise.
8109 [__USE_GNU] (dprintf): Likewise.
8110 [__USE_GNU] (vdprintf): Likewise.
8111
8112 2012-05-03 Roland McGrath <roland@hack.frob.com>
8113
8114 * elf/Makefile (common-generated): Set this instead of generated for
8115 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8116 $(all-built-dso)-derived lists.
8117
8118 2012-05-03 Andreas Jaeger <aj@suse.de>
8119
8120 * sysdeps/i386/fpu/libm-test-ulps: Update.
8121
8122 * FAQ: Removed.
8123 * FAQ.in: Likewise.
8124 * scripts/gen-FAQ.pl: Likewise.
8125 * manual/install.texi (Installation): Point to online location of
8126 FAQ.
8127 * Makefile (files-for-dist): Remove FAQ.
8128 (FAQ): Remove.
8129
8130 2012-05-02 Allan McRae <allan@archlinux.org>
8131
8132 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8133 (LDFLAGS-reldepmod5.so): Likewise.
8134 (LDFLAGS-reldep6mod1.so): Likewise.
8135 (LDFLAGS-reldep6mod4.so): Likewise.
8136 (LDFLAGS-reldep8mod3.so): Likewise.
8137 (LDFLAGS-unload4mod1.so): Likewise.
8138 (LDFLAGS-unload4mod2.so): Likewise.
8139 (LDFLAGS-tst-initorder): Likewise.
8140 (LDFLAGS-tst-initordera2.so): Likewise.
8141 (LDFLAGS-tst-initordera3.so): Likewise.
8142 (LDFLAGS-tst-initordera4.so): Likewise.
8143 (LDFLAGS-tst-initorderb2.so): Likewise.
8144 (LDFLAGS-noload): Likewise.
8145 (LDFLAGS-next): Likewise.
8146 (LDFLAGS-order2mod1.so): Likewise.
8147 (LDFLAGS-order2mod2.so): Likewise.
8148 (LDFLAGS-tst-initorder2): Likewise.
8149 (LDFLAGS-tst-initorder2a.so): Likewise.
8150 (LDFLAGS-tst-initorder2b.so): Likewise.
8151 (LDFLAGS-tst-initorder2c.so): Likewise.
8152 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8153
8154 2012-05-02 David S. Miller <davem@davemloft.net>
8155
8156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8157
8158 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8159
8160 [BZ #14055]
8161 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8162
8163 2012-05-02 Andreas Jaeger <aj@suse.de>
8164
8165 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8166 since we manipulate rounding mode.
8167 (CPPFLAGS-test-idouble.c): Likewise.
8168 (CPPFLAGS-test-ifloat.c): Likewise.
8169 (CFLAGS-test-ldouble.c): Likewise.
8170 (CFLAGS-test-double.c): Likewise.
8171 (CFLAGS-test-float.c): Likewise.
8172 (CFLAGS-test-misc.c): Likewise.
8173 (CFLAGS-test-test-fenv.c): Likewise.
8174
8175 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8176
8177 [BZ #2550]
8178 [BZ #2570]
8179 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8180 comparisons to determine direction to adjust input.
8181
8182 2012-05-01 Roland McGrath <roland@hack.frob.com>
8183
8184 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8185 output to the target.
8186
8187 * scripts/localplt.awk: New file.
8188 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8189 (check-localplt-CFLAGS): Variable removed.
8190 ($(all-built-dso:=.jmprel)): New static pattern rule.
8191 (generated): Add those targets.
8192 (localplt-built-dso): New variable.
8193 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8194
8195 * elf/check-localplt.c: File removed.
8196
8197 * scripts/check-execstack.awk: New file.
8198 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8199 (check-execstack-CFLAGS): Variable removed.
8200 ($(objpfx)check-execstack.h): Target removed.
8201 ($(objpfx)execstack-default): New target.
8202 (generated): Add that instead of check-execstack.h.
8203 ($(all-built-dso:=.phdr)): New static pattern rule.
8204 (generated): Add those targets.
8205 * elf/check-execstack.c: File removed.
8206
8207 * scripts/check-textrel.awk: New file.
8208 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8209 (check-textrel-CFLAGS): Variable removed.
8210 (all-built-dso): Use := to define.o
8211 ($(all-built-dso:=.dyn)): New static pattern rule.
8212 (generated): Add those targets.
8213 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8214 * config.make.in (READELF): New substituted variable.
8215 * elf/check-textrel.c: File removed.
8216
8217 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8218
8219 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8220 allow.
8221 * conform/data/ctype.h-data [C99-based standards] (isblank):
8222 Expect function.
8223 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8224 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8225 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8226 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8227 Specify type. Require positive value.
8228 (EILSEQ): Likewise.
8229 (ERANGE): Likewise.
8230 [ISO || POSIX] (EILSEQ): Do not expect.
8231 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8232 Specify type. Require positive value.
8233 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8234 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8235 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8236 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8237 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8238 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8239 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8240 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8241 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8242 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8243 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8244 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8245 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8246 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8247 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8248 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8249 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8250 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8251 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8252 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8253 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8254 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8255 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8256 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8257 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8258 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8259 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8260 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8261 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8262 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8263 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8264 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8265 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8266 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8267 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8268 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8269 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8270 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8271 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8272 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8273 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8274 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8275 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8276 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8277 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8278 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8279 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8280 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8281 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8282 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8283 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8284 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8285 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8286 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8287 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8288 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8289 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8290 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8291 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8292 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8293 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8294 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8295 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8296 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8297 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8298 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8299 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8300 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8301 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8302 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8303 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8304 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8305 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8306 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8307 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8308 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8309 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8310 Require >= 2.
8311 (FLT_ROUNDS): Expect as macro, not constant.
8312 (FLT_MANT_DIG): Use macro-int-constant.
8313 (DBL_MANT_DIG): Likewise.
8314 (LDBL_MANT_DIG): Likewise.
8315 (FLT_DIG): Likewise.
8316 (DBL_DIG): Likewise.
8317 (LDBL_DIG): Likewise.
8318 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8319 (DBL_MIN_EXP): Likewise.
8320 (LDBL_MIN_EXP): Likewise.
8321 (FLT_MAX_EXP): Use macro-int-constant.
8322 (DBL_MAX_EXP): Likewise.
8323 (LDBL_MAX_EXP): Likewise.
8324 (FLT_MAX_10_EXP): Likewise.
8325 (DBL_MAX_10_EXP): Likewise.
8326 (LDBL_MAX_10_EXP): Likewise.
8327 (FLT_MAX): Use macro-constant.
8328 (DBL_MAX): Likewise.
8329 (LDBL_MAX): Likewise.
8330 (FLT_EPSILON): Use macro-constant. Give upper bound.
8331 (DBL_EPSILON): Likewise.
8332 (LDBL_EPSILON): Likewise.
8333 (FLT_MIN): Likewise.
8334 (DBL_MIN): Likewise.
8335 (LDBL_MIN): Likewise.
8336 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8337 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8338 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8339 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8340 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8341 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8342 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8343 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8344 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8345 [ISO11] (FLT_TRUE_MIN): Likewise.
8346 [ISO11] (LDBL_TRUE_MIN): Likewise.
8347 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8348 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8349 (SCHAR_MIN): Use macro-int-constant. Specify type.
8350 (SCHAR_MAX): Likewise.
8351 (UCHAR_MAX): Likewise.
8352 (CHAR_MIN): Likewise.
8353 (CHAR_MAX): Likewise.
8354 (MB_LEN_MAX): Use macro-int-constant.
8355 (SHRT_MIN): Use macro-int-constant. Specify type.
8356 (SHRT_MAX): Likewise.
8357 (USHRT_MAX): Likewise.
8358 (INT_MAX): Likewise.
8359 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8360 bound negative.
8361 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8362 bound with "U".
8363 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8364 bound with "L".
8365 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8366 bound negative. Suffix upper bound with "L".
8367 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8368 bound with "UL".
8369 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8370 Specify type.
8371 [C99-based standards] (LLONG_MAX): Likewise.
8372 [C99-based standards] (ULLONG_MAX): Likewise.
8373 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8374 == 0.
8375 [ISO11] (max_align_t): Require type.
8376 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8377
8378 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8379 from $CFLAGS, without defining away __attribute__ calls.
8380 (checknamespace): Use $CFLAGS_namespace.
8381
8382 * conform/conformtest.pl (@keywords): Only include C99 keywords
8383 for standards based on C99 or C11.
8384
8385 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8386 Disable tests.
8387 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8388 UNIX98]: Likewise.
8389
8390 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8391 usability of symbols in #if.
8392
8393 * conform/conformtest.pl: If macro or constant types start
8394 "promoted:", expect the symbol to be of the following type
8395 promoted by the integer promotions.
8396
8397 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8398 in one place. Also handle "macro-constant".
8399
8400 * conform/conformtest.pl: Only accept expected macro values with
8401 "==". Parse all "macro" lines in one place.
8402 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8403
8404 * conform/conformtest.pl: Handle braced types on "constant" lines
8405 instead of handling "typed-constant".
8406 * conform/data/signal.h-data: Use "constant" instead of
8407 "typed-constant".
8408
8409 * conform/conformtest.pl: Handle "optional-" at start of lines in
8410 one place rather than duplicating several cases. Handle each
8411 format of "macro" line with initial "optional-".
8412
8413 * conform/conformtest.pl: Only accept expected constant or
8414 optional-constant values with "==". Parse all "constant" lines in
8415 one place. Parse all "optional-constant" lines in one place.
8416 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8417 * conform/data/fmtmsg.h-data: Likewise.
8418 * conform/data/netinet/in.h-data: Likewise.
8419 * conform/data/tar.h-data: Likewise.
8420 * conform/data/limits.h-data: Use "==" form on "constant" and
8421 "optional-constant" lines.
8422
8423 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8424 Use -std=c99 for XOPEN2K.
8425 (@knownproblems): Remove.
8426 (newtoken): Don't check %isknown.
8427
8428 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8429 Do not expect macro.
8430 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8431 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8432 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8433 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8434 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8435 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8436 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8437 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8438 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8439 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8440 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8441 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8442 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8443 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8444 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8445 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8446 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8447 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8448 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8449 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8450 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8451 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8452 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8453 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8454 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8455 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8456 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8457 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8458 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8459 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8460 [XPG3] (acosh): Likewise.
8461 [XPG3] (asinh): Likewise.
8462 [XPG3] (atanh): Likewise.
8463 [XPG3] (cbrt): Likewise.
8464 [XPG3] (expm1): Likewise.
8465 [XPG3] (ilogb): Likewise.
8466 [XPG3] (log1p): Likewise.
8467 [XPG3] (logb): Likewise.
8468 [XPG3] (nextafter): Likewise.
8469 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8470 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8471 [XPG3] (remainder): Likewise.
8472 [XPG3] (rint): Likewise.
8473 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8474 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8475 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8476 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8477 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8478 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8479 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8480 [UNIX98 || XOPEN2K] (scalb): Expect.
8481 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8482 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8483 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8484 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8485 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8486 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8487 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8488 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8489 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8490 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8491 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8492 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8493 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8494 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8495 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8496 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8497 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8498 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8499 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8500 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8501 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8502 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8503 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8504 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8505 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8506 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8507 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8508 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8509 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8510 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8511 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8512 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8513 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8514 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8515 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8516 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8517 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8518 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8519 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8520 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8521 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8522 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8523 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8524 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8525 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8526 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8527 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8528 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8529 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8530 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8531 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8532 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8533 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8534 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8535 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8536 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8537 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8538 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8539 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8540 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8541 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8542 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8543 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8544 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8545 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8546 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8547 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8548 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8549 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8550 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8551 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8552 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8553 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8554 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8555 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8556 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8557 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8558 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8559 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8560 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8561 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8562 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8563 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8564 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8565 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8566 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8567 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8568 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8569 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8570 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8571 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8572 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8573 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8574 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8575 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8576 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8577 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8578 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8579 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8580 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8581 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8582 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8583 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8584 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8585 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8586 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8587 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8588 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8589 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8590 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8591 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8592 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8593 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8594 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8595 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8596 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8597 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8598 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8599 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8600 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8601 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8602 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8603 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8604 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8605 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8606 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8607 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8608 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8609 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8610 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8611 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8612 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8613 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8614 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8615 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8616 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8617 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8618
8619 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8620 _XOPEN_SOURCE_EXTENDED for XPG4.
8621
8622 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8623
8624 * Makeconfig (localtime): Remove variable.
8625 (inst_localtime-file): Likewise.
8626
8627 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8628
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8630 Update.
8631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8632 Update.
8633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8634 Update.
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8636 Update.
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8638 Update.
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8640 Update.
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8642 Update.
8643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8644 Update.
8645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8646 Update.
8647
8648 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8649
8650 [BZ #2550]
8651 [BZ #2570]
8652 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8653 comparisons to determine direction to adjust input.
8654 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8655 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8656 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8657 Likewise.
8658 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8659 Likewise.
8660 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8661 Likewise.
8662 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8663 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8664 Likewise.
8665 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8666 Likewise.
8667 * math/libm-test.inc (nexttoward_test): Add more tests.
8668
8669 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8670
8671 [BZ #14040]
8672 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8673 in version GLIBC_2.1, not GLIBC_2.0.
8674 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8675 Likewise.
8676
8677 2012-04-30 Joseph Myers <joseph@codesourcery.com>
8678
8679 [BZ #13942]
8680 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8681 (1 - x) * (1 + x).
8682 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8683 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8684 * math/libm-test.inc (acos_test): Add more tests.
8685 (asin_test): Likewise.
8686 * sysdeps/i386/fpu/libm-test-ulps: Update.
8687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8688
8689 [BZ #14034]
8690 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8691 of square root.
8692 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8693 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8694 * math/libm-test.inc (acos_test_tonearest): New function.
8695 (acos_test_towardzero): Likewise.
8696 (acos_test_downward): Likewise.
8697 (acos_test_upward): Likewise.
8698 (asin_test_tonearest): Likewise.
8699 (asin_test_towardzero): Likewise.
8700 (asin_test_downward): Likewise.
8701 (asin_test_upward): Likewise.
8702 (main): Call the new functions.
8703 * sysdeps/i386/fpu/libm-test-ulps: Update.
8704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8705
8706 [BZ #13884]
8707 [BZ #13924]
8708 * math/e_exp10.c: Include <float.h>.
8709 (__ieee754_exp10): Handle underflow here rather than multiplying
8710 large negative argument by M_LN10.
8711 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8712 of __ieee754_expf.
8713 * math/e_exp10l.c: Include <float.h>.
8714 (__ieee754_exp10l): Handle underflow here rather than multiplying
8715 large negative argument by M_LN10l.
8716 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8717 spurious overflow exception on underflow.
8718
8719 2012-04-29 Marek Polacek <polacek@redhat.com>
8720
8721 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8722 (__fortify_function): New macro.
8723 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8724 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8725 __extern_always_inline.
8726 * libio/bits/stdio2.h: Likewise.
8727 * libio/bits/stdio.h: Likewise.
8728 * string/string.h: Likewise.
8729 * string/bits/string3.h: Likewise.
8730 * include/stdio.h: Likewise.
8731 * stdlib/bits/stdlib.h: Likewise.
8732 * stdlib/stdlib.h: Likewise.
8733 * rt/bits/mqueue2.h: Likewise.
8734 * rt/mqueue.h: Likewise.
8735 * posix/bits/unistd.h: Likewise.
8736 * posix/unistd.h: Likewise.
8737 * io/bits/poll2.h: Likewise.
8738 * io/bits/fcntl2.h: Likewise.
8739 * io/fcntl.h: Likewise.
8740 * io/sys/poll.h: Likewise.
8741 * misc/bits/syslog.h: Likewise.
8742 * misc/bits/syslog-ldbl.h: Likewise.
8743 * misc/sys/syslog.h: Likewise.
8744 * socket/bits/socket2.h: Likewise.
8745 * socket/sys/socket.h: Likewise.
8746 * debug/tst-chk1.c: Likewise.
8747 * wcsmbs/bits/wchar2.h: Likewise.
8748 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8749 * wcsmbs/wchar.h: Likewise.
8750
8751 2012-04-29 Andreas Jaeger <aj@suse.de>
8752
8753 * Makerules (tests): Remove enable-check-abi protection.
8754 (check-abi-warn): Remove.
8755 (check-abi-%): Remove check-abi-warn usage.
8756
8757 * configure.in: Remove check-abi configure option.
8758 * configure: Regenerated.
8759 * config.make.in (enable-check-abi): Remove.
8760
8761 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8762
8763 [BZ #14033]
8764 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8765 double functions to double *_finite functions.
8766
8767 [BZ #13941]
8768 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8769 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8770 LDBL_MIN_EXP.
8771 * stdio-common/Makefile (tests): Add tst-sprintf3.
8772 * stdio-common/tst-sprintf3.c: New file.
8773
8774 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8775 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8776
8777 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8778
8779 * conform/conformtest.pl: Remove duplicate typed-constant
8780 handling.
8781
8782 2012-04-28 David S. Miller <davem@davemloft.net>
8783
8784 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8785 (check-abi-%): Remove AWK script prerequisite and explicit
8786 abilist directory.
8787 (check-abi): Rewrite to just diff the symlist with the abilist.
8788 (config-tls, config-abi-config): Delete, no longer used.
8789 (update-abi-%): Remove AWK script and explicit abilist directory.
8790 (update-abi): Rewrite to simply compare and conditionally copy the
8791 symlist and the sysdep abilist file. Remove update-abi-config
8792 checks.
8793 * abilist/ld.abilist: Remove.
8794 * abilist/libBrokenLocale.abilist: Remove.
8795 * abilist/libanl.abilist: Remove.
8796 * abilist/libcrypt.abilist: Remove.
8797 * abilist/libdl.abilist: Remove.
8798 * abilist/librt.abilist: Remove.
8799 * abilist/libthread_db.abilist: Remove.
8800 * abilist/libutil.abilist: Remove.
8801 * scripts/extract-abilist.awk: Remove.
8802 * scripts/merge-abilist.awk: Remove.
8803 * sysdeps/generic/libcidn.abilist: New file.
8804 * sysdeps/generic/libnss_compat.abilist: New file.
8805 * sysdeps/generic/libnss_db.abilist: New file.
8806 * sysdeps/generic/libnss_dns.abilist: New file.
8807 * sysdeps/generic/libnss_files.abilist: New file.
8808 * sysdeps/generic/libnss_hesiod.abilist: New file.
8809 * sysdeps/generic/libnss_nis.abilist: New file.
8810 * sysdeps/generic/libnss_nisplus.abilist: New file.
8811 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8812 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8813 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8814 file.
8815 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8816 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8817 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8818 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8819 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8820 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8821 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8822 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8823 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8824 file.
8825 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8826 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8827 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8828 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8829 file.
8830 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8831 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8832 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8833 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8834 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8835 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8836 file.
8837 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8838 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8839 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8840 file.
8841 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8843 New file.
8844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8845 New file.
8846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8847 New file.
8848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8849 New file.
8850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8851 New file.
8852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8853 New file.
8854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8855 New file.
8856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8857 New file.
8858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8859 New file.
8860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8861 New file.
8862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8863 New file.
8864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8865 New file.
8866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8867 New file.
8868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8869 file.
8870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8871 New file.
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8873 New file.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8875 file.
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8877 New file.
8878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8879 New file.
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8881 file.
8882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8883 New file.
8884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8885 New file.
8886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8887 New file.
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8889 New file.
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8891 New file.
8892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8893 New file.
8894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8896 file.
8897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8898 New file.
8899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8900 file.
8901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8902 file.
8903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8904 file.
8905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8906 file.
8907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8908 file.
8909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8910 New file.
8911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8912 file.
8913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8914 file.
8915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8916 New file.
8917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8918 file.
8919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8921 file.
8922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8923 New file.
8924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8925 file.
8926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8927 file.
8928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8929 file.
8930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8931 file.
8932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8933 file.
8934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8935 New file.
8936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8937 file.
8938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8939 file.
8940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8941 New file.
8942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8943 file.
8944 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8945 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8946 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8947 file.
8948 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8949 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8950 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8951 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8952 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8953 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8954 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8955 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8956 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8957 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8960 file.
8961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8962 New file.
8963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8964 file.
8965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8966 file.
8967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8968 file.
8969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8970 file.
8971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8972 file.
8973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8974 New file.
8975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8976 New file.
8977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8978 file.
8979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8980 New file.
8981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8982 file.
8983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8985 file.
8986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8987 New file.
8988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8989 file.
8990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8991 file.
8992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8993 file.
8994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8995 file.
8996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8997 file.
8998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8999 New file.
9000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9001 New file.
9002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
9003 file.
9004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9005 New file.
9006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9007 file.
9008
9009 2012-04-28 Joseph Myers <joseph@codesourcery.com>
9010
9011 * conform/conformtest.pl: Fix typo in handling typed-constant from
9012 allow-header.
9013
9014 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9015
9016 * README: Cut down references to pre-2.6 Linux kernels and
9017 Linuxthreads. Update lists of configurations in libc and ports
9018 and sort alphabetically. Say "or newer" with Linux kernel version
9019 requirements.
9020
9021 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9022
9023 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9024
9025 [BZ #887]
9026 * math/libm-test.inc (logb_test_downward): New test to expose
9027 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9028 rounding mode.
9029
9030 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9031
9032 [BZ #14027]
9033 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9034 to be done.
9035 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9036 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9037
9038 2012-04-26 Joseph Myers <joseph@codesourcery.com>
9039
9040 * sysdeps/unix/i386/brk.S: Remove file.
9041 * sysdeps/unix/i386/dl-brk.S: Likewise.
9042 * sysdeps/unix/i386/pipe.S: Likewise.
9043 * sysdeps/unix/i386/sigreturn.S: Likewise.
9044 * sysdeps/unix/i386/syscall.S: Likewise.
9045 * sysdeps/unix/i386/vfork.S: Likewise.
9046 * sysdeps/unix/i386/wait.S: Likewise.
9047
9048 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9049 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9050
9051 * configure.in (arm*-none*): Do not allow without
9052 --enable-hacker-mode.
9053 (netbsd*): Remove case setting base_os.
9054 (386bsd*): Likewise.
9055 (freebsd*): Likewise.
9056 (bsdi*): Likewise.
9057 (osf*): Likewise.
9058 (sunos*): Likewise.
9059 (ultrix*): Likewise.
9060 (newsos*): Likewise.
9061 (dynix*): Likewise.
9062 (*bsd*): Likewise.
9063 (sysv*): Likewise.
9064 (isc*): Likewise.
9065 (esix*): Likewise.
9066 (sco*): Likewise.
9067 (minix*): Likewise.
9068 (irix4*): Likewise.
9069 (irix6*): Likewise.
9070 (solaris[2-9]*): Likewise.
9071 (none): Likewise.
9072 * configure: Regenerated.
9073
9074 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9075
9076 [BZ #11521]
9077 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9078 overflow or cancellation in calculating denominator.
9079 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9080 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9081 down expression to avoid unexpected rounding in newer GCCs.
9082 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9083
9084 2012-04-26 David S. Miller <davem@davemloft.net>
9085
9086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9087 long-double compat symbols.
9088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9101
9102 2012-04-25 David S. Miller <davem@davemloft.net>
9103
9104 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9105 HWCAP_* values only after the memory barriers have been defined.
9106 (atomic_full_barrier): Define.
9107 (atomic_read_barrier): Define.
9108 (atomic_write_barrier): Define.
9109
9110 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9111
9112 * shlib-versions: Add libgcc_s version information.
9113 * sysdeps/generic/libgcc_s.h: Remove.
9114 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9115 libgcc_s.h.
9116 * sysdeps/gnu/unwind-resume.c: Likewise.
9117 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9118
9119 2012-04-25 David S. Miller <davem@davemloft.net>
9120
9121 * sysdeps/unix/sparc/brk.S: Delete.
9122 * sysdeps/unix/sparc/dl-brk.S: Delete.
9123 * sysdeps/unix/sparc/pipe.S: Delete.
9124 * sysdeps/unix/sparc/sysdep.S: Delete.
9125 * sysdeps/unix/sparc/sysdep.h: Delete.
9126 * sysdeps/unix/sparc/vfork.S: Delete.
9127 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9128 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9129 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9130 ret_ERRVAL, r0, r1, MOVE): Define.
9131 (JUMPTARGET): Remove.
9132 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9133 sysdeps/unix/sparc/sysdep.h
9134 (ENTRY, END): Remove.
9135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9136
9137 2012-04-25 Joseph Myers <joseph@codesourcery.com>
9138
9139 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9140 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9141 -DIS_IN_build.
9142
9143 * timezone/README: Update upstream location and email address for
9144 tzcode and tzdata.
9145 * timezone/zdump.c: Update from tzcode 2012b.
9146 * timezone/zic.c: Likewise.
9147
9148 * configure.in (libc_cv_as_needed): Remove test.
9149 * configure: Regenerated.
9150 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9151 conditional definition.
9152 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9153 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9154 * config.make.in (have-as-needed): Remove variable.
9155
9156 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9157 Paul Pluzhnikov <ppluzhnikov@google.com>
9158
9159 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9160 strings correctly.
9161
9162 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9163
9164 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9165 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9166 * sysdeps/sh/strlen.S: Likewise.
9167
9168 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9169
9170 * sysdeps/unix/fork.S: Remove file.
9171 * sysdeps/unix/i386/fork.S: Likewise.
9172 * sysdeps/unix/sparc/fork.S: Likewise.
9173
9174 * sysdeps/unix/system.c: Remove file.
9175 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9176
9177 * sysdeps/unix/getegid.S: Remove file.
9178 * sysdeps/unix/geteuid.S: Likewise.
9179
9180 2012-04-24 Roland McGrath <roland@hack.frob.com>
9181
9182 * scripts/check-localplt.awk: New file.
9183 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9184 of diff.
9185 * scripts/data/localplt-generic.data: Add a comment.
9186
9187 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9188 NODE when __dir_mkfile failed.
9189 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9190 Reported by Ludovic Courtès <ludo@gnu.org>.
9191
9192 2012-04-24 Andreas Jaeger <aj@suse.de>
9193
9194 * Makerules (common-clean): Also remove gen-as-const-headers
9195 files.
9196
9197 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9198
9199 * Makerules (native-compile): Do not change working directory for
9200 build. Use $(OUTPUT_OPTION) in command.
9201 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9202
9203 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9204
9205 [BZ #13886]
9206 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9207 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9208 * math/libm-test.inc (floor_test): Add more tests.
9209 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9210
9211 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9212
9213 * sysdeps/unix/getdents.c: Remove file.
9214 * sysdeps/unix/sysv/getdents.c: Likewise.
9215 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9216
9217 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9218 sysdeps/unix/mman/syscalls.list.
9219 (mmap): Likewise.
9220 (mprotect): Likewise.
9221 (msync): Likewise.
9222 (munmap): Likewise.
9223 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9224 * sysdeps/unix/mman/syscalls.list: Remove.
9225 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9226
9227 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9228 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9229 * configure: Regenerated.
9230 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9231 $(libgcc_s_suffix).
9232 * config.make.in (libgcc_s_suffix): Remove variable.
9233
9234 2012-04-23 Joseph Myers <joseph@codesourcery.com>
9235
9236 * sysdeps/unix/sysv/gethostname.c: Move to ...
9237 * sysdeps/posix/gethostname.c: ... here.
9238
9239 * sysdeps/unix/execve.S: Remove file.
9240
9241 * sysdeps/unix/_exit.S: Remove file.
9242
9243 2012-04-23 Andreas Jaeger <aj@suse.de>
9244
9245 [BZ #13739]
9246 * manual/Makefile: Remove make dist support, there's no
9247 need for a stand-alone documentation tar ball.
9248 (TEXI2DVI): Define always, it's not in Makeconfig.
9249 (dist): Removed.
9250 (tar-it): Removed.
9251 (edition): Removed.
9252 (glibc-doc-$(edition).tar): Removed
9253 (%.Z): Removed.
9254 (%.gz): Removed.
9255 (%.uu): Removed.
9256 (ETAGS): Remove, it's in Makeconfig.
9257 (move-if-change): Remove, it's in Makeconfig.
9258
9259 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9260
9261 [BZ #13970]
9262 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9263 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9264 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9265 (strtod_l, strtof_l, strtold_l): Remove __wur.
9266 It is not necessarily an error to ignore strtol's return value.
9267 One can reliably look at the stored endptr to decide whether
9268 the number had valid syntax.
9269
9270 2012-04-21 Andreas Jaeger <aj@suse.de>
9271
9272 [BZ #13739]
9273 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9274
9275 2012-04-21 Joseph Myers <joseph@codesourcery.com>
9276
9277 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9278 * sysdeps/unix/sysv/Versions: Remove file.
9279
9280 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9281
9282 [BZ #13927]
9283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9284
9285 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
9286
9287 [BZ #7064]
9288 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9289 version from __vm86.
9290
9291 2012-04-20 Joseph Myers <joseph@codesourcery.com>
9292
9293 * sysdeps/unix/common/lxstat.c: Remove file.
9294 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9295
9296 * sysdeps/unix/sysv/Makefile: Remove file.
9297
9298 * sysdeps/unix/sysv/direct.h: Remove file.
9299
9300 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9301 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9302 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9303 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9304 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9305 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9306 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9307
9308 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9309
9310 * sysdeps/unix/xmknod.c: Remove file.
9311 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9312
9313 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9314
9315 * sysdeps/unix/sysv/i386/time.S: Remove file.
9316
9317 * sysdeps/unix/fxstat.c: Remove file.
9318 * sysdeps/unix/xstat.c: Likewise.
9319 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9320
9321 * sysdeps/unix/sysv/sigaction.c: Remove file.
9322
9323 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9324 (sysdep_headers): Remove variable.
9325 [termio.h not in sysdep_headers] (generated): Likewise.
9326 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9327 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9328 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9329 * sysdeps/unix/sysv/tcflow.c: Likewise.
9330 * sysdeps/unix/sysv/tcflush.c: Likewise.
9331 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9332 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9333 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9334 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9335 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9336
9337 * sysdeps/unix/siglist.c: Remove file.
9338
9339 * sysdeps/unix/getppid.S: Remove file.
9340
9341 * sysdeps/unix/mkdir.c: Remove file.
9342 * sysdeps/unix/rmdir.c: Likewise.
9343
9344 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9345
9346 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9347 ERR_MAX value.
9348 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9349 errlist-compat value.
9350
9351 2012-04-18 David S. Miller <davem@davemloft.net>
9352
9353 * sysdeps/generic/memcopy.h (reg_char): Delete.
9354 * debug/strcat_chk.c: Use char, not reg_char.
9355 * debug/strcpy_chk.c: Likewise.
9356 * debug/strncat_chk.c: Likewise.
9357 * debug/strncpy_chk.c: Likewise.
9358 * string/memchr.c: Likewise.
9359 * string/memrchr.c: Likewise.
9360 * string/rawmemchr.c: Likewise.
9361 * string/strcat.c: Likewise.
9362 * string/strchr.c: Likewise.
9363 * string/strchrnul.c: Likewise.
9364 * string/strcmp.c: Likewise.
9365 * string/strcpy.c: Likewise.
9366 * string/strncat.c: Likewise.
9367 * string/strncmp.c: Likewise.
9368 * string/strncpy.c: Likewise.
9369
9370 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9371
9372 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9373 __builtin_memcopy is called when src and dest ranges are known to not
9374 overlap.
9375
9376 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9377
9378 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9379 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9380 fwd_align_merge macro call.
9381 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9382 bwd_align_merge macro call.
9383 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9384
9385 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9386
9387 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9388 bwd_align_merge macros.
9389 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9390 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9391 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9392
9393 2012-04-18 David S. Miller <davem@davemloft.net>
9394
9395 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9396
9397 2012-04-18 Andreas Jaeger <aj@suse.de>
9398
9399 [BZ# 6794]
9400 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9401 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9402 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9403
9404 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9405 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9406 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9407
9408 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9409 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9410 Adjust for changed ldbl-128 files.
9411
9412 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9413 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9414 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9415
9416 2012-04-17 David S. Miller <davem@davemloft.net>
9417
9418 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9419
9420 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9421
9422 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9423 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9424 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9425 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9426 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9427 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9428
9429 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9430
9431 [BZ #6794]
9432 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9433 * math/libm-test.inc: Add ilogb errno and exception tests.
9434 * math/w_ilogb.c: New file: ilogb wrapper.
9435 * math/w_ilogbf.c: New file: ilogbf wrapper.
9436 * math/w_ilogbl.c: New file: ilogbl wrapper.
9437 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9438 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9439 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9440 exception being thrown with 0.0 as argument.
9441 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9442 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9443 exception being thrown with 0.0 as argument.
9444 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9445 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9446 exception being thrown with 0.0 as argument.
9447 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9448 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9449 exception being thrown with 0.0 as argument.
9450 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9451 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
9452 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
9453 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9454 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9455 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9456 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9457 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9458 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9459
9460 2012-04-17 Petr Baudis <pasky@ucw.cz>
9461
9462 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9463 with altivec.
9464
9465 2012-04-16 Marek Polacek <polacek@redhat.com>
9466
9467 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9468
9469 2012-04-16 Marek Polacek <polacek@redhat.com>
9470
9471 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9472 operands of fdivp instruction.
9473
9474 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9475
9476 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9477 * elf/tst-auditmod3b.c: Likewise.
9478 * elf/tst-auditmod4b.c: Likewise.
9479 * elf/tst-auditmod5b.c: Likewise.
9480 * elf/tst-auditmod6b.c: Likewise.
9481 * elf/tst-auditmod6c.c: Likewise.
9482 * elf/tst-auditmod7b.c: Likewise.
9483 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9484 * sysdeps/x86_64/preconfigure.in: Likewise.
9485 * sysdeps/x86_64/preconfigure: Regenerated.
9486
9487 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9488
9489 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9490 __ILP32__.
9491
9492 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
9493
9494 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9495 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9496
9497 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9498
9499 [BZ #13973]
9500 * locale/iso-639.def: Fix gl language name. Spotted by
9501 Yaron Shahrabani.
9502
9503 2012-04-12 Roland McGrath <roland@hack.frob.com>
9504
9505 [BZ #2074]
9506 * libio/libio.h (__io_write_fn): Update comment.
9507
9508 2012-04-12 Petr Baudis <pasky@ucw.cz>
9509
9510 [BZ #2074]
9511 * stdio.texi (Hook Functions): The user provided writer function
9512 is not allowed to return -1.
9513
9514 2012-04-11 David S. Miller <davem@davemloft.net>
9515
9516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9517
9518 2012-04-11 Mike Frysinger <vapier@gentoo.org>
9519
9520 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9521 Add a leading slash to rtkaio.
9522
9523 2012-04-11 Jim Meyering <meyering@redhat.com>
9524
9525 [BZ #11959]
9526 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9527 It is not necessarily an error to ignore fwrite's return
9528 value. One can reliably use ferror to test for errors after
9529 the fact.
9530
9531 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9532
9533 * bits/types.h (__snseconds_t): New type.
9534 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9535
9536 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9537 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9538 (__SNSECONDS_T_TYPE): Likewise.
9539 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9540 (__SNSECONDS_T_TYPE): Likewise.
9541 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9542 (__SNSECONDS_T_TYPE): Likewise.
9543
9544 2012-04-10 Andreas Jaeger <aj@suse.de>
9545
9546 [BZ #2636]
9547 * manual/time.texi (Processor Time): Return type of times is
9548 elapsed real time since an arbitrary point in the past.
9549 (CPU Time): Move CLK_TCK from here...
9550 (Processor Time): ...to here. Correct description.
9551 * manual/conf.texi (Constants for Sysconf): Correct description of
9552 _SC_CLK_TCK.
9553
9554 2012-04-10 David S. Miller <davem@davemloft.net>
9555
9556 [BZ #13967]
9557 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9558 where the is a gap between DT_REL(A) and DT_JMPREL.
9559
9560 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9561
9562 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9563 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9564 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9565
9566 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9567
9568 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9569 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9570 (dl_main): Handle --inhibit-cache.
9571 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9572 _dl_inhibit_cache.
9573 * elf/dl-load.c (_dl_map_object): Use it.
9574 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9575
9576 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9577
9578 [BZ #13872]
9579 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9580 (__ieee754_powl): Saturate large exponents rather than testing for
9581 overflow of y*log2(x).
9582 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9583 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9584 exceptions.
9585
9586 [BZ #11521]
9587 * math/s_ctan.c: Include <float.h>.
9588 (__ctan): Avoid internal overflow or cancellation in calculating
9589 denominator.
9590 * math/s_ctanf.c: Likewise.
9591 * math/s_ctanl.c: Likewise.
9592 * math/s_ctanh.c: Likewise.
9593 * math/s_ctanhf.c: Likewise.
9594 * math/s_ctanhl.c: Likewise.
9595 * math/libm-test.inc (ctan_test): Add more tests.
9596 (ctanh_test): Likewise.
9597 * sysdeps/i386/fpu/libm-test-ulps: Update.
9598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9599
9600 2012-04-09 Andreas Jaeger <aj@suse.de>
9601
9602 [BZ #6894]
9603 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9604 is an optional BSD extension.
9605
9606 [BZ #10254]
9607 * manual/stdio.texi (Opening Streams): Document additional fopen
9608 parameters.
9609
9610 2012-04-09 Roland McGrath <roland@hack.frob.com>
9611
9612 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9613 %eax without telling the compiler.
9614
9615 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9616
9617 [BZ # 13963]
9618 * manual/install.texi: Use sourceware.org.
9619
9620 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9621
9622 [BZ #13873]
9623 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9624 (__ieee754_pow): Generate overflow and underflow using huge*huge
9625 and tiny*tiny rather than just returning constant infinity or zero
9626 for large exponents.
9627 * math/libm-test.inc (pow_test): Require overflow exceptions for
9628 applicable cases of large exponents.
9629
9630 [BZ #706]
9631 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9632 (__ieee754_pow): Use iterative multiplication algorithm only for
9633 integer exponents with absolute value below 1024. Check for odd
9634 integer exponents when using algorithm for real exponents.
9635 * math/libm-test.inc (pow_test): Add more tests.
9636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9637
9638 2012-04-08 Joseph Myers <joseph@codesourcery.com>
9639
9640 [BZ #13705]
9641 * math/libm-test.inc (exp_test): Do not allow overflow exception
9642 on underflow test.
9643
9644 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9645
9646 [BZ #13705]
9647 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9648 instead of __kernel_standard_f.
9649
9650 2012-04-08 Mike Frysinger <vapier@gentoo.org>
9651
9652 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9653 * sysdeps/x86_64/memset_chk.S: Likewise.
9654
9655 2012-04-08 Andreas Jaeger <aj@suse.de>
9656
9657 [BZ #10153]
9658 * manual/startup.texi (Environment Access): Describe return value
9659 for putenv and setenv.
9660
9661 [BZ #6895]
9662 * manual/filesys.texi (Directory Entries): Add description for
9663 DT_LNK.
9664
9665 [BZ #6890]
9666 * manual/filesys.texi (Directory Entries): Clarify that it's file
9667 system not operating system in the description of DT_UNKNOWN.
9668
9669 [BZ #6578]
9670 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9671
9672 2012-04-08 Stephen Compall <s11@member.fsf.org>
9673
9674 [BZ #6649]
9675 * manual/llio.texi (Opening and Closing Files): Add cross
9676 reference to explain mode argument.
9677
9678 2012-04-07 Mike Frysinger <vapier@gentoo.org>
9679
9680 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9681 * sysdeps/x86_64/memset_chk.S: Likewise.
9682
9683 2012-04-07 David S. Miller <davem@davemloft.net>
9684
9685 * elf/elf.h (R_SPARC_WDISP10): Define.
9686 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9687 R_SPARC_SIZE32.
9688 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9689 R_SPARC_SIZE64 and R_SPARC_H34.
9690
9691 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9692
9693 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9694 conditions and remove no longer applicable assertion.
9695
9696 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9697
9698 * bits/byteswap.h: Include <features.h>.
9699 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9700 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9701
9702 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9703
9704 * bits/byteswap.h (__bswap_16): Removed.
9705 Include <bits/byteswap-16.h> to get __bswap_16.
9706 * sysdeps/i386/bits/byteswap.h: Likewise.
9707 * sysdeps/s390/bits/byteswap.h: Likewise.
9708 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9709 * bits/byteswap-16.h: New file.
9710 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9711 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9712 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9713 * string/Makefile (headers): Add bits/byteswap-16.h.
9714
9715 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9716
9717 [BZ #13895]
9718 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9719 extra indirection.
9720 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9721 * nss/tst-nss-static.c: New.
9722
9723 2012-04-06 Robert Millan <rmh@gnu.org>
9724
9725 [BZ #6486]
9726 * manual/llio.texi (File Position Primitive): lseek
9727 refers to WHENCE when it really means OFFSET.
9728
9729 2012-04-06 Andreas Jaeger <aj@suse.de>
9730
9731 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9732 strncmp declarations.
9733
9734 * abilist/libc.abilist: Add __poll and __ppoll.
9735
9736 2012-04-05 David S. Miller <davem@davemloft.net>
9737
9738 * scripts/check-local-headers.sh: Accept a host triplet in the
9739 path matched by the exclude regexp.
9740
9741 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9742 definition.
9743 * sysdeps/powerpc/powerpc32/dl-machine.h
9744 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9745 * sysdeps/s390/s390-32/dl-machine.h
9746 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9747 * sysdeps/sparc/sparc32/dl-machine.h
9748 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9749 * sysdeps/sparc/sparc64/dl-machine.h
9750 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9751
9752 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9753 lazy binding.
9754 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9755 undefined symbol errors.
9756
9757 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9758 DT_NEEDED entries.
9759
9760 2012-04-05 Michael Matz <matz@suse.de>
9761
9762 [BZ #13592]
9763 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9764
9765 2012-04-05 Andreas Jaeger <aj@suse.de>
9766
9767 [BZ #13908]
9768 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9769 comment.
9770
9771 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9772
9773 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9774 which ROUND is no valid rounding mode.
9775
9776 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9777
9778 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9779 read again.
9780 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9781
9782 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9783
9784 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9785 an exception using FPU order intentionally.
9786
9787 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9788
9789 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9790 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9791 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9792 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9793
9794 2012-04-05 Simon Josefsson <simon@josefsson.org>
9795
9796 [BZ #12340]
9797 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9798 EINVAL when BUFLEN is too smal.
9799
9800 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9801
9802 [BZ #13553]
9803 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9804 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9805
9806 2012-04-03 Andreas Jaeger <aj@suse.de>
9807
9808 [BZ #13938]
9809 * manual/setjmp.texi (System V contexts): Fix sentence.
9810
9811 [BZ #13926]
9812 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9813 New macro for this case.
9814 [!__GNUC__] (__bswap_64): New inline function for this case.
9815 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9816 * bits/byteswap.h: Likewise.
9817 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9818 ull, guard with __GLIBC_HAVE_LONG_LONG.
9819
9820 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9821 __GLIBC_HAVE_LONG_LONG.
9822
9823 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9824 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9825
9826 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9827
9828 [BZ #13691]
9829 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9830 inptr and inend, rather than using last_ch.
9831
9832 2012-04-02 David S. Miller <davem@davemloft.net>
9833
9834 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9835 * stdio-common/printf-parse.h (read_int): Change return type to
9836 'int', return -1 on INT_MAX overflow.
9837 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9838 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9839 overflows INT_MAX. Check for overflow of in-format-string precision
9840 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9841 SIZE_MAX not INT_MAX for integer overflow test.
9842 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9843 skip the construct in the format string but do not record anything.
9844 * stdio-common/bug22.c: Adjust to test both width/prevision
9845 INT_MAX overflow as well as total length INT_MAX overflow. Check
9846 explicitly for proper errno values.
9847
9848 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9849
9850 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9851 CHAR_MAX.
9852 * string/test-strcmp.c [! WIDE]: Likewise.
9853 * time/tst-mktime2.c: Likewise for INT_MAX.
9854 * string/test-string.h: #include <sys/param.h> for MIN.
9855
9856 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9857 * sysdeps/i386/init-first.c (init): Likewise.
9858 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9859 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9860 * sysdeps/sh/init-first.c (init): Likewise.
9861
9862 2012-04-01 Ulrich Drepper <drepper@gmail.com>
9863
9864 * po/ru.po: Update from translation team.
9865 * po/vi.po: Likewise.
9866
9867 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9868
9869 * resolv/nss_dns/dns-host.c: Merge copyright years.
9870
9871 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9872
9873 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9874 Optimize memcpy with prefetch if
9875 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9876 src, dst pointers have unequal 16 byte alignments.
9877
9878 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9879
9880 [BZ #13928]
9881 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9882 from a CNAME entry and return the minimum ttl for the query.
9883 (gaih_getanswer_slice): Likewise.
9884
9885 2012-03-30 Jeff Law <law@redhat.com>
9886
9887 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9888 due to long keys.
9889 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9890 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9891
9892 * resolv/nss_dns/dns-host.c: Update copyright year.
9893
9894 2012-03-30 Ulrich Drepper <drepper@gmail.com>
9895
9896 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9897 requests to save a system call. Fix check that all bytes are sent.
9898
9899 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9900 comments for sendmmsg.
9901
9902 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9903
9904 [BZ #13691]
9905 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9906 with only 1 character between 0x0041 and 0x01b0.
9907 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9908 * wcsmbs/tst-mbsnrtowcs.c: New file.
9909
9910 2012-03-29 David S. Miller <davem@davemloft.net>
9911
9912 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9913 small copies by hand.
9914
9915 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9916
9917 [BZ #13761]
9918 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9919 _nss_compat_initgroups_dyn): Fall back to malloc/free
9920 for large group memberships.
9921
9922 2012-03-28 David S. Miller <davem@davemloft.net>
9923
9924 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9925 that branches into memcpy.
9926 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9927 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9928 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9929 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9930 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9931 bits.
9932 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9933 implementation too.
9934 * sysdeps/sparc/mempcpy.S: New file.
9935
9936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9937 the IFUNC routine in the libc case.
9938 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9939
9940 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9941 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9942 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9943 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9944 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9945 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9946 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9947 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9948
9949 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9950 loop to 256 bytes instead of 64 bytes and fix test signedness.
9951
9952 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9953 * sysdeps/sparc/sparc32/Makefile: rather than here...
9954 * sysdeps/sparc/sparc64/Makefile: and here.
9955
9956 2012-03-28 Ulrich Drepper <drepper@gmail.com>
9957
9958 * malloc/mallocbug.c: Avoid warnings about unused variables.
9959
9960 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9961
9962 [BZ #13760]
9963 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9964 in the right place. Discard and retry query if response is
9965 larger than input buffer size.
9966
9967 2012-03-28 Joseph Myers <joseph@codesourcery.com>
9968
9969 [BZ #369]
9970 [BZ #2678]
9971 [BZ #3866]
9972 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9973 x for large integer exponent.
9974 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9975 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9976 sign of result as needed afterwards.
9977 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9978 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9979 result for underflowing pow the same as for overflow.
9980 (__kernel_standard_l): Handle powl overflow and underflow here
9981 rather than calling __kernel_standard.
9982 * math/libm-test.inc (pow_test): Add more tests.
9983
9984 [BZ #3868]
9985 [BZ #13879]
9986 [BZ #13910]
9987 [BZ #13911]
9988 [BZ #13912]
9989 [BZ #13913]
9990 [BZ #13915]
9991 [BZ #13916]
9992 [BZ #13917]
9993 [BZ #13918]
9994 [BZ #13919]
9995 [BZ #13920]
9996 [BZ #13921]
9997 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9998 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9999 (__kernel_standard_l): New function.
10000 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
10001 __kernel_standard.
10002 * math/w_acosl.c (__acosl): Likewise.
10003 * math/w_asinl.c (__asinl): Likewise.
10004 * math/w_atan2l.c (__atan2l): Likewise.
10005 * math/w_atanhl.c (__atanhl): Likewise.
10006 * math/w_coshl.c (__coshl): Likewise.
10007 * math/w_exp10l.c (__exp10l): Likewise.
10008 * math/w_exp2l.c (__exp2l): Likewise.
10009 * math/w_fmodl.c (__fmodl): Likewise.
10010 * math/w_hypotl.c (__hypotl): Likewise.
10011 * math/w_j0l.c (__j0l, __y0l): Likewise.
10012 * math/w_j1l.c (__j1l, __y1l): Likewise.
10013 * math/w_jnl.c (__jnl, __ynl): Likewise.
10014 * math/w_lgammal.c (__lgammal): Likewise.
10015 * math/w_log10l.c (__log10l): Likewise.
10016 * math/w_log2l.c (__log2l): Likewise.
10017 * math/w_logl.c (__logl): Likewise.
10018 * math/w_powl.c (__powl): Likewise.
10019 * math/w_remainderl.c (__remainderl): Likewise.
10020 * math/w_scalbl.c (sysv_scalbl): Likewise.
10021 * math/w_sinhl.c (__sinhl): Likewise.
10022 * math/w_sqrtl.c (__sqrtl): Likewise.
10023 * math/w_tgammal.c (__tgammal): Likewise.
10024 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10025 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10026 * math/libm-test.inc (acos_test): Add more tests.
10027 (acosh_test): Likewise.
10028 (asin_test): Likewise.
10029 (atanh_test): Likewise.
10030 (exp_test): Likewise.
10031 (exp10_test): Likewise.
10032 (exp2_test): Likewise.
10033 (expm1_test): Likewise.
10034 (lgamma_test): Likewise.
10035 (log_test): Likewise.
10036 (log10_test): Likewise.
10037 (log1p_test): Likewise.
10038 (log2_test): Likewise.
10039 (pow_test): Do not allow some spurious overflow exceptions.
10040 (sqrt_test): Add more tests.
10041 (tgamma_test): Likewise.
10042 (y0_test): Likewise.
10043 (y1_test): Likewise.
10044 (yn_test): Likewise.
10045
10046 2012-03-27 Anton Blanchard <anton@samba.org>
10047
10048 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10049 MAP_HUGETLB.
10050 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10051 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10052 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10053
10054 2012-03-27 David S. Miller <davem@davemloft.net>
10055
10056 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10057
10058 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10059 have-as-vis3 check.
10060
10061 2012-03-27 Andreas Jaeger <aj@suse.de>
10062
10063 * sysdeps/x86_64/elf/configure.in: Moved to ...
10064 * sysdeps/x86_64/configure.in: ... here.
10065 * sysdeps/x86_64/elf/start.S: Moved to ...
10066 * sysdeps/x86_64/start.S: ... here.
10067 * sysdeps/x86_64/elf/configure: Delete.
10068
10069 * sysdeps/x86_64/configure.in: Merge contents from
10070 sysdeps/i386/configure.in (without i686 check).
10071
10072 * sysdeps/i386/elf/Versions: Merge into ...
10073 * sysdeps/i386/Versions: ... this.
10074 * sysdeps/i386/elf/Versions: Delete file.
10075 * sysdeps/i386/elf/start.S: Moved to ...
10076 * sysdeps/i386/start.S: ...here.
10077 * sysdeps/i386/elf/configure.in: Merge into...
10078 * sysdeps/i386/configure.in: ...here.
10079 * sysdeps/i386/elf/configure.in: Delete file.
10080 * sysdeps/i386/elf/configure: Delete file.
10081
10082 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10083 * debug/backtracesyms.c: ... here.
10084 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10085 * debug/backtracesymsfd.c: ... here.
10086 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10087 * sysdeps/generic/ifunc-sel.h: ... here.
10088
10089 * sysdeps/unix/i386/start.c: Delete file.
10090 * sysdeps/unix/sparc/start.c: Delete file.
10091 * sysdeps/unix/start.c: Delete file.
10092
10093 * sysdeps/sh/elf/configure.in: Moved to ...
10094 * sysdeps/sh/configure.in: ... here.
10095 * sysdeps/sh/elf/start.S: Moved to ...
10096 * sysdeps/sh/start.S: ... here.
10097 * sysdeps/sh/elf/configure: Delete file.
10098
10099 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10100 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10101 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10102 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10103 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10104 * sysdeps/powerpc/powerpc64/start.S: here.
10105 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10106 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10107 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10108 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10109 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10110
10111 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10112 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10113 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10114 * sysdeps/powerpc/powerpc32/start.S: ... here.
10115 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10116 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10117 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10118
10119 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10120 * sysdeps/powerpc/ifunc-sel.h: ... here.
10121 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10122 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10123
10124 * sysdeps/sparc/elf/configure.in: Moved to ...
10125 * sysdeps/sparc/configure.in: ... here.
10126 * sysdeps/sparc/elf/configure: Delete file.
10127 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10128 * sysdeps/sparc/sparc32/start.S: ... here.
10129 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10130 * sysdeps/sparc/sparc64/start.S: ... here.
10131 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10132 * sysdeps/sparc/sparc32/Makefile: ... this.
10133 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10134 * sysdeps/sparc/sparc64/Makefile: ... this.
10135
10136 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10137 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10138 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10139 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10140 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10141 * sysdeps/s390/s390-32/setjmp.S: ... here.
10142 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10143 * sysdeps/s390/s390-32/configure.in: ... here.
10144 * sysdeps/s390/s390-32/elf/configure: Delete file.
10145 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10146 * sysdeps/s390/s390-32/start.S: ... here.
10147
10148 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10149 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10150 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10151 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10152 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10153 * sysdeps/s390/s390-64/setjmp.S: ... here.
10154 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10155 * sysdeps/s390/s390-64/configure.in: ... here
10156 * sysdeps/s390/s390-64/elf/configure: Delete file.
10157 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10158 * sysdeps/s390/s390-64/start.S: ... here.
10159 * sysdeps/s390/s390-64/elf/configure: Delete.
10160
10161 * configure.in: Remove support for elf directories in sysdeps.
10162
10163 * configure: Regenerated.
10164 * sysdeps/i386/configure: Regenerated.
10165 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10166 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10167 * sysdeps/s390/s390-32/configure: Regenerated.
10168 * sysdeps/s390/s390-64/configure: Regenerated.
10169 * sysdeps/sh/configure: Regenerated.
10170 * sysdeps/sparc/configure: Regenerated.
10171 * sysdeps/x86_64/configure: Regenerated.
10172
10173 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10174
10175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10176
10177 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10178 denormal result into account.
10179
10180 2012-03-25 Roland McGrath <roland@hack.frob.com>
10181
10182 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10183 Reported by Allan McRae <allan@archlinux.org>.
10184
10185 2012-03-23 Jeff Law <law@redhat.com>
10186
10187 * nss/getnssent.c (__nss_getent): Fix typo.
10188
10189 2012-03-23 David S. Miller <davem@davemloft.net>
10190
10191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10192
10193 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10194
10195 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10196 to pad to uint64_t for each field.
10197 (dl_tls_index): Replace unsigned long with uint64_t.
10198
10199 2012-03-23 Daniel Jacobowitz <dmj@google.com>
10200 Paul Pluzhnikov <ppluzhnikov@google.com>
10201
10202 [BZ #6528]
10203 * grp/Makefile (otherlibs): Don't set it.
10204 * inet/Makefile (otherlibs): Likewise.
10205 * login/Makefile (otherlibs): Likewise.
10206 * nscd/Makefile (otherlibs): Likewise.
10207 * posix/Makefile (otherlibs): Likewise.
10208 * pwd/Makefile (otherlibs): Likewise.
10209 * rt/Makefile (otherlibs): Likewise.
10210 * sunrpc/Makefile (otherlibs): Likewise.
10211 * nss/Makefile (otherlibs): Likewise.
10212 Add libnss_files to routines and static-only-routines.
10213 ($(objpfx)getent): Remove rule.
10214 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10215 static-only-routines.
10216
10217 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10218
10219 [BZ #13892]
10220 * math/s_cexp.c: Include <float.h>.
10221 (__cexp): Handle exp result overflowing not necessarily
10222 overflowing both real and imaginary parts of result.
10223 * math/s_cexpf.c: Likewise.
10224 * math/s_cexpl.c: Likewise.
10225 * math/libm-test.inc (cexp_test): Add more tests.
10226 * sysdeps/i386/fpu/libm-test-ulps: Update.
10227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10228
10229 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10230
10231 * include/link.h (ELFW): New macro.
10232 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10233 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10234
10235 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10236
10237 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10238 with uint64_t.
10239
10240 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10241
10242 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10243 declaration.
10244 (struct La_x32_retval): Likewise.
10245
10246 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10247
10248 * sysdeps/x86_64/preconfigure.in: New file.
10249 * sysdeps/x86_64/preconfigure: New generated file.
10250
10251 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10252
10253 [BZ #13824]
10254 * math/e_exp2l.c: Include <float.h>.
10255 (__ieee754_exp2l): Handle overflow and underflow cases
10256 separately. Only pass fractional part of argument to
10257 __ieee754_expl.
10258 * math/libm-test.inc (exp2_test): Add more tests.
10259
10260 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10261 negating x to take absolute value.
10262 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10263 Likewise.
10264 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10265 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10266 Likewise.
10267 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10268 computing low part if x was negated.
10269 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10270
10271 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10272
10273 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10274 la_x32_gnu_pltexit.
10275 (pltexit): Cast int_retval to ptrdiff_t.
10276 * elf/tst-auditmod3b.c: Likewise.
10277 * elf/tst-auditmod4b.c: Likewise.
10278 * elf/tst-auditmod5b.c: Likewise.
10279 * elf/tst-auditmod6b.c: Likewise.
10280 * elf/tst-auditmod6c.c: Likewise.
10281 * elf/tst-auditmod7b.c: Likewise.
10282
10283 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10284 and x32_gnu_pltexit.
10285
10286 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10287 __ELF_NATIVE_CLASS.
10288 (La_x32_regs): New macro.
10289 (La_x32_retval): Likewise.
10290 (la_x32_gnu_pltenter): New function prototype.
10291 (la_x32_gnu_pltexit): Likewise.
10292
10293 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10294
10295 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10296 exponent.
10297
10298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10299
10300 * configure.in (libc_cv_cc_nofma): Check for option to disable
10301 generation of FMA instructions.
10302 * configure: Regenerate.
10303 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10304 * sysdeps/ieee754/dbl-64/Makefile: New file.
10305 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10306 Remove brandred-fma4.
10307 (CFLAGS-brandred-fma4.c): Remove.
10308 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10309 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10310 define.
10311 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10312 define.
10313
10314 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10315
10316 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10317 LLONG_MAX != LONG_MAX.
10318 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10319 (_fitoa_word): Likewise.
10320 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10321 LLONG_MAX != LONG_MAX.
10322 * stdio-common/_itowa.h: Include <_itoa.h>.
10323 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10324 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10325 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10326 only if not defined.
10327 (_ITOA_WORD_TYPE): Likewise.
10328 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10329 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10330
10331 2012-03-21 David S. Miller <davem@davemloft.net>
10332
10333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10334
10335 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10336
10337 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10338 of x86_64 when setting libc_cv_slibdir, libdir and
10339 libc_cv_localedir.
10340 * sysdeps/unix/sysv/linux/configure: Regenerated.
10341
10342 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10343
10344 * manual/lang.texi (Old Varargs): Remove section.
10345 (How Variadic): Update menu.
10346 (va_start): Do not mention varargs.h.
10347
10348 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10349 Joseph Myers <joseph@codesourcery.com>
10350
10351 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10352 link test.
10353 * configure: Regenerated.
10354
10355 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10356
10357 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10358 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10359 conformtest.pl
10360
10361 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10362
10363 * NOTES: Remove.
10364 * Makefile (files-for-dist): Remove NOTES.
10365 (NOTES): Remove rule.
10366 * README: Don't refer to NOTES.
10367 * manual/creature.texi: Don't include macros.texi.
10368 * manual/intro.texi (creature.texi): Remove comment referring to
10369 NOTES.
10370
10371 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10372 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10373 * configure: Regenerated.
10374 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10375 LIBC_TRY_CC_OPTION.
10376 (libc_cv_as_i686): Likewise.
10377 (libc_cv_cc_avx): Likewise.
10378 (libc_cv_cc_sse2avx): Likewise.
10379 (libc_cv_cc_fma4): Likewise.
10380 (libc_cv_cc_novzeroupper): Likewise.
10381 * sysdeps/i386/configure: Regenerated.
10382
10383 [BZ #13883]
10384 * sysdeps/i386/fpu/s_cexp.S: Remove.
10385 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10386 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10387 * math/libm-test.inc (cexp_test): Add more tests.
10388 * sysdeps/i386/fpu/libm-test-ulps: Update.
10389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10390
10391 2012-03-21 Allan McRae <allan@archlinux.org>
10392
10393 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10394
10395 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10396
10397 [BZ #13871]
10398 * math/w_exp2.c: Do not include <float.h>.
10399 (o_threshold, u_threshold): Remove.
10400 (__exp2): Calculate result before checking finiteness and calling
10401 __kernel_standard.
10402 * math/w_exp2f.c: Likewise.
10403 * math/w_exp2l.c: Likewise.
10404 * math/libm-test.inc (exp2_test): Require overflow exception for
10405 1e6 input.
10406
10407 [BZ #3866]
10408 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10409 range of signed 64-bit integers before using fistpll. Remove
10410 checks for whether integers fit in mantissa bits.
10411 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10412 the range of signed 32-bit integers before using fistpl. Remove
10413 checks for whether integers fit in mantissa bits.
10414 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10415 (__ieee754_powl): Test for y outside the range of signed 64-bit
10416 integers before using fistpll. Reduce 64-bit values to 63-bit
10417 ones as needed.
10418 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10419 divide-by-zero is raised for zero to large negative powers.
10420 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10421 (__ieee754_powl): Test for y outside the range of signed 64-bit
10422 integers before using fistpll. Reduce 64-bit values to 63-bit
10423 ones as needed.
10424 * math/libm-test.inc (pow_test): Add more tests.
10425
10426 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10427
10428 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10429 <stdio-common/_itoa.h>.
10430 * debug/segfault.c: Likewise.
10431 * elf/dl-cache.c: Likewise.
10432 * elf/dl-minimal.c: Likewise.
10433 * elf/dl-misc.c: Likewise.
10434 * elf/dl-sysdep.c: Likewise.
10435 * elf/dl-version.c: Likewise.
10436 * elf/rtld.c: Likewise.
10437 * hurd/hurdsock.c: Likewise.
10438 * hurd/lookup-retry.c: Likewise.
10439 * malloc/malloc.c: Likewise.
10440 * malloc/mtrace.c: Likewise.
10441 * nscd/nscd_getgr_r.c: Likewise.
10442 * nscd/nscd_getpw_r.c: Likewise.
10443 * nscd/nscd_getserv_r.c: Likewise.
10444 * posix/getopt_init.c: Likewise.
10445 * posix/wordexp.c: Likewise.
10446 * stdio-common/_itoa.c: Likewise.
10447 * stdio-common/printf_fphex.c: Likewise.
10448 * stdio-common/vfprintf.c: Likewise.
10449 * string/_strerror.c: Likewise.
10450 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10451 * sysdeps/i386/i686/hp-timing.h: Likewise.
10452 * sysdeps/mach/_strerror.c: Likewise.
10453 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10454 * sysdeps/mach/hurd/sethostid.c: Likewise.
10455 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10456 * sysdeps/mach/xpg-strerror.c: Likewise.
10457 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10458 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10459 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10460 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10461 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10462 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10463 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10464 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10465 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10466 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10467 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10468 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10469 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10470 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10471 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10472 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10473 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10474 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10475 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10476 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10477 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10478
10479 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10480
10481 * stdio-common/_itoa.h: Moved to ...
10482 * sysdeps/generic/_itoa.h: Here.
10483
10484 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10485
10486 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10487 instead of "_itoa.h" and "_itowa.h".
10488 * stdio-common/vfprintf.: Likewise.
10489
10490 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10491
10492 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10493 <bits/wordsize.h>.
10494 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10495 (__signbit): Likwise.
10496 (llrintf): Likwise.
10497 (llrint): Likwise.
10498
10499 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10500
10501 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10502 __WORDSIZE != 64.
10503
10504 2012-03-20 Joseph Myers <joseph@codesourcery.com>
10505
10506 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10507 OVERFLOW_EXCEPTION_OK.
10508 * math/libm-test.inc ("Philosophy"): Update comment about
10509 exception testing.
10510 (OVERFLOW_EXCEPTION): Define.
10511 (OVERFLOW_EXCEPTION_OK): Likewise.
10512 (INVALID_EXCEPTION_OK): Renumber.
10513 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10514 (IGNORE_ZERO_INF_SIGN): Likewise.
10515 (test_exceptions): Handle FE_OVERFLOW.
10516 (exp10_test): Expect overflow exceptions.
10517 (exp2_test): Likewise.
10518 (expm1_test): Likewise.
10519 (nextafter_test): Likewise.
10520 (pow_test): Likewise.
10521 (scalbn_test): Likewise.
10522 (scalbln_test): Likewise.
10523
10524 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10525
10526 * sysdeps/x86_64/bits/atomic.h
10527 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10528 64bit integer.
10529 (atomic_exchange_acq): Likewise.
10530 (__arch_exchange_and_add_body): Likewise.
10531 (__arch_add_body): Likewise.
10532 (atomic_add_negative): Likewise.
10533 (atomic_add_zero): Likewise.
10534
10535 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10536
10537 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
10538 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10539
10540 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10541
10542 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10543 Check __x86_64__ instead of __WORDSIZE.
10544
10545 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10546
10547 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10548
10549 2012-03-19 David S. Miller <davem@davemloft.net>
10550
10551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10552
10553 * sysdeps/sparc/fpu/fenv_private.h: New file.
10554 * sysdeps/sparc/fpu/math_private.h: Use it.
10555 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10556 Remove.
10557 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10558 (libc_feholdexcept_setroundl): Remove.
10559 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10560 Remove.
10561 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10562 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10563
10564 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10565
10566 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10567 int64_t instead of long int.
10568 (INSERT_WORDS64): Likwise.
10569
10570 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10571
10572 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10573 _Unwind_GetCFA return to _Unwind_Ptr first.
10574
10575 2012-03-19 Joseph Myers <joseph@codesourcery.com>
10576
10577 [BZ #13629]
10578 * math/s_clog.c: Include <float.h>.
10579 (__clog): Scale large or subnormal inputs.
10580 * math/s_clogf.c: Likewise.
10581 * math/s_clogl.c: Likewise.
10582 * math/s_clog10.c: Include <float.h>.
10583 (M_LOG10_2): Define.
10584 (__clog10): Scale large or subnormal inputs.
10585 * math/s_clog10f.c: Likewise.
10586 * math/s_clog10l.c: Likewise.
10587 * math/libm-test.inc (clog_test): Add more tests.
10588 (clog10_test): Likewise.
10589 * sysdeps/i386/fpu/libm-test-ulps: Update.
10590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10591
10592 [BZ #11451]
10593 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10594 x and y.
10595 * math/libm-test.inc (atan2_test): Add another test.
10596
10597 * Makerules (common-objdir-compile): Remove.
10598 * sysdeps/unix/Makefile (config-generated): Do not add
10599 $(unix-generated) to variable.
10600 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10601 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10602 Remove rule.
10603 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10604 Likewise.
10605 [generic bits/local_lim.h] (before-compile): Do not append to
10606 variable.
10607 [generic bits/local_lim.h] (common-generated): Likewise.
10608 [generic sys/param.h] (before-compile): Do not append to variable.
10609 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10610 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10611 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10612 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10613 include.
10614 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10615 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10616 [generic sys/param.h] ($(addprefix
10617 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10618 [generic sys/param.h] (common-generated): Do not append to
10619 variable.
10620 [generic sys/param.h] (sysdep_headers): Likewise.
10621 [generic bits/errno.h] (before-compile): Do not append to
10622 variable.
10623 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10624 rule.
10625 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10626 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10627 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10628 [generic bits/errno.h] (common-generated): Do not append to
10629 variable.
10630 [generic bits/ioctls.h] (before-compile): Do not append to
10631 variable.
10632 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10633 rule.
10634 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10635 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10636 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10637 rule.
10638 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10639 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10640 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10641 [generic bits/ioctls.h] (common-generated): Do not append to
10642 variable.
10643 [generic sys/syscall.h] (syscall.h): Remove variable.
10644 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10645 rule.
10646 [generic sys/syscall.h] (before-compile): Do not append to
10647 variable.
10648 [generic sys/syscall.h] (common-generated): Likewise.
10649 * sysdeps/unix/errnos-tmpl.c: Remove file.
10650 * sysdeps/unix/errnos.awk: Likewise.
10651 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10652 * sysdeps/unix/ioctls.awk: Likewise.
10653 * sysdeps/unix/mk-local_lim.c: Likewise.
10654 * sysdeps/unix/snarf-ioctls: Likewise.
10655
10656 2012-03-19 Richard Henderson <rth@twiddle.net>
10657
10658 * sysdeps/i386/fpu/fenv_private.h: New file.
10659 * sysdeps/i386/fpu/math_private.h: Use it.
10660 (math_opt_barrier, math_force_eval): Remove.
10661 (libc_feholdexcept_setround_53bit): Remove.
10662 (libc_feupdateenv_53bit): Remove.
10663 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10664 (math_opt_barrier, math_force_eval): Remove.
10665 (libc_feholdexcept): Remove.
10666 (libc_feholdexcept_setround): Remove.
10667 (libc_fetestexcept, libc_fesetenv): Remove.
10668 (libc_feupdateenv_test): Remove.
10669 (libc_feupdateenv, libc_feholdsetround): Remove.
10670 (libc_feresetround): Remove.
10671
10672 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10673 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10674
10675 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10676 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10677 (libc_feupdateenv_testl): New.
10678 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10679 (libc_feupdateenv_testf): New.
10680 (libc_feupdateenv): Use libc_feupdateenv_test.
10681 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10682 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10683
10684 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10685 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10686 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10687 (libc_feresetround_noex): New.
10688 (libc_feresetround_noexf): New.
10689 (libc_feresetround_noexl): New.
10690 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10691 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10692 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10693 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10694 SET_RESTORE_ROUND.
10695 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10696 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10697 (__cos): Likewise.
10698 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10699 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10700 SET_RESTORE_ROUND_NOEX.
10701 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10702 SET_RESTORE_ROUND_NOEXF.
10703 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10704 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10705 (libc_feholdsetroundf): New.
10706 (libc_feresetround, libc_feresetroundf): New.
10707
10708 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10709 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10710 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10711
10712 * sysdeps/generic/math_private.h: Include <fenv.h>.
10713 (default_libc_feholdexcept): New.
10714 (default_libc_feholdexcept_setround): New.
10715 (default_libc_fesetenv, default_libc_feupdateenv): New.
10716 (libc_feholdexcept): Only define if undefined.
10717 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10718 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10719 (libc_feholdexcept_setroundl): Likewise.
10720 (libc_feholdexcept_setround_53bit): Likewise.
10721 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10722 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10723 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10724 (libc_feupdateenv_53bit): Likewise.
10725 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10726 (libc_feholdexcept): Convert from macro to inline function.
10727 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10728 (libc_fesetenv, libc_feupdateenv): Likewise.
10729
10730 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10731 not previously defined.
10732 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10733 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10734 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10735 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10736 * sysdeps/ieee754/flt-32/math_private.h: New file.
10737 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10738 math_private.h below SET_FLOAT_WORD.
10739 (__isnan, __isinf_ns, __finite): Remove.
10740 (__isnanf, __isinf_nsf, __finitef): Remove.
10741
10742 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10743
10744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10745
10746 2012-03-17 David S. Miller <davem@davemloft.net>
10747
10748 [BZ #6471]
10749 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10750 for 2.16.
10751
10752 2012-03-16 David S. Miller <davem@davemloft.net>
10753
10754 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10755 warnings.
10756
10757 [BZ #6471]
10758 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10759 properly.
10760 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10761 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10762 sysdep_routines when subdir is sysvipc.
10763 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10764 __getshmlba helper.
10765
10766 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10767
10768 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10769
10770 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10771 [__LP64__].
10772
10773 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10774
10775 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10776 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10777 (__lround): Renamed to ...
10778 (__llround): This. Replace long int with long long int.
10779 Define lround functions as aliases of llround functions.
10780 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10781
10782 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10783
10784 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10785 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10786 adresses to uintptr_t. Replace "long int" and "unsigned long
10787 int" with "greg_t" on va_arg.
10788
10789 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10790
10791 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10792 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10793
10794 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10795 Move e_machine check before EI_CLASS check. Handle x32
10796 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10797 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10798 SKIP_EM_IA_64 and include
10799 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10800
10801 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10802 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10803 (add_system_dir): New macro.
10804
10805 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10806 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10807
10808 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10809
10810 [BZ #2551]
10811 [BZ #2552]
10812 [BZ #2553]
10813 [BZ #2554]
10814 [BZ #2562]
10815 [BZ #2563]
10816 [BZ #2565]
10817 [BZ #2566]
10818 [BZ #2576]
10819 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10820 (y0): Likewise.
10821 * math/w_j0f.c (j0f): Likewise.
10822 (y0f): Likewise.
10823 * math/w_j0l.c (__j0l): Likewise.
10824 (__y0l): Likewise.
10825 * math/w_j1.c (j1): Likewise.
10826 (y1): Likewise.
10827 * math/w_j1f.c (j1f): Likewise.
10828 (y1f): Likewise.
10829 * math/w_j1l.c (__j1l): Likewise.
10830 (__y1l): Likewise.
10831 * math/w_jn.c (jn): Likewise.
10832 (yn): Likewise.
10833 * math/w_jnf.c (jnf): Likewise.
10834 (ynf): Likewise.
10835 * math/w_jnl.c (__jnl): Likewise.
10836 (__ynl): Likewise.
10837 * math/libm-test.inc (j0_test): Add more tests.
10838 (j1_test): Likewise.
10839 (jn_test): Likewise. Add trailing semicolon to existing test.
10840 (y0_test): Likewise.
10841 (y1_test): Likewise.
10842 * sysdeps/i386/fpu/libm-test-ulps: Update.
10843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10844
10845 [BZ #13851]
10846 [BZ #13854]
10847 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10848 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10849 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10850 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10851 (__tanl): Set errno for infinite argument.
10852 * sysdeps/i386/fpu/mptan.c: Remove.
10853 * sysdeps/i386/fpu/s_tan.S: Likewise.
10854 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10855 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10856 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10857 * math/libm-test.inc (tan_test): Add more tests and enable more
10858 tests for double and long double.
10859 * sysdeps/i386/fpu/libm-test-ulps: Update.
10860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10861
10862 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10863
10864 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10865 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10866
10867 2012-03-16 Roland McGrath <roland@hack.frob.com>
10868
10869 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10870 * configure.in: Use it for both main tree and add-ons.
10871 * configure: Regenerated.
10872
10873 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10874
10875 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10876
10877 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10878
10879 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10880 in comment.
10881
10882 [BZ #13851]
10883 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10884 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10885 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10886 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10887 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10888 infinite argument.
10889 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10890 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10891 != 0 for prec == 2.
10892 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10893 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10894 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10895 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10896 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10897 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10898 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10899 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10900 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10901 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10902 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10903 * math/libm-test.inc (cos_test): Add more tests and enable more
10904 tests for long double.
10905 (sin_test): Likewise.
10906 (sincos_test): Likewise.
10907 * sysdeps/i386/fpu/libm-test-ulps: Update.
10908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10909
10910 2012-03-16 David S. Miller <davem@davemloft.net>
10911
10912 * sysdeps/sparc/fpu/math_private.h: New file.
10913
10914 2012-03-15 David S. Miller <davem@davemloft.net>
10915
10916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10917 file.
10918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10920 file.
10921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10926 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10927 sysdep routines.
10928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10929
10930 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10931 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10932
10933 * sysdeps/sparc/sparc-ifunc.h: New file.
10934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10935 sparc-ifunc.h
10936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10938 Likewise.
10939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10940 Likewise.
10941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10945 Likewise.
10946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10951 Likewise.
10952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10953 Likewise.
10954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10960 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10961 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10972 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10973 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10974 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10975 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10976 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10977 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10978
10979 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10980
10981 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10982 scaling.
10983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10984
10985 2012-03-15 Andreas Jaeger <aj@suse.de>
10986
10987 [BZ #13852]
10988 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10989 ieee754/flt-32 implementation for sin, cos and sincos.
10990 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10991 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10992 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10993 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10994 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10995 ieee754/flt-32 implementation for tan.
10996
10997 * math/libm-test.inc (cos_test): Enable some large input tests for
10998 float as well
10999 (sin_test): Likewise.
11000 (sincos_test): Likewise.
11001 (tan_test): Add tests for large input.
11002
11003 * sysdeps/i386/fpu/libm-test-ulps: Update.
11004
11005 2012-03-15 Andreas Jaeger <aj@suse.de>
11006
11007 [BZ #13658]
11008 * math/libm-test.inc (cos_test): Add more test cases.
11009 (sin_test): Likewise.
11010 (sincos_test): Likewise.
11011
11012 2012-03-15 Andreas Jaeger <aj@suse.de>
11013
11014 [BZ #13837]
11015 * math/libm-test.inc (cos_test): Add a test case for large input
11016 value.
11017 (sin_test): Likewise.
11018 (sincos_test): Likewise.
11019
11020 2012-03-15 Andreas Jaeger <aj@suse.de>,
11021 Joseph Myers <joseph@codesourcery.com>
11022
11023 [BZ #13658]
11024 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
11025 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11026 * sysdeps/i386/fpu/branred.c: Likewise.
11027 * sysdeps/i386/fpu/dosincos.c: Likewise.
11028 * sysdeps/i386/fpu/mpa.c: Likewise.
11029 * sysdeps/i386/fpu/s_cos.S: Likewise.
11030 * sysdeps/i386/fpu/s_sin.S: Likewise.
11031 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11032 * sysdeps/i386/fpu/sincos32.c: Likewise.
11033
11034 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11035 Define.
11036 (libc_feupdateenv_53bit): Define.
11037 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11038 Define.
11039 (libc_feupdateenv_53bit): Define.
11040
11041 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11042 53 bit (without extend i386 double precision).
11043
11044 * math/libm-test.inc (sincos_test): Add tests for large input.
11045 (sin): Likewise.
11046 (cos): Likewise.
11047
11048 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11049
11050 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11051
11052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11053
11054 2012-03-15 David S. Miller <davem@davemloft.net>
11055
11056 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11057 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11058 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11059 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
11071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11072 file.
11073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
11074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11075 file.
11076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
11077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11078 file.
11079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
11080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11081 file.
11082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11083 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11084 fmin/fmax sysdep routines.
11085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11086
11087 2012-03-14 David S. Miller <davem@davemloft.net>
11088
11089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11093 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11109 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11110 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11116 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
11117 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11118 routines.
11119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11120 file.
11121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
11122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11123 file.
11124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
11125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11126 file.
11127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
11128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11129 file.
11130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
11131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11132 file.
11133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
11134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11135 file.
11136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11137 file.
11138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11139 file.
11140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11141 file.
11142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11143 New file.
11144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11145 file.
11146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11147 file.
11148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
11149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11150 file.
11151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
11152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11153 file.
11154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
11155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11156 file.
11157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
11158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11159 VIS3 routines.
11160
11161 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11162 New file.
11163
11164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11165
11166 * sysdeps/sparc/configure.in: New file.
11167 * sysdeps/sparc/configure: Generate.
11168 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11169 * configure: Regenerate.
11170 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11171 * config.make.in (have-as-vis3): New.
11172 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11173 available use -Av9d instead of -Av9a.
11174 * sysdeps/sparc/sparc64/Makefile: Likewise.
11175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
11176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11177 New file.
11178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11179 file.
11180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11181 New file.
11182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11183 file.
11184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11185 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11186 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11187 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11188 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11189
11190 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11191 fzeros/fnegs to load 0x80000000 into a float register instead of
11192 using the stack.
11193 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11194
11195 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11196
11197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11198 bits/syscall.h.
11199 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11200 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11201 ($(inst_includedir)/bits/syscall.h): Remove rule.
11202 ($(objpfx)bits/syscall.d): Include instead of
11203 $(objpfx)syscall-list.d.
11204 (generated): Change syscall-list.h and syscall-list.d to
11205 bits/syscall.h and bits/syscall.d.
11206
11207 2012-03-14 Roland McGrath <roland@hack.frob.com>
11208
11209 [BZ #13846]
11210 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11211
11212 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11213
11214 [BZ #13841]
11215 * math/s_csqrt.c: Include <float.h>.
11216 (__csqrt): Scale large or subnormal inputs.
11217 * math/s_csqrtf.c: Likewise.
11218 * math/s_csqrtl.c: Likewise.
11219 * math/libm-test.inc (csqrt_test): Add more tests.
11220 * sysdeps/i386/fpu/libm-test-ulps: Update.
11221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11222
11223 [BZ #13840]
11224 * math/libm-test.inc (hypot_test): Add more tests.
11225
11226 2012-03-13 David S. Miller <davem@davemloft.net>
11227
11228 [BZ #13840]
11229 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11230 double-precision for the calculation instead of scaling.
11231
11232 2012-03-13 Joseph Myers <joseph@codesourcery.com>
11233
11234 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11235 manipulate bits before adding and subtracting TWO52[sx].
11236 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11237 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11238 Likewise.
11239 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11240
11241 2012-03-13 David S. Miller <davem@davemloft.net>
11242
11243 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11244 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11245 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11246 rtld-global-offsets.h
11247 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11248
11249 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11250 large parameters.
11251
11252 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11253
11254 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11255 'err' in the ifdef scope in which it is actually used.
11256
11257 * nss/nss_db/db-init.c: Include string.h
11258
11259 2012-03-12 David S. Miller <davem@davemloft.net>
11260
11261 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11262 masking out of the most significant byte of random value used.
11263 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11264 Fix coding style in previous change.
11265
11266 * sysdeps/unix/sysv/linux/kernel-features.h
11267 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11268 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11269 expression.
11270 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11271 later.
11272
11273 2012-03-11 David S. Miller <davem@davemloft.net>
11274
11275 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11276 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11277 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11278 for 'resultvar' otherwise things get truncated on 64-bit.
11279
11280 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11281 Fix masking out of the most significant byte of random value used.
11282
11283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11284
11285 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11286
11287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11288
11289 2012-03-09 David S. Miller <davem@davemloft.net>
11290
11291 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11292 variables with appropriate CPP guards.
11293 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11294 frame pointer, not the stack pointer. Correct layout comments. Fix test
11295 on resulting framesize and the management of the outregs buffer for pltexit.
11296 Preserve floating point return values across _dl_call_pltexit call.
11297 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11298 framesize and the management of the outregs buffer for pltexit.
11299 Preserve floating point return values across _dl_call_pltexit
11300 call.
11301 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11302 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11303 (print_exit): Fix format string for return register value.
11304
11305 2012-03-10 Joseph Myers <joseph@codesourcery.com>
11306
11307 * sunrpc/Makefile (others): Add rpcgen.
11308 ($(objpfx)rpcgen): Remove special build rule and dependency on
11309 libc.
11310 * sunrpc/rpcgen.c: New file.
11311
11312 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11313
11314 [BZ #13673]
11315 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11316 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11317 * sysdeps/i386/crti.S: Likewise.
11318 * sysdeps/i386/crtn.S: Likewise.
11319 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11320 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11321 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11322 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11323 * sysdeps/sh/crti.S: Likewise.
11324 * sysdeps/sh/crtn.S: Likewise.
11325 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11326
11327 [BZ #13673]
11328 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11329 with URL.
11330 * locale/programs/locfile-kw.gperf: Likewise.
11331 * locale/programs/charmap-kw.h: Regenerated.
11332 * locale/programs/locfile-kw.h: Likewise.
11333
11334 [BZ #13673]
11335 * intl/plural.y: Replace FSF snail mail address with URL.
11336 * intl/plural.c: Regenerated.
11337
11338 2012-03-09 Richard Henderson <rth@twiddle.net>
11339
11340 * include/math_private.h: Remove file.
11341 * math/math_private.h: Move file ...
11342 * sysdeps/generic/math_private.h: ... here.
11343
11344 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11345 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11346 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11347
11348 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
11349 and <math_private.h>.
11350 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11351 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11352 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11353 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11354 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11367 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11368 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11369 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11371 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11372 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11374 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11375 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11376 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11377 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11378 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11379 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11380 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11381 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11382 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11383 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11384 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11386 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11387 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11388 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11390 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11391 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11392 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11393 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11394 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11395 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11396 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11397 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11398 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11399 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11400 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11401 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11402 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11403 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11404 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11405 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11406 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11407 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11408 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11409 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11410 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11411 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11412 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11416 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11417 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11418 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11419 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11420 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11421 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11422 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11423 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11424 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11425 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11428 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11429 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11430 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11431 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11432 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11433 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11434 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11435 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11437 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11438 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11439 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11440 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11441 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11442 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11443 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11444 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11445 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11446 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11447 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11448 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11449 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11450 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11451 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11452 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11453 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11454 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11455 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11456 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11457 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11458 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11459 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11460 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11461 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11462 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11463 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11464 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11465 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11466 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11467 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11468 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11469 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11470 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11471 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11472 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11473 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11474 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11475 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11476 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11477 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11478 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11479 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11480 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11481 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11482 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11483 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11484 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11485 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11486 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11487 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11488 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11489 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11490 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11491 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11492 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11493 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11494 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11495 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11496 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11497 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11498 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11499 * sysdeps/ieee754/k_standard.c: Likewise.
11500 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11552 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11557 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11558 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11559 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11560 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11561 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11573 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11574 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11575 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11577 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11580 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11581 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11583 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11584 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11585 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11586 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11587 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11590 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11591 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11593 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11596 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11597 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11598 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11599 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11600 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11602 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11603 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11604 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11605 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11606 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11607 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11609 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11612 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11614 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11615 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11619 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11620 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11621 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11622 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11627 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11628 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11632 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11635 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11645 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11647 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11648 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11649 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11650 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11652 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11653 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11654 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11655 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11657 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11660 * sysdeps/ieee754/s_lib_version.c: Likewise.
11661 * sysdeps/ieee754/s_matherr.c: Likewise.
11662 * sysdeps/ieee754/s_signgam.c: Likewise.
11663 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11664 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11665 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11666 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11667 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11668 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11669 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11670 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11671 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11672 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11673 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11674 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11675 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11676 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11677 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11678 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11679 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11680 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11681 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11682 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11683 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11684
11685 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11686
11687 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11688 * sunrpc/rpc_main.c: Likewise.
11689 * sunrpc/rpc_svcout.c: Likewise.
11690
11691 2012-03-09 David S. Miller <davem@davemloft.net>
11692
11693 * include/math_private.h: New file.
11694
11695 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11696
11697 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11698 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11699 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11700 from <bits/socket_type.h>.
11701 (enum __socket_type): Don't define here.
11702 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11704 bits/socket_type.h.
11705
11706 [BZ #13566]
11707 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11708 checking __USE_GNU.
11709
11710 * Makerules ($(inst_includedir)/%.h): New rule.
11711 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11712 (install-others): Remove variable setting.
11713 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11714
11715 2012-03-08 Richard Henderson <rth@twiddle.net>
11716
11717 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11718 from macro to inline function; merge with the
11719 !__LIBC_INTERNAL_MATH_INLINES version.
11720 (__ieee754_sqrtf): Likewise.
11721
11722 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11723 to inline function.
11724 (__rintf, __floor, __floorf): Likewise.
11725
11726 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11727 macro to inline function.
11728 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11729
11730 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11731 not <math/math_private.h>.
11732
11733 2012-03-08 David S. Miller <davem@davemloft.net>
11734
11735 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11736 copyright year.
11737 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11738
11739 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11740
11741 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11742 normalization.
11743 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11744 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11745
11746 2012-03-08 Ulrich Drepper <drepper@gmail.com>
11747
11748 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11749 be defined individually, they must be defined as a block. Define
11750 S for printing a string instead of hidint the different by using a
11751 macro for adding the 'l'.
11752 * stdio-common/tst-fphex-wide.c: Adjust.
11753
11754 2012-03-07 Marek Polacek <polacek@redhat.com>
11755
11756 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11757
11758 2012-03-08 Marek Polacek <polacek@redhat.com>
11759
11760 [BZ #13806]
11761 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11762 * stdio-common/tst-fphex.c: Define a few macros to make the
11763 test reusable. Use them.
11764 * stdio-common/tst-fphex-wide.c: New file.
11765
11766 2012-03-08 Joseph Myers <joseph@codesourcery.com>
11767
11768 [BZ #6911]
11769 * manual/macros.texi (gnusystems): New macro.
11770 (nongnusystems): Likewise.
11771 (gnulinuxhurdsystems): Likewise.
11772 (gnuhurdsystems): Likewise..
11773 (gnulinuxsystems): Likewise.
11774 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11775 variants of the GNU system, not "GNU system".
11776 * manual/conf.texi: Likewise.
11777 * manual/errno.texi: Likewise. Update example of errno macro
11778 expansion.
11779 * manual/filesys.texi: Likewise.
11780 (getumask): Document as specific to GNU/Hurd.
11781 * manual/install.texi: Likewise. Reword some references to
11782 GNU/Linux.
11783 * manual/intro.texi: Likewise.
11784 * manual/io.texi: Likewise.
11785 (File Name Portability): Detail which constraints are inapplicable
11786 to all GNU systems and which are only inapplicable to GNU/Hurd.
11787 * manual/job.texi: Likewise.
11788 * manual/llio.texi: Likewise.
11789 (O_NOCTTY): Document as present on GNU/Linux.
11790 * manual/maint.texi: Likewise.
11791 * manual/memory.texi: Likewise.
11792 * manual/pattern.texi: Likewise.
11793 * manual/pipe.texi: Likewise.
11794 * manual/process.texi: Likewise.
11795 * manual/resource.texi: Likewise.
11796 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11797 child on GNU/Hurd.
11798 * manual/setjmp.texi: Likewise.
11799 * manual/signal.texi: Likewise.
11800 * manual/startup.texi: Likewise.
11801 * manual/stdio.texi: Likewise.
11802 * manual/terminal.texi: Likewise.
11803 (ONLCR): Document as POSIX.
11804 (OXTABS): Document availability on GNU/Linux as XTABS.
11805 (ONOEOT): Document availability separately from other bits.
11806 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11807 * manual/time.texi: Likewise.
11808 * manual/users.texi: Likewise.
11809 * INSTALL: Regenerated.
11810 * sysdeps/gnu/errlist.c: Regenerated.
11811
11812 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11813 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11814 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11815 puts.
11816 * configure: Regenerated.
11817
11818 2012-03-07 Joseph Myers <joseph@codesourcery.com>
11819
11820 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11821 default includes instead of AC_HEADER_CHECK.
11822 * sysdeps/i386/configure: Regenerated.
11823
11824 [BZ #10716]
11825 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11826 * math/s_cacoshf.c (__cacoshf): Likewise.
11827 * math/s_cacoshl.c (__cacoshl): Likewise.
11828 * math/s_casinh.c (__casinh): Set signs of result from argument.
11829 * math/s_casinhf.c (__casinhf): Likewise.
11830 * math/s_casinhl.c (__casinhl): Likewise.
11831 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11832 (casinh_test): Add more tests.
11833 * sysdeps/i386/fpu/libm-test-ulps: Update.
11834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11835
11836 2012-03-07 Ulrich Drepper <drepper@gmail.com>
11837
11838 * po/zh_TW.po: Update from translation team.
11839
11840 * login/Makefile (distribute): Remove variable.
11841 * catgets/Makefile: Likewise.
11842 * mach/Makefile: Likewise.
11843 * malloc/Makefile: Likewise.
11844 * misc/Makefile: Likewise.
11845 * iconv/Makefile: Likewise.
11846 * nscd/Makefile: Likewise.
11847 * hurd/Makefile: Likewise.
11848 * manual/Makefile: Likewise.
11849 * locale/Makefile: Likewise.
11850 * intl/Makefile: Likewise.
11851 * conform/Makefile: Likewise.
11852 * nss/Makefile: Likewise.
11853 * time/Makefile: Likewise.
11854 * soft-fp/Makefile: Likewise.
11855 * dirent/Makefile: Likewise.
11856 * gmon/Makefile: Likewise.
11857 * po/Makefile: Likewise.
11858 * rt/Makefile: Likewise.
11859 * socket/Makefile: Likewise.
11860 * math/Makefile: Likewise.
11861 * signal/Makefile: Likewise.
11862 * debug/Makefile: Likewise.
11863 * elf/Makefile: Likewise.
11864 * timezone/Makefile: Likewise.
11865 * stdlib/Makefile: Likewise.
11866 * iconvdata/Makefile: Likewise.
11867 * sunrpc/Makefile: Likewise.
11868 * io/Makefile: Likewise.
11869 * argp/Makefile: Likewise.
11870 * inet/Makefile: Likewise.
11871 * hesiod/Makefile: Likewise.
11872 * grp/Makefile: Likewise.
11873 * csu/Makefile: Likewise.
11874 * wctype/Makefile: Likewise.
11875 * crypt/Makefile: Likewise.
11876 * libio/Makefile: Likewise.
11877 * string/Makefile: Likewise.
11878 * nis/Makefile: Likewise.
11879 * resolv/Makefile: Likewise.
11880 * stdio-common/Makefile: Likewise.
11881 * wcsmbs/Makefile: Likewise.
11882 * dlfcn/Makefile: Likewise.
11883 * posix/Makefile: Likewise.
11884
11885 [BZ #6959]
11886 * timezone/Makefile: Don't install timezone files, just the programs
11887 and scripts.
11888
11889 2012-03-06 Ulrich Drepper <drepper@gmail.com>
11890
11891 * nss/databases.def: Add missing gshadow entry.
11892
11893 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11894
11895 2012-03-06 Marek Polacek <polacek@redhat.com>
11896
11897 [BZ #13726]
11898 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11899 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11900 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11901 * stdio-common/tst-long-dbl-fphex.c: New file.
11902
11903 2012-03-06 David S. Miller <davem@davemloft.net>
11904
11905 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11906 (set_obp_int): New function.
11907 (get_obp_int): New function.
11908 (__get_clockfreq_via_dev_openprom): Likewise.
11909 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11910 Avoid unused variable warnings on 'val' and use builtin_expect.
11911 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11912 __builtin_expect.
11913 (INLINE_CLONE_SYSCALL): Likewise.
11914
11915 2012-03-05 David S. Miller <davem@davemloft.net>
11916
11917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11918
11919 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11920
11921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11922
11923 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11924 only for |x| >= 40.
11925 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11926
11927 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
11928
11929 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11930 Replace gettimeofday with __vdso_gettimeofday.
11931
11932 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11933 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11934 __vdso_clock_gettime and __vdso_getcpu.
11935
11936 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11937 time with __vdso_time.
11938
11939 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11940
11941 * manual/lang.texi (size_t): Note types to which size_t may be
11942 equivalent with the GNU C Library, but do not describe when
11943 differences between them are significant.
11944
11945 2012-03-05 Andreas Jaeger <aj@suse.de>
11946
11947 * sysdeps/i386/fpu/libm-test-ulps: Update.
11948
11949 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11950
11951 [BZ #3976]
11952 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11953 (__ieee754_pow): Save and restore rounding mode and use
11954 round-to-nearest for main computations.
11955 * math/libm-test.inc (pow_test_tonearest): New function.
11956 (pow_test_towardzero): Likewise.
11957 (pow_test_downward): Likewise.
11958 (pow_test_upward): Likewise.
11959 (main): Call the new functions.
11960 * sysdeps/i386/fpu/libm-test-ulps: Update.
11961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11962
11963 [BZ #3976]
11964 * math/libm-test.inc (cosh_test_tonearest): New function.
11965 (cosh_test_towardzero): Likewise.
11966 (cosh_test_downward): Likewise.
11967 (cosh_test_upward): Likewise.
11968 (sinh_test_tonearest): Likewise.
11969 (sinh_test_towardzero): Likewise.
11970 (sinh_test_downward): Likewise.
11971 (sinh_test_upward): Likewise.
11972 (main): Call the new functions.
11973 * sysdeps/i386/fpu/libm-test-ulps: Update.
11974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11975
11976 2012-03-05 Tom de Vries <tom@codesourcery.com>
11977
11978 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11979 default stack guard is set in last bytes.
11980 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11981
11982 2012-03-05 Kees Cook <keescook@chromium.org>
11983
11984 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
11985
11986 [BZ #13656]
11987 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11988 possibly allocate from heap instead of stack.
11989 * stdio-common/bug-vfprintf-nargs.c: New file.
11990 * stdio-common/Makefile (tests): Add nargs overflow test.
11991
11992 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11993
11994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11995
11996 2012-03-03 Marek Polacek <polacek@redhat.com>
11997
11998 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11999 * math/math_private.h: Likewise.
12000 * stdlib/tst-strtod.c: Likewise.
12001 * sysdeps/i386/i486/bits/atomic.h: Likewise.
12002 * sysdeps/x86_64/bits/atomic.h: Likewise.
12003
12004 2012-03-02 David S. Miller <davem@davemloft.net>
12005
12006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12010 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12011 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12012 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12013 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12014
12015 2012-03-02 Roland McGrath <roland@hack.frob.com>
12016
12017 [BZ #13792]
12018 * manual/examples/README: New file, says the example source files
12019 can be used under GPL>=2.
12020 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12021 line containing just "*/".
12022 * manual/examples/add.c: Add copyright header (GPL>=2).
12023 * manual/examples/argp-ex1.c: Likewise.
12024 * manual/examples/argp-ex2.c: Likewise.
12025 * manual/examples/argp-ex3.c: Likewise.
12026 * manual/examples/argp-ex4.c: Likewise.
12027 * manual/examples/atexit.c: Likewise.
12028 * manual/examples/db.c: Likewise.
12029 * manual/examples/dir.c: Likewise.
12030 * manual/examples/dir2.c: Likewise.
12031 * manual/examples/execinfo.c: Likewise.
12032 * manual/examples/filecli.c: Likewise.
12033 * manual/examples/filesrv.c: Likewise.
12034 * manual/examples/fmtmsgexpl.c: Likewise.
12035 * manual/examples/genpass.c: Likewise.
12036 * manual/examples/inetcli.c: Likewise.
12037 * manual/examples/inetsrv.c: Likewise.
12038 * manual/examples/isockad.c: Likewise.
12039 * manual/examples/longopt.c: Likewise.
12040 * manual/examples/memopen.c: Likewise.
12041 * manual/examples/memstrm.c: Likewise.
12042 * manual/examples/mkfsock.c: Likewise.
12043 * manual/examples/mkisock.c: Likewise.
12044 * manual/examples/mygetpass.c: Likewise.
12045 * manual/examples/pipe.c: Likewise.
12046 * manual/examples/popen.c: Likewise.
12047 * manual/examples/rprintf.c: Likewise.
12048 * manual/examples/search.c: Likewise.
12049 * manual/examples/select.c: Likewise.
12050 * manual/examples/setjmp.c: Likewise.
12051 * manual/examples/sigh1.c: Likewise.
12052 * manual/examples/sigusr.c: Likewise.
12053 * manual/examples/stpcpy.c: Likewise.
12054 * manual/examples/strdupa.c: Likewise.
12055 * manual/examples/strftim.c: Likewise.
12056 * manual/examples/strncat.c: Likewise.
12057 * manual/examples/subopt.c: Likewise.
12058 * manual/examples/swapcontext.c: Likewise.
12059 * manual/examples/termios.c: Likewise.
12060 * manual/examples/testopt.c: Likewise.
12061 * manual/examples/testpass.c: Likewise.
12062 * manual/examples/timeval_subtract.c: Likewise.
12063
12064 [BZ #13792]
12065 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12066 function to ...
12067 * manual/timeval_subtract.c.texi: ... here, new file.
12068
12069 2012-03-02 David S. Miller <davem@davemloft.net>
12070
12071 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12072
12073 2012-03-02 Joseph Myers <joseph@codesourcery.com>
12074
12075 [BZ #3976]
12076 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12077 (__sin): Save and restore rounding mode and use round-to-nearest
12078 for all computations.
12079 (__cos): Save and restore rounding mode and use round-to-nearest
12080 for all computations.
12081 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12082 <fenv.h>.
12083 (tan): Save and restore rounding mode and use round-to-nearest for
12084 all computations.
12085 * math/libm-test.inc (cos_test_tonearest): New function.
12086 (cos_test_towardzero): Likewise.
12087 (cos_test_downward): Likewise.
12088 (cos_test_upward): Likewise.
12089 (sin_test_tonearest): Likewise.
12090 (sin_test_towardzero): Likewise.
12091 (sin_test_downward): Likewise.
12092 (sin_test_upward): Likewise.
12093 (tan_test_tonearest): Likewise.
12094 (tan_test_towardzero): Likewise.
12095 (tan_test_downward): Likewise.
12096 (tan_test_upward): Likewise.
12097 (main): Call the new functions.
12098 * sysdeps/i386/fpu/libm-test-ulps: Update.
12099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12100
12101 [BZ #10135]
12102 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12103 small n, then large n, before computing and testing k+n.
12104 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12105 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12106 Likewise.
12107 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12108 Likewise.
12109 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12110 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12111 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12112 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12113 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12114 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12115 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12116 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12117 * math/libm-test.inc (scalbn_test): Add more tests.
12118 (scalbln_test): Likewise.
12119
12120 * manual/filesys.texi (mode_t): Describe constraints on size and
12121 signedness, not exact equivalence to a particular type.
12122 (ino_t): Likewise.
12123 (ino64_t): Likewise.
12124 (dev_t): Likewise.
12125 (nlink_t): Likewise.
12126 (blkcnt_t): Likewise.
12127 (blkcnt64_t): Likewise.
12128 * manual/llio.texi (off_t): Likewise.
12129
12130 [BZ #3976]
12131 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12132 (__ieee754_exp): Save and restore rounding mode and use
12133 round-to-nearest for all computations.
12134 * math/libm-test.inc (exp_test_tonearest): New function.
12135 (exp_test_towardzero): Likewise.
12136 (exp_test_downward): Likewise.
12137 (exp_test_upward): Likewise.
12138 (main): Call the new functions.
12139 * sysdeps/i386/fpu/libm-test-ulps: Update.
12140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12141
12142 2012-03-01 Chris Demetriou <cgd@google.com>
12143
12144 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12145 have predictable order.
12146
12147 2012-03-01 David S. Miller <davem@davemloft.net>
12148
12149 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12150
12151 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12152 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12153 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12154 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12155
12156 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12157 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12158 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12160 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12161 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12162 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12163 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12164 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12165
12166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12167
12168 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12169 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12170 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12171
12172 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12173 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12174 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12175 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12176 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12177 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12178 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12179 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12180 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12181 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12182 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12183 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12184 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12185 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12186 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12188 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12189 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12190 * sysdeps/sparc/elf/configure: Regenerated.
12191
12192 2012-03-01 Joseph Myers <joseph@codesourcery.com>
12193
12194 * configure.in (AS, LD): Require binutils 2.20 or later.
12195 * configure: Regenerated.
12196 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12197 as required minimum version.
12198 * INSTALL: Regenerated.
12199
12200 [BZ #2541]
12201 [BZ #4108]
12202 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12203 before squaring exponent.
12204 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12205 bottom long double and 27 bits of top long double before squaring
12206 exponent.
12207 * math/libm-test.inc (erfc_test): Add more tests.
12208 * sysdeps/i386/fpu/libm-test-ulps: Update.
12209 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12211
12212 2012-03-01 Kai Tietz <ktietz@redhat.com>
12213
12214 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12215 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12216 containing bit-fields.
12217 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12218 * soft-fp/single.h (_FP_UNION_S): Likewise.
12219 * soft-fp/double.h (_FP_UNION_D): Likewise.
12220
12221 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12222
12223 [BZ #13786]
12224 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12225 not include ../strcmp.S.
12226 [USE_AS_STRNCASECMP_L]: Likewise.
12227 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12228 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12229 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12230 (__strncasecmp_l_ia32): Define as alias to
12231 __strncasecmp_l_nonascii.
12232
12233 [BZ #5794]
12234 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12235 * sysdeps/i386/fpu/libm-test-ulps: Update.
12236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12237
12238 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12240
12241 2012-02-29 Jeff Law <law@redhat.com>
12242
12243 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12244 out of bounds read.
12245
12246 2012-02-29 Marek Polacek <polacek@redhat.com>
12247
12248 [BZ #13706]
12249 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12250 * elf/Makefile: Add rules to run tst-unused-dep.out.
12251
12252 2012-02-28 David S. Miller <davem@davemloft.net>
12253
12254 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12255 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12256 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12257 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12258 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12259 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12260
12261 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12262
12263 * math/libm-test.inc (llround_test): Move one test from
12264 lround_test. Use TEST_f_L in moved test.
12265 (lround_test): Move misplaced test to llround_test. Add testcase
12266 from bug 2561.
12267
12268 2012-02-28 Ulrich Drepper <drepper@gmail.com>
12269
12270 * sysdeps/x86_64/fpu/e_expf.S: New file.
12271 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12272
12273 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12274
12275 [BZ #13637]
12276 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12277 of remain_len that may cause incomplete multi-byte character and
12278 false match.
12279 * posix/bug-regex33.c: New file.
12280 * posix/Makefile (tests): Add bug-regex33.
12281
12282 2012-02-28 Joseph Myers <joseph@codesourcery.com>
12283
12284 * manual/macros.texi: New file.
12285 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12286 * manual/libc.texinfo: Include macros.texi.
12287 * manual/creatute.texi: Likewise.
12288 * manual/install.texi: Likewise.
12289 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12290 @glibcadj{} in references to the GNU C Library.
12291 * manual/charset.texi: Likewise.
12292 * manual/conf.texi: Likewise.
12293 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12294 when not using those macros.
12295 * manual/creature.texi: Likewise.
12296 * manual/crypt.texi: Likewise.
12297 * manual/errno.texi: Likewise.
12298 * manual/filesys.texi: Likewise.
12299 * manual/header.texi: Likewise.
12300 * manual/install.texi: Likewise.
12301 * manual/intro.texi: Likewise.
12302 * manual/io.texi: Likewise.
12303 * manual/job.texi: Likewise.
12304 * manual/lang.texi: Likewise.
12305 * manual/libc.texiinfo: Likewise.
12306 * manual/llio.texi: Likewise.
12307 * manual/locale.texi: Likewise.
12308 * manual/maint.texi: Likewise.
12309 * manual/math.texi: Likewise.
12310 * manual/memory.texi: Likewise.
12311 * manual/message.texi: Likewise.
12312 * manual/nss.texi: Likewise.
12313 * manual/pattern.texi: Likewise.
12314 * manual/process.texi: Likewise.
12315 * manual/resource.texi: Likewise.
12316 * manual/search.texi: Likewise.
12317 * manual/setjmp.texi: Likewise.
12318 * manual/signal.texi: Likewise.
12319 * manual/socket.texi: Likewise.
12320 * manual/startup.texi: Likewise.
12321 * manual/stdio.texi: Likewise.
12322 * manual/string.texi: Likewise.
12323 * manual/sysinfo.texi: Likewise.
12324 * manual/syslog.texi: Likewise.
12325 * manual/terminal.texi: Likewise.
12326 * manual/time.texi: Likewise.
12327 * manual/users.texi: Likewise.
12328 * INSTALL: Regenerated.
12329 * NOTES: Regenerated.
12330 * sysdeps/gnu/errlist.c: Regenerated.
12331
12332 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12333
12334 * include/dirent.h: Include <dirstream.h> before
12335 <dirent/dirent.h>.
12336
12337 2012-02-28 David S. Miller <davem@davemloft.net>
12338
12339 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12340 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12341 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12342 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12343
12344 2012-02-27 David S. Miller <davem@davemloft.net>
12345
12346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12348 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12349 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12350
12351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12352 frame pointer instead of stack pointer relative arg slot.
12353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12354 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12355 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12356
12357 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12358
12359 [BZ #3992]
12360 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12361
12362 2012-02-27 David S. Miller <davem@davemloft.net>
12363
12364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12368 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12369 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12370 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12371 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12372
12373 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12374
12375 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12376 later. Allow versions 5-9.
12377 * configure: Regenerated.
12378 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12379 required minimum version and 4.6 as recommended version. Do not
12380 mention bugs in GCC 2.7 and 2.8.
12381 * INSTALL: Regenerated.
12382
12383 2012-02-27 David S. Miller <davem@davemloft.net>
12384
12385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12389 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12390 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12391 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12392 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12393
12394 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12395 manipulate bits before adding and subtracting TWO112[sx].
12396 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12397
12398 2012-02-27 Roland McGrath <roland@hack.frob.com>
12399
12400 [BZ #13775]
12401 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12402 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12403 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12404 being in POSIX, because they are in 1003.1-2008.
12405
12406 * rt/tst-aio.c: Include <fcntl.h>.
12407 * rt/tst-aio7.c: Likewise.
12408 * rt/tst-aio64.c: Likewise.
12409
12410 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12411
12412 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12413
12414 * manual/install.texi (--with-headers): Describe headers as
12415 interface headers, not private headers.
12416 (Specific advice for GNU/Linux systems): Describe use of headers
12417 from "make headers_install", not private headers from older
12418 kernels.
12419 * INSTALL: Regenerated.
12420 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12421 Change to 2.6.19.
12422 * sysdeps/unix/sysv/linux/configure: Regenerated.
12423
12424 * manual/llio.texi (fclean): Remove documentation.
12425
12426 * manual/Makefile (libc-texi-generated): New variable. Include
12427 version.texi.
12428 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12429 $(libc-texi-generated), not duplicated list of files.
12430 (version.texi, stamp-version): New rules.
12431 (realclean): Remove $(libc-texi-generated), not individual files
12432 from that list. Do not remove dir-add.texinfo.
12433 * manual/libc.texinfo: Comment out uses of edition numbers and
12434 references to printed manual. Remove last-updated dates.
12435 (EDITION): Comment out.
12436 (ISBN): Likewise.
12437 (VERSION, UPDATED): Remove.
12438 (version.texi): Include.
12439
12440 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12441
12442 * sysdeps/posix/spawni.c: Include <signal.h>.
12443 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12444 * sysdeps/pthread/aio_fsync.c: Likewise.
12445
12446 2012-02-26 Ulrich Drepper <drepper@gmail.com>
12447
12448 * conform/Makefile (tests): Run only when not cross-compiling and
12449 when fast-check is not defined.
12450
12451 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12452 * conform/data/limits.h-data: Fixes for POSIX2008.
12453 * conform/run-conformtest.sh: Run all tests.
12454 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12455 headers.
12456 * include/bits/dlfcn.h: Likewise.
12457 * include/langinfo.h: Likewise.
12458 * include/monetary.h: Likewise.
12459 * include/sys/poll.h: Likewise.
12460
12461 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12462 for __USE_GNU.
12463 * posix/spawn.h: Define __need_sigset_t.
12464 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12465 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12466 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12467 to get sigevent_t only.
12468 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12469 only for __USE_GNU.
12470 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12471 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12472 process_vm_writev only for __USE_GNU.
12473 * termios/termios.h: Declare tcgetsid also for POSIX2008.
12474
12475 * conform/Makefile: For now ignore errors from run-conformtest.
12476 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12477 POSIX to avoid namespace pollution. Don't prepend headers.
12478 * conform/data/aio.h-data: Fixes for POSIX testing.
12479 * conform/data/fcntl.h-data: Likewise.
12480 * conform/data/glob.h-data: Likewise.
12481 * conform/data/grp.h-data: Likewise.
12482 * conform/data/pthread.h-data: Likewise.
12483 * conform/data/pwd.h-data: Likewise.
12484 * conform/data/signal.h-data: Likewise.
12485 * conform/data/spawn.h-data: Likewise.
12486 * conform/data/stdio.h-data: Likewise.
12487 * conform/data/stdlib.h-data: Likewise.
12488 * conform/data/stropts.h-data: Likewise.
12489 * conform/data/sys/mman.h-data: Likewise.
12490 * conform/data/sys/stat.h-data: Likewise.
12491 * conform/data/sys/types.h-data: Likewise.
12492 * conform/data/sys/wait.h-data: Likewise.
12493 * conform/data/time.h-data: Likewise.
12494 * conform/data/unistd.h-data: Likewise.
12495 * conform/data/utime.h-data: Likewise.
12496
12497 * io/sys/stat.h: fchmod was always in POSIX.
12498 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12499 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12500 * rt/aio.h: Define __need_timespec before including <time.h>.
12501 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12502 struct. Add forward declaration of pthread_attr_t and use it in
12503 sigevent.
12504 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12505 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12506 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12507 always remove CLK_TCK definition.
12508
12509 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12510
12511 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12512
12513 2012-02-25 Ulrich Drepper <drepper@gmail.com>
12514
12515 * conform/run-conformtest.sh: New file.
12516 * conform/Makefile: Run run-conformtest for tests.
12517 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12518 support.
12519
12520 * conform/data/uchar.h-data: New file.
12521 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12522 * conform/data/arpa/inet.h-data: Likewise.
12523 * conform/data/assert.h-data: Likewise.
12524 * conform/data/complex.h-data: Likewise.
12525 * conform/data/cpio.h-data: Likewise.
12526 * conform/data/ctype.h-data: Likewise.
12527 * conform/data/dirent.h-data: Likewise.
12528 * conform/data/dlfcn.h-data: Likewise.
12529 * conform/data/errno.h-data: Likewise.
12530 * conform/data/fcntl.h-data: Likewise.
12531 * conform/data/float.h-data: Likewise.
12532 * conform/data/fmtmsg.h-data: Likewise.
12533 * conform/data/fnmatch.h-data: Likewise.
12534 * conform/data/ftw.h-data: Likewise.
12535 * conform/data/glob.h-data: Likewise.
12536 * conform/data/grp.h-data: Likewise.
12537 * conform/data/iconv.h-data: Likewise.
12538 * conform/data/inttypes.h-data: Likewise.
12539 * conform/data/langinfo.h-data: Likewise.
12540 * conform/data/libgen.h-data: Likewise.
12541 * conform/data/limits.h-data: Likewise.
12542 * conform/data/locale.h-data: Likewise.
12543 * conform/data/math.h-data: Likewise.
12544 * conform/data/monetary.h-data: Likewise.
12545 * conform/data/mqueue.h-data: Likewise.
12546 * conform/data/ndbm.h-data: Likewise.
12547 * conform/data/net/if.h-data: Likewise.
12548 * conform/data/netdb.h-data: Likewise.
12549 * conform/data/netinet/in.h-data: Likewise.
12550 * conform/data/nl_types.h-data: Likewise.
12551 * conform/data/poll.h-data: Likewise.
12552 * conform/data/pthread.h-data: Likewise.
12553 * conform/data/pwd.h-data: Likewise.
12554 * conform/data/regex.h-data: Likewise.
12555 * conform/data/sched.h-data: Likewise.
12556 * conform/data/search.h-data: Likewise.
12557 * conform/data/semaphore.h-data: Likewise.
12558 * conform/data/setjmp.h-data: Likewise.
12559 * conform/data/signal.h-data: Likewise.
12560 * conform/data/spawn.h-data: Likewise.
12561 * conform/data/stdarg.h-data: Likewise.
12562 * conform/data/stdio.h-data: Likewise.
12563 * conform/data/stdlib.h-data: Likewise.
12564 * conform/data/string.h-data: Likewise.
12565 * conform/data/strings.h-data: Likewise.
12566 * conform/data/stropts.h-data: Likewise.
12567 * conform/data/sys/ipc.h-data: Likewise.
12568 * conform/data/sys/mman.h-data: Likewise.
12569 * conform/data/sys/msg.h-data: Likewise.
12570 * conform/data/sys/resource.h-data: Likewise.
12571 * conform/data/sys/select.h-data: Likewise.
12572 * conform/data/sys/sem.h-data: Likewise.
12573 * conform/data/sys/shm.h-data: Likewise.
12574 * conform/data/sys/socket.h-data: Likewise.
12575 * conform/data/sys/stat.h-data: Likewise.
12576 * conform/data/sys/statvfs.h-data: Likewise.
12577 * conform/data/sys/time.h-data: Likewise.
12578 * conform/data/sys/timeb.h-data: Likewise.
12579 * conform/data/sys/times.h-data: Likewise.
12580 * conform/data/sys/types.h-data: Likewise.
12581 * conform/data/sys/uio.h-data: Likewise.
12582 * conform/data/sys/un.h-data: Likewise.
12583 * conform/data/sys/utsname.h-data: Likewise.
12584 * conform/data/sys/wait.h-data: Likewise.
12585 * conform/data/syslog.h-data: Likewise.
12586 * conform/data/tar.h-data: Likewise.
12587 * conform/data/termios.h-data: Likewise.
12588 * conform/data/utime.h-data: Likewise.
12589 * conform/data/utmpx.h-data: Likewise.
12590 * conform/data/varargs.h-data: Likewise.
12591 * conform/data/wchar.h-data: Likewise.
12592 * conform/data/wctype.h-data: Likewise.
12593 * conform/data/wordexp.h-data: Likewise.
12594
12595 * include/stropts.h: New file.
12596 * include/uchar.h: New file.
12597 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12598 * include/assert.h: Likewise.
12599 * include/ctype.h: Likewise.
12600 * include/dirent.h: Likewise.
12601 * include/dlfcn.h: Likewise.
12602 * include/fcntl.h: Likewise.
12603 * include/fnmatch.h: Likewise.
12604 * include/glob.h: Likewise.
12605 * include/grp.h: Likewise.
12606 * include/libio.h: Likewise.
12607 * include/locale.h: Likewise.
12608 * include/math.h: Likewise.
12609 * include/net/if.h: Likewise.
12610 * include/netdb.h: Likewise.
12611 * include/netinet/in.h: Likewise.
12612 * include/pthread.h: Likewise.
12613 * include/pwd.h: Likewise.
12614 * include/regex.h: Likewise.
12615 * include/sched.h: Likewise.
12616 * include/search.h: Likewise.
12617 * include/setjmp.h: Likewise.
12618 * include/signal.h: Likewise.
12619 * include/stdio.h: Likewise.
12620 * include/stdlib.h: Likewise.
12621 * include/string.h: Likewise.
12622 * include/sys/cdefs.h: Likewise.
12623 * include/sys/mman.h: Likewise.
12624 * include/sys/msg.h: Likewise.
12625 * include/sys/resource.h: Likewise.
12626 * include/sys/select.h: Likewise.
12627 * include/sys/socket.h: Likewise.
12628 * include/sys/stat.h: Likewise.
12629 * include/sys/statvfs.h: Likewise.
12630 * include/sys/time.h: Likewise.
12631 * include/sys/times.h: Likewise.
12632 * include/sys/uio.h: Likewise.
12633 * include/sys/utsname.h: Likewise.
12634 * include/sys/wait.h: Likewise.
12635 * include/termios.h: Likewise.
12636 * include/time.h: Likewise.
12637 * include/ulimit.h: Likewise.
12638 * include/unistd.h: Likewise.
12639 * include/utime.h: Likewise.
12640 * include/wchar.h: Likewise.
12641 * include/wctype.h: Likewise.
12642 * include/wordexp.h: Likewise.
12643
12644 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12645
12646 * time/time.h: TIME_UTC must be a macro.
12647 Make timespec_get available for ISO C11 only as well.
12648
12649 2012-02-24 Ulrich Drepper <drepper@gmail.com>
12650
12651 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12652 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12653
12654 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12655
12656 * configure.in: Use -o not -a in test for unsupported multi-arch.
12657
12658 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12659
12660 * manual/texinfo.tex: Update to version 2012-01-19.16.
12661
12662 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12663
12664 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12665
12666 2012-02-24 Roland McGrath <roland@hack.frob.com>
12667
12668 [BZ #13738]
12669 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12670 * manual/fdl-1.3.texi: New file.
12671 * manual/fdl-1.1.texi: File removed.
12672
12673 [BZ #13738]
12674 * manual/libc.texinfo (FDL_VERSION): New @set.
12675 Use it for mention of FDL in cover text.
12676 (Documentation License): Use it in @include file name.
12677
12678 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12679 Roland McGrath <roland@hack.frob.com>
12680
12681 [BZ #5461]
12682 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12683 not LONG_LONG_MAX and LONG_LONG_MIN.
12684 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12685 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12686 name.
12687 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12688
12689 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12690
12691 [BZ #2547]
12692 [BZ #11365]
12693 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12694 manipulate bits before adding and subtracting TWO23[sx].
12695 * math/libm-test.inc (nearbyint_test): Add more tests.
12696
12697 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12698
12699 [BZ #2548]
12700 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12701 bits before adding and subtracting TWO23[sx].
12702 * math/libm-test.inc (rint_test): Add more tests.
12703 (rint_test_tonearest): Likewise.
12704 (rint_test_towardzero): Likewise.
12705 (rint_test_downward): Likewise.
12706 (rint_test_upward: Likewise.
12707
12708 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12709
12710 [BZ #10110]
12711 * include/stdc-predef.h: New file. Extracted from features.h.
12712 * include/features.h: Include stdc-predef.h.
12713 * Makefile (headers): Add stdc-predef.h.
12714 * CONFORMANCE (Compiler limitations): Update.
12715
12716 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12717
12718 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12719
12720 2012-02-21 David S. Miller <davem@davemloft.net>
12721
12722 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12723 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12724
12725 2012-02-20 David S. Miller <davem@davemloft.net>
12726
12727 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12728 using a normal save/restore sequence, rather than allocating a
12729 dummy stack frame just to store a frame pointer and restore.
12730 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12731
12732 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12733
12734 * manual/install.texi: Fix stray word in line-wrapped comment.
12735
12736 2012-02-20 David S. Miller <davem@davemloft.net>
12737
12738 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12739 both binutils and gcc support GOTDATA.
12740
12741 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12742 "rd %pc" in the PIC register setup sequences.
12743
12744 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12745 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12746 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12747 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12748 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12749 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12750 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12751 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12752 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12753 (SYSCALL_ERROR_HANDLER): Likewise.
12754 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12755 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12756 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12757 (SYSCALL_ERROR_HANDLER): Likewise.
12758
12759 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12760 (HAVE_GCC_GOTDATA): New.
12761 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12762 relocation support in both binutils and gcc.
12763 * sysdeps/sparc/elf/configure: Regenerate.
12764
12765 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12766 * sysdeps/sparc/sparc32/elf/configure: Delete.
12767 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12768 * sysdeps/sparc/sparc64/elf/configure: Delete.
12769 * sysdeps/sparc/elf/configure.in: New file.
12770 * sysdeps/sparc/elf/configure: Generate.
12771
12772 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12773 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12774 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12775 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12776 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12777
12778 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12779
12780 * manual/install.texi: Do not mention specific glibc version
12781 numbers.
12782 * manual/libc.texinfo (VERSION, UPDATED): Update.
12783 (@copying): Use @copyright{} and range of years.
12784
12785 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12786
12787 [BZ #13695]
12788 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12789 [crti.S not in sysdirs] (generated): Do not append.
12790 [crti.S not in sysdirs] (omit-deps): Likewise.
12791 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12792 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12793 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12794 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12795 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12796 Likewise.
12797 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12798 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12799 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12800 * csu/defs.awk: Remove file.
12801 * sysdeps/generic/initfini.c: Likewise.
12802 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12803 variable.
12804 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12805 Likewise.
12806
12807 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12808
12809 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12810 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12811 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12812 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12813 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12814 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12815 <bits/epoll.h>.
12816 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12817 (__EPOLL_PACKED): Define to empty if not defined by
12818 <bits/epoll.h>.
12819 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12821 bits/epoll.h.
12822
12823 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12824
12825 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12826 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12827 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12828 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12829 <bits/timerfd.h>.
12830 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12832 bits/timerfd.h.
12833
12834 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12835
12836 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12837 in C locale.
12838 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12839 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12840 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12842
12843 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12844
12845 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12846 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12847
12848 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12849
12850 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12851 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12852 defined.
12853 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12854 Likewise.
12855 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12856 entry for 2.16.
12857
12858 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12859
12860 * math/w_acos.c: Use non-signaling floating-point comparisons.
12861 * math/w_acosf.c: Likewise.
12862 * math/w_acosh.c: Likewise.
12863 * math/w_acoshf.c: Likewise.
12864 * math/w_acoshl.c: Likewise.
12865 * math/w_acosl.c: Likewise.
12866 * math/w_asin.c: Likewise.
12867 * math/w_asinf.c: Likewise.
12868 * math/w_asinl.c: Likewise.
12869 * math/w_atanh.c: Likewise.
12870 * math/w_atanhf.c: Likewise.
12871 * math/w_atanhl.c: Likewise.
12872 * math/w_exp2.c: Likewise.
12873 * math/w_exp2f.c: Likewise.
12874 * math/w_exp2l.c: Likewise.
12875 * math/w_j0.c: Likewise.
12876 * math/w_j0f.c: Likewise.
12877 * math/w_j0l.c: Likewise.
12878 * math/w_j1.c: Likewise.
12879 * math/w_j1f.c: Likewise.
12880 * math/w_j1l.c: Likewise.
12881 * math/w_jn.c: Likewise.
12882 * math/w_jnf.c: Likewise.
12883 * math/w_log.c: Likewise.
12884 * math/w_log10.c: Likewise.
12885 * math/w_log10f.c: Likewise.
12886 * math/w_log10l.c: Likewise.
12887 * math/w_log2.c: Likewise.
12888 * math/w_log2f.c: Likewise.
12889 * math/w_log2l.c: Likewise.
12890 * math/w_logf.c: Likewise.
12891 * math/w_logl.c: Likewise.
12892 * math/w_sqrt.c: Likewise.
12893 * math/w_sqrtf.c: Likewise.
12894 * math/w_sqrtl.c: Likewise.
12895 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12896 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12897 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12898 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12899 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12900
12901 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12902
12903 [BZ #9739]
12904 * manual/string.texi (strnlen): Use correct parameter name in
12905 equivalent expression.
12906
12907 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12908
12909 [BZ #11174]
12910 * manual/users.texi (seteuid): Consistently use neweuid for
12911 argument name.
12912
12913 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12914
12915 [BZ #13704]
12916 * manual/nss.texi (Services in the NSS configuration): Correct
12917 list of services in example configuration file.
12918
12919 2012-02-19 Nick Bowler <nbowler@draconx.ca>
12920
12921 [BZ #11322]
12922 * manual/arith.texi: Remove statements about negative zero
12923 behaving identically to zero.
12924
12925 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12926
12927 [BZ #5993]
12928 * manual/install.texi: Do not document upgrading from libc5.
12929
12930 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12931
12932 [BZ #4596]
12933 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12934
12935 2012-02-18 David S. Miller <davem@davemloft.net>
12936
12937 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12938 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12939 %o7 across the call.
12940 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12941 instead.
12942 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12943 SETUP_PIC_REG_LEAF.
12944 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12945 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12946 * sysdeps/sparc/crtn.S: Likewise.
12947
12948 2012-02-17 Ulrich Drepper <drepper@gmail.com>
12949
12950 * aout/Makefile: Remove.
12951
12952 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12953
12954 [BZ #13058]
12955 * manual/examples/argp-ex1.c (main): Format definition in GNU
12956 style.
12957 * manual/examples/argp-ex2.c (main): Likewise.
12958 * manual/examples/argp-ex3.c (main): Likewise.
12959 * manual/examples/argp-ex4.c (main): Likewise.
12960 * manual/examples/longopt.c (main): Use new-style prototype
12961 definition.
12962 * manual/examples/strncat.c (main): Specify return type and use
12963 (void) for arguments.
12964 * manual/examples/subopt.c (main): Use char **argv argument.
12965
12966 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12967
12968 [BZ #5077]
12969 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12970 rounding modes.
12971
12972 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12973
12974 [BZ #6907]
12975 * manual/string.texi (strchr): Change when strchrnul is
12976 recommended.
12977
12978 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12979
12980 [BZ #174]
12981 * manual/locale.texi (setlocale): Document LOCPATH.
12982
12983 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12984
12985 [BZ #10210]
12986 * manual/process.texi (execle): Move @dots{} before last argument.
12987
12988 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
12989
12990 [BZ #12047]
12991 * manual/charset.texi (Generic Charset Conversion): Fix typo
12992 (LC_TYPE -> LC_CTYPE).
12993
12994 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12995
12996 [BZ #5805]
12997 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12998 (scalbnf): Likewise.
12999 (scalbnl): Likewise.
13000 (scalbln): Likewise.
13001 (scalblnf): Likewise.
13002 (scalblnl): Likewise.
13003 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
13004 (vwarnx): Likewise.
13005 (verr): Likewise.
13006 (verrx): Likewise.
13007 * manual/filesys.texi (telldir): Use braces around return type.
13008 * manual/llio.texi (mmap): Add space after comma.
13009 (mmap64): Likewise.
13010 * manual/math.texi (jn): Use @var{} on parameter names.
13011 (jnf): Likewise.
13012 (jnl): Likewise.
13013 (yn): Likewise.
13014 (ynf): Likewise.
13015 (ynl): Likewise.
13016 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13017 line.
13018 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13019 "...".
13020 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13021 (sched_get_priority_max): Likewise.
13022 * manual/signal.texi (sigvec): Add space after comma.
13023 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13024 names.
13025 (if_indextoname): Likewise.
13026 (if_freenameindex): Likewise.
13027 (sendto): Use ',' instead of '.' in prototype.
13028 * manual/startup.texi (syscall): Use @dots{} instead of literal
13029 "...".
13030 * manual/stdio.texi (__fpending): Separate initial words of
13031 paragraph from @deftypefun line.
13032 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13033 "...".
13034 (vsyslog): Use @var{} on parameter names.
13035 * manual/terminal.texi (stty): Use @var{} on parameter names.
13036 * manual/users.texi (getutmp): Use @var{} on parameter names.
13037 (getutmpx): Likewise.
13038
13039 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13040
13041 [BZ #6884]
13042 * manual/stdio.texi (fopen): Fix typos in description of
13043 ",ccs=STRING".
13044
13045 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13046
13047 [BZ #4026]
13048 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13049 get clock_id definition.
13050
13051 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
13052
13053 [BZ #4822]
13054 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13055 (madvise): Cast every argument to void on its own.
13056
13057 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13058
13059 [BZ #9902]
13060 * manual/startup.texi (Exit Status): Fix typo.
13061
13062 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13063
13064 [BZ #10140]
13065 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13066 * manual/examples/argp-ex2.c: Likewise.
13067 * manual/examples/argp-ex3.c: Likewise.
13068
13069 2012-02-16 Richard Henderson <rth@redhat.com>
13070
13071 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13072 * sysdeps/s390/s390-32/initfini.c: Remove.
13073 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13074 * sysdeps/s390/s390-64/initfini.c: Remove.
13075
13076 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13077
13078 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13079 compiler output for sysdeps/generic/initfini.c.
13080 * sysdeps/sh/elf/initfini.c: Remove file.
13081
13082 2012-02-16 David S. Miller <davem@davemloft.net>
13083
13084 [BZ #11494]
13085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13086
13087 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13088 * sysdeps/sparc/crti.S: New file.
13089 * sysdeps/sparc/crtn.S: New file.
13090 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13091 * sysdeps/sparc/sparc64/Makefile: Likewise.
13092
13093 2012-02-15 Mike Frysinger <vapier@gentoo.org>
13094
13095 [BZ #3335]
13096 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13097
13098 2012-02-15 Roland McGrath <roland@hack.frob.com>
13099
13100 [BZ #4822]
13101 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13102
13103 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13104 (write, read, close): Likewise.
13105 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13106
13107 2012-02-15 Joseph Myers <joseph@codesourcery.com>
13108
13109 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13110 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13111 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13112 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13113 <bits/signalfd.h>.
13114 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13115 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13116 bits/signalfd.h.
13117
13118 2012-02-14 Marek Polacek <polacek@redhat.com>
13119
13120 * sysdeps/x86_64/crti.S: New file.
13121 * sysdeps/x86_64/crtn.S: New file.
13122 * sysdeps/x86_64/elf/initfini.c: Remove file.
13123
13124 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13125
13126 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13127 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13128 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13129 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13130 <bits/inotify.h>.
13131 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13133 bits/inotify.h.
13134
13135 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13136
13137 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13138 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13139 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13140 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13141 <bits/eventfd.h>.
13142 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13144 bits/eventfd.h.
13145
13146 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13147
13148 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13149 __feraiseexcept instead of feraiseexcept.
13150
13151 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13152 nanosleep invocations.
13153 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13154 strings, and add error checking for a nanosleep invocations.
13155
13156 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13157
13158 Replace FSF snail mail address with URLs, as per GNU coding standards.
13159 Most of the snail mail addresses were wrong anyway, and omitting
13160 them makes the source code easier to maintain. Almost all of the
13161 changes are to license notices and to locale LC_IDENTIFICATION
13162 addresses, except for this one:
13163 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13164 not its snail mail address.
13165
13166 2012-02-09 Richard Henderson <rth@twiddle.net>
13167
13168 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13169 of kernel-features.h.
13170
13171 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13172
13173 2012-02-08 Marek Polacek <polacek@redhat.com>
13174
13175 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13176 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13177 * sysdeps/gnu/_G_config.h: Likewise.
13178 * sysdeps/generic/_G_config.h: Likewise.
13179
13180 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13181
13182 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13183 tests.
13184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13185
13186 * sysdeps/powerpc/powerpc32/crti.S: New file.
13187 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13188 * sysdeps/powerpc/powerpc64/crti.S: New file.
13189 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13190
13191 * Makeconfig (have-initfini): Don't set.
13192 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13193 * configure.in (nopic_initfini): Don't substitute.
13194 * config.h.in (HAVE_INITFINI): Don't #undef.
13195 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13196 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13197
13198 2012-02-08 Joseph Myers <joseph@codesourcery.com>
13199
13200 Support crti.S and crtn.S provided directly by architectures.
13201 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13202 [crti.S in sysdirs] (omit-deps): Likewise.
13203 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13204 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13205 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13206 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13207 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13208 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13209 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13210 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13211 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13212 compiler output for sysdeps/generic/initfini.c.
13213 * sysdeps/i386/elf/Makefile: Remove file.
13214 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13215
13216 2012-02-07 Marek Polacek <polacek@redhat.com>
13217
13218 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13219 * sysdeps/gnu/_G_config.h: Likewise.
13220 * sysdeps/mach/hurd/_G_config.h: Likewise.
13221
13222 2012-02-07 Marek Polacek <polacek@redhat.com>
13223
13224 * math/Makefile (tests): Add tst-CMPLX2.
13225 * math/tst-CMPLX2.c: New file.
13226
13227 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13228
13229 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13230
13231 * math/libm-test.inc (jn_test): Add missing L suffix.
13232
13233 2012-02-06 Marek Polacek <polacek@redhat.com>
13234
13235 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13236 * sysdeps/i386/fpu/e_powf.S: Likewise.
13237 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13238 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13239 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13240 * sysdeps/i386/fpu/e_pow.S: Likewise.
13241 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13242 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13243 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13244 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13245 * sysdeps/i386/fpu/e_log2.S: Likewise.
13246 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13247 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13248 * sysdeps/i386/fpu/e_powl.S: Likewise.
13249 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13250 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13251 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13252 * sysdeps/i386/fpu/e_logl.S: Likewise.
13253 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13254 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13255 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13256 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13257 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13258 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13259 * sysdeps/i386/fpu/e_log.S: Likewise.
13260 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13261 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13262 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13263 * sysdeps/i386/fpu/e_logf.S: Likewise.
13264 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13265 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13266 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13267 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13268 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13269 * sysdeps/i386/fpu/e_log10.S: Likewise.
13270 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13271 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13272 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13273 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13274 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13275 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13276 * sysdeps/i386/asm-syntax.h: Likewise.
13277 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13278 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13279 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13280 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13281 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13282 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13283 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13284 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13285 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13286 * sysdeps/powerpc/sysdep.h: Likewise.
13287 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13288 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13289
13290 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13291
13292 [BZ #411]
13293 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13294
13295 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13296
13297 * sysdeps/i386/sysdep.h: Include <features.h>.
13298 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13299 version.
13300
13301 2012-02-05 Joseph Myers <joseph@codesourcery.com>
13302
13303 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13304 Define.
13305 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13306 LOAD_PIC_REG_STR.
13307
13308 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13309
13310 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13311 (SETUP_PIC_REG): Use GET_PC_THUNK.
13312 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13313 macro.
13314
13315 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13316
13317 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13318 for non-PIC compilation.
13319 (SETUP_PIC_REG): Add .p2align directive.
13320 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13321 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13322 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13323 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13324 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13325 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13326 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13327 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13328 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13329 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13330 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13331 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13332 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13333 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13334 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13335 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13336 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13337 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13338 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13339 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13340 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13341 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13342 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13343 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13344 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13345 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13346 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13347 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13348 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13349 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13350 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13351 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13352 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13353 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13354 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13355 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13356 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13357 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13358 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13359 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13360 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13361
13362 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13363
13364 * math/tst-CMPLX.c: Include <stdio.h>.
13365
13366 2012-01-31 Joseph Myers <joseph@codesourcery.com>
13367
13368 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13369 float.
13370 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13371 * sysdeps/sparc/bits/mathdef.h: Likewise.
13372
13373 2012-01-31 Marek Polacek <polacek@redhat.com>
13374
13375 * libio/libio.h: Don't define _PARAMS.
13376 * locale/programs/config.h: Don't define PARAMS.
13377 * stdlib/strtol_l.c: Likewise.
13378 (__strtol_l): Remove PARAMS from the prototype.
13379
13380 2012-01-31 Ulrich Drepper <drepper@gmail.com>
13381
13382 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13383 names. Just use the correct names. Remove unnecessary wrapper
13384 functions.
13385 * malloc/arena.c: Likewise.
13386 * malloc/hooks.c: Likewise.
13387
13388 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13389 ARENA_TEST says not to. Simplify test for creation of a new arena.
13390 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13391
13392 2012-01-30 Ulrich Drepper <drepper@gmail.com>
13393
13394 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13395 into tail calls.
13396 (update_get_addr): New function.
13397 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13398 GET_ADDR_MODULE parameter.
13399
13400 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13401
13402 * crypt/cert.c: Remove __STDC__ conditionals.
13403 * crypt/crypt-entry.c: Likewise.
13404 * crypt/crypt_util.c: Likewise.
13405 * libio/filedoalloc.c: Likewise.
13406 * libio/fileops.c: Likewise.
13407 * libio/genops.c: Likewise.
13408 * libio/iofclose.c: Likewise.
13409 * libio/iofdopen.c: Likewise.
13410 * libio/iofopen.c: Likewise.
13411 * libio/iofopen64.c: Likewise.
13412 * libio/iogetdelim.c: Likewise.
13413 * libio/iopopen.c: Likewise.
13414 * libio/obprintf.c: Likewise.
13415 * libio/oldfileops.c: Likewise.
13416 * libio/oldiofclose.c: Likewise.
13417 * libio/oldiofdopen.c: Likewise.
13418 * libio/oldiofopen.c: Likewise.
13419 * libio/oldiopopen.c: Likewise.
13420 * libio/wfiledoalloc.c: Likewise.
13421 * libio/wgenops.c: Likewise.
13422 * locale/programs/xmalloc.c: Likewise.
13423 * misc/syslog.c: Likewise.
13424 * stdio-common/xbug.c: Likewise.
13425 * string/memchr.c: Likewise.
13426 * string/memcmp.c: Likewise.
13427 * string/memrchr.c: Likewise.
13428 * string/rawmemchr.c: Likewise.
13429 * sysdeps/posix/getcwd.c: Likewise.
13430 * time/strftime_l.c: Likewise.
13431
13432 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13433
13434 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
13435 * config.make.in (config-cflags-sse2avx): Define.
13436 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13437 Fix typo.
13438
13439 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13440
13441 * scripts/config.guess: Update from upstream config git repository.
13442 * scripts/config.sub: Likewise.
13443
13444 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13445
13446 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13447 (EM_NUM): Update.
13448 (R_TILEPRO_*, R_TILEGX_*): New macros.
13449
13450 * scripts/firstversions.awk: Fix bug in version range handling.
13451
13452 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13453
13454 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13455
13456 * include/sys/epoll.h: New file.
13457 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13458 libc_hidden_def.
13459
13460 2012-01-28 Ulrich Drepper <drepper@gmail.com>
13461
13462 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13463 Avoid unnecessary __WORDSIZE == 64 test.
13464 (fmaxf): Use VEX format if possible.
13465 (fmax): Likewise.
13466 (fminf): Likewise.
13467 (fmin): Likewise.
13468
13469 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13470 * math/math_private.h: Remove libc_fegetround* and
13471 libc_fesetround*.
13472 * sysdeps/i386/configure.in: Check for -msse2avx.
13473 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13474 also if SSE2AVX is defined.
13475 Remove libc_fegetround* and libc_fesetround*.
13476 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13477 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13478 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13479 of HAS_YMM_USABLE.
13480 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13481 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13482 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13483 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13484 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13485
13486 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13487
13488 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13489
13490 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13491 size is not set.
13492 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13493
13494 2012-01-27 Ulrich Drepper <drepper@gmail.com>
13495
13496 [BZ #13618]
13497 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13498 relocation.
13499 * Makeconfig (libm): Define.
13500 * elf/Makefile: Add rules to build and run tst-relsort1.
13501 * elf/tst-relsort1.c: New file.
13502 * elf/tst-relsort1mod1.c: New file.
13503 * elf/tst-relsort1mod2.c: New file.
13504
13505 2012-01-27 Joseph Myers <joseph@codesourcery.com>
13506
13507 * math/s_ldexp.c: Remove __STDC__ conditionals.
13508 * math/s_ldexpf.c: Likewise.
13509 * math/s_ldexpl.c: Likewise.
13510 * math/s_nextafter.c: Likewise.
13511 * math/s_nexttowardf.c: Likewise.
13512 * math/s_significand.c: Likewise.
13513 * math/s_significandf.c: Likewise.
13514 * math/s_significandl.c: Likewise.
13515 * math/w_jnl.c: Likewise.
13516 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13517 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13518 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13519 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13520 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13524 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13525 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13526 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13530 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13535 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13536 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13537 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13538 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13539 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13540 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13541 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13542 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13543 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13544 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13545 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13546 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13547 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13548 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13549 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13550 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13551 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13552 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13553 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13554 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13555 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13556 * sysdeps/ieee754/k_standard.c: Likewise.
13557 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13558 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13559 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13560 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13561 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13562 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13563 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13566 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13567 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13568 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13569 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13575 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13576 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13580 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13582 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13588 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13589 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13591 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13593 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13595 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13600 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13601 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13602 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13603 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13604 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13605 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13606 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13607 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13608 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13610 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13611 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13612 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13613 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13614 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13615 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13616 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13618 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13619 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13623 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13624 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13627 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13628 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13629 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13630 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13631 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13632 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13633 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13634 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13635 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13636 * sysdeps/ieee754/s_matherr.c: Likewise.
13637 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13638 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13639 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13640 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13641
13642 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13643
13644 * crypt/md5.h: Remove __STDC__ conditionals.
13645 * libio/libioP.h: Likewise.
13646 * locale/programs/config.h: Likewise.
13647 * sysdeps/generic/sysdep.h: Likewise.
13648 * sysdeps/i386/asm-syntax.h: Likewise.
13649 * sysdeps/s390/asm-syntax.h: Likewise.
13650 * sysdeps/unix/sysdep.h: Likewise.
13651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13653
13654 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13655
13656 * libio/libio.h: Remove __STDC__ conditionals.
13657 * malloc/obstack.h: Likewise.
13658 * math/complex.h: Likewise.
13659 * math/math.h: Likewise.
13660 * sysdeps/generic/_G_config.h: Likewise.
13661 * sysdeps/gnu/_G_config.h: Likewise.
13662 * sysdeps/mach/hurd/_G_config.h: Likewise.
13663 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13664 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13665 * sysdeps/sparc/bits/mathdef.h: Likewise.
13666
13667 2012-01-26 Ulrich Drepper <drepper@gmail.com>
13668
13669 [BZ #13583]
13670 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13671 Clean up HAS_* macros.
13672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13673 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13674 possible.
13675 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13676 HAS_AVX.
13677 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13678 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13679 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13680 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13681 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13682
13683 2012-01-25 Joseph Myers <joseph@codesourcery.com>
13684
13685 * elf/tst-unique3.cc (gets): Remove declaration.
13686 * elf/tst-unique3lib.cc (gets): Likewise.
13687 * elf/tst-unique3lib2.cc (gets): Likewise.
13688 * elf/tst-unique4.cc (gets): Likewise.
13689
13690 2012-01-24 Ulrich Drepper <drepper@gmail.com>
13691
13692 * include/stdio.h: Add C++ protection. Add gets declarations and
13693 definitions.
13694 * debug/tst-chk1.c: Don't declare gets here.
13695 * stdio-common/tst-gets.c: Likewise.
13696
13697 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13698
13699 * posix/glob: Remove directory.
13700
13701 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13702
13703 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13704
13705 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13706
13707 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13708 of the non-standard EPFNOSUPPORT.
13709
13710 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13711
13712 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13713 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13714 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13715
13716 2012-01-21 Ulrich Drepper <drepper@gmail.com>
13717
13718 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13719
13720 2012-01-20 Ulrich Drepper <drepper@gmail.com>
13721
13722 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13723 transient errors.
13724 * nscd/grpcache.c (cache_addgr): Likewise.
13725 * nscd/hstcache.c (cache_addhst): Likewise.
13726 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13727 * nscd/pwdcache.c (cache_addpw): Likewise.
13728 * nscd/servicescache.c (cache_addserv): Likewise.
13729
13730 2012-01-16 Ulrich Drepper <drepper@gmail.com>
13731
13732 * malloc/malloc.c: Various cleanups.
13733 * malloc/hooks.c: Likewise.
13734
13735 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13736 * stdlib/bug-fmtmsg1.c: New file.
13737
13738 * stdlib/fmtmsg.c (init): Add missing unlock.
13739 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13740
13741 2012-01-12 Marek Polacek <polacek@redhat.com>
13742
13743 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13744 and _GNU_SOURCE.
13745
13746 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13747
13748 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13749 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13750 macro to ensure uniqueness of label name.
13751 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13752 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13753
13754 2012-01-11 Ulrich Drepper <drepper@gmail.com>
13755
13756 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13757
13758 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13759 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13760 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13761 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13762
13763 2012-01-10 Ulrich Drepper <drepper@gmail.com>
13764
13765 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13766
13767 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13768 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13769 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13770
13771 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13772
13773 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13774 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13775 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13777
13778 * math/bits/math-finite.h: Add ldexp support.
13779
13780 2012-01-10 Marek Polacek <polacek@redhat.com>
13781
13782 * locale/programs/localedef.h (show_archive_content): Add noreturn
13783 attribute.
13784
13785 2012-01-09 Ulrich Drepper <drepper@gmail.com>
13786
13787 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13788
13789 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13790
13791 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13792
13793 * io/Makefile (headers): Add bits/poll2.h.
13794
13795 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13796
13797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13798 typo #include statement.
13799
13800 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13801
13802 * include/sys/cdefs.h: Define __attribute_alloc_size.
13803 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13804 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13805 * elf/pldd.c: Likewise.
13806 * iconv/iconv_charmap.c: Likewise.
13807 * iconv/iconvconfig.c: Likewise.
13808 * iconv/strtab.c: Likewise.
13809 * locale/programs/locale.c: Likewise.
13810 * locale/programs/localedef.h: Likewise.
13811 * locale/programs/simple-hash.c: Likewise.
13812 * nscd/nscd.h: Likewise.
13813 * nss/makedb.c: Likewise.
13814 * sysdeps/generic/ldconfig.h: Likewise.
13815 * locale/programs/localedef.c: Remove xmalloc prototype.
13816 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13817
13818 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13819
13820 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13821 appropriate.
13822
13823 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13824
13825 * math/Makefile (tests): Add tst-CMPLX.
13826 * math/tst-CMPLX.c: New file.
13827
13828 * math/complex.h (CMPLXL): Fix typo.
13829
13830 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13831 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13832 GLIBC_2.16.
13833 * debug/tst-chk1.c: Add poll and ppoll tests.
13834 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13835 * include/sys/poll.h: Add hidden proto for ppoll.
13836 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13837 * sysdeps/mach/hurd/ppoll.c: Likewise.
13838 * io/ppoll.c: Likewise.
13839 * debug/poll_chk.c: New file.
13840 * debug/ppoll_chk.c: New file.
13841 * include/bits/poll2.h: New file.
13842 * io/bits/poll2.h: New file.
13843
13844 [BZ #1350]
13845 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13846
13847 * configure.in: static is always set to yes. Remove.
13848 * config.make.in: Don't set build-static.
13849 * Makeconfig: Remove use of build-static.
13850 * dlfcn/Makefile: Likewise.
13851 * elf/Makefile: Likewise.
13852 * math/Makefile: Likewise.
13853 * misc/Makefile: Likewise.
13854 * nptl/Makefile: Likewise.
13855 * sysdeps/mach/hurd/Makefile: Likewise.
13856
13857 * configure.in: PWD_P is not used anymore.
13858 * config.make.in: Remove PWD_P entry.
13859
13860 * configure.in: Remove last remnants of RANLIB.
13861 No need to check for signed size_t anymore.
13862 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13863 and IA-64.
13864 Remove __builtin_expect test because we require at least gcc 3.4.
13865 * aclocal.m4: Likewise.
13866
13867 * wcsmbs/mbrtoc16.c: Implement using towc function.
13868 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13869 * wcsmbs/wcsmbsload.c: Likewise.
13870 * iconv/gconv_simple.c: Likewise.
13871 * iconv/gconv_int.h: Likewise.
13872 * iconv/gconv_builtin.h: Likewise.
13873 * iconv/iconv_prog.c: Remove CHAR16 handling.
13874
13875 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13876
13877 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13878
13879 * configure.in: Remove --with-elf and --enable-bounded options.
13880 Dont set base_machine for ia64. More non-ELF conditions removed.
13881 Remove testing and setting of leading underscore information.
13882 * config.make.in (build-bounded): Set to no.
13883 * config.h.in: Remove NO_UNDERSCORES entry.
13884 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13885 them.
13886 * csu/start.c: Remove !NO_UNDERSCORE code.
13887 * locale/localeinfo.h: Likewise.
13888 * sysdeps/generic/machine-gmon.h: Likewise.
13889 * sysdeps/generic/sysdep.h: Likewise.
13890 * sysdeps/i386/sysdep.h: Likewise.
13891 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13892 * sysdeps/mach/sysdep.h: Likewise.
13893 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13894 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13895 * sysdeps/sh/sysdep.h: Likewise.
13896 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13897 * sysdeps/unix/i386/sysdep.S: Likewise.
13898 * sysdeps/unix/sparc/start.c: Likewise.
13899 * sysdeps/unix/sparc/sysdep.S: Likewise.
13900 * sysdeps/unix/sparc/sysdep.h: Likewise.
13901 * sysdeps/unix/start.c: Likewise.
13902 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13903 * sysdeps/x86_64/sysdep.h: Likewise.
13904
13905 2012-01-07 Ulrich Drepper <drepper@gmail.com>
13906
13907 [BZ #13553]
13908 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13909 for non-gcc.
13910 * argp/argp-fmtstream.h: Use const instead __const.
13911 * argp/argp.h: Likewise.
13912 * assert/assert.h: Likewise.
13913 * bits/fenv.h: Likewise.
13914 * bits/sched.h: Likewise.
13915 * bits/sigset.h: Likewise.
13916 * bits/sigthread.h: Likewise.
13917 * catgets/nl_types.h: Likewise.
13918 * conform/data/pthread.h-data: Likewise.
13919 * crypt/crypt-private.h: Likewise.
13920 * crypt/crypt.h: Likewise.
13921 * crypt/crypt_util.c: Likewise.
13922 * ctype/ctype.h: Likewise.
13923 * debug/execinfo.h: Likewise.
13924 * debug/mbsnrtowcs_chk.c: Likewise.
13925 * debug/mbsrtowcs_chk.c: Likewise.
13926 * debug/wcsnrtombs_chk.c: Likewise.
13927 * debug/wcsrtombs_chk.c: Likewise.
13928 * debug/wcstombs_chk.c: Likewise.
13929 * dirent/dirent.h: Likewise.
13930 * dlfcn/dlfcn.h: Likewise.
13931 * elf/neededtest4.c: Likewise.
13932 * grp/grp.h: Likewise.
13933 * gshadow/gshadow.h: Likewise.
13934 * iconv/gconv.h: Likewise.
13935 * iconv/gconv_int.h: Likewise.
13936 * iconv/gconv_simple.c: Likewise.
13937 * iconv/iconv.h: Likewise.
13938 * iconv/loop.c: Likewise.
13939 * iconv/skeleton.c: Likewise.
13940 * include/aio.h: Likewise.
13941 * include/aliases.h: Likewise.
13942 * include/argz.h: Likewise.
13943 * include/arpa/inet.h: Likewise.
13944 * include/assert.h: Likewise.
13945 * include/dirent.h: Likewise.
13946 * include/dlfcn.h: Likewise.
13947 * include/execinfo.h: Likewise.
13948 * include/fcntl.h: Likewise.
13949 * include/fenv.h: Likewise.
13950 * include/glob.h: Likewise.
13951 * include/grp.h: Likewise.
13952 * include/libintl.h: Likewise.
13953 * include/mntent.h: Likewise.
13954 * include/netdb.h: Likewise.
13955 * include/pwd.h: Likewise.
13956 * include/rpc/netdb.h: Likewise.
13957 * include/sched.h: Likewise.
13958 * include/search.h: Likewise.
13959 * include/shadow.h: Likewise.
13960 * include/signal.h: Likewise.
13961 * include/stdio.h: Likewise.
13962 * include/stdlib.h: Likewise.
13963 * include/string.h: Likewise.
13964 * include/sys/socket.h: Likewise.
13965 * include/sys/stat.h: Likewise.
13966 * include/sys/statfs.h: Likewise.
13967 * include/sys/statvfs.h: Likewise.
13968 * include/sys/syslog.h: Likewise.
13969 * include/sys/time.h: Likewise.
13970 * include/sys/uio.h: Likewise.
13971 * include/time.h: Likewise.
13972 * include/unistd.h: Likewise.
13973 * include/utmp.h: Likewise.
13974 * include/wchar.h: Likewise.
13975 * include/wctype.h: Likewise.
13976 * inet/aliases.h: Likewise.
13977 * inet/arpa/inet.h: Likewise.
13978 * inet/netinet/ether.h: Likewise.
13979 * inet/netinet/in.h: Likewise.
13980 * intl/libintl.h: Likewise.
13981 * io/bits/fcntl2.h: Likewise.
13982 * io/fcntl.h: Likewise.
13983 * io/ftw.h: Likewise.
13984 * io/sys/poll.h: Likewise.
13985 * io/sys/stat.h: Likewise.
13986 * io/sys/statfs.h: Likewise.
13987 * io/sys/statvfs.h: Likewise.
13988 * io/utime.h: Likewise.
13989 * libio/bits/stdio.h: Likewise.
13990 * libio/bits/stdio2.h: Likewise.
13991 * libio/libio.h: Likewise.
13992 * libio/libioP.h: Likewise.
13993 * libio/stdio.h: Likewise.
13994 * locale/lc-ctype.c: Likewise.
13995 * locale/locale.h: Likewise.
13996 * login/utmp.h: Likewise.
13997 * malloc/arena.c: Likewise.
13998 * malloc/malloc.c: Likewise.
13999 * malloc/malloc.h: Likewise.
14000 * malloc/mcheck.c: Likewise.
14001 * malloc/mtrace.c: Likewise.
14002 * math/bits/mathcalls.h: Likewise.
14003 * math/fenv.h: Likewise.
14004 * math/math_private.h: Likewise.
14005 * misc/bits/error.h: Likewise.
14006 * misc/bits/syslog.h: Likewise.
14007 * misc/err.h: Likewise.
14008 * misc/error.h: Likewise.
14009 * misc/fstab.h: Likewise.
14010 * misc/mntent.h: Likewise.
14011 * misc/regexp.h: Likewise.
14012 * misc/search.h: Likewise.
14013 * misc/sgtty.h: Likewise.
14014 * misc/sys/mman.h: Likewise.
14015 * misc/sys/syslog.h: Likewise.
14016 * misc/sys/uio.h: Likewise.
14017 * misc/sys/xattr.h: Likewise.
14018 * misc/ttyent.h: Likewise.
14019 * nis/rpcsvc/ypclnt.h: Likewise.
14020 * nss/nss.h: Likewise.
14021 * posix/bits/unistd.h: Likewise.
14022 * posix/fnmatch.h: Likewise.
14023 * posix/glob.h: Likewise.
14024 * posix/sched.h: Likewise.
14025 * posix/spawn.h: Likewise.
14026 * posix/sys/wait.h: Likewise.
14027 * posix/unistd.h: Likewise.
14028 * posix/wordexp.h: Likewise.
14029 * pwd/pwd.h: Likewise.
14030 * resolv/netdb.h: Likewise.
14031 * resource/sys/resource.h: Likewise.
14032 * rt/aio.h: Likewise.
14033 * rt/bits/mqueue2.h: Likewise.
14034 * rt/mqueue.h: Likewise.
14035 * shadow/shadow.h: Likewise.
14036 * signal/signal.h: Likewise.
14037 * socket/send.c: Likewise.
14038 * socket/sendto.c: Likewise.
14039 * socket/sys/socket.h: Likewise.
14040 * stdio-common/printf.h: Likewise.
14041 * stdlib/bits/stdlib.h: Likewise.
14042 * stdlib/fmtmsg.h: Likewise.
14043 * stdlib/monetary.h: Likewise.
14044 * stdlib/stdlib.h: Likewise.
14045 * stdlib/ucontext.h: Likewise.
14046 * streams/stropts.h: Likewise.
14047 * string/argz.h: Likewise.
14048 * string/bits/string2.h: Likewise.
14049 * string/string.h: Likewise.
14050 * string/strings.h: Likewise.
14051 * sunrpc/rpc/auth.h: Likewise.
14052 * sunrpc/rpc/auth_des.h: Likewise.
14053 * sunrpc/rpc/clnt.h: Likewise.
14054 * sunrpc/rpc/netdb.h: Likewise.
14055 * sunrpc/rpc/pmap_clnt.h: Likewise.
14056 * sunrpc/rpc/xdr.h: Likewise.
14057 * sysdeps/generic/inttypes.h: Likewise.
14058 * sysdeps/generic/net/if.h: Likewise.
14059 * sysdeps/generic/sys/swap.h: Likewise.
14060 * sysdeps/gnu/net/if.h: Likewise.
14061 * sysdeps/gnu/utmpx.h: Likewise.
14062 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14063 * sysdeps/i386/i486/bits/string.h: Likewise.
14064 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14065 * sysdeps/s390/bits/string.h: Likewise.
14066 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14067 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14068 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14069 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14070 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14071 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14072 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14073 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14074 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14075 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14076 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14077 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14078 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14079 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14080 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14081 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14082 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14083 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14084 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14085 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14086 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14087 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14088 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14089 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14090 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14091 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14092 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14093 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14094 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14095 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14096 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14097 * sysvipc/sys/ipc.h: Likewise.
14098 * sysvipc/sys/msg.h: Likewise.
14099 * sysvipc/sys/sem.h: Likewise.
14100 * sysvipc/sys/shm.h: Likewise.
14101 * termios/termios.h: Likewise.
14102 * time/sys/time.h: Likewise.
14103 * time/time.h: Likewise.
14104 * wcsmbs/bits/wchar2.h: Likewise.
14105 * wcsmbs/uchar.h: Likewise.
14106 * wcsmbs/wchar.h: Likewise.
14107 * wctype/wctype.h: Likewise.
14108
14109 [BZ #13551]
14110 * Makeconfig: Remove all but ELF support including AIX support.
14111 * Makerules: Likewise.
14112 * config.h.in: Likewise.
14113 * config.make.in: Likewise.
14114 * configure: Likewise.
14115 * configure.in: Likewise.
14116 * csu/Makefile: Likewise.
14117 * csu/version.c: Likewise.
14118 * debug/Makefile: Likewise.
14119 * dlfcn/Makefile: Likewise.
14120 * elf/Makefile: Likewise.
14121 * extra-lib.mk: Likewise.
14122 * iconv/Makefile: Likewise.
14123 * include/libc-symbols.h: Likewise.
14124 * include/shlib-compat.h: Likewise.
14125 * resolv/Makefile: Likewise.
14126 * resolv/res_libc.c: Likewise.
14127 * rt/Makefile: Likewise.
14128 * sysdeps/i386/asm-syntax.h: Likewise.
14129 * sysdeps/i386/sysdep.h: Likewise.
14130 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14131 * sysdeps/mach/sysdep.h: Likewise.
14132 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14133 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14134 * sysdeps/s390/asm-syntax.h: Likewise.
14135 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14136 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14137 * sysdeps/sh/sysdep.h: Likewise.
14138 * sysdeps/unix/sparc/sysdep.h: Likewise.
14139 * sysdeps/wordsize-32/divdi3.c: Likewise.
14140 * sysdeps/x86_64/sysdep.h: Likewise.
14141
14142 * argp/Versions: Remove _argp_unlock_xxx.
14143
14144 [BZ #13559]
14145 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14146 * abilist/libBrokenLocale.abilist: Likewise.
14147 * abilist/libanl.abilist: Likewise.
14148 * abilist/libc.abilist: Likewise.
14149 * abilist/libcrypt.abilist: Likewise.
14150 * abilist/libdl.abilist: Likewise.
14151 * abilist/libm.abilist: Likewise.
14152 * abilist/libnsl.abilist: Likewise.
14153 * abilist/libpthread.abilist: Likewise.
14154 * abilist/libresolv.abilist: Likewise.
14155 * abilist/librt.abilist: Likewise.
14156 * abilist/libthread_db.abilist: Likewise.
14157 * abilist/libutil.abilist: Likewise.
14158 * abilist/libnss_db.abilist: New file.
14159
14160 * scripts/abilist.awk: Add support for indirect functions.
14161
14162 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14163
14164 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14165
14166 * shlib-versions: Remove entries for ports architectures.
14167
14168 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14169 files in ports.
14170 * elf/stackguard-macros.h: Remove support for IA-64.
14171 * elf/tst-auditmod1.c: Likewise.
14172 * sysdeps/generic/ldsodefs.h: Likewise.
14173
14174 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14175 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14176 configure files.
14177
14178 [BZ #13552]
14179 * configure.in: Remove --enable-omitfp support.
14180 * FAQ.in: Adjust.
14181 * config.make.in: Likewise.
14182 * Makeconfig: Likewise.
14183 * manual/install.texi: Likewise.
14184
14185 In case anyone cares, the IA-64 architecture could move to ports.
14186 * sysdeps/ia64/*: Removed.
14187 * sysdeps/unix/sysv/linux/ia64/*: Removed.
14188 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
14189
14190 [BZ #13555]
14191 * configure.in: Remove entries for unsupported architectures.
14192
14193 [BZ #13533]
14194 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14195 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14196 routines.
14197 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14198 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14199 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14200 fall back to using wcrtomb.
14201 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14202 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14203 renaming.
14204 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14205 * wcsmbs/tst-c16c32-1.c: New file.
14206
14207 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14208 local variable.
14209
14210 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14211
14212 * elf/tst-unique3.cc: Add explicit declaration of gets.
14213 * elf/tst-unique3lib.cc: Likewise.
14214 * elf/tst-unique3lib2.cc: Likewise.
14215 * elf/tst-unique4.cc: Likewise.
14216
14217 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14218
14219 2012-01-06 Joseph Myers <joseph@codesourcery.com>
14220
14221 [BZ #13566]
14222 * assert/assert.h (static_assert): Don't define for C++.
14223 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14224 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14225
14226 2012-01-03 Ulrich Drepper <drepper@gmail.com>
14227
14228 * iconv/loop.c (single loop): Fix assertion in storing of
14229 remaining bytes.
14230
14231 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14232
14233 2012-01-01 Ulrich Drepper <drepper@gmail.com>
14234
14235 * posix/getconf.c: Update copyright year.
14236 * nss/getent.c: Likewise.
14237 * nss/makedb.c: Likewise.
14238 * iconv/iconvconfig.c: Likewise.
14239 * iconv/iconv_prog.c: Likewise.
14240 * elf/ldconfig.c: Likewise.
14241 * elf/pldd.c: Likewise.
14242 * elf/sotruss.ksh: Likewise.
14243 * catgets/gencat.c: Likewise.
14244 * csu/version.c: Likewise.
14245 * elf/ldd.bash.in: Likewise.
14246 * elf/sprof.c (print_version): Likewise.
14247 * locale/programs/locale.c: Likewise.
14248 * locale/programs/localedef.c: Likewise.
14249 * login/programs/pt_chown.c: Likewise.
14250 * nscd/nscd.c (print_version): Likewise.
14251 * debug/xtrace.sh: Likewise.
14252 * malloc/memusage.sh: Likewise.
14253 * malloc/mtrace.pl: Likewise.
14254 * debug/catchsegv.sh: Likewise.
14255
14256 2011-12-30 Jakub Jelinek <jakub@redhat.com>
14257
14258 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14259 pure attribute.
14260
14261 2011-12-24 Ulrich Drepper <drepper@gmail.com>
14262
14263 [BZ #13533]
14264 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14265 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14266 transformations.
14267 * iconv/gconv_int.h: Likewise.
14268 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14269 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14270 from libc for GLIBC_2.16.
14271 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14272 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14273 * wcsmbs/uchar.h: Really define mbstate_t.
14274 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14275 * wcsmbs/c16rtomb.c: New file.
14276 * wcsmbs/mbrtoc16.c: New file.
14277 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14278 for C/POSIX locale.
14279 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14280 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14281
14282 * wcsmbs/wchar.h: Add missing __restrict.
14283
14284 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14285
14286 [BZ #13532]
14287 * time/Makefile (routines): Add timespec_get.
14288 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14289 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14290 timespec for ISO C11.
14291 * time/timespec_get.c: New file.
14292 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14293 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14294
14295 [BZ #13531]
14296 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14297 * stdlib/stdlib.h: Declare aligned_alloc.
14298 * Versions.def: Add GLIBC_2.16 for libc.
14299 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14300
14301 [BZ 13527]
14302 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14303 ISO C11.
14304
14305 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14306 code.
14307
14308 [BZ #13528]
14309 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14310
14311 [BZ #13529]
14312 * assert/assert.h (static_assert): Define.
14313
14314 * version.h: Update for 2.16 development version.
14315
14316 [BZ #13526]
14317 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14318 _ISOC11_SOURCE.
14319
14320 * version.h (RELEASE): Bump for 2.15 release.
14321 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14322
14323 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14324 Patch by Marek Polacek <mpolacek@redhat.com>.
14325
14326 * bits/byteswap.h: Protect long long constants with __extension__.
14327 * sysdeps/i386/bits/byteswap.h: Likewise.
14328 * sysdeps/ia64/bits/byteswap.h: Likewise.
14329 * sysdeps/s390/bits/byteswap.h: Likewise.
14330 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14331
14332 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14333
14334 [BZ #13540]
14335 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14336 destination buffer.
14337 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14338
14339 2011-12-23 Marek Polacek <polacek@redhat.com>
14340
14341 * elf/dl-addr.c (determine_info): Add inline keyword.
14342 * elf/tst-auditmod4b.c (check_avx): Likewise.
14343 * elf/tst-auditmod6b.c (check_avx): Likewise.
14344 * elf/tst-auditmod6c.c (check_avx): Likewise.
14345 * elf/tst-auditmod7b.c (check_avx): Likewise.
14346
14347 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14348
14349 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14350 !__SSE_MATH__.
14351
14352 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14353
14354 [BZ #13540]
14355 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14356 processing for last bytes.
14357
14358 2011-08-06 Bruno Haible <bruno@clisp.org>
14359
14360 [BZ #13061]
14361 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14362 U+0385, not to U+1FEE.
14363
14364 [BZ #13062]
14365 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14366 entry for U+00A5 U+0301.
14367
14368 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14369
14370 [BZ #13166]
14371 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14372 buffer for the output is too small.
14373
14374 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14375 optimization.
14376
14377 [BZ #13185]
14378 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14379 SSE flags if possible.
14380
14381 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14382
14383 [BZ #13540]
14384 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14385 processing for last bytes.
14386
14387 2011-12-22 Joseph Myers <joseph@codesourcery.com>
14388
14389 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14390 (syscall-list-default-options, syscall-list-default-condition)
14391 (syscall-list-includes): Define.
14392 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14393 list of ABIs and options and #if conditions for each ABI. Do not
14394 handle common syscalls between ABIs specially.
14395 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14396 Remove.
14397 (syscall-list-variants, syscall-list-32bit-options)
14398 (syscall-list-32bit-condition, syscall-list-64bit-options)
14399 (syscall-list-64bit-condition): Define.
14400 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14401 (syscall-list-variants, syscall-list-32bit-options)
14402 (syscall-list-32bit-condition, syscall-list-64bit-options)
14403 (syscall-list-64bit-condition): Define.
14404 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14405 Remove.
14406 (syscall-list-variants, syscall-list-32bit-options)
14407 (syscall-list-32bit-condition, syscall-list-64bit-options)
14408 (syscall-list-64bit-condition): Define.
14409 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14410 Remove.
14411 (syscall-list-variants, syscall-list-32bit-options)
14412 (syscall-list-32bit-condition, syscall-list-64bit-options)
14413 (syscall-list-64bit-condition): Define.
14414
14415 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14416
14417 * locale/iso-639.def: Add brx entry.
14418
14419 [BZ #13328]
14420 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14421 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14422
14423 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14424 __feraiseexcept_renamed.
14425
14426 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14427
14428 [BZ #13538]
14429 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14430 EPOLLET with unsigned values.
14431 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14432 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14433
14434 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14435 to large cancellation.
14436 * math/s_cacoshf.c: Likewise.
14437 * math/s_cacoshl.c: Likewise.
14438
14439 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14440
14441 [BZ #13305]
14442 [BZ #12786]
14443 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14444 * math/s_cacoshf.c: Likewise.
14445 * math/s_cacoshl.c: Likewise.
14446
14447 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14448
14449 [BZ #13439]
14450 * iconv/gconv.h: Define __GCONV_SWAP.
14451 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14452 * iconvdata/utf-16.c: Likewise.
14453 * iconvdata/utf-32.c: Likewise.
14454
14455 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14456
14457 [BZ #13524]
14458 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14459 numerator after shifting it by one limb.
14460
14461 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14462
14463 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14464 under [__USE_EXTERN_INLINES].
14465
14466 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14467
14468 [BZ #13446]
14469 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14470
14471 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14472
14473 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14474 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14475 optimized code.
14476 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14477 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14478 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14479 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14480 for strncasecmp/strncasecmp_l compilation.
14481 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14482 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14483
14484 2011-12-08 Marek Polacek <mpolacek@redhat.com>
14485
14486 [BZ #13484]
14487 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14488 of __asm__.
14489
14490 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14491
14492 [BZ #13506]
14493 * time/tzfile.c (__tzfile_read): Check values from file header.
14494
14495 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14496
14497 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14498 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14499 * powerpc/powerpc32/dl-start.S: Likewise.
14500 * powerpc/powerpc32/elf/start.S: Likewise.
14501 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14502 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14503 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14504 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14505 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14506 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14507 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14508 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14509 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14510 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14511 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14512 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14513 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14514 * powerpc/powerpc32/memset.S: Likewise.
14515 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14516 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14517 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14518 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14519 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14520 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14521 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14522 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14523 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14524 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14525 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14526 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14527 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14528
14529 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14530
14531 * math/libm-test.inc: Added more nearbyint tests.
14532 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14533 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14534 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14535 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14536
14537 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14538
14539 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14540 FD_CLOEXEC.
14541
14542 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14543
14544 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14545 Add wcscpy-ssse3 wcscpy-c.
14546 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14547 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14548 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14549 * sysdeps/x86_64/wcschr.S: New file.
14550 * sysdeps/x86_64/wcsrchr.S: New file.
14551 * string/test-strcmp.c: Remove checking of wcscmp function for
14552 wrong alignments.
14553 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14554 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14555 wcsrchr-sse2 wcsrchr-c.
14556 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14557 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14558 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14559 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14560 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14561 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14562 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14563 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14564 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14565 * wcsmbc/wcschr.c (WCSCHR): New macro.
14566
14567 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14568
14569 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14570 * wcsmbs/test-wcsrchr.c: New file.
14571 * string/test-strrchr.c: Add wcsrchr support.
14572 (WIDE): New macro.
14573 * wcsmbs/test-wcscpy.c: New file.
14574 * string/test-strcpy.c: Add wcscpy support.
14575 (WIDE): New macro.
14576
14577 2011-12-10 Ulrich Drepper <drepper@gmail.com>
14578
14579 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14580 the inner loop.
14581
14582 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14583
14584 [BZ #13472]
14585 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14586
14587 2011-12-04 Ulrich Drepper <drepper@gmail.com>
14588
14589 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14590 Minor optimizations.
14591
14592 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14593 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14594 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14595
14596 2011-12-03 Ulrich Drepper <drepper@gmail.com>
14597
14598 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14599 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14600 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14601 for gcc to avoid warnings.
14602 * inet/Makefile (tests): Add tst-checks.
14603 * inet/tst-checks.c: New file.
14604
14605 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14606 warning.
14607
14608 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14609 __wmemcmp_sse2.
14610
14611 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14612 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14613
14614 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14615
14616 2011-12-02 Ulrich Drepper <drepper@gmail.com>
14617
14618 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14619 problem.
14620
14621 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14622
14623 2011-11-29 Joseph Myers <joseph@codesourcery.com>
14624
14625 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14626 conditional on GCC version.
14627 (__arch_compare_and_exchange_val_8_acq)
14628 (__arch_compare_and_exchange_val_16_acq)
14629 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14630 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14631 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14632
14633 2011-12-02 Joseph Myers <joseph@codesourcery.com>
14634
14635 * sysdeps/sh/backtrace.c: New file.
14636
14637 2011-12-02 Andreas Schwab <schwab@redhat.com>
14638
14639 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14640 parenthesis.
14641
14642 2011-12-01 Andreas Schwab <schwab@redhat.com>
14643
14644 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14645 falling back to utime.
14646
14647 2011-11-30 Andreas Schwab <schwab@redhat.com>
14648
14649 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14650 expectations for float.
14651
14652 2011-11-29 Andreas Schwab <schwab@redhat.com>
14653
14654 * locale/weight.h (findidx): Add parameter len.
14655 * locale/weightwc.h (findidx): Likewise.
14656 * posix/fnmatch_loop.c (FCT): Adjust caller.
14657 * posix/regcomp.c (build_equiv_class): Likewise.
14658 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14659 * posix/regexec.c (check_node_accept_bytes): Likewise.
14660 * string/strcoll_l.c (STRCOLL): Likewise.
14661 * string/strxfrm_l.c (STRXFRM): Likewise.
14662
14663 2011-11-17 Ulrich Drepper <drepper@gmail.com>
14664
14665 * Makefile.in: Remove CVSOPT handling.
14666 * configure.in: Remove use of AC_REVISION.
14667 * iconvdata/Makefile (distribute): No need to filter out CVS.
14668 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14669 handling.
14670
14671 2011-11-16 Andreas Schwab <schwab@redhat.com>
14672
14673 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14674 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14675 [USE_AS_STRNCASECMP_L]: Likewise.
14676 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14677 NO_TLS_DIRECT_SEG_REFS.
14678 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14679 Fix argument offsets for non-PIC.
14680 [USE_AS_STRNCASECMP_L]: Likewise.
14681 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14682 NO_TLS_DIRECT_SEG_REFS.
14683
14684 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14685
14686 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14687 O_CLOEXEC.
14688 * locale/loadlocale.c (_nl_load_locale): Likewise.
14689
14690 2011-11-15 Andreas Schwab <schwab@redhat.com>
14691
14692 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14693 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14694 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14695 (SYSCALL_GETTIME): Set errno on error.
14696
14697 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14698 count references to noai6ai_cached.
14699
14700 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14701
14702 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14703
14704 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14705 FD_CLOEXEC for /proc/self/maps.
14706
14707 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14708 FD_CLOEXEC for /proc/meminfo.
14709
14710 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14711 gai.conf.
14712
14713 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14714 FD_CLOEXEC for given file.
14715
14716 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14717
14718 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14719 FD_CLOEXEC for /etc/hosts.
14720 (_gethtent): Likewise.
14721
14722 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14723
14724 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14725 cancellation and set FD_CLOEXEC for /etc/netgroup.
14726
14727 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14728 reading /etc/publickey.
14729
14730 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14731 allow cancellation when reading /etc/group.
14732
14733 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14734 cancellation.
14735 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14736
14737 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14738 when using data file.
14739
14740 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14741
14742 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14743 (write_nis_obj): Use "c" and "e" in fopen.
14744
14745 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14746
14747 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14748
14749 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14750
14751 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14752
14753 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14754 locale.alias.
14755
14756 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14757
14758 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14759
14760 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14761
14762 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14763 file parsing and set FD_CLOEXEC.
14764
14765 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14766
14767 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14768
14769 2011-11-14 Andreas Schwab <schwab@redhat.com>
14770
14771 * malloc/arena.c (arena_get2): Don't call reused_arena when
14772 _int_new_arena failed.
14773
14774 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14775
14776 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14777 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14778 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14779 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14780 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14781 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14782 to compile strcasecmp and strncasecmp.
14783 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14784 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14785
14786 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14787
14788 2011-11-13 Ulrich Drepper <drepper@gmail.com>
14789
14790 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14791 locale-defines.sym to gen-as-const-headers.
14792 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14793 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14794 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14795 to compile strcasecmp and strncasecmp.
14796 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14797 strcasecmp_l and strncasecmp_l.
14798 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14799 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14800 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14801 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14802 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14803 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14804 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14805 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14806 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14807 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14808 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14809
14810 2011-11-12 Ulrich Drepper <drepper@gmail.com>
14811
14812 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14813 result of SYSDEP_GETTIME_CPU to retval.
14814 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14815 parameter list to macro. Remove trailing semicolon. Adjust users.
14816
14817 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14818 variable.
14819
14820 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14821 mantissa words.
14822 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14823
14824 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14825 from unused variable.
14826
14827 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14828 DWARF definitions.
14829 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14830 for assembling.
14831
14832 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14833 over namespaces.
14834
14835 * sunrpc/rpc_prot.c (rejected): Fix case value.
14836
14837 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14838 unsigned long long int to avoid warnings in shift.
14839
14840 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14841 of use of trans.
14842 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14843 variable tmp.
14844
14845 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14846 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14847 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14848
14849 * nis/nis_table.c (nis_list): Use variable of correct type for
14850 result of __follow_path call.
14851
14852 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14853
14854 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14855 of math functions ceil, trunc, floor, round, and sqrt, when
14856 avaliable on the platform.
14857 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14858 name clash.
14859 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14860 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14861 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14862
14863 2011-10-30 Marek Polacek <mpolacek@redhat.com>
14864
14865 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14866 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14867
14868 2011-11-11 Roland McGrath <roland@hack.frob.com>
14869
14870 * include/unistd.h: Fix __readlink return type.
14871 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14872
14873 2011-11-11 Ulrich Drepper <drepper@gmail.com>
14874
14875 * stdlib/ucontext.h: Undo last change for makecontext.
14876
14877 2011-11-11 Andreas Schwab <schwab@redhat.com>
14878
14879 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14880
14881 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14882 * setjmp/setjmp.h: Mark functions as non-leaf.
14883 * setjmp/bits/setjmp2.h: Likewise.
14884 * stdlib/ucontext.h: Likewise.
14885
14886 2011-11-10 Andreas Schwab <schwab@redhat.com>
14887
14888 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14889 (reused_arena): Don't check arena limit.
14890 (arena_get2): Atomically check arena limit.
14891
14892 2011-11-08 Ulrich Drepper <drepper@gmail.com>
14893
14894 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14895 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14896
14897 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14898 instructions.
14899
14900 2011-11-07 Andreas Schwab <schwab@redhat.com>
14901
14902 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14903 handler when locking.
14904
14905 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14906 Fix size of allocated buffer.
14907
14908 2011-11-04 Andreas Schwab <schwab@redhat.com>
14909
14910 [BZ #10103]
14911 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14912 declarations for long double functions.
14913 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14914
14915 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14916
14917 2011-11-03 Andreas Schwab <schwab@redhat.com>
14918
14919 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14920 installed.
14921
14922 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14923 is disabled.
14924
14925 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14926
14927 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14928
14929 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14930
14931 * include/alloca.h (stackinfo_alloca_round): Define.
14932 (extend_alloca): Use it.
14933 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14934 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14935 here.
14936
14937 * scripts/check-local-headers.sh: Ignore libaudit.h.
14938
14939 * nscd/Makefile (extra-objs): Make recursively expanded.
14940
14941 2011-11-01 Ulrich Drepper <drepper@gmail.com>
14942
14943 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14944 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14945
14946 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14947 * posix/tst-rfc3484-2.c: Likewise.
14948 * posix/tst-rfc3484-3.c: Likewise.
14949
14950 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14951 process_vm_writev.
14952 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14953 process_vm_writev.
14954 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14955 process_vm_writev from libc using GLIBC_2.15 version.
14956
14957 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14958
14959 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14960
14961 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14962 stack usage.
14963
14964 2011-10-31 Ulrich Drepper <drepper@gmail.com>
14965
14966 [BZ #13367]
14967 * nss/getent.c (initgroups_keys): Show error message in case no group
14968 names are given.
14969
14970 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14971 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14972 __bump_nl_timestamp.
14973 * nscd/connections (nscd_init): When host database is served open
14974 netlink socket and request notification about configuration changes.
14975 (main_loop_poll): Track netlink file descriptor and bump timestamp
14976 in case data becomes available.
14977 (main_loop_epoll): Likewise.
14978 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14979 (database_pers_head): Add extra_data fileds.
14980 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14981 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14982 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14983 Adjust caller.
14984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14985 in6ai data, call __free_in6ai.
14986 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14987 Add -DHAVE_NETLINK.
14988 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14989 interface information. Reuse previous data if netlink timestamp
14990 is not changed.
14991 (__bump_nl_timestamp): New function.
14992 (__free_in6ai): New function.
14993
14994 2011-10-30 Ulrich Drepper <drepper@gmail.com>
14995
14996 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14997 close_not_cancel_no_status here.
14998 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14999
15000 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15001
15002 [BZ #13276]
15003 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
15004 return value.
15005
15006 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
15007 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15008 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15009
15010 2011-07-03 Andreas Jaeger <aj@suse.de>
15011
15012 [BZ #10709]
15013 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15014 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15015 * math/libm-test.inc (sin_test): Add test case.
15016
15017 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15018
15019 [BZ #13337]
15020 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15021 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15022
15023 * elf/chroot_canon.c (chroot_canon): Cleanups.
15024
15025 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15026
15027 [BZ #13335]
15028 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15029 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15030
15031 * string/test-strchr.c: Make usable for strchrnul testing.
15032 * string/test-strchrnul.c: New file.
15033 * string/Makefile (strop-tests): Add strchrnul.
15034
15035 * po/it.po: Update from translation team.
15036 * po/es.po: Likewise.
15037
15038 2011-10-28 Ulrich Drepper <drepper@gmail.com>
15039
15040 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15041 the three constants needed as parameters. Drop the others.
15042 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15043 __m128i_strloadu_tolower.
15044 Create and initialize variable zero and use it in all the places
15045 where _mm_setzero_si128 was used.
15046
15047 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15048 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15049 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15050 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15051 anymore.
15052 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15053 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15054 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15055 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15056 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15057 __mpranred, __mptan.
15058 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15059 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15060 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15061 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15062 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15063 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15064 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15065 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15066 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15067
15068 2011-10-28 Andreas Schwab <schwab@redhat.com>
15069
15070 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15071 redefine if SHARED.
15072 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15073
15074 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15075 wide char related routines to wcsmbs subdir.
15076
15077 2011-10-27 Andreas Schwab <schwab@redhat.com>
15078
15079 [BZ #13344]
15080 * misc/sys/cdefs.h (__THROWNL): Define.
15081 * posix/unistd.h: Use __THREADNL instead of __THREAD
15082 for memory synchronization functions.
15083
15084 2011-10-26 Roland McGrath <roland@hack.frob.com>
15085
15086 [BZ #13349]
15087 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15088 doesn't exist.
15089 * manual/stdio.texi (Obstack Streams): Node removed.
15090
15091 2011-10-26 Andreas Schwab <schwab@redhat.com>
15092
15093 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15094 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15095 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15096
15097 * math/math_private.h (math_force_eval): Allow non-addressable
15098 arguments.
15099 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15100
15101 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15102
15103 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15104 file is not needed.
15105
15106 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15107 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15108 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15109 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15110 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15111 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15112 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15113 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15114 Add AVX variants.
15115 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15116 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15117 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15118 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15119 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15120 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15121 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15122 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15123 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15124 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15125 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15126 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15127 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15128 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15129 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15130 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15131 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15132 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15133 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15134
15135 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15136 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15137
15138 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15139 place. Use VEX encoding when compiling for AVX.
15140
15141 2011-10-25 Andreas Schwab <schwab@redhat.com>
15142
15143 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15144 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15145
15146 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15147
15148 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15149
15150 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
15151 useless if() expression.
15152 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15153 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15154 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15155 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15156 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15157 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15158 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15159 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15160 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15161 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15162 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15163 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15164 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15165 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15166 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15167 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15168 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15169 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15170 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15171
15172 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15173
15174 2011-10-25 Andreas Schwab <schwab@redhat.com>
15175
15176 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15177 condition.
15178 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15179
15180 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15181
15182 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15183 .text section. Avoid duplicate constants.
15184 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15185 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15186 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15187 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15188 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15189 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15190 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15191 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15192 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15193 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15194 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15195 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15196 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15197 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15198 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15199 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15200 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15201 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15202 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15203 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15204 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15205 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15206 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15207 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15208 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15209 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15210 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15211 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15212 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15213 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15214 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15215 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15216 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15217 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15218 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15219 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15220 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15221 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15222 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15223 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15224 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15225 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15226 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15227 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15228 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15229
15230 2011-10-24 Ulrich Drepper <drepper@gmail.com>
15231
15232 * sysdeps/x86_64/dla.h: Move to ...
15233 * sysdeps/x86_64/fpu/dla.h: ...here.
15234 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15235 situations. Use __builtin_fma only for gcc 4.6 and up.
15236
15237 * config.make.in: Add have-mfma4 entry.
15238 * configure.in: Substitute libc_cv_cc_fma4.
15239 * math/Makefile (dbl-only-routines): Add sincostab.
15240 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15241 Use __sincostab not sincos.
15242 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15243 name is a macro.
15244 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15245 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15246 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15247 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15248 using __copysign.
15249 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15250 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15251 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15252 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15253 and __inv.
15254 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15255 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15256 __copysign.
15257 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15258 define aliases when function name is a macro.
15259 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15260 sysdeps/ieee754/dbl-64/sincos.tbl.
15261 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15262 fma4-enabled routines.
15263 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15264 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15265 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15266 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15267 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15268 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15270 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15271 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15272 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15273 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15274 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15275 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15276 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15277 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15278 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15279 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15280 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15281 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15282 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15283 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15284 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15285 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15286 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15287 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15288 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15289 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15290 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15291 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15292 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15293
15294 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15295 rename.
15296 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15297 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15298 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15299 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15300 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15301 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15302 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15303 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15304
15305 2011-10-24 Andreas Schwab <schwab@redhat.com>
15306
15307 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15308
15309 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15310
15311 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15312
15313 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15314 prediction.
15315 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15316
15317 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15318 Remove unused variable magic_bits.
15319 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15320
15321 * string/strnlen.c: Define and use STRNLEN macro.
15322 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15323 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15324 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15325 * wcsmbs/wcslen.c: Define and use WCSLEN.
15326 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15327 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15328 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15329 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15330 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15331 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15332 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15333
15334 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15335
15336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15337 strnlen-sse2-no-bsf.
15338 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15339 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15340 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15341 Add strnlen support.
15342 (USE_AS_STRNLEN): New macro.
15343 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15344 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15345 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15346 * sysdeps/x86_64/wcslen.S: New file.
15347
15348 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15349
15350 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15351 XMM-moves are used for copying on small sizes.
15352
15353 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15354
15355 * wcsmbs/Makefile (strop-tests): Add wcschr.
15356 * wcsmbs/test-wcschr.c: New file.
15357 * string/test-strchr.c: Update.
15358 Add wcschr support.
15359 (WIDE): New macro.
15360
15361 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15362
15363 * wcsmbs/Makefile (strop-tests): Add wcslen.
15364 * wcsmbs/test-wcslen.c: New file.
15365 * string/test-strlen.c: Update.
15366 Add wcslen support.
15367 (WIDE): New macro.
15368
15369 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15370
15371 * po/it.po: Update from translation team.
15372
15373 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15374
15375 * sysdeps/x86_64/wcscmp.S: Update.
15376 Fix wrong comparison semantics.
15377 wcscmp shall use signed comparison not unsigned.
15378 Don't use substraction to avoid overflow bug.
15379 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15380 * wcsmbc/wcscmp.c: Likewise.
15381 * string/test-strcmp.c: Likewise.
15382 Add new tests to check cases with negative values.
15383
15384 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15385
15386 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15387 * sysdeps/x86_64/dla.h: ...here. New file.
15388 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15389 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15390 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15391 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15392 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15393 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15394 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15395 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15396 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15397
15398 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15399
15400 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15401 __ynl_finite aliases.
15402
15403 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15404
15405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15406
15407 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15408 define DLA_FMA.
15409 [DLA_FMA] (EMULV): Use DLA_FMA.
15410 [DLA_FMA] (MUL12): Use EMULV.
15411 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15412 that are not needed.
15413 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15414 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15416 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15417 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15418 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15419 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15420
15421 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15422
15423 * math/s_nan.c: Undef __nan.
15424 * math/s_nanf.c: Undef __nanf.
15425 * math/s_nanl.c: Undef __nanl.
15426 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15427 "math_private.h".
15428
15429 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15430
15431 * math/s_catan.c: Add branch predictions.
15432 * math/s_catanf.c: Likewise.
15433 * math/s_catanh.c: Likewise.
15434 * math/s_catanhf.c: Likewise.
15435 * math/s_catanhl.c: Likewise.
15436 * math/s_catanl.c: Likewise.
15437 * math/s_cexp.c: Likewise.
15438 * math/s_cexpf.c: Likewise.
15439 * math/s_cexpl.c: Likewise.
15440 * math/s_clog.c: Likewise.
15441 * math/s_clog10.c: Likewise.
15442 * math/s_clog10f.c: Likewise.
15443 * math/s_clog10l.c: Likewise.
15444 * math/s_clogf.c: Likewise.
15445 * math/s_clogl.c: Likewise.
15446 * math/s_csqrt.c: Likewise.
15447 * math/s_csqrtf.c: Likewise.
15448 * math/s_csqrtl.c: Likewise.
15449 * math/s_ctanf.c: Likewise.
15450 * math/s_ctanh.c: Likewise.
15451 * math/s_ctanhf.c: Likewise.
15452 * math/s_ctanhl.c: Likewise.
15453 * math/s_ctanl.c: Likewise.
15454
15455 * math/math_private.h: Define __nan, __nanf, __nanl.
15456 * math/s_cacosh.c: Include <math_private.h>.
15457 * math/s_cacoshl.c: Likewise.
15458 * math/s_casinh.c: Likewise.
15459 * math/s_casinhf.c: Likewise.
15460 * math/s_casinhl.c: Likewise.
15461 * math/s_ccos.c: Rely entire on ccosh.
15462 * math/s_ccosf.c: Rely entire on ccoshf.
15463 * math/s_ccosl.c: Rely entirely on ccoshl.
15464 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15465 Remove tests for FE_INVALID.
15466 * math/s_ccoshf.c: Likewise.
15467 * math/s_ccoshl.c: Likewise.
15468 * math/s_csin.c: Likewise.
15469 * math/s_csinf.c: Likewise.
15470 * math/s_csinh.c Likewise.
15471 * math/s_csinhf.c: Likewise.
15472 * math/s_csinhl.c: Likewise.
15473 * math/s_csinl.c: Likewise.
15474 * math/s_ctan.c: Likewise.
15475 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15476 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15477 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15478
15479 2011-10-21 Ulrich Drepper <drepper@gmail.com>
15480
15481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15482 compilation problems.
15483
15484 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15485 __builtin_expect.
15486
15487 2011-10-20 Ulrich Drepper <drepper@gmail.com>
15488
15489 * sysdeps/i386/configure.in: Test for -mfma4 option.
15490 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15491 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15492 COMMON_CPUID_INDEX_80000001.
15493 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15494 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15495 use it if FMA3 is not supported.
15496 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15497
15498 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15499 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15500
15501 2011-10-20 Andreas Schwab <schwab@redhat.com>
15502
15503 [BZ #12892]
15504 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15505 it would create a cycle with a link time dependency.
15506
15507 2011-10-19 Ulrich Drepper <drepper@gmail.com>
15508
15509 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15510 instruction.
15511 * string/Makefile (strop-tests): Add rawmemchr.
15512 * string/test-rawmemchr.c: New file.
15513
15514 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15515 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15516 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15517 when compiling str{,n}casecmp and when AVX is available. Hook up
15518 new optimized code in initializers.
15519
15520 2011-10-19 Andreas Schwab <schwab@redhat.com>
15521
15522 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15523 __feraiseexcept instead of feraiseexcept.
15524
15525 2011-10-18 Ulrich Drepper <drepper@gmail.com>
15526
15527 * math/math_private.h: Define defaults for libc_fetestexcept and
15528 libc_feupdateenv.
15529 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15530 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15531 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15532 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15533 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15534 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15535 libc_fetestexcept and libc_feupdateenv.
15536
15537 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15538 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15539 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15540 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15541 libc_feholdexcept_setround.
15542
15543 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15544 Add s_nearbyint-c and s_nearbyintf-c.
15545 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15546 nearbyintf inlines.
15547 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15548 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15549 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15550 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15551
15552 * math/math_private.h: Define defaults for libc_fegetround,
15553 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15554 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15555 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15556 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15557 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15558 standard functions.
15559 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15560 Remove comments and hacks for old compiler versions.
15561 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15562 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15563 libc_feholdexceptl.
15564
15565 2011-10-18 Andreas Schwab <schwab@redhat.com>
15566
15567 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15568 (__feraiseexcept_renamed): Add __NTH.
15569 (feraiseexcept): Add __NTH. Rename local variables to fix
15570 namespace violations.
15571
15572 2011-10-17 Ulrich Drepper <drepper@gmail.com>
15573
15574 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15575
15576 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15577
15578 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15579 recently added interfaces.
15580 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15581
15582 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15583 about macro parameter expansion.
15584
15585 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15586 __NO_MATH_INLINES is defined. Cleanups.
15587
15588 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15589 and __floorf is target has SSE4.1.
15590 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15591 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15592 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15593 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15594
15595 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15596 name.
15597 (floorf): Likewise.
15598
15599 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15600
15601 2011-10-17 Andreas Schwab <schwab@redhat.com>
15602
15603 * misc/sys/cdefs.h: Fix last change.
15604
15605 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15606 database lookup.
15607
15608 2011-10-16 Ulrich Drepper <drepper@gmail.com>
15609
15610 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15611
15612 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15613 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15614 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15615 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15616 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15617 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15618 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15619 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15620 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15621 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15622 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15623 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15624 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15625 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15626 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15627 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15628 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15629 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15630 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15631 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15632 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15633 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15634
15635 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15636 ceil, ceilf, floor, floorf.
15637
15638 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15639 Perform IRELATIVE relocations last.
15640
15641 * elf/do-rel.h: Add another parameter nrelative, replacing the
15642 local variable with the same name. Change name of the function
15643 to end in Rel or Rela (uppercase).
15644 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15645 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15646 elf_dynamic_do_##reloc function.
15647
15648 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15649
15650 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15651 is sufficient, at least on modern CPUs.
15652
15653 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15654
15655 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15656 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15657
15658 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15659 __expl_finite.
15660 * math/bits/math-finite.h: Add entries for exp.
15661 * math/e_expl.c: Add __*_finite alias.
15662 * sysdeps/i386/fpu/e_exp.S: Likewise.
15663 * sysdeps/i386/fpu/e_expf.S: Likewise.
15664 * sysdeps/i386/fpu/e_expl.c: Likewise.
15665 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15666 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15667 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15668 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15669 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15670 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15671 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15672
15673 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15674 is sufficient, at least on modern CPUs.
15675
15676 * ctype/ctype-info.c (__ctype_init): Define.
15677 * include/ctype.h (__ctype_init): Declare.
15678 (__ctype_b_loc): The variable is always initialized.
15679 (__ctype_toupper_loc): Likewise.
15680 (__ctype_tolower_loc): Likewise.
15681 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15682 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15683
15684 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15685
15686 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15687
15688 * configure.in: Also look in $cxxmachine/include for C++ system
15689 headers.
15690
15691 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15692
15693 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15694 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15695 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15696 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15697 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15698 (USE_AS_WMEMCMP): New macro.
15699 Fixing indents.
15700 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15701 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15702 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15703 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15704 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15705 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15706 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15707 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15708 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15709 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15710 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15711 (USE_AS_WMEMCMP): New macro.
15712 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15713 * sysdeps/string/test-memcmp.c: Update.
15714 Fix simple_wmemcmp.
15715 Add new tests.
15716 * wcsmbs/wmemcmp.c: Update.
15717 (WMEMCMP): New macro.
15718 Fix overflow bug.
15719
15720 2011-10-12 Andreas Jaeger <aj@suse.de>
15721
15722 [BZ #13268]
15723 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15724
15725 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15726
15727 * libio/iofwide.c (do_length): Avoid warning.
15728
15729 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15730
15731 2011-10-14 Ulrich Drepper <drepper@gmail.com>
15732
15733 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15734
15735 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15736 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15737 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15738 * sysdeps/i386/i686/fpu/e_log.S: New file.
15739 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15740 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15741
15742 * ctype/ctype.h: Add support for inlined isXXX functions when
15743 compiling C++ code.
15744
15745 2011-10-14 Andreas Schwab <schwab@redhat.com>
15746
15747 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15748
15749 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15750
15751 2011-10-13 Roland McGrath <roland@hack.frob.com>
15752
15753 [BZ #13291]
15754 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15755
15756 2011-10-13 Andreas Schwab <schwab@redhat.com>
15757
15758 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15759 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15760 feraiseexcept.
15761
15762 * sysdeps/x86_64/memrchr.S: Check for zero size.
15763
15764 * string/stratcliff.c: Add memrchr tests.
15765
15766 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15767
15768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15769 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15770 rawmemchr-sse2 rawmemchr-sse2-bsf.
15771 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15772 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15773 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15774 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15775 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15776 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15777 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15778 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15779 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15780 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15781 * string/memrchr.c (MEMRCHR): New macro.
15782
15783 2011-10-12 Ulrich Drepper <drepper@gmail.com>
15784
15785 Add integration with gcc's -ffinite-math-only and optimize wrapper
15786 functions in libm.
15787 * Versions.def: Define GLIBC_2.15 version for libm.
15788 * math/Makefile (headers): Add bits/math-finite.h.
15789 * math/bits/math-finite.h: New file.
15790 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15791 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15792 * math/e_acoshl.c: Add __*_finite alias.
15793 * math/e_acosl.c: Likewise.
15794 * math/e_asinl.c: Likewise.
15795 * math/e_atan2l.c: Likewise.
15796 * math/e_atanhl.c: Likewise.
15797 * math/e_coshl.c: Likewise.
15798 * math/e_exp10.c: Likewise.
15799 * math/e_exp10f.c: Likewise.
15800 * math/e_exp10l.c: Likewise.
15801 * math/e_exp2l.c: Likewise.
15802 * math/e_fmodl.c: Likewise.
15803 * math/e_gammal_r.c: Likewise.
15804 * math/e_hypotl.c: Likewise.
15805 * math/e_j0l.c: Likewise.
15806 * math/e_j1l.c: Likewise.
15807 * math/e_jnl.c: Likewise.
15808 * math/e_lgammal_r.c: Likewise.
15809 * math/e_log10l.c: Likewise.
15810 * math/e_log2l.c: Likewise.
15811 * math/e_logl.c: Likewise.
15812 * math/e_powl.c: Likewise.
15813 * math/e_sinhl.c: Likewise.
15814 * math/e_sqrtl.c: Likewise.
15815 * math/e_scalb.c: Completely rewritten and optimized.
15816 * math/e_scalbf.c: Likewise.
15817 * math/e_scalbl.c: Likewise.
15818 * math/w_acos.c: Likewise.
15819 * math/w_acosf.c: Likewise.
15820 * math/w_acosl.c: Likewise.
15821 * math/w_acosh.c: Likewise.
15822 * math/w_acoshf.c: Likewise.
15823 * math/w_acoshl.c: Likewise.
15824 * math/w_asin.c: Likewise.
15825 * math/w_asinf.c: Likewise.
15826 * math/w_asinl.c: Likewise.
15827 * math/w_atan2.c: Likewise.
15828 * math/w_atan2f.c: Likewise.
15829 * math/w_atan2l.c: Likewise.
15830 * math/w_atanh.c: Likewise.
15831 * math/w_atanhf.c: Likewise.
15832 * math/w_atanhl.c: Likewise.
15833 * math/w_exp10.c: Likewise.
15834 * math/w_exp10f.c: Likewise.
15835 * math/w_exp10l.c: Likewise.
15836 * math/w_fmod.c: Likewise.
15837 * math/w_fmodf.c: Likewise.
15838 * math/w_fmodl.c: Likewise.
15839 * math/w_j0.c: Likewise.
15840 * math/w_j0f.c: Likewise.
15841 * math/w_j0l.c: Likewise.
15842 * math/w_j1.c: Likewise.
15843 * math/w_j1f.c: Likewise.
15844 * math/w_j1l.c: Likewise.
15845 * math/w_jn.c: Likewise.
15846 * math/w_jnf.c: Likewise.
15847 * math/w_log.c: Likewise.
15848 * math/w_logf.c: Likewise.
15849 * math/w_logl.c: Likewise.
15850 * math/w_log10.c: Likewise.
15851 * math/w_log10f.c: Likewise.
15852 * math/w_log10l.c: Likewise.
15853 * math/w_log2.c: Likewise.
15854 * math/w_log2f.c: Likewise.
15855 * math/w_log2l.c: Likewise.
15856 * math/w_pow.c: Likewise.
15857 * math/w_powf.c: Likewise.
15858 * math/w_powl.c: Likewise.
15859 * math/w_remainder.c: Likewise.
15860 * math/w_remainderf.c: Likewise.
15861 * math/w_remainderl.c: Likewise.
15862 * math/w_scalb.c: Likewise.
15863 * math/w_scalbf.c: Likewise.
15864 * math/w_scalbl.c: Likewise.
15865 * math/w_sqrt.c: Likewise.
15866 * math/w_sqrtf.c: Likewise.
15867 * math/w_sqrtl.c: Likewise.
15868 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15869 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15870 used.
15871 * math/math_private.h: Declare __kernel_standard_f.
15872 * math/w_cosh.c: Remove cruft and optimize a bit.
15873 * math/w_coshf.c: Likewise.
15874 * math/w_coshl.c: Likewise.
15875 * math/w_exp2.c: Likewise.
15876 * math/w_exp2f.c: Likewise.
15877 * math/w_exp2l.c: Likewise.
15878 * math/w_hypot.c: Likewise.
15879 * math/w_hypotf.c: Likewise.
15880 * math/w_hypotl.c: Likewise.
15881 * math/w_lgamma.c: Likewise.
15882 * math/w_lgamma_r.c: Likewise.
15883 * math/w_lgammaf.c: Likewise.
15884 * math/w_lgammaf_r.c: Likewise.
15885 * math/w_lgammal.c: Likewise.
15886 * math/w_lgammal_r.c: Likewise.
15887 * math/w_sinh.c: Likewise.
15888 * math/w_sinhf.c: Likewise.
15889 * math/w_sinhl.c: Likewise.
15890 * math/w_tgamma.c: Likewise.
15891 * math/w_tgammaf.c: Likewise.
15892 * math/w_tgammal.c: Likewise.
15893 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15894 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15895 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15896 Minor optimizations. Pretty printing. Remove cruft.
15897 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15898 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15899 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15900 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15901 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15902 * sysdeps/i386/fpu/e_asin.S: Likewise.
15903 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15904 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15905 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15906 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15907 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15908 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15909 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15910 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15911 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15912 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15913 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15914 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15915 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15916 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15917 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15918 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15919 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15920 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15921 * sysdeps/i386/fpu/e_log.S: Likewise.
15922 * sysdeps/i386/fpu/e_log10.S: Likewise.
15923 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15924 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15925 * sysdeps/i386/fpu/e_log2.S: Likewise.
15926 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15927 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15928 * sysdeps/i386/fpu/e_logf.S: Likewise.
15929 * sysdeps/i386/fpu/e_logl.S: Likewise.
15930 * sysdeps/i386/fpu/e_pow.S: Likewise.
15931 * sysdeps/i386/fpu/e_powf.S: Likewise.
15932 * sysdeps/i386/fpu/e_powl.S: Likewise.
15933 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15934 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15935 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15936 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15937 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15938 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15939 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15940 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15941 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15942 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15943 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15944 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15945 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15946 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15947 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15948 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15949 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15950 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15951 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15952 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15953 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15954 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15955 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15956 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15957 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15958 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15959 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15960 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15961 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15962 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15963 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15964 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15965 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15966 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15967 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15968 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15969 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15970 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15971 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15972 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15973 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15974 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15975 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15976 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15977 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15978 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15979 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15980 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15981 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15982 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15983 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15984 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15995 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15997 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15998 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16001 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16002 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16004 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16005 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16006 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16007 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16008 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16009 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16010 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16011 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16012 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16013 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16014 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16015 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16016 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16017 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16018 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16019 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16020 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16021 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16022 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16023 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16024 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16025 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16026 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16027 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16028 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16029 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16030 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16031 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16032 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16033 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16034 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16035 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16036 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16037 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16038 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16039 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16040 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16041 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16042 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16043 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16044 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16045 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16046 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16047 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16048 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16049 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16050 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16051 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16052 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16053 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16054 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16055 (__isnanf): Likewise.
16056 (__isinf_ns): Likewise.
16057 (__isinf_nsf): Likewise.
16058 (__finite): Likewise.
16059 (__finitef): Likewise.
16060 (__ieee754_sqrt): Define as macro.
16061 (__ieee754_sqrtf): Define as macro.
16062 (__ieee754_sqrtl): Define as macro.
16063 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16064 inlined copy.
16065 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16066 __FINITE_MATH_ONLY__ consistent.
16067 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16068
16069 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16070
16071 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16072 of rawmemchr.
16073
16074 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16075
16076 2011-10-09 Ulrich Drepper <drepper@gmail.com>
16077
16078 * po/ja.po: Update from translation team.
16079
16080 2011-10-08 Roland McGrath <roland@hack.frob.com>
16081
16082 * locale/programs/locarchive.c (prepare_address_space): New function.
16083 (create_archive, enlarge_archive, open_archive): Use it.
16084
16085 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16086 inside [SHARED], where it is used.
16087
16088 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16089
16090 * nss/getent.c (netgroup_keys): Remove unused variable.
16091 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16092
16093 2011-10-08 Ulrich Drepper <drepper@gmail.com>
16094
16095 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16096 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16097 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16098 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16099 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16100 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16101 * math/Makefile (libm-calls): Add s_isinf_ns.
16102 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16103 * math/multc3.c: Likewise.
16104 * math/s_casin.c: Likewise.
16105 * math/s_casinf.c: Likewise.
16106 * math/s_casinl.c: Likewise.
16107 * math/s_ccos.c: Likewise.
16108 * math/s_ccosf.c: Likewise.
16109 * math/s_ccosl.c: Likewise.
16110 * math/s_ctan.c: Likewise.
16111 * math/s_ctanf.c: Likewise.
16112 * math/s_ctanh.c: Likewise.
16113 * math/s_ctanhf.c: Likewise.
16114 * math/s_ctanhl.c: Likewise.
16115 * math/s_ctanl.c: Likewise.
16116 * math/w_fmod.c: Likewise.
16117 * math/w_fmodf.c: Likewise.
16118 * math/w_fmodl.c: Likewise.
16119 * math/w_remainder.c: Likewise.
16120 * math/w_remainderf.c: Likewise.
16121 * math/w_remainderl.c: Likewise.
16122 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16123 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16124 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16125 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16126 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16127 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16128 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16129 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16130
16131 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16132 of the number.
16133 * stdio-common/printf_fphex.c: Likewise.
16134 * stdio-common/printf_size.c: Likewise.
16135
16136 * math/e_exp10.c: Include math_private.h using <...> not "...".
16137 * math/e_exp10f.c: Likewise.
16138 * math/e_exp10l.c: Likewise.
16139 * math/e_exp2l.c: Likewise.
16140 * math/e_j0l.c: Likewise.
16141 * math/e_j1l.c: Likewise.
16142 * math/e_jnl.c: Likewise.
16143 * math/e_lgammal_r.c: Likewise.
16144 * math/e_rem_pio2l.c: Likewise.
16145 * math/e_scalb.c: Likewise.
16146 * math/e_scalbf.c: Likewise.
16147 * math/e_scalbl.c: Likewise.
16148 * math/k_cosl.c: Likewise.
16149 * math/k_sinl.c: Likewise.
16150 * math/k_tanl.c: Likewise.
16151 * math/s_cacoshf.c: Likewise.
16152 * math/s_catan.c: Likewise.
16153 * math/s_catanf.c: Likewise.
16154 * math/s_catanh.c: Likewise.
16155 * math/s_catanhf.c: Likewise.
16156 * math/s_catanhl.c: Likewise.
16157 * math/s_catanl.c: Likewise.
16158 * math/s_ccosh.c: Likewise.
16159 * math/s_ccoshf.c: Likewise.
16160 * math/s_ccoshl.c: Likewise.
16161 * math/s_cexp.c: Likewise.
16162 * math/s_cexpf.c: Likewise.
16163 * math/s_cexpl.c: Likewise.
16164 * math/s_clog.c: Likewise.
16165 * math/s_clog10.c: Likewise.
16166 * math/s_clog10f.c: Likewise.
16167 * math/s_clog10l.c: Likewise.
16168 * math/s_clogf.c: Likewise.
16169 * math/s_clogl.c: Likewise.
16170 * math/s_csin.c: Likewise.
16171 * math/s_csinf.c: Likewise.
16172 * math/s_csinh.c: Likewise.
16173 * math/s_csinhf.c: Likewise.
16174 * math/s_csinhl.c: Likewise.
16175 * math/s_csinl.c: Likewise.
16176 * math/s_csqrt.c: Likewise.
16177 * math/s_csqrtf.c: Likewise.
16178 * math/s_csqrtl.c: Likewise.
16179 * math/s_ctan.c: Likewise.
16180 * math/s_ctanf.c: Likewise.
16181 * math/s_ctanh.c: Likewise.
16182 * math/s_ctanhf.c: Likewise.
16183 * math/s_ctanhl.c: Likewise.
16184 * math/s_ctanl.c: Likewise.
16185 * math/s_ldexp.c: Likewise.
16186 * math/s_ldexpf.c: Likewise.
16187 * math/s_ldexpl.c: Likewise.
16188 * math/s_significand.c: Likewise.
16189 * math/s_significandf.c: Likewise.
16190 * math/s_significandl.c: Likewise.
16191 * math/w_acos.c: Likewise.
16192 * math/w_acosf.c: Likewise.
16193 * math/w_acosh.c: Likewise.
16194 * math/w_acoshf.c: Likewise.
16195 * math/w_acoshl.c: Likewise.
16196 * math/w_acosl.c: Likewise.
16197 * math/w_asin.c: Likewise.
16198 * math/w_asinf.c: Likewise.
16199 * math/w_asinl.c: Likewise.
16200 * math/w_atan2.c: Likewise.
16201 * math/w_atan2f.c: Likewise.
16202 * math/w_atan2l.c: Likewise.
16203 * math/w_atanh.c: Likewise.
16204 * math/w_atanhf.c: Likewise.
16205 * math/w_atanhl.c: Likewise.
16206 * math/w_cosh.c: Likewise.
16207 * math/w_coshf.c: Likewise.
16208 * math/w_coshl.c: Likewise.
16209 * math/w_dremf.c: Likewise.
16210 * math/w_exp10.c: Likewise.
16211 * math/w_exp10f.c: Likewise.
16212 * math/w_exp10l.c: Likewise.
16213 * math/w_exp2.c: Likewise.
16214 * math/w_exp2f.c: Likewise.
16215 * math/w_fmod.c: Likewise.
16216 * math/w_fmodf.c: Likewise.
16217 * math/w_fmodl.c: Likewise.
16218 * math/w_hypot.c: Likewise.
16219 * math/w_hypotf.c: Likewise.
16220 * math/w_hypotl.c: Likewise.
16221 * math/w_j0.c: Likewise.
16222 * math/w_j0f.c: Likewise.
16223 * math/w_j0l.c: Likewise.
16224 * math/w_j1.c: Likewise.
16225 * math/w_j1f.c: Likewise.
16226 * math/w_j1l.c: Likewise.
16227 * math/w_jn.c: Likewise.
16228 * math/w_jnf.c: Likewise.
16229 * math/w_jnl.c: Likewise.
16230 * math/w_lgamma.c: Likewise.
16231 * math/w_lgamma_r.c: Likewise.
16232 * math/w_lgammaf.c: Likewise.
16233 * math/w_lgammaf_r.c: Likewise.
16234 * math/w_lgammal.c: Likewise.
16235 * math/w_lgammal_r.c: Likewise.
16236 * math/w_log.c: Likewise.
16237 * math/w_log10.c: Likewise.
16238 * math/w_log10f.c: Likewise.
16239 * math/w_log10l.c: Likewise.
16240 * math/w_log2.c: Likewise.
16241 * math/w_log2f.c: Likewise.
16242 * math/w_log2l.c: Likewise.
16243 * math/w_logf.c: Likewise.
16244 * math/w_logl.c: Likewise.
16245 * math/w_pow.c: Likewise.
16246 * math/w_powf.c: Likewise.
16247 * math/w_powl.c: Likewise.
16248 * math/w_remainder.c: Likewise.
16249 * math/w_remainderf.c: Likewise.
16250 * math/w_remainderl.c: Likewise.
16251 * math/w_scalb.c: Likewise.
16252 * math/w_scalbf.c: Likewise.
16253 * math/w_scalbl.c: Likewise.
16254 * math/w_sinh.c: Likewise.
16255 * math/w_sinhf.c: Likewise.
16256 * math/w_sinhl.c: Likewise.
16257 * math/w_sqrt.c: Likewise.
16258 * math/w_sqrtf.c: Likewise.
16259 * math/w_sqrtl.c: Likewise.
16260 * math/w_tgamma.c: Likewise.
16261 * math/w_tgammaf.c: Likewise.
16262 * math/w_tgammal.c: Likewise.
16263
16264 * po/ja.po: Update from translation team.
16265
16266 2011-09-29 Andreas Jaeger <aj@suse.de>
16267
16268 [BZ #13179]
16269 * sunrpc/netname.c (netname2host): Fix logic.
16270
16271 [BZ #6779]
16272 [BZ #6783]
16273 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16274 correctly.
16275 * math/w_remainder.c (__remainder): Likewise.
16276 * math/w_remainderf.c (__remainderf): Likewise.
16277 * math/libm-test.inc (remainder_test): Add test cases.
16278
16279 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16280
16281 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16282 sdiv_qrnnd.
16283
16284 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16285
16286 * string/test-memcmp.c: Avoid unncessary #defines.
16287 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16288
16289 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16290
16291 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16292 Use new sse2 version for core i3 - i7 as it's faster
16293 than sse42 version.
16294 (bit_Prefer_PMINUB_for_stringop): New.
16295 * sysdeps/x86_64/rawmemchr.S: Update.
16296 Replace with faster SSE2 version.
16297 * sysdeps/x86_64/memrchr.S: New file.
16298 * sysdeps/x86_64/memchr.S: Update.
16299 Replace with faster SSE2 version.
16300
16301 2011-09-12 Marek Polacek <mpolacek@redhat.com>
16302
16303 * elf/dl-load.c (lose): Add cast to avoid warning.
16304
16305 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16306
16307 * po/ca.po: Update from translation team.
16308
16309 * inet/getnetgrent_r.c: Hook up nscd.
16310 * nscd/Makefile (routines): Add nscd_netgroup.
16311 (nscd-modules): Add netgroupcache.
16312 (CFLAGS-netgroupcache.c): Define.
16313 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16314 (cache_search): Add const to second parameter.
16315 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16316 INNETGR.
16317 (dbs): Add netgrdb entry.
16318 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16319 (verify_persistent_db): Handle netgrdb.
16320 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16321 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16322 GETFDNETGR.
16323 (netgroup_response_header): Define.
16324 (innetgroup_response_header): Define.
16325 (datahead): Add netgroup_response_header and innetgroup_response_header
16326 elements.
16327 * nscd/nscd.conf: Add entries for netgroup cache.
16328 * nscd/nscd.h (dbtype): Add netgrdb.
16329 (_PATH_NSCD_NETGROUP_DB): Define.
16330 (netgroup_iov_disabled): Declare.
16331 (xmalloc, xcalloc, xrealloc): Move declarations here.
16332 (cache_search): Adjust prototype.
16333 Add netgroup-related prototypes.
16334 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16335 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16336 (__nscd_innetgr): Declare.
16337 * nscd/selinux.c (perms): Use access_vector_t as element type and
16338 add netgroup-related initializers.
16339 * nscd/netgroupcache.c: New file.
16340 * nscd/nscd_netgroup.c: New file.
16341 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16342 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16343 For four parameters use innetgr.
16344 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16345 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16346 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16347 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16348
16349 * nscd/connections.c (register_traced_file): Don't register file
16350 for disabled databases.
16351
16352 2011-10-06 Ulrich Drepper <drepper@gmail.com>
16353
16354 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16355
16356 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16357 from tree and freeing node.
16358
16359 2011-09-25 Jiri Olsa <jolsa@redhat.com>
16360
16361 * nss/nsswitch.c (__nss_database_lookup): Handle
16362 nss_parse_service_list out of memory case.
16363
16364 2011-09-15 Jiri Olsa <jolsa@redhat.com>
16365
16366 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16367 out of memory case.
16368
16369 2011-10-04 Andreas Schwab <schwab@redhat.com>
16370
16371 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16372 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16373 pass it down.
16374 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16375 elf_machine_rela, elf_machine_lazy_rel.
16376 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16377 (ELF_DYNAMIC_DO_REL): Likewise.
16378 (ELF_DYNAMIC_DO_RELA): Likewise.
16379 (ELF_DYNAMIC_RELOCATE): Likewise.
16380 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16381 to ELF_DYNAMIC_DO_REL.
16382 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16383 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16384 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16385 elf_machine_rela.
16386 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16387 skip_ifunc, don't call ifunc function if non-zero.
16388 (elf_machine_rela): Likewise.
16389 (elf_machine_lazy_rel): Likewise.
16390 (elf_machine_lazy_rela): Likewise.
16391 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16392 (elf_machine_lazy_rel): Likewise.
16393 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16394 Likewise.
16395 (elf_machine_lazy_rel): Likewise.
16396 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16397 Likewise.
16398 (elf_machine_lazy_rel): Likewise.
16399 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16400 (elf_machine_lazy_rel): Likewise.
16401 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16402 (elf_machine_lazy_rel): Likewise.
16403 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16404 (elf_machine_lazy_rel): Likewise.
16405 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16406 (elf_machine_lazy_rel): Likewise.
16407 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16408 (elf_machine_lazy_rel): Likewise.
16409 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16410 (elf_machine_lazy_rel): Likewise.
16411
16412 2011-09-28 Ulrich Drepper <drepper@gmail.com>
16413
16414 * nss/nss_files/files-init.c (_nss_files_init): Use static
16415 initialization for all the *_traced_file variables.
16416
16417 2011-09-28 Andreas Schwab <schwab@redhat.com>
16418
16419 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16420
16421 2011-09-27 Roland McGrath <roland@hack.frob.com>
16422
16423 [BZ #13226]
16424 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16425
16426 2011-09-27 Andreas Schwab <schwab@redhat.com>
16427
16428 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16429 Reread the line before reparsing it.
16430
16431 2011-09-26 Andreas Schwab <schwab@redhat.com>
16432
16433 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16434
16435 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16436 Maxim Kuvyrkov <maxim@codesourcery.com>
16437 Joseph Myers <joseph@codesourcery.com>
16438
16439 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16440 if needed for __stack_chk_guard.
16441
16442 2011-09-19 Roland McGrath <roland@hack.frob.com>
16443
16444 * sysdeps/posix/spawni.c (script_execute): Always define it.
16445 It will be optimized away if unused.
16446 (maybe_script_execute): New function.
16447 (__spawni): Call it.
16448
16449 * Makerules: Don't include tls.make.
16450 (config-tls): Always set to thread.
16451 * tls.make.c: File removed.
16452
16453 2011-09-19 Mike Frysinger <vapier@gentoo.org>
16454
16455 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16456 * config.make.in (CPPFLAGS-config): New substituted variable.
16457
16458 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16459
16460 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16461
16462 [BZ #13192]
16463 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16464 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16465
16466 2011-09-15 Roland McGrath <roland@hack.frob.com>
16467
16468 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16469 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16470 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16471 (CALL_FAIL): Likewise.
16472 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16473 (CALL_FAIL): Macro removed.
16474 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16475
16476 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16477
16478 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16479 for __FINITE_MATH_ONLY__ == 1.
16480
16481 2011-09-15 Andreas Schwab <schwab@redhat.com>
16482
16483 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16484 __ieee754_sqrt instead of sqrt.
16485 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16486 __ieee754_sqrtf instead of sqrtf.
16487 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16488 __floorf instead of floorf.
16489 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16490 __floorf, __truncf instead of floorf, truncf.
16491
16492 2011-09-14 Ulrich Drepper <drepper@gmail.com>
16493
16494 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16495
16496 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16497 __extern_always_inline.
16498 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16499 32-bit.
16500
16501 2011-09-14 Andreas Schwab <schwab@redhat.com>
16502
16503 * elf/rtld.c (dl_main): Also relocate in dependency order when
16504 doing symbol dependency testing.
16505
16506 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16507
16508 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16509 Always define `refsym'.
16510
16511 2011-09-13 Andreas Schwab <schwab@redhat.com>
16512
16513 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16514 (__FD_ELT): Renamed from __FDELT.
16515 * misc/bits/select2.h (__FD_ELT): Likewise.
16516 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16517 __FD_MASK instead of __FDELT, __FDMASK.
16518 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16519 Likewise.
16520 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16521 Likewise.
16522
16523 * elf/Makefile (gen-ldd): Fix pattern.
16524
16525 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16526 (init_tls): Likewise.
16527
16528 2011-09-12 Ulrich Drepper <drepper@gmail.com>
16529
16530 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16531
16532 2011-09-12 Andreas Schwab <schwab@redhat.com>
16533
16534 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16535 `struct cmsghdr *' instead of `void *'.
16536 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16537 Likewise.
16538
16539 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16540
16541 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16542 if non-absolute.
16543 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16544 ldd_rewrite_script.
16545
16546 2011-09-11 Ulrich Drepper <drepper@gmail.com>
16547
16548 * configure.in: Remove --with-tls option.
16549 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16550 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16551 out in case it is missing.
16552 * sysdeps/ia64/elf/configure.in: Likewise.
16553 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16554 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16555 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16556 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16557 * sysdeps/sh/elf/configure.in: Likewise.
16558 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16559 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16560 * sysdeps/x86_64/elf/configure.in: Likewise.
16561 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16562 * sysdeps/mach/hurd/tls.h: Likewise.
16563
16564 [BZ #13067]
16565 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16566
16567 [BZ #13090]
16568 * configure.in: Fix use of AC_INIT.
16569
16570 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16571
16572 2011-09-10 Ulrich Drepper <drepper@gmail.com>
16573
16574 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16575 __set_errno.
16576 * malloc/hooks.c: Likewise.
16577
16578 [BZ #11929]
16579 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16580 variables statically.
16581 (narenas): Initialize.
16582 (list_lock): Initialize.
16583 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16584 initializtion of main_arena and list_lock. Small cleanups.
16585 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16586 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16587 Add initializers to main_arena and mp_.
16588 (malloc_state): Remove pagesize member. Change all users to use
16589 GLRO(dl_pagesize).
16590
16591 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16592 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16593 is always initialized.
16594
16595 * malloc/malloc.c: Removed unused configurations and dead code.
16596 * malloc/arena.c: Likewise.
16597 * malloc/hooks.c: Likewise.
16598 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16599
16600 * include/tls.h: Removed. USE___THREAD must always be defined.
16601 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16602 * elf/dl-libc.c: Likewise.
16603 * elf/dl-tsd.c: Likewise.
16604 * include/errno.h: Likewise.
16605 * include/netdb.h: Likewise.
16606 * include/resolv.h: Likewise.
16607 * inet/herrno-loc.c: Likewise.
16608 * inet/herrno.c: Likewise.
16609 * malloc/arena.c: Likewise.
16610 * malloc/hooks.c: Likewise.
16611 * malloc/malloc.c: Likewise.
16612 * resolv/res-state.c: Likewise.
16613 * resolv/res_libc.c: Likewise.
16614 * sysdeps/i386/dl-machine.h: Likewise.
16615 * sysdeps/ia64/dl-machine.h: Likewise.
16616 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16617 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16618 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16619 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16620 * sysdeps/sh/dl-machine.h: Likewise.
16621 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16622 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16623 * sysdeps/unix/i386/sysdep.S: Likewise.
16624 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16625 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16626 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16627 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16628 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16629 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16630 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16631 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16632 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16634 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16635 * sysdeps/x86_64/dl-machine.h: Likewise.
16636 * tls.make.c: Likewise.
16637
16638 * configure.in: Remove --with-__thread option. Make tests for
16639 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16640 tls_model attribute fail if no support is available. Remove
16641 USE_IN_LIBIO.
16642 * Makeconfig: Adjust for dropped configure option. All features are
16643 now mandatory.
16644 * Makerules: Likewise.
16645 * Versions.def: Likewise.
16646 * argp/argp-fmtstream.c: Likewise.
16647 * argp/argp-fmtstream.h: Likewise.
16648 * argp/argp-help.c: Likewise.
16649 * assert/assert.c: Likewise.
16650 * config.h.in: Likewise.
16651 * config.make.in: Likewise.
16652 * configure: Likewise.
16653 * configure.in: Likewise.
16654 * csu/Versions: Likewise.
16655 * csu/init.c: Likewise.
16656 * elf/tst-audit2.c: Likewise.
16657 * elf/tst-tls10.c: Likewise.
16658 * elf/tst-tls10.h: Likewise.
16659 * elf/tst-tls11.c: Likewise.
16660 * elf/tst-tls12.c: Likewise.
16661 * elf/tst-tls14.c: Likewise.
16662 * elf/tst-tlsmod11.c: Likewise.
16663 * elf/tst-tlsmod12.c: Likewise.
16664 * elf/tst-tlsmod13.c: Likewise.
16665 * elf/tst-tlsmod13a.c: Likewise.
16666 * elf/tst-tlsmod14a.c: Likewise.
16667 * elf/tst-tlsmod15b.c: Likewise.
16668 * elf/tst-tlsmod16a.c: Likewise.
16669 * elf/tst-tlsmod16b.c: Likewise.
16670 * elf/tst-tlsmod7.c: Likewise.
16671 * elf/tst-tlsmod8.c: Likewise.
16672 * elf/tst-tlsmod9.c: Likewise.
16673 * gmon/gmon.c: Likewise.
16674 * grp/fgetgrent_r.c: Likewise.
16675 * grp/putgrent.c: Likewise.
16676 * hurd/fopenport.c: Likewise.
16677 * include/libc-symbols.h: Likewise.
16678 * include/tls.h: Likewise.
16679 * intl/gettextP.h: Likewise.
16680 * intl/loadinfo.h: Likewise.
16681 * locale/global-locale.c: Likewise.
16682 * locale/localeinfo.h: Likewise.
16683 * mach/devstream.c: Likewise.
16684 * malloc/arena.c: Likewise.
16685 * malloc/set-freeres.c: Likewise.
16686 * misc/err.c: Likewise.
16687 * misc/getttyent.c: Likewise.
16688 * misc/mntent_r.c: Likewise.
16689 * posix/getopt.c: Likewise.
16690 * posix/wordexp.c: Likewise.
16691 * pwd/fgetpwent_r.c: Likewise.
16692 * resolv/Versions: Likewise.
16693 * resolv/res_hconf.c: Likewise.
16694 * shadow/fgetspent_r.c: Likewise.
16695 * shadow/putspent.c: Likewise.
16696 * stdio-common/printf_fphex.c: Likewise.
16697 * stdio-common/tmpfile.c: Likewise.
16698 * stdlib/abort.c: Likewise.
16699 * stdlib/fmtmsg.c: Likewise.
16700 * sunrpc/auth_unix.c: Likewise.
16701 * sunrpc/clnt_perr.c: Likewise.
16702 * sunrpc/clnt_tcp.c: Likewise.
16703 * sunrpc/clnt_udp.c: Likewise.
16704 * sunrpc/clnt_unix.c: Likewise.
16705 * sunrpc/openchild.c: Likewise.
16706 * sunrpc/svc_simple.c: Likewise.
16707 * sunrpc/svc_tcp.c: Likewise.
16708 * sunrpc/svc_udp.c: Likewise.
16709 * sunrpc/svc_unix.c: Likewise.
16710 * sunrpc/xdr.c: Likewise.
16711 * sunrpc/xdr_array.c: Likewise.
16712 * sunrpc/xdr_rec.c: Likewise.
16713 * sunrpc/xdr_ref.c: Likewise.
16714 * sunrpc/xdr_stdio.c: Likewise.
16715
16716 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16717
16718 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16719
16720 2011-07-03 Andreas Jaeger <aj@suse.de>
16721
16722 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16723 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16724 regenerate with gen-libm-tests.pl.
16725
16726 2010-05-12 Petr Baudis <pasky@suse.cz>
16727
16728 [BZ #11589]
16729 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16730 around j0() zero points by switching to j1().
16731 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16735
16736 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16737
16738 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16739 instead of 0.
16740 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16741 instead of 0. .
16742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16743 Patch in part by Pavel Roskin <proski@gnu.org>.
16744
16745 [BZ #13138]
16746 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16747 realloc.
16748 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16749 Free memory block if necessary.
16750
16751 [BZ #12847]
16752 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16753 be NULL. Don't lock in this case.
16754
16755 2011-09-09 Roland McGrath <roland@hack.frob.com>
16756
16757 * elf/elf.h (ELFOSABI_GNU): New macro.
16758 (ELFOSABI_LINUX): Define to that.
16759
16760 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16761
16762 * string/strncat.c (strncat): Undef the symbol in case it has been
16763 defined in bits/string.h.
16764
16765 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16766
16767 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16768
16769 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16770 link map.
16771
16772 2011-08-17 Andreas Jaeger <aj@suse.de>
16773
16774 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16775
16776 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16777 Ian Lance Taylor <iant@google.com>
16778
16779 * math/libm-test.inc (lround_test): New testcase.
16780 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16781
16782 2011-09-08 Ulrich Drepper <drepper@gmail.com>
16783
16784 * Makefile: Remove support for automatic cvs check-ins.
16785 * Makerules: Likewise.
16786 * config.make.in: Likewise.
16787 * configure.in: Likewise.
16788 * intl/Makefile: Likewise.
16789 * locale/Makefile: Likewise.
16790 * po/Makefile: Likewise.
16791 * posix/Makefile: Likewise.
16792 * sysdeps/gnu/Makefile: Likewise.
16793 * sysdeps/mach/hurd/Makefile: Likewise.
16794 * sysdeps/sparc/sparc32/Makefile: Likewise.
16795
16796 [BZ #13118]
16797 * posix/Makefile (bug-regex32-ENV): Define.
16798 Patch by John Stanley <jpsinthemix@verizon.net>.
16799
16800 * misc/Makefile (headers): Add bits/select2.h.
16801 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16802 * misc/bits/select2.h: New file.
16803 * include/bits/select2.h: New file.
16804 * debug/Makefile (routines): Add fdelt_chk.
16805 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16806 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16807 FD_ISSET.
16808 * debug/fdelt_chk.c: New file.
16809
16810 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16811 * wcsmbs/test-wmemcmp.c: Likewise.
16812 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16813 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16814
16815 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16816
16817 * string/Makefile (strop-tests): Add memcmp.
16818 * string/test-wmemcmp.c: New file.
16819 * string/test-memcmp.c: Add wmemcmp support.
16820
16821 2011-09-08 Roland McGrath <roland@hack.frob.com>
16822
16823 [BZ #13153]
16824 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16825 2011-07-19 change.
16826
16827 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16828 garbage value in a __mach_port_mod_refs call in the cases of the
16829 task-self and thread-self ports.
16830
16831 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16832
16833 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16834
16835 2011-09-08 Andreas Schwab <schwab@redhat.com>
16836
16837 * elf/dl-load.c (lose): Check for non-null L.
16838
16839 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16840
16841 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16842
16843 * elf/dl-libc.c (dlerror_run): Pass back error code from
16844 dl_catch_error.
16845
16846 [BZ #13123]
16847 * elf/dl-load.c (lose): Free l_origin if it is valid.
16848
16849 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16850 names.
16851 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16852 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16853 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16854 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16855 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16856 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16857
16858 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16859
16860 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16861 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16862 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16863 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16864 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16865 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16866 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16867 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16868 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16869 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16870
16871 2011-08-15 Alan Modra <amodra@gmail.com>
16872
16873 [BZ #13092]
16874 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16875 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16876 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16877 ppc_mcount to static-only-routines.
16878 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16879 __mcount_internal.
16880 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16881 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16882
16883 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16884
16885 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16886 for finite and infinity parameters.
16887
16888 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16889
16890 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16891 and add nop instructions for throughput optimization.
16892 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16893
16894 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16895
16896 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16897 aligned copy for power7 with vector-scalar instructions.
16898 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16899
16900 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16901
16902 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16903 AVX check.
16904
16905 2011-09-07 Andreas Schwab <schwab@redhat.com>
16906
16907 [BZ #13144]
16908 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16909 last change.
16910
16911 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16912
16913 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16914 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16915 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16916 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16917 clock_gettime.
16918
16919 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16920
16921 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16922 Forgot to demangle the pointer.
16923
16924 * sysdeps/i386/sysdep.h: Define atom_text_section.
16925 * sysdeps/x86_64/sysdep.h: Likewise.
16926 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16927 section with atom_text_section.
16928 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16929 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16930 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16931 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16932 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16933
16934 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16935 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16936 already be defined. Change to take two parameters and don't assign
16937 result to variable. Adjust all users.
16938 Define INTERNAL_GETTIME if not already defined.
16939 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16940 call.
16941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16942 HAVE_CLOCK_GETTIME_VSYSCALL.
16943 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16944
16945 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16946 gettimeofday vsyscall, just use time.
16947
16948 2011-09-06 Andreas Schwab <schwab@redhat.com>
16949
16950 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16951 <errno.h>.
16952
16953 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16954
16955 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16956 syscall on x86-64.
16957 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16958 syscall.
16959 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16960 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16961 syscall if possible.
16962
16963 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16964
16965 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16966 e_ident. Don't pass to find_mapsXX.
16967 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16968
16969 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16970
16971 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16972 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16973 * sysdeps/x86_64/multiarch/strchr.S: Update.
16974 Check bit_slow_BSF bit.
16975 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16976 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16977 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16978
16979 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16980
16981 [BZ #13134]
16982 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16983 before glibc 2.15.
16984 (tryshell): Define.
16985 (__spawni): Change last parameter to be flag. Test
16986 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16987 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16988 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16989 * posix/spawni.c: Likewise.
16990 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16991 * posix/spawnp.c: Likewise. Change normal version to use
16992 SPAWN_XFLAGS_USE_PATH.
16993 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16994 SPAWN_XFLAGS_TRY_SHELL.
16995
16996 [BZ #13150]
16997 * posix/glob.h: Remove gcc 1.x support.
16998
16999 [BZ #13068]
17000 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
17001
17002 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17003
17004 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17005 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
17006 strrchr-sse2-bsf
17007 * sysdeps/i386/i686/multiarch/strchr.S: New file.
17008 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17009 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17010 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17011 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17012 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17013
17014 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17015
17016 * sysdeps/x86_64/wcscmp.S: New file.
17017
17018 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17019 wcscmp-c wcscmp-sse2
17020 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17021 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17022 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17023 * wcsmbs/wcscmp.c: Allow renaming.
17024
17025 2011-09-05 David S. Miller <davem@davemloft.net>
17026
17027 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17028 stack slot, rather than the struct return pointer slot.
17029 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17030 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17032 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17033
17034 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17035
17036 * po/ja.po: Update from translation team.
17037
17038 [BZ #13144]
17039 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17040 kernel in 64-bit binaries.
17041
17042 2011-09-01 David S. Miller <davem@davemloft.net>
17043
17044 * elf/elf.h (HWCAP_SPARC_*): Move to..
17045 * sysdeps/sparc/sysdep.h: this new file and add new values.
17046 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17047 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17048 _DL_HWCAP_COUNT to 24.
17049 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17050 entries.
17051 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17052 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17053 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17054 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17055 instead of magic constants.
17056 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17057
17058 2011-08-31 David S. Miller <davem@davemloft.net>
17059
17060 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17061 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17062 Reimplement to do errno handling inline.
17063 (SYSCALL_ERROR_HANDLER): New macro.
17064 (__SYSCALL_STRING): Do not do errno handling in asm.
17065 (__CLONE_SYSCALL_STRING): Delete.
17066 (__INTERNAL_SYSCALL_STRING): Delete.
17067 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17068 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17069 (PSEUDO): Reimplement to do errno handling inline.
17070 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17071 (SYSCALL_ERROR_HANDLER): New macro.
17072 (__SYSCALL_STRING): Do not do errno handling in asm.
17073 (__CLONE_SYSCALL_STRING): Delete.
17074 (__INTERNAL_SYSCALL_STRING): Delete.
17075 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17076 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17077 i386.
17078 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17079 (inline_syscall*): Add 'err' argument.
17080 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17081 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17082 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17083 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17084
17085 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17086 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17087
17088 2011-08-30 Andreas Schwab <schwab@redhat.com>
17089
17090 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17091
17092 2011-08-29 Jiri Olsa <jolsa@redhat.com>
17093
17094 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17095 directive.
17096
17097 2011-08-24 David S. Miller <davem@davemloft.net>
17098
17099 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17100
17101 2011-08-24 Andreas Schwab <schwab@redhat.com>
17102
17103 * elf/Makefile: Add rules to build and run unload8 test.
17104 * elf/unload8.c: New file.
17105 * elf/unload8mod1.c: New file.
17106 * elf/unload8mod1x.c: New file.
17107 * elf/unload8mod2.c: New file.
17108 * elf/unload8mod3.c: New file.
17109
17110 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17111 it wasn't used.
17112
17113 2011-08-23 David S. Miller <davem@davemloft.net>
17114
17115 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17116 subtract stack bias.
17117 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17118 %sp not %fp in calculations.
17119 (_JMPBUF_UNWINDS_ADJ): Likewise.
17120
17121 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17122 (aio_suspend): Call it to force an exception region around the
17123 AIO_MISC_WAIT() invocation.
17124
17125 2011-08-23 Andreas Schwab <schwab@redhat.com>
17126
17127 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17128 backslash.
17129
17130 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17131
17132 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17133 protection macro.
17134 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17135 and <dl-machine.h>.
17136 (Elf64_FuncDesc): Remove.
17137
17138 2011-08-22 David S. Miller <davem@davemloft.net>
17139
17140 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17141 sigaltstack check, add missing cfi directives.
17142 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17143 missing cfi directives, and sigaltstack handling.
17144
17145 2011-08-16 Andreas Schwab <schwab@redhat.com>
17146
17147 [BZ #11724]
17148 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17149 object is seen twice.
17150 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17151
17152 * elf/Makefile (distribute): Add tst-initorder2.c.
17153 (tests): Add tst-initorder2.
17154 (modules-names): Add tst-initorder2a tst-initorder2b
17155 tst-initorder2c tst-initorder2d. Add rules to build them.
17156 ($(objpfx)tst-initorder2.out): New rule.
17157 * elf/tst-initorder2.c: New file.
17158 * elf/tst-initorder2.exp: New file.
17159
17160 2011-08-22 Andreas Schwab <schwab@redhat.com>
17161
17162 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17163
17164 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17165 dependencies back to end of function.
17166
17167 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17168 $(elfobjdir)/ld.so.
17169
17170 2011-08-21 Ulrich Drepper <drepper@gmail.com>
17171
17172 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17173 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17174 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17175 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17176 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17177 of __vdso_gettimeofday.
17178 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17179 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17180 attribute_hidden.
17181 (_libc_vdso_platform_setup): Remove initialization of
17182 __vdso_gettimeofday and __vdso_time.
17183
17184 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17185
17186 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17187 and fgetc_unlocked.
17188 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17189 getc_unlocked.
17190
17191 * elf/dl-open.c (add_to_global): Report additions to the global scope
17192 for LD_DEBUG=scopes.
17193 (dl_open_worker): Also print scope of newly loaded dependencies.
17194 (_dl_show_scope): Indicate if there is no scope.
17195
17196 [BZ #13114]
17197 * stdio-common/Makefile (tests): Add bug24.
17198 * stdio-common/bug24.c: New file.
17199
17200 2011-08-19 Andreas Jaeger <aj@suse.de>
17201
17202 [BZ #13114]
17203 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17204 non-existant file when using close-on-exec mode.
17205
17206 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17207
17208 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17209 the very first instruction.
17210
17211 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17212 the CFI state in the end.
17213 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17214 inclusion of dl-trampoline.h.
17215 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17216
17217 2011-08-19 Andreas Schwab <schwab@redhat.com>
17218
17219 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17220 expectations for long double.
17221
17222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17223 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17224
17225 2011-08-14 David S. Miller <davem@davemloft.net>
17226
17227 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17228 artificual limit depends upon the system page size.
17229
17230 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17231
17232 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17233 * resolv/Makefile: Define CFLAGS-libresolv.
17234
17235 2011-08-17 Andreas Schwab <schwab@redhat.com>
17236
17237 * nss/makedb.c (compute_tables): Make variables used in nested
17238 function static.
17239
17240 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17241
17242 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17243 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17244 if buffer was too small.
17245
17246 * elf/pldd.c (main): Attach to all threads in the process.
17247 Rewrite /proc handling to use *at functions.
17248
17249 2011-08-16 Ulrich Drepper <drepper@gmail.com>
17250
17251 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17252 specifies first scope to show.
17253 (dl_open_worker): Update callers. Move printing scope of new
17254 object to before the relocation.
17255 * elf/rtld.c (dl_main): Update _dl_show_scope call.
17256 * sysdeps/generic/ldsodefs.h: Update declaration.
17257
17258 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17259 string for the scope number.
17260
17261 2011-08-14 Ulrich Drepper <drepper@gmail.com>
17262
17263 * nscd/servicescache.c (cache_addserv): Make sure written is always
17264 initialized.
17265
17266 2011-08-14 Roland McGrath <roland@hack.frob.com>
17267
17268 * sysdeps/i386/i486/bits/atomic.h
17269 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17270 statement expression, so as to suppress "set but not used" warning.
17271 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17272
17273 * string/strncat.c (STRNCAT): Use prototype definition.
17274
17275 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17276 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17277 -Iprograms here.
17278 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17279 (localedef-modules): Add localedef.
17280 (locale-modules): Add locale.
17281
17282 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17283 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17284 to avoid a warning.
17285
17286 2011-08-14 David S. Miller <davem@davemloft.net>
17287
17288 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17289 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17290
17291 2011-08-13 Ulrich Drepper <drepper@gmail.com>
17292
17293 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17294 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17295 * elf/rtld.c (dl_main): Set l_name of vDSO.
17296 Call _dl_show_scope when DL_DEBUG_SCOPES.
17297 (process_dl_debug): Recognize scopes flag and also set it for all.
17298 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17299 Declare _dl_show_scope.
17300
17301 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17302 (do_dlopen): Pass caller_dlopen to dl_open.
17303 (__libc_dlopen_mode): Initialize caller_dlopen.
17304
17305 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17306 of libc. Make tolower call locale-independent. Optimize a bit by
17307 using isdigit instead of isalnum.
17308 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17309
17310 2011-08-12 Ulrich Drepper <drepper@gmail.com>
17311
17312 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17313 was a dependency or dynamically loaded.
17314
17315 2011-08-11 Ulrich Drepper <drepper@gmail.com>
17316
17317 * intl/l10nflist.c: Allow architecture-specific pop function.
17318 * sysdeps/x86_64/l10nflist.c: New file.
17319
17320 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17321 classification.
17322
17323 2011-08-10 Andreas Schwab <schwab@redhat.com>
17324
17325 * include/dirent.h: Add libc_hidden_proto for scandirat and
17326 scandirat64. Don't declare __scandirat64.
17327 * dirent/scandirat.c: Add libc_hidden_def.
17328 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17329 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17330
17331 2011-08-10 David S. Miller <davem@davemloft.net>
17332
17333 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17334 enum.
17335 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17336 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17337 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17338
17339 2011-08-09 Ulrich Drepper <drepper@gmail.com>
17340
17341 * Versions.def [libc]: Add GLIBC_2.15.
17342 * dirent/Makefile (routines): Add scandirat and scandirat64.
17343 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17344 GLIBC_2.15.
17345 * dirent/dirent.h: Declare scandirat and scandirat64.
17346 * dirent/scandirat.c: New file.
17347 * dirent/scandirat64.c: New file.
17348 * sysdeps/wordsize-64/scandirat.c: New file.
17349 * sysdeps/wordsize-64/scandirat64.c: New file.
17350 * dirent/opendir.c: Define opendirat.
17351 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17352 using scandirat.
17353 * dirent/scandir64.c: Adjust for scandir.c change.
17354 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17355 __scandirat64, and __scandir_cancel_handler.
17356 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17357 additional parameter and use openat instead of open (outside of ld.so).
17358 Add new __opendir as wrapper around __opendirat.
17359 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17360 here without requiring old scandirat implementation.
17361
17362 2011-08-08 Ulrich Drepper <drepper@gmail.com>
17363
17364 * dirent/scandir.c (cancel_handler): Renamed to
17365 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17366 defined. Adjust users.
17367 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17368 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17369
17370 2011-08-04 Ulrich Drepper <drepper@gmail.com>
17371
17372 * string/test-string.h (IMPL): Use __STRING to expand name and then
17373 stringify it.
17374
17375 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17376 of cleanups.
17377
17378 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17379
17380 * string/Makefile: Update.
17381 (strop-tests): Append strncat.
17382 * string/test-wcscmp.c: New file.
17383 New comprehensive test for wcscmp.
17384 * string/test-strcmp.c: Update.
17385 (WIDE): New define.
17386
17387 2011-07-22 Andreas Schwab <schwab@redhat.com>
17388
17389 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17390 line.
17391
17392 2011-07-26 Andreas Schwab <schwab@redhat.com>
17393
17394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17395 encoding to ACE if AI_IDN.
17396
17397 2011-08-01 Jakub Jelinek <jakub@redhat.com>
17398
17399 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17400 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17401
17402 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17403
17404 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17405 Fix overflow bug in strncat.
17406 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17407
17408 * string/test-strncat.c: Update.
17409 Add new tests for checking overflow bugs.
17410
17411 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17412
17413 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17414 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17415 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17416 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17417 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17418 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17419 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17420 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17421 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17422
17423 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17424 (USE_AS_STRCAT): Define.
17425 Add strcat and strncat support.
17426 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17427
17428 2011-07-25 Andreas Schwab <schwab@redhat.com>
17429
17430 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17431 __n bigger than INT_MAX+1.
17432 (__strncmp_g): Likewise.
17433
17434 2011-07-23 Ulrich Drepper <drepper@gmail.com>
17435
17436 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17437 * libio/stido.h: Likewise.
17438
17439 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17440 (AF_NFC): Define.
17441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17442 (AF_NFC): Define.
17443
17444 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17445 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17446 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17447 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17448 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17449
17450 [BZ #13021]
17451 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17452 installed.
17453
17454 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17455 typo.
17456 (_dl_x86_64_save_sse): Likewise.
17457
17458 2011-07-22 Ulrich Drepper <drepper@gmail.com>
17459
17460 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17461 OSXSAVE.
17462 (_dl_x86_64_save_sse): Likewise.
17463
17464 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17465
17466 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17467
17468 2011-07-21 Andreas Schwab <schwab@redhat.com>
17469
17470 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17471 change.
17472 (_dl_x86_64_save_sse): Use correct AVX check.
17473
17474 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17475
17476 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17477 bug in strncpy/strncat.
17478 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17479
17480 2011-07-21 Ulrich Drepper <drepper@gmail.com>
17481
17482 * string/tester.c (test_strcat): Add tests for different alignments
17483 of source and destination.
17484 (test_strncat): Likewise.
17485
17486 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17487
17488 [BZ #12852]
17489 * posix/glob.c (glob): Check passed in values before using them in
17490 expressions to avoid some overflows.
17491 (glob_in_dir): Likewise.
17492
17493 [BZ #13007]
17494 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17495 check for AVX enablement so that we don't crash with old kernels and
17496 new hardware.
17497 * elf/tst-audit4.c: Add same checks here.
17498 * elf/tst-audit6.c: Likewise.
17499
17500 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
17501
17502 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17503
17504 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17505
17506 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17507
17508 * po/cs.po: Update from translation team.
17509 * po/bg.po: Likewise.
17510
17511 2011-07-12 Marek Polacek <mpolacek@redhat.com>
17512
17513 * misc/sys/cdefs.h: Add support for const attribute.
17514 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17515 to gnu_dev_{major,minor,makedev} functions.
17516
17517 2011-07-20 Marek Polacek <mpolacek@redhat.com>
17518
17519 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17520
17521 2011-07-20 Andreas Schwab <schwab@redhat.com>
17522
17523 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17524 strlen results.
17525
17526 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17527
17528 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17529 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17530 register in order to avoid conflicts with the soft frame pointer
17531 being held in r11 when necessary.
17532 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17533 (INTERNAL_VSYSCALL_NCS): Likewise.
17534
17535 2011-07-14 Marek Polacek <mpolacek@redhat.com>
17536
17537 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17538 * elf/dl-fini.c (_dl_fini): Adjust caller.
17539 * elf/dl-close.c (_dl_close_worker): Likewise.
17540 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17541
17542 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17543
17544 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17545 "aux_cache->nlibs < 0".
17546
17547 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17548 in the reload-count case.
17549
17550 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17551
17552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17553 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17554 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17555 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17556 * sysdeps/x86_64/multiarch/strcat.S: New file.
17557 * sysdeps/x86_64/multiarch/strncat.S: New file.
17558 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17559 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17560 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17561 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17562 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17563 (USE_AS_STRCAT): Define.
17564 Add strcat and strncat support.
17565 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17566 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17567 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17568 * string/strncat.c: Update.
17569 (USE_AS_STRNCAT): Define.
17570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17571 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17572 and i7.
17573 * sysdeps/x86_64/multiarch/init-arch.h
17574 (bit_Prefer_PMINUB_for_stringop): New.
17575 (index_Prefer_PMINUB_for_stringop): Likewise.
17576 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17577 bit_Prefer_PMINUB_for_stringop.
17578
17579 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17580
17581 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17582 buffer64.
17583 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17584 of casting of buffer.
17585 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17586 buffer32 and buffer64.
17587 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17588 writes instead of casting of buffer.
17589 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17590 buffer32.
17591 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17592 casting of buffer.
17593
17594 2011-07-19 Andreas Schwab <schwab@redhat.com>
17595
17596 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17597
17598 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17599
17600 * nscd/nscd.c (termination_handler): Don't do anything for a database
17601 if it has not yet been initialized.
17602
17603 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17604
17605 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17606
17607 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17608
17609 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17610
17611 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17612
17613 * po/nl.po: Update from translation team.
17614 * po/sv.po: Likewise.
17615
17616 2011-07-16 Roland McGrath <roland@hack.frob.com>
17617
17618 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17619 now disallowed by GCC.
17620
17621 * configure.in (use-default-link): Default to yes if a test -shared
17622 link meets our qualifications.
17623 * configure: Regenerated.
17624
17625 * config.make.in (output-format): New variable.
17626 * configure.in: Check for ld --print-output-format support.
17627 * configure: Regenerated.
17628 * Makerules ($(common-objpfx)format.lds)
17629 [$(output-format) != unknown]: Just use $(output-format),
17630 instead of the linker-script munging.
17631
17632 2011-07-14 Roland McGrath <roland@hack.frob.com>
17633
17634 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17635 of $(common-objpfx)shlib.lds.
17636 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17637
17638 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17639 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17640
17641 * configure.in (-z relro check): Adjust test code to add a large
17642 writable data section after it.
17643 * configure: Regenerated.
17644
17645 2011-07-11 Roland McGrath <roland@hack.frob.com>
17646
17647 * configure.in (-z relro check): Fix test code to make the variable
17648 truly const.
17649 * configure: Regenerated.
17650
17651 2011-07-11 Ulrich Drepper <drepper@gmail.com>
17652
17653 * nscd/nscd.h (struct traced_file): Define.
17654 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17655 elements. Add traced_files.
17656 (inotify_fd): Declare.
17657 (register_traced_file): Declare.
17658 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17659 (inotify_fd): Export.
17660 (resolv_conf_descr): Remove.
17661 (nscd_init): Move inotify descriptor creation to main.
17662 Don't register files for notification here.
17663 (register_traced_file): New function.
17664 (invalidate_cache): Don't use reset_res to determine whether to call
17665 res_init, go through the list of registered files.
17666 (main_loop_poll): The inotify descriptors are now stored in the
17667 structures for the traced files.
17668 (main_loop_epoll): Likewise
17669 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17670 to __nss_disable_nscd.
17671 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17672 for a database anymore. Check the records for all the registered
17673 files instead.
17674 * nss/Makefile (libnss_files-routines): Add files-init.
17675 (libnss_db-routines): Add db-init.
17676 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17677 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17678 * nss/nss_db/db-init.c: New file.
17679 * nss/nss_files/files-init.c: New file.
17680 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17681 __nss_lookup_function.
17682 (__nss_lookup_function): Call nss_load_library.
17683 (nss_load_all_libraries): New function.
17684 (__nss_disable_nscd): Take parameter with callback function for files
17685 to register. Set is_nscd. Load all the DSOs for the NSS modules
17686 used for the cached services.
17687 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17688 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17689 options for features to all the files in nscd.
17690
17691 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17692
17693 2011-07-10 Roland McGrath <roland@hack.frob.com>
17694
17695 * csu/elf-init.c (__libc_csu_init): Comment typo.
17696
17697 2011-07-09 Ulrich Drepper <drepper@gmail.com>
17698
17699 * po/pl.po: Update from translation team.
17700 * po/ja.po: Likewise.
17701 * po/ru.po: Likewise.
17702 * po/ko.po: Likewise.
17703 * po/fr.po: Likewise.
17704
17705 2011-07-09 Roland McGrath <roland@hack.frob.com>
17706
17707 * configure.in (.ctors/.dtors header and trailer check):
17708 Use an empirical test on a built program.
17709 * configure: Regenerated.
17710
17711 * configure.in (-z relro check): Use an empirical test on a built DSO.
17712 Detect, but do not require, on ia64.
17713 * configure: Regenerated.
17714
17715 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17716 Update tests that use readelf to use $READELF instead.
17717 * configure: Regenerated.
17718
17719 2011-07-08 Ulrich Drepper <drepper@gmail.com>
17720
17721 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17722 if the result is not used.
17723
17724 2011-07-05 Andreas Jaeger <aj@suse.de>
17725
17726 [BZ#9696]
17727 * stdlib/tst-strtod.c: Add testcase.
17728
17729 2011-07-07 Ulrich Drepper <drepper@gmail.com>
17730
17731 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17732 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17733 The latter has a higher limit. Take additional parameter to pass to
17734 the new function.
17735 (__pathconf): Pass file to __statfs_link_max.
17736 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17737 __statfs_link_max.
17738 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17739 __statfs_link_max.
17740
17741 [BZ #12868]
17742 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17743 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17744 Handle Lustre.
17745 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17746 (__statfs_filesize_max): Likewise.
17747 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17748
17749 2011-07-05 Andreas Jaeger <aj@suse.de>
17750
17751 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17752
17753 2011-07-06 Marek Polacek <mpolacek@redhat.com>
17754
17755 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17756 `status' variable.
17757 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17758 Likewise.
17759
17760 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17761
17762 * Makefile (strop-tests): Add strncat.
17763 * string/test-strncat.c: New file.
17764
17765 2011-06-30 Marek Polacek <mpolacek@redhat.com>
17766
17767 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17768
17769 2011-06-21 Andreas Jaeger <aj@suse.de>
17770
17771 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17772 Copy rule from iconvdata/Makefile.
17773
17774 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17775
17776 [BZ #12922]
17777 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17778 but no long options are defined, just return 'W'.
17779
17780 2011-06-22 Marek Polacek <mpolacek@redhat.com>
17781
17782 [BZ #9696]
17783 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17784
17785 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17786
17787 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17788 netgroups to read.
17789 (innetgr): Likewise.
17790
17791 2011-07-05 Roland McGrath <roland@hack.frob.com>
17792
17793 * config.make.in (install_root): Default to $(DESTDIR).
17794
17795 2011-07-05 Ulrich Drepper <drepper@gmail.com>
17796
17797 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17798
17799 2011-07-02 Roland McGrath <roland@hack.frob.com>
17800
17801 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17802
17803 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17804 containing directory rather than embedding absolute directory names.
17805
17806 * scripts/check-local-headers.sh: Rewritten using awk.
17807 Match by word, not by line. Print error messages for matches.
17808 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17809
17810 * Makerules [shlib-lds-flags empty]:
17811 ($(common-objpfx)libc_pic.opts): New target.
17812 ($(common-objpfx)libc_pic.os.clean): New target.
17813 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17814
17815 * config.make.in (OBJCOPY): New variable.
17816 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17817 * configure: Regenerated.
17818
17819 * config.make.in (use-default-link): New variable.
17820 * configure.in (use_default_link): Grok --with-default-link to set it.
17821 * configure: Regenerated.
17822 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17823 (shlib-lds, shlib-lds-flags): Define to empty.
17824
17825 * Makerules (shlib-lds): New variable.
17826 (shlib-lds-flags): New variable.
17827 (build-shlib, build-moduile, build-module-asneeded): Use it.
17828 ($(common-objpfx)libc.so): Use $(shlib-lds).
17829 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17830 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17831
17832 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17833 DT_FLAGS/DT_FLAGS_1 with zero flags.
17834
17835 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17836 linker script munging.
17837
17838 2011-07-02 Ulrich Drepper <drepper@gmail.com>
17839
17840 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17841 as 128-bit value.
17842 * crypt/sha512.c (sha512_process_block): Perform total addition using
17843 128-bit if possible.
17844 (__sha512_finish_ctx): Likewise.
17845 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17846 as 64-bit value.
17847 * crypt/sha256.c (SWAP64): Define.
17848 (sha256_process_block): Perform total addition using 64-bit if
17849 possible.
17850 (__sha256_finish_ctx): Likewise.
17851
17852 2011-07-01 Ulrich Drepper <drepper@gmail.com>
17853
17854 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17855 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17856 * nscd/hstcache.c (cache_addhst): Likewise.
17857 * nscd/grpcache.c (cache_addgr): Likewise.
17858 * nscd/aicache.c (addhstaiX): Likewise
17859 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17860
17861 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
17862
17863 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17864 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17865 * nscd/hstcache.c (cache_addhst): Likewise.
17866 * nscd/grpcache.c (cache_addgr): Likewise.
17867 * nscd/aicache.c (addhstaiX): Likewise
17868
17869 2011-07-01 Andreas Schwab <schwab@redhat.com>
17870
17871 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17872 domain only when needed.
17873
17874 2011-06-30 Andreas Schwab <schwab@redhat.com>
17875
17876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17877 is always restored.
17878
17879 2011-06-29 Ulrich Drepper <drepper@gmail.com>
17880
17881 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17882 are re-adding the entry.
17883 * nscd/servicescache.c (cache_addserv): Likewise.
17884
17885 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17886
17887 * sysdeps/generic/dl-irel.h: fix protection against multiple
17888 inclusions.
17889 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17890
17891 2011-06-28 Ulrich Drepper <drepper@gmail.com>
17892
17893 [BZ #12935]
17894 * malloc/memusage.sh: Fix quoting in message.
17895 * debug/xtrace.sh: Likewise.
17896
17897 * configure.in: Remove support for --experimental-malloc option, make
17898 it the default.
17899 * config.make.in: Likewise.
17900 * malloc/Makefile: Likewise.
17901
17902 2011-06-27 Andreas Schwab <schwab@redhat.com>
17903
17904 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17905 two-byte characters.
17906
17907 2011-06-27 Roland McGrath <roland@hack.frob.com>
17908
17909 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17910 AC_CACHE_CHECK invocation.
17911 * configure: Regenerated.
17912
17913 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17914
17915 2011-06-27 Ulrich Drepper <drepper@gmail.com>
17916
17917 [BZ #12350]
17918 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17919 bit from old_res_options.
17920
17921 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17922
17923 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17924 value type for setfct.
17925
17926 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17927
17928 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17929 __gettimeofday instead of gettimeofday.
17930
17931 2011-06-26 Ulrich Drepper <drepper@gmail.com>
17932
17933 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17934
17935 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17936
17937 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17938
17939 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17940 info.
17941
17942 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17943
17944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17945 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17946 strcpy-sse2-unaligned strncpy-sse2-unaligned
17947 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17948 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17949 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17950 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17951 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17952 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17953 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17954 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17955 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17956 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17957 (STRCPY): Support SSE2 and SSSE3 versions.
17958
17959 2011-06-24 Ulrich Drepper <drepper@gmail.com>
17960
17961 [BZ #12874]
17962 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17963 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17964 kernels which artificially limit size of requests.
17965
17966 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17967
17968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17969 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17970 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17971 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17972 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17973 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17974 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17975 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17976 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17977 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17978 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17979 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17980 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17981 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17982 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17984 Enable unaligned load optimization for Intel Core i3, i5 and i7
17985 processors.
17986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17987 Define.
17988 (index_Fast_Unaligned_Load): Define.
17989 (HAS_FAST_UNALIGNED_LOAD): Define.
17990
17991 2011-06-23 Marek Polacek <mpolacek@redhat.com>
17992
17993 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17994
17995 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17996
17997 [BZ #12907]
17998 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17999 until it is clear that the information is realy needed.
18000 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
18001
18002 2011-06-22 Andreas Schwab <schwab@redhat.com>
18003
18004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
18005
18006 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18007
18008 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18009 /sys/devices/system/cpu/online if it is usable.
18010
18011 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18012 reading the information from the /proc filesystem to once a second.
18013
18014 2011-06-21 Andreas Jaeger <aj@suse.de>
18015
18016 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18017 NULL after inclusion of kernel headers.
18018
18019 2011-06-21 Ulrich Drepper <drepper@gmail.com>
18020
18021 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18022 calls to internal_setent.
18023
18024 [BZ #12885]
18025 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18026 addresses using gethostbyname4_r ignore IPv4 addresses.
18027
18028 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18029 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18030
18031 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18032
18033 2011-06-20 David S. Miller <davem@davemloft.net>
18034
18035 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18036 inclusions.
18037 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18038
18039 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18040 (elf_irel): Use it.
18041 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18042 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18043 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18044 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18045 * sysdeps/x86_64/dl-irel.h: Likewise.
18046
18047 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18048 * elf/dl-sym.c: Likewise.
18049
18050 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18051
18052 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18053 need to dereference resplen2.
18054
18055 2011-06-14 Andreas Schwab <schwab@redhat.com>
18056
18057 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18058
18059 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18060
18061 * Makeconfig: Define vardbdir and inst_vardbdir.
18062 * nss/Makefile: Add rules to install db-Makefile.
18063
18064 * nss/nss_db/db-XXX.c: Cleanup.
18065
18066 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18067 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18068 GLIBC_PRIVATE.
18069 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18070 * nss/makedb.c: Implement -g option to specify that value strings
18071 are generated and should not be added to table iterated over for
18072 get*ent calls.
18073 * nss/nss_db/db-initgroups.c: New file.
18074
18075 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18076 interface.
18077
18078 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18079 (internal_getgrouplist): Adjust to name change.
18080 Update use_initgroups_entry if this is not the first call.
18081 * nss/databases.def: Add initgroups entry.
18082
18083 * nss/makedb.c (compute_tables): Check result of multiple hash table
18084 sizes to minimize maximum chain length.
18085
18086 2011-06-14 Ulrich Drepper <drepper@gmail.com>
18087
18088 * Versions.def: Add entry for libnss_db.
18089 * shlib-versions: Likewise.
18090 * nss/Makefile: Add rules to build libnss_db.
18091 * nss/Versions: Add libnss_db information. Organize libnss_files
18092 entries better.
18093 * nss/db-Makefile: Add gshadow support. Change rules for the new
18094 makedb progra. Some minor improvements to generate smaller files.
18095 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18096 here from...
18097 * nss/makedb.c: ...here.
18098 Improve database format to be smaller and require less memory at
18099 runtime.
18100 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18101 db anymore.
18102 * nss/nss_db/db-netgrp.c: Likewise.
18103 * nss/nss_db/db-open.c: Likewise.
18104 * nss/nss_files/flies-XXX.x: Adjust comments.
18105 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18106 * nss/nss_files/files-grp.c: Likewise.
18107 * nss/nss_files/files-hosts.c: Likewise.
18108 * nss/nss_files/files-network.c: Likewise.
18109 * nss/nss_files/files-proto.c: Likewise.
18110 * nss/nss_files/files-pwd.c: Likewise.
18111 * nss/nss_files/files-rpc.c: Likewise.
18112 * nss/nss_files/files-service.c: Likewise.
18113 * nss/nss_files/files-sgrp.c: Likewise.
18114 * nss/nss_files/files-spwd.c: Likewise.
18115 * nss/nss_db/db-alias.c: Removed.
18116 * nss/nss_db/dummy-db.h: Removed.
18117
18118 2011-06-02 Ulrich Drepper <drepper@gmail.com>
18119
18120 * nss/makedb.c: Rewritten to not use database library.
18121 * nss/Makefile: Update to build new makedb program.
18122
18123 2011-06-14 Andreas Jaeger <aj@suse.de>
18124
18125 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18126 memset declaration.
18127
18128 2011-06-10 Andreas Schwab <schwab@redhat.com>
18129
18130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18131 tmpbuf.
18132
18133 2011-06-10 Roland McGrath <roland@hack.frob.com>
18134
18135 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18136 * elf/Makefile ($(objpfx)ld.so): Likewise.
18137
18138 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18139 Don't list ld.so twice in dependencies.
18140
18141 * posix/bug-regex31.c: Include <stdlib.h>.
18142
18143 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18144
18145 * nis/nss_compat/compat-spwd.c
18146 (getspent_next_nss_netgr): Remove unused variable.
18147 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18148
18149 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18150 nonmembers" output to use the right array.
18151
18152 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18153
18154 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18155
18156 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18157 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18158 * catgets/gencat.c (read_input_file): Likewise.
18159 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18160
18161 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18162 variable definition inside #if's controlling its use.
18163
18164 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18165
18166 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18167
18168 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18169
18170 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18171 unreachable code.
18172
18173 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18174
18175 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18176 * configure: Regenerated.
18177
18178 * Makerules: Revert last change.
18179 * elf/Makefile: Likewise.
18180
18181 2011-06-09 Roland McGrath <roland@hack.frob.com>
18182
18183 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18184 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18185 (reloc-link): Likewise.
18186
18187 2011-06-09 Ulrich Drepper <drepper@gmail.com>
18188
18189 * elf/Makefile: Add rules to build pldd.
18190 * elf/pldd.c: New file.
18191 * elf/pldd-xx.c: New file.
18192
18193 2011-06-07 Ulrich Drepper <drepper@gmail.com>
18194
18195 * version.h: Update for 2.15 development version.
18196
18197 2011-06-07 David S. Miller <davem@davemloft.net>
18198
18199 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18200 ifuncs.
18201 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18202 elf_machine_lazy_rel): Likewise.
18203 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18204 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18205 elf_machine_lazy_rel): Likewise.
18206 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18207 dl_hwcap via passed in argument.
18208 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18209 Likewise.
18210
18211 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18212
18213 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18214
18215 2011-06-06 Roland McGrath <roland@hack.frob.com>
18216
18217 [BZ #12849]
18218 * manual/fdl-1.1.texi: New file, verbatim from:
18219 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18220 * manual/lgpl-2.1.texi: New file, verbatim from:
18221 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18222 * manual/Makefile (licenses): New variable, list those new file names.
18223 (texis): Use it.
18224 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18225
18226 * manual/fdl.texi: File removed.
18227 * manual/lesser.texi: File removed.
18228 * manual/libc.texinfo (Copying, Documentation License):
18229 Use new @include file names, put @appendix directive before @include.
18230
18231 2011-06-04 Jakub Jelinek <jakub@redhat.com>
18232
18233 [BZ #12841]
18234 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18235 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18236 (mq_open): Add __NTH.
18237
18238 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18239
18240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18241 Assume Intel Core i3/i5/i7 processor if AVX is available.
18242
18243 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18244
18245 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18246 typo.
18247
18248 2011-05-31 Andreas Schwab <schwab@redhat.com>
18249
18250 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18251 memory. Use alloca_account. Fix memory leak when retrying.
18252
18253 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18254
18255 * version.h (RELEASE): Bump for 2.14 release.
18256 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18257
18258 * config.make.in (RANLIB): Remove entry.
18259
18260 2011-05-30 Ulrich Drepper <drepper@gmail.com>
18261
18262 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18263 (libc.pot): Work around missing support for .ksh extension in xgettext.
18264
18265 [BZ #12684]
18266 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18267 if both request failed.
18268 (send_dg): In case of server errors clear resplen or *resplen2.
18269
18270 [BZ #12454]
18271 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18272 when there are multiple maps.
18273 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18274 (_dl_fini): Remove test here.
18275
18276 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18277
18278 2011-05-29 Ulrich Drepper <drepper@gmail.com>
18279
18280 [BZ #12350]
18281 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18282 bit from old_res_options.
18283 (gaih_inet): Likewise.
18284
18285 [BZ #11099]
18286 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18287 as signed.
18288
18289 * resolv/res_init.c (res_setoptions): Make the code more compact.
18290
18291 [BZ #11558]
18292 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18293 set RES_USEVC.
18294
18295 [BZ #11634]
18296 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18297
18298 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18299
18300 [BZ #11781]
18301 * malloc/malloc.h: Declare malloc hook variables as volatile.
18302
18303 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18304 in last patch.
18305
18306 [BZ #11799]
18307 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18308 raise in the comment.
18309 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18310 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18311 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18312
18313 2011-05-28 Ulrich Drepper <drepper@gmail.com>
18314
18315 [BZ #12811]
18316 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18317 grow the buffers more if it already has to be sufficient.
18318 (build_wcs_upper_buffer): Likewise.
18319 * posix/regexec.c (check_matching): Likewise.
18320 (clean_state_log_if_needed): Likewise.
18321 (extend_buffers): Don't enlarge buffers beyond size of the input
18322 buffer.
18323 Patches mostly by Emil Wojak <emil@wojak.eu>.
18324 * posix/bug-regex32.c: New file.
18325 * posix/Makefile (tests): Add bug-regex32.
18326
18327 * locale/findlocale.c (_nl_find_locale): Return right away if
18328 _nl_explode_name failed.
18329 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18330
18331 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18332
18333 * debug/xtrace.sh: Unify messages.
18334 * malloc/memusage.sh: Likewise.
18335
18336 [BZ #12813]
18337 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18338 time symbol from vDSO. Substitute with vsyscall if not available.
18339 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18340 __vdso_time.
18341
18342 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18343 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18344 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18345 Add sendmmsg and internal_sendmmsg.
18346 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18347 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18348 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18349
18350 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18351 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18352 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18353
18354 2011-05-27 Ulrich Drepper <drepper@gmail.com>
18355
18356 [BZ #12813]
18357 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18358 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18359 available.
18360 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18361 __vdso_getcpu.
18362
18363 [BZ #12814]
18364 * iconvdata/Makefile (tests): Add bug-iconv9.
18365 * iconvdata/bug-iconv9.c: New file.
18366
18367 2011-05-27 Andreas Schwab <schwab@redhat.com>
18368
18369 [BZ #12814]
18370 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18371
18372 2011-05-25 Jakub Jelinek <jakub@redhat.com>
18373
18374 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18375 (struct user_regs_struct): Change intcs field back to cs.
18376
18377 2011-05-25 Ulrich Drepper <drepper@gmail.com>
18378
18379 * po/ja.po: Update from translation team.
18380
18381 2011-05-23 Ulrich Drepper <drepper@gmail.com>
18382
18383 [BZ #12795]
18384 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18385 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18386
18387 2011-05-20 Andreas Schwab <schwab@redhat.com>
18388
18389 * stdlib/longlong.h: Update from GCC.
18390
18391 2011-05-23 Andreas Schwab <schwab@redhat.com>
18392
18393 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18394 parameter name.
18395 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18396 Add parameter name.
18397 (__sysconf): Pass it down.
18398
18399 2011-05-22 Ulrich Drepper <drepper@gmail.com>
18400
18401 [BZ #12671]
18402 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18403 some situations.
18404 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18405 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18406 add in in __libc_use_alloca calls. Adjust callers.
18407 (glob): Use malloc in some situations.
18408
18409 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18410 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18411 pltexit.
18412
18413 2011-05-21 Ulrich Drepper <drepper@gmail.com>
18414
18415 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18416 and CLOCK_BOOTTIME_ALARM.
18417
18418 [BZ #12782]
18419 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18420 is returned.
18421
18422 * string/_strerror.c (__strerror_r): Print negative errors as signed
18423 numbers.
18424
18425 [BZ #12777]
18426 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18427 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18428 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18429
18430 * configure.in: Fix typo in redirection and correct removal of test
18431 files in two cases.
18432
18433 [BZ #12788]
18434 * locale/setlocale.c (new_composite_name): Fix test to check for
18435 identical name of all categories.
18436
18437 [BZ #12792]
18438 * libio/filedoalloc.c (local_isatty): New function.
18439 (_IO_file_doallocate): Use local_isatty.
18440 * stdio-common/perror.c (perror): In case a new stream is used
18441 forward the stream error.
18442 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18443 error flag.
18444
18445 2011-05-20 Ulrich Drepper <drepper@gmail.com>
18446
18447 [BZ #11869]
18448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18449 alloca.
18450 * include/alloca.h (extend_alloca_account): Define.
18451
18452 [BZ #11857]
18453 * posix/regex.h: Fix comments with documentation of user-accessible
18454 fields after compilation and describe correct free'ing of pattern
18455 after re_compile_pattern.
18456 Patch by Reuben Thomas <rrt@sc3d.org>.
18457
18458 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18459
18460 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18461 and -mno-altivec to prevent the compiler from using Altivec and/or
18462 VSX instructions when the corresponding registers are not available.
18463
18464 2011-05-19 Andreas Schwab <schwab@redhat.com>
18465
18466 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18467
18468 2011-05-19 Ulrich Drepper <drepper@gmail.com>
18469
18470 * libio/freopen.c (freopen): Use __dup2, not dup2.
18471 * libio/freopen64.c (freopen64): Likewise.
18472
18473 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18474
18475 [BZ #12775]
18476 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18477 * math/Makefile (tests): Add test-powl.
18478 (CFLAGS-test-powl.c): Define.
18479 * math/test-powl.c: New file.
18480
18481 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18482
18483 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18484
18485 2011-05-17 Ulrich Drepper <drepper@gmail.com>
18486
18487 [BZ #11837]
18488 * iconvdata/gb18030.c: Update to GB18020-2005.
18489
18490 2011-05-16 Ulrich Drepper <drepper@gmail.com>
18491
18492 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18493 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18494 Patch by Aharon Robbins <arnold@skeeve.com>.
18495
18496 [BZ #11892]
18497 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18498 on the stack.
18499
18500 [BZ #11895]
18501 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18502 through underflows.
18503
18504 [BZ #12766]
18505 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18506 point to strings before performing equality test for error_one_per_line
18507 mode.
18508
18509 [BZ #11697]
18510 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18511
18512 [BZ #11820]
18513 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18514 (struct user_fpregs_struct): Avoid __uint*_t types.
18515
18516 [BZ #6420]
18517 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18518 symbol info. Use it instead of calling _dl_addr locally.
18519 (lock_and_info): New function.
18520 (tr_freehook): Call lock_and_info and pass symbol info as additional
18521 parameter to tr_where.
18522 (tr_mallochook): Likewise.
18523 (tr_reallochook): Likewise.
18524 (tr_memalignhook): Likewise.
18525
18526 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18527 used and couldn't be at all thread-safe.
18528
18529 2011-05-15 Ulrich Drepper <drepper@gmail.com>
18530
18531 * libio/freopen.c (freopen): Don't close old file descriptor
18532 before the new one is opened. Instead dup the new file descriptor
18533 to the old one after the new stream is created.
18534 * libio/freopen64.c (freopen64): Likewise.
18535 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18536 * libio/fileops.c (_IO_new_file_close_it): Handle new
18537 _IO_FLAGS2_NOCLOSE flag.
18538 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18539 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18540 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18541 _IO_FLAGS2_NOCLOSE flag.
18542 * include/unistd.h: Add hidden_proto for dup3.
18543 Define __have_dup3.
18544 * io/dup3.c: Define hidden symbol.
18545 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18546
18547 [BZ #7101]
18548 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18549 when an incomplete long option is used.
18550 * posix/tst-getopt_long1.c: New file.
18551 * posix/Makefile (tests): Add tst-getopt_long1.
18552
18553 [BZ #10138]
18554 * scripts/config.guess: Update from autoconf-2.68.
18555 * scripts/config.sub: Likewise.
18556
18557 [BZ #10157]
18558 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18559 tests into ...
18560 (has_cpuclock): ...this. New function.
18561 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18562 macro here based on has_cpuclock code.
18563
18564 [BZ #10149]
18565 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18566 First byte (not low byte) is now always NUL.
18567 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18568
18569 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18570 Use non-cancelable interfaces.
18571
18572 [BZ #9809]
18573 * locale/iso-639.def: Add entry for Sorani.
18574
18575 [BZ #11901]
18576 * include/stdlib.h: Move include protection to the right place.
18577 Define abort_msg_s. Declare __abort_msg with it.
18578 * stdlib/abort.c (__abort_msg): Adjust type.
18579 * assert/assert.c (__assert_fail_base): New function. Majority
18580 of code from __assert_fail. Allocate memory for __abort_msg with
18581 mmap.
18582 (__assert_fail): Now call __assert_fail_base.
18583 * assert/assert-perr.c: Remove bulk of implementation. Use
18584 __assert_fail_base.
18585 * include/assert.hL Declare __assert_fail_base.
18586 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18587 mmap.
18588 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18589
18590 2011-05-14 Ulrich Drepper <drepper@gmail.com>
18591
18592 [BZ #11952]
18593 [BZ #12453]
18594 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18595 until all modules are registered in the DTV.
18596 * elf/Makefile: Add rules to build and run tst-tls19.
18597 * elf/tst-tls19.c: New file.
18598 * elf/tst-tls19mod1.c: New file.
18599 * elf/tst-tls19mod2.c: New file.
18600 * elf/tst-tls19mod3.c: New file.
18601 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18602
18603 [BZ #12083]
18604 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18605 correctly.
18606
18607 [BZ #12601]
18608 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18609 two-byte sequence errors.
18610 * iconvdata/Makefile (tests): Add bug-iconv8.
18611 * iconvdata/bug-iconv8.c: New file.
18612
18613 [BZ #12626]
18614 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18615 buf2 definition.
18616
18617 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18618
18619 [BZ #12432]
18620 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18621 (dummy_getcfa): New function.
18622 (init): Get _Unwind_GetCFA address, use dummy if not found.
18623 (backtrace_helper): In recursion check, also check whether CFA changes.
18624 (__backtrace): Completely initialize arg.
18625
18626 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18627 storing incomplete byte sequence in state object. Avoid testing for
18628 guaranteed too small input if we know there is enough data available.
18629
18630 2011-05-11 Andreas Schwab <schwab@redhat.com>
18631
18632 * Makeconfig (+link-pie): Indent.
18633 * Rules (binaries-pie): Define if $(have-fpie) and
18634 $(build-shared).
18635 (binaries-shared): Also filter out $(binaries-pie).
18636 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18637 * nscd/Makefile (others-pie): Add nscd.
18638 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18639 ($(objpfx)nscd): Remove command override.
18640 * login/Makefile (others-pie): Add pt_chown.
18641 ($(objpfx)pt_chown): Remove command override.
18642 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18643 remove command overrides.
18644
18645 2011-05-13 Ulrich Drepper <drepper@gmail.com>
18646
18647 * libio/tst_putwc.c: Fix error messages.
18648
18649 [BZ #12724]
18650 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18651 currently writing and seek to current position when not.
18652 * libio/Makefile (tests): Add bug-fclose1.
18653 * libio/bug-fclose1.c: New file.
18654
18655 2011-05-12 Ulrich Drepper <drepper@gmail.com>
18656
18657 [BZ #12511]
18658 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18659 don't set DF_1_NODELETE here.
18660 (do_lookup_x): When entering new entry test for copy relocation
18661 and if necessary set DF_1_NODELETE flag.
18662 * elf/tst-unique4.cc: New file.
18663 * elf/tst-unique4.h: New file.
18664 * elf/tst-unique4lib.cc: New file.
18665 * elf/Makefile: Add rules to build and run tst-unique4.
18666 Patch by Piotr Bury <pbury@goahead.com>.
18667
18668 2011-05-11 Ulrich Drepper <drepper@gmail.com>
18669
18670 [BZ #12052]
18671 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18672
18673 [BZ #12625]
18674 * misc/mntent_r.c (addmntent): Flush the stream after the output
18675
18676 [BZ #12393]
18677 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18678 (is_trusted_path_normalize): Skip initial colon. Append slash
18679 to empty buffer. Duplicate is_trusted_path code but allow
18680 constructed patch to be prefix.
18681 (is_dst): Allow $ORIGIN followed by /.
18682 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18683 Correct testing of result of is_trusted_path_normalize
18684 (decompose_rpath): Fix warning.
18685
18686 2011-05-10 Ulrich Drepper <drepper@gmail.com>
18687
18688 [BZ #11257]
18689 * grp/initgroups.c (internal_getgrouplist): When we found the service
18690 list through the initgroups entry in nsswitch.conf do not always
18691 continue on a successful lookup. Don't always use the
18692 __nss_group_database value if it is set.
18693 * nss/nsswitch.conf (initgroups): Change action for successful db
18694 lookup to continue for compatibility.
18695
18696 2011-05-09 Ulrich Drepper <drepper@gmail.com>
18697
18698 [BZ #11532]
18699 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18700 and CP774 modules.
18701 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18702 and CP774 modules.
18703 * iconvdata/tst-tables.sh: Likewise.
18704 * iconvdata/cp770.c: New file.
18705 * iconvdata/cp771.c: New file.
18706 * iconvdata/cp772.c: New file.
18707 * iconvdata/cp773.c: New file.
18708 * iconvdata/cp774.c: New file.
18709 * iconvdata/testdata/CP770: New file.
18710 * iconvdata/testdata/CP770..UTF8: New file.
18711 * iconvdata/testdata/CP771: New file.
18712 * iconvdata/testdata/CP771..UTF8: New file.
18713 * iconvdata/testdata/CP772: New file.
18714 * iconvdata/testdata/CP772..UTF8: New file.
18715 * iconvdata/testdata/CP773: New file.
18716 * iconvdata/testdata/CP773..UTF8: New file.
18717 * iconvdata/testdata/CP774: New file.
18718 * iconvdata/testdata/CP774..UTF8: New file.
18719
18720 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18721 END CHARMAP line.
18722 * iconvdata/gen-8bit-gap.sh: Likewise.
18723 * iconvdata/gen-8bit.sh: Likewise.
18724
18725 * locale/iso-639.def: Add ary entry.
18726
18727 [BZ #11258]
18728 * locale/C-translit.h.in: Add U20A1 transliteration.
18729
18730 [BZ #12178]
18731 * locale/iso-639.def: Add wae entry.
18732 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18733
18734 [BZ #12545]
18735 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18736 for n.
18737
18738 [BZ #12711]
18739 * locale/C-translit.h.in: Add entry for U20B9.
18740 Patch by pravin.d.s@gmail.com.
18741
18742 2011-05-08 Ulrich Drepper <drepper@gmail.com>
18743
18744 [BZ #12713]
18745 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18746 ENAMETOOLONG use generic getcwd.
18747 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18748 in rtld. Use *stat64.
18749 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18750 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18751 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18752 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18753 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18754 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18755 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18756 __fstatat64 macros.
18757 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18758 * dirent/rewinddir.c: Add libc_hidden_def.
18759 * sysdeps/mach/hurd/rewinddir.c: Likewise.
18760 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
18761
18762 * include/dirent.h (__alloc_dir): Add flags parameter.
18763 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18764 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18765 __alloc_dir.
18766 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18767 from fdopendir if O_CLOEXEC is already set.
18768
18769 2011-03-15 Alan Modra <amodra@gmail.com>
18770
18771 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18772 l_tls_firstbyte_offset non-zero. Save padding offset in
18773 l_tls_firstbyte_offset for later use.
18774 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18775 freeing static tls block.
18776
18777 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18778
18779 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18780 where #ifdef was intended. The intent is to prevent ARG_MAX from
18781 being defined by the kernel headers.
18782
18783 2011-05-07 Ulrich Drepper <drepper@gmail.com>
18784
18785 [BZ #12734]
18786 * resolv/resolv.h: Define RES_NOTLDQUERY.
18787 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18788 no-tld-query and set RES_NOTLDQUERY.
18789 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18790 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18791 modern BIND to search name as TLD unless forbidden.
18792
18793 2011-05-07 Petr Baudis <pasky@suse.cz>
18794 Ulrich Drepper <drepper@gmail.com>
18795
18796 [BZ #12393]
18797 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18798 (is_trusted_path): ...to here.
18799 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18800 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18801 using is_trusted_path_normalize() in setuid scripts.
18802
18803 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18804
18805 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18806 __BEGIN/__END_DECLS.
18807
18808 2011-05-06 Ulrich Drepper <drepper@gmail.com>
18809
18810 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18811 NSS_STATUS_NOTFOUND if no record was found.
18812
18813 2011-05-05 Andreas Schwab <schwab@redhat.com>
18814
18815 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18816 (headers-not-in-tirpc): Remove rpc/netdb.h
18817 * resolv/netdb.h: Revert last change.
18818
18819 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18820
18821 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18822 circular dependency between libgcc.a and libc.a.
18823
18824 2011-05-05 Andreas Schwab <schwab@redhat.com>
18825
18826 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18827 * nis/Makefile: Don't install rpcsvc/*.
18828 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18829 instead of <rpc/types.h>.
18830 (MAXHOSTNAMELEN): Define.
18831
18832 2011-05-03 Andreas Schwab <schwab@redhat.com>
18833
18834 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18835
18836 2011-04-28 Maciej Babinski <mbabinski@google.com>
18837
18838 [BZ #12714]
18839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18840 gethostbyname4_r when IPv6 results are possible.
18841
18842 2011-05-02 Ulrich Drepper <drepper@gmail.com>
18843
18844 [BZ #12723]
18845 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18846 _PC_PIPE_BUF handling.
18847
18848 2011-04-30 Bruno Haible <bruno@clisp.org>
18849
18850 [BZ #12717]
18851 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18852 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18853 to 'int'.
18854 * inet/getnameinfo.c (getnameinfo): Likewise.
18855
18856 2011-04-29 Ulrich Drepper <drepper@gmail.com>
18857
18858 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18859 to groups setting in database lookup.
18860 * nss/nsswitch.conf: Add initgroups entry.
18861
18862 2011-04-22 Ulrich Drepper <drepper@gmail.com>
18863
18864 [BZ #12685]
18865 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18866 mode string.
18867 Patch by Eric Blake <eblake@redhat.com>.
18868
18869 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18870
18871 * sunrpc/Makefile (need-export-routines): Add svc_run.
18872 (routines): Remove svc_run.
18873 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18874 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18875 * sunrpc/svc_run.c (svc_run): Likewise.
18876 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18877
18878 2011-04-21 Ulrich Drepper <drepper@gmail.com>
18879
18880 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18881 problem in reallocation in last patch.
18882
18883 2011-04-20 Ulrich Drepper <drepper@gmail.com>
18884
18885 * sunrpc/Makefile: Move inclusion of Rules.
18886
18887 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18888
18889 * nss/nss_files/files-initgroups.c: New file.
18890 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18891 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18892 _nss_files_initgroups_dyn.
18893
18894 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18895
18896 * elf/elf.h (R_ARM_IRELATIVE): Define.
18897
18898 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18899
18900 * po/ru.po: Update from translation team.
18901
18902 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18903
18904 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18905 dependencies.
18906
18907 2011-02-06 Mike Frysinger <vapier@gentoo.org>
18908
18909 [BZ #12653]
18910 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18911 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18912 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18913 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18914 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18915
18916 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18917
18918 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18919 differing bytes.
18920 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18921 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18922 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18923
18924 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18925
18926 [BZ #12420]
18927 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18928 storing it.
18929 * stdlib/bug-getcontext.c: New file.
18930 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18931
18932 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18933
18934 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18935 instructions into .machine "z9-109".
18936 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18937 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18938
18939 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18940
18941 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18942 between environment variables and auxiliary vector.
18943
18944 2011-04-16 Ulrich Drepper <drepper@gmail.com>
18945
18946 * Makefile: Add rules to build linkobj/libc.so.
18947 * include/libc-symbols.h: Define libc_hidden_nolink.
18948 * include/rpc/auth.h: Mark functions which are to be hidden.
18949 * include/rpc/auth_des.h: Likewise.
18950 * include/rpc/auth_unix.h: Likewise.
18951 * include/rpc/clnt.h: Likewise.
18952 * include/rpc/des_crypt.h: Likewise.
18953 * include/rpc/key_prot.h: Likewise.
18954 * include/rpc/pmap_clnt.h: Likewise.
18955 * include/rpc/pmap_prot.h: Likewise.
18956 * include/rpc/pmap_rmt.h: Likewise.
18957 * include/rpc/rpc_msg.h: Likewise.
18958 * include/rpc/svc.h: Likewise.
18959 * include/rpc/svc_auth.h: Likewise.
18960 * include/rpc/xdr.h: Likewise.
18961 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18962 * nss/Makefile: Likewise.
18963 * sunrpc/Makefile: Don't install headers. Build library with normal
18964 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18965 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18966 for the compat linking library. Remove use of INTDEF/INTUSE.
18967 * sunrpc/auth_none.c: Likewise.
18968 * sunrpc/auth_unix.c: Likewise.
18969 * sunrpc/authdes_prot.c: Likewise.
18970 * sunrpc/authuxprot.c: Likewise.
18971 * sunrpc/clnt_gen.c: Likewise.
18972 * sunrpc/clnt_perr.c: Likewise.
18973 * sunrpc/clnt_raw.c: Likewise.
18974 * sunrpc/clnt_simp.c: Likewise.
18975 * sunrpc/clnt_tcp.c: Likewise.
18976 * sunrpc/clnt_udp.c: Likewise.
18977 * sunrpc/clnt_unix.c: Likewise.
18978 * sunrpc/des_crypt.c: Likewise.
18979 * sunrpc/des_soft.c: Likewise.
18980 * sunrpc/get_myaddr.c: Likewise.
18981 * sunrpc/key_call.c: Likewise.
18982 * sunrpc/key_prot.c: Likewise.
18983 * sunrpc/netname.c: Likewise.
18984 * sunrpc/pm_getmaps.c: Likewise.
18985 * sunrpc/pm_getport.c: Likewise.
18986 * sunrpc/pmap_clnt.c: Likewise.
18987 * sunrpc/pmap_prot.c: Likewise.
18988 * sunrpc/pmap_prot2.c: Likewise.
18989 * sunrpc/pmap_rmt.c: Likewise.
18990 * sunrpc/publickey.c: Likewise.
18991 * sunrpc/rpc_cmsg.c: Likewise.
18992 * sunrpc/rpc_common.c: Likewise.
18993 * sunrpc/rpc_dtable.c: Likewise.
18994 * sunrpc/rpc_prot.c: Likewise.
18995 * sunrpc/rpc_thread.c: Likewise.
18996 * sunrpc/rtime.c: Likewise.
18997 * sunrpc/svc.c: Likewise.
18998 * sunrpc/svc_auth.c: Likewise.
18999 * sunrpc/svc_authux.c: Likewise.
19000 * sunrpc/svc_raw.c: Likewise.
19001 * sunrpc/svc_run.c: Likewise.
19002 * sunrpc/svc_simple.c: Likewise.
19003 * sunrpc/svc_tcp.c: Likewise.
19004 * sunrpc/svc_udp.c: Likewise.
19005 * sunrpc/svc_unix.c: Likewise.
19006 * sunrpc/svcauth_des.c: Likewise.
19007 * sunrpc/xcrypt.c: Likewise.
19008 * sunrpc/xdr.c: Likewise.
19009 * sunrpc/xdr_array.c: Likewise.
19010 * sunrpc/xdr_float.c: Likewise.
19011 * sunrpc/xdr_intXX_t.c: Likewise.
19012 * sunrpc/xdr_mem.c: Likewise.
19013 * sunrpc/xdr_rec.c: Likewise.
19014 * sunrpc/xdr_ref.c: Likewise.
19015 * sunrpc/xdr_sizeof.c: Likewise.
19016 * sunrpc/xdr_stdio.c: Likewise.
19017
19018 2011-04-10 Ulrich Drepper <drepper@gmail.com>
19019
19020 [BZ #12650]
19021 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19022 * sysdeps/ia64/dl-tls.h: Likewise.
19023 * sysdeps/powerpc/dl-tls.h: Likewise.
19024 * sysdeps/s390/dl-tls.h: Likewise.
19025 * sysdeps/sh/dl-tls.h: Likewise.
19026 * sysdeps/sparc/dl-tls.h: Likewise.
19027 * sysdeps/x86_64/dl-tls.h: Likewise.
19028 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19029
19030 2011-03-14 Andreas Schwab <schwab@redhat.com>
19031
19032 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19033 rpath element also skip the following colon.
19034 (expand_dynamic_string_token): Add is_path parameter and pass
19035 down to DL_DST_REQUIRED and _dl_dst_substitute.
19036 (decompose_rpath): Call expand_dynamic_string_token with
19037 non-zero is_path. Ignore empty rpaths.
19038 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19039 with zero is_path.
19040
19041 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19042
19043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19044 Make cancelable.
19045
19046 2011-04-09 Ulrich Drepper <drepper@gmail.com>
19047
19048 [BZ #12655]
19049 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19050 Patch by Filipe David Manana <fdmanana@apache.org>.
19051
19052 2011-04-07 Andreas Schwab <schwab@redhat.com>
19053
19054 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19055 Maintain aligned stack.
19056 (CHECK_RSP): Remove unused macro.
19057
19058 2011-04-03 Ulrich Drepper <drepper@gmail.com>
19059
19060 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19061 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19062
19063 2011-04-02 Ulrich Drepper <drepper@gmail.com>
19064
19065 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19066
19067 * include/features.h: Mention __USE_XOPEN2K8 in comment.
19068
19069 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19070
19071 [BZ #12518]
19072 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19073 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19074 * sysdeps/x86_64/memmove.c: New file.
19075 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19076 (memcpy): Renamed to ...
19077 (__new_memcpy): This.
19078 (memcpy): Provide GLIBC_2_14 memcpy.
19079 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19080 (memcpy): Provide GLIBC_2_2_5 memcpy.
19081
19082 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19083
19084 [BZ #12631]
19085 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19086
19087 2011-03-30 Andreas Schwab <schwab@redhat.com>
19088
19089 * misc/syncfs.c: New file.
19090 * misc/Makefile (routines): Add syncfs.
19091 * posix/unistd.h: Declare syncfs.
19092 * sysdeps/unix/syscalls.list: Add syncfs.
19093
19094 2011-04-01 Andreas Schwab <schwab@redhat.com>
19095
19096 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19097 open_by_handle_at.
19098 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19099 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19100 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19101 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19102 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19103 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19104 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19105
19106 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19107
19108 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19109 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19110 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19112 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19114 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19115
19116 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19117 sync_file_range.c with -fexceptions.
19118 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19119 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19120 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19121 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19122 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19123 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19124 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
19125 sync_file_range as cancellation point
19126 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19127 now a wrapper around __call_sync_file_range with cancellation handling.
19128 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19129 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19130 function name to __call_sync_file_range.
19131 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19132 Add call_sync_file_range.
19133
19134 2011-04-01 Andreas Schwab <schwab@redhat.com>
19135
19136 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19137 bits/timex.h.
19138
19139 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19140
19141 * iconv/iconv.h: Fix typo in comment.
19142 * io/fcntl.h: Likewise.
19143 * libio/stdio.h: Likewise.
19144 * posix/spawn.h: Likewise.
19145 * posix/unistd.h: Likewise.
19146 * stdlib/stdlib.h: Likewise.
19147 * time/time.h: Likewise.
19148 * wcsmbs/wchar.h: Likewise.
19149
19150 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19151 open_by_handle): Add.
19152 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19153 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19154 Augment a few comments.
19155 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19157 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19159 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19160 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19161 open_by_handle.
19162
19163 * io/fcntl.h (AT_EMPTY_PATH): Define.
19164
19165 2011-03-30 Ulrich Drepper <drepper@gmail.com>
19166
19167 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19168 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19169 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19170 to...
19171 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
19172 * Versions.def: Add GLIBC_2.14.
19173 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19174 Export.
19175
19176 2011-03-22 Ulrich Drepper <drepper@gmail.com>
19177
19178 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19179 round counter.
19180 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19181
19182 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19183
19184 [BZ #12597]
19185 * string/test-strncmp.c (do_page_test): New function.
19186 (check2): Likewise.
19187 (test_main): Call check2.
19188 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19189
19190 2011-03-20 Ulrich Drepper <drepper@gmail.com>
19191
19192 [BZ #12587]
19193 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19194 Handle cache information in CPU leaf 4.
19195 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19196
19197 2011-03-18 Ulrich Drepper <drepper@gmail.com>
19198
19199 [BZ #12583]
19200 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19201 character representation.
19202 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19203
19204 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19205
19206 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19207 END(__isnan) to END(__isnanf) to match function entry point/label
19208 EALIGN(__isnanf,...).
19209
19210 2011-03-10 Jakub Jelinek <jakub@redhat.com>
19211
19212 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19213
19214 2011-03-10 Ulrich Drepper <drepper@gmail.com>
19215
19216 [BZ #12510]
19217 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19218 copy from the symbol referenced in the relocation to initialize the
19219 used variable.
19220 Patch by Piotr Bury <pbury@goahead.com>.
19221 * elf/Makefile: Add rules to build and tst-unique3.
19222 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19223 * elf/tst-unique3.cc: New file.
19224 * elf/tst-unique3.h: New file.
19225 * elf/tst-unique3lib.cc: New file.
19226 * elf/tst-unique3lib2.cc: New file.
19227
19228 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19229
19230 2011-03-10 Mike Frysinger <vapier@gentoo.org>
19231
19232 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19233 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19234 to _start.
19235
19236 2011-03-06 Ulrich Drepper <drepper@gmail.com>
19237
19238 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19239 to-be-loaded object along a path to loader is ld.so.
19240
19241 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19242 Ulrich Drepper <drepper@gmail.com>
19243
19244 * sysdeps/x86_64/memset.S: After aligning destination, code
19245 branches to different locations depending on the value of
19246 misalignment, when multiarch is enabled. Fix this.
19247
19248 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19249
19250 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19251 Set _x86_64_preferred_memory_instruction for AMD processsors.
19252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19253 Set bit_Prefer_SSE_for_memop for AMD processors.
19254
19255 2011-03-04 Ulrich Drepper <drepper@gmail.com>
19256
19257 * libio/fmemopen.c (fmemopen): Optimize a bit.
19258
19259 2011-03-03 Andreas Schwab <schwab@redhat.com>
19260
19261 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19262
19263 2011-03-03 Roland McGrath <roland@redhat.com>
19264
19265 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19266
19267 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19268
19269 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19270 __bzero_ultra1 instead of __memset_ultra1.
19271
19272 2011-02-23 Andreas Schwab <schwab@redhat.com>
19273 Ulrich Drepper <drepper@gmail.com>
19274
19275 [BZ #12509]
19276 * include/link.h (struct link_map): Add l_orig_initfini.
19277 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19278 returning unsuccessfully.
19279 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19280 close of a file loaded at startup, restore the original l_initfini
19281 list.
19282 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19283 list, store the pointer.
19284 * elf/Makefile ($(objpfx)noload-mem): New rule.
19285 (noload-ENV): Define.
19286 (tests): Add $(objpfx)noload-mem.
19287 * elf/noload.c: Include <memcheck.h>.
19288 (main): Call mtrace. Close all opened handles.
19289
19290 2011-02-17 Andreas Schwab <schwab@redhat.com>
19291
19292 [BZ #12454]
19293 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19294 dependencies are missing.
19295
19296 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19297
19298 Fix __if_freereq crash: Unlike the generic version which uses free,
19299 Hurd needs munmap.
19300 * sysdeps/mach/hurd/ifreq.h: New file.
19301
19302 2011-01-27 Petr Baudis <pasky@suse.cz>
19303 Ulrich Drepper <drepper@gmail.com>
19304
19305 [BZ 12445]#
19306 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19307 to extend_alloca().
19308 * stdio-common/bug23.c: New file.
19309 * stdio-common/Makefile (tests): Add bug23.
19310
19311 2010-09-28 Andreas Schwab <schwab@redhat.com>
19312 Ulrich Drepper <drepper@gmail.com>
19313
19314 [BZ #12489]
19315 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19316 before performing relro protection. At old place add assertion
19317 to make sure nothing changed.
19318
19319 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19320 Glauber de Oliveira Costa <glommer@gmail.com>
19321
19322 * elf/elf.h: Add new ARM TLS relocs.
19323
19324 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19325
19326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19327 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19328 cast from r3.
19329 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19330 'tests' variable.
19331 * sysdeps/wordsize-64/tst-writev.c: New file.
19332
19333 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19334
19335 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19336 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19337 insns in _dl_start to prevent a TOC reference before relocs are
19338 resolved.
19339
19340 2011-02-15 Ulrich Drepper <drepper@gmail.com>
19341
19342 [BZ #12469]
19343 * Makeconfig: Remove RANLIB definition.
19344 * Makerules: Don't use RANLIB.
19345 * aclocal.m4: Remove ranlib test.
19346 * configure.in: No need to check for ranlib.
19347 * elf/rtld-Rules: Don't use RANLIB.
19348
19349 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19350
19351 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19352 protection macro.
19353 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19354 inclusion protection macro.
19355
19356 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19357 SIGRTMIN and SIGRTMAX and print information in that case only when
19358 SIGRTMIN is defined.
19359
19360 2011-02-11 Jakub Jelinek <jakub@redhat.com>
19361
19362 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19363 arginfo fn returning -1.
19364
19365 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19366 and thousands string is zero terminated.
19367
19368 2011-02-03 Andreas Schwab <schwab@redhat.com>
19369
19370 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19371 sysdeps/unix/sysv/linux/bits/socket.h.
19372
19373 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19374
19375 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19376 (__CPU_COUNT): Remove old macros.
19377 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19378 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19379 (__CPU_ALLOC, __CPU_FREE): Add macros.
19380 (__sched_cpualloc, __sched_cpufree): Add declarations.
19381
19382 2011-02-05 Ulrich Drepper <drepper@gmail.com>
19383
19384 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19385 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19386 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19387 (readdhstai): Return value of addhstaiX call.
19388 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19389 (addgrbyX): Return value returned by cache_addgr.
19390 (readdgrbyname): Return value returned by addgrbyX.
19391 (readdgrbygid): Likewise.
19392 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19393 (addpwbyX): Return value returned by cache_addpw.
19394 (readdpwbyname): Return value returned by addhstbyX.
19395 (readdpwbyuid): Likewise.
19396 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19397 (addservbyX): Return value returned by cache_addserv.
19398 (readdservbyname): Return value returned by addservbyX:
19399 (readdservbyport): Likewise.
19400 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19401 (addhstbyX): Return value returned by cache_addhst.
19402 (readdhstbyname): Return value returned by addhstbyX.
19403 (readdhstbyaddr): Likewise.
19404 (readdhstbynamev6): Likewise.
19405 (readdhstbyaddrv6): Likewise.
19406 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19407 (readdinitgroups): Return value returned by addinitgroupsX.
19408 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19409 (prune_cache): Keep track of timeout value of re-added entries.
19410 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19411 * nscd/nscd.h: Adjust prototypes of readd* functions.
19412
19413 2011-02-04 Roland McGrath <roland@redhat.com>
19414
19415 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19416 (nis_stats): Likewise.
19417 * nis/nis_modify.c (nis_modify): Likewise.
19418 * nis/nis_remove.c (nis_remove): Likewise.
19419 * nis/nis_add.c (nis_add): Likewise.
19420
19421 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19422
19423 * posix/fnmatch_loop.c: Add some consts.
19424
19425 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19426
19427 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19428
19429 [BZ #12460]
19430 * config.make.in (config-cflags-novzeroupper): Define.
19431 * configure.in: Substitute libc_cv_cc_novzeroupper.
19432 * elf/Makefile (AVX-CFLAGS): Define.
19433 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19434 (CFLAGS-tst-auditmod4a.c): Likewise.
19435 (CFLAGS-tst-auditmod4b.c): Likewise.
19436 (CFLAGS-tst-auditmod6b.c): Likewise.
19437 (CFLAGS-tst-auditmod6c.c): Likewise.
19438 (CFLAGS-tst-auditmod7b.c): Likewise.
19439 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19440
19441 2011-02-02 Ulrich Drepper <drepper@gmail.com>
19442
19443 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19444 function to the callback.
19445 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19446
19447 2011-02-02 Andreas Schwab <schwab@redhat.com>
19448
19449 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19450 of errno.
19451
19452 2011-01-19 Ulrich Drepper <drepper@gmail.com>
19453
19454 [BZ #11724]
19455 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19456 of constructors.
19457 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19458 of destructors.
19459 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19460
19461 [BZ #11724]
19462 * elf/Makefile: Add rules to build and run new test.
19463 * elf/tst-initorder.c: New file.
19464 * elf/tst-initorder.exp: New file.
19465 * elf/tst-initordera1.c: New file.
19466 * elf/tst-initordera2.c: New file.
19467 * elf/tst-initordera3.c: New file.
19468 * elf/tst-initordera4.c: New file.
19469 * elf/tst-initorderb1.c: New file.
19470 * elf/tst-initorderb2.c: New file.
19471 * elf/tst-order-a1.c: New file.
19472 * elf/tst-order-a2.c: New file.
19473 * elf/tst-order-a3.c: New file.
19474 * elf/tst-order-a4.c: New file.
19475 * elf/tst-order-b1.c: New file.
19476 * elf/tst-order-b2.c: New file.
19477 * elf/tst-order-main.c: New file.
19478 New test case by George Gensure <werkt0@gmail.com>.
19479
19480 2010-10-01 Andreas Schwab <schwab@redhat.com>
19481
19482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19483 decoding ACE if AI_CANONIDN.
19484
19485 2011-01-18 Ulrich Drepper <drepper@gmail.com>
19486
19487 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19488
19489 2011-01-17 Ulrich Drepper <drepper@gmail.com>
19490
19491 * version.h (RELEASE): Bump for 2.13 release.
19492 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19493
19494 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19495
19496 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19497 MADV_NOHUGEPAGE.
19498 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19499 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19500 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19501 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19502 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19503 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19504
19505 * posix/getconf.c: Update copyright year.
19506 * catgets/gencat.c: Likewise.
19507 * csu/version.c: Likewise.
19508 * debug/catchsegv.sh: Likewise.
19509 * debug/xtrace.sh: Likewise.
19510 * elf/ldconfig.c: Likewise.
19511 * elf/ldd.bash.in: Likewise.
19512 * elf/sprof.c (print_version): Likewise.
19513 * iconv/iconv_prog.c: Likewise.
19514 * iconv/iconvconfig.c: Likewise.
19515 * locale/programs/locale.c: Likewise.
19516 * locale/programs/localedef.c: Likewise.
19517 * malloc/memusage.sh: Likewise.
19518 * malloc/mtrace.pl: Likewise.
19519 * nscd/nscd.c (print_version): Likewise.
19520 * nss/getent.c: Likewise.
19521
19522 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19523 PF_CAIF, and PF_ALG.
19524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19525
19526 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19527
19528 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19529 (modules-names): Use them.
19530 (ifunc-test-modules, ifunc-pie-tests): Define.
19531 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19532 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19533 (test-extras): Likewise.
19534 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19535 $(compile-command.c).
19536 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19537 (all-built-dso): Define.
19538 (check-textrel.out, check-execstack.out): Depend on it.
19539
19540 * configure.in: Don't override --enable-multi-arch.
19541
19542 2011-01-15 Ulrich Drepper <drepper@gmail.com>
19543
19544 [BZ #6812]
19545 * nscd/hstcache.c (tryagain): Define.
19546 (cache_addhst): Return tryagain not notfound for temporary errors.
19547 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19548 failed.
19549
19550 2011-01-14 Ulrich Drepper <drepper@gmail.com>
19551
19552 [BZ #10563]
19553 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19554 to make the syscall.
19555 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19556
19557 [BZ #12378]
19558 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19559 and fall back to matching as normal character if the string ends before
19560 the matching ']' is found. This is what POSIX requires.
19561 * posix/testfnm.c: Adjust test result.
19562 * posix/globtest.sh: Adjust test result. Add new test.
19563 * posix/tst-fnmatch.input: Likewise.
19564 * posix/tst-fnmatch2.c: Add new test.
19565
19566 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19567
19568 * elf/Makefile (check-execstack): Revert last change. Depend on
19569 check-execstack.h.
19570 (check-execstack.h): New target.
19571 (generated): Add check-execstack.h.
19572 * elf/check-execstack.c: Include "check-execstack.h".
19573 (main): Revert last change.
19574 (handle_file): Return zero if GNU_STACK is absent and
19575 DEFAULT_STACK_PERMS doesn't include PF_X.
19576
19577 2011-01-13 Ulrich Drepper <drepper@gmail.com>
19578
19579 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19580 in child fails because the descriptor is already closed.
19581 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19582 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19583 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19584
19585 [BZ #12397]
19586 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19587 syscall.
19588
19589 [BZ #10484]
19590 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19591 temporary buffer used to handle multi lookups locally.
19592 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19593
19594 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19595
19596 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19597 loader is ld.so.
19598
19599 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19600
19601 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19602 alignment for SSE2.
19603
19604 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19605
19606 [BZ #12394]
19607 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19608 characters. When rounding increased number of integer digits recompute
19609 number of groups.
19610 * stdio-common/tst-grouping.c: New file.
19611 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19612
19613 2011-01-09 Ulrich Drepper <drepper@gmail.com>
19614
19615 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19616 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19617
19618 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19619 void.
19620 * bits/select.h: Likewise.
19621
19622 2011-01-08 Ulrich Drepper <drepper@gmail.com>
19623
19624 * po/ja.po: Update from translation team.
19625
19626 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
19627
19628 [BZ #11155]
19629 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19630 implementation just like for lxstat, fxstatat, et al.
19631
19632 2010-12-27 Jim Meyering <meyering@redhat.com>
19633
19634 [BZ #12348]
19635 * posix/regexec.c (build_trtable): Return failure indication upon
19636 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19637
19638 2010-12-25 Ulrich Drepper <drepper@gmail.com>
19639
19640 [BZ #12201]
19641 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19642 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19643 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19644 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19645
19646 [BZ #12207]
19647 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19648
19649 [BZ #12204]
19650 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19651 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19652
19653 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19654
19655 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19656 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19657 script has SORT_BY_INIT_PRIORITY.
19658 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19659 NO_CTORS_DTORS_SECTIONS is defined.
19660 * elf/soinit.c: Likewise.
19661 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19662 NO_CTORS_DTORS_SECTIONS is defined.
19663 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19664 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19665 * sysdeps/sh/init-first.c: Likewise.
19666 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19667
19668 2010-12-24 Ulrich Drepper <drepper@gmail.com>
19669
19670 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19671 always use the slow path.
19672
19673 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19674
19675 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19676 similar rule which adds the sysdep directories to the header search in
19677 order to pick up the correct platform stackinfo.h.
19678 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19679 perform test if it is, otherwise return successfully without testing.
19680 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19681 DEFAULT_STACK_PERMS define in stackinfo.h.
19682 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19683 defined in stackinfo.h.
19684 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19685 DEFAULT_STACK_PERMS defined in stackinfo.h.
19686 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19687 * sysdeps/ia64/stackinfo.h: Likewise.
19688 * sysdeps/s390/stackinfo.h: Likewise.
19689 * sysdeps/sh/stackinfo.h: Likewise.
19690 * sysdeps/sparc/stackinfo.h: Likewise.
19691 * sysdeps/x86_64/stackinfo.h: Likewise.
19692 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19693 PF_X for powerpc64. Retain PF_X for powerpc32.
19694
19695 2010-12-19 Ulrich Drepper <drepper@gmail.com>
19696
19697 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19698 accurately.
19699 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19700 GETDENTS_64BIT_ALIGNED.
19701
19702 2010-12-14 Ulrich Drepper <dreper@gmail.com>
19703
19704 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19705
19706 2010-12-10 Andreas Schwab <schwab@redhat.com>
19707
19708 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19709 _GNU_SOURCE.
19710
19711 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19712 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19713 Remove __restrict.
19714 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19715 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19716
19717 2010-12-09 Ulrich Drepper <drepper@gmail.com>
19718
19719 [BZ #11655]
19720 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19721 are initialized.
19722
19723 2010-12-09 Jakub Jelinek <jakub@redhat.com>
19724
19725 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19726
19727 2010-12-03 Ulrich Drepper <drepper@gmail.com>
19728
19729 * po/it.po: Update from translation team.
19730
19731 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19732
19733 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19734 unused codes.
19735
19736 2010-11-30 Ulrich Drepper <drepper@gmail.com>
19737
19738 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19739
19740 2010-11-24 Andreas Schwab <schwab@redhat.com>
19741
19742 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19743 specially.
19744 (gaih_getanswer_slice): Likewise.
19745
19746 2010-10-20 Jakub Jelinek <jakub@redhat.com>
19747
19748 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19749
19750 2010-05-31 Petr Baudis <pasky@suse.cz>
19751
19752 [BZ #11149]
19753 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19754 silently even in the chroot mode.
19755
19756 2010-11-22 Ulrich Drepper <drepper@gmail.com>
19757
19758 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19759 last patch a bit. Pretty printing
19760
19761 2010-05-31 Petr Baudis <pasky@suse.cz>
19762
19763 [BZ #10085]
19764 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19765 initialization of skip_initgroups_dyn.
19766
19767 2010-11-19 Ulrich Drepper <drepper@gmail.com>
19768
19769 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19770 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19771
19772 2010-11-16 Ulrich Drepper <drepper@gmail.com>
19773
19774 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19775
19776 2010-11-11 Andreas Schwab <schwab@redhat.com>
19777
19778 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19779 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19780 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19781 ($(objpfx)tst-fnmatch-mem): New rule.
19782 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19783 * posix/tst-fnmatch.c (main): Call mtrace.
19784
19785 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19786
19787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19788 Support Intel processor model 6 and model 0x2c.
19789
19790 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
19791
19792 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19793 signed comparison.
19794
19795 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19796
19797 [BZ #12205]
19798 * string/test-strncasecmp.c (check_result): New function.
19799 (do_one_test): Use it.
19800 (check1): New function.
19801 (test_main): Use it.
19802 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19803 Support strcasecmp and strncasecmp.
19804
19805 2010-11-08 Ulrich Drepper <drepper@gmail.com>
19806
19807 [BZ #12194]
19808 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19809 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19810
19811 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19812
19813 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19814 IFUNC support.
19815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19816 memset-x86-64.
19817 * sysdeps/x86_64/multiarch/bzero.S: New file.
19818 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19819 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19820 * sysdeps/x86_64/multiarch/memset.S: New file.
19821 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19823 Set bit_Prefer_SSE_for_memop for Intel processors.
19824 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19825 Define.
19826 (index_Prefer_SSE_for_memop): Define.
19827 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19828
19829 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
19830
19831 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19832 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19833
19834 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19835
19836 [BZ #12191]
19837 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19838 (__x86_64_raw_data_cache_size_half): Likewise.
19839 (__x86_64_raw_shared_cache_size): Likewise.
19840 (__x86_64_raw_shared_cache_size_half): Likewise.
19841
19842 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19843 (__x86_64_raw_data_cache_size_half): Likewise.
19844 (__x86_64_raw_shared_cache_size): Likewise.
19845 (__x86_64_raw_shared_cache_size_half): Likewise.
19846 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19847 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19848 and __x86_64_raw_shared_cache_size_half. Round
19849 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19850 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19851 to multiple of 256 bytes.
19852
19853 2010-11-03 Ulrich Drepper <drepper@gmail.com>
19854
19855 [BZ #12167]
19856 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19857 of inacessible symlinks. Verify result of symlink before returning it.
19858 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19859 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19860
19861 2010-10-28 Erich Ritz <erichritz@gmail.com>
19862
19863 * math/math.h (isinf): Fix typo in comment.
19864
19865 2010-11-01 Ulrich Drepper <drepper@gmail.com>
19866
19867 * po/da.po: Update from translation team.
19868
19869 2010-10-26 Ulrich Drepper <drepper@gmail.com>
19870
19871 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19872 is added to the list.
19873
19874 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19875 Ulrich Drepper <drepper@gmail.com>
19876
19877 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19878 the global list here. Move code to...
19879 (_dl_add_to_namespace_list): ...here. New function.
19880 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19881 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19882 * elf/dl-load.c (lose): Don't remove the element from the list.
19883 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19884 (_dl_map_object): Likewise.
19885
19886 2010-10-25 Ulrich Drepper <drepper@gmail.com>
19887
19888 [BZ #12159]
19889 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19890 into all bytes of SSE register.
19891 Patch by Richard Li <richardpku@gmail.com>.
19892
19893 2010-10-24 Ulrich Drepper <drepper@gmail.com>
19894
19895 [BZ #12140]
19896 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19897 perturbing.
19898
19899 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19900
19901 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19902 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19903 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19904 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19906 submachine.
19907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19908
19909 2010-10-22 Andreas Schwab <schwab@redhat.com>
19910
19911 * include/dlfcn.h (__RTLD_SECURE): Define.
19912 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19913 mode & __RTLD_SECURE instead.
19914 (open_path): Rename preloaded parameter to secure.
19915 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19916 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19917 * elf/dl-deps.c (openaux): Likewise.
19918 * elf/rtld.c (struct map_args): Remove is_preloaded.
19919 (map_doit): Don't use it.
19920 (dl_main): Likewise.
19921 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19922 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19923
19924 2010-09-09 Andreas Schwab <schwab@redhat.com>
19925
19926 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19927 (sysd-rules-targets): Remove duplicates.
19928 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19929 rtld-%.$o dependency.
19930
19931 2010-10-18 Andreas Schwab <schwab@redhat.com>
19932
19933 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19934 _dl_map_object do it.
19935
19936 2010-10-19 Ulrich Drepper <drepper@gmail.com>
19937
19938 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19939 fast fma builtins, define the macros in the C99 standard.
19940 (FP_FAST_FMAF): Likewise.
19941 (FP_FAST_FMAL): Likewise.
19942 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19943
19944 * bits/mathdef.h: Update copyright year.
19945 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19946
19947 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19948
19949 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19950 builtins, define the macros in the C99 standard.
19951 (FP_FAST_FMAF): Likewise.
19952 (FP_FAST_FMAL): Likewise.
19953 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19954 multiply/add.
19955 (FP_FAST_FMAF): Likewise.
19956
19957 2010-10-15 Jakub Jelinek <jakub@redhat.com>
19958
19959 [BZ #3268]
19960 * math/libm-test.inc (fma_test): Some new testcases.
19961 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19962 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19963 y and infinite z. Do multiplication by C already in long double.
19964 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19966 y and infinite z. Do bitwise or of inexact bit into u.d.
19967 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19968 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19969 * sysdeps/i386/fpu/s_fma.S: Removed.
19970 * sysdeps/i386/fpu/s_fmal.S: Removed.
19971
19972 2010-10-16 Jakub Jelinek <jakub@redhat.com>
19973
19974 [BZ #3268]
19975 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19976 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19977 computation is not scheduled after fetestexcept. Fix value
19978 of minimum denormal long double.
19979
19980 2010-10-14 Jakub Jelinek <jakub@redhat.com>
19981
19982 [BZ #3268]
19983 * math/libm-test.inc (fma_test): Add some more tests.
19984 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19985 correctly.
19986
19987 2010-10-15 Andreas Schwab <schwab@redhat.com>
19988
19989 * scripts/data/localplt-s390-linux-gnu.data: New file.
19990 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19991
19992 2010-10-13 Jakub Jelinek <jakub@redhat.com>
19993
19994 [BZ #3268]
19995 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19996 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19997 instead of dbl-64.
19998 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19999 inlines.
20000 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
20001 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
20002 if one of x and y is very large and the other is subnormal.
20003 * sysdeps/s390/fpu/s_fmaf.c: New file.
20004 * sysdeps/s390/fpu/s_fma.c: New file.
20005 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
20006 * sysdeps/powerpc/fpu/s_fma.S: New file.
20007 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20008 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20009 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20010
20011 2010-10-12 Jakub Jelinek <jakub@redhat.com>
20012
20013 [BZ #3268]
20014 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20015 fma tests.
20016 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20017 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20018 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20019 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20020 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20021 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20022 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20023
20024 2010-10-12 Ulrich Drepper <drepper@redhat.com>
20025
20026 [BZ #12078]
20027 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20028 * posix/bug-regex31.input: Add test case.
20029
20030 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20031
20032 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20033 * posix/bug-regex31.input: New file.
20034
20035 [BZ #12078]
20036 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20037 (parse_sub_exp): Fix last change, use postorder.
20038
20039 * posix/bug-regex31.c: New file.
20040 * posix/Makefile: Add rules to build and run bug-regex31.
20041
20042 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20043
20044 [BZ #12078]
20045 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20046
20047 [BZ #12108]
20048 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20049 to have entries in sys_siglist.
20050
20051 [BZ #12093]
20052 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20053 be NULL.
20054
20055 2010-10-07 Jakub Jelinek <jakub@redhat.com>
20056
20057 [BZ #3268]
20058 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20059 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20060 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20061 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20062 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20063 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20064 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20065 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20066 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20067 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20068 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20069 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20070 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20071 * math/ftestexcept.c (fetestexcept): Likewise.
20072 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20073 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20074 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20075 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20076 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20077 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20078 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20079
20080 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20081
20082 [BZ #12107]
20083 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20084 newline.
20085
20086 2010-10-06 Ulrich Drepper <drepper@gmail.com>
20087
20088 * string/bug-strstr1.c: New file.
20089 * string/Makefile: Add rules to build and run bug-strstr1.
20090
20091 2010-10-05 Eric Blake <eblake@redhat.com>
20092
20093 [BZ #12092]
20094 * string/str-two-way.h (two_way_long_needle): Always clear memory
20095 when skipping input due to the shift table.
20096
20097 2010-10-03 Ulrich Drepper <drepper@gmail.com>
20098
20099 [BZ #12005]
20100 * malloc/mcheck.c: Handle large requests.
20101
20102 [BZ #12077]
20103 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20104 for strncmp and strncasecmp.
20105 * string/stratcliff.c: Add tests for strcmp and strncmp.
20106 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20107
20108 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20109
20110 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20111 __set_fpscr.
20112
20113 2010-09-30 Andreas Jaeger <aj@suse.de>
20114
20115 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20116 (CGROUP_SUPER_MAGIC): Define.
20117 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20118 Handle btrfs and cgroup file systems.
20119 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20120 Likewise.
20121
20122 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
20123
20124 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20125 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20126
20127 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20128
20129 [BZ #12067]
20130 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20131 trying to locate the ELF header.
20132
20133 2010-09-27 Andreas Schwab <schwab@redhat.com>
20134
20135 [BZ #11611]
20136 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20137 Mask out sign-bit copies when constructing f_fsid.
20138
20139 2010-09-24 Petr Baudis <pasky@suse.cz>
20140
20141 * debug/stack_chk_fail_local.c: Add missing licence exception.
20142 * debug/warning-nop.c: Likewise.
20143
20144 2010-09-15 Joseph Myers <joseph@codesourcery.com>
20145
20146 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20147 implementing getdents64 using getdents syscall, set d_type if
20148 __ASSUME_GETDENTS32_D_TYPE.
20149
20150 2010-09-16 Andreas Schwab <schwab@redhat.com>
20151
20152 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20153 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20154
20155 2010-09-21 Ulrich Drepper <drepper@redhat.com>
20156
20157 [BZ #12037]
20158 * posix/unistd.h: Undo change of feature selection for ftruncate from
20159 2010-01-11.
20160
20161 2010-09-20 Ulrich Drepper <drepper@redhat.com>
20162
20163 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
20164 detection.
20165
20166 2010-09-20 Andreas Schwab <schwab@redhat.com>
20167
20168 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20169 fanotify_mark.
20170 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20171
20172 2010-09-14 Andreas Schwab <schwab@redhat.com>
20173
20174 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20175 variables after CHECK_SP call.
20176 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20177
20178 2010-09-13 Andreas Schwab <schwab@redhat.com>
20179 Ulrich Drepper <drepper@redhat.com>
20180
20181 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20182 re-relocationg ld.so.
20183 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20184 _dl_init_paths call.
20185 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20186 here anymore.
20187
20188 2010-09-14 Ulrich Drepper <drepper@redhat.com>
20189
20190 * resolv/res_init.c (__res_vinit): Count the default server we added.
20191
20192 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20193 Ulrich Drepper <drepper@redhat.com>
20194
20195 [BZ #11968]
20196 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20197 (____longjmp_chk): Use %ebx for saving value across system call.
20198 Add unwind info.
20199
20200 2010-09-06 Andreas Schwab <schwab@redhat.com>
20201
20202 * manual/Makefile: Don't mix pattern rules with normal rules.
20203
20204 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20205
20206 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20207 operation.
20208 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20209 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20210 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20211 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20212 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20213 Likewise.
20214
20215 2010-09-04 Ulrich Drepper <drepper@redhat.com>
20216
20217 [BZ #11979]
20218 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20219 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20220
20221 2010-09-02 Ulrich Drepper <drepper@redhat.com>
20222
20223 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20224 * sysdeps/x86_64/addmul_1.S: Likewise.
20225 * sysdeps/x86_64/lshift.S: Likewise.
20226 * sysdeps/x86_64/mul_1.S: Likewise.
20227 * sysdeps/x86_64/rshift.S: Likewise.
20228 * sysdeps/x86_64/sub_n.S: Likewise.
20229 * sysdeps/x86_64/submul_1.S: Likewise.
20230
20231 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20232
20233 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20234 Define __sched_param instead of SCHED_* and sched_param when
20235 <bits/sched.h> is included with __need_schedparam defined.
20236 * bits/sched.h [__need_schedparam]
20237 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
20238 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20239 (__defined_schedparam): Define to 1.
20240 (__sched_param): New structure, identical to sched_param.
20241 (__need_schedparam): Undefine.
20242
20243 2010-08-31 Mike Frysinger <vapier@gentoo.org>
20244
20245 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20246 (epoll_create1): Declare.
20247
20248 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20249
20250 2010-08-31 Andreas Schwab <schwab@redhat.com>
20251
20252 [BZ #7066]
20253 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20254 shifting retval into place.
20255
20256 2010-09-01 Ulrich Drepper <drepper@redhat.com>
20257
20258 * nis/rpcsvc/nis.h: Update copyright notice.
20259 * nis/rpcsvc/nis.x: Likewise.
20260 * nis/rpcsvc/nis_callback.h: Likewise.
20261 * nis/rpcsvc/nis_callback.x: Likewise.
20262 * nis/rpcsvc/nis_object.x: Likewise.
20263 * nis/rpcsvc/nis_tags.h: Likewise.
20264 * nis/rpcsvc/yp.h: Likewise.
20265 * nis/rpcsvc/yp.x: Likewise.
20266 * nis/rpcsvc/ypupd.h: Likewise.
20267 * nis/yp_xdr.c: Likewise.
20268 * nis/ypupdate_xdr.c: Likewise.
20269
20270 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20271 mainly the body of pmap_getport. Add parameters to specify timeouts.
20272 (pmap_getport): Use __libc_rpc_getport.
20273 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20274 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20275 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20276
20277 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20278
20279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20280 fanotify_mark.
20281
20282 2010-08-27 Roland McGrath <roland@redhat.com>
20283
20284 * sysdeps/i386/i686/multiarch/Makefile
20285 (CFLAGS-varshift.c): New variable.
20286
20287 2010-08-27 Ulrich Drepper <drepper@redhat.com>
20288
20289 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20290 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20291
20292 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20293
20294 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20295
20296 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20297
20298 * sysdeps/x86_64/strlen.S: Unroll the loop.
20299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20300 strlen-sse2 strlen-sse2-bsf.
20301 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20302 __strlen_no_bsf if bit_Slow_BSF is set.
20303 (__strlen_sse42): Removed.
20304 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20305 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20306
20307 2010-08-25 Roland McGrath <roland@redhat.com>
20308
20309 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20310 * sysdeps/x86_64/multiarch/varshift.c: New file.
20311 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20312 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20313 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20314 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20315
20316 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20317
20318 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20319 strlen-sse2 strlen-sse2-bsf.
20320 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20321 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20322 (__strlen_sse2): Removed.
20323 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20324 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20326 bit_Slow_BSF for Atom.
20327 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20328 (index_Slow_BSF): Define.
20329 (HAS_SLOW_BSF): Define.
20330
20331 2010-08-25 Ulrich Drepper <drepper@redhat.com>
20332
20333 [BZ #10851]
20334 * resolv/res_init.c (__res_vinit): When no server address at all
20335 is given default to loopback.
20336
20337 2010-08-24 Roland McGrath <roland@redhat.com>
20338
20339 * configure.in: Remove config-name.h generation.
20340 * configure: Regenerated.
20341 * config-name.in: File removed.
20342 * scripts/config-uname.sh: New file.
20343 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20344 ($(objdir)config-name.h): New target.
20345
20346 * sunrpc/rpc_parse.h: Avoid nested comment.
20347
20348 2010-08-24 Richard Henderson <rth@redhat.com>
20349 Ulrich Drepper <drepper@redhat.com>
20350 H.J. Lu <hongjiu.lu@intel.com>
20351
20352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20354 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20355 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20356 _mm_alignr_epi8 with _mm_loadu_si128.
20357 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20358 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20359 (__m128i_shift_right): Removed.
20360 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20361 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20362 * sysdeps/x86_64/multiarch/varshift.h: New file.
20363 * sysdeps/x86_64/multiarch/varshift.S: New file.
20364
20365 2010-08-21 Mike Frysinger <vapier@gentoo.org>
20366
20367 * configure.in: Move assembler checks to before sysdep dir checking.
20368
20369 2010-08-20 Petr Baudis <pasky@suse.cz>
20370
20371 * LICENSES: Sync the sunrpc license.
20372
20373 2010-08-19 Ulrich Drepper <drepper@redhat.com>
20374
20375 * sunrpc/auth_des.c: Update copyright notice once again.
20376 * sunrpc/auth_none.c: Likewise.
20377 * sunrpc/auth_unix.c: Likewise.
20378 * sunrpc/authdes_prot.c: Likewise.
20379 * sunrpc/authuxprot.c: Likewise.
20380 * sunrpc/bindrsvprt.c: Likewise.
20381 * sunrpc/clnt_gen.c: Likewise.
20382 * sunrpc/clnt_perr.c: Likewise.
20383 * sunrpc/clnt_raw.c: Likewise.
20384 * sunrpc/clnt_simp.c: Likewise.
20385 * sunrpc/clnt_tcp.c: Likewise.
20386 * sunrpc/clnt_udp.c: Likewise.
20387 * sunrpc/clnt_unix.c: Likewise.
20388 * sunrpc/des_crypt.c: Likewise.
20389 * sunrpc/des_soft.c: Likewise.
20390 * sunrpc/get_myaddr.c: Likewise.
20391 * sunrpc/getrpcport.c: Likewise.
20392 * sunrpc/key_call.c: Likewise.
20393 * sunrpc/key_prot.c: Likewise.
20394 * sunrpc/openchild.c: Likewise.
20395 * sunrpc/pm_getmaps.c: Likewise.
20396 * sunrpc/pm_getport.c: Likewise.
20397 * sunrpc/pmap_clnt.c: Likewise.
20398 * sunrpc/pmap_prot.c: Likewise.
20399 * sunrpc/pmap_prot2.c: Likewise.
20400 * sunrpc/pmap_rmt.c: Likewise.
20401 * sunrpc/rpc/auth.h: Likewise.
20402 * sunrpc/rpc/auth_unix.h: Likewise.
20403 * sunrpc/rpc/clnt.h: Likewise.
20404 * sunrpc/rpc/des_crypt.h: Likewise.
20405 * sunrpc/rpc/key_prot.h: Likewise.
20406 * sunrpc/rpc/netdb.h: Likewise.
20407 * sunrpc/rpc/pmap_clnt.h: Likewise.
20408 * sunrpc/rpc/pmap_prot.h: Likewise.
20409 * sunrpc/rpc/pmap_rmt.h: Likewise.
20410 * sunrpc/rpc/rpc.h: Likewise.
20411 * sunrpc/rpc/rpc_des.h: Likewise.
20412 * sunrpc/rpc/rpc_msg.h: Likewise.
20413 * sunrpc/rpc/svc.h: Likewise.
20414 * sunrpc/rpc/svc_auth.h: Likewise.
20415 * sunrpc/rpc/types.h: Likewise.
20416 * sunrpc/rpc/xdr.h: Likewise.
20417 * sunrpc/rpc_clntout.c: Likewise.
20418 * sunrpc/rpc_cmsg.c: Likewise.
20419 * sunrpc/rpc_common.c: Likewise.
20420 * sunrpc/rpc_cout.c: Likewise.
20421 * sunrpc/rpc_dtable.c: Likewise.
20422 * sunrpc/rpc_hout.c: Likewise.
20423 * sunrpc/rpc_main.c: Likewise.
20424 * sunrpc/rpc_parse.c: Likewise.
20425 * sunrpc/rpc_parse.h: Likewise.
20426 * sunrpc/rpc_prot.c: Likewise.
20427 * sunrpc/rpc_sample.c: Likewise.
20428 * sunrpc/rpc_scan.c: Likewise.
20429 * sunrpc/rpc_scan.h: Likewise.
20430 * sunrpc/rpc_svcout.c: Likewise.
20431 * sunrpc/rpc_tblout.c: Likewise.
20432 * sunrpc/rpc_util.c: Likewise.
20433 * sunrpc/rpc_util.h: Likewise.
20434 * sunrpc/rpcinfo.c: Likewise.
20435 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20436 * sunrpc/rpcsvc/key_prot.x: Likewise.
20437 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20438 * sunrpc/rpcsvc/mount.x: Likewise.
20439 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20440 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20441 * sunrpc/rpcsvc/rex.x: Likewise.
20442 * sunrpc/rpcsvc/rstat.x: Likewise.
20443 * sunrpc/rpcsvc/rusers.x: Likewise.
20444 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20445 * sunrpc/rpcsvc/spray.x: Likewise.
20446 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20447 * sunrpc/rtime.c: Likewise.
20448 * sunrpc/svc.c: Likewise.
20449 * sunrpc/svc_auth.c: Likewise.
20450 * sunrpc/svc_authux.c: Likewise.
20451 * sunrpc/svc_raw.c: Likewise.
20452 * sunrpc/svc_run.c: Likewise.
20453 * sunrpc/svc_simple.c: Likewise.
20454 * sunrpc/svc_tcp.c: Likewise.
20455 * sunrpc/svc_udp.c: Likewise.
20456 * sunrpc/svc_unix.c: Likewise.
20457 * sunrpc/svcauth_des.c: Likewise.
20458 * sunrpc/xcrypt.c: Likewise.
20459 * sunrpc/xdr.c: Likewise.
20460 * sunrpc/xdr_array.c: Likewise.
20461 * sunrpc/xdr_float.c: Likewise.
20462 * sunrpc/xdr_mem.c: Likewise.
20463 * sunrpc/xdr_rec.c: Likewise.
20464 * sunrpc/xdr_ref.c: Likewise.
20465 * sunrpc/xdr_sizeof.c: Likewise.
20466 * sunrpc/xdr_stdio.c: Likewise.
20467
20468 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20469 handling.
20470
20471 2010-08-19 Andreas Schwab <schwab@redhat.com>
20472
20473 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20474
20475 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
20476
20477 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20478 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20479 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20480 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20481 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20482 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20483 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20484 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20485 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20486 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20487 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20488 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20489 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20490 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20491
20492 2010-07-26 Anton Blanchard <anton@samba.org>
20493
20494 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20495 * malloc/arena.c (heap_trim): Likewise.
20496
20497 2010-08-16 Ulrich Drepper <drepper@redhat.com>
20498
20499 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20500 here. Not...
20501 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20502 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20503
20504 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20505
20506 * sysdeps/i386/elf/Makefile: New file.
20507
20508 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20509
20510 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20511 from fanotify_init.
20512 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20513 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20514
20515 2010-08-15 Ulrich Drepper <drepper@redhat.com>
20516
20517 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20518 of strncasecmp_l.
20519 * sysdeps/multiarch/strcmp.S: Likewise.
20520
20521 2010-08-14 Ulrich Drepper <drepper@redhat.com>
20522
20523 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20524 strncase_l-nonascii.
20525 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20526 Add strncase_l-ssse3.
20527 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20528 * sysdeps/x86_64/strcmp.S: Likewise.
20529 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20530 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20531 * sysdeps/x86_64/strncase.S: New file.
20532 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20533 * sysdeps/x86_64/strncase_l.S: New file.
20534 * string/Makefile (strop-tests): Add strncasecmp.
20535 * string/test-strncasecmp.c: New file.
20536
20537 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20538 warning.
20539
20540 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20541 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20542
20543 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20544
20545 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20546
20547 2010-08-12 Ulrich Drepper <drepper@redhat.com>
20548
20549 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20550 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20551 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20552
20553 2010-05-01 Alan Modra <amodra@gmail.com>
20554
20555 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20556 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20557 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20558 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20559 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20560 tidying. Don't tail-call __sigjmp_save for static lib.
20561 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20562 save location.
20563 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20564 (CALL_MCOUNT): Add eh info, and nop after bl.
20565 (TAIL_CALL_SYSCALL_ERROR): New macro.
20566 (PSEUDO_RET): Use it.
20567 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20568 Correct save location of integer regs and cr.
20569 (_dl_profile_resolve): Correct cr save location. Delete nops
20570 after bl when SHARED. Reduce cfi size a little by better
20571 placement of cfi directives.
20572 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20573 make a stack frame. Instead use parm save area as a temp.
20574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20575 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20577 Don't make a stack frame for parent, use parm save area.
20578 Increase child stack frame to 112 bytes. Don't save unused reg,
20579 and adjust reg usage. Set up cfi on error recovery and
20580 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20582 (__makecontext): Add dummy nop after jump to exit.
20583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20584 Use correct parm save area and cr save, reduce stack frame.
20585 Correct cfi for possible PSEUDO_RET frame setup.
20586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20587 Branch to local label emitted by PSEUDO_RET rather than
20588 __syscall_error.
20589
20590 2010-08-12 Andreas Schwab <schwab@redhat.com>
20591
20592 [BZ #11904]
20593 * locale/programs/locale.c (print_assignment): New function.
20594 (show_locale_vars): Use it.
20595
20596 2010-08-11 Ulrich Drepper <drepper@redhat.com>
20597
20598 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20599 field.
20600 (struct statfs64): Likewise.
20601 (_STATFS_F_FLAGS): Define.
20602 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20603 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20604 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20605 (ST_VALID): Define locally.
20606 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20607 __statvfs_getflags, use the provided value.
20608 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20609 __ASSUME_STATFS_F_FLAGS.
20610
20611 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20612
20613 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20614 Add sys/fanotify.h.
20615 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20616 fanotify_mask for GLIBC_2.13.
20617 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20618 fanotify_init and fanotify_mark.
20619 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20620 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20621
20622 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20623 Add prlimit.
20624 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20625 prlimit64 for GLIBC_2.13.
20626 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20627 prlimit64.
20628 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20629 syscall.
20630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20631 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20632 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20633 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20634 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20635 add prlimit alias.
20636 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20637
20638 [BZ #11903]
20639 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20640 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20641
20642 * nss/Makefile: Add rules to build and run tst-nss-test1.
20643 * shlib-versions: Add entry for libnss_test1.
20644 * nss/nss_test1.c: New file.
20645 * nss/tst-nss-test1.c: New file.
20646
20647 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20648 (__nss_configure_lookup): Set appropriate entry in
20649 __nss_configure_lookup to true.
20650 * nss/nsswitch.h: Define enum with indeces of databases in
20651 databases and __nss_database_custom arrays. Declare
20652 __nss_database_custom.
20653 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20654 to avoid using nscd when custom rules are installed.
20655 * nss/getXXbyYY_r.c: Likewise.
20656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20657
20658 * nss/nss_files/files-parse.c: Whitespace fixes.
20659
20660 2010-08-09 Ulrich Drepper <drepper@redhat.com>
20661
20662 [BZ #11883]
20663 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20664 * posix/fnmatch_loop.c: Likewise.
20665
20666 2010-07-17 Andi Kleen <ak@linux.intel.com>
20667
20668 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20669 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20670 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20671 * Versions.def [GLIBC_2.13]: Add.
20672
20673 2010-08-06 Ulrich Drepper <drepper@redhat.com>
20674
20675 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20676 Also fail if tpwd after pwuid call is NULL.
20677
20678 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20679
20680 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20681 when converting to ms.
20682
20683 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20684
20685 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20686 EOPNOTSUPP errors with ENOTTY.
20687 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20688 EOPNOTSUPP errors with ENOTTY.
20689
20690 2010-07-31 Ulrich Drepper <drepper@redhat.com>
20691
20692 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20693 Add strcasecmp_l-ssse3.
20694 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20695 strcasecmp.
20696 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20697 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20698 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20699
20700 2010-07-30 Ulrich Drepper <drepper@redhat.com>
20701
20702 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20703
20704 * string/Makefile (strop-tests): Add strcasecmp.
20705 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20706 strcasecmp_l-nonascii.
20707 (gen-as-const-headers): Add locale-defines.sym.
20708 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20709 * sysdeps/x86_64/strcasecmp.S: New file.
20710 * sysdeps/x86_64/strcasecmp_l.S: New file.
20711 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20712 * sysdeps/x86_64/locale-defines.sym: New file.
20713 * string/test-strcasecmp.c: New file.
20714
20715 * string/test-strcasestr.c: Test both ends of the range of characters.
20716 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20717
20718 2010-07-29 Roland McGrath <roland@redhat.com>
20719
20720 [BZ #11856]
20721 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20722
20723 2010-07-27 Ulrich Drepper <drepper@redhat.com>
20724
20725 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20726 for ld.so.
20727
20728 2010-07-27 Andreas Schwab <schwab@redhat.com>
20729
20730 * manual/memory.texi (Malloc Tunable Parameters): Document
20731 M_PERTURB.
20732
20733 2010-07-26 Roland McGrath <roland@redhat.com>
20734
20735 [BZ #11840]
20736 * configure.in (-fgnu89-inline check): Set and substitute
20737 gnu89_inline, not libc_cv_gnu89_inline.
20738 * configure: Regenerated.
20739 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20740
20741 2010-07-26 Ulrich Drepper <drepper@redhat.com>
20742
20743 * string/test-strnlen.c: New file.
20744 * string/Makefile (strop-tests): Add strnlen.
20745 * string/tester.c (test_strnlen): Add a few more test cases.
20746 * string/tst-strlen.c: Better error reporting.
20747
20748 * sysdeps/x86_64/strnlen.S: New file.
20749
20750 2010-07-24 Ulrich Drepper <drepper@redhat.com>
20751
20752 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20753 lower-latency instructions.
20754
20755 2010-07-23 Ulrich Drepper <drepper@redhat.com>
20756
20757 * string/test-strcasestr.c: New file.
20758 * string/test-strstr.c: New file.
20759 * string/Makefile (strop-tests): Add strstr and strcasestr.
20760 * string/str-two-way.h: Don't undefine MAX.
20761 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20762
20763 2010-07-21 Andreas Schwab <schwab@redhat.com>
20764
20765 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20766 strcasestr-nonascii.
20767 (CFLAGS-strcasestr-nonascii.c): Define.
20768 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20769 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20770 Remove unused attribute.
20771
20772 2010-07-20 Roland McGrath <roland@redhat.com>
20773
20774 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20775 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20776 ld.so.cache was broken. With it, there is no way to disable dsocaps
20777 like LD_HWCAP_MASK can disable hwcaps.
20778
20779 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20780
20781 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20782
20783 2010-07-16 Ulrich Drepper <drepper@redhat.com>
20784
20785 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20786 call in strcasestr.
20787 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20788 __strcasestr_sse42_nonascii.
20789 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20790 strcasestr-nonascii.c.
20791 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20792
20793 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
20794
20795 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20796 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20797 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20798 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20799
20800 2010-07-09 Ulrich Drepper <drepper@redhat.com>
20801
20802 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20803 fcntl.
20804
20805 2010-07-06 Andreas Schwab <schwab@redhat.com>
20806
20807 [BZ #11577]
20808 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20809 dl_signal_cerror.
20810
20811 2010-07-06 Ulrich Drepper <drepper@redhat.com>
20812
20813 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20814 _PC_PIPE_BUF using F_GETPIPE_SZ.
20815
20816 2010-07-05 Roland McGrath <roland@redhat.com>
20817
20818 * manual/arith.texi (Rounding Functions): Fix rint description
20819 implicit in round description.
20820
20821 2010-07-02 Ulrich Drepper <drepper@redhat.com>
20822
20823 * elf/Makefile: Fix linking for a few tests to make recent linker
20824 happy.
20825
20826 2010-06-30 Andreas Schwab <schwab@redhat.com>
20827
20828 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20829 $(common-objpfx)libc_nonshared.a.
20830
20831 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
20832
20833 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20834 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20835 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20836 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20837 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20838 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20839 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20840 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20855 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20856 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20857 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20858 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20859 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20860 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20861 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20862 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20863 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20864 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20865 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20866 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20881
20882 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20883
20884 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20885 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20886 * string/memmove.c (memmove): Renamed to ...
20887 (MEMMOVE): ...this. Default to memmove.
20888 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20889 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20890 (END_CHK): Define.
20891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20892 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20893 mempcpy-ssse3-back memmove-ssse3-back.
20894 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20895 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20896 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20897 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20898 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20899 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20900 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20901 * sysdeps/x86_64/multiarch/memmove.c: New file.
20902 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20903 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20904 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20905 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20906 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20907 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20908 Define.
20909 (index_Fast_Copy_Backward): Define.
20910 (HAS_ARCH_FEATURE): Define.
20911 (HAS_FAST_REP_STRING): Define.
20912 (HAS_FAST_COPY_BACKWARD): Define.
20913
20914 2010-06-21 Andreas Schwab <schwab@redhat.com>
20915
20916 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20917 Restore proper fallback handling.
20918
20919 2010-06-19 Ulrich Drepper <drepper@redhat.com>
20920
20921 [BZ #11701]
20922 * posix/group_member.c (__group_member): Correct checking loop.
20923
20924 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20925 OOM in getpwuid_r correctly. Return error number when the caller
20926 should return, otherwise -1.
20927 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20928 call returning > 0 value.
20929 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20930
20931 2010-06-07 Andreas Schwab <schwab@redhat.com>
20932
20933 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20934 libc_nonshared.a from targets in modules-names.
20935
20936 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20937
20938 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20939 requires it.
20940
20941 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
20942
20943 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20944 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20945 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20946 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20947
20948 2010-06-02 Andreas Schwab <schwab@redhat.com>
20949
20950 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20951
20952 2010-06-14 Ulrich Drepper <drepper@redhat.com>
20953
20954 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20955 and F_GETPIPE_SZ.
20956 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20957 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20958 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20959 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20960 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20961 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20962
20963 2010-06-14 Roland McGrath <roland@redhat.com>
20964
20965 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20966
20967 2010-06-07 Jakub Jelinek <jakub@redhat.com>
20968
20969 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20970 __REDIRECT followed by __THROW.
20971 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20972 * posix/getopt.h (getopt): Likewise.
20973
20974 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20975
20976 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20977 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20978 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20979 in AT_FLAGS.
20980 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20981 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20982
20983 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
20984
20985 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20986
20987 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20988
20989 [BZ #11640]
20990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20991 Properly check family and model.
20992
20993 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20994
20995 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20996
20997 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
20998
20999 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
21000
21001 2010-05-21 Ulrich Drepper <drepper@redhat.com>
21002
21003 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
21004 symbol reference.
21005
21006 2010-05-19 Andreas Schwab <schwab@redhat.com>
21007
21008 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21009 symbol reference.
21010
21011 2010-05-21 Andreas Schwab <schwab@redhat.com>
21012
21013 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21014 and internal_recvmmsg.
21015 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21016 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21017 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21018 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21019
21020 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21021 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21022 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21023
21024 2010-05-20 Andreas Schwab <schwab@redhat.com>
21025
21026 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21027
21028 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
21029
21030 POWER7 optimizations.
21031 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21032 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21033
21034 2010-05-19 Ulrich Drepper <drepper@redhat.com>
21035
21036 * version.h: Update for 2.13 development version.
21037
21038 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
21039
21040 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21041 exceptions. Return 0.
21042
21043 2010-05-07 Roland McGrath <roland@redhat.com>
21044
21045 * elf/ldconfig.c (main): Add a const.
21046
21047 2010-05-06 Ulrich Drepper <drepper@redhat.com>
21048
21049 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21050 (args_options): Add no-idn option.
21051 (ahosts_keys_int): Add idn_flags to ai_flags.
21052 (parse_option): Handle 'i' option to clear idn_flags.
21053
21054 * malloc/malloc.c (_int_free): Possible race in the most recently
21055 added check. Only act on the data if no current modification
21056 happened.
21057
21058 See ChangeLog.17 for earlier changes.