]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Fix fma (a, b, c) for small a * b (bugs 14784, 14785).
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12012-11-01 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #14784]
4 [BZ #14785]
5 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6 x * y using scaling, not as x * y + z.
7 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9 * math/libm-test.inc (fma_test): Add more tests.
10 (fma_test_towardzero): Likewise.
11 (fma_test_downward): Likewise.
12 (fma_test_upward): Likewise.
13
142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15
16 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17
182012-10-31 Joseph Myers <joseph@codesourcery.com>
19
20 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21 New variable.
22
232012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24
25 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26
272012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28
29 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30 Fix sort order.
31 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32 Likewise.
33
342012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35
36 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37 Fix the order of the list for glibc 2.17.
38 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39 Likewise.
40
412012-10-31 Andreas Schwab <schwab@linux-m68k.org>
42
43 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44
452012-10-31 Joseph Myers <joseph@codesourcery.com>
46
47 [BZ #14610]
48 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
49 for low part of x being zero before using __atanl (y).
50 * math/libm-test.inc (atan2_test): Add another test.
51
52 * manual/install.texi (Configuring and compiling): Document
53 general use of test-wrapper and test-wrapper-env.
54 * INSTALL: Regenerated.
55
56 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
57 (__fma): Do not extract and scale down low bits on after-rounding
58 systems when result rounded to normal precision would have normal
59 exponent.
60 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
61 (__fmal): Do not extract and scale down low bits on after-rounding
62 systems when result rounded to normal precision would have normal
63 exponent.
64 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
65 (__fmal): Do not extract and scale down low bits on after-rounding
66 systems when result rounded to normal precision would have normal
67 exponent.
68 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
69 macro.
70 (fma_test): Add more tests.
71 (fma_test_towardzero): Likewise.
72 (fma_test_downward): Likewise.
73 (fma_test_upward): Likewise.
74
752012-10-30 H.J. Lu <hongjiu.lu@intel.com>
76
77 * sysdeps/i386/tininess.h: Renamed to ...
78 * sysdeps/x86/tininess.h: This.
79 * sysdeps/x86_64/tininess.h: Removed.
80
812012-10-30 Joseph Myers <joseph@codesourcery.com>
82
83 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
84 input. Use $(build-program-cmd).
85 ($(objpfx)tst-array1-static.out): Likewise.
86 ($(objpfx)tst-array2.out): Likewise.
87 ($(objpfx)tst-array3.out): Likewise.
88 ($(objpfx)tst-array4.out): Likewise.
89 ($(objpfx)tst-array5.out): Likewise.
90 ($(objpfx)tst-array5-static.out): Likewise.
91
922012-10-30 Chris Metcalf <cmetcalf@tilera.com>
93
94 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
95 if defined.
96
97 * nss/nsswitch.h (nss_interface_function): Provide new
98 macro for use with NSS functions.
99 * grp/initgroups.c: Use new macro.
100 * nss/getXXbyYY.c: Likewise.
101 * nss/getXXbyYY_r.c: Likewise.
102 * nss/getXXent.c: Likewise.
103 * nss/getXXent_r.c: Likewise.
104 * sysdeps/posix/getaddrinfo.c: Likewise.
105
1062012-10-30 Andreas Jaeger <aj@suse.de>
107
108 * po/ru.po: Update Russion translation from translation project.
109
1102012-10-30 Joseph Myers <joseph@codesourcery.com>
111
112 [BZ #14152]
113 [BZ #14783]
114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
115 result and shift together with sticky bit instead of replicating
116 round-to-nearest rounding.
117 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
118 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
119 * math/libm-test.inc (fma_test): Add more tests. Do not permit
120 missing underflow exceptions.
121 (fma_test_towardzero): Add more tests.
122 (fma_test_downward): Likewise.
123 (fma_test_upward): Likewise.
124
125 [BZ #14047]
126 * sysdeps/generic/tininess.h: New file.
127 * sysdeps/i386/tininess.h: Likewise.
128 * sysdeps/sh/tininess.h: Likewise.
129 * sysdeps/x86_64/tininess.h: Likewise.
130 * stdlib/tst-strtod-underflow.c: Likewise.
131 * stdlib/tst-tininess.c: Likewise.
132 * stdlib/strtod_l.c: Include <tininess.h>.
133 (round_and_return): Do not set errno for exact underflow cases.
134 Force an underflow exception when setting errno for underflow.
135 Determine underflow based on rounding to normal precision if
136 TININESS_AFTER_ROUNDING.
137 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
138 ERANGE for exact underflow cases.
139 * stdlib/Makefile (tests): Add tst-tininess and
140 tst-strtod-underflow.
141 ($(objpfx)tst-tininess): Use $(link-libm).
142 ($(objpfx)tst-strtod-underflow): Likewise.
143
1442012-10-30 Andreas Jaeger <aj@suse.de>
145
146 [BZ#14767]
147 * elf/Makefile (tests): Remove conditional for have-initfini-array
148 since this is now always required and the variable does not exist
149 anymore.
150 (tests-static): Likewise.
151 (modules-names): Likewise.
152
153 * po/eo.po: Add Esperanto translation from translation project.
154
155 * elf/tst-array1.c (fini_array): Make writeable so that it can be
156 merged with constructor/destructor.
157 (init_array): Likewise.
158 * elf/tst-array2dep.c (fini_array): Likewise.
159 (init_array): Likewise.
160
1612012-10-29 Mike Frysinger <vapier@gentoo.org>
162
163 * manual/message.texi: Delete @cartouche tags.
164
1652012-10-29 Pino Toscano <toscano.pino@tiscali.it>
166
167 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
168 EOPNOTSUPP.
169 * sysdeps/mach/hurd/fsync.c: Likewise.
170
171 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
172 [_POSIX_REALTIME_SIGNALS]: Change condition to
173 [_POSIX_REALTIME_SIGNALS > 0].
174
1752012-10-27 Andreas Jaeger <aj@suse.de>
176
177 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
178 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
179 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
180 [__WORDSIZE != 64]: Likewise.
181
1822012-10-26 H.J. Lu <hongjiu.lu@intel.com>
183
184 * iconvdata/tst-table.sh: Remove ${SHELL}.
185 * iconvdata/tst-tables.sh: Likewise.
186
1872012-10-25 David S. Miller <davem@davemloft.net>
188
189 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
190 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
191 of strtoull.
192
193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
194 ifunc-impl-list.c
195 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
196 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
197 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
198 file.
199
2002012-10-25 Roland McGrath <roland@hack.frob.com>
201
202 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
203 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
204 __getdirentries.
205
2062012-10-25 Joseph Myers <joseph@codesourcery.com>
207 Jim Blandy <jimb@codesourcery.com>
208
209 * scripts/cross-test-ssh.sh: New file.
210 * manual/install.texi (Configuring and compiling): Document use of
211 cross-test-ssh.sh.
212 * INSTALL: Regenerated.
213
2142012-10-25 Pino Toscano <toscano.pino@tiscali.it>
215
216 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
217 EOPNOTSUPP.
218
2192012-10-25 Joseph Myers <joseph@codesourcery.com>
220
221 * Makeconfig (run-program-prefix): Fix comment.
222
2232012-10-24 Joseph Myers <joseph@codesourcery.com>
224 Jim Blandy <jimb@codesourcery.com>
225
226 * Makeconfig (test-wrapper): New variable,
227 (test-wrapper-env): Likewise.
228 [$(cross-compiling) = yes && $(test-wrapper) != ""]
229 (run-built-tests): Define to yes.
230 (run-program-prefix): Use $(test-wrapper).
231 (built-program-cmd): Likewise.
232 * Rules (make-test-out): Use $(test-wrapper-env) and
233 $(host-built-program-cmd).
234 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
235 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
236 tst-pathopt.sh.
237 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
238 $(test-wrapper-env) to tst-rtld-load-self.sh.
239 ($(objpfx)order2.out): Use $(test-wrapper).
240 ($(objpfx)tst-initorder.out): Likewise.
241 ($(objpfx)tst-initorder2.out): Likewise.
242 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
243 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
244 (test_wrapper_env): New variable. Use it to run ld.so.
245 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
246 Use it to run ld.so.
247 (test_wrapper_env): Likewise.
248 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
249 $(test-wrapper) to run-iconv-test.sh.
250 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
251 (ICONV): Use $test_wrapper.
252 * posix/Makefile ($(objpfx)globtest.out): Pass
253 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
254 globtest.sh, not $(run-program-prefix).
255 * posix/globtest.sh (run_via_rtld_prefix): New variable.
256 (test_wrapper): Likewise.
257 (test_wrapper_env): Likewise. Use it to run globtest with HOME
258 set together with run_via_rtld_prefix.
259 (run_program_prefix): Define in terms of test_wrapper and
260 run_via_rtld_prefix.
261
2622012-10-24 Roland McGrath <roland@hack.frob.com>
263
264 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
265 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
266 Targets removed.
267
268 [BZ #14743]
269 * include/time.h: Remove librt_hidden_proto (clock_gettime).
270 Declare __clock_getres, __clock_gettime, __clock_settime,
271 __clock_nanosleep, and __clock_getcpuclockid.
272 * rt/clock_gettime.c: Define __clock_gettime as an alias.
273 Remove librt_hidden_def (clock_gettime).
274 * sysdeps/unix/clock_gettime.c: Likewise.
275 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
276 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
277 * rt/clock_getres.c: Define __clock_getres as an alias.
278 * sysdeps/posix/clock_getres.c: Likewise.
279 * rt/clock_settime.c: Define __clock_settime as an alias.
280 * sysdeps/unix/clock_settime.c: Likewise.
281 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
282 * sysdeps/unix/clock_nanosleep.c: Likewise.
283 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
284 * rt/clock-compat.c: New file.
285 * rt/Makefile (librt-routines): Add clock-compat and move
286 $(clock-routines) to ...
287 (routines): ... here, new variable.
288 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
289 Don't add get_clockfreq here.
290 * rt/Versions (libc: GLIBC_2.17): New version set.
291 Add clock_* symbols here.
292 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
293 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
294 (GLIBC_2.17): Add clock_* symbols.
295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
297 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
299 Likewise.
300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
301 Likewise.
302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
306 * NEWS: Mention the move.
307
308 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
309 Use __open, __read, __close rather than their public counterparts.
310 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
311 (__get_clockfreq_via_cpuinfo): Likewise.
312 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
313 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
314
315 * config.h.in (HAVE_IFUNC): New #undef.
316 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
317 was successful.
318 * configure: Regenerated.
319
3202012-10-24 Mike Frysinger <vapier@gentoo.org>
321
322 * configure.in: Move READELF check to start of file.
323 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
324 libc_cv_asm_gnu_indirect_function in the process.
325 * configure: Regenerated.
326
3272012-10-24 Mike Frysinger <vapier@gentoo.org>
328
329 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
330 send the output to /dev/null.
331 (libc_cv_cc_with_libunwind): Likewise.
332 (libc_cv_as_noexecstack): Likewise.
333 * configure: Regenerate.
334
3352012-10-24 Joseph Myers <joseph@codesourcery.com>
336
337 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
338
339 * posix/globtest.sh (TMPDIR): Do not set.
340 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
341 (testout): Likewise.
342
3432012-10-24 Andreas Jaeger <aj@suse.de>
344
345 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
346 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
347 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
348 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
349 posix_fadvise64, posix_fallocate64.
350
351 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
352 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
353 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
354 Likewise.
355 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
356 Likewise.
357 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
358
359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
360 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
361 <bits/fcntl-linux.h>.
362 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
363
364 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
365 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
366 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
367 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
368 [__WORDSIZE != 64]: Likewise.
369
3702012-10-23 Joseph Myers <joseph@codesourcery.com>
371
372 * Makeconfig (run-built-tests): New variable.
373 * Rules [$(cross-compiling) = yes]: Change condition to
374 [$(run-built-tests) = no].
375 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
376 to [$(run-built-tests) = yes].
377 * elf/Makefile [$(cross-compiling) = no]: Likewise
378 * grp/Makefile [$(cross-compiling) = no]: Likewise.
379 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
380 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
381 * intl/Makefile [$(cross-compiling) = no]: Likewise.
382 * io/Makefile [$(cross-compiling) = no]: Likewise.
383 * libio/Makefile [$(cross-compiling) = no]: Likewise.
384 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
385 * misc/Makefile [$(cross-compiling) = no]: Likewise.
386 * posix/Makefile [$(cross-compiling) = no]: Likewise.
387 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
388 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
389 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
390 * string/Makefile [$(cross-compiling) = no]: Likewise.
391
392 * posix/Makefile ($(objpfx)globtest.out): Pass
393 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
394 $(rtld-installed-name).
395 * posix/globtest.sh (elf_objpfx): Remove variable.
396 (rtld_installed_name): Likewise.
397 (library_path): Likewise.
398 (run_program_prefix): New variable. Use for running globtest
399 binary.
400
4012012-10-23 Jim Blandy <jimb@codesourcery.com>
402 Joseph Myers <joseph@codesourcery.com>
403
404 * Makeconfig (host-built-program-cmd): New variable.
405 * elf/Makefile (tst-stackguard1-ARGS): Use
406 $(host-built-program-cmd).
407 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
408 (tst-spawn-ARGS): Likewise.
409 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
410
4112012-10-23 Joseph Myers <joseph@codesourcery.com>
412 Jim Blandy <jimb@codesourcery.com>
413
414 * Makeconfig (run-via-rtld-prefix): New variable.
415 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
416 (built-program-cmd): Likewise.
417
4182012-10-22 Andreas Jaeger <aj@suse.de>
419
420 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
421 __O_RSYNC if it exists, otherwise to O_SYNC.
422
4232012-10-22 Jim Blandy <jimb@codesourcery.com>
424 Joseph Myers <joseph@codesourcery.com>
425
426 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
427 /dev/null.
428 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
429 from /dev/null
430 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
431 /dev/null.
432
4332012-10-22 Andreas Jaeger <aj@suse.de>
434
435 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
436 Define always.
437 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
438
439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
440 bits/fcntl-linux.h.
441
442 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
443 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
444
445 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
446 to __O_LARGEFILE.
447 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
448 to __O_LARGEFILE.
449
4502012-10-21 Jim Blandy <jimb@codesourcery.com>
451 Joseph Myers <joseph@codesourcery.com>
452
453 * config.make.in (NM): New variable.
454
4552012-10-21 Andreas Jaeger <aj@suse.de>
456
457 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
458 definitions and declarations that are provided by
459 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
460
4612012-10-20 H.J. Lu <hongjiu.lu@intel.com>
462
463 [BZ #14683]
464 * elf/Makefile (tests-static): Add tst-leaks1-static.
465 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
466 ($(objpfx)tst-leaks1-static): New rule.
467 ($(objpfx)tst-leaks1-static-mem): Likewise.
468 (tst-leaks1-static-ENV): New macro.
469 * elf/dl-open.c (dl_open_worker): Check the main application
470 only if SHARED is defined.
471 * elf/tst-leaks1-static.c: New file.
472
4732012-10-20 Andreas Jaeger <aj@suse.de>
474
475 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
476 generic values for Linux.
477 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
478 and declarations that are provided by <bits/fcntl-linux.h> and
479 include <bits/fcntl-linux.h>.
480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
481 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
482
4832012-10-20 Roland McGrath <roland@hack.frob.com>
484
485 * io/fcntl.h: Move include of <bits/types.h> to the top and
486 include it unconditionally.
487
4882012-10-20 H.J. Lu <hongjiu.lu@intel.com>
489
490 * wcsmbs/Makefile (tests-ifunc): New variable.
491 (tests): Add $(tests-ifunc).
492 * wcsmbs/test-wcschr-ifunc.c: New file.
493 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
494 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
495 * wcsmbs/test-wcslen-ifunc.c: Likewise.
496 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
497 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
498
499 * string/Makefile (tests-ifunc): New variable.
500 (tests): Add $(tests-ifunc).
501 * string/test-memccpy.c (TEST_NAME): New macro.
502 * string/test-memchr.c (TEST_NAME): Likewise.
503 * string/test-memcmp.c (TEST_NAME): Likewise.
504 * string/test-memcpy.c (TEST_NAME): Likewise.
505 * string/test-memmem.c (TEST_NAME): Likewise.
506 * string/test-memmove.c (TEST_NAME): Likewise.
507 * string/test-memset.c (TEST_NAME): Likewise.
508 * string/test-rawmemchr.c (TEST_NAME): Likewise.
509 * string/test-stpcpy.c (TEST_NAME): Likewise.
510 * string/test-stpncpy.c (TEST_NAME): Likewise.
511 * string/test-strcasecmp.c (TEST_NAME): Likewise.
512 * string/test-strcasestr.c (TEST_NAME): Likewise.
513 * string/test-strcat.c (TEST_NAME): Likewise.
514 * string/test-strchr.c (TEST_NAME): Likewise.
515 * string/test-strcmp.c(TEST_NAME): Likewise.
516 * string/test-strcpy.c (TEST_NAME): Likewise.
517 * string/test-strcspn.c (TEST_NAME): Likewise.
518 * string/test-strlen.c (TEST_NAME): Likewise.
519 * string/test-strncasecmp.c (TEST_NAME): Likewise.
520 * string/test-strncmp.c (TEST_NAME): Likewise.
521 * string/test-strncpy.c (TEST_NAME): Likewise.
522 * string/test-strnlen.c (TEST_NAME): Likewise.
523 * string/test-strpbrk.c (TEST_NAME): Likewise.
524 * string/test-strrchr.c (TEST_NAME): Likewise.
525 * string/test-strspn.c (TEST_NAME): Likewise.
526 * string/test-strstr.c (TEST_NAME): Likewise.
527 * string/test-bcopy-ifunc.c: New file.
528 * string/test-bzero-ifunc.c: Likewise.
529 * string/test-memccpy-ifunc.c: Likewise.
530 * string/test-memchr-ifunc.c: Likewise.
531 * string/test-memcmp-ifunc.c: Likewise.
532 * string/test-memcpy-ifunc.c: Likewise.
533 * string/test-memmem-ifunc.c: Likewise.
534 * string/test-memmove-ifunc.c: Likewise.
535 * string/test-mempcpy-ifunc.c: Likewise.
536 * string/test-memset-ifunc.c: Likewise.
537 * string/test-rawmemchr-ifunc.c: Likewise.
538 * string/test-stpcpy-ifunc.c: Likewise.
539 * string/test-stpncpy-ifunc.c: Likewise.
540 * string/test-strcasecmp-ifunc.c: Likewise.
541 * string/test-strcasestr-ifunc.c: Likewise.
542 * string/test-strcat-ifunc.c: Likewise.
543 * string/test-strchr-ifunc.c: Likewise.
544 * string/test-strchrnul-ifunc.c: Likewise.
545 * string/test-strcmp-ifunc.c: Likewise.
546 * string/test-strcpy-ifunc.c: Likewise.
547 * string/test-strcspn-ifunc.c: Likewise.
548 * string/test-strlen-ifunc.c: Likewise.
549 * string/test-strncasecmp-ifunc.c: Likewise.
550 * string/test-strncat-ifunc.c: Likewise.
551 * string/test-strncmp-ifunc.c: Likewise.
552 * string/test-strncpy-ifunc.c: Likewise.
553 * string/test-strnlen-ifunc.c: Likewise.
554 * string/test-strpbrk-ifunc.c: Likewise.
555 * string/test-strrchr-ifunc.c: Likewise.
556 * string/test-strspn-ifunc.c: Likewise.
557 * string/test-strstr-ifunc.c: Likewise.
558
559 * debug/Makefile (tests-ifunc): New variable.
560 (tests): Add $(tests-ifunc).
561 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
562 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
563 * debug/test-stpcpy_chk-ifunc.c: New file.
564 * debug/test-strcpy_chk-ifunc.c: Likewise.
565
5662012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
567
568 [BZ #13601]
569 * elf/dl-load.c (open_verify): Retry read if the entire ELF
570 header is not read in.
571
5722012-10-19 Joseph Myers <joseph@codesourcery.com>
573
574 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
575 script to $(SHELL) as $<. Pass $(common-objpfx) to script
576 directly. Pass built executable to script as
577 $(built-program-cmd).
578 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
579 $testprogram without using LD_LIBRARY_PATH and $ldso.
580
581 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
582 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
583 $(rtld-installed-name).
584 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
585 (rtld_installed_name): Likewise.
586 (library_path): Likewise.
587 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
588 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
589 $(run-program-prefix) to tst-tables.sh.
590 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
591 it to run tst-table-from and tst-table-to.
592 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
593 Pass it to tst-table.sh.
594 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
595 $(run-program-prefix) to tst-gettext.sh.
596 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
597 tst-translit.sh.
598 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
599 tst-gettext2.sh.
600 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
601 to run tst-gettext.
602 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
603 to run tst-gettext2.
604 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
605 to run tst-translit.
606 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
607 $(run-program-prefix) to tst-mtrace.sh.
608 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
609 to run tst-mtrace.
610 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
611 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
612 $(rtld-installed-name).
613 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
614 (rtld_installed_name): Likewise.
615 (run_program_prefix): New variable. Use it to run wordexp-test.
616
617 * Makeconfig (ARCH): Remove all definitions.
618 (machine): Likewise.
619 [ARCH]: Remove conditional code.
620 [!objdir]: Give error.
621 [!objdir] (objpfx): Remove.
622 [!objdir] (common-objpfx): Likewise.
623 [!objdir] (common-objdir): Likewise.
624 * configure.in (config_makefile): Remove. Hardcode Makefile in
625 AC_CONFIG_FILES call.
626 * configure: Regenerated.
627
628 [BZ #13888]
629 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
630 or TMPDIR.
631 (testout): Likewise.
632
633 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
634 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
635 $(rtld-installed-name).
636 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
637 (rtld_installed_name): Likwise.
638 (runit): Remove function.
639 (run_getconf): New variable, Use it for running getconf binary.
640
6412012-10-18 H.J. Lu <hongjiu.lu@intel.com>
642
643 [BZ #14716]
644 * string/test-memmem.c (check_result): New function.
645 (do_one_test): Use it.
646 (check1): New function.
647 (test_main): Use it.
648
6492012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
650
651 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
652
6532012-10-18 Joseph Myers <joseph@codesourcery.com>
654
655 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
656 (_G_LSEEK64): Likewise.
657 (_G_MMAP64): Likewise.
658 (_G_FSTAT64): Likewise.
659 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
660 (_G_LSEEK64): Likewise.
661 (_G_MMAP64): Likewise.
662 (_G_FSTAT64): Likewise.
663 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
664 unconditional. Call __mmap64 directly.
665 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
666 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
667 __lseek64 directly.
668 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
669 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
670 __mmap64 directly.
671 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
672 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
673 __lseek64 directly.
674 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
675 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
676 __lseek64 directly.
677 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
678 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
679 __lseek64 directly.
680 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
681 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
682 __fxstat64 directly.
683 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
684 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
685 unconditional.
686 (freopen64) [!_G_OPEN64]: Remove conditional code.
687 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
688 unconditional.
689 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
690 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
691 unconditional.
692 (ftello64) [!_G_LSEEK64]: Remove conditional code.
693 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
694 unconditional.
695 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
696 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
697 unconditional.
698 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
699 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
700 unconditional.
701 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
702 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
703 unconditional.
704 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
705 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
706 unconditional.
707 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
708
7092012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
710
711 [BZ #12140]
712 * manual/memory.texi (Malloc Tunable Parameters): Add note
713 about free list pointers overwriting some perturb bytes.
714 Wording suggested by Roland McGrath.
715
7162012-10-17 Joseph Myers <joseph@codesourcery.com>
717
718 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
719 (lgamma_test): Likewise.
720 (tgamma_test): Likewise.
721
7222012-10-16 Florian Weimer <fweimer@redhat.com>
723
724 [BZ #14700]
725 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
726 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
727
7282012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
729
730 * NEWS: Mention BZ #14716.
731 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
732 when removing AVAILABLE1_USES_J macro.
733
7342012-10-12 H.J. Lu <hongjiu.lu@intel.com>
735
736 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
737 (__bswap_64): __uint64_t for unsigned 64-bit int.
738
7392012-10-12 Andreas Schwab <schwab@linux-m68k.org>
740
741 * include/string.h (memmem): Declare libc hidden alias.
742 * string/memmem.c (memmem): Define libc hidden alias.
743 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
744 __read, __close instead of open, read, close.
745
7462012-10-11 H.J. Lu <hongjiu.lu@intel.com>
747
748 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
749 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
750 global and hidden.
751 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
752 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
753 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
754 Likewise.
755 (__rawmemchr_sse2): Likewise.
756 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
757 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
758 (__strchr_sse2): Likewise.
759 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
760 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
761 (__strcasecmp_sse2): Likewise.
762 (__strncasecmp_sse2): Likewise.
763 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
764 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
765 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
766 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
767 (__strrchr_sse2): Likewise.
768 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
769 ifunc-impl-list.c.
770 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
771 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
772 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
773 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
774 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
775 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
776 * sysdeps/x86_64/multiarch/memset.S: Likewise.
777 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
778 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
779 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
780 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
781 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
782 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
783 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
784 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
785 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
786 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
787 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
788 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
789 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
790 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
791 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
792 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
793 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
794 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
795 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
796 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
797 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
798 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
799 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
800
801 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
802 global and hidden.
803 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
804 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
805 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
806 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
807 Likewise.
808 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
809 Likewise.
810 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
811 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
812 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
813 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
814 ifunc-impl-list.c.
815 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
816 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
817 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
818 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
819 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
820 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
821 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
822 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
823 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
824 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
825 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
826 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
827 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
828 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
829 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
830 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
831 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
832 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
833 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
834 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
835 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
836 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
837 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
838 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
839 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
840 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
841 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
842 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
843 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
844 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
845 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
846 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
847 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
848 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
849 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
850 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
851 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
852 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
853 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
854 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
855 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
856
857 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
858 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
859 * include/ifunc-impl-list.h: New file.
860 * misc/ifunc-impl-list.c: Likewise.
861 * misc/Makefile (routines): Add ifunc-impl-list.
862 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
863 * string/test-string.h: Include <ifunc-impl-list.h>.
864 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
865 impl_array): New variables.
866 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
867 are defined.
868 (test_init): Call __libc_ifunc_impl_list to initialize
869 func_list if TEST_IFUNC and TEST_NAME are defined.
870
871 * string/Makefile (strop-tests): Add bcopy and bzero.
872 * string/test-bcopy.c: New file.
873 * string/test-bzero.c: Likewise.
874 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
875 defined.
876 * string/test-memset.c: Support bzero test if TEST_BZERO is
877 defined.
878 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
879 __libc_memmove.
880 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
881 __libc_memset.
882 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
883 of memset.
884
8852012-10-10 Joseph Myers <joseph@codesourcery.com>
886
887 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
888 * configure: Regenerated.
889
890 * Makeconfig (+link-static-before-libc): Don't include
891 $(link-static-libc).
892
893 * libio/libio.h (_IO_pos_t): Remove.
894
8952012-10-10 Alexandre Oliva <aoliva@redhat.com>
896
897 * NEWS: Add note about FIPS mode. Wording suggested by Roland
898 McGrath.
899
9002012-10-10 Alexandre Oliva <aoliva@redhat.com>
901
902 * crypt/crypt-entry.c: Include fips-private.h.
903 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
904 * crypt/md5c-test.c (main): Tolerate disabled MD5.
905 * sysdeps/unix/sysv/linux/fips-private.h: New file.
906 * sysdeps/generic/fips-private.h: New file, dummy fallback.
907
9082012-10-10 Alexandre Oliva <aoliva@redhat.com>
909
910 * crypt/crypt-private.h: Include stdbool.h.
911 (_ufc_setup_salt_r): Return bool.
912 * crypt/crypt-entry.c: Include errno.h.
913 (__crypt_r): Return NULL with EINVAL for bad salt.
914 * crypt/crypt_util.c (bad_for_salt): New.
915 (_ufc_setup_salt_r): Check that salt is long enough and within
916 the specified alphabet.
917 * crypt/badsalttest.c: New file.
918 * crypt/Makefile (tests): Add it.
919 ($(objpfx)badsalttest): New.
920
9212012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
922
923 * NEWS: Add entry for BZ #14602.
924
9252012-10-09 Joseph Myers <joseph@codesourcery.com>
926
927 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
928 type-generic.
929 * math/libm-test.inc: Update comment listing what functions and
930 macros are tested.
931 (isgreater_test): New function.
932 (isgreaterequal_test): Likewise.
933 (isless_test): Likewise.
934 (islessequal_test): Likewise.
935 (islessgreater_test): Likewise.
936 (isunordered_test): Likewise.
937 (main): Call the new functions.
938
9392012-10-09 Roland McGrath <roland@hack.frob.com>
940
941 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
942 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
943 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
944 * sysdeps/i386/configure: Regenerated.
945 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
946 * sysdeps/mach/configure: Regenerated.
947 * sysdeps/mach/hurd/configure: Regenerated.
948 * sysdeps/powerpc/configure: Regenerated.
949 * sysdeps/powerpc/powerpc32/configure: Regenerated.
950 * sysdeps/powerpc/powerpc64/configure: Regenerated.
951 * sysdeps/s390/s390-32/configure: Regenerated.
952 * sysdeps/s390/s390-64/configure: Regenerated.
953 * sysdeps/sh/configure: Regenerated.
954 * sysdeps/sparc/configure: Regenerated.
955 * sysdeps/unix/sysv/linux/configure: Regenerated.
956 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
957 * sysdeps/x86_64/configure: Regenerated.
958
959 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
960 defined. Don't check if MAP is NULL.
961
9622012-10-09 Joseph Myers <joseph@codesourcery.com>
963
964 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
965 (_G_stat64): Likewise.
966 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
967 (_G_stat64): Likewise.
968 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
969 instead of struct _G_stat64.
970 * libio/fileops.c (mmap_remap_check): Likewise.
971 (decide_maybe_mmap): Likewise.
972 (_IO_new_file_seekoff): Likewise.
973 (_IO_file_stat): Likewise.
974 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
975 _G_off64_t.
976 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
977 instead of struct _G_stat64.
978 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
979
9802012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
981
982 [BZ #14602]
983 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
984 Replace with ...
985 (CHECK_EOL): New macro.
986 (two_way_short_needle): Check beginning of haystack for EOL. Use
987 CHECK_EOL.
988 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
989 Replace with CHECK_EOL.
990 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
991 Replace with CHECK_EOL.
992
9932012-10-08 Joseph Myers <joseph@codesourcery.com>
994
995 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
996 type-generic.
997 * math/libm-test.inc: Update comment listing what functions and
998 macros are tested.
999 (finite_test): New function.
1000 (isinf_test): Likewise.
1001 (isnan_test): Likewise.
1002 (fpclassify_test): Test subnormal input.
1003 (isfinite_test): Likewise.
1004 (isnormal_test): Likewise.
1005 (main): Call the new functions.
1006
10072012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1008
1009 [BZ #14660]
1010 * Makerules (%.dynsym): Force C locale when running
1011 $(OBJDUMP) --dynamic-syms.
1012
10132012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1014
1015 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1016 <stdint.h>.
1017
10182012-10-06 David S. Miller <davem@davemloft.net>
1019
1020 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1021 upper 32-bits of the length value in %o2 since we use branch-on-register
1022 tests which consider the entire 64-bit register.
1023
10242012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1025
1026 * string/test-strstr.c (check2): Add a test for page boundary.
1027
10282012-10-05 David S. Miller <davem@davemloft.net>
1029
1030 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1031 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1032 file.
1033 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1034 sysdep_routines.
1035 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1036 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1037 and bzero when HWCAP_SPARC_CRYPTO is present.
1038
10392012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1040
1041 [BZ #14602]
1042 * string/test-strstr.c (check2): New function.
1043 (test_main): Call check2.
1044
1045 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1046 and bug-strchr1.
1047 * string/bug-strcasestr1.c (do_test): Moved to ...
1048 * string/test-strcasestr.c (check1): Here. New function.
1049 (do_one_test): Break out result checking code into ...
1050 (check_result): This. New function.
1051 (do_one_test): Call check_result.
1052 (test_main): Call check1.
1053 * string/bug-strchr1.c (do_test): Moved to ...
1054 * string/test-strchr.c (check1): Here. New function.
1055 (do_one_test): Break out result checking code into ...
1056 (check_result): This. New function.
1057 (do_one_test): Call check_result.
1058 (test_main): Call check1.
1059 * string/bug-strstr1.c (main): Moved to ...
1060 * string/test-strchr.c (check1): Here. New function.
1061 (do_one_test): Break out result checking code into ...
1062 (check_result): This. New function.
1063 (do_one_test): Call check_result.
1064 (test_main): Call check1.
1065 * string/bug-strcasestr1.c: Removed.
1066 * string/bug-strchr1.c: Likewise.
1067 * string/bug-strstr1.c: Likewise.
1068
1069 * elf/Makefile (dl-routines): Add hwcaps.
1070 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1071 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1072 (_dl_important_hwcaps): Moved to ...
1073 * elf/dl-hwcaps.c: Here. New file.
1074 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1075
1076 [BZ #14557]
1077 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1078 if IS_IN_rtld isn't defined.
1079
1080 * elf/dl-support.c (_dl_sysinfo_map): New.
1081 Include "get-dynamic-info.h" and "setup-vdso.h".
1082 (_dl_non_dynamic_init): Call setup_vdso.
1083 * elf/dynamic-link.h: Don't include <assert.h>.
1084 (elf_get_dynamic_info): Moved to ...
1085 * elf/get-dynamic-info.h: Here. New file.
1086 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1087 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1088 * elf/setup-vdso.h: Here. New file.
1089 * elf/rtld.c: Include "setup-vdso.h".
1090 (dl_main): Call setup_vdso.
1091
10922012-10-05 Joseph Myers <joseph@codesourcery.com>
1093
1094 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1095 creal in comment listing functions tested. List finite, isinf,
1096 isnan, isless, islessequal, isgreater, isgreaterequal,
1097 islessgreater, isunordered, lgamma_r and pow10 as functions and
1098 macros not tested. Mention which functions not tested are aliases
1099 for other functions. Fix typo. Note that signs of NaNs are not
1100 tested.
1101
1102 * scripts/config.guess: Update from config.git.
1103 * scripts/config.sub: Likewise.
1104
11052012-10-04 Roland McGrath <roland@hack.frob.com>
1106
1107 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1108 * misc/madvise.c (madvise): Renamed to __madvise.
1109 Make madvise a weak alias.
1110 * include/sys/mman.h: Declare __madvise.
1111 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1112 * sysdeps/unix/syscalls.list
1113 (madvise): Make __madvise the strong name, and madvise a weak alias.
1114 * sysdeps/unix/sysv/linux/syscalls.list
1115 (madvise, mmap): Remove redundant entries.
1116 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1117 * malloc/malloc.c (mtrim): Likewise.
1118 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1119
11202012-10-03 Roland McGrath <roland@hack.frob.com>
1121
1122 * sysdeps/mach/hurd/dl-cache.c: File removed.
1123 * config.h.in (USE_LDCONFIG): New #undef.
1124 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1125 * configure: Regenerated.
1126 * elf/Makefile (dl-routines): Add dl-cache only under
1127 [$(use-ldconfig) = yes].
1128 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1129 cache on [USE_LDCONFIG].
1130 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1131 [USE_LDCONFIG].
1132 * elf/rtld.c (dl_main): Likewise.
1133
11342012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1135
1136 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1137 _SC_LEVEL4_CACHE_LINESIZE.
1138
11392012-10-03 Roland McGrath <roland@hack.frob.com>
1140
1141 * sysdeps/unix/bsd/confstr.h: File removed.
1142
11432012-10-02 Alexandre Oliva <aoliva@redhat.com>
1144
1145 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1146 sys/sdt-config.h.
1147
11482012-10-02 Roland McGrath <roland@hack.frob.com>
1149
1150 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1151 Make 'mapoff' field ElfW(Off) rather than off_t.
1152
11532012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1154
1155 * nscd/Makefile: Remove nscd-cflags and all its users.
1156 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1157 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1158
1159 [BZ #10631]
1160 * malloc.c (malloc_printerr): Clarify error message.
1161
11622012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1163
1164 [BZ #14648]
1165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1166 Set bit_FMA_Usable if FMA is supported.
1167 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1168 macro.
1169 (bit_FMA4_Usable): Updated.
1170 (index_FMA_Usable): New macro.
1171 (CPUID_FMA): Likewise
1172 (HAS_FMA): Defined with bit_FMA_Usable.
1173
11742012-10-01 Roland McGrath <roland@hack.frob.com>
1175
1176 * bits/types.h (__swblk_t): Type removed.
1177 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1178 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1179 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1180 (__SWBLK_T_TYPE): Likewise.
1181 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1182 (__SWBLK_T_TYPE): Likewise.
1183 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1184 (__SWBLK_T_TYPE): Likewise.
1185 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1186 (__SWBLK_T_TYPE): Likewise.
1187
11882012-10-01 Patsy Franklin <pfrankli@redhat.com>
1189 Honza Horak <hhorak@redhat.com>
1190
1191 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1192 (xdr_mapname): Use YPMAXMAP as maxsize.
1193 (xdr_peername): Use YPMAXPEER as maxsize.
1194 (xdr_keydat): Use YPAXRECORD as maxsize.
1195 (xdr_valdat): Use YPMAXRECORD as maxsize.
1196
11972012-10-01 Roland McGrath <roland@hack.frob.com>
1198
1199 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1200
1201 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1202 * csu/init-first.c: ... here.
1203 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1204 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1205 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1206 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1207 * sysdeps/i386/init-first.c: File removed.
1208 * sysdeps/sh/init-first.c: File removed.
1209
12102012-10-01 Joseph Myers <joseph@codesourcery.com>
1211
1212 [BZ #14645]
1213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1214 if x * y might underflow to zero and z is zero.
1215 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1216 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1217 * math/libm-test.inc (min_subnorm_value): New variable.
1218 (fma_test): Add more tests.
1219 (fma_test_towardzero): Likewise.
1220 (fma_test_downward): Likewise
1221 (fma_test_upward): Likewise.
1222 (initialize): Set min_subnorm_value.
1223
12242012-09-29 Joseph Myers <joseph@codesourcery.com>
1225
1226 [BZ #14638]
1227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1228 0 + 0.
1229 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1230 mode for addition resulting in exact zero.
1231 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1233 exact 0 + 0.
1234 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1235 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1236 * math/libm-test.inc (fma_test): Add more tests.
1237 (fma_test_towardzero): New function.
1238 (fma_test_downward): Likewise.
1239 (fma_test_upward): Likewise.
1240 (main): Call the new functions.
1241
12422012-09-28 David S. Miller <davem@davemloft.net>
1243
1244 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1245
12462012-09-28 Roland McGrath <roland@hack.frob.com>
1247
1248 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1249 instead of SIGALRM.
1250
1251 * sysdeps/gnu/_G_config.h: Moved to ...
1252 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1253 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1254 * sysdeps/generic/_G_config.h: ... here.
1255
1256 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1257
1258 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1259
1260 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1261 Conditionalize target on [libnss_test1.so-version].
1262
1263 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1264
1265 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1266 (elfobjdir): Move out of conditionals.
1267
1268 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1269 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1270 (__nss_lookup_function): Conditionalize label remove_from_tree on
1271 [!DO_STATIC_NSS || SHARED], matching its only use.
1272
12732012-09-28 David S. Miller <davem@davemloft.net>
1274
1275 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1276 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1277 file.
1278 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1279 sysdep_routines.
1280 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1281 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1282 when HWCAP_SPARC_CRYPTO is present.
1283
12842012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1285
1286 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1287
12882012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1289
1290 [BZ #6530]
1291 * stdio-common/vfprintf.c (process_string_arg): Revert
1292 2000-07-22 change.
1293
12942011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1295
1296 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1297 for testcase.
1298 * stdio-common/tst-sprintf.c: Include <locale.h>
1299 (main): Test sprintf's handling of incomplete multibyte
1300 characters.
1301
13022012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1303
1304 * elf/dl-runtime.c (VERSYMIDX): Removed.
1305 * elf/dl-version.c (VERSYMIDX): Likewise.
1306 * elf/do-rel.h (VERSYMIDX): Likewise.
1307 (VALIDX): Likewise.
1308 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1309 * elf/rtld.c (VALIDX): Likewise.
1310 (ADDRIDX): Likewise.
1311 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1312 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1313 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
1314 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1315 (VALIDX): Likewise.
1316 (ADDRIDX): Likewise.
1317
13182012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1319
1320 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1321
13222012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1323
1324 [BZ #11438]
1325 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1326 to global scope.
1327 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1328 addresses are in the same scope as 192.0.2/24.
1329 * posix/gai.conf: Document new scope table defaults.
1330
13312012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1332
1333 [BZ #5298]
1334 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1335 for ftell. Compute offsets from write pointers instead.
1336 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1337
13382012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1339
1340 [BZ #14543]
1341 * libio/Makefile (tests): New test case tst-fseek.
1342 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1343 combination works in wide mode.
1344 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1345 state when the external buffer state changes.
1346
13472012-09-27 David S. Miller <davem@davemloft.net>
1348
1349 [BZ #14376]
1350 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1351 pass reloc->r_addend in as the 'high' argument to
1352 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1353
1354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1355
13562012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1357
1358 * rt/tst-aio2.c: Include <pthread.h>.
1359 * rt/tst-aio3.c: Likewise.
1360
13612012-09-27 Steve Ellcey <sellcey@mips.com>
1362
1363 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1364
13652012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1366
1367 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1368 contents on [SHARED].
1369
13702012-09-26 Marek Polacek <polacek@redhat.com>
1371
1372 [BZ #14530]
1373 [BZ #13741]
1374 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1375 for C++ and GCC <4.3 as well as for non GCC compilers.
1376
13772012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1378
1379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1380
13812012-09-25 Roland McGrath <roland@hack.frob.com>
1382
1383 * Makefile.in (all, install): Declare with .PHONY.
1384 Reported by Michael Hope <michael.hope@linaro.org>.
1385
13862012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1387
1388 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1389 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1390 system header.
1391 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1392 Likewise.
1393 (sydep_routines): Add the new and the internal functions.
1394 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1395 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1397 (GLIBC_2.17): Add the new function.
1398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1399 (GLIBC_2.17): Likewise.
1400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1401 (GLIBC_2.17): Likewise.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1403 (GLIBC_2.17): Likewise.
1404 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1405
14062012-09-25 Alan Modra <amodra@gmail.com>
1407
1408 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1409 Add release barrier before setting once_control to say
1410 initialisation is done. Add hints on lwarx. Use macro in
1411 place of isync.
1412 (clear_once_control): Add release barrier.
1413
14142012-09-25 Joseph Myers <joseph@codesourcery.com>
1415
1416 [BZ #13629]
1417 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1418 specially.
1419 * math/s_clog10.c (__clog10): Likewise.
1420 * math/s_clog10f.c (__clog10f): Likewise.
1421 * math/s_clog10l.c (__clog10l): Likewise.
1422 * math/s_clogf.c (__clogf): Likewise.
1423 * math/s_clogl.c (__clogl): Likewise.
1424 * math/Makefile (libm-calls): Add x2y2m1.
1425 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1426 (__x2y2m1): Likewise.
1427 (__x2y2m1l): Likewise.
1428 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1429 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1430 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1431 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1432 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1433 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1434 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1435 * sysdeps/i386/fpu/libm-test-ulps: Update.
1436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1437
1438 [BZ #14621]
1439 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1440 int as type of variable DEPTH.
1441 (glob): Use size_t instead of int as type of variables NEWCOUNT
1442 and OLD_PATHC.
1443
14442012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1445
1446 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1447 Add s_sincosf-sse2.
1448 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1449 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1450 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1451 macros for using routine as __sincosf_ia32.
1452 Use macro for function declaration and weak_alias.
1453 * sysdeps/i386/fpu/libm-test-ulps: Update.
1454
1455 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1457
1458 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
1459 subnormal argument.
1460 * math/s_cexpf.c (__cexpf): Likewise.
1461 * math/s_csinf.c (__csinf): Likewise.
1462 * math/s_csinhf.c (__csinhf): Likewise.
1463 * math/s_ctanf.c (__ctanf): Likewise.
1464 * math/s_ctanhf.c (__ctanhf): Likewise.
1465 * math/s_ccosh.c (__ccoshf): Likewise.
1466 * math/s_cexp.c (__cexpl): Likewise.
1467 * math/s_csin.c (__csin): Likewise.
1468 * math/s_csinh.c (__csinh): Likewise.
1469 * math/s_ctan.c (__ctan): Likewise.
1470 * math/s_ctanh.c (ctanh): Likewise.
1471 * math/s_ccoshl.c (__ccoshl): Likewise.
1472 * math/s_cexpl.c (__cexpl): Likewise.
1473 * math/s_csinl.c (__csinl): Likewise.
1474 * math/s_csinhl.c (__csinhl): Likewise.
1475 * math/s_ctanl.c (__ctanl): Likewise.
1476 * math/s_ctanhl.c (__ctanhl): Likewise.
1477
14782012-09-25 Joseph Myers <joseph@codesourcery.com>
1479
1480 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1481 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1482 (_IO_off_t): Define to __off_t, not _G_off_t.
1483 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1484 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1485 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1486 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1487 type of __dummy and __dummy2 fields.
1488 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1489 (_G_ssize_t): Likewise.
1490 (_G_off_t): Likewise.
1491 (_G_pid_t): Likewise.
1492 (_G_uid_t): Likewise.
1493 (_G_wchar_t): Likewise.
1494 (_G_wint_t): Likewise.
1495 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1496 (_G_ssize_t): Likewise.
1497 (_G_off_t): Likewise.
1498 (_G_pid_t): Likewise.
1499 (_G_uid_t): Likewise.
1500 (_G_wchar_t): Likewise.
1501 (_G_wint_t): Likewise.
1502 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1503 (_G_ssize_t): Likewise.
1504 (_G_off_t): Likewise.
1505 (_G_pid_t): Likewise.
1506 (_G_uid_t): Likewise.
1507 (_G_wchar_t): Likewise.
1508 (_G_wint_t): Likewise.
1509
15102012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1511
1512 * malloc/arena.c: Include malloc-sysdep.h.
1513 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1514 is sufficient to shrink the heap or an unmap is needed.
1515 * sysdeps/generic/malloc-sysdep.h: New file. Define
1516 new function check_may_shrink_heap.
1517 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1518 new function check_may_shrink_heap.
1519
15202012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1521
1522 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1523 comments.
1524
15252012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1526
1527 * catgets/test-gencat.sh: Add "set -e".
1528 * elf/tst-pathopt.sh: Likewise.
1529 * grp/tst_fgetgrent.sh: Likewise.
1530 * iconvdata/run-iconv-test.sh: Likewise.
1531 * intl/tst-gettext.sh: Likewise.
1532 * intl/tst-gettext2.sh: Likewise.
1533 * intl/tst-gettext4.sh: Likewise.
1534 * intl/tst-gettext6.sh: Likewise.
1535 * intl/tst-translit.sh: Likewise.
1536 * io/ftwtest-sh: Likewise.
1537 * libio/test-freopen.sh: Likewise.
1538 * malloc/tst-mtrace.sh: Likewise.
1539 * posix/globtest.sh: Likewise.
1540 * posix/tst-getconf.sh: Likewise.
1541 * posix/wordexp-tst.sh: Likewise.
1542 * stdio-common/tst-printf.sh: Likewise.
1543 * stdio-common/tst-unbputc.sh: Likewise.
1544 * stdlib/tst-fmtmsg.sh: Likewise.
1545 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1546 * catgets/Makefile: Do not specify -e option when running
1547 testsuite shell scripts.
1548 * elf/Makefile: Likewise.
1549 * grp/Makefile: Likewise.
1550 * iconvdata/Makefile: Likewise.
1551 * intl/Makefile: Likewise.
1552 * io/Makefile: Likewise.
1553 * libio/Makefile: Likewise.
1554 * malloc/Makefile: Likewise.
1555 * posix/Makefile: Likewise.
1556 * stdio-common/Makefile: Likewise.
1557 * stdlib/Makefile: Likewise.
1558 * sysdeps/x86_64/Makefile: Likewise.
1559
1560 * io/ftwtest-sh: Add copyright header.
1561 * posix/globtest.sh: Likewise.
1562 * posix/tst-getconf.sh: Likewise.
1563 * posix/wordexp-tst.sh: Likewise.
1564 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1565
15662012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1567
1568 [BZ #13679]
1569 * Makeconfig (+link): Defined as $(+link-static) if
1570 $(build-shared) isn't yes.
1571 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1572 isn't yes.
1573 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1574
1575 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1576
1577 [BZ #14562]
1578 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1579 new chunk size with MALLOC_ALIGN_MASK.
1580
15812012-09-24 Joseph Myers <joseph@codesourcery.com>
1582
1583 [BZ #5044]
1584 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1585 <rounding-mode.h>.
1586 (__printf_fphex): Determine rounding using get_rounding_mode and
1587 round_away.
1588 * stdio-common/tst-printf-round.c (struct hex_test): New
1589 structure.
1590 (hex_tests): New variable.
1591 (test_hex_in_one_mode): New function.
1592 (do_test): Also run tests for hex float output.
1593
15942012-09-21 Joseph Myers <joseph@codesourcery.com>
1595
1596 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1597 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1598 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1599 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1600 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1601 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1602 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1603 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1604
16052012-09-20 Joseph Myers <joseph@codesourcery.com>
1606
1607 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1608 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1609 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1610 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1611
16122012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1613
1614 [BZ #14579]
1615 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1616 mode only.
1617 * elf/tst-rtld-load-self.sh: New test.
1618 * elf/Makefile: Run it.
1619
16202012-09-18 Joseph Myers <joseph@codesourcery.com>
1621
1622 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1623 (tst-writev-ENV): Remove.
1624 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1625
16262012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1627
1628 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1629
16302012-09-17 Joseph Myers <joseph@codesourcery.com>
1631
1632 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1633 unconditional.
1634 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1635 Likewise.
1636 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1637 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1638 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1639 Likewise.
1640
16412012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1642
1643 [BZ #14587]
1644 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1645 * config.make.in (have-cpp-asm-debuginfo): Removed.
1646 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1647 * configure: Regenerated.
1648
16492012-09-14 Joseph Myers <joseph@codesourcery.com>
1650
1651 [BZ #5044]
1652 * stdio-common/printf_fp.c: Include <stdbool.h> and
1653 <rounding-mode.h>.
1654 (___printf_fp): Determine rounding using get_rounding_mode and
1655 round_away.
1656 * stdio-common/tst-printf-round.c: New file.
1657 * stdio-common/Makefile (tests): Add tst-printf-round.
1658 (link-libm): New variable.
1659 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1660
16612012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1662
1663 [BZ #14576]
1664 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1665 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1666 Likewise.
1667 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1668 Likewise.
1669
16702012-09-13 Joseph Myers <joseph@codesourcery.com>
1671
1672 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1673 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1674 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1675 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1676
16772012-09-12 Joseph Myers <joseph@codesourcery.com>
1678
1679 [BZ #14518]
1680 * include/rounding-mode.h: New file.
1681 * sysdeps/generic/get-rounding-mode.h: Likewise.
1682 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1683 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1684 (MAX_VALUE): New macro.
1685 (MIN_VALUE): Likewise.
1686 (overflow_value): New function.
1687 (underflow_value): Likewise.
1688 (round_and_return): Use overflow_value and underflow_value to
1689 determine return values in overflow and underflow cases. Use
1690 round_away to determine rounding depending on rounding mode.
1691 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1692 determine return values in overflow and underflow cases.
1693 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1694 (struct test_results): New structure.
1695 (struct test): Use struct test_results to store expected results
1696 for all rounding modes.
1697 (TEST): Include expected results for all rounding modes.
1698 (test_in_one_mode): New function.
1699 (do_test): Use test_in_one_mode to compute and check results.
1700 Check results for all rounding modes.
1701 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1702 $(link-libm).
1703
17042012-12-09 Allan McRae <allan@archlinux.org>
1705
1706 * sysdeps/i386/fpu/libm-test-ulps: Update
1707
17082012-09-11 Joseph Myers <joseph@codesourcery.com>
1709
1710 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1711 (_G_int32_t): Likewise.
1712 (_G_uint16_t): Likewise.
1713 (_G_uint32_t): Likewise.
1714 (_G_HAVE_BOOL): Likewise.
1715 (_G_HAVE_ATEXIT): Likewise.
1716 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1717 (_G_HAVE_IO_FILE_OPEN): Likewise.
1718 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1719 (_G_int32_t): Likewise.
1720 (_G_uint16_t): Likewise.
1721 (_G_uint32_t): Likewise.
1722 (_G_HAVE_BOOL): Likewise.
1723 (_G_HAVE_ATEXIT): Likewise.
1724 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1725 (_G_HAVE_IO_FILE_OPEN): Likewise.
1726 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1727 (_G_int32_t): Likewise.
1728 (_G_uint16_t): Likewise.
1729 (_G_uint32_t): Likewise.
1730 (_G_HAVE_BOOL): Likewise.
1731 (_G_HAVE_ATEXIT): Likewise.
1732 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1733 (_G_HAVE_IO_FILE_OPEN): Likewise.
1734
17352012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1736
1737 * csu/libc-tls.c: Update copyright years.
1738
17392012-09-10 Joseph Myers <joseph@codesourcery.com>
1740
1741 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1742 [!_G_USING_THUNKS]: Remove conditional code.
1743 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1744 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1745
1746 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1747 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1748 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1749 (_G_VTABLE_LABEL_PREFIX): Likewise.
1750 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1751 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1752 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1753 (_G_VTABLE_LABEL_PREFIX): Likewise.
1754 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1755 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1756 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1757 (_G_VTABLE_LABEL_PREFIX): Likewise.
1758 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1759
17602012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1761
1762 * libio/Makefile: Include ../Makeconfig before tests.
1763 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1764 only if $(build-shared) is yes.
1765
1766 * iconv/gconv_db.c: Update copyright years.
1767
17682012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1769
1770 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1771 unwind info if defined PIC. Fix special cases description.
1772 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1773
1774 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1775 DP_HI_MASK entry.
1776 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1777
17782012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1779
1780 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1781
1782 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1783 is NULL.
1784
1785 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1786 (LDLIBS-tst-chk4): This.
1787 (LDFLAGS-tst-chk5): Renamed to ...
1788 (LDLIBS-tst-chk5): This.
1789 (LDFLAGS-tst-chk6): Renamed to ...
1790 (LDLIBS-tst-chk6): This.
1791 (LDFLAGS-tst-lfschk4): Renamed to ...
1792 (LDLIBS-tst-lfschk4): This.
1793 (LDFLAGS-tst-lfschk5): Renamed to ...
1794 (LDLIBS-tst-lfschk5): This.
1795 (LDFLAGS-tst-lfschk6): Renamed to ...
1796 (LDLIBS-tst-lfschk6): This.
1797
1798 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1799 on $(common-objpfx)soversions.mk.
1800
18012012-09-07 Joseph Myers <joseph@codesourcery.com>
1802
1803 [BZ #10014]
1804 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1805 example host name.
1806
18072012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1808
1809 * malloc/arena.c (arena_get_retry): New function that gets
1810 another arena for the caller to try its request on.
1811 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1812 current arena cannot fulfill the request.
1813 (__libc_memalign): Likewise.
1814 (__libc_memalign): Likewise.
1815 (__libc_pvalloc): Likewise.
1816 (__libc_calloc): Likewise.
1817
18182012-09-05 John Tobey <john.tobey@gmail.com>
1819
1820 [BZ #13542]
1821 * manual/arith.texi (Operations on Complex): Fix description
1822 of carg branch cut.
1823
18242012-09-06 Joseph Myers <joseph@codesourcery.com>
1825
1826 [BZ #10014]
1827 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1828 host name.
1829
1830 [BZ #10038]
1831 * manual/memory.texi (Memory): Make order of menu items match
1832 order of sections.
1833
18342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1835
1836 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1837 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1838 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1839
18402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1841
1842 * csu/libc-tls.c (static_dtv): Renamed to ...
1843 (_dl_static_dtv): This. Make it global.
1844 (_dl_initial_dtv): Removed.
1845 (__libc_setup_tls): Updated.
1846 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1847 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1848 DL_INITIAL_DTV.
1849
18502012-09-06 Petr Machata <pmachata@redhat.com>
1851
1852 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1853 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1854 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1855 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1856
18572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1858
1859 [BZ #14545]
1860 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1861 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1862 freeing dtv[-1].
1863
18642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1865
1866 [BZ #14544]
1867 * Makeconfig (link-static-before-libc): Replace $(+prector)
1868 with $(+prectorT).
1869 (link-static-after-libc): Replace $(+postctor) with
1870 $(+postctorT).
1871 (link-bounded): Replace $(+prector)/$(+postctor) with
1872 $(+prectorT)/$(+postctorT).
1873 (+prectorT): New macro.
1874 (+postctorT): Likewise.
1875
18762012-09-06 Joseph Myers <joseph@codesourcery.com>
1877
1878 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1879 (round_str): Handle values above the maximum for IBM long double
1880 as inexact.
1881 * stdlib/tst-strtod-round.c (tests): Regenerated.
1882
18832012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1884
1885 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1886 assembler flag.
1887 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1888 zarch_nohighgprs around the zarch optimized routines.
1889 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1890 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1891 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1892 for zarch.
1893
18942012-09-05 David S. Miller <davem@davemloft.net>
1895
1896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1897
1898 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1899 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1900 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1901 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1902 entries.
1903
19042012-09-05 Alexandre Oliva <aoliva@redhat.com>
1905
1906 * malloc/arena.c: Fold copyright years.
1907 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1908
19092012-09-05 Alexandre Oliva <aoliva@redhat.com>
1910
1911 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1912
19132012-09-05 Alexandre Oliva <aoliva@redhat.com>
1914
1915 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1916
19172012-09-05 Alexandre Oliva <aoliva@redhat.com>
1918
1919 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1920 change internal state upon failure.
1921
19222012-09-05 Alexandre Oliva <aoliva@redhat.com>
1923
1924 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1925 * malloc/memusage.c (mmap): Likewise.
1926 (mmap64, mremap): Likewise. Adjust name in comment.
1927
19282012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1929
1930 * libio/fileops.c: Fix typos in comments.
1931 * libio/oldfileops.c: Likewise.
1932 * libio/wfileops.c: Likewise.
1933
19342012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1935
1936 [BZ #1349]
1937 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1938 (tst-malloc-usable-ENV): Set environment for test case.
1939 * malloc/hooks.c (malloc_check_get_size): New function to get
1940 requested size.
1941 * malloc/malloc.c (musable): Use malloc_check_get_size.
1942 * malloc/tst-malloc-usable.c: New test case.
1943
19442012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1945
1946 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1947
19482012-09-05 Allan McRae <allan@archlinux.org>
1949
1950 [BZ #13966]
1951 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1952 determine header location.
1953 * configure: Regenerated.
1954
19552012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1956
1957 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1958 float format.
1959 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
1960 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1961 format.
1962 (test): Regenerate.
1963
19642012-09-04 David S. Miller <davem@davemloft.net>
1965
1966 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1967 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1968 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1969
19702012-09-04 Florian Weimer <fweimer@redhat.com>
1971
1972 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1973 failures.
1974
1975 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1976
19772012-09-04 Joseph Myers <joseph@codesourcery.com>
1978
1979 [BZ #9914]
1980 * libio/iogetdelim.c: Include <limits.h>.
1981 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1982 + len + 1 would overflow.
1983
19842012-09-03 Andreas Jaeger <aj@suse.de>
1985
1986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1987 * sysdeps/i386/fpu/libm-test-ulps: Update.
1988
19892012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1990
1991 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1992 Add s_sinf-sse2, s_conf-sse2.
1993
1994 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1995 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1996 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1997 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1998
1999 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2000 for using routine as __sinf_ia32.
2001 Use macro for function declaration and weak_alias.
2002 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2003 for using routine as __cosf_ia32.
2004 Use macro for function declaration and weak_alias.
2005
2006 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2007 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2008
2009 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2010 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2012
2013 * math/libm-test.inc (cos_test): Add more test cases.
2014 (sin_test): Likewise.
2015 (sincos_test): Likewise.
2016
20172012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2018
2019 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2020 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2021 hidden.
2022 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2023
20242012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2025
2026 [BZ #14538]
2027 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2028 first element of the GOT.
2029 (elf_machine_load_address): Return the difference between
2030 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2031
20322012-09-01 Allan McRae <allan@archlinux.org>
2033
2034 [BZ #13412]
2035 * configure.in (AWK): Require gawk version 3.0 or later.
2036 * configure: Regenerated.
2037
20382012-09-01 Joseph Myers <joseph@codesourcery.com>
2039
2040 * sysdeps/unix/sysv/linux/kernel-features.h
2041 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2042 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2043 [__NR_clock_getres]: Make code unconditional.
2044 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2045 (clock_getcpuclockid): Remove code left unreachable by removal of
2046 conditionals.
2047 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2048 code unconditional.
2049 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2050 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2051 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2052 Make code unconditional.
2053 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2054 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2055 * sysdeps/unix/sysv/linux/clock_settime.c
2056 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2057 conditional code.
2058 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2059 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2060
20612012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2062
2063 [BZ #14476]
2064 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2065 scripts/test-installation.pl.
2066
2067 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2068 and $ld_so_version if it is set.
2069
20702012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2071
2072 [BZ #14516]
2073 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2074 failure if reading from procfs failed.
2075 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2076
20772012-08-27 Joseph Myers <joseph@codesourcery.com>
2078
2079 * sysdeps/unix/sysv/linux/kernel-features.h
2080 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2081 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2082 Remove conditional code.
2083 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2084 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2085 Remove conditional code.
2086 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2087 * sysdeps/unix/sysv/linux/i386/fxstat.c
2088 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2089 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2090 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2091 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2092 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2093 * sysdeps/unix/sysv/linux/i386/lxstat.c
2094 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2095 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2096 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2097 Remove conditional code.
2098 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2099 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2100 Remove conditional code.
2101 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2102 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2103 <kernel-features.h>.
2104 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2105 Remove.
2106 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2107 Remove conditional code.
2108 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2109 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2110 Remove conditional.
2111
21122012-08-27 Mike Frysinger <vapier@gentoo.org>
2113
2114 [BZ #5400]
2115 * NEWS: Add fixed bug number.
2116
21172012-08-27 Joseph Myers <joseph@codesourcery.com>
2118
2119 [BZ #14519]
2120 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2121 underflowing exponent in case of negative sign.
2122 * stdlib/tst-strtod-round-data: Add more tests.
2123 * stdlib/tst-strtod-round.c (tests): Regenerated.
2124
2125 [BZ #3479]
2126 * stdlib/strtod_l.c (NDIG): Remove.
2127 (HEXNDIG): Likewise.
2128 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2129 smallest representable value.
2130 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2131 lie within an exact representation of 1/2 ulp of the result.
2132 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2133 unconditionally.
2134 (TENS_P9_IDX): Define unconditionally.
2135 (TENS_P9_SIZE): Likewise.
2136 (TENS_P10_IDX): Likewise.
2137 (TENS_P10_SIZE): Likewise.
2138 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2139 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2140 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2141 entries for 10^2^13 and 10^2^14.
2142 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2143 (TENS_P13_IDX): Define.
2144 (TENS_P13_SIZE): Likewise.
2145 (TENS_P14_IDX): Likewise.
2146 (TENS_P14_SIZE): Likewise.
2147 (_fpioconst_pow10): Change array size to
2148 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2149 unconditional.
2150 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2151 1024]: Add entries for 10^2^13 and 10^2^14.
2152 [LAST_POW10 > _LAST_POW10]: Remove #error.
2153 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2154 (_fpioconst_pow10): Change array size to
2155 FPIOCONST_POW10_ARRAY_SIZE.
2156 * stdlib/gen-fpioconst.c: New file.
2157 * stdlib/gen-tst-strtod-round.c: Likewise.
2158 * stdlib/tst-strtod-round-data: Likewise.
2159 * stdlib/tst-strtod-round.c: Likewise.
2160 * stdlib/Makefile (tests): Add tst-strtod-round.
2161
2162 [BZ #14459]
2163 * stdlib/strtod_l.c: Include <stdint.h>.
2164 (NDEBUG): Do not define.
2165 (round_and_return): Change EXPONENT parameter to type intmax_t.
2166 Rearrange calculations to avoid internal overflow possibilities.
2167 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2168 Rearrange calculations to avoid internal overflow possibilities.
2169 Assert that number fits inside MPNSIZE limbs.
2170 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2171 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2172 calculations and add assertions to avoid internal overflow
2173 possibilities. Add casts to avoid signed/unsigned operations.
2174 * stdlib/tst-strtod-overflow.c: New file.
2175 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2176
21772012-08-25 Marek Polacek <polacek@redhat.com>
2178
2179 * time/time.h: Fix some typos in comments.
2180
21812012-08-23 Roland McGrath <roland@hack.frob.com>
2182
2183 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2184 * posix/tst-rfc3484-2.c: Likewise.
2185 * posix/tst-rfc3484-3.c: Likewise.
2186
21872012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2188
2189 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2190 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2191
21922012-08-23 Joseph Myers <joseph@codesourcery.com>
2193
2194 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2195 #include of fxstatat64.c.
2196
21972012-08-22 Roland McGrath <roland@hack.frob.com>
2198
2199 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2200 * shadow/getspent_r.c: Likewise.
2201 * shadow/getspnam.c: Likewise.
2202 * shadow/getspnam_r.c: Likewise.
2203 * gshadow/getsgent.c: Likewise.
2204 * gshadow/getsgent_r.c: Likewise.
2205 * gshadow/getsgnam.c: Likewise.
2206 * gshadow/getsgnam_r.c: Likewise.
2207 * inet/getnetbyad.c: Likewise.
2208 * inet/getnetbyad_r.c: Likewise.
2209 * inet/getnetbynm.c: Likewise.
2210 * inet/getnetbynm_r.c: Likewise.
2211 * inet/getnetent.c: Likewise.
2212 * inet/getnetent_r.c: Likewise.
2213 * inet/getproto.c: Likewise.
2214 * inet/getproto_r.c: Likewise.
2215 * inet/getprtent.c: Likewise.
2216 * inet/getprtent_r.c: Likewise.
2217 * inet/getprtname.c: Likewise.
2218 * inet/getprtname_r.c: Likewise.
2219 * inet/getrpcbyname.c: Likewise.
2220 * inet/getrpcbyname_r.c: Likewise.
2221 * inet/getrpcbynumber.c: Likewise.
2222 * inet/getrpcbynumber_r.c: Likewise.
2223 * inet/getrpcent.c: Likewise.
2224 * inet/getrpcent_r.c: Likewise.
2225 * inet/getaliasent.c: Likewise.
2226 * inet/getaliasent_r.c: Likewise.
2227 * inet/getaliasname.c: Likewise.
2228 * inet/getaliasname_r.c: Likewise.
2229 * nscd/getgrgid_r.c: Likewise.
2230 * nscd/getgrnam_r.c: Likewise.
2231 * nscd/gethstbyad_r.c: Likewise.
2232 * nscd/gethstbynm3_r.c: Likewise.
2233 * nscd/getpwnam_r.c: Likewise.
2234 * nscd/getpwuid_r.c: Likewise.
2235 * nscd/getsrvbynm_r.c: Likewise.
2236 * nscd/getsrvbypt_r.c: Likewise.
2237 * nscd/gai.c: Likewise.
2238
2239 * configure.in (build_nscd): New substituted variable, set
2240 by --disable-build-nscd and defaults to $use_nscd.
2241 * configure: Regenerated.
2242 * config.make.in (build-nscd): New substituted variable.
2243 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2244 Change conditional to require [$(build-nscd) = yes] as well.
2245 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2246
2247 [BZ# 13696]
2248 * configure.in (use_nscd): New substituted variable, set by
2249 --disable-nscd. If enabled, define USE_NSCD.
2250 * configure: Regenerated.
2251 * config.h.in: Add USE_NSCD.
2252 * config.make.in (use-nscd): New substituted variable.
2253 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2254 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2255 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2256 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2257 (CFLAGS-getgrnam_r.c): Likewise.
2258 (CFLAGS-initgroups.c): Likewise.
2259 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2260 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2261 Variables removed.
2262 * inet/getnetgrent_r.c
2263 (nscd_setnetgrent): New function, broken out of ...
2264 (setnetgrent): ... here. Call it.
2265 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2266 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2267 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2268 * nscd/Makefile (routines, aux): Move definitions after include of
2269 Makeconfig. Conditionalize on [$(use-nscd) != no].
2270 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2271 Conditionalize on [USE_NSCD].
2272 (is_nscd, nscd_init_cb): Likewise.
2273 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2274 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2275 * nss/nss_db/db-init.c: Likewise.
2276 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2277 [USE_NSCD].
2278 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2279 (make_request): Use it.
2280 (cache_valid_p): New function.
2281 (__check_pf): Use it.
2282 * NEWS: Add item for --disable-nscd.
2283
22842012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2285
2286 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2287 to support sed >= 4.2.1-20-ga9bf076.
2288 * configure: Regenerated.
2289
22902012-08-22 Roland McGrath <roland@hack.frob.com>
2291
2292 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2293 Conditionalize whole body on [IREL].
2294
22952012-08-22 Jeff Law <law@redhat.com>
2296
2297 [BZ #14505]
2298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2299 if the family is PF_UNSPEC.
2300
23012012-08-22 Mike Frysinger <vapier@gentoo.org>
2302
2303 * Makerules (lib-version): Rename from V.
2304 (install-lib-nosubdir): Change V to lib-version.
2305
23062012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2307
2308 [BZ #14252]
2309 * powerpc32/power6/wcschr.c: New file.
2310 * powerpc32/power6/wcscpy.c: New file.
2311 * powerpc32/power6/wcsrchr.c: New file.
2312 * powerpc64/power6/wcschr.c: New file.
2313 * powerpc64/power6/wcscpy.c: New file.
2314 * powerpc64/power6/wcsrchr.c: New file.
2315
23162012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2317
2318 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2319 (two_way_short_needle): Use it.
2320 * string/strstr.c (AVAILABLE1_USES_J): Define.
2321 * string/strcasestr.c: Likewise.
2322
2323 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2324 array references.
2325 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2326
2327 [BZ #11607]
2328 * NEWS: Add an entry.
2329 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2330 define their defaults.
2331 (two_way_short_needle): Detect end-of-string on-the-fly.
2332 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2333 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2334 * string/bug-strcasestr1.c: New test.
2335 * string/Makefile: Run it.
2336
23372012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2338
2339 [BZ #11607]
2340 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2341 the first character.
2342
23432012-08-21 Roland McGrath <roland@hack.frob.com>
2344
2345 * csu/elf-init.c (__libc_csu_irel): Function removed.
2346 * csu/libc-start.c (apply_irel): New function.
2347 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2348
23492012-08-21 Joseph Myers <joseph@codesourcery.com>
2350
2351 * sysdeps/unix/sysv/linux/kernel-features.h
2352 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2353 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2354 <kernel-features.h>.
2355 [__NR_fadvise64_64]: Make code unconditional.
2356 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2357 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2358 !__NR_fadvise64_64)]: Likewise.
2359 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2360 !__NR_fadvise64_64))]: Likewise.
2361 [__NR_fadvise64]: Make code unconditional.
2362 [!__NR_fadvise64]: Remove conditional code.
2363 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2364 <kernel-features.h>.
2365 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2366 unconditional.
2367 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2368 conditional code.
2369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2370 not include <kernel-features.h>.
2371 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2372 unconditional.
2373 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2374 conditional code.
2375 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2376 include <kernel-features.h>.
2377 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2378 unconditional.
2379 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2380 conditional code.
2381
23822012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2383
2384 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2385 slight instruction rearrangements per scrollpipe analysis.
2386 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2387
23882012-08-20 Roland McGrath <roland@hack.frob.com>
2389
2390 * manual/syslog.texi (syslog; vsyslog, closelog):
2391 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2392 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2393
2394 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2395 DSOCAPS to match condition on defining it.
2396
23972012-08-20 Joseph Myers <joseph@codesourcery.com>
2398
2399 * sysdeps/unix/sysv/linux/kernel-features.h
2400 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2402 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2403 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2405 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2406 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2408 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2409 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2410
2411 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2412 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2413
2414 * sysdeps/unix/sysv/linux/kernel-features.h
2415 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2416 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2417 unconditional.
2418 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2419 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2420 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2421 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2422 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2423 Make code unconditional.
2424 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2425 (__mmap64) [!__NR_mmap2]: Likewise.
2426 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2427 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2428 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2429 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2430 [__NR_mmap2]: Make code unconditional.
2431 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2432 (__mmap64) [!__NR_mmap2]: Likewise.
2433
24342012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2435
2436 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2437
24382012-08-18 Andreas Jaeger <aj@suse.de>
2439
2440 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2441
24422012-08-18 Mike Frysinger <vapier@gentoo.org>
2443
2444 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2445 * include/unistd.h (__have_sock_cloexec): Likewise.
2446 (__have_pipe2): Likewise.
2447 (__have_dup3): Likewise.
2448
24492012-08-18 Mike Frysinger <vapier@gentoo.org>
2450
2451 [BZ #9685]
2452 * include/unistd.h (__have_pipe2): Change define into an extern int.
2453 (__have_dup3): Likewise.
2454 * socket/have_sock_cloexec.c: Include fcntl.h.
2455 (__have_pipe2): New variable.
2456 (__have_dup3): Likewise.
2457
24582012-08-17 Mike Frysinger <vapier@gentoo.org>
2459
2460 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2461
24622012-08-17 Marek Polacek <polacek@redhat.com>
2463
2464 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2465 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2466
24672012-08-17 Roland McGrath <roland@hack.frob.com>
2468
2469 * configure.in: Add AC_SUBST for sysheaders.
2470 * configure: Regenerated.
2471 * config.make.in (sysheaders): New substituted variable.
2472
2473 * sysdeps/unix/mkfifo.c: Moved ...
2474 * sysdeps/posix/mkfifo.c: ... here.
2475 * sysdeps/unix/mkfifoat.c: Moved ...
2476 * sysdeps/posix/mkfifoat.c: ... here.
2477
2478 * sysdeps/unix/utime.c: Moved ...
2479 * sysdeps/posix/utime.c: ... here.
2480
2481 * sysdeps/unix/time.c: Moved ...
2482 * sysdeps/posix/time.c: ... here.
2483 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2484 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
2485
2486 * sysdeps/unix/nice.c: Moved ...
2487 * sysdeps/posix/nice.c: ... here.
2488
2489 * sysdeps/unix/alarm.c: Moved ...
2490 * sysdeps/posix/alarm.c: ... here.
2491
2492 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2493
24942012-08-17 Jeff Law <law@redhat.com>
2495
2496 * intl/Makefile (codeset_mo): New variable.
2497 ($(codeset_mo)): New target.
2498 (tst-codeset.out): Depend on that. Remove explicit rule.
2499 (tst-gettext3.out, tst-gettext5.out): Likewise.
2500 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2501 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2502 * intl/tst-codeset.sh: Remove.
2503 * intl/tst-gettext3.sh: Likewise.
2504 * intl/tst-gettext5.sh: Likewise.
2505
25062012-08-17 Roland McGrath <roland@hack.frob.com>
2507
2508 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2509 * sysdeps/unix/syscalls.list: ... here.
2510
2511 * sysdeps/posix/getaddrinfo.c
2512 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2513 (gaiconf_init, gaiconf_reload): Use them.
2514 [!_STATBUF_ST_NSEC]
2515 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2516 Define using time_t rather than struct timespec.
2517
2518 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2519 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2520 Macros removed.
2521 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2522 [!NO_THREADS].
2523 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2524 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2525 Likewise.
2526
2527 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2528 __libc_cleanup_push argument.
2529
2530 * bits/param.h: New file.
2531 * misc/sys/param.h: New file.
2532 * include/sys/param.h: New file.
2533 * misc/Makefile (headers): Add bits/param.h.
2534 * sysdeps/generic/sys/param.h: File removed.
2535 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2536 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2537 * sysdeps/mach/hurd/bits/param.h: New file.
2538 * sysdeps/mach/hurd/sys/param.h: File removed.
2539
2540 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2541 last change.
2542
2543 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2544 [_IO_MTSAFE_IO].
2545 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2546 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2547 New macros.
2548
2549 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2550 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2551 rather than -D_IO_MTSAFE_IO conditionally.
2552 * stdio-common/Makefile (CPPFLAGS): Likewise.
2553 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2554 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2555 Use $(libio-mtsafe).
2556 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2557 of -D_IO_MTSAFE_IO.
2558 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2559 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2560 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2561 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2562 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2563 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2564 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2565 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2566 (CFLAGS-fread_u_chk.c): Likewise.
2567 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2568 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2569 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2570 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2571 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2572 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2573 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2574 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2575 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2576
2577 * libio/Makefile: Test [$(libc-reentrant) = yes]
2578 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2579
2580 * Makeconfig
2581 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2582 * sysdeps/pthread/configure: File removed.
2583 * sysdeps/pthread/Makeconfig: New file.
2584 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2585 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2586
25872012-08-16 Gary Benson <gbenson@redhat.com>
2588
2589 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2590 unmapping the first object in a namespace.
2591
25922012-08-16 Roland McGrath <roland@hack.frob.com>
2593
2594 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2595 (__internal_setnetgrent): ... this. Add internal_function to
2596 definition. Add libc_hidden_def.
2597 (setnetgrent): Update caller.
2598 (internal_endnetgrent): Renamed to ...
2599 (__internal_endnetgrent): ... this. Add internal_function to
2600 definition. Add libc_hidden_def.
2601 (endnetgrent): Update caller.
2602 (internal_getnetgrent_r): Renamed to ...
2603 (__internal_getnetgrent_r): ... this. Add internal_function to
2604 definition. Add libc_hidden_def.
2605 (__getnetgrent_r): Update caller.
2606 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2607
26082012-08-16 Joseph Myers <joseph@codesourcery.com>
2609
2610 * stdlib/longlong.h: Update from GCC.
2611
26122012-08-16 Roland McGrath <roland@hack.frob.com>
2613
2614 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2615 on _QL, which is set by umul_ppmm but never used.
2616 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2617 variables, which are set by GMP macros but never used.
2618 * stdio-common/_itowa.c (_itowa): Likewise.
2619 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2620 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2621
26222012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2623
2624 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2625 struct La_sh_regs is not constant.
2626 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2627 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2628 and struct La_sparc64_regs are not constant.
2629
26302012-08-16 Joseph Myers <joseph@codesourcery.com>
2631
2632 * sysdeps/unix/sysv/linux/kernel-features.h
2633 (__ASSUME_POSIX_TIMERS): Remove.
2634 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2635 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2636 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2637 Make code unconditional.
2638 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2639 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2640 Make code unconditional.
2641 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2642 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2643 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2644 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2645 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2646 Make code unconditional.
2647 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2648 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2649 (__libc_missing_posix_timers): Remove.
2650
26512012-08-15 Roland McGrath <roland@hack.frob.com>
2652
2653 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2654 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2655
2656 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2657
2658 * elf/dl-sym.c: Include <stdlib.h>.
2659
2660 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2661 constants, which avoids warnings in 32-bit builds.
2662
2663 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2664 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2665
2666 * misc/lseek.c: File moved to ...
2667 * io/lseek.c: ... here.
2668
2669 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2670
2671 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2672 shifting LEN more than 31 bits at once.
2673
26742012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2675
2676 [BZ #14195]
2677 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2678 segmentation fault for a case of two empty input strings.
2679 * string/test-strncasecmp.c (check1): Renamed to...
2680 (bz12205): ...this.
2681 (bz14195): Add new testcase for two empty input strings and N > 0.
2682 (test_main): Call new testcase, adapt for renamed function.
2683
26842012-08-15 Andreas Jaeger <aj@suse.de>
2685
2686 [BZ #14090]
2687 * crypt/md5test2.c: New test, based on test supplied by Serge
2688 Belyshev <belyshev@depni.sinp.msu.ru>.
2689 * crypt/Makefile (xtests): Add md5test-giant..
2690 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2691
26922012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2693
2694 [BZ #14090]
2695 * crypt/md5.c (md5_process_block): Don't assume the buffer
2696 length is less than 2**32.
2697 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2698 length is less than 2**64.
2699
27002012-08-15 Roland McGrath <roland@hack.frob.com>
2701
2702 * string/str-two-way.h: Include <sys/param.h>.
2703 (MAX): Macro removed.
2704
2705 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2706 Move #define and #undef of memmove to just before and after
2707 including <string.h>.
2708
2709 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2710 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2711 and after including <string.h>. Move declarations of
2712 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2713 to before #include "string/memmove.c".
2714
2715 * include/dirent.h: Declare __getdirentries.
2716
2717 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2718 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2719
27202012-08-14 Mike Frysinger <vapier@gentoo.org>
2721
2722 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2723 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2724 * sysdeps/i386/configure: Regenerated.
2725 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2726 STABS_CURRENT_FILE, and STABS_FUN.
2727 (END): Remove call to STABS_FUN_END.
2728 (STABS_CURRENT_FILE1): Delete.
2729 (STABS_CURRENT_FILE): Likewise.
2730 (STABS_FUN): Likewise.
2731 (STABS_FUN_END): Likewise.
2732 (STABS_FUN2): Likewise.
2733 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2734 * sysdeps/x86_64/configure: Regenerated.
2735
27362012-08-14 Roland McGrath <roland@hack.frob.com>
2737
2738 * elf/dl-open.c: Include <atomic.h>.
2739 * elf/dl-lookup.c: Likewise.
2740
27412012-08-14 Joseph Myers <joseph@codesourcery.com>
2742
2743 * sysdeps/unix/sysv/linux/kernel-features.h
2744 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2745 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2746 unconditionally.
2747 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2748 unconditionally.
2749 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2750 condition on __ASSUME_CLONE_THREAD_FLAGS.
2751
27522012-08-14 Andreas Jaeger <aj@suse.de>
2753
2754 * sysdeps/i386/fpu/libm-test-ulps: Update.
2755
27562012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2757
2758 * include/atomic.h (atomic_exchange_and_add): Split into ...
2759 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2760 New atomic macros.
2761
27622012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2763
2764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2765
27662012-08-13 Jeff Law <law@redhat.com>
2767
2768 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2769 null byte in the output string.
2770
27712012-08-10 Joseph Myers <joseph@codesourcery.com>
2772
2773 * sysdeps/unix/sysv/linux/kernel-features.h
2774 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2775 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2776 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2777 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2778 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2779 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2780 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2781
27822012-08-09 Jeff Law <law@redhat.com>
2783
2784 [BZ #13939]
2785 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2786 When avoid_arena is set, don't retry in the that arena. Pick the
2787 next one, whatever it might be.
2788 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2789 (arena_lock): Pass in new parameter to arena_get2.
2790 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2791 arena_get2.
2792 (__libc_malloc): Unify retrying after main arena failure with
2793 __libc_memalign version.
2794 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2795
27962012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2797
2798 [BZ #14166]
2799 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2800 to __redirect_strstr.
2801 (__strstr_sse42): Use typeof __redirect_strstr.
2802 (__strstr_ia32): Likewise.
2803 (__libc_strstr): New prototype.
2804 (strstr): Renamed to ...
2805 (__libc_strstr): This.
2806 (strstr): New strong alias of __libc_strstr.
2807 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2808 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2809 __redirect_time.
2810 Include <time.h>.
2811 (__libc_time): New prototype.
2812 (time_ifunc): Replace time with __libc_time.
2813 (time): New strong alias and hidden definition of __libc_time.
2814 (__GI_time): Remove strong alias.
2815 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2816 Include <stddef.h>.
2817 (memmove): Redefined to __redirect_memmove.
2818 (__memmove_sse2): Use typeof __redirect_memmove.
2819 (__memmove_ssse3): Likewise.
2820 (__memmove_ssse3_back): Likewise.
2821 (__libc_memmove): New prototype.
2822 (memmove): Renamed to ...
2823 (__libc_memmove): This.
2824 (memmove): New strong alias of __libc_memmove.
2825
28262012-08-08 Mark Salter <msalter@redhat.com>
2827
2828 * elf/elf.h
2829 (R_MN10300_TLS_GD): Define.
2830 (R_MN10300_TLS_LD): Likewise.
2831 (R_MN10300_TLS_LDO): Likewise.
2832 (R_MN10300_TLS_GOTIE): Likewise.
2833 (R_MN10300_TLS_IE): Likewise.
2834 (R_MN10300_TLS_LE): Likewise.
2835 (R_MN10300_TLS_DTPMOD): Likewise.
2836 (R_MN10300_TLS_DTPOFF): Likewise.
2837 (R_MN10300_TLS_TPOFF): Likewise.
2838 (R_MN10300_SYM_DIFF): Likewise.
2839 (R_MN10300_ALIGN): Likewise.
2840 (R_MN10300_NUM): Update.
2841
28422012-08-08 Joseph Myers <joseph@codesourcery.com>
2843
2844 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2845 Remove.
2846
28472012-08-08 Roland McGrath <roland@hack.frob.com>
2848
2849 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2850
2851 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2852 sysdeps/unix -> sysdeps/posix move.
2853 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2854
28552012-08-07 Allan McRae <allan@archlinux.org>
2856
2857 [BZ #14303]
2858 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2859 (SUNOS_CPP): Likewise.
2860 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2861 not found.
2862 (open_input): Call CPP using execvp.
2863
28642012-08-07 Joseph Myers <joseph@codesourcery.com>
2865
2866 * sysdeps/unix/sysv/linux/kernel-features.h
2867 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2868 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2869 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2870 (__ASSUME_WAITID_SYSCALL): Likewise.
2871 * sysdeps/unix/sysv/linux/dl-execstack.c
2872 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2873 code unconditional.
2874 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2875 conditional code.
2876 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2877 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2878 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2879 code.
2880 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2881 unconditional.
2882 [__ASSUME_WAITID_SYSCALL]: Likewise.
2883 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2884
28852012-08-07 Roland McGrath <roland@hack.frob.com>
2886
2887 * sysdeps/unix/closedir.c: Renamed to ...
2888 * sysdeps/posix/closedir.c: ... here.
2889 * sysdeps/unix/dirfd.c: Renamed to ...
2890 * sysdeps/posix/dirfd.c: ... here.
2891 * sysdeps/unix/dirstream.h: Renamed to ...
2892 * sysdeps/posix/dirstream.h: ... here.
2893 * sysdeps/unix/fdopendir.c: Renamed to ...
2894 * sysdeps/posix/fdopendir.c: ... here.
2895 * sysdeps/unix/opendir.c: Renamed to ...
2896 * sysdeps/posix/opendir.c: ... here.
2897 * sysdeps/unix/readdir.c: Renamed to ...
2898 * sysdeps/posix/readdir.c: ... here.
2899 * sysdeps/unix/readdir_r.c: Renamed to ...
2900 * sysdeps/posix/readdir_r.c: ... here.
2901 * sysdeps/unix/rewinddir.c: Renamed to ...
2902 * sysdeps/posix/rewinddir.c: ... here.
2903 * sysdeps/unix/seekdir.c: Renamed to ...
2904 * sysdeps/posix/seekdir.c: ... here.
2905 * sysdeps/unix/telldir.c: Renamed to ...
2906 * sysdeps/posix/telldir.c: ... here.
2907 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2908 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2909 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2910 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2911
2912 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2913 * bits/fcntl.h: ... here.
2914
2915 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2916 not 0.
2917 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2918 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2919 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2920 (struct flock): Move l_start, l_len to the beginning.
2921 Use __pid_t for l_pid.
2922 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2923 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2924 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2925 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2926 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2927 [__USE_LARGEFILE64] (struct flock64): New type.
2928 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2929
2930 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2931 * bits/dirent.h: ... here.
2932
2933 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2934 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2935
29362012-08-07 Joseph Myers <joseph@codesourcery.com>
2937
2938 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2939 Change from 2.6.0 to 2.6.16.
2940 * sysdeps/unix/sysv/linux/configure: Regenerated.
2941 * sysdeps/unix/sysv/linux/kernel-features.h
2942 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2943 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2944 version.
2945 (__ASSUME_UTIMES): Likewise.
2946 (__ASSUME_CLONE_STOPPED): Remove.
2947 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2948 architectures, not kernel version.
2949 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2950 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2951 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2952 (__ASSUME_WAITID_SYSCALL): Likewise.
2953 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2954 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2955 * README: State 2.6.16 as minimum Linux kernel version. Do not
2956 refer to older versions.
2957
29582012-08-06 Roland McGrath <roland@hack.frob.com>
2959
2960 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2961 Define alphasort64 as an alias.
2962 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2963 Define versionsort64 as an alias.
2964 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2965 Define scandir64 as an alias.
2966 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2967 Define scandirat64 as an alias.
2968 * dirent/alphasort64.c (alphasort64):
2969 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2970 * dirent/versionsort64.c: Likewise.
2971 * dirent/scandir64.c: Likewise.
2972 * dirent/scandirat64.c: Likewise.
2973 * sysdeps/wordsize-64/alphasort.c: File removed.
2974 * sysdeps/wordsize-64/alphasort64.c: File removed.
2975 * sysdeps/wordsize-64/scandir.c: File removed.
2976 * sysdeps/wordsize-64/scandir64.c: File removed.
2977 * sysdeps/wordsize-64/scandirat.c: File removed.
2978 * sysdeps/wordsize-64/scandirat64.c: File removed.
2979 * sysdeps/wordsize-64/versionsort.c: File removed.
2980 * sysdeps/wordsize-64/versionsort64.c: File removed.
2981 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2982 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2983 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2984 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2985 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2986 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2987 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2988 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2989
2990 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2991 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2992 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2993 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2994 [defined __arch64__ || defined __sparcv9]
2995 (__INO_T_MATCHES_INO64_T): New macro.
2996 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2997 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2998 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2999 * sysdeps/unix/sysv/linux/bits/dirent.h
3000 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3001 (_DIRENT_MATCHES_DIRENT64): New macro.
3002
3003 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3004 Define lockf64 as an alias.
3005 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3006 Define fseeko64 as an alias.
3007 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3008 Define ftello64 as an alias.
3009 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3010 Define _IO_fgetpos64 and fgetpos64 as aliases.
3011 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3012 Define _IO_fsetpos64 and fsetpos64 as aliases.
3013 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3014 Conditionalize body on this.
3015 * libio/fseeko64.c: Likewise.
3016 * libio/ftello64.c: Likewise.
3017 * libio/iofgetpos64.c: Likewise.
3018 * libio/iofsetpos64.c: Likewise.
3019 * sysdeps/wordsize-64/lockf.c: File removed.
3020 * sysdeps/wordsize-64/lockf64.c: File removed.
3021 * sysdeps/wordsize-64/fseeko.c: File removed.
3022 * sysdeps/wordsize-64/fseeko64.c: File removed.
3023 * sysdeps/wordsize-64/ftello.c: File removed.
3024 * sysdeps/wordsize-64/ftello64.c: File removed.
3025 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3026 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3027 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3028 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3029 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3030 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3031 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3032 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3033 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3034 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3035 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3036 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3037 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3038 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3039
3040 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3041 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3042 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3043 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3044 [defined __arch64__ || defined __sparcv9]
3045 (__OFF_T_MATCHES_OFF64_T): New macro.
3046 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3047 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3048 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3049 (__OFF_T_MATCHES_OFF64_T): New macro.
3050
30512012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3052
3053 * stdlib/secure-getenv.c (__secure_getenv): Replace
3054 GLIBC_2_16 with GLIBC_2_17.
3055
30562012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3057
3058 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3059 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3060
30612012-08-03 David S. Miller <davem@davemloft.net>
3062
3063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3064
30652012-08-03 Joseph Myers <joseph@codesourcery.com>
3066
3067 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3068 Remove.
3069 (__ASSUME_CORRECT_SI_PID): Likewise.
3070 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3071 (__ASSUME_TMPFS_NAME): Likewise.
3072 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3073 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3074 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3075 (HAVE_AUX_SECURE): Make definition unconditional.
3076 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3077 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3078
30792012-08-03 Roland McGrath <roland@hack.frob.com>
3080
3081 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3082 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3083 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3084 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3085 __eloop_threshold instead of SYMLOOP_MAX.
3086
3087 * sysdeps/generic/eloop-threshold.h: New file.
3088 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3089 of MAXSYMLINKS.
3090 * elf/chroot_canon.c (chroot_canon): Likewise.
3091
30922012-08-03 Joseph Myers <joseph@codesourcery.com>
3093
3094 [BZ #13717]
3095 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3096 Change to 2.6.0 everywhere.
3097 * sysdeps/unix/sysv/linux/configure: Regenerated.
3098 * sysdeps/unix/sysv/linux/kernel-features.h
3099 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3100 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3101 kernel versions.
3102 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3103 (__ASSUME_FUTEX_REQUEUE): Remove.
3104 (__ASSUME_STATFS64): Define unconditionally.
3105 (__ASSUME_AT_SECURE): Likewise.
3106 (__ASSUME_CORRECT_SI_PID): Likewise.
3107 (__ASSUME_TGKILL): Define without depending on kernel version for
3108 i386.
3109 (__ASSUME_UTIMES): Likewise.
3110 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3111 kernel version.
3112 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3113 (__ASSUME_TMPFS_NAME): Likewise.
3114 * README: Update reference to Linux kernel versions.
3115
31162012-08-02 Marek Polacek <polacek@redhat.com>
3117
3118 [BZ# 14150]
3119 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3120 libc_cv_asm_type_prefix with %.
3121 * configure: Regenerated.
3122 * include/libc-symbols.h: Remove comment about
3123 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3124 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3125 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3126 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3127 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3128 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3129 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3130 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3131 * elf/tst-unique2mod1.c: Likewise.
3132 * elf/tst-unique1mod2.c: Likewise.
3133 * elf/tst-unique1mod1.c: Likewise.
3134 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3135 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3136 Replace ASM_TYPE_DIRECTIVE with .type.
3137 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3138 * sysdeps/i386/sysdep.h: Likewise.
3139 * sysdeps/x86_64/sysdep.h: Likewise.
3140 * sysdeps/sh/sysdep.h: Likewise.
3141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3142 Do not define ASM_TYPE_DIRECTIVE.
3143 * sysdeps/powerpc/sysdep.h: Likewise.
3144 * sysdeps/powerpc/powerpc32/sysdep.h:
3145 Replace ASM_TYPE_DIRECTIVE with .type.
3146 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3147 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3148 * sysdeps/i386/fpu/e_powf.S: Likewise.
3149 * sysdeps/i386/fpu/e_expl.S: Likewise.
3150 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3151 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3152 * sysdeps/i386/fpu/e_pow.S: Likewise.
3153 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3154 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3155 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3156 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3157 * sysdeps/i386/fpu/e_log2.S: Likewise.
3158 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3159 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3160 * sysdeps/i386/fpu/e_powl.S: Likewise.
3161 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3162 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3163 * sysdeps/i386/fpu/e_logl.S: Likewise.
3164 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3165 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3166 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3167 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3168 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3169 * sysdeps/i386/fpu/e_log.S: Likewise.
3170 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3171 * sysdeps/i386/fpu/e_logf.S: Likewise.
3172 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3173 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3174 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3175 * sysdeps/i386/fpu/e_log10.S: Likewise.
3176 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3177 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3178 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3179 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3180 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3181 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3182 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3183 * sysdeps/i386/i686/strtok.S: Likewise.
3184 * sysdeps/i386/i386-mcount.S: Likewise.
3185 * sysdeps/i386/strtok.S: Likewise.
3186 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3187 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3188 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3189 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3190 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3191 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3192 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3193 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3194 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3195 * sysdeps/x86_64/_mcount.S: Likewise.
3196 * sysdeps/x86_64/strtok.S: Likewise.
3197 * sysdeps/sh/_mcount.S: Likewise.
3198
31992012-08-01 Roland McGrath <roland@hack.frob.com>
3200
3201 * libio/iofopen.c: Include <fcntl.h>.
3202 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3203 (_IO_fopen64, fopen64): Define as aliases.
3204 * libio/iofopen64.c: Include <fcntl.h>.
3205 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3206 Conditionalize body on this.
3207 * sysdeps/wordsize-64/iofopen.c: File removed.
3208 * sysdeps/wordsize-64/iofopen64.c: File removed.
3209
32102012-08-01 Marek Polacek <polacek@redhat.com>
3211
3212 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3213 Use dlfcn directly instead of a variable.
3214 (binfmt-subdir): Do not define.
3215 (dlfcn): Likewise.
3216
32172012-08-01 Joseph Myers <joseph@codesourcery.com>
3218
3219 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3220 Remove all definitions.
3221 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3222 <kernel-features.h>.
3223 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3224 (miss_F_GETOWN_EX): Remove all definitions.
3225 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3226 macro definition.
3227 [!__ASSUME_FCNTL64]: Remove conditional code.
3228 [__ASSUME_FCNTL64]: Make code unconditional.
3229 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3230 <kernel-features.h>.
3231 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3232 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3233 (lockf64) [__NR_fcntl64]: Make code unconditional.
3234 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3235
3236 * sysdeps/unix/sysv/linux/kernel-features.h
3237 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3238 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3239 Make code unconditional.
3240 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3241 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3243 [__NR_vfork]: Make code unconditional.
3244 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3245 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3247 [__NR_vfork]: Make code unconditional.
3248 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3249 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3250
32512012-08-01 Roland McGrath <roland@hack.frob.com>
3252
3253 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3254 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3255
3256 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3257 Define mkstemp64 as an alias.
3258 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3259 Define mkstemps64 as an alias.
3260 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3261 Define mkostemp64 as an alias.
3262 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3263 Define mkostemps64 as an alias.
3264 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3265 Conditionalize body on this.
3266 * misc/mkostemp64.c: Likewise.
3267 * misc/mkostemps64.c: Likewise.
3268 * misc/mkstemps64.c: Likewise.
3269 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3270 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3271 * sysdeps/wordsize-64/mkostemp.c: File removed.
3272 * sysdeps/wordsize-64/mkstemp.c: File removed.
3273 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3274 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3275 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3276 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3277
3278 [BZ #14138]
3279 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3280 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3281 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3282 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3283
3284 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3285 compat_symbol macros from <shlib-compat.h> rather than the underlying
3286 default_symbol_version and symbol_version macros, so that DEFAULT
3287 lines in shlib-versions are respected.
3288 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3289
32902012-08-01 Florian Weimer <fweimer@redhat.com>
3291
3292 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3293 Declare with warn_unused_result.
3294 (setgid, setregid, setegid, setresgid): Likewise.
3295 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3296 Likewise.
3297 * WUR-REPORT: Remove set*id functions.
3298
32992012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3300
3301 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3302
33032012-07-31 Roland McGrath <roland@hack.frob.com>
3304
3305 * include/sys/socket.h (__libc_accept, __libc_accept4):
3306 Add attribute_hidden.
3307 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3308
3309 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3310 use of PTR_MANGLE.
3311 * inet/getnetgrent_r.c (setup): Likewise.
3312
3313 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3314
33152012-07-31 David S. Miller <davem@davemloft.net>
3316
3317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3318
33192012-07-31 Joseph Myers <joseph@codesourcery.com>
3320
3321 [BZ #13629]
3322 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3323 value between 1.0 and 2.0 and smaller part has absolute value less
3324 than 1.0.
3325 * math/s_clog10.c (__clog10): Likewise.
3326 * math/s_clog10f.c (__clog10f): Likewise.
3327 * math/s_clog10l.c (__clog10l): Likewise.
3328 * math/s_clogf.c (__clogf): Likewise.
3329 * math/s_clogl.c (__clogl): Likewise.
3330 * math/libm-test.inc (clog_test): Add more tests.
3331 (clog10_test): Likewise.
3332 * sysdeps/i386/fpu/libm-test-ulps: Update.
3333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3334
33352012-07-31 Florian Weimer <fweimer@redhat.com>
3336
3337 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3338 Exit with zero in case no suitable GID is found, and write a
3339 message to standard error.
3340
33412012-07-30 Roland McGrath <roland@hack.frob.com>
3342
3343 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3344 rather than to 1.
3345 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3346 (MAXPATHLEN): Removed.
3347 (NOGROUP, NODEV): New macros.
3348 (setbit, clrbit, isset, isclr): New macros.
3349 (howmany, roundup, powerof2): New macros.
3350 (DEV_BSIZE): New macro.
3351
3352 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3353 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3354
3355 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3356 definition on [!__NO_LONG_DOUBLE_MATH].
3357
3358 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3359 PTR_MANGLE and PTR_DEMANGLE.
3360
3361 * socket/accept4.c (accept4): Rename to __libc_accept4.
3362 Define accept4 as a weak alias.
3363
3364 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3365 on [_DIRENT_HAVE_D_TYPE].
3366 * io/ftw.c (ftw_dir): Likewise.
3367
3368 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3369
3370 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3371
3372 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3373 Use the BSD numbers rather than the arbitrary ones we had.
3374 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3375 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3376 (SIGXCPU, SIGXFSZ): New macros.
3377 (_NSIG): Now 32.
3378
3379 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3380 initializer on [_LIBC_REENTRANT].
3381
3382 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3383 definitions inside [_POSIX_MAPPED_FILES].
3384
3385 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3386
3387 * dirent/opendir.c: Include <fcntl.h>.
3388
3389 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3390 (__libc_getspecific): Likewise.
3391 (__libc_key_create): Likewise.
3392
3393 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3394 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3395 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3396 (tmpfile64): Define as alias.
3397 * sysdeps/wordsize-64/tmpfile.c: File removed.
3398 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3399 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3400 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3401
3402 * stdio-common/vfscanf.c: Include <stdbool.h>.
3403 * nss/makedb.c: Likewise.
3404 * stdio-common/_i18n_number.h: Likewise.
3405 * argp/argp-help.c: Likewise.
3406 * posix/wordexp.c: Likewise.
3407 * sysdeps/posix/spawni.c: Likewise.
3408 * nss/nss_files/files-initgroups.c: Likewise.
3409 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3410 * nss/nss_files/files-initgroups.c: Likewise.
3411 * nss/nss_db/db-netgrp.c: Likewise.
3412 * nss/nss_db/db-initgroups.c: Likewise.
3413 * io/fchmodat.c: Include <sys/stat.h>.
3414
3415 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3416 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3417
3418 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3419 [HAVE_MMAP].
3420
3421 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3422 Add multiple inclusion protection.
3423
34242012-07-27 David S. Miller <davem@davemloft.net>
3425
3426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3427
34282012-07-27 Gary Benson <gbenson@redhat.com>
3429
3430 [BZ #14298]
3431 * elf/rtld.c: Include <stap-probe.h>.
3432 (dl_main): Added static probes "init_start" and "init_complete".
3433 * elf/dl-load.c: Include <stap-probe.h>.
3434 (lose): Take new parameter "nsid".
3435 Added static probe "map_failed".
3436 (_dl_map_object_from_fd): Pass namespace id to lose.
3437 Added static probe "map_start".
3438 (open_verify): Pass namespace id to lose.
3439 * elf/dl-open.c: Include <stap-probe.h>.
3440 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3441 and "reloc_complete".
3442 * elf/dl-close.c: Include <stap-probe.h>.
3443 (_dl_close_worker): Added static probes "unmap_start" and
3444 "unmap_complete".
3445 * elf/rtld-debugger-interface.txt: New file documenting the above.
3446
34472012-07-26 Roland McGrath <roland@hack.frob.com>
3448
3449 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3450 rather than a string variable.
3451 * sunrpc/rpc_main.c (h_output): Likewise.
3452 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3453
34542012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3455
3456 * inet/check_native.c: New file.
3457
34582012-07-26 Joseph Myers <joseph@codesourcery.com>
3459
3460 [BZ #13629]
3461 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3462 if larger part has absolute value 1.0.
3463 * math/s_clog10.c (__clog10): Likewise.
3464 * math/s_clog10f.c (__clog10f): Likewise.
3465 * math/s_clog10l.c (__clog10l): Likewise.
3466 * math/s_clogf.c (__clogf): Likewise.
3467 * math/s_clogl.c (__clogl): Likewise.
3468 * math/libm-test.inc (clog_test): Add more tests.
3469 (clog10_test): Likewise.
3470 * sysdeps/i386/fpu/libm-test-ulps: Update.
3471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3472
3473 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3474 (pltexit): Likewise.
3475 (La_regs): Likewise.
3476 (La_retval): Likewise.
3477 (int_retval): Likewise.
3478 Update #error for removed macros to refer only to definitions in
3479 tst-audit.h.
3480 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3481 macro.
3482 (pltexit): Likewise.
3483 (La_regs): Likewise.
3484 (La_retval): Likewise.
3485 (int_retval): Likewise.
3486 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3487 macro.
3488 (pltexit): Likewise.
3489 (La_regs): Likewise.
3490 (La_retval): Likewise.
3491 (int_retval): Likewise.
3492 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3493 macro.
3494 (pltexit): Likewise.
3495 (La_regs): Likewise.
3496 (La_retval): Likewise.
3497 (int_retval): Likewise.
3498 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3499 macro.
3500 (pltexit): Likewise.
3501 (La_regs): Likewise.
3502 (La_retval): Likewise.
3503 (int_retval): Likewise.
3504 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3505 macro.
3506 (pltexit): Likewise.
3507 (La_regs): Likewise.
3508 (La_retval): Likewise.
3509 (int_retval): Likewise.
3510 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3511 macro.
3512 (pltexit): Likewise.
3513 (La_regs): Likewise.
3514 (La_retval): Likewise.
3515 (int_retval): Likewise.
3516 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3517 macro definitions in tst-audit.h.
3518 * sysdeps/i386/tst-audit.h: New file.
3519 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3520 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3521 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3522 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3523 * sysdeps/sh/tst-audit.h: Likewise.
3524 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3525 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3526 * sysdeps/x86_64/tst-audit.h: Likewise.
3527
35282012-07-26 Andreas Jaeger <aj@suse.de>
3529
3530 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3531 ptrace.
3532
3533 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3534 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3535 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3536 PTRACE_O_MASK.
3537 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3538 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3539 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3540
3541 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3542 value.
3543
3544 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3545 _sigsys.
3546 (si_call_addr, si_syscall, si_arch): Define new macro.
3547 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3548 _sigsys.
3549 (si_call_addr, si_syscall, si_arch): Define new marcro.
3550 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3551 _sigsys.
3552 (si_call_addr, si_syscall, si_arch): Define new macro.
3553 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3554 _sigsys.
3555 (si_call_addr, si_syscall, si_arch): Define new macro.
3556
35572012-07-25 Joseph Myers <joseph@codesourcery.com>
3558
3559 [BZ #13717]
3560 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3561 Change to 2.4.21 where previously 2.4.1.
3562 * sysdeps/unix/sysv/linux/configure: Regenerated.
3563 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3564 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3565 Linux kernel version.
3566 (__ASSUME_STD_AUXV): Remove.
3567 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3568 kernel version.
3569 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3570 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3571 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3572 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3573 (__ASSUME_NETLINK_SUPPORT): Likewise.
3574 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3575 (__no_netlink_support): Remove conditional definition.
3576 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3577 Remove.
3578 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3579 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3580 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3581 (if_nameindex_ioctl): Remove.
3582 (if_nameindex_netlink): Do not handle __no_netlink_support.
3583 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3584 code.
3585 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3586 Remove conditional code.
3587 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3588 code.
3589 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3590 unconditional.
3591 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3592 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3593 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3594 Remove.
3595 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3596 [!__ASSUME_STD_AUXV]: Remove conditional code.
3597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3598 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3599 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3601 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3602 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3603 code.
3604 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3606 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3607 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3608 conditional code.
3609 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3611 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3612 code.
3613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3614 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3615 conditional code.
3616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3617 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3618 code unconditional.
3619 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3620 conditional code.
3621 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3622 unconditional.
3623 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3624 conditional code.
3625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3626 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3627 unconditional.
3628 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3629 conditional code.
3630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3631 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3632 code unconditional.
3633 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3634 conditional code.
3635 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3636 unconditional.
3637 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3638 conditional code.
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3640 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3641 code unconditional.
3642 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3643 conditional code.
3644 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3645 unconditional.
3646 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3647 conditional code.
3648
36492012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3650
3651 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3652 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3653 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3654 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3655 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3656 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3657 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3658 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3659 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3660 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3661 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3662 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3663 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3664 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3665 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3666 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3667 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3668 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3669 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3671 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3672 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3673 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3674
36752012-07-25 Florian Weimer <fweimer@redhat.com>
3676
3677 * Versions.def: Add GLIBC_2.17.
3678 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3679 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3680 Introduce __libc_secure_getenv.
3681 * stdlib/Versions (2.17): Add secure_getenv
3682 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3683 * stdlib/secure-getenv.c: Rename __secure_getenv to
3684 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3685 symbol __secure_getenv for GLIBC_2.0.
3686 * stdlib/tst-secure-getenv.c: New.
3687 * stdlib/Makefile (tests): Add testcase.
3688 * manual/startup.texi (Environment Access): Document
3689 secure_getenv.
3690 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3691 __libc_secure_getenv.
3692 * inet/ruserpass.c (ruserpass): Likewise.
3693 * malloc/mtrace.c (mtrace): Likewise.
3694 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3695 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3696 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3697 * sysdeps/posix/tempname.c: Likewise. Evaluate
3698 HAVE_SECURE_GETENV.
3699 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3700 __secure_getenv to __libc_secure_getenv.
3701 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3703 Likewise.
3704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3705 Likewise.
3706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3708 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3713
37142012-07-25 Joseph Myers <joseph@codesourcery.com>
3715
3716 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3717 (struct La_i86_retval): Likewise.
3718 (struct La_x86_64_regs): Likewise.
3719 (struct La_x86_64_retval): Likewise.
3720 (struct La_x32_regs): Likewise.
3721 (struct La_x32_retval): Likewise.
3722 (struct La_ppc32_regs): Likewise.
3723 (struct La_ppc32_retval): Likewise.
3724 (struct La_ppc64_regs): Likewise.
3725 (struct La_ppc64_retval): Likewise.
3726 (struct La_sh_regs): Likewise.
3727 (struct La_sh_retval): Likewise.
3728 (struct La_s390_32_regs): Likewise.
3729 (struct La_s390_32_retval): Likewise.
3730 (struct La_s390_64_regs): Likewise.
3731 (struct La_s390_64_retval): Likewise.
3732 (struct La_sparc32_regs): Likewise.
3733 (struct La_sparc32_retval): Likewise.
3734 (struct La_sparc64_regs): Likewise.
3735 (struct La_sparc64_retval): Likewise.
3736 (struct audit_ifaces): Remove architecture-specific pltenter and
3737 pltexit members.
3738 * sysdeps/i386/ldsodefs.h: New file.
3739 * sysdeps/powerpc/ldsodefs.h: Likewise.
3740 * sysdeps/s390/ldsodefs.h: Likewise.
3741 * sysdeps/sh/ldsodefs.h: Likewise.
3742 * sysdeps/sparc/ldsodefs.h: Likewise.
3743 * sysdeps/x86_64/ldsodefs.h: Likewise.
3744
37452012-07-25 Marek Polacek <polacek@redhat.com>
3746
3747 [BZ #6808]
3748 * math/libm-test.inc (yn_test): Add another test.
3749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3750 to ERANGE when the result is +-Inf.
3751 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3752 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3753 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3754 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3755
37562012-07-24 Joseph Myers <joseph@codesourcery.com>
3757
3758 * conform/data/time.h-data (NULL): Use macro-constant. Require
3759 equal to 0.
3760 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3761 clock_t.
3762 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3763
37642012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3765
3766 * configure.in <sysdeps resolving>: Correct printing
3767 Implies_before.
3768 * configure: Regenerate.
3769
37702012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3771
3772 * math/w_ilogb.c: Include <limits.h>.
3773 * math/w_ilogbl.c: Likewise.
3774
37752012-07-20 Joseph Myers <joseph@codesourcery.com>
3776
3777 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3778 va_copy. Document allowing for unavailable va_copy only as
3779 pre-C99 compatibility.
3780 * manual/string.texi (Copying and Concatenation): Use va_copy
3781 instead of __va_copy in concat example.
3782
37832012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3784
3785 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3786 (__sendto): Use create_address_port. Initialize APORT and deallocate
3787 it if not null.
3788
3789 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3790 with O_NOLINK passed to __file_name_lookup.
3791
3792 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3793 with O_NOLINK passed to __file_name_lookup.
3794
3795 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3796 negative N or less than NGIDS.
3797
3798 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3799 type to string_t. Set ERANGE as errno and return it if NAME is not big
3800 enough. Use memcpy instead of strncpy.
3801
38022012-07-20 Joseph Myers <joseph@codesourcery.com>
3803
3804 * elf/Makefile (check-data): Remove.
3805 (localplt.data): New vpath directive.
3806 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3807 instead of $(check-data).
3808 * scripts/data/localplt-generic.data: Move to ...
3809 * sysdeps/generic/localplt.data: ... here.
3810 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3811 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3812 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3814 ... here.
3815 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3817 ... here.
3818 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3820 ... here.
3821 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3823 ... here.
3824 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3826 ... here.
3827 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3829 ... here.
3830
38312012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3832
3833 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3834 PPC32 and PPC64 files.
3835 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3836 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3837
38382012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3839
3840 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3841 __makecontext_ret to ...
3842 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3843 ... here and call exit if uc_link is NULL. New file.
3844 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3845 __makecontext_ret.S.
3846 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3847 __makecontext_ret to ...
3848 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3849 ... here and call exit if uc_link is NULL. New file.
3850 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3851 __makecontext_ret.S.
3852
38532012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3854
3855 * elf/elf.h (R_390_IRELATIVE): New definition.
3856 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3857 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3858 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3859 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3860 (elf_machine_lazy_rel): Likewise.
3861 * sysdeps/s390/dl-irel.h: New file.
3862 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3863 * sysdeps/s390/s390-64/memset.S: New asm code.
3864 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3865 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3866 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3867 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3868 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3869 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3870 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3871 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3872 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3873 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3874 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3875 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3876 * sysdeps/s390/s390-32/memset.S: New asm code.
3877 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3878
38792012-07-17 Marek Polacek <polacek@redhat.com>
3880
3881 [BZ #14349]
3882 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3883 * sysdeps/s390/s390-64/configure.in: Likewise.
3884 * sysdeps/sparc/configure.in: Likewise.
3885 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3886 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3887 * sysdeps/i386/configure.in: Likewise.
3888 * sysdeps/x86_64/configure.in: Likewise.
3889 * sysdeps/sh/configure.in: Likewise.
3890 * sysdeps/s390/s390-32/configure: Regenerated.
3891 * sysdeps/s390/s390-64/configure: Likewise.
3892 * sysdeps/x86_64/configure: Likewise.
3893 * sysdeps/sh/configure: Likewise.
3894 * sysdeps/powerpc/powerpc64/configure: Likewise.
3895 * sysdeps/powerpc/powerpc32/configure: Likewise.
3896 * sysdeps/sparc/configure: Likwise.
3897 * sysdeps/i386/configure: Likewise.
3898
3899 * elf/dl-open.c: Comment fixes.
3900
39012012-07-17 Joseph Myers <joseph@codesourcery.com>
3902
3903 * Makefile [CXX] (check-data): Remove.
3904 [CXX] (c++-types.data): New vpath directive.
3905 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3906 vpath. Do not allow for C++ type data being missing.
3907 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3908 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3909 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3910 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3911 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3912 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3913 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3915 ... here.
3916 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3918 ... here.
3919 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3921 ... here.
3922 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3924 ... here.
3925 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3927 ... here.
3928 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3930 ... here.
3931 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3933 ... here.
3934 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3936
3937 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3938 definitions to architecture-specific files.
3939 (TLS_IE): Likewise.
3940 (TLS_LD): Likewise.
3941 (TLS_GD): Likewise.
3942 * sysdeps/i386/tls-macros.h: New file.
3943 * sysdeps/powerpc/tls-macros.h: Likewise.
3944 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3945 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3946 * sysdeps/sh/tls-macros.h: Likewise.
3947 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3948 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3949 * sysdeps/x86_64/tls-macros.h: Likewise.
3950
39512012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3952
3953 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3954 zero value for regular exit case.
3955
3956 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3957 (__start_context): Preserve zero value for regular exit case.
3958
39592012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3960 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3961
3962 * manual/setjmp.texi (setcontext): Clarify normal process
3963 termination when uc_link is the null pointer.
3964 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3965 exit call.
3966
39672012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3968
3969 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3970 preprocessor. Test for each exception mask separately.
3971
39722012-07-16 Andreas Jaeger <aj@suse.de>
3973
3974 * po/ru.po: Update from translation team.
3975
39762012-07-15 Joseph Myers <joseph@codesourcery.com>
3977
3978 * conform/data/string.h-data (NULL): Use macro-constant. Require
3979 equal to 0.
3980 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3981 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3982 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3983 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3984 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3985
39862012-07-13 Andreas Jaeger <aj@suse.de>
3987
3988 * po/fr.po: Update from translation team.
3989
39902012-07-12 Marek Polacek <polacek@redhat.com>
3991
3992 [BZ #14173]
3993 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3994 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3995 loop condition.
3996
39972012-07-12 Joseph Myers <joseph@codesourcery.com>
3998
3999 [BZ #13717]
4000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4001 Change to 2.4.1 where previously 2.4.0.
4002 * sysdeps/unix/sysv/linux/configure: Regenerated.
4003 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4004 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4005 version.
4006 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4007 (__ASSUME_AT_CLKTCK): Remove.
4008 (__ASSUME_AT_PAGESIZE): Likewise.
4009 (__ASSUME_AT_XID): Likewise.
4010 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4011 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4012 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4013 unconditionally.
4014 (HAVE_AUX_PAGESIZE): Likewise.
4015 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4016 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4017 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4018
40192012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4020
4021 [BZ #14307]
4022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4023 the temporary buffer used to invoke __gethostbyname2_r,
4024 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4025 host_data / struct gaih_addrtuple.
4026 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4027 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4028 header file nss/nsswitch.h.
4029 * nss/nsswitch.h (global scope): Add definition of implementation
4030 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4031 resolv/nss_dns/dns-host.c).
4032
40332012-07-11 Andreas Jaeger <aj@suse.de>
4034
4035 * po/fr.po: Update from translation team.
4036
4037 * po/sv.po: Update from translation team
4038 * po/fr.po: Another update from translation team.
4039
40402012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4041
4042 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4043 for subnormals or multiply small sinh result by itself.
4044 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4046
40472012-07-11 David S. Miller <davem@davemloft.net>
4048
4049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4050
40512012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4052
4053 [BZ #14347]
4054 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4055 (INTERNAL_MARK): Shift it here.
4056
40572012-07-10 Marek Polacek <polacek@redhat.com>
4058
4059 [BZ #14151]
4060 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4061 libc_cv_asm_global_directive with .globl.
4062 * configure: Regenerated.
4063 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4064 with .globl.
4065 * sysdeps/i386/configure: Regenerated.
4066 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4067 with .globl.
4068 * sysdeps/x86_64/configure: Regenerated.
4069 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4070 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4071 * elf/tst-unique2mod2.c: Likewise.
4072 * elf/tst-unique2mod1.c: Likewise.
4073 * elf/tst-unique1mod2.c: Likewise.
4074 * elf/tst-unique1mod1.c: Likewise.
4075 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4076 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4077 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4078 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4079 * sysdeps/mach/sysdep.h: Likewise.
4080 * sysdeps/i386/sysdep.h: Likewise.
4081 * sysdeps/i386/i386-mcount.S: Likewise.
4082 * sysdeps/x86_64/_mcount.S: Likewise.
4083 * sysdeps/x86_64/sysdep.h: Likewise.
4084 * sysdeps/sh/_mcount.S: Likewise.
4085 * sysdeps/sh/sysdep.h: Likewise.
4086 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4087 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4088 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4089 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4090 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4091 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4092 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4093 * locale/localeinfo.h: Likewise.
4094 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4095 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4096
40972012-07-09 Roland McGrath <roland@hack.frob.com>
4098
4099 [BZ #14336]
4100 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4101 system".
4102 * manual/message.texi (The Uniforum approach): Likewise.
4103 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4104 (glibc iconv Implementation): Likewise.
4105
41062012-07-09 Joseph Myers <joseph@codesourcery.com>
4107
4108 [BZ #14337]
4109 * math/s_clog.c (__clog): Avoid scaling a value down where that
4110 could result in underflow.
4111 * math/s_clog10.c (__clog10): Likewise.
4112 * math/s_clog10f.c (__clog10f): Likewise.
4113 * math/s_clog10l.c (__clog10l): Likewise.
4114 * math/s_clogf.c (__clogf): Likewise.
4115 * math/s_clogl.c (__clogl): Likewise.
4116 * math/libm-test.inc (clog_test): Add more tests.
4117 (clog10_test): Likewise.
4118 * sysdeps/i386/fpu/libm-test-ulps: Update.
4119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4120
41212012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4122
4123 [BZ #14283]
4124 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4125 by 7 not 8 to examine high bit of fractional part.
4126
4127 [BZ #14042]
4128 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4129 for call to __mcount_internal.
4130 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4131 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4132 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4133
41342012-07-06 Joseph Myers <joseph@codesourcery.com>
4135
4136 [BZ #14154]
4137 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4138 approximation for values within 0x1p-13f of an odd multiple of
4139 pi/4.
4140 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4141 exception. Add more tests.
4142 * sysdeps/i386/fpu/libm-test-ulps: Update.
4143
4144 [BZ #6778]
4145 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4146 inputs and return -1 for them. Do not check for +Inf in case not
4147 reachable for +Inf.
4148 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4149 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4150 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4151 and return -1 for them. Do not check for +Inf in case not
4152 reachable for +Inf.
4153 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4154 define.
4155 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4156 and return -1 for them. Do not check for +Inf in case not
4157 reachable for +Inf.
4158 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4159 spurious underflow.
4160 * sysdeps/i386/fpu/libm-test-ulps: Update.
4161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4162
41632012-07-06 Mike Frysinger <vapier@gentoo.org>
4164
4165 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4166
41672012-07-05 Joseph Myers <joseph@codesourcery.com>
4168
4169 [BZ #14157]
4170 [BZ #14331]
4171 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4172 could result in spurious underflow. Scale down values above
4173 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4174 * math/s_csqrtf.c (__csqrtf): Likewise.
4175 * math/s_csqrtl.c (__csqrtl): Likewise.
4176 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4177 spurious underflow.
4178 * sysdeps/i386/fpu/libm-test-ulps: Update.
4179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4180
41812012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4182
4183 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4184 xopen-msg.sed.
4185 * catgets/xopen-msg.awk: New file.
4186 * catgets/xopen-msg.sed: Removed.
4187
4188 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4189 po2text.sed.
4190 * intl/po2test.awk: New file.
4191 * intl/po2test.sed: Removed.
4192
41932012-07-04 Joseph Myers <joseph@codesourcery.com>
4194
4195 [BZ #14328]
4196 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4197 or multiply small sinh result by itself.
4198 * math/s_ctanf.c (__ctanf): Likewise.
4199 * math/s_ctanh.c (__ctanh): Likewise.
4200 * math/s_ctanhf.c (__ctanhf): Likewise.
4201 * math/s_ctanhl.c (__ctanhl): Likewise.
4202 * math/s_ctanl.c (__ctanl): Likewise.
4203 * math/libm-test.inc (ctan_test_tonearest): New function.
4204 (ctan_test_towardzero): Likewise.
4205 (ctan_test_downward): Likewise.
4206 (ctan_test_upward): Likewise.
4207 (ctanh_test_tonearest): Likewise.
4208 (ctanh_test_towardzero): Likewise.
4209 (ctanh_test_downward): Likewise.
4210 (ctanh_test_upward): Likewise.
4211 (main): Call these new functions.
4212 * sysdeps/i386/fpu/libm-test-ulps: Update.
4213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4214
42152012-07-03 Mike Frysinger <vapier@gentoo.org>
4216
4217 * .gitignore: Delete /ports entry.
4218
42192012-07-03 Andreas Jaeger <aj@suse.de>
4220
4221 * po/bg.po: Update from translation team.
4222 * po/cs.po: Likewise.
4223 * po/de.po: Likewise.
4224 * po/hr.po: Likewise.
4225 * po/nl.pl: Likewise.
4226 * po/pl.po: Likewise.
4227 * po/vi.po: Likewise.
4228
42292012-07-03 Joseph Myers <joseph@codesourcery.com>
4230
4231 * Makeconfig [!+link] (+link-before-libc): New variable.
4232 [!+link] (+link-after-libc): Likewise.
4233 [!+link] (+link-tests): Likewise.
4234 [!+link] (+link): Define in terms of $(+link-before-libc) and
4235 $(+link-after-libc).
4236 [!+link-static] (+link-static-before-libc): New variable.
4237 [!+link-static] (+link-static-after-libc): Likewise.
4238 [!+link-static] (+link-static-tests): Likewise.
4239 [!+link-static] (+link-static): Define in terms of
4240 $(+link-static-before-libc) and $(+link-static-after-libc).
4241 [build-shared] (link-libc-before-gnulib): New variable.
4242 [build-shared] (link-libc-tests): Likewise.
4243 [build-shared] (link-libc): Define in terms of
4244 $(link-libc-before-gnulib).
4245 [!build-shared] (link-libc-tests): New variable.
4246 (link-libc-static-tests): New variable.
4247 [!gnulib] (gnulib-arch): New variable.
4248 [!gnulib] (gnulib-tests): Likewise.
4249 [!gnulib] (static-gnulib-arch): Likewise.
4250 [!gnulib] (static-gnulib-tests): Likewise.
4251 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4252 Define with "=" instead of ":=".
4253 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4254 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4255 * Rules (binaries-all-notests): New variable.
4256 (binaries-all-tests): Likewise.
4257 (binaries-static-notests): Likewise.
4258 (binaries-static-tests): Likewise.
4259 (binaries-all): Define using $(binaries-all-notests) and
4260 $(binaries-all-tests).
4261 (binaries-static): Define using $(binaries-static-notests) and
4262 $(binaries-static-tests).
4263 (binaries-shared-tests): New variable.
4264 (binaries-shared-notests): Likewise.
4265 (binaries-shared): Remove variable.
4266 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4267 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4268 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4269 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4270 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4271 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4272 * elf/Makefile (sln-modules): New variable.
4273 (extra-objs): Add $(sln-modules:=.o).
4274 (ldconfig-modules): Add static-stubs.
4275 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4276 * elf/static-stubs.c: New file.
4277
4278 [BZ #14283]
4279 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4280 by 7 not 8 to examine high bit of fractional part. Use volatile
4281 variables when splitting into final array of floats if
4282 __FLT_EVAL_METHOD__ != 0.
4283 * math/libm-test.inc (cos_test): Add another test.
4284 (sin_test): Likewise.
4285 * sysdeps/i386/fpu/libm-test-ulps: Update.
4286
4287 [BZ #14273]
4288 * math/libm-test.inc (cosh_test): Add more tests.
4289
4290 * version.h (RELEASE): Set to "development".
4291 (VERSION): Set to "2.16.90".
4292
42932012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4294
4295 * NEWS: Update copyright. Remove last-updated date.
4296 Mention math library bug fixes and timezone data changes.
4297 * README: Mention GNU/Hurd, x32, and HPPA support status.
4298
42992012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4300
4301 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4302
43032012-06-27 Andreas Jaeger <aj@suse.de>
4304
4305 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4306
43072012-06-25 Andreas Jaeger <aj@suse.de>
4308
4309 * sysdeps/s390/fpu/libm-test-ulps: Update.
4310
43112012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4312 Thomas Schwinge <thomas@codesourcery.com>
4313
4314 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4315 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4316 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4317 fanotify_mark.
4318
43192012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4320
4321 * sysdeps/mach/start.c: Remove file.
4322 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4323 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4324 * sysdeps/sh/init-first.c: Likewise.
4325
4326 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4327 registers for frame unwinding purposes, add CFI directives.
4328 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4329 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4330 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4331 Likewise.
4332
4333 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4334 __fortify_fail returning.
4335 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4336
4337 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4338 sysdeps/sh/____longjmp_chk.S.
4339 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4340 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4341 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4342 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4343
4344 * sysdeps/sh/abort-instr.h: New file.
4345 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4346 process in case exit returns.
4347
4348 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4349 initialize the GOT register before use.
4350
4351 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4352 calculation of ARGC > 4.
4353
4354 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4355 meaningful names to some local labels.
4356
43572012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4358 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4359
4360 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4361 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4362 (__arch_compare_and_exchange_val_16_acq): Likewise.
4363 (__arch_compare_and_exchange_val_32_acq): Likewise.
4364 (atomic_exchange_and_add): Fix gUSA sequence.
4365 (atomic_add): Likewise.
4366 (atomic_add_negative): Likewise.
4367 (atomic_add_zero): Likewise.
4368 (atomic_bit_test_set): Likewise.
4369
43702012-06-22 Andreas Schwab <schwab@redhat.com>
4371
4372 [BZ #13579]
4373 * include/link.h (struct link_map): Add l_free_initfini.
4374 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4375 l_initfini.
4376 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4377 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4378 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4379 set.
4380
43812012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4382
4383 * configure.in: Use AC_LANG_SOURCE.
4384 * configure: Regenerate.
4385
43862012-06-22 Roland McGrath <roland@hack.frob.com>
4387
4388 * configure.in (libc_cv_localstatedir): New substituted variable.
4389 * configure: Regenerated.
4390 * config.make.in (localstatedir): New variable, substituted from
4391 libc_cv_localstatedir.
4392 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4393 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4394 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4395 * sysdeps/gnu/configure: Regenerated.
4396
43972012-06-21 Jeff Law <law@redhat.com>
4398
4399 [BZ #14277]
4400 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4401 free. Simplify list management for _LIBC case.
4402
44032012-06-21 Joseph Myers <joseph@codesourcery.com>
4404
4405 [BZ #14273]
4406 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4407 Clear sign bit of 64-bit integer value before comparing against
4408 overflow value.
4409
4410 * sysdeps/mach/configure: Regenerated.
4411
44122012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4413
4414 [BZ #14278]
4415 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4416
44172012-06-21 Jeff Law <law@redhat.com>
4418
4419 [BZ #13882]
4420 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4421 uint16_t for elements in the "seen" array to avoid char overflows.
4422 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4423 * elf/dl-open.c (dl_open_worker): Likewise.
4424
44252012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4426
4427 * scripts/list-sources.sh: Scan PORTS for translations.
4428 * po/libc.pot: Regenerated.
4429
44302012-06-21 Andreas Jaeger <aj@suse.de>
4431
4432 [BZ #12194]
4433 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4434 warning.
4435 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4436 * bits/byteswap-16.h (__bswap_16): Likewise.
4437 * bits/byteswap.h (__bswap_constant_16): Likewise.
4438
44392012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4440
4441 [BZ #14117]
4442 * sysdeps/i386/fpu_control.h: Removed.
4443 * sysdeps/x86_64/fpu_control.h: Moved to ...
4444 * sysdeps/x86/fpu_control.h: Here.
4445
4446 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4447 (_FPU_SETCW): Likewise.
4448
44492012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4450
4451 [BZ #14117]
4452 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4453 * sysdeps/x86/fpu/bits/mathinline.h: This.
4454 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4455
4456 [BZ #14050]
4457 [BZ #14117]
4458 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4459 functions if __x86_64__ is defined.
4460
44612012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4462
4463 * string/endian.h: Add !__ASSEMBLER__ condition for including
4464 conversion interfaces.
4465
44662012-06-15 Joseph Myers <joseph@codesourcery.com>
4467
4468 [BZ #14241]
4469 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4470 of ABS(x) in calculating zero to negative powers other than odd
4471 integers.
4472 * math/libm-test.inc (pow_test): Add more tests.
4473
44742012-06-15 Andreas Jaeger <aj@suse.de>
4475
4476 * manual/contrib.texi (Contributors): Update entry of Liubov
4477 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4478 Machado Filho.
4479
44802012-06-15 Cyril Hrubis <metan@ucw.cz>
4481
4482 * string/string.h: Add __wur to GNU version of strerror_r.
4483
44842012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4485
4486 [BZ #14229]
4487 * string/Makefile (tests): Add tst-strtok_r.
4488 * string/tst-strtok_r.c: New file.
4489 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4490 RAX_LP/RDX_LP on SAVE_PTR.
4491
44922012-06-14 Roland McGrath <roland@hack.frob.com>
4493
4494 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4495
44962012-06-14 Joseph Myers <joseph@codesourcery.com>
4497
4498 * libm_test.inc (csqrt_test): Allow more spurious underflow
4499 exceptions.
4500 (j0_test): Likewise.
4501 (j1_test): Likewise.
4502 (y0_test): Likewise.
4503 (y1_test): Likewise.
4504
45052012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4506
4507 * po/Makefile (libc.pot): Use UTF-8 charset.
4508
45092012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4510
4511 [BZ #14210]
4512 Suppress sign-conversion warning from FD_SET.
4513 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4514 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4515 not unsigned long int.
4516 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4517
45182012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4519
4520 [BZ #14050]
4521 [BZ #14117]
4522 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4523 __extern_always_inline instead of __extern_inline.
4524 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4525 (__signbit): Likewise.
4526 (__signbitl): Support C++ namespace.
4527 (lrintf): New inline function.
4528 (lrint): Likewise.
4529 (llrintf): Likewise.
4530 (llrint): Likewise.
4531 (fmaxf): Likewise.
4532 (fmax): Likewise.
4533 (fminf): Likewise.
4534 (fmin): Likewise.
4535 (rint): Likewise.
4536 (rintf): Likewise.
4537 (ceil): Likewise.
4538 (ceilf): Likewise.
4539 (floor): Likewise.
4540 (floorf): Likewise.
4541 (nearbyint): Likewise.
4542 (nearbyintf): Likewise.
4543
45442012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4545
4546 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4547 non-default versions.
4548
45492012-06-11 Roland McGrath <roland@hack.frob.com>
4550
4551 [BZ #14218]
4552 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4553
45542012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4555
4556 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4557 (FE_UPWARD, FE_DOWNWARD): Don't define.
4558 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4559 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4560
4561 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4562 reading it.
4563 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4564 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4565
45662012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4567
4568 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4569 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4570 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4571 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4572
45732012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4574
4575 [BZ #14117]
4576 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4577 * sysdeps/i386/fpu/Implies: New file.
4578 * sysdeps/x86_64/fpu/Implies: Likewise.
4579 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4580 * sysdeps/x86/fpu/bits/fenv.h: This.
4581
4582 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4583 __SSE_MATH__.
4584
45852012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4586
4587 [BZ #14134]
4588 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4589 character 0xffff that matches the last element of the
4590 conversion table.
4591
45922012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4593
4594 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4595 fmodl commit.
4596
45972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4598
4599 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4600 values higher than 25.6283.
4601
46022012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4603
4604 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4605 subnormal exponent extraction and add some __builtin_expect.
4606 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4607 Fix for subnormal mantissa calculation.
4608
46092012-06-04 Mike Frysinger <vapier@gentoo.org>
4610
4611 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4612 cpu2 is -1 and errno is not ENOSYS.
4613
46142012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4615
4616 [BZ #14117]
4617 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4618 * sysdeps/x86/bits/string.h: This.
4619 * sysdeps/x86_64/bits/string.h: Removed.
4620
4621 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4622 if not compiling for x86-64, but compiling for >= i486.
4623
4624 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4625 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4626
4627 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4628 New macro from Linux kernel 3.4.0.
4629 (FP_XSTATE_MAGIC2): Likewise.
4630 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4631 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4632 (struct _fpx_sw_bytes): New struct.
4633 (struct _xsave_hdr): Likewise.
4634 (struct _ymmh_state): Likewise.
4635 (struct _xstate): Likewise.
4636
4637 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4638 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4639 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4640 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4641 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4642 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4643
4644 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4645 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4646 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4647 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4648 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4649 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4650
46512012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4652
4653 [BZ #13743]
4654 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4655 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4656 (sysdep_headers): Include sys/platform/ppc.h.
4657 * sysdeps/powerpc/test-gettimebase.c: Test for
4658 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4659 * manual/Makefile (appendices): Include platform.texi.
4660 * manual/contrib.texi (Contributors): Update @node pointers.
4661 * manual/maint.texi (Maintenance): Likewise.
4662 (Platform): New node.
4663 * manual/platform.texi: New file. Document the new features.
4664
46652012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4666 Jakub Jelinek <jakub@redhat.com>
4667
4668 [BZ #14188]
4669 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4670 where __builtin_expect is unavailable.
4671
46722012-06-03 David S. Miller <davem@davemloft.net>
4673
4674 * stdlib/longlong.h: Updated from GCC.
4675
46762012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4677
4678 [BZ #14042]
4679 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4680 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4681 __mcount_internal.
4682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4683 (GLIBC_2.16): Likewise.
4684
46852012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4686
4687 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4688
46892012-06-01 Joseph Myers <joseph@codesourcery.com>
4690
4691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4692 (default-abi): New variable.
4693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4694 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4695 variable.
4696 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4697 Likewise.
4698 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4699 Likewise.
4700 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4701 Likewise.
4702
4703 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4704 definition. Document in comment.
4705
47062012-06-01 David S. Miller <davem@davemloft.net>
4707
4708 * stdlib/longlong.h: Updated from GCC.
4709
47102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4711
4712 [BZ #14117]
4713 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4714 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4715 sys/debugreg.h sys/io.h here.
4716 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4717 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4718 sys/io.h.
4719 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4720 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4721 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4722 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4723 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4724 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4725
4726 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4727 Define only if __x86_64__ is defined.
4728
47292012-06-01 Joseph Myers <joseph@codesourcery.com>
4730
4731 [BZ #14048]
4732 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4733 Use int64_t for variable i.
4734 * math/libm-test.inc (fmod_test): Add more tests.
4735
4736 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4737 z computation is not scheduled after fetestexcept.
4738 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4739 Use math_force_eval instead of asm to ensure calculation scheduled
4740 before exception test.
4741 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4742 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4743
47442012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4745
4746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4747 computation is not scheduled after fetestexcept.
4748
47492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4750
4751 [BZ #14117]
4752 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4753 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4754
47552012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4756
4757 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4758 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4759
47602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4761
4762 [BZ #14117]
4763 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4764 <bits/wordsize.h>.
4765 (__WCHAR_MIN): Support __WORDSIZE == 64.
4766 (__WCHAR_MAX): Likewise.
4767
4768 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4769 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4770
4771 [BZ #14183]
4772 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4773 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4774
4775 [BZ #14117]
4776 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4777 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4778
4779 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4780 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4781
4782 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4783 Defined to 1 if __x86_64__ isn't defined.
4784 (_STAT_VER_LINUX_OLD): New.
4785 (st_atime): Remove duplicate.
4786 (st_mtime): Likewise.
4787 (st_ctime): Likewise.
4788
47892012-05-31 David S. Miller <davem@davemloft.net>
4790
4791 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4792 entries.
4793
47942012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4795
4796 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4797 gen-libm-test.pl.
4798
4799 [BZ #14132]
4800 * elf/dl-reloc.c: Include <_itoa.h>.
4801 (_dl_reloc_bad_type): Remove use of INTUSE.
4802 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4803 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4804 * stdio-common/psiginfo.c (psiginfo): Likewise.
4805 * stdio-common/psignal.c (psignal): Likewise.
4806 * string/strsignal.c (strsignal): Likewise.
4807 * include/signal.h (_sys_siglist): Declare hidden proto.
4808 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4809 INTVARDEF with libc_hidden_data_def.
4810 * stdio-common/itoa-udigits.c: Likewise.
4811 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4812 (_itoa_lower_digits_internal): Remove declaration.
4813 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4814 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4815 (_sys_sigabbrev_internal): Remove aliases.
4816 (_sys_siglist): Define hidden alias.
4817
48182012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4819
4820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4821 bits/sysctl.h.
4822
48232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4824
4825 [BZ #14117]
4826 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4827 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4828
4829 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4830 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4831 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4832 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4834 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4835
4836 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4837 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4838 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4839
4840 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4841 with __addr.
4842 (insw): Likewise.
4843 (insl): Likewise.
4844 (outsb): Likewise.
4845 (outsw): Likewise.
4846 (outsl): Likewise.
4847
4848 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4849 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4850 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4851
4852 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4853 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4854 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4855 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4856 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4857 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4858
4859 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4860 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4861
4862 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4863 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4864
4865 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4866 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4867 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4868
4869 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4870 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4871 to ...
4872 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4873
4874 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4875 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4876 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4877
4878 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4879 for x86-64.
4880 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4881
48822012-05-31 Joseph Myers <joseph@codesourcery.com>
4883
4884 * math/math.h (M_El): Use two more decimal places.
4885 (M_LOG2El): Likewise.
4886 (M_LOG10El): Likewise.
4887 (M_LN2l): Likewise.
4888 (M_LN10l): Likewise.
4889 (M_PIl): Likewise.
4890 (M_PI_2l): Likewise.
4891 (M_PI_4l): Likewise.
4892 (M_1_PIl): Likewise.
4893 (M_2_PIl): Likewise.
4894 (M_2_SQRTPIl): Likewise.
4895 (M_SQRT2l): Likewise.
4896 (M_SQRT1_2l): Likewise.
4897
48982012-05-31 David S. Miller <davem@davemloft.net>
4899
4900 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4901 values between float registers.
4902 * sysdeps/sparc/sparc64/memset.S: Likewise.
4903 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4904
49052012-05-31 Mike Frysinger <vapier@gentoo.org>
4906
4907 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4908 -D_FORTIFY_SOURCE=1.
4909 (CPPFLAGS-tst-longjmp_chk.c): Define.
4910 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4911 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4912 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4913 CFLAGS-tst-wchar-h.c.
4914
49152012-05-31 Marek Polacek <polacek@redhat.com>
4916
4917 [BZ #14132]
4918 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4919 __endmntent_internal): Remove declaration.
4920 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4921 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4922 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4923
49242012-05-30 David S. Miller <davem@davemloft.net>
4925
4926 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4927 (___Q_simulate_exceptions): Use real FP ops rather than writing
4928 into the %fsr.
4929 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4930 Likewise.
4931
49322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4933
4934 [BZ #14117]
4935 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4936 * sysdeps/x86/bits/xtitypes.h: This.
4937
4938 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4939 * sysdeps/x86/bits/wordsize.h: This.
4940
4941 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4942 * sysdeps/x86/bits/huge_vall.h: This.
4943
4944 * sysdeps/i386/bits/select.h: Removed.
4945 * sysdeps/x86_64/bits/select.h: Renamed to ...
4946 * sysdeps/x86/bits/select.h: This.
4947
4948 * sysdeps/i386/bits/setjmp.h: Removed.
4949 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4950 * sysdeps/x86/bits/setjmp.h: This.
4951
4952 * sysdeps/i386/bits/mathdef.h: Removed.
4953 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4954 * sysdeps/x86/bits/mathdef.h: This.
4955
49562012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4957
4958 [BZ #14132]
4959 * include/sys/socket.h (__connect_internal)
4960 (__libc_sa_len_internal): Remove declaration.
4961 (__connect, __libc_sa_len): Declare hidden_proto.
4962 (SA_LEN): Remove use of INTUSE.
4963 * socket/connect.c: Add libc_hidden_def.
4964 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4965 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4966 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4967 alias.
4968 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4969 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4970 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4971 of adding _internal alias.
4972
49732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4974
4975 [BZ #14117]
4976 * sysdeps/i386/bits/link.h: Removed.
4977 * sysdeps/i386/bits/linkmap.h: Likewise.
4978 * sysdeps/x86_64/bits/link.h: Renamed to ...
4979 * sysdeps/x86/bits/link.h: This.
4980 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4981 * sysdeps/x86/bits/linkmap.h: This.
4982
4983 * sysdeps/i386/bits/endian.h: Removed.
4984 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4985 * sysdeps/x86/bits/endian.h: This.
4986
4987 * sysdeps/i386/bits/byteswap.h: Removed.
4988 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4989 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4990 * sysdeps/x86/bits/byteswap.h: This.
4991 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4992 * sysdeps/x86/bits/byteswap-16.h: This.
4993 * sysdeps/i386/Implies: Add x86.
4994 * sysdeps/x86_64/Implies: Likewise.
4995
49962012-05-30 David S. Miller <davem@davemloft.net>
4997
4998 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4999 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5000 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5001 (FP_TRAPPING_EXCEPTIONS): Define.
5002 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5003 (FP_TRAPPING_EXCEPTIONS): Define.
5004 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5005 subnormals only when inexact has been signalled or underflow
5006 exceptions are enabled.
5007 (_FP_PACK_CANONICAL): Likewise.
5008
50092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5010
5011 [BZ #14183]
5012 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5013 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5014
50152012-05-30 Richard Henderson <rth@twiddle.net>
5016
5017 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5018 with #ifndef NOT_IN_libc.
5019
5020 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5021 marked to avoid plt entry.
5022
50232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5024
5025 [BZ #14112]
5026 * Makeconfig (default-abi): New macro.
5027 (abi-includes): Likewise.
5028 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5029 $(abi-$(default-abi)-lib-soname) for soname if defined.
5030 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5031 abi-variants.
5032 * Makefile (installed-stubs): Likewise.
5033 * include/stubs-biarch.h: Removed.
5034 * scripts/lib-names.awk: Only handle one library at a time.
5035 * scripts/soversions.awk: Remove WORDSIZE support.
5036 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5037 entries.
5038 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5039 Removed.
5040 (syscall-list-default-condition): Likewise.
5041 (syscall-list-default-condition): Likewise.
5042 (syscall-list-includes): Likewise.
5043 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5044 syscall-list-* with abi-*. Handle undefined abi-variants.
5045 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5046 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5047 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5048 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5049 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5050 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5051 Removed.
5052 (syscall-list-32-options): Likewise.
5053 (syscall-list-32-condition): Likewise.
5054 (syscall-list-64-options): Likewise.
5055 (syscall-list-64-condition): Likewise.
5056 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5057 macro.
5058 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5059 Renamed to ...
5060 (abi-*): This.
5061 (abi-64-ld-soname): New macro.
5062 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5063 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5064 Renamed to ...
5065 (abi-*): This.
5066 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5067 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5068
50692012-05-30 Joseph Myers <joseph@codesourcery.com>
5070
5071 * sysdeps/unix/sysv/linux/kernel-features.h
5072 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5073 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5074 include <kernel-features.h>.
5075 [!__NR_ftruncate64]: Remove conditional code.
5076 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5077 [__NR_ftruncate64]: Make code unconditional.
5078 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5079 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5080 include <kernel-features.h>.
5081 [!__NR_ftruncate64]: Remove conditional code.
5082 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5083 [__NR_ftruncate64]: Make code unconditional.
5084 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5086 include <kernel-features.h>.
5087 [!__NR_ftruncate64]: Remove conditional code.
5088 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5089 [__NR_ftruncate64]: Make code unconditional.
5090 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5092 include <kernel-features.h>.
5093 [!__NR_ftruncate64]: Remove conditional code.
5094 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5095 [__NR_ftruncate64]: Make code unconditional.
5096 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5097
5098 * configure.in (libc_cv_fpie): Weaken to a compile test using
5099 LIBC_TRY_CC_OPTION.
5100 * configure: Regenerated.
5101
51022012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5103
5104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5108 Refreshed.
5109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5115 Refreshed.
5116
51172012-05-27 David S. Miller <davem@davemloft.net>
5118
5119 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5120 (___Q_zero): New.
5121 (__Q_simulate_exceptions): Return void. Change to simulate
5122 exceptions by writing into the %fsr.
5123 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5124 (__Qp_handle_exceptions): Likewise.
5125 (numbers): Delete.
5126 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5127 __Qp_handle_exceptions.
5128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5129 __Qp_handle_exceptions.
5130 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5131 as unused and give dummy FP_RND_NEAREST initializer.
5132 (FP_INHIBIT_RESULTS): Define.
5133 (___Q_simulate_exceptions): Update declaration.
5134 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5135 formatting.
5136 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5137 as unused and give dummy FP_RND_NEAREST initializer.
5138 (__Qp_handle_exceptions): Update declaration.
5139 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5140 formatting.
5141
51422012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5143
5144 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5145 the temporary FPU control word.
5146 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5147 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5148 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5149 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5150 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5151 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5152 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5153 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5154 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5155 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5156 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5157
51582012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5159
5160 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5161 fields.
5162
51632012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5164
5165 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5166 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5167 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5168 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5169 Likewise.
5170 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5171 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5172 Likewise.
5173
51742012-05-27 Ulrich Drepper <drepper@gmail.com>
5175
5176 * po/h.po: Update from translation team.
5177
51782012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5179
5180 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5181
5182 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5183 handling of denormals.
5184 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5185 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5186 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5187 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5188 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5189 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5190 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5191 Likewise.
5192
51932012-05-26 Marek Polacek <polacek@redhat.com>
5194
5195 [BZ #14152]
5196 * math/libm-test.inc (fma_test): Don't always expect underflow
5197 exception.
5198
51992012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5200
5201 [BZ #12416]
5202 * elf/tst-execstack.c: Include stackinfo.h.
5203 (do_test): Adjust test case to ensure that pthread_getattr_np
5204 behaviour remains the same after marking stack executable.
5205
52062012-05-25 Joseph Myers <joseph@codesourcery.com>
5207
5208 * sysdeps/unix/sysv/linux/kernel-features.h
5209 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5210 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5211 kernel-features.h.
5212 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5213 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5214 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5215 kernel-features.h.
5216 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5217 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5218
52192012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5220
5221 * configure.in: Define the default includes to being none.
5222 * configure: Regenerated.
5223
52242012-05-25 Roland McGrath <roland@hack.frob.com>
5225
5226 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5227 * sysdeps/x86_64/setjmp.S: Likewise.
5228 * sysdeps/i386/bsd-setjmp.S: Likewise.
5229 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5230 * sysdeps/i386/setjmp.S: Likewise.
5231 * sysdeps/i386/__longjmp.S: Likewise.
5232 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5233 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5234
5235 * include/stap-probe.h: New file.
5236 * configure.in: Handle --enable-systemtap.
5237 * configure: Regenerated.
5238 * config.h.in (USE_STAP_PROBE): New #undef.
5239 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5240 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5241 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5242
52432012-05-25 Joseph Myers <joseph@codesourcery.com>
5244
5245 [BZ #13717]
5246 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5247 to 2.4.0 where earlier.
5248 * sysdeps/unix/sysv/linux/configure: Regenerated.
5249 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5250 <kernel-features.h>.
5251 [__ASSUME_32BITUIDS]: Make code unconditional.
5252 [!__ASSUME_32BITUIDS]: Remove conditional code.
5253 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5254 <kernel-features.h>.
5255 [__ASSUME_32BITUIDS]: Make code unconditional.
5256 [!__ASSUME_32BITUIDS]: Remove conditional code.
5257 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5258 [__ASSUME_32BITUIDS]: Make code unconditional.
5259 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5260 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5261 <kernel-features.h>.
5262 [__ASSUME_32BITUIDS]: Make code unconditional.
5263 [!__ASSUME_32BITUIDS]: Remove conditional code.
5264 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5265 <kernel-features.h>.
5266 [__ASSUME_32BITUIDS]: Make code unconditional.
5267 [!__ASSUME_32BITUIDS]: Remove conditional code.
5268 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5269 <kernel-features.h>.
5270 [__ASSUME_32BITUIDS]: Make code unconditional.
5271 [!__ASSUME_32BITUIDS]: Remove conditional code.
5272 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5273 <kernel-features.h>.
5274 [__ASSUME_32BITUIDS]: Make code unconditional.
5275 [!__ASSUME_32BITUIDS]: Remove conditional code.
5276 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5277 <kernel-features.h>.
5278 [__ASSUME_32BITUIDS]: Make code unconditional.
5279 [!__ASSUME_32BITUIDS]: Remove conditional code.
5280 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5281 <kernel-features.h>.
5282 [__ASSUME_32BITUIDS]: Make code unconditional.
5283 [!__ASSUME_32BITUIDS]: Remove conditional code.
5284 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5285 <kernel-features.h>.
5286 [__ASSUME_32BITUIDS]: Make code unconditional.
5287 [!__ASSUME_32BITUIDS]: Remove conditional code.
5288 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5289 <kernel-features.h>.
5290 [__ASSUME_32BITUIDS]: Make code unconditional.
5291 [!__ASSUME_32BITUIDS]: Remove conditional code.
5292 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5293 <kernel-features.h>.
5294 [__ASSUME_32BITUIDS]: Make code unconditional.
5295 [!__ASSUME_32BITUIDS]: Remove conditional code.
5296 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5297 <kernel-features.h>.
5298 [__ASSUME_32BITUIDS]: Make code unconditional.
5299 [!__ASSUME_32BITUIDS]: Remove conditional code.
5300 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5301 <kernel-features.h>.
5302 [__NR_setresgid] (__setresgid): Do not declare.
5303 [__ASSUME_32BITUIDS]: Make code unconditional.
5304 [!__ASSUME_32BITUIDS]: Remove conditional code.
5305 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5306 <kernel-features.h>.
5307 [__NR_setresuid] (__setresuid): Do not declare.
5308 [__ASSUME_32BITUIDS]: Make code unconditional.
5309 [!__ASSUME_32BITUIDS]: Remove conditional code.
5310 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5311 <kernel-features.h>.
5312 [__ASSUME_32BITUIDS]: Make code unconditional.
5313 [!__ASSUME_32BITUIDS]: Remove conditional code.
5314 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5315 <kernel-features.h>.
5316 [__ASSUME_32BITUIDS]: Make code unconditional.
5317 [!__ASSUME_32BITUIDS]: Remove conditional code.
5318 * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
5351 (__ASSUME_SETRESUID_SYSCALL): Remove.
5352 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5353 (__ASSUME_32BITUIDS): Likewise.
5354 (__ASSUME_LDT_WORKS): Likewise.
5355 (__ASSUME_O_DIRECTORY): Likewise.
5356 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5357 architecture but not kernel version.
5358 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5359 (__ASSUME_MMAP2_SYSCALL): Likewise.
5360 (__ASSUME_STAT64_SYSCALL): Likewise.
5361 (__ASSUME_IPC64): Likewise.
5362 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5363 <kernel-features.h>.
5364 [__ASSUME_32BITUIDS]: Make code unconditional.
5365 [!__ASSUME_32BITUIDS]: Remove conditional code.
5366 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5367 <kernel-features.h>.
5368 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5369 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5370 132096]: Remove conditional code.
5371 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5372 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
5381 <kernel-features.h>.
5382 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5383 unconditional.
5384 (__setresgid): Do not declare.
5385 [__ASSUME_32BITUIDS]: Make code unconditional.
5386 [!__ASSUME_32BITUIDS]: Remove conditional code.
5387 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5388 <kernel-features.h>.
5389 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5390 unconditional.
5391 (__setresuid): Do not declare.
5392 [__ASSUME_32BITUIDS]: Make code unconditional.
5393 [!__ASSUME_32BITUIDS]: Remove conditional code.
5394 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5395 <kernel-features.h>.
5396 [__ASSUME_32BITUIDS]: Make code unconditional.
5397 [!__ASSUME_32BITUIDS]: Remove conditional code.
5398 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5399 <kernel-features.h>.
5400 [__ASSUME_32BITUIDS]: Make code unconditional.
5401 [!__ASSUME_32BITUIDS]: Remove conditional code.
5402
54032012-05-25 Richard Henderson <rth@twiddle.net>
5404
5405 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5406 dl_hwcap to ifunc resolver.
5407 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5408 elf_ifunc_invoke.
5409 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5410 dl_hwcap to ifunc resolver.
5411 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5412
54132012-05-24 Joseph Myers <joseph@codesourcery.com>
5414
5415 [BZ #14153]
5416 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5417 for |x| <= 2**-26, not 2**-57.
5418 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5419 exception.
5420
54212012-05-24 Jeff Law <law@redhat.com>
5422
5423 * stdio-common/Makefile (tests): Add bug25.
5424 * stdio-common/bug25.c: New test.
5425
54262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5427
5428 [BZ #13576]
5429 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5430 multiple of MALLOC_ALIGNMENT in size.
5431 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5432
54332012-05-24 Joseph Myers <joseph@codesourcery.com>
5434
5435 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5436 Require >= 256.
5437 (FILENAME_MAX): Use macro-int-constant.
5438 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5439 (_IOFBF): Use macro-int-constant.
5440 (_IOLBF): Likewise.
5441 (_IONBF): Likewise.
5442 (SEEK_CUR): Likewise.
5443 (SEEK_END): Likewise.
5444 (SEEK_SET): Likewise.
5445 (TMP_MAX): Likewise.
5446 (EOF): Use macro-int-constant. Require < 0.
5447 (NULL): Use macro-constant. Require == 0.
5448 (stdin): Require type to be FILE *.
5449 (stdout): Likewise.
5450 (stderr): Likewise.
5451 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5452 macro-int-constant.
5453 (EXIT_SUCCESS): Likewise.
5454 (NULL): Use macro-constant. Require == 0.
5455 (RAND_MAX): Use macro-int-constant.
5456 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5457 [C99-based standards] (strtof): Require function.
5458 [C99-based standards] (strtold): Likewise.
5459 [C99-based standards] (strtoll): Likewise.
5460 [C99-based standards] (strtoull): Likewise.
5461 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5462 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5463 [ISO || ISO99 || ISO11] (math.h): Likewise.
5464 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5465 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5466 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5467
54682012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5469
5470 [BZ #14132]
5471 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5472 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5473 * intl/dgettext.c (DCGETTEXT): Likewise.
5474 * intl/gettext.c (DCGETTEXT): Likewise.
5475 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5476 * posix/regex_internal.h (gettext): Likewise.
5477 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5478 Remove declaration.
5479 * include/argz.h (__argz_count_internal)
5480 (__argz_stringify_internal): Remove declaration.
5481 (__argz_count, __argz_stringify): Declare hidden proto.
5482 * intl/dcgettext.c: Remove use of INTDEF.
5483 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5484 * string/argz-stringify.c: Likewise.
5485 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5486 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5487 Declare hidden proto.
5488 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5489 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5490 Declare hidden proto.
5491 * include/stdio.h (__asprintf_internal): Don't declare.
5492 (__asprintf): Don't define as macro. Declare hidden proto.
5493 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5494 (__fsetlocking): Declare hidden proto.
5495 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5496 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5497 hidden proto.
5498 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5499 (_IO_setlinebuf): Remove use of INTUSE.
5500 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5501 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5502 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5503 Remove declaration.
5504 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5505 (_IO_do_flush): Remove use of INTUSE.
5506 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5507 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5508 (_IO_adjust_column, _IO_least_wmarker)
5509 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5510 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5511 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5512 (_IO_default_doallocate, _IO_wdefault_doallocate)
5513 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5514 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5515 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5516 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5517 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5518 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5519 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5520 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5521 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5522 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5523 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5524 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5525 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5526 proto.
5527 (_IO_flush_all_internal, _IO_adjust_column_internal)
5528 (_IO_default_uflow_internal, _IO_default_finish_internal)
5529 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5530 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5531 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5532 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5533 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5534 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5535 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5536 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5537 (_IO_file_close_internal, _IO_file_close_it_internal)
5538 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5539 (_IO_file_init_internal, _IO_file_attach_internal)
5540 (_IO_file_fopen_internal, _IO_file_read_internal)
5541 (_IO_file_sync_internal, _IO_file_seek_internal)
5542 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5543 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5544 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5545 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5546 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5547 (_IO_list_all_internal, _IO_link_in_internal)
5548 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5549 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5550 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5551 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5552 (_IO_do_write_internal, _IO_padn_internal)
5553 (_IO_getline_info_internal, _IO_getline_internal)
5554 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5555 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5556 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5557 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5558 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5559 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5560 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5561 with libc_hidden_ver, remove use of INTUSE.
5562 * libio/genops.c: Likewise.
5563 * libio/freopen.c: Likewise.
5564 * libio/freopen64.c: Likewise.
5565 * libio/iofclose.c: Likewise.
5566 * libio/iofdopen.c: Likewise.
5567 * libio/iofflush.c: Likewise.
5568 * libio/iofflush_u.c: Likewise.
5569 * libio/iofgets.c: Likewise.
5570 * libio/iofgets_u.c: Likewise.
5571 * libio/iofopen.c: Likewise.
5572 * libio/iofopncook.c: Likewise.
5573 * libio/iofread.c: Likewise.
5574 * libio/iofread_u.c: Likewise.
5575 * libio/ioftell.c: Likewise.
5576 * libio/iofwrite.c: Likewise.
5577 * libio/iogetline.c: Likewise.
5578 * libio/iogets.c: Likewise.
5579 * libio/iogetwline.c: Likewise.
5580 * libio/iopadn.c: Likewise.
5581 * libio/iopopen.c: Likewise.
5582 * libio/ioseekoff.c: Likewise.
5583 * libio/ioseekpos.c: Likewise.
5584 * libio/iosetbuffer.c: Likewise.
5585 * libio/iosetvbuf.c: Likewise.
5586 * libio/ioungetc.c: Likewise.
5587 * libio/ioungetwc.c: Likewise.
5588 * libio/iovdprintf.c: Likewise.
5589 * libio/iovsprintf.c: Likewise.
5590 * libio/iovsscanf.c: Likewise.
5591 * libio/memstream.c: Likewise.
5592 * libio/obprintf.c: Likewise.
5593 * libio/oldfileops.c: Likewise.
5594 * libio/oldiofclose.c: Likewise.
5595 * libio/oldiofdopen.c: Likewise.
5596 * libio/oldiofopen.c: Likewise.
5597 * libio/oldiopopen.c: Likewise.
5598 * libio/oldstdfiles.c: Likewise.
5599 * libio/putc.c: Likewise.
5600 * libio/setbuf.c: Likewise.
5601 * libio/setlinebuf.c: Likewise.
5602 * libio/stdfiles.c: Likewise.
5603 * libio/strops.c: Likewise.
5604 * libio/vasprintf.c: Likewise.
5605 * libio/vscanf.c: Likewise.
5606 * libio/vsnprintf.c: Likewise.
5607 * libio/vswprintf.c: Likewise.
5608 * libio/wfiledoalloc.c: Likewise.
5609 * libio/wfileops.c: Likewise.
5610 * libio/wgenops.c: Likewise.
5611 * libio/wmemstream.c: Likewise.
5612 * libio/wstrops.c: Likewise.
5613 * libio/__fpurge.c: Likewise.
5614 * libio/__fsetlocking.c: Likewise.
5615 * assert/assert.c: Likewise.
5616 * debug/fgets_chk.c: Likewise.
5617 * debug/fgets_u_chk.c: Likewise.
5618 * debug/fread_chk.c: Likewise.
5619 * debug/fread_u_chk.c: Likewise.
5620 * debug/gets_chk.c: Likewise.
5621 * debug/obprintf_chk.c: Likewise.
5622 * debug/vasprintf_chk.c: Likewise.
5623 * debug/vdprintf_chk.c: Likewise.
5624 * debug/vsnprintf_chk.c: Likewise.
5625 * debug/vsprintf_chk.c: Likewise.
5626 * malloc/mtrace.c: Likewise.
5627 * misc/error.c: Likewise.
5628 * misc/syslog.c: Likewise.
5629 * stdio-common/asprintf.c: Likewise.
5630 * stdio-common/fxprintf.c: Likewise.
5631 * stdio-common/getw.c: Likewise.
5632 * stdio-common/isoc99_fscanf.c: Likewise.
5633 * stdio-common/isoc99_scanf.c: Likewise.
5634 * stdio-common/isoc99_vfscanf.c: Likewise.
5635 * stdio-common/isoc99_vscanf.c: Likewise.
5636 * stdio-common/isoc99_vsscanf.c: Likewise.
5637 * stdio-common/printf-prs.c: Likewise.
5638 * stdio-common/printf_fp.c: Likewise.
5639 * stdio-common/printf_fphex.c: Likewise.
5640 * stdio-common/printf_size.c: Likewise.
5641 * stdio-common/putw.c: Likewise.
5642 * stdio-common/scanf.c: Likewise.
5643 * stdio-common/sprintf.c: Likewise.
5644 * stdio-common/tmpfile.c: Likewise.
5645 * stdio-common/vfprintf.c: Likewise.
5646 * stdio-common/vfscanf.c: Likewise.
5647 * stdlib/strfmon_l.c: Likewise.
5648 * sunrpc/openchild.c: Likewise.
5649 * sunrpc/xdr_stdio.c: Likewise.
5650 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5651 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5652
56532012-05-24 Roland McGrath <roland@hack.frob.com>
5654
5655 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5656
5657 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5658 in the third column, to generate for the shared library an IFUNC
5659 that uses _dl_vdso_vsym.
5660 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5661 * Makeconfig (object-suffixes-noshared): New variable.
5662
5663 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5664 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5665 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5666 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5667
5668 [BZ #14132]
5669 * include/sys/time.h (__gettimeofday): Remove macro.
5670 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5671 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5672 Remove INTDEF.
5673 (__gettimeofday): Add libc_hidden_def.
5674 (gettimeofday): Add libc_hidden_weak.
5675 * sysdeps/mach/gettimeofday.c: Likewise.
5676 * sysdeps/posix/gettimeofday.c: Likewise.
5677 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5678 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5679 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5680 (__gettimeofday_internal): Remove strong_alias.
5681 (__gettimeofday): Add libc_hidden_def.
5682 (gettimeofday): Add libc_hidden_weak.
5683 * sysdeps/unix/syscalls.list (gettimeofday):
5684 Remove __gettimeofday_internal alias.
5685
56862012-05-24 Daniel Jacobowitz <drow@false.org>
5687 H.J. Lu <hongjiu.lu@intel.com>
5688
5689 [BZ #12495]
5690 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5691 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5692 (largebin_index_32_big): New.
5693 (largebin_index): Use it for 16-byte alignment.
5694 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5695 correction with front_misalign.
5696
56972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5698
5699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5701 Likewise.
5702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5703 Likewise.
5704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5705 Likewise.
5706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5707 Likewise.
5708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5709 Likewise.
5710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5711 Likewise.
5712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5713 Likewise.
5714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5715 Likewise.
5716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5717 Likewise.
5718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5719 Likewise.
5720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5721 Likewise.
5722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5723 Likewise.
5724
5725 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5726 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5727
57282012-05-24 Joseph Myers <joseph@codesourcery.com>
5729
5730 [BZ #10846]
5731 [BZ #14036]
5732 * math/libm-test.inc (exp_test): Add test from bug 14036.
5733 (pow_test): Add test from bug 10846.
5734
5735 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5736 and other flags.
5737 (special_function): Do not include flags in test name.
5738 (parse_args): Likewise.
5739 * sysdeps/i386/fpu/libm-test-ulps: Update.
5740 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5741 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5742 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5744
5745 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5746 exceptions.
5747 * math/libm-test.inc ("Philosophy"): Update comment about
5748 exception testing.
5749 (UNDERFLOW_EXCEPTION): New macro.
5750 (UNDERFLOW_EXCEPTION_OK): Likewise.
5751 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5752 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5753 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5754 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5755 (INVALID_EXCEPTION_OK): Update value.
5756 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5757 (OVERFLOW_EXCEPTION_OK): Likewise.
5758 (IGNORE_ZERO_INF_SIGN): Likewise.
5759 (test_exceptions): Handle underflow exceptions.
5760 (acos_test): Update for underflow exception expectations.
5761 (cexp_test): Likewise.
5762 (clog_test): Likewise.
5763 (clog10_test): Likewise.
5764 (csqrt_test): Likewise.
5765 (ctan_test): Likewise.
5766 (ctanh_test): Likewise.
5767 (exp_test): Likewise.
5768 (exp10_test): Likewise.
5769 (exp2_test): Likewise.
5770 (expm1_test): Likewise.
5771 (fma_test): Likewise.
5772 (j0_test): Likewise.
5773 (jn_test): Likewise.
5774 (nexttoward_test): Likewise.
5775 (pow_test): Likewise.
5776 (scalbn_test): Likewise.
5777 (scalbln_test): Likewise.
5778 (tan_test): Likewise.
5779 (y1_test): Likewise.
5780 * sysdeps/i386/fpu/libm-test-ulps: Update.
5781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5782
57832012-05-23 David S. Miller <davem@davemloft.net>
5784
5785 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5786 (__libc_sigaction): Remove unused local variables.
5787
57882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5789
5790 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5791
57922012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5793
5794 mktime: avoid signed integer overflow
5795 * time/mktime.c (__mktime_internal): Do not mishandle the case
5796 where diff == INT_MIN.
5797
5798 mktime: simplify computation of average
5799 * time/mktime.c (ranged_convert): Use new time_t_avg function
5800 instead of rolling our own (probably-slower) code.
5801
5802 mktime: do not assume signed right shift propagates sign bit
5803 * time/mktime.c (isdst_differ): New static function.
5804 (__mktime_internal): No need to normalize tm_isdst now.
5805 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5806 tm_isdst values.
5807
5808 mktime: merge another wrapv change from gnulib
5809 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5810 from some compilers.
5811
5812 mktime: remove incorrect attempt at unusual arithmetics
5813 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5814 The code didn't really work on such machines anyway.
5815 (TYPE_MINIMUM): Assume two's complement.
5816 (twos_complement_arithmetic): Verify that long_int and time_t
5817 are two's complement (or unsigned, in the latter case).
5818
5819 mktime: check signed shifts on long_int and time_t, too
5820 * time/mktime.c (SHR): Check that shifts work as desired
5821 on the types long_int and time_t too, as SHR is used on
5822 such types.
5823
5824 mktime: do not assume 'long' is wide enough
5825 * time/mktime.c (verify): Move decl up.
5826 (long_int): New type.
5827 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5828 to remove assumption in the code that 'long' is wide enough to
5829 store year values. This assumption is not true on x32 and on
5830 some non-glibc platforms.
5831
5832 mktime: merge wrapv change from gnulib
5833 * time/mktime.c (WRAPV): New macro.
5834 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5835 (guess_time_tm, __mktime_internal): Do not assume that signed
5836 integer overflow wraps around; modern compilers generate code
5837 where this assumption is no longer valid.
5838
58392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5840
5841 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5842 Replace "jmp L(pseudo_end)" with "ret".
5843 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5844 Likewise.
5845
58462012-05-23 Andreas Jaeger <aj@suse.de>
5847
5848 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5849 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5850
58512012-05-23 Andreas Jaeger <aj@suse.de>
5852 Maximilian Attems <max@stro.at>
5853
5854 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5855 New macros.
5856
58572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5858
5859 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5860 code so that pseudo_end is just ret and the stack pointer is
5861 correct also for static library in error case.
5862
58632012-05-23 Joseph Myers <joseph@codesourcery.com>
5864
5865 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5866 move to syscalls.list.
5867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5871
5872 * manual/install.texi (Running make install): Do not mention Linux
5873 kernel version for which pt_chown is not needed.
5874 (Linux): Do not mention problems with nscd with 2.0 kernels.
5875 * INSTALL: Regenerated.
5876
58772012-05-23 Andreas Jaeger <aj@suse.de>
5878
5879 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5880 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5881 macro.
5882 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5883 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5884 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5885 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5886 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5887 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5888 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5889 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5890 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5891 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5892 * sysdeps/unix/sysv/linux/bits/in.h
5893 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5894
58952012-05-22 Roland McGrath <roland@hack.frob.com>
5896
5897 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5898 (PREPARE_VERSION): Just use assert instead, it will be elided
5899 under [NDEBUG] anyway.
5900
59012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5902
5903 * sysdeps/unix/sysv/linux/Makefile: Include
5904 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5905 (sysdep_routines): Remove sysctl.
5906 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5907 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5908 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5909 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5910 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5911
59122012-05-22 Andreas Jaeger <aj@suse.de>
5913
5914 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5915 that pseudo_end is just ret and the stack pointer is correct also
5916 for static library in error case.
5917
59182012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5919
5920 [BZ #14122]
5921 * nss/nsswitch.c (defconfig_entries): New variable.
5922 (__nss_database_lookup): Don't leak defconfig entries.
5923 (nss_parse_service_list): Don't leak on error paths.
5924 (free_database_entries): New function.
5925 (free_defconfig): New function.
5926 (free_mem): Move common code to free_database_entries.
5927
59282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5929
5930 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5931 Add arch_prctl.
5932 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5933
5934 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5935 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5936 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5937 New macro.
5938 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5939 (INTERNAL_SYSCALL_TYPES): Likewise.
5940 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5941 (LOAD_REGS_TYPES_[1-6]): Likewise.
5942 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5943 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5944
59452012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5946
5947 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5948 copysignl for GLIBC_2_0.
5949 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5950 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5951 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5952 logbl for GLIBC_2_0.
5953 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5954 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5955
59562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5957
5958 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5959 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5960
5961 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5962 Use "neg %eax".
5963
5964 * time/mktime.c: Update copyright years.
5965
59662012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5967
5968 mktime: merge comment-quoting-style change from gnulib
5969 * time/mktime.c: Quote 'like this' in comments.
5970 The GNU coding standards suggest that we no longer quote `like this',
5971 as "`" and "'" are typically rendered asymmetrically nowadays.
5972 The typical gnulib style is to quote 'like this' when quoting
5973 code, and "like this" when quoting English.
5974
5975 * time/mktime.c (compile-command): Add "-I.".
5976
5977 mktime: merge mktime-internal.h change from gnulib
5978 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5979
5980 mktime: merge time_r change from gnulib
5981 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5982
5983 mktime: merge DEBUG change from gnulib
5984 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5985 case system <time.h> has a #define.
5986
5987 mktime: merge <sys/types.h> change from gnulib
5988 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5989 since <time.t> is now guaranteed to define time_t.
5990
5991 mktime: merge HAVE_CONFIG_H change from gnulib
5992 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5993
59942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5995
5996 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5997 Use "neg %eax".
5998
5999 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6000 __rlim_t cast.
6001 (struct rusage): Use anonymous union to pad each field to
6002 __syscall_slong_t.
6003
60042012-05-21 David S. Miller <davem@davemloft.net>
6005
6006 * Makefules (o-iterator): Remove .s cases.
6007 (compile-command.s): Delete.
6008 (COMPILE.s): Delete.
6009 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6010
60112012-05-21 Joseph Myers <joseph@codesourcery.com>
6012
6013 * configure.in (libc_cv_predef_stack_protector): Only consider
6014 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6015 * configure: Regenerated.
6016
60172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6018
6019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6020 New macro. Use R*LP on int and pointer.
6021 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
6022 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6023 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
6024 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6025
6026 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6027 [__WORDSIZE_TIME64_COMPAT32] instead of
6028 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6029 (struct utmp): Likewise.
6030 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6031 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6032 Renamed to ...
6033 (__WORDSIZE_TIME64_COMPAT32): This.
6034 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6035 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6036 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6037 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6038 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6039 (__WORDSIZE_TIME64_COMPAT32): New macro.
6040
60412012-05-21 Andreas Jaeger <aj@suse.de>
6042
6043 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6044 only if [SHARED]. Add prototype for __wcschr_ia32.
6045
60462012-05-21 Roland McGrath <roland@hack.frob.com>
6047
6048 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6049 of %rbp unmolested in the jmp_buf while mangling the low bits.
6050 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6051 unmolested high bits of %rbp while demangling the low bits.
6052 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6053
60542012-05-21 Andreas Jaeger <aj@suse.de>
6055
6056 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6057 * sunrpc/svc_simple.c: Use it for registerrpc.
6058 * sunrpc/xcrypt.c: Use it for passwd2des.
6059
6060 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6061
60622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6063
6064 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6065 Don't define if [__SYSCALL_WORDSIZE != 32].
6066 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6067 New macro.
6068
60692012-05-21 Bruno Haible <bruno@clisp.org>
6070 Andreas Jaeger <aj@suse.de>
6071
6072 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6073 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6074 inptr and inend for must_buffer_ch.
6075 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6076 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6077 * stdio-common/Makefile (tests): Remove bug15.
6078 (bug15-ENV): Remove macro.
6079 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6080 anymore.
6081
60822012-05-19 Andreas Jaeger <aj@suse.de>
6083 Roland McGrath <roland@hack.frob.com>
6084
6085 * manual/contrib.texi: Completely rewritten. It contains now an
6086 alphabetical list of contributors and their contributions.
6087
60882012-05-21 Richard Henderson <rth@twiddle.net>
6089
6090 * misc/getauxval.c (__getauxval): Use unsigned long int.
6091 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6092 (getauxval): Use unsigned long int.
6093
60942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6095
6096 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6097
60982012-05-21 Roland McGrath <roland@hack.frob.com>
6099
6100 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6101 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6102 __alignof__ (long double).
6103
61042012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6105
6106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6107
61082012-05-20 Richard Henderson <rth@twiddle.net>
6109
6110 * misc/getauxval.c: New file.
6111 * misc/sys/auxv.h: New file.
6112 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6113 (routines): Add getauxval.
6114 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6115 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6116 * elf/dl-sysdep.c (_dl_auxv): Remove.
6117 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6118 * elf/dl-support.c (_dl_auxv): New variable.
6119 (_dl_aux_init): Initialize it.
6120 * manual/startup.texi (Auxiliary Vector): New node.
6121 * sysdeps/generic/bits/hwcap.h: New file.
6122 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6123 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6124 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6125 * sysdeps/sparc/sysdep.h: ... here. Include it.
6126 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6127 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
6128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6129 Update.
6130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6133 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6138
61392012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6140
6141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6142
61432012-05-19 David S. Miller <davem@davemloft.net>
6144
6145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6146
61472012-05-19 Joseph Myers <joseph@codesourcery.com>
6148
6149 [BZ #14123]
6150 * math/s_ccosh.c: Include <float.h>
6151 (__ccosh): Avoid internal overflow calculating sinh and cosh
6152 values before multiplying by sin and cos values.
6153 * math/s_ccoshf.c: Likewise.
6154 * math/s_ccoshl.c: Likewise.
6155 * math/s_csin.c: Likewise.
6156 * math/s_csinf.c: Likewise.
6157 * math/s_csinl.c: Likewise.
6158 * math/s_csinh.c: Likewise.
6159 * math/s_csinhf.c: Likewise.
6160 * math/s_csinhl.c: Likewise.
6161 * math/libm-test.inc (ccos_test): Add more tests.
6162 (ccosh_test): Likewise.
6163 (csin_test): Likewise.
6164 (csinh_test): Likewise.
6165 * sysdeps/i386/fpu/libm-test-ulps: Update.
6166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6167
61682012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6169
6170 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6171 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6172
6173 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6174
61752012-05-19 Joseph Myers <joseph@codesourcery.com>
6176
6177 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6178 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6179 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6180 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6181 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6182 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6183 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6184 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6185 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6186 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6187 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6188 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6189 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6190 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6191 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6192 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6193 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6194 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6195 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6196 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6197 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6198 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6199 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6200 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6201 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6202 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6203 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6204 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6205 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6206 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6207 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6208
62092012-05-18 Andreas Jaeger <aj@suse.de>
6210
6211 * csu/.gitignore: Delete.
6212
62132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6214
6215 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6216 (timex): Use __syscall_slong_t.
6217
62182012-05-18 Andreas Jaeger <aj@suse.de>
6219 Carlos O'Donell <carlos_odonell@mentor.com>
6220
6221 * manual/install.texi (Configuring and compiling): Update
6222 description about files modified in the source directory.
6223 * INSTALL: Regenerated.
6224
62252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6226
6227 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6228 value. Use "or" to set return value to -1.
6229 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6230 negate return value.
6231
62322012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6233
6234 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6235 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6236 failure if the compiler has Graphite support disabled.
6237 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6238 Likewise.
6239 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6240 CFLAGS-memmove.c): Likewise.
6241 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6242 Likewise.
6243
62442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6245
6246 * sysdeps/x86_64/x32/_itoa.h: New file.
6247
6248 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6249 getdents system call only if kernel and user dirents have the
6250 same d_ino and d_off.
6251
6252 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6253 LLONG_MAX != LONG_MAX.
6254 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6255 (_fitoa_word): Likewise.
6256
6257 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6258 years.
6259 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6260 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6261 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6262
6263 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6264 include <bits/wordsize.h>. Check __x86_64__ instead of
6265 __WORDSIZE.
6266 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6267 if __x86_64__ is defined. Use anonymous union on fpstate.
6268
6269 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6270 anonymous union.
6271
62722012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6273
6274 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6275 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6276 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6277 Refer to _rtld_local_ro instead of _rtld_global_ro.
6278 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6279 Likewise.
6280 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6281 Likewise.
6282 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6283 Likewise.
6284 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6285 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6286 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6287
6288 * sysdeps/powerpc/powerpc32/dl-machine.c
6289 (__elf_machine_runtime_setup) [PROF]: Don't reference
6290 _dl_prof_resolve.
6291
62922012-05-18 Andreas Jaeger <aj@suse.de>
6293
6294 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6295 function only available for GCCs before 3.4 since GCC 3.4
6296 introduced a builtin.
6297 (lrint): Likewise.
6298 (llrintf): Likewise.
6299 (llrint): Likewise.
6300 (fmaxf): Likewise.
6301 (fmax): Likewise.
6302 (fminf): Likewise.
6303 (fmin): Likewise.
6304 (rint): Likewise.
6305 (rintf): Likewise.
6306 (nearbyint): Likewise.
6307 (nearbyintf): Likewise.
6308 (ceil): Likewise.
6309 (ceilf): Likewise.
6310 (floor): Likewise.
6311 (floorf): Likewise.
6312
63132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6314
6315 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6316 on both fields and cast pointer to __syscall_ulong_t.
6317
6318 * bits/types.h (__fsword_t): New type.
6319 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6320 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6321 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6322 (__FSWORD_T_TYPE): Likewise.
6323 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6324 (__FSWORD_T_TYPE): Likewise.
6325 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6326 (__FSWORD_T_TYPE): Likewise.
6327 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6328 (__FSWORD_T_TYPE): Likewise.
6329 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6330 __SWORD_TYPE with __fsword_t.
6331 (statfs64): Likewise.
6332
63332012-05-17 David S. Miller <davem@davemloft.net>
6334
6335 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6336
63372012-05-17 Andreas Jaeger <aj@suse.de>
6338
6339 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6340 warning.
6341
63422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6343
6344 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6345
63462012-05-17 Andreas Jaeger <aj@suse.de>
6347
6348 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6349 when it is used.
6350
63512012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6352
6353 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6354
63552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6356
6357 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6358 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6359
63602012-05-17 Andreas Jaeger <aj@suse.de>
6361 Carlos O'Donell <carlos_odonell@mentor.com>
6362
6363 [BZ #14059]
6364 * sysdeps/x86_64/multiarch/init-arch.h
6365 (bit_YMM_Usable): Rename to...
6366 (bit_AVX_Usable): ... this.
6367 (bit_FMA4_Usable): New macro.
6368 (bit_XMM_state): New macro.
6369 (bit_YMM_state): New macro.
6370 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6371 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6372 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6373 (CPUID_OSXSAVE): New macro.
6374 (CPUID_AVX): New macro.
6375 (CPUID_FMA4): New macro.
6376 (index_YMM_Usable): Rename to...
6377 (index_AVX_Usable): ... this.
6378 (HAS_AVX): Use HAS_ARCH_FEATURE.
6379 (HAS_FMA4): Likewise.
6380 (HAS_YMM_USABLE): Remove.
6381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6382 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6383 are present.
6384 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6385 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6386 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6387 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6388 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6389
63902012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6391
6392 * math/libm-test.c: Support platforms without multiple rounding modes.
6393 * math/bug-nextafter.c: Support platforms without FP exceptions.
6394 * math/bug-nexttoward.c: Likewise.
6395 * math/test-fenv.c: Likewise.
6396 * math/test-misc.c: Likewise.
6397 * stdlib/bug-getcontext.c: Likewise.
6398
63992012-05-17 Andreas Jaeger <aj@suse.de>
6400
6401 * manual/examples/search.c (critter_cmp): Change signature to
6402 avoid warnings.
6403 * manual/string.texi (Collation Functions): Likewise.
6404
64052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6406
6407 * bits/types.h: Fold copyright years.
6408 * bits/typesizes.h: Likewise.
6409 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6410 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6411 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6412 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6413 * time/time.h: Likewise.
6414
64152012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6416
6417 [BZ #208]
6418 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6419 in instead of returning them. Return void.
6420 (__libc_mallinfo): Accumulate over all arenas.
6421 (__malloc_stats): Adjust for change in int_mallinfo interface.
6422
64232012-05-16 Roland McGrath <roland@hack.frob.com>
6424
6425 [BZ #10375]
6426 * configure.in (NM): Add AC_CHECK_TOOL for it.
6427 (libc_extra_cflags): New substituted variable.
6428 Check for -fstack-protector being used implicitly.
6429 * configure: Regenerated.
6430 * config.make.in (config-extra-cflags): New variable,
6431 gets @libc_extra_cflags@.
6432 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6433
6434 [BZ #10375]
6435 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6436 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6437 * configure: Regenerated.
6438 * config.make.in (CPPUNDEFS): New substituted variable.
6439 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6440 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6441 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6442
64432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6444
6445 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6446 (mq_attr): Use __syscall_slong_t.
6447
64482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6449
6450 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6451 Check __x86_64__ instead of __WORDSIZE.
6452 (_STAT_VER_LINUX): Likewise.
6453 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6454 __syscall_ulong_t and __syscall_slong_t.
6455 (stat64): Likewise.
6456
64572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6458
6459 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6460
64612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6462
6463 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6464
64652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6466
6467 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6468 __syscall_ulong_t.
6469
6470 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6471 include <bits/wordsize.h>. Check __x86_64__ instead of
6472 __WORDSIZE.
6473 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6474 defined.
6475 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6476
6477 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6478 include <bits/wordsize.h>. Check __x86_64__ instead of
6479 __WORDSIZE.
6480 (user_regs_struct): Use "__extension__ unsigned long long"
6481 instead of "unsigned long" if __x86_64__ is defined.
6482 (user): Likewise. Pad after pointer field if __ILP32__ is
6483 defined.
6484
64852012-05-16 Joseph Myers <joseph@codesourcery.com>
6486
6487 * configure.in (makeinfo): Require version 4.5 or later. Allow
6488 versions 5 to 9.
6489 * configure: Regenerated.
6490 * manual/install.texi (texinfo): Increase version requirement to
6491 4.5 or later.
6492 * INSTALL: Regenerated.
6493
6494 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6495
64962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6497
6498 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6499
6500 * sysdeps/x86_64/x32/ffs.c: New file.
6501
6502 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6503 __syscall_ulong_t.
6504 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6505 defined. Use __syscall_ulong_t.
6506 (shminfo): Use __syscall_ulong_t.
6507 (shm_info): Likewise.
6508
6509 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6510 __syscall_ulong_t.
6511
6512 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6513 <bits/wordsize.h>.
6514 (msgqnum_t): Use __syscall_ulong_t.
6515 (msglen_t): Likewise.
6516 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6517 __syscall_ulong_t.
6518
6519 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6520 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6521
6522 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6523
6524 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6525 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6526
6527 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6528 __syscall_slong_t.
6529
6530 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6531 include <bits/wordsize.h>. Check __x86_64__ instead of
6532 __WORDSIZE.
6533
6534 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6535 "unsigned long long int" if __x86_64__ is defined.
6536 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6537
6538 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6539 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6540 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6541
6542 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6543 <stdint.h>.
6544 (GET_PC): Cast to uintptr_t first.
6545 (GET_FRAME): Likewise.
6546 (GET_STACK): Likewise.
6547
6548 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6549 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6550 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6551 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6552 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6553 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6554 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6555 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6556 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6557 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6558 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6559 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6560 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6561 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6562 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6563 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6564 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6565 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6566 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6567 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6568 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6569 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6570 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6571 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6572 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6573 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6574 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6575 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6576 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6577
65782012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6579
6580 * Makerules (+depfiles): Also collect depfiles from .oS in
6581 $(extra-objs).
6582 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6583 .oS, $(libnldbl-routines)).
6584
6585 * Makerules (native-compile-mkdep-flags): Define.
6586 * sunrpc/Makefile (extra-objs): Add $(addprefix
6587 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6588 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6589 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6590 calling $(make-target-directory).
6591
65922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6593
6594 * bits/types.h (__snseconds_t): Removed.
6595 * time/time.h (struct timespec): Replace __snseconds_t with
6596 __syscall_slong_t.
6597 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6598 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6599 Likewise.
6600 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6601 (__SNSECONDS_T_TYPE): Likewise.
6602 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6603 (__SNSECONDS_T_TYPE): Likewise.
6604 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6605 (__SNSECONDS_T_TYPE): Likewise.
6606
66072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6608
6609 * sysdeps/mach/hurd/bits/typesizes.h
6610 (__SYSCALL_SLONG_TYPE): New macro.
6611 (__SYSCALL_ULONG_TYPE): Likewise.
6612
66132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6614
6615 * bits/types.h (__syscall_slong_t): New type.
6616 (__syscall_ulong_t): Likewise.
6617
6618 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6619 (__SYSCALL_ULONG_TYPE): Likewise.
6620 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6621 (__SYSCALL_SLONG_TYPE): Likewise.
6622 (__SYSCALL_ULONG_TYPE): Likewise.
6623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6624 (__SYSCALL_SLONG_TYPE): Likewise.
6625 (__SYSCALL_ULONG_TYPE): Likewise.
6626 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6627 (__SYSCALL_SLONG_TYPE): Likewise.
6628 (__SYSCALL_ULONG_TYPE): Likewise.
6629
66302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6631
6632 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6633 Add sigaltstack-offsets.sym.
6634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6635 <sigaltstack-offsets.h>.
6636 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6637 longjmp_msg pointer.
6638 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6639 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6640 signal stack.
6641 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6642
66432012-05-15 Joseph Myers <joseph@codesourcery.com>
6644
6645 * elf/stackguard-macros.h: Remove file.
6646 * sysdeps/generic/stackguard-macros.h: New file.
6647 * sysdeps/i386/stackguard-macros.h: Likewise.
6648 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6649 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6650 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6651 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6652 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6653 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6654 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6655 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6656 <elf/stackguard-macros.h>.
6657
6658 [BZ #14109]
6659 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6660 __aligned__ in attribute.
6661 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6662 (gregset_t): Likewise.
6663
66642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6665
6666 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6667 * sysdeps/x86_64/64/Implies-after: Here. New file.
6668 * sysdeps/x86_64/x32/Implies-after: New file.
6669
66702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6671
6672 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6673 and access return value for _dl_profile_fixup. Use R10_LP to
6674 load frame size.
6675
66762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6677
6678 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6679
66802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6681
6682 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6683 * sysdeps/x86_64/x32/sysdep.h: New file.
6684
66852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6686
6687 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6688 * sysdeps/x86_64/setjmp.S: Likewise.
6689
66902012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6691
6692 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6693 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6694 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6695 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6696 remove unused global constant.
6697
66982012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6699
6700 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6701 include of <not-cancel.h>.
6702
67032012-05-15 Roland McGrath <roland@hack.frob.com>
6704
6705 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6706
67072012-05-15 Jeff Law <law@redhat.com>
6708 Andreas Jaeger <aj@suse.de>
6709
6710 [BZ #13594]
6711 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6712 out from...
6713 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6714 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6715 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6716 code changing __hst_map_handle.map.
6717
67182012-05-15 Roland McGrath <roland@hack.frob.com>
6719
6720 * configure.in (sysnames): Look for Implies-before and Implies-after
6721 files.
6722 * configure: Regenerated.
6723
67242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6725
6726 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6727 8-byte data alignment with LP_SIZE alignment.
6728
67292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6730
6731 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6732 into R10_LP.
6733
67342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6735
6736 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6737
67382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6739
6740 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6741 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6742 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6743 Likewise.
6744 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6745
67462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6747
6748 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6749 (stackinfo_sub_sp): Likewise.
6750
67512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6752
6753 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6754 RAX_LP.
6755
67562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6757
6758 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6759 into R*_LP.
6760
67612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6762
6763 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6764 sizes into R*_LP.
6765
67662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6767
6768 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6769
67702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6771
6772 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6773 into R11_LP and load __x86_64_shared_cache_size_half into
6774 R8_LP.
6775
67762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6777
6778 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6779 R8_LP.
6780
67812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6782
6783 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6784 logb for POWER7.
6785 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6786 logbf for POWER7.
6787 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6788 logbl for POWER7.
6789 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6790 powerpc32/power7/fpu/s_logb.c via #include.
6791 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6792 powerpc32/power7/fpu/s_logbf.c via #include.
6793 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6794 powerpc32/power7/fpu/s_logbl.c via #include.
6795
67962012-05-15 Joseph Myers <joseph@codesourcery.com>
6797
6798 * README.libm: Remove file.
6799
68002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6801
6802 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6803 count for x32. Use R*_LP and omit operand-size suffix.
6804
68052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6806
6807 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6808 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6809 * sysdeps/x86_64/x32/shlib-versions: New file.
6810
68112012-05-14 Roland McGrath <roland@hack.frob.com>
6812
6813 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6814 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6815 Use _dl_fatal_printf instead.
6816
68172012-05-14 Joseph Myers <joseph@codesourcery.com>
6818
6819 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6820 set if not set by the user. Do not allow for being unset.
6821 * sysdeps/unix/sysv/linux/configure: Regenerated.
6822
68232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6824
6825 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6826 the `q' suffix from lea and replace .quad with ASM_ADDR.
6827
68282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6829
6830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6831 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6832 instead of $17.
6833 (PTR_DEMANGLE): Likewise.
6834
68352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6836
6837 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6838 (LP_OP): Likewise.
6839 (ASM_ADDR): Likewise.
6840 (RAX_LP): Likewise.
6841 (RBP_LP): Likewise.
6842 (RBX_LP): Likewise.
6843 (RCX_LP): Likewise.
6844 (RDI_LP): Likewise.
6845 (RSI_LP): Likewise.
6846 (RSP_LP): Likewise.
6847 (R8_LP): Likewise.
6848 (R9_LP): Likewise.
6849 (R10_LP): Likewise.
6850 (R10_LP): Likewise.
6851 (R11_LP): Likewise.
6852 (R12_LP): Likewise.
6853 (R13_LP): Likewise.
6854 (R14_LP): Likewise.
6855 (R15_LP): Likewise.
6856
68572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6858
6859 * sysdeps/x86_64/x32/dl-machine.h: New file.
6860
68612012-05-14 Andreas Jaeger <aj@suse.de>
6862
6863 * manual/Makefile (subdir): Remove export of subdir.
6864 (all): Remove target.
6865 (.PHONY): Remove all from list.
6866 (mkinstalldirs): Remove.
6867 (.PHONY): Remove installdirs from list.
6868 ($(inst_infodir)/libc.info): Use make-target-directory.
6869 (installdirs): Remove.
6870 (subdir_%): Remove.
6871 (glibc-targets): Remove.
6872 (lib): Remove.
6873 (stubs): Remove.
6874 ($(objpfx)stubs ../po/manual.pot): Remove.
6875 ($(objpfx)stamp%): Remove.
6876 (make-target-directory): Remove.
6877 (subdir_install): Remove.
6878 (routines): Remove.
6879 (aux): Remove.
6880 (sources): Remove.
6881 (objects): Remove.
6882 (headers): Remove.
6883
6884 [BZ #13750]
6885 * manual/.gitignore: Remove, it's not needed anymore.
6886 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6887 all files in it.
6888 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6889 directory.
6890 (texis): Renamed to $(objpfx)texis.
6891 (texis-path): New, contains path to generated files.
6892 (chapters.%): Use texis-path for complete path, add extra argument
6893 libc-texinfo.sh.
6894 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6895 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6896 (summary,texi, stamp-summary): Use complete path of
6897 files. Generate files in build dir.
6898 (dir-add.texi): Build in build dir.
6899 (libm-err.texi,stamp-libm-err): Likewise.
6900 (version.texi, stamp-version): Likewise.
6901 (.%c.texi): Likewise.
6902 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6903 (mostlyclean): Remove target.
6904 (realclean): Remove target.
6905 (generated): Add new variable with contents from mostlyclean and
6906 realclean, remove entries duplicated in common-mostlyclean, add
6907 stamp-libm-err and stamp-version.
6908 (generated-dirs): Add libc directory.
6909 ($(inst_infodir)/libc.info): Install files from build dir.
6910
6911 * manual/install.texi (Configuring and compiling): Adjust since
6912 the info files are not part of the tar ball anymore.
6913
69142012-05-14 Andreas Jaeger <aj@suse.de>
6915
6916 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6917 variable.
6918
69192012-05-14 Joseph Myers <joseph@codesourcery.com>
6920
6921 [BZ #13717]
6922 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6923 to 2.2.0 where earlier.
6924 * sysdeps/unix/sysv/linux/configure: Regenerated.
6925 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6926 Remove conditional code.
6927 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6928 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6929 Remove conditional code.
6930 [!__NR_lchown]: Likewise.
6931 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6932 [__NR_lchown]: Likewise.
6933 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6934 comment referencing __ASSUME_LCHOWN_SYSCALL.
6935 * sysdeps/unix/sysv/linux/i386/sigaction.c
6936 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6937 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6938 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6939 Remove conditional code.
6940 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6941 (__protocol_available): Remove #if 0 code.
6942 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6943 conditional code.
6944 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6945 * sysdeps/unix/sysv/linux/kernel-features.h
6946 (__ASSUME_GETCWD_SYSCALL): Don't define.
6947 (__ASSUME_REALTIME_SIGNALS): Likewise.
6948 (__ASSUME_PREAD_SYSCALL): Likewise.
6949 (__ASSUME_PWRITE_SYSCALL): Likewise.
6950 (__ASSUME_POLL_SYSCALL): Likewise.
6951 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6952 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6953 non-SPARC.
6954 (__ASSUME_SIOCGIFNAME): Don't define.
6955 (__ASSUME_MSG_NOSIGNAL): Likewise.
6956 (__ASSUME_SENDFILE): Define unconditionally.
6957 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6958 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6959 conditional code.
6960 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6961 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6962 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6963 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6964 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6965 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6966 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6968 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6969 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6971 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6972 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6974 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6975 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6977 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6978 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6980 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6981 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6983 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6984 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6986 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6987 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6989 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6990 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6991 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6992 Remove conditional code.
6993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6994 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6995 Remove conditional code.
6996 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6997 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6998 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6999 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7000 Remove conditional code.
7001 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7002 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7003 Remove conditional code.
7004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7005 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7006 Remove conditional code.
7007 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7008 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7009 Remove conditional code.
7010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7011 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7012 Remove conditional code.
7013 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7014 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7015 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7016 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7017 * sysdeps/unix/sysv/linux/sigaction.c
7018 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7019 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7020 * sysdeps/unix/sysv/linux/sigpending.c
7021 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7022 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7023 * sysdeps/unix/sysv/linux/sigprocmask.c
7024 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7025 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7026 * sysdeps/unix/sysv/linux/sigsuspend.c
7027 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7028 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7029 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7030 (__libc_missing_rt_sigs): Remove.
7031 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7032 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7033 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7034 Remove conditional code.
7035 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7036 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7037 return 1.
7038 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7039 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7040 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7041 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7042
70432012-05-14 Andreas Jaeger <aj@suse.de>
7044
7045 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7046 it's not used in glibc.
7047 (__coshm1): Likewise.
7048 (__acosh1p): Likewise.
7049 (__sgn): Likewise.
7050
7051 * manual/string.texi (Copying and Concatenation): Add missing
7052 variable in concat example.
7053 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7054
70552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7056
7057 [BZ #14103]
7058 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7059 __builtin_clzl with __builtin_clzll.
7060
70612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7062
7063 [BZ #14104]
7064 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7065 libc_freeres_ptr.
7066
70672012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7068
7069 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7070 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7071 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7072 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7073
70742012-05-14 Mike Frysinger <vapier@gentoo.org>
7075
7076 * NEWS: Update ia64 info.
7077
70782012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7079
7080 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7081 used as bcopy.
7082
70832012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7084
7085 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7086 * sysdeps/unix/syscalls.list (dup3): Likewise.
7087 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7088 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7089
70902012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7091
7092 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7093 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7094
70952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7096
7097 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7098 thread pointer.
7099 (TLS_IE): Use mov/add instead of movq/addq to load thread
7100 pointer.
7101 (TLS_GD_PREFIX): New.
7102 (TLS_GD): Use it.
7103
71042012-05-11 David S. Miller <davem@davemloft.net>
7105
7106 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7107 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7108 (_FPU_SETCW): Likewise.
7109
71102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7111
7112 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7113 is 32-byte aligned.
7114
71152012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7116
7117 [BZ #11837]
7118 * iconvdata/gb18030.c: Update tables.
7119 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7120 characters specially.
7121 (BODY for TO_LOOP): Add encoding of missing ranges.
7122
71232012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7124
7125 [BZ #13673]
7126 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7127 * sysdeps/mach/hurd/dup3.c: Likewise.
7128 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7129 * sysdeps/powerpc/memmove.c:: Likewise.
7130
71312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7132
7133 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7134 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7135
71362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7137
7138 * elf/elf.h (R_X86_64_RELATIVE64): New.
7139 (R_X86_64_NUM): Updated.
7140 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7141 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7142 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7143 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7144 tst-quad1pie tst-quad2pie
7145 (modules-names): Add tst-quadmod1 tst-quadmod2.
7146 ($(objpfx)tst-quad1): New dependency.
7147 ($(objpfx)tst-quad2): Likewise.
7148 ($(objpfx)tst-quad1pie): Likewise.
7149 ($(objpfx)tst-quad2pie): Likewise.
7150 * sysdeps/x86_64/tst-quad1.c: New file.
7151 * sysdeps/x86_64/tst-quad1pie.c: New file.
7152 * sysdeps/x86_64/tst-quad2.c: Likewise.
7153 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7154 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7155 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7156 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7157 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7158
71592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7160
7161 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7162 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7163 * streams/stropts.h (t_scalar_t): Define type.
7164
7165 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7166 (_PATH_PRESERVE): Set to "/var/lib".
7167 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7168
7169 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7170 instead of int.
7171
7172 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7173 if __dir_mkfile succeeded.
7174
7175 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7176 checking for _hurd_dtablesize. Unlock it right after having
7177 finished _hurd_dtable allocation.
7178
71792012-05-10 Thomas Schwinge <thomas@schwinge.name>
7180
7181 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7182 * sysdeps/mach/hurd/configure: Regenerated.
7183 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7184 special-casing to...
7185 * sysdeps/gnu/configure.in: ... this new file.
7186 * sysdeps/unix/sysv/linux/configure: Regenerated.
7187 * sysdeps/gnu/configure: New generated file.
7188
7189 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7190 for Linux: use nsec instead of usec, as well as:
7191 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7192 members of type struct timespec.
7193 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7194 New macros.
7195 (struct stat64): Likewise.
7196 (_STATBUF_ST_NSEC): New macro.
7197 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7198
7199 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7200 __strtoul_internal rather than strtoul.
7201
72022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7203
7204 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7205 and reject them.
7206
72072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7208
7209 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7210 which preserves existing values.
7211 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7212
72132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7214
7215 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7216 TIMEOUT values. Return EINVAL for NFDS values either negative or
7217 greater than FD_SETSIZE.
7218
72192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7220
7221 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7222 allocated, call __vm_protect to finish enabling the existing space, and
7223 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7224 allocate the remainder.
7225
72262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7227
7228 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7229 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7230
72312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7232
7233 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7234 sysdeps/mach/hurd/readlink.c.
7235
7236 * posix/tst-sysconf.c (posix_options): Only use
7237 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7238 _POSIX_SYNCHRONIZED_IO when they are defined
7239 * sysdeps/mach/hurd/bits/posix_opt.h:
7240 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7241 (_XOPEN_REALTIME): Undefine macro.
7242 (_XOPEN_REALTIME_THREADS): Undefine macro.
7243 (_XOPEN_SHM): Undefine macro.
7244 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7245 macro to -1.
7246 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7247 macro to -1.
7248 (_POSIX_ASYNC_IO): Undefine macro.
7249 (_POSIX_PRIORITIZED_IO): Undefine macro.
7250 (_POSIX_SPIN_LOCKS): Define macro to -1.
7251
7252 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7253 SA_NODEFER, SA_RESETHAND.
7254 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7255 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7256 F_DUPFD_CLOEXEC.
7257
72582012-05-10 Thomas Schwinge <thomas@schwinge.name>
7259
7260 * elf/Makefile (pldd-modules): Define unconditionally.
7261
72622012-05-10 Thomas Schwinge <thomas@schwinge.name>
7263
7264 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7265
72662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7267
7268 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7269 Return ENOENT when name is empty.
7270 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7271
72722012-05-10 Thomas Schwinge <thomas@schwinge.name>
7273
7274 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7275
7276 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7277
72782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7279
7280 Fix mlock in all cases except non-readable pages.
7281 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7282 instead of VM_PROT_ALL as parameter to __vm_wire function.
7283
7284 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7285 (__mkdir): When path is `/', just fail with EEXIST.
7286 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7287
72882012-05-10 Thomas Schwinge <thomas@schwinge.name>
7289
7290 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7291 <sys/uio.h> (for writev).
7292 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7293 and <sys/param.h> (for MIN).
7294
72952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7296
7297 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7298 REQUESTED_TIME. Properly set the remaining time and return EINTR
7299 if interrupted.
7300
73012012-05-10 Thomas Schwinge <thomas@schwinge.name>
7302
7303 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7304 Depend on against $(link-rpcuserlibs).
7305
73062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7307
7308 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7309 (__libc_stack_end): Do not use attribute_relro.
7310 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7311 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
7312 to libthread-provided value.
7313 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7314 attribute_relro.
7315
73162012-05-10 Thomas Schwinge <thomas@schwinge.name>
7317
7318 [BZ #3748]
7319 * bits/libc-lock.h (__libc_once_get): New macro.
7320 * sysdeps/mach/bits/libc-lock.h: Likewise.
7321 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7322 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7323 instead of using implementation details.
7324
7325 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7326 * libio/freopen.c: Likewise.
7327 * libio/freopen64.c: Likewise.
7328 * misc/syslog.c: Likewise.
7329 * nscd/connections.c: Likewise.
7330 * nscd/netgroupcache.c: Likewise.
7331 * sysdeps/posix/getcwd.c: Likewise.
7332
73332012-05-10 Roland McGrath <roland@hack.frob.com>
7334
7335 * math/w_ilogbf.c: Add #include <limits.h>.
7336
73372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7338
7339 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
7340 path instead of returning without unlocking.
7341
7342 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7343 immediate-write ioctls.
7344 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7345
73462012-05-10 Thomas Schwinge <thomas@schwinge.name>
7347
7348 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7349 __builtin_frame_address instead of making assumptions about the
7350 location of the return address relative to DATA. Force early load of
7351 the return address.
7352 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7353 __builtin_frame_address.
7354
7355 dup3 for GNU Hurd.
7356 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7357 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7358 implement dup3 and do some further code clean-ups.
7359 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7360 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7361
73622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7363
7364 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7365
7366 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7367 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7368 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7369 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7370 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7371 d->port.lock.
7372
7373 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7374 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7375 when handler == SIG_ERR, not when handler != SIG_ERR.
7376
73772012-05-10 Thomas Schwinge <thomas@schwinge.name>
7378
7379 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7380 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7381 definitions.
7382
7383 accept4 for GNU Hurd.
7384 * include/sys/socket.h (__libc_accept4): New prototype.
7385 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7386 to implement __libc_accept4.
7387 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7388 __libc_accept4.
7389 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7390
7391 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7392 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7393 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7394 signal-defines.sym.
7395
73962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7397
7398 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
7399
74002012-05-10 Thomas Schwinge <thomas@schwinge.name>
7401
7402 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7403 assertion on O_CLOEXEC flag.
7404 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7405 * hurd/intern-fd.c: Likewise.
7406 * hurd/port2fd.c: Likewise.
7407
74082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7409
7410 [BZ #3906]
7411 * bits/in.h (IPV6_PKTINFO): Define new macro.
7412 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7413
74142012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7415
7416 [BZ #13954]
7417 [BZ #13955]
7418 [BZ #13956]
7419 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7420 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7421 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7422 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7423 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7424 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7425 * math/libm-test.inc (logb_test) : Additional logb tests.
7426
74272012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7428 Andreas Jaeger <aj@suse.de>
7429
7430 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7431 * configure: Regenerated.
7432 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7433 * config.make.in (link-obsolete-rpc): New substituted variable.
7434 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7435 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7436 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7437 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7438 so that libc.a contains the symbols.
7439 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7440 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7441 * sunrpc/auth_none.c: Likewise.
7442 * sunrpc/auth_unix.c: Likewise.
7443 * sunrpc/authdes_prot.c: Likewise.
7444 * sunrpc/authuxprot.c: Likewise.
7445 * sunrpc/clnt_gen.c: Likewise.
7446 * sunrpc/clnt_perr.c: Likewise.
7447 * sunrpc/clnt_raw.c: Likewise.
7448 * sunrpc/clnt_simp.c: Likewise.
7449 * sunrpc/clnt_tcp.c: Likewise.
7450 * sunrpc/clnt_udp.c: Likewise.
7451 * sunrpc/clnt_unix.c: Likewise.
7452 * sunrpc/des_crypt.c: Likewise.
7453 * sunrpc/des_soft.c: Likewise.
7454 * sunrpc/get_myaddr.c: Likewise.
7455 * sunrpc/key_call.c: Likewise.
7456 * sunrpc/key_prot.c: Likewise.
7457 * sunrpc/netname.c: Likewise.
7458 * sunrpc/pm_getmaps.c: Likewise.
7459 * sunrpc/pm_getport.c: Likewise.
7460 * sunrpc/pmap_clnt.c: Likewise.
7461 * sunrpc/pmap_prot.c: Likewise.
7462 * sunrpc/pmap_prot2.c: Likewise.
7463 * sunrpc/pmap_rmt.c: Likewise.
7464 * sunrpc/publickey.c: Likewise.
7465 * sunrpc/rpc_cmsg.c: Likewise.
7466 * sunrpc/rpc_common.c: Likewise.
7467 * sunrpc/rpc_dtable.c: Likewise.
7468 * sunrpc/rpc_prot.c: Likewise.
7469 * sunrpc/rpc_thread.c: Likewise.
7470 * sunrpc/rtime.c: Likewise.
7471 * sunrpc/svc.c: Likewise.
7472 * sunrpc/svc_auth.c: Likewise.
7473 * sunrpc/svc_raw.c: Likewise.
7474 * sunrpc/svc_run.c: Likewise.
7475 * sunrpc/svc_tcp.c: Likewise.
7476 * sunrpc/svc_udp.c: Likewise.
7477 * sunrpc/svc_unix.c: Likewise.
7478 * sunrpc/svcauth_des.c: Likewise.
7479 * sunrpc/xcrypt.c: Likewise.
7480 * sunrpc/xdr.c: Likewise.
7481 * sunrpc/xdr_array.c: Likewise.
7482 * sunrpc/xdr_float.c: Likewise.
7483 * sunrpc/xdr_intXX_t.c: Likewise.
7484 * sunrpc/xdr_mem.c: Likewise.
7485 * sunrpc/xdr_rec.c: Likewise.
7486 * sunrpc/xdr_ref.c: Likewise.
7487 * sunrpc/xdr_sizeof.c: Likewise.
7488 * sunrpc/xdr_stdio.c: Likewise.
7489
74902012-05-10 Roland McGrath <roland@hack.frob.com>
7491
7492 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7493 change. Update copyright years.
7494
74952012-05-10 Joseph Myers <joseph@codesourcery.com>
7496
7497 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7498
74992012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7500 Joseph Myers <joseph@codesourcery.com>
7501 Paul Pluzhnikov <ppluzhnikov@google.com>
7502
7503 [BZ #14012]
7504 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7505 requiring rpcgen.
7506 [cross-compiling] (extra-libs): Likewise.
7507 [cross-compiling] (extra-libs-others): Likewise.
7508 [cross-compiling] (librpcsvc-routines): Likewise.
7509 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7510 [cross-compiling] (omit-deps): Likewise.
7511 (sunrpc-CPPFLAGS): New variable.
7512 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7513 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7514 (cross-rpcgen-objs): New variable.
7515 (extra-objs): Append $(cross-rpcgen-objs).
7516 ($(cross-rpcgen-objs)): New rule.
7517 ($(objpfx)cross-rpcgen): Likewise.
7518 (rpcgen-cmd): Define to use $(built-program-file). Expand
7519 comment.
7520 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7521 ($(objpfx)x%.stmp): Likewise.
7522 * sunrpc/proto.h [IS_IN_build] (_): Define.
7523 [IS_IN_build] (_libc_intl_domainname): Likewise.
7524
75252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7526
7527 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7528 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7529 and R_X86_64_TPOFF64.
7530
75312012-05-10 Joseph Myers <joseph@codesourcery.com>
7532
7533 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7534 sysdeps/unix/sysv/syscalls.list.
7535 (stime): Likewise.
7536 (utime): Likewise.
7537 * sysdeps/unix/sysv/syscalls.list: Remove file.
7538
75392012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7540
7541 [BZ #3440]
7542 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7543 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7544 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7545 (__LC_IDENTIFICATION): Make these macros useful in #if
7546 expressions, as required by C99.
7547
75482012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7549
7550 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7551 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7552 after this.
7553
75542012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7555
7556 * stdlib/longlong.h: Updated from GCC.
7557
75582012-05-09 Andreas Jaeger <aj@suse.de>
7559
7560 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7561 default is first entry.
7562 (run_mode): Set type.
7563 (main): Remove informal message about syslog.
7564 (options): Fix typo.
7565
7566 [BZ #14053]
7567 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7568 to asm.
7569 (lrint): Likewise.
7570 (llrintf): Likewise.
7571 (llrint): Likewise.
7572 (rint): Likewise.
7573 (rintf): Likewise.
7574 (nearbyint): Likewise.
7575 (nearbyintf): Likewise.
7576
75772012-05-09 Andreas Jaeger <aj@suse.de>
7578 Pedro Alves <palves@redhat.com>
7579
7580 * nscd/nscd.c (run_mode): Use enum.
7581 (main): Cleanup coding style issue.
7582
75832012-05-09 Alexandre Oliva <aoliva@redhat.com>
7584 Andreas Jaeger <aj@suse.de>
7585
7586 * nscd/nscd.c (go_background): Replaced with...
7587 (run_mode): ... this.
7588 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7589 (options): Add -F --foreground.
7590 (main): Implement it.
7591 (parse_opt): Parse it.
7592
75932012-05-09 Andreas Jaeger <aj@suse.de>
7594
7595 [BZ #14083]
7596 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7597 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7598 -Wconversion warning.
7599 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7600 Likewise.
7601
76022012-05-09 Joseph Myers <joseph@codesourcery.com>
7603
7604 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7605 == 0.
7606 (LC_ALL): Use macro-int-constant.
7607 (LC_COLLATE): Likewise.
7608 (LC_CTYPE): Likewise.
7609 (LC_MESSAGES): Likewise.
7610 (LC_MONETARY): Likewise.
7611 (LC_NUMERIC): Likewise.
7612 (LC_TIME): Likewise.
7613 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7614 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7615 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7616 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7617 Specify type.
7618 [C99-based standards] (float_t): Expect type.
7619 [C99-based standards] (double_t): Expect type.
7620 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7621 type.
7622 [C99-based standards] (HUGE_VALL): Likewise.
7623 [C99-based standards] (INFINITY): Likewise.
7624 [C99-based standards] (NAN): Likewise.
7625 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7626 [C99-based standards] (FP_NAN): Likewise.
7627 [C99-based standards] (FP_NORMAL): Likewise.
7628 [C99-based standards] (FP_SUBNORMAL): Likewise.
7629 [C99-based standards] (FP_ZERO): Likewise.
7630 [C99-based standards] (FP_FAST_FMA): Use
7631 optional-macro-int-constant. Specify type. Require == 1.
7632 [C99-based standards] (FP_FAST_FMAF): Likewise.
7633 [C99-based standards] (FP_FAST_FMAL): Likewise.
7634 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7635 [C99-based standards] (FP_ILOGBNAN): Likewise.
7636 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7637 Specify type.
7638 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7639 [C99-based standards] (math_errhandling): Specify type.
7640 [ISO99 || ISO11] (signgam): Do not allow.
7641 [non-C99-based standards] (copysignf): Do not allow.
7642 [non-C99-based standards] (exp2f): Likewise.
7643 [non-C99-based standards] (log2f): Likewise.
7644 [non-C99-based standards] (modff): Allow.
7645 [non-C99-based standards] (erff): Do not allow.
7646 [non-C99-based standards] (erfcf): Likewise.
7647 [non-C99-based standards] (gammaf): Likewise.
7648 [non-C99-based standards] (hypotf): Likewise.
7649 [non-C99-based standards] (j0f): Likewise.
7650 [non-C99-based standards] (j1f): Likewise.
7651 [non-C99-based standards] (jnf): Likewise.
7652 [non-C99-based standards] (lgammaf): Likewise.
7653 [non-C99-based standards] (tgammaf): Likewise.
7654 [non-C99-based standards] (y0f): Likewise.
7655 [non-C99-based standards] (y1f): Likewise.
7656 [non-C99-based standards] (ynf): Likewise.
7657 [non-C99-based standards] (isnanf): Likewise.
7658 [non-C99-based standards] (acoshf): Likewise.
7659 [non-C99-based standards] (asinhf): Likewise.
7660 [non-C99-based standards] (atanhf): Likewise.
7661 [non-C99-based standards] (cbrtf): Likewise.
7662 [non-C99-based standards] (expm1f): Likewise.
7663 [non-C99-based standards] (ilogbf): Likewise.
7664 [non-C99-based standards] (log1pf): Likewise.
7665 [non-C99-based standards] (logbf): Likewise.
7666 [non-C99-based standards] (nextafterf): Likewise.
7667 [non-C99-based standards] (remainderf): Likewise.
7668 [non-C99-based standards] (rintf): Likewise.
7669 [non-C99-based standards] (scalbf): Likewise.
7670 [non-C99-based standards] (copysignl): Likewise.
7671 [non-C99-based standards] (exp2l): Likewise.
7672 [non-C99-based standards] (log2l): Likewise.
7673 [non-C99-based standards] (modfl): Allow.
7674 [non-C99-based standards] (erfl): Do not allow.
7675 [non-C99-based standards] (erfcl): Likewise.
7676 [non-C99-based standards] (gammal): Likewise.
7677 [non-C99-based standards] (hypotl): Likewise.
7678 [non-C99-based standards] (j0l): Likewise.
7679 [non-C99-based standards] (j1l): Likewise.
7680 [non-C99-based standards] (jnl): Likewise.
7681 [non-C99-based standards] (lgammal): Likewise.
7682 [non-C99-based standards] (tgammal): Likewise.
7683 [non-C99-based standards] (y0l): Likewise.
7684 [non-C99-based standards] (y1l): Likewise.
7685 [non-C99-based standards] (ynl): Likewise.
7686 [non-C99-based standards] (isnanl): Likewise.
7687 [non-C99-based standards] (acoshl): Likewise.
7688 [non-C99-based standards] (asinhl): Likewise.
7689 [non-C99-based standards] (atanhl): Likewise.
7690 [non-C99-based standards] (cbrtl): Likewise.
7691 [non-C99-based standards] (expm1l): Likewise.
7692 [non-C99-based standards] (ilogbl): Likewise.
7693 [non-C99-based standards] (log1pl): Likewise.
7694 [non-C99-based standards] (logbl): Likewise.
7695 [non-C99-based standards] (nextafterl): Likewise.
7696 [non-C99-based standards] (remainderl): Likewise.
7697 [non-C99-based standards] (rintl): Likewise.
7698 [non-C99-based standards] (scalbl): Likewise.
7699 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7700 [non-C99-based standards] (FP_*): Do not allow.
7701 [C99-based standards] (FP_*): Change to
7702 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7703 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7704 allow.
7705 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7706 (SIG_ERR): Likewise.
7707 [X/Open-based standards] (SIG_HOLD): Likewise.
7708 (SIG_IGN): Likewise.
7709 (SIGABRT): Use macro-int-constant. Specify type. Require
7710 positive value.
7711 (SIGFPE): Likewise.
7712 (SIGILL): Likewise.
7713 (SIGINT): Likewise.
7714 (SIGSEGV): Likewise.
7715 (SIGTER): Likewise.
7716 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7717 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7718 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7719 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7720 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7721 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7722 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7723 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7724 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7725 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7726 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7727 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7728 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7729 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7730 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7731 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7732 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7733 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7734 [X/Open-based standards] (SIGTRAP): Likewise.
7735 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7736 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7737 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7738 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7739 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7740 allow.
7741
77422012-05-08 Ian Wienand <ianw@vmware.com>
7743
7744 [BZ #14080]
7745 * time/tzset.c (__tzset_parse_tz): Update default rules for
7746 daylight time changes in the Energy Policy Act of 2005.
7747
77482012-05-09 Andreas Jaeger <aj@suse.de>
7749
7750 [BZ #13983]
7751 * elf/ldconfig.c (parse_conf): Change string to make clear that
7752 ldconfig only issued a warning if ld.so.conf does not exist.
7753
77542012-05-08 David S. Miller <davem@davemloft.net>
7755
7756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7757 movxtod instead of popping the value on the stack.
7758
7759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7760
77612012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7762
7763 * config.h.in: Add HAVE_ARM_PCS_VFP.
7764
77652012-05-08 Roland Mc Grath <roland@hack.frob.com>
7766
7767 [BZ #13979]
7768 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7769 checking but the checks are disabled for any reason.
7770
77712012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7772
7773 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7774 and ELF64_R_TYPE with ELFW(R_TYPE).
7775
77762012-05-08 Joseph Myers <joseph@codesourcery.com>
7777
7778 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7779 (ulimit): Likewise.
7780
7781 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7782 (settimeofday): Likewise.
7783
77842012-05-08 Mike Frysinger <vapier@gentoo.org>
7785
7786 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7787 a struct th_u2 inside the union, and move tu_block/tu_code into
7788 a new th_u3 union of tu_block/tu_code inside of that. Move
7789 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7790 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7791 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7792 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7793 (th_stuff): Change to th_u1.tu_stuff.
7794 (th_data): Define.
7795 (th_msg): Change to th_u1.th_u2.tu_data.
7796
77972012-05-07 David S. Miller <davem@davemloft.net>
7798
7799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7800
7801 [BZ #14074]
7802 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7803 (SETUP_PIC_REG): Use it.
7804 (SETUP_PIC_REG_LEAF): Use it.
7805
78062012-05-07 Joseph Myers <joseph@codesourcery.com>
7807
7808 [BZ #13885]
7809 [BZ #13923]
7810 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7811 USE_AS_EXPM1L.
7812 (EXPL_FINITE): Likewise.
7813 (FLDLOG): Likewise.
7814 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7815 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7816 e_expl.S.
7817 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7818 USE_AS_EXPM1L.
7819 (EXPL_FINITE): Likewise.
7820 (FLDLOG): Likewise.
7821 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7822 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7823 e_expl.S.
7824 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7825 test of -max_value argument for long double.
7826 * sysdeps/i386/fpu/libm-test-ulps: Update.
7827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7828
78292012-05-06 David S. Miller <davem@davemloft.net>
7830
7831 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7832 quad soft-float symbols whose references which are compiler
7833 generated.
7834 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7835
78362012-05-06 Joseph Myers <joseph@codesourcery.com>
7837
7838 [BZ #13884]
7839 [BZ #13914]
7840 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7841 USE_AS_EXP10L.
7842 (EXPL_FINITE): Likewise.
7843 (FLDLOG): Likewise.
7844 (c0): Likewise.
7845 (c1): Likewise.
7846 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7847 Adjust comments for base varying.
7848 (__expl_finite): Change alias to EXPL_FINITE.
7849 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7850 e_expl.S.
7851 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7852 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7853 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7854 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7855 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7856 USE_AS_EXP10L.
7857 (EXPL_FINITE): Likewise.
7858 (FLDLOG): Likewise.
7859 (c0): Likewise.
7860 (c1): Likewise.
7861 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7862 Adjust comments for base varying.
7863 (__expl_finite): Change alias to EXPL_FINITE.
7864 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7865 tests for bugs.
7866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7867
7868 [BZ #14064]
7869 * math/libm-test.inc (check_float_internal): Correct ulp
7870 calculation for subnormal expected results.
7871
78722012-05-06 Andreas Jaeger <aj@suse.de>
7873
7874 * Makeconfig (+math-flags): New, set to -frounding-math.
7875 (+cflags): Add +math-flags so that all of glibc gets compiled with
7876 it.
7877
7878 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7879
78802012-05-05 Joseph Myers <joseph@codesourcery.com>
7881
7882 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7883 Disable one test.
7884
7885 [BZ #13787]
7886 [BZ #13922]
7887 [BZ #14036]
7888 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7889 (__ieee754_expl): Allow for and saturate large arguments.
7890 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7891 (u_threshold): Likewise.
7892 (__exp): Call __ieee754_exp before checking for overflow and
7893 underflow.
7894 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7895 (u_threshold): Likewise.
7896 (__expf): Call __ieee754_expf before checking for overflow and
7897 underflow.
7898 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7899 (u_threshold): Likewise.
7900 (__expl): Call __ieee754_expl before checking for overflow and
7901 underflow.
7902 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7903 (__ieee754_expl): Allow for and saturate large arguments.
7904 * math/libm-test.inc (exp_test): Add another test. Do not allow
7905 missing overflow exception on overflow.
7906 (expm1_test): Do not allow missing overflow exception on overflow.
7907
7908 * sysdeps/i386/fpu/e_expl.c: Move to ...
7909 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7910 rather than using inline asm.
7911 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7912 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7913 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7914
7915 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7916 (nice): Likewise.
7917 (poll): Likewise.
7918 (signal): Likewise.
7919 (time): Likewise.
7920 (times): Likewise.
7921
79222012-05-04 Joseph Myers <joseph@codesourcery.com>
7923
7924 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7925 sysdeps/unix/common/syscalls.list.
7926 (fchmod): Likewise.
7927 (fchown): Likewise.
7928 (ftruncate): Likewise.
7929 (getrusage): Likewise.
7930 (gettimeofday): Likewise.
7931 (setpgid): Likewise.
7932 (setregid): Likewise.
7933 (setreuid): Likewise.
7934 (sigaction): Likewise.
7935 (truncate): Likewise.
7936 (vhangup): Likewise.
7937 * sysdeps/unix/common/syscalls.list: Remove file.
7938 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7939 * sysdeps/unix/sysv/linux/Implies: Likewise.
7940
79412012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7942
7943 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7945 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7946 Moved to ...
7947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7948 Here.
7949 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7950 to ...
7951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7952 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7953 to ...
7954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7955 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7956 to ...
7957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7958 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7959 to ...
7960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7961 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7962 to ...
7963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7964 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7965 to ...
7966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7967 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7968 to ...
7969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7970 Here.
7971 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7972 to ...
7973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7974 Here.
7975 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7976 to ...
7977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7978 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7979 Moved to ...
7980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7981 Here.
7982 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7983 to ...
7984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7985
79862012-05-04 Joseph Myers <joseph@codesourcery.com>
7987
7988 * sysdeps/unix/common/bits/dirent.h: Remove file.
7989 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7990
7991 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7992 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7993 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7994 * sysdeps/unix/bsd/isatty.c: Likewise.
7995 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7996 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7997 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7998
79992012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8000
8001 [BZ #13563]
8002 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8003 long double comparison inaccuracies.
8004 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8006
80072012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8008
8009 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8010 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8011
80122012-05-04 Joseph Myers <joseph@codesourcery.com>
8013
8014 [BZ #14049]
8015 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8016 nonzero digits before rounding a hex value.
8017 * stdlib/tst-strtod.c (tests): Add another test.
8018
80192012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8020
8021 * sysdeps/s390/fpu/libm-test-ulps: Update.
8022
80232012-05-03 Andreas Jaeger <aj@suse.de>
8024
8025 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8026 does not get optimized out.
8027 (malloc_opt_barrier): New.
8028
80292012-05-03 Andreas Jaeger <aj@suse.de>
8030 Roland McGrath <roland@hack.frob.com>
8031
8032 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
8033 intermediate file deletion.
8034 (generated): Add .symlist files.
8035
80362012-05-03 Joseph Myers <joseph@codesourcery.com>
8037
8038 [BZ #13775]
8039 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8040 Redirect under this condition.
8041 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8042 [__USE_GNU] (__dprintf_chk): Not under this condition.
8043 [__USE_GNU] (__vdprintf_chk): Likewise.
8044 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8045 under this condition.
8046 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8047 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8048 [__USE_XOPEN2K8] (vdprintf): Likewise.
8049 [__USE_GNU] (__dprintf_chk): Not under this condition.
8050 [__USE_GNU] (__vdprintf_chk): Likewise.
8051 [__USE_GNU] (dprintf): Likewise.
8052 [__USE_GNU] (vdprintf): Likewise.
8053
80542012-05-03 Roland McGrath <roland@hack.frob.com>
8055
8056 * elf/Makefile (common-generated): Set this instead of generated for
8057 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8058 $(all-built-dso)-derived lists.
8059
80602012-05-03 Andreas Jaeger <aj@suse.de>
8061
8062 * sysdeps/i386/fpu/libm-test-ulps: Update.
8063
8064 * FAQ: Removed.
8065 * FAQ.in: Likewise.
8066 * scripts/gen-FAQ.pl: Likewise.
8067 * manual/install.texi (Installation): Point to online location of
8068 FAQ.
8069 * Makefile (files-for-dist): Remove FAQ.
8070 (FAQ): Remove.
8071
80722012-05-02 Allan McRae <allan@archlinux.org>
8073
8074 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8075 (LDFLAGS-reldepmod5.so): Likewise.
8076 (LDFLAGS-reldep6mod1.so): Likewise.
8077 (LDFLAGS-reldep6mod4.so): Likewise.
8078 (LDFLAGS-reldep8mod3.so): Likewise.
8079 (LDFLAGS-unload4mod1.so): Likewise.
8080 (LDFLAGS-unload4mod2.so): Likewise.
8081 (LDFLAGS-tst-initorder): Likewise.
8082 (LDFLAGS-tst-initordera2.so): Likewise.
8083 (LDFLAGS-tst-initordera3.so): Likewise.
8084 (LDFLAGS-tst-initordera4.so): Likewise.
8085 (LDFLAGS-tst-initorderb2.so): Likewise.
8086 (LDFLAGS-noload): Likewise.
8087 (LDFLAGS-next): Likewise.
8088 (LDFLAGS-order2mod1.so): Likewise.
8089 (LDFLAGS-order2mod2.so): Likewise.
8090 (LDFLAGS-tst-initorder2): Likewise.
8091 (LDFLAGS-tst-initorder2a.so): Likewise.
8092 (LDFLAGS-tst-initorder2b.so): Likewise.
8093 (LDFLAGS-tst-initorder2c.so): Likewise.
8094 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8095
80962012-05-02 David S. Miller <davem@davemloft.net>
8097
8098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8099
81002012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8101
8102 [BZ #14055]
8103 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8104
81052012-05-02 Andreas Jaeger <aj@suse.de>
8106
8107 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8108 since we manipulate rounding mode.
8109 (CPPFLAGS-test-idouble.c): Likewise.
8110 (CPPFLAGS-test-ifloat.c): Likewise.
8111 (CFLAGS-test-ldouble.c): Likewise.
8112 (CFLAGS-test-double.c): Likewise.
8113 (CFLAGS-test-float.c): Likewise.
8114 (CFLAGS-test-misc.c): Likewise.
8115 (CFLAGS-test-test-fenv.c): Likewise.
8116
81172012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8118
8119 [BZ #2550]
8120 [BZ #2570]
8121 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8122 comparisons to determine direction to adjust input.
8123
81242012-05-01 Roland McGrath <roland@hack.frob.com>
8125
8126 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8127 output to the target.
8128
8129 * scripts/localplt.awk: New file.
8130 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8131 (check-localplt-CFLAGS): Variable removed.
8132 ($(all-built-dso:=.jmprel)): New static pattern rule.
8133 (generated): Add those targets.
8134 (localplt-built-dso): New variable.
8135 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8136
8137 * elf/check-localplt.c: File removed.
8138
8139 * scripts/check-execstack.awk: New file.
8140 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8141 (check-execstack-CFLAGS): Variable removed.
8142 ($(objpfx)check-execstack.h): Target removed.
8143 ($(objpfx)execstack-default): New target.
8144 (generated): Add that instead of check-execstack.h.
8145 ($(all-built-dso:=.phdr)): New static pattern rule.
8146 (generated): Add those targets.
8147 * elf/check-execstack.c: File removed.
8148
8149 * scripts/check-textrel.awk: New file.
8150 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8151 (check-textrel-CFLAGS): Variable removed.
8152 (all-built-dso): Use := to define.o
8153 ($(all-built-dso:=.dyn)): New static pattern rule.
8154 (generated): Add those targets.
8155 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8156 * config.make.in (READELF): New substituted variable.
8157 * elf/check-textrel.c: File removed.
8158
81592012-05-01 Joseph Myers <joseph@codesourcery.com>
8160
8161 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8162 allow.
8163 * conform/data/ctype.h-data [C99-based standards] (isblank):
8164 Expect function.
8165 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8166 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8167 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8168 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8169 Specify type. Require positive value.
8170 (EILSEQ): Likewise.
8171 (ERANGE): Likewise.
8172 [ISO || POSIX] (EILSEQ): Do not expect.
8173 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8174 Specify type. Require positive value.
8175 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8176 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8177 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8178 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8179 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8180 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8181 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8182 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8183 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8184 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8185 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8186 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8187 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8188 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8189 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8190 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8191 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8192 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8193 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8194 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8195 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8196 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8197 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8198 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8199 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8200 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8201 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8202 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8203 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8204 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8205 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8206 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8207 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8208 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8209 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8210 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8211 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8212 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8213 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8214 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8215 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8216 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8217 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8218 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8219 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8220 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8221 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8222 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8223 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8224 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8225 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8226 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8227 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8228 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8229 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8230 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8231 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8232 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8233 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8234 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8235 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8236 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8237 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8238 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8239 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8240 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8241 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8242 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8243 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8244 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8245 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8246 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8247 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8248 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8249 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8250 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8251 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8252 Require >= 2.
8253 (FLT_ROUNDS): Expect as macro, not constant.
8254 (FLT_MANT_DIG): Use macro-int-constant.
8255 (DBL_MANT_DIG): Likewise.
8256 (LDBL_MANT_DIG): Likewise.
8257 (FLT_DIG): Likewise.
8258 (DBL_DIG): Likewise.
8259 (LDBL_DIG): Likewise.
8260 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8261 (DBL_MIN_EXP): Likewise.
8262 (LDBL_MIN_EXP): Likewise.
8263 (FLT_MAX_EXP): Use macro-int-constant.
8264 (DBL_MAX_EXP): Likewise.
8265 (LDBL_MAX_EXP): Likewise.
8266 (FLT_MAX_10_EXP): Likewise.
8267 (DBL_MAX_10_EXP): Likewise.
8268 (LDBL_MAX_10_EXP): Likewise.
8269 (FLT_MAX): Use macro-constant.
8270 (DBL_MAX): Likewise.
8271 (LDBL_MAX): Likewise.
8272 (FLT_EPSILON): Use macro-constant. Give upper bound.
8273 (DBL_EPSILON): Likewise.
8274 (LDBL_EPSILON): Likewise.
8275 (FLT_MIN): Likewise.
8276 (DBL_MIN): Likewise.
8277 (LDBL_MIN): Likewise.
8278 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8279 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8280 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8281 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8282 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8283 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8284 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8285 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8286 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8287 [ISO11] (FLT_TRUE_MIN): Likewise.
8288 [ISO11] (LDBL_TRUE_MIN): Likewise.
8289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8290 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8291 (SCHAR_MIN): Use macro-int-constant. Specify type.
8292 (SCHAR_MAX): Likewise.
8293 (UCHAR_MAX): Likewise.
8294 (CHAR_MIN): Likewise.
8295 (CHAR_MAX): Likewise.
8296 (MB_LEN_MAX): Use macro-int-constant.
8297 (SHRT_MIN): Use macro-int-constant. Specify type.
8298 (SHRT_MAX): Likewise.
8299 (USHRT_MAX): Likewise.
8300 (INT_MAX): Likewise.
8301 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8302 bound negative.
8303 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8304 bound with "U".
8305 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8306 bound with "L".
8307 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8308 bound negative. Suffix upper bound with "L".
8309 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8310 bound with "UL".
8311 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8312 Specify type.
8313 [C99-based standards] (LLONG_MAX): Likewise.
8314 [C99-based standards] (ULLONG_MAX): Likewise.
8315 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8316 == 0.
8317 [ISO11] (max_align_t): Require type.
8318 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8319
8320 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8321 from $CFLAGS, without defining away __attribute__ calls.
8322 (checknamespace): Use $CFLAGS_namespace.
8323
8324 * conform/conformtest.pl (@keywords): Only include C99 keywords
8325 for standards based on C99 or C11.
8326
8327 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8328 Disable tests.
8329 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8330 UNIX98]: Likewise.
8331
8332 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8333 usability of symbols in #if.
8334
8335 * conform/conformtest.pl: If macro or constant types start
8336 "promoted:", expect the symbol to be of the following type
8337 promoted by the integer promotions.
8338
8339 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8340 in one place. Also handle "macro-constant".
8341
8342 * conform/conformtest.pl: Only accept expected macro values with
8343 "==". Parse all "macro" lines in one place.
8344 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8345
8346 * conform/conformtest.pl: Handle braced types on "constant" lines
8347 instead of handling "typed-constant".
8348 * conform/data/signal.h-data: Use "constant" instead of
8349 "typed-constant".
8350
8351 * conform/conformtest.pl: Handle "optional-" at start of lines in
8352 one place rather than duplicating several cases. Handle each
8353 format of "macro" line with initial "optional-".
8354
8355 * conform/conformtest.pl: Only accept expected constant or
8356 optional-constant values with "==". Parse all "constant" lines in
8357 one place. Parse all "optional-constant" lines in one place.
8358 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8359 * conform/data/fmtmsg.h-data: Likewise.
8360 * conform/data/netinet/in.h-data: Likewise.
8361 * conform/data/tar.h-data: Likewise.
8362 * conform/data/limits.h-data: Use "==" form on "constant" and
8363 "optional-constant" lines.
8364
8365 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8366 Use -std=c99 for XOPEN2K.
8367 (@knownproblems): Remove.
8368 (newtoken): Don't check %isknown.
8369
8370 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8371 Do not expect macro.
8372 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8373 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8374 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8375 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8376 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8377 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8378 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8379 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8380 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8381 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8382 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8383 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8384 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8385 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8386 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8387 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8388 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8389 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8390 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8391 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8392 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8393 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8394 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8395 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8396 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8397 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8398 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8399 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8400 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8401 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8402 [XPG3] (acosh): Likewise.
8403 [XPG3] (asinh): Likewise.
8404 [XPG3] (atanh): Likewise.
8405 [XPG3] (cbrt): Likewise.
8406 [XPG3] (expm1): Likewise.
8407 [XPG3] (ilogb): Likewise.
8408 [XPG3] (log1p): Likewise.
8409 [XPG3] (logb): Likewise.
8410 [XPG3] (nextafter): Likewise.
8411 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8412 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8413 [XPG3] (remainder): Likewise.
8414 [XPG3] (rint): Likewise.
8415 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8416 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8417 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8418 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8419 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8420 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8421 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8422 [UNIX98 || XOPEN2K] (scalb): Expect.
8423 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8424 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8425 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8426 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8427 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8428 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8429 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8430 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8431 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8432 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8433 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8434 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8435 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8436 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8437 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8438 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8439 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8440 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8441 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8442 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8443 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8444 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8445 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8446 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8447 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8448 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8449 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8450 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8451 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8452 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8453 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8454 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8455 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8456 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8457 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8458 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8459 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8460 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8461 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8462 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8463 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8464 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8465 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8466 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8467 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8468 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8469 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8470 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8471 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8472 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8473 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8474 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8475 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8476 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8477 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8478 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8479 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8480 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8481 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8482 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8483 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8484 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8485 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8486 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8487 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8488 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8489 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8490 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8491 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8492 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8493 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8494 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8495 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8496 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8497 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8498 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8499 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8500 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8501 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8502 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8503 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8504 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8505 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8506 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8507 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8508 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8509 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8510 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8511 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8512 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8513 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8514 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8515 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8516 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8517 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8518 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8519 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8520 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8521 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8522 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8523 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8524 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8525 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8526 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8527 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8528 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8529 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8530 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8531 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8532 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8533 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8534 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8535 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8536 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8537 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8538 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8539 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8540 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8541 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8542 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8543 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8544 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8545 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8546 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8547 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8548 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8549 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8550 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8551 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8552 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8553 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8554 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8555 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8556 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8557 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8558 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8559 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8560
8561 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8562 _XOPEN_SOURCE_EXTENDED for XPG4.
8563
8564 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8565
8566 * Makeconfig (localtime): Remove variable.
8567 (inst_localtime-file): Likewise.
8568
85692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8570
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8572 Update.
8573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8574 Update.
8575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8576 Update.
8577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8578 Update.
8579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8580 Update.
8581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8582 Update.
8583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8584 Update.
8585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8586 Update.
8587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8588 Update.
8589
85902012-05-01 Joseph Myers <joseph@codesourcery.com>
8591
8592 [BZ #2550]
8593 [BZ #2570]
8594 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8595 comparisons to determine direction to adjust input.
8596 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8597 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8598 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8599 Likewise.
8600 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8601 Likewise.
8602 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8603 Likewise.
8604 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8605 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8606 Likewise.
8607 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8608 Likewise.
8609 * math/libm-test.inc (nexttoward_test): Add more tests.
8610
86112012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8612
8613 [BZ #14040]
8614 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8615 in version GLIBC_2.1, not GLIBC_2.0.
8616 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8617 Likewise.
8618
86192012-04-30 Joseph Myers <joseph@codesourcery.com>
8620
8621 [BZ #13942]
8622 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8623 (1 - x) * (1 + x).
8624 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8625 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8626 * math/libm-test.inc (acos_test): Add more tests.
8627 (asin_test): Likewise.
8628 * sysdeps/i386/fpu/libm-test-ulps: Update.
8629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8630
8631 [BZ #14034]
8632 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8633 of square root.
8634 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8635 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8636 * math/libm-test.inc (acos_test_tonearest): New function.
8637 (acos_test_towardzero): Likewise.
8638 (acos_test_downward): Likewise.
8639 (acos_test_upward): Likewise.
8640 (asin_test_tonearest): Likewise.
8641 (asin_test_towardzero): Likewise.
8642 (asin_test_downward): Likewise.
8643 (asin_test_upward): Likewise.
8644 (main): Call the new functions.
8645 * sysdeps/i386/fpu/libm-test-ulps: Update.
8646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8647
8648 [BZ #13884]
8649 [BZ #13924]
8650 * math/e_exp10.c: Include <float.h>.
8651 (__ieee754_exp10): Handle underflow here rather than multiplying
8652 large negative argument by M_LN10.
8653 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8654 of __ieee754_expf.
8655 * math/e_exp10l.c: Include <float.h>.
8656 (__ieee754_exp10l): Handle underflow here rather than multiplying
8657 large negative argument by M_LN10l.
8658 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8659 spurious overflow exception on underflow.
8660
86612012-04-29 Marek Polacek <polacek@redhat.com>
8662
8663 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8664 (__fortify_function): New macro.
8665 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8666 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8667 __extern_always_inline.
8668 * libio/bits/stdio2.h: Likewise.
8669 * libio/bits/stdio.h: Likewise.
8670 * string/string.h: Likewise.
8671 * string/bits/string3.h: Likewise.
8672 * include/stdio.h: Likewise.
8673 * stdlib/bits/stdlib.h: Likewise.
8674 * stdlib/stdlib.h: Likewise.
8675 * rt/bits/mqueue2.h: Likewise.
8676 * rt/mqueue.h: Likewise.
8677 * posix/bits/unistd.h: Likewise.
8678 * posix/unistd.h: Likewise.
8679 * io/bits/poll2.h: Likewise.
8680 * io/bits/fcntl2.h: Likewise.
8681 * io/fcntl.h: Likewise.
8682 * io/sys/poll.h: Likewise.
8683 * misc/bits/syslog.h: Likewise.
8684 * misc/bits/syslog-ldbl.h: Likewise.
8685 * misc/sys/syslog.h: Likewise.
8686 * socket/bits/socket2.h: Likewise.
8687 * socket/sys/socket.h: Likewise.
8688 * debug/tst-chk1.c: Likewise.
8689 * wcsmbs/bits/wchar2.h: Likewise.
8690 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8691 * wcsmbs/wchar.h: Likewise.
8692
86932012-04-29 Andreas Jaeger <aj@suse.de>
8694
8695 * Makerules (tests): Remove enable-check-abi protection.
8696 (check-abi-warn): Remove.
8697 (check-abi-%): Remove check-abi-warn usage.
8698
8699 * configure.in: Remove check-abi configure option.
8700 * configure: Regenerated.
8701 * config.make.in (enable-check-abi): Remove.
8702
87032012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8704
8705 [BZ #14033]
8706 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8707 double functions to double *_finite functions.
8708
8709 [BZ #13941]
8710 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8711 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8712 LDBL_MIN_EXP.
8713 * stdio-common/Makefile (tests): Add tst-sprintf3.
8714 * stdio-common/tst-sprintf3.c: New file.
8715
8716 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8717 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8718
87192012-04-28 Joseph Myers <joseph@codesourcery.com>
8720
8721 * conform/conformtest.pl: Remove duplicate typed-constant
8722 handling.
8723
87242012-04-28 David S. Miller <davem@davemloft.net>
8725
8726 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8727 (check-abi-%): Remove AWK script prerequisite and explicit
8728 abilist directory.
8729 (check-abi): Rewrite to just diff the symlist with the abilist.
8730 (config-tls, config-abi-config): Delete, no longer used.
8731 (update-abi-%): Remove AWK script and explicit abilist directory.
8732 (update-abi): Rewrite to simply compare and conditionally copy the
8733 symlist and the sysdep abilist file. Remove update-abi-config
8734 checks.
8735 * abilist/ld.abilist: Remove.
8736 * abilist/libBrokenLocale.abilist: Remove.
8737 * abilist/libanl.abilist: Remove.
8738 * abilist/libcrypt.abilist: Remove.
8739 * abilist/libdl.abilist: Remove.
8740 * abilist/librt.abilist: Remove.
8741 * abilist/libthread_db.abilist: Remove.
8742 * abilist/libutil.abilist: Remove.
8743 * scripts/extract-abilist.awk: Remove.
8744 * scripts/merge-abilist.awk: Remove.
8745 * sysdeps/generic/libcidn.abilist: New file.
8746 * sysdeps/generic/libnss_compat.abilist: New file.
8747 * sysdeps/generic/libnss_db.abilist: New file.
8748 * sysdeps/generic/libnss_dns.abilist: New file.
8749 * sysdeps/generic/libnss_files.abilist: New file.
8750 * sysdeps/generic/libnss_hesiod.abilist: New file.
8751 * sysdeps/generic/libnss_nis.abilist: New file.
8752 * sysdeps/generic/libnss_nisplus.abilist: New file.
8753 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8754 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8755 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8756 file.
8757 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8758 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8759 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8760 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8761 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8762 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8763 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8764 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8765 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8766 file.
8767 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8768 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8769 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8770 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8771 file.
8772 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8773 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8774 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8775 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8776 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8777 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8778 file.
8779 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8780 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8781 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8782 file.
8783 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8785 New file.
8786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8787 New file.
8788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8789 New file.
8790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8791 New file.
8792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8793 New file.
8794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8795 New file.
8796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8797 New file.
8798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8799 New file.
8800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8801 New file.
8802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8803 New file.
8804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8805 New file.
8806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8807 New file.
8808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8809 New file.
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8811 file.
8812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8813 New file.
8814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8815 New file.
8816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8817 file.
8818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8819 New file.
8820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8821 New file.
8822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8823 file.
8824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8825 New file.
8826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8827 New file.
8828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8829 New file.
8830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8831 New file.
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8833 New file.
8834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8835 New file.
8836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8838 file.
8839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8840 New file.
8841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8842 file.
8843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8844 file.
8845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8846 file.
8847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8848 file.
8849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8850 file.
8851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8852 New file.
8853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8854 file.
8855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8856 file.
8857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8858 New file.
8859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8860 file.
8861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8863 file.
8864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8865 New file.
8866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8867 file.
8868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8869 file.
8870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8871 file.
8872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8873 file.
8874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8875 file.
8876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8877 New file.
8878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8879 file.
8880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8881 file.
8882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8883 New file.
8884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8885 file.
8886 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8887 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8888 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8889 file.
8890 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8891 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8892 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8893 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8894 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8895 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8896 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8897 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8898 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8899 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8902 file.
8903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8904 New file.
8905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8906 file.
8907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8908 file.
8909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8910 file.
8911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8912 file.
8913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8914 file.
8915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8916 New file.
8917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8918 New file.
8919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8920 file.
8921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8922 New file.
8923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8924 file.
8925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8927 file.
8928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8929 New file.
8930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8931 file.
8932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8933 file.
8934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8935 file.
8936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8937 file.
8938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8939 file.
8940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8941 New file.
8942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8943 New file.
8944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8945 file.
8946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8947 New file.
8948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8949 file.
8950
89512012-04-28 Joseph Myers <joseph@codesourcery.com>
8952
8953 * conform/conformtest.pl: Fix typo in handling typed-constant from
8954 allow-header.
8955
89562012-04-27 Joseph Myers <joseph@codesourcery.com>
8957
8958 * README: Cut down references to pre-2.6 Linux kernels and
8959 Linuxthreads. Update lists of configurations in libc and ports
8960 and sort alphabetically. Say "or newer" with Linux kernel version
8961 requirements.
8962
8963 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8964
89652012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8966
8967 [BZ #887]
8968 * math/libm-test.inc (logb_test_downward): New test to expose
8969 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8970 rounding mode.
8971
89722012-04-27 Joseph Myers <joseph@codesourcery.com>
8973
8974 [BZ #14027]
8975 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8976 to be done.
8977 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8978 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8979
89802012-04-26 Joseph Myers <joseph@codesourcery.com>
8981
8982 * sysdeps/unix/i386/brk.S: Remove file.
8983 * sysdeps/unix/i386/dl-brk.S: Likewise.
8984 * sysdeps/unix/i386/pipe.S: Likewise.
8985 * sysdeps/unix/i386/sigreturn.S: Likewise.
8986 * sysdeps/unix/i386/syscall.S: Likewise.
8987 * sysdeps/unix/i386/vfork.S: Likewise.
8988 * sysdeps/unix/i386/wait.S: Likewise.
8989
8990 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8991 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8992
8993 * configure.in (arm*-none*): Do not allow without
8994 --enable-hacker-mode.
8995 (netbsd*): Remove case setting base_os.
8996 (386bsd*): Likewise.
8997 (freebsd*): Likewise.
8998 (bsdi*): Likewise.
8999 (osf*): Likewise.
9000 (sunos*): Likewise.
9001 (ultrix*): Likewise.
9002 (newsos*): Likewise.
9003 (dynix*): Likewise.
9004 (*bsd*): Likewise.
9005 (sysv*): Likewise.
9006 (isc*): Likewise.
9007 (esix*): Likewise.
9008 (sco*): Likewise.
9009 (minix*): Likewise.
9010 (irix4*): Likewise.
9011 (irix6*): Likewise.
9012 (solaris[2-9]*): Likewise.
9013 (none): Likewise.
9014 * configure: Regenerated.
9015
90162012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9017
9018 [BZ #11521]
9019 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9020 overflow or cancellation in calculating denominator.
9021 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9022 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9023 down expression to avoid unexpected rounding in newer GCCs.
9024 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9025
90262012-04-26 David S. Miller <davem@davemloft.net>
9027
9028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9029 long-double compat symbols.
9030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9043
90442012-04-25 David S. Miller <davem@davemloft.net>
9045
9046 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9047 HWCAP_* values only after the memory barriers have been defined.
9048 (atomic_full_barrier): Define.
9049 (atomic_read_barrier): Define.
9050 (atomic_write_barrier): Define.
9051
90522012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9053
9054 * shlib-versions: Add libgcc_s version information.
9055 * sysdeps/generic/libgcc_s.h: Remove.
9056 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9057 libgcc_s.h.
9058 * sysdeps/gnu/unwind-resume.c: Likewise.
9059 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9060
90612012-04-25 David S. Miller <davem@davemloft.net>
9062
9063 * sysdeps/unix/sparc/brk.S: Delete.
9064 * sysdeps/unix/sparc/dl-brk.S: Delete.
9065 * sysdeps/unix/sparc/pipe.S: Delete.
9066 * sysdeps/unix/sparc/sysdep.S: Delete.
9067 * sysdeps/unix/sparc/sysdep.h: Delete.
9068 * sysdeps/unix/sparc/vfork.S: Delete.
9069 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9070 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9071 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9072 ret_ERRVAL, r0, r1, MOVE): Define.
9073 (JUMPTARGET): Remove.
9074 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9075 sysdeps/unix/sparc/sysdep.h
9076 (ENTRY, END): Remove.
9077 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9078
90792012-04-25 Joseph Myers <joseph@codesourcery.com>
9080
9081 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9082 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9083 -DIS_IN_build.
9084
9085 * timezone/README: Update upstream location and email address for
9086 tzcode and tzdata.
9087 * timezone/zdump.c: Update from tzcode 2012b.
9088 * timezone/zic.c: Likewise.
9089
9090 * configure.in (libc_cv_as_needed): Remove test.
9091 * configure: Regenerated.
9092 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9093 conditional definition.
9094 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9095 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9096 * config.make.in (have-as-needed): Remove variable.
9097
90982012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9099 Paul Pluzhnikov <ppluzhnikov@google.com>
9100
9101 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9102 strings correctly.
9103
91042012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9105
9106 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9107 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9108 * sysdeps/sh/strlen.S: Likewise.
9109
91102012-04-24 Joseph Myers <joseph@codesourcery.com>
9111
9112 * sysdeps/unix/fork.S: Remove file.
9113 * sysdeps/unix/i386/fork.S: Likewise.
9114 * sysdeps/unix/sparc/fork.S: Likewise.
9115
9116 * sysdeps/unix/system.c: Remove file.
9117 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9118
9119 * sysdeps/unix/getegid.S: Remove file.
9120 * sysdeps/unix/geteuid.S: Likewise.
9121
91222012-04-24 Roland McGrath <roland@hack.frob.com>
9123
9124 * scripts/check-localplt.awk: New file.
9125 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9126 of diff.
9127 * scripts/data/localplt-generic.data: Add a comment.
9128
9129 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9130 NODE when __dir_mkfile failed.
9131 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9132 Reported by Ludovic Courtès <ludo@gnu.org>.
9133
91342012-04-24 Andreas Jaeger <aj@suse.de>
9135
9136 * Makerules (common-clean): Also remove gen-as-const-headers
9137 files.
9138
91392012-04-24 Joseph Myers <joseph@codesourcery.com>
9140
9141 * Makerules (native-compile): Do not change working directory for
9142 build. Use $(OUTPUT_OPTION) in command.
9143 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9144
91452012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9146
9147 [BZ #13886]
9148 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9149 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9150 * math/libm-test.inc (floor_test): Add more tests.
9151 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9152
91532012-04-24 Joseph Myers <joseph@codesourcery.com>
9154
9155 * sysdeps/unix/getdents.c: Remove file.
9156 * sysdeps/unix/sysv/getdents.c: Likewise.
9157 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9158
9159 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9160 sysdeps/unix/mman/syscalls.list.
9161 (mmap): Likewise.
9162 (mprotect): Likewise.
9163 (msync): Likewise.
9164 (munmap): Likewise.
9165 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9166 * sysdeps/unix/mman/syscalls.list: Remove.
9167 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9168
9169 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9170 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9171 * configure: Regenerated.
9172 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9173 $(libgcc_s_suffix).
9174 * config.make.in (libgcc_s_suffix): Remove variable.
9175
91762012-04-23 Joseph Myers <joseph@codesourcery.com>
9177
9178 * sysdeps/unix/sysv/gethostname.c: Move to ...
9179 * sysdeps/posix/gethostname.c: ... here.
9180
9181 * sysdeps/unix/execve.S: Remove file.
9182
9183 * sysdeps/unix/_exit.S: Remove file.
9184
91852012-04-23 Andreas Jaeger <aj@suse.de>
9186
9187 [BZ #13739]
9188 * manual/Makefile: Remove make dist support, there's no
9189 need for a stand-alone documentation tar ball.
9190 (TEXI2DVI): Define always, it's not in Makeconfig.
9191 (dist): Removed.
9192 (tar-it): Removed.
9193 (edition): Removed.
9194 (glibc-doc-$(edition).tar): Removed
9195 (%.Z): Removed.
9196 (%.gz): Removed.
9197 (%.uu): Removed.
9198 (ETAGS): Remove, it's in Makeconfig.
9199 (move-if-change): Remove, it's in Makeconfig.
9200
92012013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9202
9203 [BZ #13970]
9204 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9205 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9206 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9207 (strtod_l, strtof_l, strtold_l): Remove __wur.
9208 It is not necessarily an error to ignore strtol's return value.
9209 One can reliably look at the stored endptr to decide whether
9210 the number had valid syntax.
9211
92122012-04-21 Andreas Jaeger <aj@suse.de>
9213
9214 [BZ #13739]
9215 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9216
92172012-04-21 Joseph Myers <joseph@codesourcery.com>
9218
9219 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9220 * sysdeps/unix/sysv/Versions: Remove file.
9221
92222012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9223
9224 [BZ #13927]
9225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9226
92272012-04-21 Nick Alcock <nick.alcock@oracle.com>
9228
9229 [BZ #7064]
9230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9231 version from __vm86.
9232
92332012-04-20 Joseph Myers <joseph@codesourcery.com>
9234
9235 * sysdeps/unix/common/lxstat.c: Remove file.
9236 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9237
9238 * sysdeps/unix/sysv/Makefile: Remove file.
9239
9240 * sysdeps/unix/sysv/direct.h: Remove file.
9241
9242 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9243 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9244 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9245 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9246 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9247 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9248 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9249
9250 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9251
9252 * sysdeps/unix/xmknod.c: Remove file.
9253 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9254
9255 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9256
9257 * sysdeps/unix/sysv/i386/time.S: Remove file.
9258
9259 * sysdeps/unix/fxstat.c: Remove file.
9260 * sysdeps/unix/xstat.c: Likewise.
9261 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9262
9263 * sysdeps/unix/sysv/sigaction.c: Remove file.
9264
9265 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9266 (sysdep_headers): Remove variable.
9267 [termio.h not in sysdep_headers] (generated): Likewise.
9268 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9269 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9270 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9271 * sysdeps/unix/sysv/tcflow.c: Likewise.
9272 * sysdeps/unix/sysv/tcflush.c: Likewise.
9273 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9274 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9275 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9276 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9277 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9278
9279 * sysdeps/unix/siglist.c: Remove file.
9280
9281 * sysdeps/unix/getppid.S: Remove file.
9282
9283 * sysdeps/unix/mkdir.c: Remove file.
9284 * sysdeps/unix/rmdir.c: Likewise.
9285
92862012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9287
9288 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9289 ERR_MAX value.
9290 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9291 errlist-compat value.
9292
92932012-04-18 David S. Miller <davem@davemloft.net>
9294
9295 * sysdeps/generic/memcopy.h (reg_char): Delete.
9296 * debug/strcat_chk.c: Use char, not reg_char.
9297 * debug/strcpy_chk.c: Likewise.
9298 * debug/strncat_chk.c: Likewise.
9299 * debug/strncpy_chk.c: Likewise.
9300 * string/memchr.c: Likewise.
9301 * string/memrchr.c: Likewise.
9302 * string/rawmemchr.c: Likewise.
9303 * string/strcat.c: Likewise.
9304 * string/strchr.c: Likewise.
9305 * string/strchrnul.c: Likewise.
9306 * string/strcmp.c: Likewise.
9307 * string/strcpy.c: Likewise.
9308 * string/strncat.c: Likewise.
9309 * string/strncmp.c: Likewise.
9310 * string/strncpy.c: Likewise.
9311
93122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9313
9314 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9315 __builtin_memcopy is called when src and dest ranges are known to not
9316 overlap.
9317
93182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9319
9320 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9321 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9322 fwd_align_merge macro call.
9323 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9324 bwd_align_merge macro call.
9325 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9326
93272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9328
9329 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9330 bwd_align_merge macros.
9331 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9332 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9333 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9334
93352012-04-18 David S. Miller <davem@davemloft.net>
9336
9337 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9338
93392012-04-18 Andreas Jaeger <aj@suse.de>
9340
9341 [BZ# 6794]
9342 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9343 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9344 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9345
9346 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9347 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9348 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9349
9350 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9351 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9352 Adjust for changed ldbl-128 files.
9353
9354 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9355 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9356 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9357
93582012-04-17 David S. Miller <davem@davemloft.net>
9359
9360 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9361
93622012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9363
9364 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9365 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9366 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9367 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9368 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9369 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9370
93712012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9372
9373 [BZ #6794]
9374 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9375 * math/libm-test.inc: Add ilogb errno and exception tests.
9376 * math/w_ilogb.c: New file: ilogb wrapper.
9377 * math/w_ilogbf.c: New file: ilogbf wrapper.
9378 * math/w_ilogbl.c: New file: ilogbl wrapper.
9379 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9380 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9381 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9382 exception being thrown with 0.0 as argument.
9383 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9384 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9385 exception being thrown with 0.0 as argument.
9386 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9387 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9388 exception being thrown with 0.0 as argument.
9389 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9390 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9391 exception being thrown with 0.0 as argument.
9392 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9393 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
9394 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
9395 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9396 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9397 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9398 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9399 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9400 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9401
94022012-04-17 Petr Baudis <pasky@ucw.cz>
9403
9404 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9405 with altivec.
9406
94072012-04-16 Marek Polacek <polacek@redhat.com>
9408
9409 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9410
94112012-04-16 Marek Polacek <polacek@redhat.com>
9412
9413 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9414 operands of fdivp instruction.
9415
94162012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9417
9418 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9419 * elf/tst-auditmod3b.c: Likewise.
9420 * elf/tst-auditmod4b.c: Likewise.
9421 * elf/tst-auditmod5b.c: Likewise.
9422 * elf/tst-auditmod6b.c: Likewise.
9423 * elf/tst-auditmod6c.c: Likewise.
9424 * elf/tst-auditmod7b.c: Likewise.
9425 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9426 * sysdeps/x86_64/preconfigure.in: Likewise.
9427 * sysdeps/x86_64/preconfigure: Regenerated.
9428
94292012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9430
9431 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9432 __ILP32__.
9433
94342012-04-13 Antoine Balestrat <merkil33@gmail.com>
9435
9436 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9437 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9438
94392012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9440
9441 [BZ #13973]
9442 * locale/iso-639.def: Fix gl language name. Spotted by
9443 Yaron Shahrabani.
9444
94452012-04-12 Roland McGrath <roland@hack.frob.com>
9446
9447 [BZ #2074]
9448 * libio/libio.h (__io_write_fn): Update comment.
9449
94502012-04-12 Petr Baudis <pasky@ucw.cz>
9451
9452 [BZ #2074]
9453 * stdio.texi (Hook Functions): The user provided writer function
9454 is not allowed to return -1.
9455
94562012-04-11 David S. Miller <davem@davemloft.net>
9457
9458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9459
94602012-04-11 Mike Frysinger <vapier@gentoo.org>
9461
9462 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9463 Add a leading slash to rtkaio.
9464
94652012-04-11 Jim Meyering <meyering@redhat.com>
9466
9467 [BZ #11959]
9468 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9469 It is not necessarily an error to ignore fwrite's return
9470 value. One can reliably use ferror to test for errors after
9471 the fact.
9472
94732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9474
9475 * bits/types.h (__snseconds_t): New type.
9476 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9477
9478 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9479 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9480 (__SNSECONDS_T_TYPE): Likewise.
9481 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9482 (__SNSECONDS_T_TYPE): Likewise.
9483 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9484 (__SNSECONDS_T_TYPE): Likewise.
9485
94862012-04-10 Andreas Jaeger <aj@suse.de>
9487
9488 [BZ #2636]
9489 * manual/time.texi (Processor Time): Return type of times is
9490 elapsed real time since an arbitrary point in the past.
9491 (CPU Time): Move CLK_TCK from here...
9492 (Processor Time): ...to here. Correct description.
9493 * manual/conf.texi (Constants for Sysconf): Correct description of
9494 _SC_CLK_TCK.
9495
94962012-04-10 David S. Miller <davem@davemloft.net>
9497
9498 [BZ #13967]
9499 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9500 where the is a gap between DT_REL(A) and DT_JMPREL.
9501
95022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9503
9504 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9505 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9506 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9507
95082012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9509
9510 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9511 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9512 (dl_main): Handle --inhibit-cache.
9513 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9514 _dl_inhibit_cache.
9515 * elf/dl-load.c (_dl_map_object): Use it.
9516 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9517
95182012-04-09 Joseph Myers <joseph@codesourcery.com>
9519
9520 [BZ #13872]
9521 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9522 (__ieee754_powl): Saturate large exponents rather than testing for
9523 overflow of y*log2(x).
9524 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9525 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9526 exceptions.
9527
9528 [BZ #11521]
9529 * math/s_ctan.c: Include <float.h>.
9530 (__ctan): Avoid internal overflow or cancellation in calculating
9531 denominator.
9532 * math/s_ctanf.c: Likewise.
9533 * math/s_ctanl.c: Likewise.
9534 * math/s_ctanh.c: Likewise.
9535 * math/s_ctanhf.c: Likewise.
9536 * math/s_ctanhl.c: Likewise.
9537 * math/libm-test.inc (ctan_test): Add more tests.
9538 (ctanh_test): Likewise.
9539 * sysdeps/i386/fpu/libm-test-ulps: Update.
9540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9541
95422012-04-09 Andreas Jaeger <aj@suse.de>
9543
9544 [BZ #6894]
9545 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9546 is an optional BSD extension.
9547
9548 [BZ #10254]
9549 * manual/stdio.texi (Opening Streams): Document additional fopen
9550 parameters.
9551
95522012-04-09 Roland McGrath <roland@hack.frob.com>
9553
9554 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9555 %eax without telling the compiler.
9556
95572012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9558
9559 [BZ # 13963]
9560 * manual/install.texi: Use sourceware.org.
9561
95622012-04-09 Joseph Myers <joseph@codesourcery.com>
9563
9564 [BZ #13873]
9565 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9566 (__ieee754_pow): Generate overflow and underflow using huge*huge
9567 and tiny*tiny rather than just returning constant infinity or zero
9568 for large exponents.
9569 * math/libm-test.inc (pow_test): Require overflow exceptions for
9570 applicable cases of large exponents.
9571
9572 [BZ #706]
9573 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9574 (__ieee754_pow): Use iterative multiplication algorithm only for
9575 integer exponents with absolute value below 1024. Check for odd
9576 integer exponents when using algorithm for real exponents.
9577 * math/libm-test.inc (pow_test): Add more tests.
9578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9579
95802012-04-08 Joseph Myers <joseph@codesourcery.com>
9581
9582 [BZ #13705]
9583 * math/libm-test.inc (exp_test): Do not allow overflow exception
9584 on underflow test.
9585
95862012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9587
9588 [BZ #13705]
9589 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9590 instead of __kernel_standard_f.
9591
95922012-04-08 Mike Frysinger <vapier@gentoo.org>
9593
9594 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9595 * sysdeps/x86_64/memset_chk.S: Likewise.
9596
95972012-04-08 Andreas Jaeger <aj@suse.de>
9598
9599 [BZ #10153]
9600 * manual/startup.texi (Environment Access): Describe return value
9601 for putenv and setenv.
9602
9603 [BZ #6895]
9604 * manual/filesys.texi (Directory Entries): Add description for
9605 DT_LNK.
9606
9607 [BZ #6890]
9608 * manual/filesys.texi (Directory Entries): Clarify that it's file
9609 system not operating system in the description of DT_UNKNOWN.
9610
9611 [BZ #6578]
9612 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9613
96142012-04-08 Stephen Compall <s11@member.fsf.org>
9615
9616 [BZ #6649]
9617 * manual/llio.texi (Opening and Closing Files): Add cross
9618 reference to explain mode argument.
9619
96202012-04-07 Mike Frysinger <vapier@gentoo.org>
9621
9622 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9623 * sysdeps/x86_64/memset_chk.S: Likewise.
9624
96252012-04-07 David S. Miller <davem@davemloft.net>
9626
9627 * elf/elf.h (R_SPARC_WDISP10): Define.
9628 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9629 R_SPARC_SIZE32.
9630 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9631 R_SPARC_SIZE64 and R_SPARC_H34.
9632
96332012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9634
9635 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9636 conditions and remove no longer applicable assertion.
9637
96382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9639
9640 * bits/byteswap.h: Include <features.h>.
9641 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9642 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9643
96442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9645
9646 * bits/byteswap.h (__bswap_16): Removed.
9647 Include <bits/byteswap-16.h> to get __bswap_16.
9648 * sysdeps/i386/bits/byteswap.h: Likewise.
9649 * sysdeps/s390/bits/byteswap.h: Likewise.
9650 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9651 * bits/byteswap-16.h: New file.
9652 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9653 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9654 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9655 * string/Makefile (headers): Add bits/byteswap-16.h.
9656
96572012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9658
9659 [BZ #13895]
9660 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9661 extra indirection.
9662 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9663 * nss/tst-nss-static.c: New.
9664
96652012-04-06 Robert Millan <rmh@gnu.org>
9666
9667 [BZ #6486]
9668 * manual/llio.texi (File Position Primitive): lseek
9669 refers to WHENCE when it really means OFFSET.
9670
96712012-04-06 Andreas Jaeger <aj@suse.de>
9672
9673 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9674 strncmp declarations.
9675
9676 * abilist/libc.abilist: Add __poll and __ppoll.
9677
96782012-04-05 David S. Miller <davem@davemloft.net>
9679
9680 * scripts/check-local-headers.sh: Accept a host triplet in the
9681 path matched by the exclude regexp.
9682
9683 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9684 definition.
9685 * sysdeps/powerpc/powerpc32/dl-machine.h
9686 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9687 * sysdeps/s390/s390-32/dl-machine.h
9688 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9689 * sysdeps/sparc/sparc32/dl-machine.h
9690 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9691 * sysdeps/sparc/sparc64/dl-machine.h
9692 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9693
9694 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9695 lazy binding.
9696 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9697 undefined symbol errors.
9698
9699 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9700 DT_NEEDED entries.
9701
97022012-04-05 Michael Matz <matz@suse.de>
9703
9704 [BZ #13592]
9705 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9706
97072012-04-05 Andreas Jaeger <aj@suse.de>
9708
9709 [BZ #13908]
9710 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9711 comment.
9712
97132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9714
9715 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9716 which ROUND is no valid rounding mode.
9717
97182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9719
9720 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9721 read again.
9722 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9723
97242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9725
9726 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9727 an exception using FPU order intentionally.
9728
97292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9730
9731 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9732 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9733 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9734 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9735
97362012-04-05 Simon Josefsson <simon@josefsson.org>
9737
9738 [BZ #12340]
9739 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9740 EINVAL when BUFLEN is too smal.
9741
97422012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9743
9744 [BZ #13553]
9745 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9746 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9747
97482012-04-03 Andreas Jaeger <aj@suse.de>
9749
9750 [BZ #13938]
9751 * manual/setjmp.texi (System V contexts): Fix sentence.
9752
9753 [BZ #13926]
9754 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9755 New macro for this case.
9756 [!__GNUC__] (__bswap_64): New inline function for this case.
9757 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9758 * bits/byteswap.h: Likewise.
9759 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9760 ull, guard with __GLIBC_HAVE_LONG_LONG.
9761
9762 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9763 __GLIBC_HAVE_LONG_LONG.
9764
9765 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9766 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9767
97682012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9769
9770 [BZ #13691]
9771 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9772 inptr and inend, rather than using last_ch.
9773
97742012-04-02 David S. Miller <davem@davemloft.net>
9775
9776 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9777 * stdio-common/printf-parse.h (read_int): Change return type to
9778 'int', return -1 on INT_MAX overflow.
9779 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9780 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9781 overflows INT_MAX. Check for overflow of in-format-string precision
9782 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9783 SIZE_MAX not INT_MAX for integer overflow test.
9784 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9785 skip the construct in the format string but do not record anything.
9786 * stdio-common/bug22.c: Adjust to test both width/prevision
9787 INT_MAX overflow as well as total length INT_MAX overflow. Check
9788 explicitly for proper errno values.
9789
97902012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9791
9792 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9793 CHAR_MAX.
9794 * string/test-strcmp.c [! WIDE]: Likewise.
9795 * time/tst-mktime2.c: Likewise for INT_MAX.
9796 * string/test-string.h: #include <sys/param.h> for MIN.
9797
9798 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9799 * sysdeps/i386/init-first.c (init): Likewise.
9800 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9801 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9802 * sysdeps/sh/init-first.c (init): Likewise.
9803
98042012-04-01 Ulrich Drepper <drepper@gmail.com>
9805
9806 * po/ru.po: Update from translation team.
9807 * po/vi.po: Likewise.
9808
98092012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9810
9811 * resolv/nss_dns/dns-host.c: Merge copyright years.
9812
98132012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9814
9815 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9816 Optimize memcpy with prefetch if
9817 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9818 src, dst pointers have unequal 16 byte alignments.
9819
98202012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9821
9822 [BZ #13928]
9823 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9824 from a CNAME entry and return the minimum ttl for the query.
9825 (gaih_getanswer_slice): Likewise.
9826
98272012-03-30 Jeff Law <law@redhat.com>
9828
9829 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9830 due to long keys.
9831 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9832 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9833
9834 * resolv/nss_dns/dns-host.c: Update copyright year.
9835
98362012-03-30 Ulrich Drepper <drepper@gmail.com>
9837
9838 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9839 requests to save a system call. Fix check that all bytes are sent.
9840
9841 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9842 comments for sendmmsg.
9843
98442012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9845
9846 [BZ #13691]
9847 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9848 with only 1 character between 0x0041 and 0x01b0.
9849 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9850 * wcsmbs/tst-mbsnrtowcs.c: New file.
9851
98522012-03-29 David S. Miller <davem@davemloft.net>
9853
9854 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9855 small copies by hand.
9856
98572012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9858
9859 [BZ #13761]
9860 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9861 _nss_compat_initgroups_dyn): Fall back to malloc/free
9862 for large group memberships.
9863
98642012-03-28 David S. Miller <davem@davemloft.net>
9865
9866 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9867 that branches into memcpy.
9868 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9869 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9870 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9871 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9872 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9873 bits.
9874 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9875 implementation too.
9876 * sysdeps/sparc/mempcpy.S: New file.
9877
9878 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9879 the IFUNC routine in the libc case.
9880 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9881
9882 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9883 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9884 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9885 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9886 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9887 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9888 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9889 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9890
9891 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9892 loop to 256 bytes instead of 64 bytes and fix test signedness.
9893
9894 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9895 * sysdeps/sparc/sparc32/Makefile: rather than here...
9896 * sysdeps/sparc/sparc64/Makefile: and here.
9897
98982012-03-28 Ulrich Drepper <drepper@gmail.com>
9899
9900 * malloc/mallocbug.c: Avoid warnings about unused variables.
9901
99022012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9903
9904 [BZ #13760]
9905 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9906 in the right place. Discard and retry query if response is
9907 larger than input buffer size.
9908
99092012-03-28 Joseph Myers <joseph@codesourcery.com>
9910
9911 [BZ #369]
9912 [BZ #2678]
9913 [BZ #3866]
9914 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9915 x for large integer exponent.
9916 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9917 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9918 sign of result as needed afterwards.
9919 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9920 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9921 result for underflowing pow the same as for overflow.
9922 (__kernel_standard_l): Handle powl overflow and underflow here
9923 rather than calling __kernel_standard.
9924 * math/libm-test.inc (pow_test): Add more tests.
9925
9926 [BZ #3868]
9927 [BZ #13879]
9928 [BZ #13910]
9929 [BZ #13911]
9930 [BZ #13912]
9931 [BZ #13913]
9932 [BZ #13915]
9933 [BZ #13916]
9934 [BZ #13917]
9935 [BZ #13918]
9936 [BZ #13919]
9937 [BZ #13920]
9938 [BZ #13921]
9939 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9940 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9941 (__kernel_standard_l): New function.
9942 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9943 __kernel_standard.
9944 * math/w_acosl.c (__acosl): Likewise.
9945 * math/w_asinl.c (__asinl): Likewise.
9946 * math/w_atan2l.c (__atan2l): Likewise.
9947 * math/w_atanhl.c (__atanhl): Likewise.
9948 * math/w_coshl.c (__coshl): Likewise.
9949 * math/w_exp10l.c (__exp10l): Likewise.
9950 * math/w_exp2l.c (__exp2l): Likewise.
9951 * math/w_fmodl.c (__fmodl): Likewise.
9952 * math/w_hypotl.c (__hypotl): Likewise.
9953 * math/w_j0l.c (__j0l, __y0l): Likewise.
9954 * math/w_j1l.c (__j1l, __y1l): Likewise.
9955 * math/w_jnl.c (__jnl, __ynl): Likewise.
9956 * math/w_lgammal.c (__lgammal): Likewise.
9957 * math/w_log10l.c (__log10l): Likewise.
9958 * math/w_log2l.c (__log2l): Likewise.
9959 * math/w_logl.c (__logl): Likewise.
9960 * math/w_powl.c (__powl): Likewise.
9961 * math/w_remainderl.c (__remainderl): Likewise.
9962 * math/w_scalbl.c (sysv_scalbl): Likewise.
9963 * math/w_sinhl.c (__sinhl): Likewise.
9964 * math/w_sqrtl.c (__sqrtl): Likewise.
9965 * math/w_tgammal.c (__tgammal): Likewise.
9966 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9967 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9968 * math/libm-test.inc (acos_test): Add more tests.
9969 (acosh_test): Likewise.
9970 (asin_test): Likewise.
9971 (atanh_test): Likewise.
9972 (exp_test): Likewise.
9973 (exp10_test): Likewise.
9974 (exp2_test): Likewise.
9975 (expm1_test): Likewise.
9976 (lgamma_test): Likewise.
9977 (log_test): Likewise.
9978 (log10_test): Likewise.
9979 (log1p_test): Likewise.
9980 (log2_test): Likewise.
9981 (pow_test): Do not allow some spurious overflow exceptions.
9982 (sqrt_test): Add more tests.
9983 (tgamma_test): Likewise.
9984 (y0_test): Likewise.
9985 (y1_test): Likewise.
9986 (yn_test): Likewise.
9987
99882012-03-27 Anton Blanchard <anton@samba.org>
9989
9990 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9991 MAP_HUGETLB.
9992 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9993 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9994 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9995
99962012-03-27 David S. Miller <davem@davemloft.net>
9997
9998 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9999
10000 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10001 have-as-vis3 check.
10002
100032012-03-27 Andreas Jaeger <aj@suse.de>
10004
10005 * sysdeps/x86_64/elf/configure.in: Moved to ...
10006 * sysdeps/x86_64/configure.in: ... here.
10007 * sysdeps/x86_64/elf/start.S: Moved to ...
10008 * sysdeps/x86_64/start.S: ... here.
10009 * sysdeps/x86_64/elf/configure: Delete.
10010
10011 * sysdeps/x86_64/configure.in: Merge contents from
10012 sysdeps/i386/configure.in (without i686 check).
10013
10014 * sysdeps/i386/elf/Versions: Merge into ...
10015 * sysdeps/i386/Versions: ... this.
10016 * sysdeps/i386/elf/Versions: Delete file.
10017 * sysdeps/i386/elf/start.S: Moved to ...
10018 * sysdeps/i386/start.S: ...here.
10019 * sysdeps/i386/elf/configure.in: Merge into...
10020 * sysdeps/i386/configure.in: ...here.
10021 * sysdeps/i386/elf/configure.in: Delete file.
10022 * sysdeps/i386/elf/configure: Delete file.
10023
10024 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10025 * debug/backtracesyms.c: ... here.
10026 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10027 * debug/backtracesymsfd.c: ... here.
10028 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10029 * sysdeps/generic/ifunc-sel.h: ... here.
10030
10031 * sysdeps/unix/i386/start.c: Delete file.
10032 * sysdeps/unix/sparc/start.c: Delete file.
10033 * sysdeps/unix/start.c: Delete file.
10034
10035 * sysdeps/sh/elf/configure.in: Moved to ...
10036 * sysdeps/sh/configure.in: ... here.
10037 * sysdeps/sh/elf/start.S: Moved to ...
10038 * sysdeps/sh/start.S: ... here.
10039 * sysdeps/sh/elf/configure: Delete file.
10040
10041 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10042 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10043 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10044 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10045 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10046 * sysdeps/powerpc/powerpc64/start.S: here.
10047 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10048 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10049 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10050 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10051 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10052
10053 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10054 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10055 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10056 * sysdeps/powerpc/powerpc32/start.S: ... here.
10057 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10058 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10059 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10060
10061 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10062 * sysdeps/powerpc/ifunc-sel.h: ... here.
10063 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10064 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10065
10066 * sysdeps/sparc/elf/configure.in: Moved to ...
10067 * sysdeps/sparc/configure.in: ... here.
10068 * sysdeps/sparc/elf/configure: Delete file.
10069 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10070 * sysdeps/sparc/sparc32/start.S: ... here.
10071 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10072 * sysdeps/sparc/sparc64/start.S: ... here.
10073 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10074 * sysdeps/sparc/sparc32/Makefile: ... this.
10075 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10076 * sysdeps/sparc/sparc64/Makefile: ... this.
10077
10078 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10079 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10080 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10081 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10082 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10083 * sysdeps/s390/s390-32/setjmp.S: ... here.
10084 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10085 * sysdeps/s390/s390-32/configure.in: ... here.
10086 * sysdeps/s390/s390-32/elf/configure: Delete file.
10087 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10088 * sysdeps/s390/s390-32/start.S: ... here.
10089
10090 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10091 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10092 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10093 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10094 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10095 * sysdeps/s390/s390-64/setjmp.S: ... here.
10096 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10097 * sysdeps/s390/s390-64/configure.in: ... here
10098 * sysdeps/s390/s390-64/elf/configure: Delete file.
10099 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10100 * sysdeps/s390/s390-64/start.S: ... here.
10101 * sysdeps/s390/s390-64/elf/configure: Delete.
10102
10103 * configure.in: Remove support for elf directories in sysdeps.
10104
10105 * configure: Regenerated.
10106 * sysdeps/i386/configure: Regenerated.
10107 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10108 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10109 * sysdeps/s390/s390-32/configure: Regenerated.
10110 * sysdeps/s390/s390-64/configure: Regenerated.
10111 * sysdeps/sh/configure: Regenerated.
10112 * sysdeps/sparc/configure: Regenerated.
10113 * sysdeps/x86_64/configure: Regenerated.
10114
101152012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10116
10117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10118
10119 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10120 denormal result into account.
10121
101222012-03-25 Roland McGrath <roland@hack.frob.com>
10123
10124 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10125 Reported by Allan McRae <allan@archlinux.org>.
10126
101272012-03-23 Jeff Law <law@redhat.com>
10128
10129 * nss/getnssent.c (__nss_getent): Fix typo.
10130
101312012-03-23 David S. Miller <davem@davemloft.net>
10132
10133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10134
101352012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10136
10137 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10138 to pad to uint64_t for each field.
10139 (dl_tls_index): Replace unsigned long with uint64_t.
10140
101412012-03-23 Daniel Jacobowitz <dmj@google.com>
10142 Paul Pluzhnikov <ppluzhnikov@google.com>
10143
10144 [BZ #6528]
10145 * grp/Makefile (otherlibs): Don't set it.
10146 * inet/Makefile (otherlibs): Likewise.
10147 * login/Makefile (otherlibs): Likewise.
10148 * nscd/Makefile (otherlibs): Likewise.
10149 * posix/Makefile (otherlibs): Likewise.
10150 * pwd/Makefile (otherlibs): Likewise.
10151 * rt/Makefile (otherlibs): Likewise.
10152 * sunrpc/Makefile (otherlibs): Likewise.
10153 * nss/Makefile (otherlibs): Likewise.
10154 Add libnss_files to routines and static-only-routines.
10155 ($(objpfx)getent): Remove rule.
10156 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10157 static-only-routines.
10158
101592012-03-22 Joseph Myers <joseph@codesourcery.com>
10160
10161 [BZ #13892]
10162 * math/s_cexp.c: Include <float.h>.
10163 (__cexp): Handle exp result overflowing not necessarily
10164 overflowing both real and imaginary parts of result.
10165 * math/s_cexpf.c: Likewise.
10166 * math/s_cexpl.c: Likewise.
10167 * math/libm-test.inc (cexp_test): Add more tests.
10168 * sysdeps/i386/fpu/libm-test-ulps: Update.
10169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10170
101712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10172
10173 * include/link.h (ELFW): New macro.
10174 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10175 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10176
101772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10178
10179 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10180 with uint64_t.
10181
101822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10183
10184 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10185 declaration.
10186 (struct La_x32_retval): Likewise.
10187
101882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10189
10190 * sysdeps/x86_64/preconfigure.in: New file.
10191 * sysdeps/x86_64/preconfigure: New generated file.
10192
101932012-03-22 Joseph Myers <joseph@codesourcery.com>
10194
10195 [BZ #13824]
10196 * math/e_exp2l.c: Include <float.h>.
10197 (__ieee754_exp2l): Handle overflow and underflow cases
10198 separately. Only pass fractional part of argument to
10199 __ieee754_expl.
10200 * math/libm-test.inc (exp2_test): Add more tests.
10201
10202 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10203 negating x to take absolute value.
10204 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10205 Likewise.
10206 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10207 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10208 Likewise.
10209 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10210 computing low part if x was negated.
10211 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10212
102132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10214
10215 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10216 la_x32_gnu_pltexit.
10217 (pltexit): Cast int_retval to ptrdiff_t.
10218 * elf/tst-auditmod3b.c: Likewise.
10219 * elf/tst-auditmod4b.c: Likewise.
10220 * elf/tst-auditmod5b.c: Likewise.
10221 * elf/tst-auditmod6b.c: Likewise.
10222 * elf/tst-auditmod6c.c: Likewise.
10223 * elf/tst-auditmod7b.c: Likewise.
10224
10225 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10226 and x32_gnu_pltexit.
10227
10228 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10229 __ELF_NATIVE_CLASS.
10230 (La_x32_regs): New macro.
10231 (La_x32_retval): Likewise.
10232 (la_x32_gnu_pltenter): New function prototype.
10233 (la_x32_gnu_pltexit): Likewise.
10234
102352012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10236
10237 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10238 exponent.
10239
10240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10241
10242 * configure.in (libc_cv_cc_nofma): Check for option to disable
10243 generation of FMA instructions.
10244 * configure: Regenerate.
10245 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10246 * sysdeps/ieee754/dbl-64/Makefile: New file.
10247 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10248 Remove brandred-fma4.
10249 (CFLAGS-brandred-fma4.c): Remove.
10250 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10251 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10252 define.
10253 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10254 define.
10255
102562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10257
10258 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10259 LLONG_MAX != LONG_MAX.
10260 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10261 (_fitoa_word): Likewise.
10262 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10263 LLONG_MAX != LONG_MAX.
10264 * stdio-common/_itowa.h: Include <_itoa.h>.
10265 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10266 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10267 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10268 only if not defined.
10269 (_ITOA_WORD_TYPE): Likewise.
10270 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10271 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10272
102732012-03-21 David S. Miller <davem@davemloft.net>
10274
10275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10276
102772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10278
10279 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10280 of x86_64 when setting libc_cv_slibdir, libdir and
10281 libc_cv_localedir.
10282 * sysdeps/unix/sysv/linux/configure: Regenerated.
10283
102842012-03-21 Joseph Myers <joseph@codesourcery.com>
10285
10286 * manual/lang.texi (Old Varargs): Remove section.
10287 (How Variadic): Update menu.
10288 (va_start): Do not mention varargs.h.
10289
102902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10291 Joseph Myers <joseph@codesourcery.com>
10292
10293 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10294 link test.
10295 * configure: Regenerated.
10296
102972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10298
10299 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10300 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10301 conformtest.pl
10302
103032012-03-21 Joseph Myers <joseph@codesourcery.com>
10304
10305 * NOTES: Remove.
10306 * Makefile (files-for-dist): Remove NOTES.
10307 (NOTES): Remove rule.
10308 * README: Don't refer to NOTES.
10309 * manual/creature.texi: Don't include macros.texi.
10310 * manual/intro.texi (creature.texi): Remove comment referring to
10311 NOTES.
10312
10313 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10314 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10315 * configure: Regenerated.
10316 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10317 LIBC_TRY_CC_OPTION.
10318 (libc_cv_as_i686): Likewise.
10319 (libc_cv_cc_avx): Likewise.
10320 (libc_cv_cc_sse2avx): Likewise.
10321 (libc_cv_cc_fma4): Likewise.
10322 (libc_cv_cc_novzeroupper): Likewise.
10323 * sysdeps/i386/configure: Regenerated.
10324
10325 [BZ #13883]
10326 * sysdeps/i386/fpu/s_cexp.S: Remove.
10327 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10328 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10329 * math/libm-test.inc (cexp_test): Add more tests.
10330 * sysdeps/i386/fpu/libm-test-ulps: Update.
10331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10332
103332012-03-21 Allan McRae <allan@archlinux.org>
10334
10335 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10336
103372012-03-21 Joseph Myers <joseph@codesourcery.com>
10338
10339 [BZ #13871]
10340 * math/w_exp2.c: Do not include <float.h>.
10341 (o_threshold, u_threshold): Remove.
10342 (__exp2): Calculate result before checking finiteness and calling
10343 __kernel_standard.
10344 * math/w_exp2f.c: Likewise.
10345 * math/w_exp2l.c: Likewise.
10346 * math/libm-test.inc (exp2_test): Require overflow exception for
10347 1e6 input.
10348
10349 [BZ #3866]
10350 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10351 range of signed 64-bit integers before using fistpll. Remove
10352 checks for whether integers fit in mantissa bits.
10353 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10354 the range of signed 32-bit integers before using fistpl. Remove
10355 checks for whether integers fit in mantissa bits.
10356 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10357 (__ieee754_powl): Test for y outside the range of signed 64-bit
10358 integers before using fistpll. Reduce 64-bit values to 63-bit
10359 ones as needed.
10360 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10361 divide-by-zero is raised for zero to large negative powers.
10362 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10363 (__ieee754_powl): Test for y outside the range of signed 64-bit
10364 integers before using fistpll. Reduce 64-bit values to 63-bit
10365 ones as needed.
10366 * math/libm-test.inc (pow_test): Add more tests.
10367
103682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10369
10370 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10371 <stdio-common/_itoa.h>.
10372 * debug/segfault.c: Likewise.
10373 * elf/dl-cache.c: Likewise.
10374 * elf/dl-minimal.c: Likewise.
10375 * elf/dl-misc.c: Likewise.
10376 * elf/dl-sysdep.c: Likewise.
10377 * elf/dl-version.c: Likewise.
10378 * elf/rtld.c: Likewise.
10379 * hurd/hurdsock.c: Likewise.
10380 * hurd/lookup-retry.c: Likewise.
10381 * malloc/malloc.c: Likewise.
10382 * malloc/mtrace.c: Likewise.
10383 * nscd/nscd_getgr_r.c: Likewise.
10384 * nscd/nscd_getpw_r.c: Likewise.
10385 * nscd/nscd_getserv_r.c: Likewise.
10386 * posix/getopt_init.c: Likewise.
10387 * posix/wordexp.c: Likewise.
10388 * stdio-common/_itoa.c: Likewise.
10389 * stdio-common/printf_fphex.c: Likewise.
10390 * stdio-common/vfprintf.c: Likewise.
10391 * string/_strerror.c: Likewise.
10392 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10393 * sysdeps/i386/i686/hp-timing.h: Likewise.
10394 * sysdeps/mach/_strerror.c: Likewise.
10395 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10396 * sysdeps/mach/hurd/sethostid.c: Likewise.
10397 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10398 * sysdeps/mach/xpg-strerror.c: Likewise.
10399 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10400 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10401 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10402 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10403 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10404 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10405 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10406 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10407 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10408 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10409 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10410 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10411 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10412 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10413 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10414 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10415 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10416 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10417 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10418 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10419 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10420
10421 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10422
10423 * stdio-common/_itoa.h: Moved to ...
10424 * sysdeps/generic/_itoa.h: Here.
10425
10426 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10427
10428 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10429 instead of "_itoa.h" and "_itowa.h".
10430 * stdio-common/vfprintf.: Likewise.
10431
104322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10433
10434 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10435 <bits/wordsize.h>.
10436 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10437 (__signbit): Likwise.
10438 (llrintf): Likwise.
10439 (llrint): Likwise.
10440
104412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10442
10443 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10444 __WORDSIZE != 64.
10445
104462012-03-20 Joseph Myers <joseph@codesourcery.com>
10447
10448 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10449 OVERFLOW_EXCEPTION_OK.
10450 * math/libm-test.inc ("Philosophy"): Update comment about
10451 exception testing.
10452 (OVERFLOW_EXCEPTION): Define.
10453 (OVERFLOW_EXCEPTION_OK): Likewise.
10454 (INVALID_EXCEPTION_OK): Renumber.
10455 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10456 (IGNORE_ZERO_INF_SIGN): Likewise.
10457 (test_exceptions): Handle FE_OVERFLOW.
10458 (exp10_test): Expect overflow exceptions.
10459 (exp2_test): Likewise.
10460 (expm1_test): Likewise.
10461 (nextafter_test): Likewise.
10462 (pow_test): Likewise.
10463 (scalbn_test): Likewise.
10464 (scalbln_test): Likewise.
10465
104662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10467
10468 * sysdeps/x86_64/bits/atomic.h
10469 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10470 64bit integer.
10471 (atomic_exchange_acq): Likewise.
10472 (__arch_exchange_and_add_body): Likewise.
10473 (__arch_add_body): Likewise.
10474 (atomic_add_negative): Likewise.
10475 (atomic_add_zero): Likewise.
10476
104772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10478
10479 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
10480 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10481
104822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10483
10484 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10485 Check __x86_64__ instead of __WORDSIZE.
10486
104872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10488
10489 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10490
104912012-03-19 David S. Miller <davem@davemloft.net>
10492
10493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10494
10495 * sysdeps/sparc/fpu/fenv_private.h: New file.
10496 * sysdeps/sparc/fpu/math_private.h: Use it.
10497 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10498 Remove.
10499 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10500 (libc_feholdexcept_setroundl): Remove.
10501 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10502 Remove.
10503 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10504 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10505
105062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10507
10508 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10509 int64_t instead of long int.
10510 (INSERT_WORDS64): Likwise.
10511
105122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10513
10514 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10515 _Unwind_GetCFA return to _Unwind_Ptr first.
10516
105172012-03-19 Joseph Myers <joseph@codesourcery.com>
10518
10519 [BZ #13629]
10520 * math/s_clog.c: Include <float.h>.
10521 (__clog): Scale large or subnormal inputs.
10522 * math/s_clogf.c: Likewise.
10523 * math/s_clogl.c: Likewise.
10524 * math/s_clog10.c: Include <float.h>.
10525 (M_LOG10_2): Define.
10526 (__clog10): Scale large or subnormal inputs.
10527 * math/s_clog10f.c: Likewise.
10528 * math/s_clog10l.c: Likewise.
10529 * math/libm-test.inc (clog_test): Add more tests.
10530 (clog10_test): Likewise.
10531 * sysdeps/i386/fpu/libm-test-ulps: Update.
10532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10533
10534 [BZ #11451]
10535 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10536 x and y.
10537 * math/libm-test.inc (atan2_test): Add another test.
10538
10539 * Makerules (common-objdir-compile): Remove.
10540 * sysdeps/unix/Makefile (config-generated): Do not add
10541 $(unix-generated) to variable.
10542 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10543 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10544 Remove rule.
10545 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10546 Likewise.
10547 [generic bits/local_lim.h] (before-compile): Do not append to
10548 variable.
10549 [generic bits/local_lim.h] (common-generated): Likewise.
10550 [generic sys/param.h] (before-compile): Do not append to variable.
10551 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10552 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10553 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10554 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10555 include.
10556 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10557 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10558 [generic sys/param.h] ($(addprefix
10559 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10560 [generic sys/param.h] (common-generated): Do not append to
10561 variable.
10562 [generic sys/param.h] (sysdep_headers): Likewise.
10563 [generic bits/errno.h] (before-compile): Do not append to
10564 variable.
10565 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10566 rule.
10567 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10568 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10569 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10570 [generic bits/errno.h] (common-generated): Do not append to
10571 variable.
10572 [generic bits/ioctls.h] (before-compile): Do not append to
10573 variable.
10574 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10575 rule.
10576 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10577 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10578 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10579 rule.
10580 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10581 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10582 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10583 [generic bits/ioctls.h] (common-generated): Do not append to
10584 variable.
10585 [generic sys/syscall.h] (syscall.h): Remove variable.
10586 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10587 rule.
10588 [generic sys/syscall.h] (before-compile): Do not append to
10589 variable.
10590 [generic sys/syscall.h] (common-generated): Likewise.
10591 * sysdeps/unix/errnos-tmpl.c: Remove file.
10592 * sysdeps/unix/errnos.awk: Likewise.
10593 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10594 * sysdeps/unix/ioctls.awk: Likewise.
10595 * sysdeps/unix/mk-local_lim.c: Likewise.
10596 * sysdeps/unix/snarf-ioctls: Likewise.
10597
105982012-03-19 Richard Henderson <rth@twiddle.net>
10599
10600 * sysdeps/i386/fpu/fenv_private.h: New file.
10601 * sysdeps/i386/fpu/math_private.h: Use it.
10602 (math_opt_barrier, math_force_eval): Remove.
10603 (libc_feholdexcept_setround_53bit): Remove.
10604 (libc_feupdateenv_53bit): Remove.
10605 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10606 (math_opt_barrier, math_force_eval): Remove.
10607 (libc_feholdexcept): Remove.
10608 (libc_feholdexcept_setround): Remove.
10609 (libc_fetestexcept, libc_fesetenv): Remove.
10610 (libc_feupdateenv_test): Remove.
10611 (libc_feupdateenv, libc_feholdsetround): Remove.
10612 (libc_feresetround): Remove.
10613
10614 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10615 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10616
10617 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10618 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10619 (libc_feupdateenv_testl): New.
10620 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10621 (libc_feupdateenv_testf): New.
10622 (libc_feupdateenv): Use libc_feupdateenv_test.
10623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10624 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10625
10626 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10627 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10628 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10629 (libc_feresetround_noex): New.
10630 (libc_feresetround_noexf): New.
10631 (libc_feresetround_noexl): New.
10632 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10633 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10634 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10635 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10636 SET_RESTORE_ROUND.
10637 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10639 (__cos): Likewise.
10640 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10641 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10642 SET_RESTORE_ROUND_NOEX.
10643 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10644 SET_RESTORE_ROUND_NOEXF.
10645 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10646 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10647 (libc_feholdsetroundf): New.
10648 (libc_feresetround, libc_feresetroundf): New.
10649
10650 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10651 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10652 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10653
10654 * sysdeps/generic/math_private.h: Include <fenv.h>.
10655 (default_libc_feholdexcept): New.
10656 (default_libc_feholdexcept_setround): New.
10657 (default_libc_fesetenv, default_libc_feupdateenv): New.
10658 (libc_feholdexcept): Only define if undefined.
10659 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10660 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10661 (libc_feholdexcept_setroundl): Likewise.
10662 (libc_feholdexcept_setround_53bit): Likewise.
10663 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10664 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10665 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10666 (libc_feupdateenv_53bit): Likewise.
10667 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10668 (libc_feholdexcept): Convert from macro to inline function.
10669 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10670 (libc_fesetenv, libc_feupdateenv): Likewise.
10671
10672 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10673 not previously defined.
10674 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10675 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10676 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10677 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10678 * sysdeps/ieee754/flt-32/math_private.h: New file.
10679 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10680 math_private.h below SET_FLOAT_WORD.
10681 (__isnan, __isinf_ns, __finite): Remove.
10682 (__isnanf, __isinf_nsf, __finitef): Remove.
10683
106842012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10685
10686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10687
106882012-03-17 David S. Miller <davem@davemloft.net>
10689
10690 [BZ #6471]
10691 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10692 for 2.16.
10693
106942012-03-16 David S. Miller <davem@davemloft.net>
10695
10696 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10697 warnings.
10698
10699 [BZ #6471]
10700 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10701 properly.
10702 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10703 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10704 sysdep_routines when subdir is sysvipc.
10705 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10706 __getshmlba helper.
10707
10708 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10709
107102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10711
10712 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10713 [__LP64__].
10714
107152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10716
10717 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10718 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10719 (__lround): Renamed to ...
10720 (__llround): This. Replace long int with long long int.
10721 Define lround functions as aliases of llround functions.
10722 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10723
107242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10725
10726 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10727 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10728 adresses to uintptr_t. Replace "long int" and "unsigned long
10729 int" with "greg_t" on va_arg.
10730
107312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10732
10733 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10734 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10735
10736 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10737 Move e_machine check before EI_CLASS check. Handle x32
10738 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10739 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10740 SKIP_EM_IA_64 and include
10741 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10742
10743 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10744 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10745 (add_system_dir): New macro.
10746
10747 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10748 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10749
107502012-03-16 Joseph Myers <joseph@codesourcery.com>
10751
10752 [BZ #2551]
10753 [BZ #2552]
10754 [BZ #2553]
10755 [BZ #2554]
10756 [BZ #2562]
10757 [BZ #2563]
10758 [BZ #2565]
10759 [BZ #2566]
10760 [BZ #2576]
10761 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10762 (y0): Likewise.
10763 * math/w_j0f.c (j0f): Likewise.
10764 (y0f): Likewise.
10765 * math/w_j0l.c (__j0l): Likewise.
10766 (__y0l): Likewise.
10767 * math/w_j1.c (j1): Likewise.
10768 (y1): Likewise.
10769 * math/w_j1f.c (j1f): Likewise.
10770 (y1f): Likewise.
10771 * math/w_j1l.c (__j1l): Likewise.
10772 (__y1l): Likewise.
10773 * math/w_jn.c (jn): Likewise.
10774 (yn): Likewise.
10775 * math/w_jnf.c (jnf): Likewise.
10776 (ynf): Likewise.
10777 * math/w_jnl.c (__jnl): Likewise.
10778 (__ynl): Likewise.
10779 * math/libm-test.inc (j0_test): Add more tests.
10780 (j1_test): Likewise.
10781 (jn_test): Likewise. Add trailing semicolon to existing test.
10782 (y0_test): Likewise.
10783 (y1_test): Likewise.
10784 * sysdeps/i386/fpu/libm-test-ulps: Update.
10785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10786
10787 [BZ #13851]
10788 [BZ #13854]
10789 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10790 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10791 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10792 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10793 (__tanl): Set errno for infinite argument.
10794 * sysdeps/i386/fpu/mptan.c: Remove.
10795 * sysdeps/i386/fpu/s_tan.S: Likewise.
10796 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10797 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10798 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10799 * math/libm-test.inc (tan_test): Add more tests and enable more
10800 tests for double and long double.
10801 * sysdeps/i386/fpu/libm-test-ulps: Update.
10802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10803
108042012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10805
10806 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10807 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10808
108092012-03-16 Roland McGrath <roland@hack.frob.com>
10810
10811 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10812 * configure.in: Use it for both main tree and add-ons.
10813 * configure: Regenerated.
10814
108152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10816
10817 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10818
108192012-03-16 Joseph Myers <joseph@codesourcery.com>
10820
10821 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10822 in comment.
10823
10824 [BZ #13851]
10825 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10826 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10827 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10828 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10829 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10830 infinite argument.
10831 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10832 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10833 != 0 for prec == 2.
10834 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10835 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10836 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10837 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10838 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10839 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10840 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10841 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10842 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10843 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10844 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10845 * math/libm-test.inc (cos_test): Add more tests and enable more
10846 tests for long double.
10847 (sin_test): Likewise.
10848 (sincos_test): Likewise.
10849 * sysdeps/i386/fpu/libm-test-ulps: Update.
10850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10851
108522012-03-16 David S. Miller <davem@davemloft.net>
10853
10854 * sysdeps/sparc/fpu/math_private.h: New file.
10855
108562012-03-15 David S. Miller <davem@davemloft.net>
10857
10858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10859 file.
10860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10862 file.
10863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10868 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10869 sysdep routines.
10870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10871
10872 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10873 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10874
10875 * sysdeps/sparc/sparc-ifunc.h: New file.
10876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10877 sparc-ifunc.h
10878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10880 Likewise.
10881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10882 Likewise.
10883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10887 Likewise.
10888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10893 Likewise.
10894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10895 Likewise.
10896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10902 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10903 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10905 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10914 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10915 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10916 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10917 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10918 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10919 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10920
109212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10922
10923 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10924 scaling.
10925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10926
109272012-03-15 Andreas Jaeger <aj@suse.de>
10928
10929 [BZ #13852]
10930 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10931 ieee754/flt-32 implementation for sin, cos and sincos.
10932 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10933 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10934 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10935 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10936 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10937 ieee754/flt-32 implementation for tan.
10938
10939 * math/libm-test.inc (cos_test): Enable some large input tests for
10940 float as well
10941 (sin_test): Likewise.
10942 (sincos_test): Likewise.
10943 (tan_test): Add tests for large input.
10944
10945 * sysdeps/i386/fpu/libm-test-ulps: Update.
10946
109472012-03-15 Andreas Jaeger <aj@suse.de>
10948
10949 [BZ #13658]
10950 * math/libm-test.inc (cos_test): Add more test cases.
10951 (sin_test): Likewise.
10952 (sincos_test): Likewise.
10953
109542012-03-15 Andreas Jaeger <aj@suse.de>
10955
10956 [BZ #13837]
10957 * math/libm-test.inc (cos_test): Add a test case for large input
10958 value.
10959 (sin_test): Likewise.
10960 (sincos_test): Likewise.
10961
109622012-03-15 Andreas Jaeger <aj@suse.de>,
10963 Joseph Myers <joseph@codesourcery.com>
10964
10965 [BZ #13658]
10966 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
10967 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10968 * sysdeps/i386/fpu/branred.c: Likewise.
10969 * sysdeps/i386/fpu/dosincos.c: Likewise.
10970 * sysdeps/i386/fpu/mpa.c: Likewise.
10971 * sysdeps/i386/fpu/s_cos.S: Likewise.
10972 * sysdeps/i386/fpu/s_sin.S: Likewise.
10973 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10974 * sysdeps/i386/fpu/sincos32.c: Likewise.
10975
10976 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10977 Define.
10978 (libc_feupdateenv_53bit): Define.
10979 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10980 Define.
10981 (libc_feupdateenv_53bit): Define.
10982
10983 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10984 53 bit (without extend i386 double precision).
10985
10986 * math/libm-test.inc (sincos_test): Add tests for large input.
10987 (sin): Likewise.
10988 (cos): Likewise.
10989
10990 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10991
109922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10993
10994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10995
109962012-03-15 David S. Miller <davem@davemloft.net>
10997
10998 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10999 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11000 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11001 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
11013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11014 file.
11015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
11016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11017 file.
11018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
11019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11020 file.
11021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
11022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11023 file.
11024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11025 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11026 fmin/fmax sysdep routines.
11027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11028
110292012-03-14 David S. Miller <davem@davemloft.net>
11030
11031 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11035 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11036 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11037 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11038 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11051 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11052 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11053 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11054 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11055 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11056 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11057 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11058 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
11059 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11060 routines.
11061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11062 file.
11063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
11064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11065 file.
11066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
11067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11068 file.
11069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
11070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11071 file.
11072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
11073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11074 file.
11075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
11076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11077 file.
11078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11079 file.
11080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11081 file.
11082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11083 file.
11084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11085 New file.
11086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11087 file.
11088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11089 file.
11090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
11091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11092 file.
11093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
11094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11095 file.
11096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
11097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11098 file.
11099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
11100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11101 VIS3 routines.
11102
11103 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11104 New file.
11105
11106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11107
11108 * sysdeps/sparc/configure.in: New file.
11109 * sysdeps/sparc/configure: Generate.
11110 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11111 * configure: Regenerate.
11112 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11113 * config.make.in (have-as-vis3): New.
11114 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11115 available use -Av9d instead of -Av9a.
11116 * sysdeps/sparc/sparc64/Makefile: Likewise.
11117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
11118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11119 New file.
11120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11121 file.
11122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11123 New file.
11124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11125 file.
11126 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11127 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11128 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11129 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11131
11132 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11133 fzeros/fnegs to load 0x80000000 into a float register instead of
11134 using the stack.
11135 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11136
111372012-03-14 Joseph Myers <joseph@codesourcery.com>
11138
11139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11140 bits/syscall.h.
11141 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11142 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11143 ($(inst_includedir)/bits/syscall.h): Remove rule.
11144 ($(objpfx)bits/syscall.d): Include instead of
11145 $(objpfx)syscall-list.d.
11146 (generated): Change syscall-list.h and syscall-list.d to
11147 bits/syscall.h and bits/syscall.d.
11148
111492012-03-14 Roland McGrath <roland@hack.frob.com>
11150
11151 [BZ #13846]
11152 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11153
111542012-03-14 Joseph Myers <joseph@codesourcery.com>
11155
11156 [BZ #13841]
11157 * math/s_csqrt.c: Include <float.h>.
11158 (__csqrt): Scale large or subnormal inputs.
11159 * math/s_csqrtf.c: Likewise.
11160 * math/s_csqrtl.c: Likewise.
11161 * math/libm-test.inc (csqrt_test): Add more tests.
11162 * sysdeps/i386/fpu/libm-test-ulps: Update.
11163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11164
11165 [BZ #13840]
11166 * math/libm-test.inc (hypot_test): Add more tests.
11167
111682012-03-13 David S. Miller <davem@davemloft.net>
11169
11170 [BZ #13840]
11171 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11172 double-precision for the calculation instead of scaling.
11173
111742012-03-13 Joseph Myers <joseph@codesourcery.com>
11175
11176 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11177 manipulate bits before adding and subtracting TWO52[sx].
11178 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11179 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11180 Likewise.
11181 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11182
111832012-03-13 David S. Miller <davem@davemloft.net>
11184
11185 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11186 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11188 rtld-global-offsets.h
11189 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11190
11191 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11192 large parameters.
11193
11194 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11195
11196 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11197 'err' in the ifdef scope in which it is actually used.
11198
11199 * nss/nss_db/db-init.c: Include string.h
11200
112012012-03-12 David S. Miller <davem@davemloft.net>
11202
11203 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11204 masking out of the most significant byte of random value used.
11205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11206 Fix coding style in previous change.
11207
11208 * sysdeps/unix/sysv/linux/kernel-features.h
11209 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11210 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11211 expression.
11212 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11213 later.
11214
112152012-03-11 David S. Miller <davem@davemloft.net>
11216
11217 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11218 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11219 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11220 for 'resultvar' otherwise things get truncated on 64-bit.
11221
11222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11223 Fix masking out of the most significant byte of random value used.
11224
11225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11226
112272012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11228
11229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11230
112312012-03-09 David S. Miller <davem@davemloft.net>
11232
11233 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11234 variables with appropriate CPP guards.
11235 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11236 frame pointer, not the stack pointer. Correct layout comments. Fix test
11237 on resulting framesize and the management of the outregs buffer for pltexit.
11238 Preserve floating point return values across _dl_call_pltexit call.
11239 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11240 framesize and the management of the outregs buffer for pltexit.
11241 Preserve floating point return values across _dl_call_pltexit
11242 call.
11243 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11244 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11245 (print_exit): Fix format string for return register value.
11246
112472012-03-10 Joseph Myers <joseph@codesourcery.com>
11248
11249 * sunrpc/Makefile (others): Add rpcgen.
11250 ($(objpfx)rpcgen): Remove special build rule and dependency on
11251 libc.
11252 * sunrpc/rpcgen.c: New file.
11253
112542012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11255
11256 [BZ #13673]
11257 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11258 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11259 * sysdeps/i386/crti.S: Likewise.
11260 * sysdeps/i386/crtn.S: Likewise.
11261 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11262 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11263 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11264 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11265 * sysdeps/sh/crti.S: Likewise.
11266 * sysdeps/sh/crtn.S: Likewise.
11267 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11268
11269 [BZ #13673]
11270 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11271 with URL.
11272 * locale/programs/locfile-kw.gperf: Likewise.
11273 * locale/programs/charmap-kw.h: Regenerated.
11274 * locale/programs/locfile-kw.h: Likewise.
11275
11276 [BZ #13673]
11277 * intl/plural.y: Replace FSF snail mail address with URL.
11278 * intl/plural.c: Regenerated.
11279
112802012-03-09 Richard Henderson <rth@twiddle.net>
11281
11282 * include/math_private.h: Remove file.
11283 * math/math_private.h: Move file ...
11284 * sysdeps/generic/math_private.h: ... here.
11285
11286 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11287 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11288 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11289
11290 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
11291 and <math_private.h>.
11292 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11293 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11294 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11295 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11296 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11297 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11298 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11299 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11300 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11301 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11302 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11303 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11304 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11305 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11306 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11307 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11308 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11310 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11311 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11312 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11313 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11314 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11316 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11317 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11318 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11320 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11321 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11322 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11323 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11324 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11325 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11326 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11327 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11328 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11329 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11330 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11331 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11332 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11333 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11334 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11335 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11336 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11337 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11338 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11339 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11340 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11341 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11343 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11344 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11345 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11346 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11347 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11348 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11349 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11350 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11351 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11353 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11354 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11367 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11368 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11369 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11370 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11371 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11372 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11373 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11374 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11375 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11376 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11377 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11379 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11380 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11381 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11382 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11383 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11384 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11385 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11386 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11387 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11388 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11389 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11390 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11391 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11392 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11393 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11394 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11395 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11396 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11397 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11398 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11399 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11400 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11401 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11402 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11403 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11404 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11405 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11406 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11407 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11408 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11409 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11410 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11411 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11412 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11413 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11414 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11415 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11416 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11417 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11418 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11419 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11420 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11421 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11422 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11423 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11424 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11425 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11426 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11427 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11428 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11429 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11430 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11431 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11432 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11433 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11434 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11435 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11436 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11437 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11438 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11439 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11440 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11441 * sysdeps/ieee754/k_standard.c: Likewise.
11442 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11443 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11444 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11445 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11446 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11447 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11448 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11449 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11450 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11451 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11452 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11453 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11454 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11455 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11456 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11457 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11458 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11459 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11460 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11461 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11462 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11463 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11464 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11465 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11466 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11467 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11468 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11469 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11470 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11471 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11472 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11473 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11474 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11475 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11476 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11477 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11478 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11479 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11480 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11481 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11482 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11483 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11484 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11485 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11486 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11487 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11488 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11489 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11491 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11492 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11493 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11494 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11495 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11496 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11497 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11498 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11499 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11500 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11557 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11558 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11559 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11560 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11561 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11562 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11564 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11565 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11569 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11573 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11574 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11575 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11580 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11581 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11583 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11584 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11585 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11586 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11587 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11590 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11591 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11592 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11593 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11596 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11597 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11598 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11599 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11600 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11602 * sysdeps/ieee754/s_lib_version.c: Likewise.
11603 * sysdeps/ieee754/s_matherr.c: Likewise.
11604 * sysdeps/ieee754/s_signgam.c: Likewise.
11605 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11606 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11607 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11608 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11609 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11610 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11611 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11612 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11613 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11614 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11615 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11616 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11617 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11618 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11619 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11620 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11621 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11622 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11623 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11624 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11625 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11626
116272012-03-09 Joseph Myers <joseph@codesourcery.com>
11628
11629 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11630 * sunrpc/rpc_main.c: Likewise.
11631 * sunrpc/rpc_svcout.c: Likewise.
11632
116332012-03-09 David S. Miller <davem@davemloft.net>
11634
11635 * include/math_private.h: New file.
11636
116372012-03-09 Joseph Myers <joseph@codesourcery.com>
11638
11639 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11640 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11641 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11642 from <bits/socket_type.h>.
11643 (enum __socket_type): Don't define here.
11644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11646 bits/socket_type.h.
11647
11648 [BZ #13566]
11649 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11650 checking __USE_GNU.
11651
11652 * Makerules ($(inst_includedir)/%.h): New rule.
11653 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11654 (install-others): Remove variable setting.
11655 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11656
116572012-03-08 Richard Henderson <rth@twiddle.net>
11658
11659 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11660 from macro to inline function; merge with the
11661 !__LIBC_INTERNAL_MATH_INLINES version.
11662 (__ieee754_sqrtf): Likewise.
11663
11664 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11665 to inline function.
11666 (__rintf, __floor, __floorf): Likewise.
11667
11668 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11669 macro to inline function.
11670 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11671
11672 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11673 not <math/math_private.h>.
11674
116752012-03-08 David S. Miller <davem@davemloft.net>
11676
11677 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11678 copyright year.
11679 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11680
116812012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11682
11683 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11684 normalization.
11685 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11686 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11687
116882012-03-08 Ulrich Drepper <drepper@gmail.com>
11689
11690 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11691 be defined individually, they must be defined as a block. Define
11692 S for printing a string instead of hidint the different by using a
11693 macro for adding the 'l'.
11694 * stdio-common/tst-fphex-wide.c: Adjust.
11695
116962012-03-07 Marek Polacek <polacek@redhat.com>
11697
11698 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11699
117002012-03-08 Marek Polacek <polacek@redhat.com>
11701
11702 [BZ #13806]
11703 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11704 * stdio-common/tst-fphex.c: Define a few macros to make the
11705 test reusable. Use them.
11706 * stdio-common/tst-fphex-wide.c: New file.
11707
117082012-03-08 Joseph Myers <joseph@codesourcery.com>
11709
11710 [BZ #6911]
11711 * manual/macros.texi (gnusystems): New macro.
11712 (nongnusystems): Likewise.
11713 (gnulinuxhurdsystems): Likewise.
11714 (gnuhurdsystems): Likewise..
11715 (gnulinuxsystems): Likewise.
11716 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11717 variants of the GNU system, not "GNU system".
11718 * manual/conf.texi: Likewise.
11719 * manual/errno.texi: Likewise. Update example of errno macro
11720 expansion.
11721 * manual/filesys.texi: Likewise.
11722 (getumask): Document as specific to GNU/Hurd.
11723 * manual/install.texi: Likewise. Reword some references to
11724 GNU/Linux.
11725 * manual/intro.texi: Likewise.
11726 * manual/io.texi: Likewise.
11727 (File Name Portability): Detail which constraints are inapplicable
11728 to all GNU systems and which are only inapplicable to GNU/Hurd.
11729 * manual/job.texi: Likewise.
11730 * manual/llio.texi: Likewise.
11731 (O_NOCTTY): Document as present on GNU/Linux.
11732 * manual/maint.texi: Likewise.
11733 * manual/memory.texi: Likewise.
11734 * manual/pattern.texi: Likewise.
11735 * manual/pipe.texi: Likewise.
11736 * manual/process.texi: Likewise.
11737 * manual/resource.texi: Likewise.
11738 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11739 child on GNU/Hurd.
11740 * manual/setjmp.texi: Likewise.
11741 * manual/signal.texi: Likewise.
11742 * manual/startup.texi: Likewise.
11743 * manual/stdio.texi: Likewise.
11744 * manual/terminal.texi: Likewise.
11745 (ONLCR): Document as POSIX.
11746 (OXTABS): Document availability on GNU/Linux as XTABS.
11747 (ONOEOT): Document availability separately from other bits.
11748 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11749 * manual/time.texi: Likewise.
11750 * manual/users.texi: Likewise.
11751 * INSTALL: Regenerated.
11752 * sysdeps/gnu/errlist.c: Regenerated.
11753
11754 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11755 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11756 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11757 puts.
11758 * configure: Regenerated.
11759
117602012-03-07 Joseph Myers <joseph@codesourcery.com>
11761
11762 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11763 default includes instead of AC_HEADER_CHECK.
11764 * sysdeps/i386/configure: Regenerated.
11765
11766 [BZ #10716]
11767 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11768 * math/s_cacoshf.c (__cacoshf): Likewise.
11769 * math/s_cacoshl.c (__cacoshl): Likewise.
11770 * math/s_casinh.c (__casinh): Set signs of result from argument.
11771 * math/s_casinhf.c (__casinhf): Likewise.
11772 * math/s_casinhl.c (__casinhl): Likewise.
11773 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11774 (casinh_test): Add more tests.
11775 * sysdeps/i386/fpu/libm-test-ulps: Update.
11776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11777
117782012-03-07 Ulrich Drepper <drepper@gmail.com>
11779
11780 * po/zh_TW.po: Update from translation team.
11781
11782 * login/Makefile (distribute): Remove variable.
11783 * catgets/Makefile: Likewise.
11784 * mach/Makefile: Likewise.
11785 * malloc/Makefile: Likewise.
11786 * misc/Makefile: Likewise.
11787 * iconv/Makefile: Likewise.
11788 * nscd/Makefile: Likewise.
11789 * hurd/Makefile: Likewise.
11790 * manual/Makefile: Likewise.
11791 * locale/Makefile: Likewise.
11792 * intl/Makefile: Likewise.
11793 * conform/Makefile: Likewise.
11794 * nss/Makefile: Likewise.
11795 * time/Makefile: Likewise.
11796 * soft-fp/Makefile: Likewise.
11797 * dirent/Makefile: Likewise.
11798 * gmon/Makefile: Likewise.
11799 * po/Makefile: Likewise.
11800 * rt/Makefile: Likewise.
11801 * socket/Makefile: Likewise.
11802 * math/Makefile: Likewise.
11803 * signal/Makefile: Likewise.
11804 * debug/Makefile: Likewise.
11805 * elf/Makefile: Likewise.
11806 * timezone/Makefile: Likewise.
11807 * stdlib/Makefile: Likewise.
11808 * iconvdata/Makefile: Likewise.
11809 * sunrpc/Makefile: Likewise.
11810 * io/Makefile: Likewise.
11811 * argp/Makefile: Likewise.
11812 * inet/Makefile: Likewise.
11813 * hesiod/Makefile: Likewise.
11814 * grp/Makefile: Likewise.
11815 * csu/Makefile: Likewise.
11816 * wctype/Makefile: Likewise.
11817 * crypt/Makefile: Likewise.
11818 * libio/Makefile: Likewise.
11819 * string/Makefile: Likewise.
11820 * nis/Makefile: Likewise.
11821 * resolv/Makefile: Likewise.
11822 * stdio-common/Makefile: Likewise.
11823 * wcsmbs/Makefile: Likewise.
11824 * dlfcn/Makefile: Likewise.
11825 * posix/Makefile: Likewise.
11826
11827 [BZ #6959]
11828 * timezone/Makefile: Don't install timezone files, just the programs
11829 and scripts.
11830
118312012-03-06 Ulrich Drepper <drepper@gmail.com>
11832
11833 * nss/databases.def: Add missing gshadow entry.
11834
11835 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11836
118372012-03-06 Marek Polacek <polacek@redhat.com>
11838
11839 [BZ #13726]
11840 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11841 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11842 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11843 * stdio-common/tst-long-dbl-fphex.c: New file.
11844
118452012-03-06 David S. Miller <davem@davemloft.net>
11846
11847 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11848 (set_obp_int): New function.
11849 (get_obp_int): New function.
11850 (__get_clockfreq_via_dev_openprom): Likewise.
11851 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11852 Avoid unused variable warnings on 'val' and use builtin_expect.
11853 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11854 __builtin_expect.
11855 (INLINE_CLONE_SYSCALL): Likewise.
11856
118572012-03-05 David S. Miller <davem@davemloft.net>
11858
11859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11860
118612012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11862
11863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11864
11865 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11866 only for |x| >= 40.
11867 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11868
118692012-03-05 H.J. Lu <hongjiu.lu@intel.com>
11870
11871 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11872 Replace gettimeofday with __vdso_gettimeofday.
11873
11874 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11875 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11876 __vdso_clock_gettime and __vdso_getcpu.
11877
11878 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11879 time with __vdso_time.
11880
118812012-03-05 Joseph Myers <joseph@codesourcery.com>
11882
11883 * manual/lang.texi (size_t): Note types to which size_t may be
11884 equivalent with the GNU C Library, but do not describe when
11885 differences between them are significant.
11886
118872012-03-05 Andreas Jaeger <aj@suse.de>
11888
11889 * sysdeps/i386/fpu/libm-test-ulps: Update.
11890
118912012-03-05 Joseph Myers <joseph@codesourcery.com>
11892
11893 [BZ #3976]
11894 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11895 (__ieee754_pow): Save and restore rounding mode and use
11896 round-to-nearest for main computations.
11897 * math/libm-test.inc (pow_test_tonearest): New function.
11898 (pow_test_towardzero): Likewise.
11899 (pow_test_downward): Likewise.
11900 (pow_test_upward): Likewise.
11901 (main): Call the new functions.
11902 * sysdeps/i386/fpu/libm-test-ulps: Update.
11903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11904
11905 [BZ #3976]
11906 * math/libm-test.inc (cosh_test_tonearest): New function.
11907 (cosh_test_towardzero): Likewise.
11908 (cosh_test_downward): Likewise.
11909 (cosh_test_upward): Likewise.
11910 (sinh_test_tonearest): Likewise.
11911 (sinh_test_towardzero): Likewise.
11912 (sinh_test_downward): Likewise.
11913 (sinh_test_upward): Likewise.
11914 (main): Call the new functions.
11915 * sysdeps/i386/fpu/libm-test-ulps: Update.
11916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11917
119182012-03-05 Tom de Vries <tom@codesourcery.com>
11919
11920 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11921 default stack guard is set in last bytes.
11922 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11923
119242012-03-05 Kees Cook <keescook@chromium.org>
11925
11926 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
11927
11928 [BZ #13656]
11929 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11930 possibly allocate from heap instead of stack.
11931 * stdio-common/bug-vfprintf-nargs.c: New file.
11932 * stdio-common/Makefile (tests): Add nargs overflow test.
11933
119342012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11935
11936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11937
119382012-03-03 Marek Polacek <polacek@redhat.com>
11939
11940 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11941 * math/math_private.h: Likewise.
11942 * stdlib/tst-strtod.c: Likewise.
11943 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11944 * sysdeps/x86_64/bits/atomic.h: Likewise.
11945
119462012-03-02 David S. Miller <davem@davemloft.net>
11947
11948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11952 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11953 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11954 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11955 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11956
119572012-03-02 Roland McGrath <roland@hack.frob.com>
11958
11959 [BZ #13792]
11960 * manual/examples/README: New file, says the example source files
11961 can be used under GPL>=2.
11962 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11963 line containing just "*/".
11964 * manual/examples/add.c: Add copyright header (GPL>=2).
11965 * manual/examples/argp-ex1.c: Likewise.
11966 * manual/examples/argp-ex2.c: Likewise.
11967 * manual/examples/argp-ex3.c: Likewise.
11968 * manual/examples/argp-ex4.c: Likewise.
11969 * manual/examples/atexit.c: Likewise.
11970 * manual/examples/db.c: Likewise.
11971 * manual/examples/dir.c: Likewise.
11972 * manual/examples/dir2.c: Likewise.
11973 * manual/examples/execinfo.c: Likewise.
11974 * manual/examples/filecli.c: Likewise.
11975 * manual/examples/filesrv.c: Likewise.
11976 * manual/examples/fmtmsgexpl.c: Likewise.
11977 * manual/examples/genpass.c: Likewise.
11978 * manual/examples/inetcli.c: Likewise.
11979 * manual/examples/inetsrv.c: Likewise.
11980 * manual/examples/isockad.c: Likewise.
11981 * manual/examples/longopt.c: Likewise.
11982 * manual/examples/memopen.c: Likewise.
11983 * manual/examples/memstrm.c: Likewise.
11984 * manual/examples/mkfsock.c: Likewise.
11985 * manual/examples/mkisock.c: Likewise.
11986 * manual/examples/mygetpass.c: Likewise.
11987 * manual/examples/pipe.c: Likewise.
11988 * manual/examples/popen.c: Likewise.
11989 * manual/examples/rprintf.c: Likewise.
11990 * manual/examples/search.c: Likewise.
11991 * manual/examples/select.c: Likewise.
11992 * manual/examples/setjmp.c: Likewise.
11993 * manual/examples/sigh1.c: Likewise.
11994 * manual/examples/sigusr.c: Likewise.
11995 * manual/examples/stpcpy.c: Likewise.
11996 * manual/examples/strdupa.c: Likewise.
11997 * manual/examples/strftim.c: Likewise.
11998 * manual/examples/strncat.c: Likewise.
11999 * manual/examples/subopt.c: Likewise.
12000 * manual/examples/swapcontext.c: Likewise.
12001 * manual/examples/termios.c: Likewise.
12002 * manual/examples/testopt.c: Likewise.
12003 * manual/examples/testpass.c: Likewise.
12004 * manual/examples/timeval_subtract.c: Likewise.
12005
12006 [BZ #13792]
12007 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12008 function to ...
12009 * manual/timeval_subtract.c.texi: ... here, new file.
12010
120112012-03-02 David S. Miller <davem@davemloft.net>
12012
12013 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12014
120152012-03-02 Joseph Myers <joseph@codesourcery.com>
12016
12017 [BZ #3976]
12018 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12019 (__sin): Save and restore rounding mode and use round-to-nearest
12020 for all computations.
12021 (__cos): Save and restore rounding mode and use round-to-nearest
12022 for all computations.
12023 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12024 <fenv.h>.
12025 (tan): Save and restore rounding mode and use round-to-nearest for
12026 all computations.
12027 * math/libm-test.inc (cos_test_tonearest): New function.
12028 (cos_test_towardzero): Likewise.
12029 (cos_test_downward): Likewise.
12030 (cos_test_upward): Likewise.
12031 (sin_test_tonearest): Likewise.
12032 (sin_test_towardzero): Likewise.
12033 (sin_test_downward): Likewise.
12034 (sin_test_upward): Likewise.
12035 (tan_test_tonearest): Likewise.
12036 (tan_test_towardzero): Likewise.
12037 (tan_test_downward): Likewise.
12038 (tan_test_upward): Likewise.
12039 (main): Call the new functions.
12040 * sysdeps/i386/fpu/libm-test-ulps: Update.
12041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12042
12043 [BZ #10135]
12044 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12045 small n, then large n, before computing and testing k+n.
12046 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12047 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12048 Likewise.
12049 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12050 Likewise.
12051 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12052 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12053 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12054 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12055 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12056 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12057 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12058 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12059 * math/libm-test.inc (scalbn_test): Add more tests.
12060 (scalbln_test): Likewise.
12061
12062 * manual/filesys.texi (mode_t): Describe constraints on size and
12063 signedness, not exact equivalence to a particular type.
12064 (ino_t): Likewise.
12065 (ino64_t): Likewise.
12066 (dev_t): Likewise.
12067 (nlink_t): Likewise.
12068 (blkcnt_t): Likewise.
12069 (blkcnt64_t): Likewise.
12070 * manual/llio.texi (off_t): Likewise.
12071
12072 [BZ #3976]
12073 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12074 (__ieee754_exp): Save and restore rounding mode and use
12075 round-to-nearest for all computations.
12076 * math/libm-test.inc (exp_test_tonearest): New function.
12077 (exp_test_towardzero): Likewise.
12078 (exp_test_downward): Likewise.
12079 (exp_test_upward): Likewise.
12080 (main): Call the new functions.
12081 * sysdeps/i386/fpu/libm-test-ulps: Update.
12082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12083
120842012-03-01 Chris Demetriou <cgd@google.com>
12085
12086 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12087 have predictable order.
12088
120892012-03-01 David S. Miller <davem@davemloft.net>
12090
12091 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12092
12093 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12094 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12095 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12096 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12097
12098 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12099 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12100 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12102 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12103 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12104 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12105 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12106 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12107
12108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12109
12110 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12111 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12112 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12113
12114 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12115 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12116 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12117 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12118 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12119 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12120 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12121 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12122 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12123 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12124 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12125 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12126 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12127 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12128 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12129 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12130 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12131 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12132 * sysdeps/sparc/elf/configure: Regenerated.
12133
121342012-03-01 Joseph Myers <joseph@codesourcery.com>
12135
12136 * configure.in (AS, LD): Require binutils 2.20 or later.
12137 * configure: Regenerated.
12138 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12139 as required minimum version.
12140 * INSTALL: Regenerated.
12141
12142 [BZ #2541]
12143 [BZ #4108]
12144 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12145 before squaring exponent.
12146 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12147 bottom long double and 27 bits of top long double before squaring
12148 exponent.
12149 * math/libm-test.inc (erfc_test): Add more tests.
12150 * sysdeps/i386/fpu/libm-test-ulps: Update.
12151 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12153
121542012-03-01 Kai Tietz <ktietz@redhat.com>
12155
12156 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12157 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12158 containing bit-fields.
12159 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12160 * soft-fp/single.h (_FP_UNION_S): Likewise.
12161 * soft-fp/double.h (_FP_UNION_D): Likewise.
12162
121632012-02-29 Joseph Myers <joseph@codesourcery.com>
12164
12165 [BZ #13786]
12166 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12167 not include ../strcmp.S.
12168 [USE_AS_STRNCASECMP_L]: Likewise.
12169 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12170 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12171 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12172 (__strncasecmp_l_ia32): Define as alias to
12173 __strncasecmp_l_nonascii.
12174
12175 [BZ #5794]
12176 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12177 * sysdeps/i386/fpu/libm-test-ulps: Update.
12178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12179
12180 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12182
121832012-02-29 Jeff Law <law@redhat.com>
12184
12185 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12186 out of bounds read.
12187
121882012-02-29 Marek Polacek <polacek@redhat.com>
12189
12190 [BZ #13706]
12191 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12192 * elf/Makefile: Add rules to run tst-unused-dep.out.
12193
121942012-02-28 David S. Miller <davem@davemloft.net>
12195
12196 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12197 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12198 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12199 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12200 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12201 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12202
122032012-02-29 Joseph Myers <joseph@codesourcery.com>
12204
12205 * math/libm-test.inc (llround_test): Move one test from
12206 lround_test. Use TEST_f_L in moved test.
12207 (lround_test): Move misplaced test to llround_test. Add testcase
12208 from bug 2561.
12209
122102012-02-28 Ulrich Drepper <drepper@gmail.com>
12211
12212 * sysdeps/x86_64/fpu/e_expf.S: New file.
12213 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12214
122152012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12216
12217 [BZ #13637]
12218 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12219 of remain_len that may cause incomplete multi-byte character and
12220 false match.
12221 * posix/bug-regex33.c: New file.
12222 * posix/Makefile (tests): Add bug-regex33.
12223
122242012-02-28 Joseph Myers <joseph@codesourcery.com>
12225
12226 * manual/macros.texi: New file.
12227 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12228 * manual/libc.texinfo: Include macros.texi.
12229 * manual/creatute.texi: Likewise.
12230 * manual/install.texi: Likewise.
12231 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12232 @glibcadj{} in references to the GNU C Library.
12233 * manual/charset.texi: Likewise.
12234 * manual/conf.texi: Likewise.
12235 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12236 when not using those macros.
12237 * manual/creature.texi: Likewise.
12238 * manual/crypt.texi: Likewise.
12239 * manual/errno.texi: Likewise.
12240 * manual/filesys.texi: Likewise.
12241 * manual/header.texi: Likewise.
12242 * manual/install.texi: Likewise.
12243 * manual/intro.texi: Likewise.
12244 * manual/io.texi: Likewise.
12245 * manual/job.texi: Likewise.
12246 * manual/lang.texi: Likewise.
12247 * manual/libc.texiinfo: Likewise.
12248 * manual/llio.texi: Likewise.
12249 * manual/locale.texi: Likewise.
12250 * manual/maint.texi: Likewise.
12251 * manual/math.texi: Likewise.
12252 * manual/memory.texi: Likewise.
12253 * manual/message.texi: Likewise.
12254 * manual/nss.texi: Likewise.
12255 * manual/pattern.texi: Likewise.
12256 * manual/process.texi: Likewise.
12257 * manual/resource.texi: Likewise.
12258 * manual/search.texi: Likewise.
12259 * manual/setjmp.texi: Likewise.
12260 * manual/signal.texi: Likewise.
12261 * manual/socket.texi: Likewise.
12262 * manual/startup.texi: Likewise.
12263 * manual/stdio.texi: Likewise.
12264 * manual/string.texi: Likewise.
12265 * manual/sysinfo.texi: Likewise.
12266 * manual/syslog.texi: Likewise.
12267 * manual/terminal.texi: Likewise.
12268 * manual/time.texi: Likewise.
12269 * manual/users.texi: Likewise.
12270 * INSTALL: Regenerated.
12271 * NOTES: Regenerated.
12272 * sysdeps/gnu/errlist.c: Regenerated.
12273
122742012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12275
12276 * include/dirent.h: Include <dirstream.h> before
12277 <dirent/dirent.h>.
12278
122792012-02-28 David S. Miller <davem@davemloft.net>
12280
12281 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12282 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12283 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12284 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12285
122862012-02-27 David S. Miller <davem@davemloft.net>
12287
12288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12290 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12291 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12292
12293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12294 frame pointer instead of stack pointer relative arg slot.
12295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12296 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12297 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12298
122992012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12300
12301 [BZ #3992]
12302 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12303
123042012-02-27 David S. Miller <davem@davemloft.net>
12305
12306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12310 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12311 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12312 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12313 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12314
123152012-02-27 Joseph Myers <joseph@codesourcery.com>
12316
12317 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12318 later. Allow versions 5-9.
12319 * configure: Regenerated.
12320 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12321 required minimum version and 4.6 as recommended version. Do not
12322 mention bugs in GCC 2.7 and 2.8.
12323 * INSTALL: Regenerated.
12324
123252012-02-27 David S. Miller <davem@davemloft.net>
12326
12327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12331 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12332 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12333 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12334 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12335
12336 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12337 manipulate bits before adding and subtracting TWO112[sx].
12338 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12339
123402012-02-27 Roland McGrath <roland@hack.frob.com>
12341
12342 [BZ #13775]
12343 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12344 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12345 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12346 being in POSIX, because they are in 1003.1-2008.
12347
12348 * rt/tst-aio.c: Include <fcntl.h>.
12349 * rt/tst-aio7.c: Likewise.
12350 * rt/tst-aio64.c: Likewise.
12351
12352 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12353
123542012-02-27 Joseph Myers <joseph@codesourcery.com>
12355
12356 * manual/install.texi (--with-headers): Describe headers as
12357 interface headers, not private headers.
12358 (Specific advice for GNU/Linux systems): Describe use of headers
12359 from "make headers_install", not private headers from older
12360 kernels.
12361 * INSTALL: Regenerated.
12362 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12363 Change to 2.6.19.
12364 * sysdeps/unix/sysv/linux/configure: Regenerated.
12365
12366 * manual/llio.texi (fclean): Remove documentation.
12367
12368 * manual/Makefile (libc-texi-generated): New variable. Include
12369 version.texi.
12370 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12371 $(libc-texi-generated), not duplicated list of files.
12372 (version.texi, stamp-version): New rules.
12373 (realclean): Remove $(libc-texi-generated), not individual files
12374 from that list. Do not remove dir-add.texinfo.
12375 * manual/libc.texinfo: Comment out uses of edition numbers and
12376 references to printed manual. Remove last-updated dates.
12377 (EDITION): Comment out.
12378 (ISBN): Likewise.
12379 (VERSION, UPDATED): Remove.
12380 (version.texi): Include.
12381
123822012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12383
12384 * sysdeps/posix/spawni.c: Include <signal.h>.
12385 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12386 * sysdeps/pthread/aio_fsync.c: Likewise.
12387
123882012-02-26 Ulrich Drepper <drepper@gmail.com>
12389
12390 * conform/Makefile (tests): Run only when not cross-compiling and
12391 when fast-check is not defined.
12392
12393 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12394 * conform/data/limits.h-data: Fixes for POSIX2008.
12395 * conform/run-conformtest.sh: Run all tests.
12396 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12397 headers.
12398 * include/bits/dlfcn.h: Likewise.
12399 * include/langinfo.h: Likewise.
12400 * include/monetary.h: Likewise.
12401 * include/sys/poll.h: Likewise.
12402
12403 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12404 for __USE_GNU.
12405 * posix/spawn.h: Define __need_sigset_t.
12406 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12407 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12408 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12409 to get sigevent_t only.
12410 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12411 only for __USE_GNU.
12412 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12413 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12414 process_vm_writev only for __USE_GNU.
12415 * termios/termios.h: Declare tcgetsid also for POSIX2008.
12416
12417 * conform/Makefile: For now ignore errors from run-conformtest.
12418 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12419 POSIX to avoid namespace pollution. Don't prepend headers.
12420 * conform/data/aio.h-data: Fixes for POSIX testing.
12421 * conform/data/fcntl.h-data: Likewise.
12422 * conform/data/glob.h-data: Likewise.
12423 * conform/data/grp.h-data: Likewise.
12424 * conform/data/pthread.h-data: Likewise.
12425 * conform/data/pwd.h-data: Likewise.
12426 * conform/data/signal.h-data: Likewise.
12427 * conform/data/spawn.h-data: Likewise.
12428 * conform/data/stdio.h-data: Likewise.
12429 * conform/data/stdlib.h-data: Likewise.
12430 * conform/data/stropts.h-data: Likewise.
12431 * conform/data/sys/mman.h-data: Likewise.
12432 * conform/data/sys/stat.h-data: Likewise.
12433 * conform/data/sys/types.h-data: Likewise.
12434 * conform/data/sys/wait.h-data: Likewise.
12435 * conform/data/time.h-data: Likewise.
12436 * conform/data/unistd.h-data: Likewise.
12437 * conform/data/utime.h-data: Likewise.
12438
12439 * io/sys/stat.h: fchmod was always in POSIX.
12440 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12441 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12442 * rt/aio.h: Define __need_timespec before including <time.h>.
12443 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12444 struct. Add forward declaration of pthread_attr_t and use it in
12445 sigevent.
12446 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12447 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12448 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12449 always remove CLK_TCK definition.
12450
124512012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12452
12453 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12454
124552012-02-25 Ulrich Drepper <drepper@gmail.com>
12456
12457 * conform/run-conformtest.sh: New file.
12458 * conform/Makefile: Run run-conformtest for tests.
12459 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12460 support.
12461
12462 * conform/data/uchar.h-data: New file.
12463 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12464 * conform/data/arpa/inet.h-data: Likewise.
12465 * conform/data/assert.h-data: Likewise.
12466 * conform/data/complex.h-data: Likewise.
12467 * conform/data/cpio.h-data: Likewise.
12468 * conform/data/ctype.h-data: Likewise.
12469 * conform/data/dirent.h-data: Likewise.
12470 * conform/data/dlfcn.h-data: Likewise.
12471 * conform/data/errno.h-data: Likewise.
12472 * conform/data/fcntl.h-data: Likewise.
12473 * conform/data/float.h-data: Likewise.
12474 * conform/data/fmtmsg.h-data: Likewise.
12475 * conform/data/fnmatch.h-data: Likewise.
12476 * conform/data/ftw.h-data: Likewise.
12477 * conform/data/glob.h-data: Likewise.
12478 * conform/data/grp.h-data: Likewise.
12479 * conform/data/iconv.h-data: Likewise.
12480 * conform/data/inttypes.h-data: Likewise.
12481 * conform/data/langinfo.h-data: Likewise.
12482 * conform/data/libgen.h-data: Likewise.
12483 * conform/data/limits.h-data: Likewise.
12484 * conform/data/locale.h-data: Likewise.
12485 * conform/data/math.h-data: Likewise.
12486 * conform/data/monetary.h-data: Likewise.
12487 * conform/data/mqueue.h-data: Likewise.
12488 * conform/data/ndbm.h-data: Likewise.
12489 * conform/data/net/if.h-data: Likewise.
12490 * conform/data/netdb.h-data: Likewise.
12491 * conform/data/netinet/in.h-data: Likewise.
12492 * conform/data/nl_types.h-data: Likewise.
12493 * conform/data/poll.h-data: Likewise.
12494 * conform/data/pthread.h-data: Likewise.
12495 * conform/data/pwd.h-data: Likewise.
12496 * conform/data/regex.h-data: Likewise.
12497 * conform/data/sched.h-data: Likewise.
12498 * conform/data/search.h-data: Likewise.
12499 * conform/data/semaphore.h-data: Likewise.
12500 * conform/data/setjmp.h-data: Likewise.
12501 * conform/data/signal.h-data: Likewise.
12502 * conform/data/spawn.h-data: Likewise.
12503 * conform/data/stdarg.h-data: Likewise.
12504 * conform/data/stdio.h-data: Likewise.
12505 * conform/data/stdlib.h-data: Likewise.
12506 * conform/data/string.h-data: Likewise.
12507 * conform/data/strings.h-data: Likewise.
12508 * conform/data/stropts.h-data: Likewise.
12509 * conform/data/sys/ipc.h-data: Likewise.
12510 * conform/data/sys/mman.h-data: Likewise.
12511 * conform/data/sys/msg.h-data: Likewise.
12512 * conform/data/sys/resource.h-data: Likewise.
12513 * conform/data/sys/select.h-data: Likewise.
12514 * conform/data/sys/sem.h-data: Likewise.
12515 * conform/data/sys/shm.h-data: Likewise.
12516 * conform/data/sys/socket.h-data: Likewise.
12517 * conform/data/sys/stat.h-data: Likewise.
12518 * conform/data/sys/statvfs.h-data: Likewise.
12519 * conform/data/sys/time.h-data: Likewise.
12520 * conform/data/sys/timeb.h-data: Likewise.
12521 * conform/data/sys/times.h-data: Likewise.
12522 * conform/data/sys/types.h-data: Likewise.
12523 * conform/data/sys/uio.h-data: Likewise.
12524 * conform/data/sys/un.h-data: Likewise.
12525 * conform/data/sys/utsname.h-data: Likewise.
12526 * conform/data/sys/wait.h-data: Likewise.
12527 * conform/data/syslog.h-data: Likewise.
12528 * conform/data/tar.h-data: Likewise.
12529 * conform/data/termios.h-data: Likewise.
12530 * conform/data/utime.h-data: Likewise.
12531 * conform/data/utmpx.h-data: Likewise.
12532 * conform/data/varargs.h-data: Likewise.
12533 * conform/data/wchar.h-data: Likewise.
12534 * conform/data/wctype.h-data: Likewise.
12535 * conform/data/wordexp.h-data: Likewise.
12536
12537 * include/stropts.h: New file.
12538 * include/uchar.h: New file.
12539 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12540 * include/assert.h: Likewise.
12541 * include/ctype.h: Likewise.
12542 * include/dirent.h: Likewise.
12543 * include/dlfcn.h: Likewise.
12544 * include/fcntl.h: Likewise.
12545 * include/fnmatch.h: Likewise.
12546 * include/glob.h: Likewise.
12547 * include/grp.h: Likewise.
12548 * include/libio.h: Likewise.
12549 * include/locale.h: Likewise.
12550 * include/math.h: Likewise.
12551 * include/net/if.h: Likewise.
12552 * include/netdb.h: Likewise.
12553 * include/netinet/in.h: Likewise.
12554 * include/pthread.h: Likewise.
12555 * include/pwd.h: Likewise.
12556 * include/regex.h: Likewise.
12557 * include/sched.h: Likewise.
12558 * include/search.h: Likewise.
12559 * include/setjmp.h: Likewise.
12560 * include/signal.h: Likewise.
12561 * include/stdio.h: Likewise.
12562 * include/stdlib.h: Likewise.
12563 * include/string.h: Likewise.
12564 * include/sys/cdefs.h: Likewise.
12565 * include/sys/mman.h: Likewise.
12566 * include/sys/msg.h: Likewise.
12567 * include/sys/resource.h: Likewise.
12568 * include/sys/select.h: Likewise.
12569 * include/sys/socket.h: Likewise.
12570 * include/sys/stat.h: Likewise.
12571 * include/sys/statvfs.h: Likewise.
12572 * include/sys/time.h: Likewise.
12573 * include/sys/times.h: Likewise.
12574 * include/sys/uio.h: Likewise.
12575 * include/sys/utsname.h: Likewise.
12576 * include/sys/wait.h: Likewise.
12577 * include/termios.h: Likewise.
12578 * include/time.h: Likewise.
12579 * include/ulimit.h: Likewise.
12580 * include/unistd.h: Likewise.
12581 * include/utime.h: Likewise.
12582 * include/wchar.h: Likewise.
12583 * include/wctype.h: Likewise.
12584 * include/wordexp.h: Likewise.
12585
12586 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12587
12588 * time/time.h: TIME_UTC must be a macro.
12589 Make timespec_get available for ISO C11 only as well.
12590
125912012-02-24 Ulrich Drepper <drepper@gmail.com>
12592
12593 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12594 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12595
125962012-02-24 Joseph Myers <joseph@codesourcery.com>
12597
12598 * configure.in: Use -o not -a in test for unsupported multi-arch.
12599
126002012-02-24 Joseph Myers <joseph@codesourcery.com>
12601
12602 * manual/texinfo.tex: Update to version 2012-01-19.16.
12603
126042012-02-24 Joseph Myers <joseph@codesourcery.com>
12605
12606 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12607
126082012-02-24 Roland McGrath <roland@hack.frob.com>
12609
12610 [BZ #13738]
12611 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12612 * manual/fdl-1.3.texi: New file.
12613 * manual/fdl-1.1.texi: File removed.
12614
12615 [BZ #13738]
12616 * manual/libc.texinfo (FDL_VERSION): New @set.
12617 Use it for mention of FDL in cover text.
12618 (Documentation License): Use it in @include file name.
12619
126202012-02-22 Joseph Myers <joseph@codesourcery.com>
12621 Roland McGrath <roland@hack.frob.com>
12622
12623 [BZ #5461]
12624 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12625 not LONG_LONG_MAX and LONG_LONG_MIN.
12626 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12627 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12628 name.
12629 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12630
126312012-02-22 Joseph Myers <joseph@codesourcery.com>
12632
12633 [BZ #2547]
12634 [BZ #11365]
12635 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12636 manipulate bits before adding and subtracting TWO23[sx].
12637 * math/libm-test.inc (nearbyint_test): Add more tests.
12638
126392012-02-22 Joseph Myers <joseph@codesourcery.com>
12640
12641 [BZ #2548]
12642 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12643 bits before adding and subtracting TWO23[sx].
12644 * math/libm-test.inc (rint_test): Add more tests.
12645 (rint_test_tonearest): Likewise.
12646 (rint_test_towardzero): Likewise.
12647 (rint_test_downward): Likewise.
12648 (rint_test_upward: Likewise.
12649
126502012-02-22 Joseph Myers <joseph@codesourcery.com>
12651
12652 [BZ #10110]
12653 * include/stdc-predef.h: New file. Extracted from features.h.
12654 * include/features.h: Include stdc-predef.h.
12655 * Makefile (headers): Add stdc-predef.h.
12656 * CONFORMANCE (Compiler limitations): Update.
12657
126582012-02-22 Joseph Myers <joseph@codesourcery.com>
12659
12660 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12661
126622012-02-21 David S. Miller <davem@davemloft.net>
12663
12664 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12665 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12666
126672012-02-20 David S. Miller <davem@davemloft.net>
12668
12669 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12670 using a normal save/restore sequence, rather than allocating a
12671 dummy stack frame just to store a frame pointer and restore.
12672 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12673
126742012-02-21 Joseph Myers <joseph@codesourcery.com>
12675
12676 * manual/install.texi: Fix stray word in line-wrapped comment.
12677
126782012-02-20 David S. Miller <davem@davemloft.net>
12679
12680 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12681 both binutils and gcc support GOTDATA.
12682
12683 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12684 "rd %pc" in the PIC register setup sequences.
12685
12686 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12687 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12688 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12689 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12690 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12692 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12693 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12694 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12695 (SYSCALL_ERROR_HANDLER): Likewise.
12696 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12697 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12699 (SYSCALL_ERROR_HANDLER): Likewise.
12700
12701 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12702 (HAVE_GCC_GOTDATA): New.
12703 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12704 relocation support in both binutils and gcc.
12705 * sysdeps/sparc/elf/configure: Regenerate.
12706
12707 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12708 * sysdeps/sparc/sparc32/elf/configure: Delete.
12709 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12710 * sysdeps/sparc/sparc64/elf/configure: Delete.
12711 * sysdeps/sparc/elf/configure.in: New file.
12712 * sysdeps/sparc/elf/configure: Generate.
12713
12714 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12715 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12716 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12717 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12718 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12719
127202012-02-21 Joseph Myers <joseph@codesourcery.com>
12721
12722 * manual/install.texi: Do not mention specific glibc version
12723 numbers.
12724 * manual/libc.texinfo (VERSION, UPDATED): Update.
12725 (@copying): Use @copyright{} and range of years.
12726
127272012-02-21 Joseph Myers <joseph@codesourcery.com>
12728
12729 [BZ #13695]
12730 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12731 [crti.S not in sysdirs] (generated): Do not append.
12732 [crti.S not in sysdirs] (omit-deps): Likewise.
12733 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12734 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12735 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12736 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12737 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12738 Likewise.
12739 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12740 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12741 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12742 * csu/defs.awk: Remove file.
12743 * sysdeps/generic/initfini.c: Likewise.
12744 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12745 variable.
12746 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12747 Likewise.
12748
127492012-02-20 Joseph Myers <joseph@codesourcery.com>
12750
12751 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12752 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12753 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12754 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12755 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12756 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12757 <bits/epoll.h>.
12758 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12759 (__EPOLL_PACKED): Define to empty if not defined by
12760 <bits/epoll.h>.
12761 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12763 bits/epoll.h.
12764
127652012-02-20 Joseph Myers <joseph@codesourcery.com>
12766
12767 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12768 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12769 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12770 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12771 <bits/timerfd.h>.
12772 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12774 bits/timerfd.h.
12775
127762012-02-20 Joseph Myers <joseph@codesourcery.com>
12777
12778 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12779 in C locale.
12780 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12781 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12782 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12784
127852012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12786
12787 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12788 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12789
127902012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12791
12792 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12793 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12794 defined.
12795 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12796 Likewise.
12797 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12798 entry for 2.16.
12799
128002012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12801
12802 * math/w_acos.c: Use non-signaling floating-point comparisons.
12803 * math/w_acosf.c: Likewise.
12804 * math/w_acosh.c: Likewise.
12805 * math/w_acoshf.c: Likewise.
12806 * math/w_acoshl.c: Likewise.
12807 * math/w_acosl.c: Likewise.
12808 * math/w_asin.c: Likewise.
12809 * math/w_asinf.c: Likewise.
12810 * math/w_asinl.c: Likewise.
12811 * math/w_atanh.c: Likewise.
12812 * math/w_atanhf.c: Likewise.
12813 * math/w_atanhl.c: Likewise.
12814 * math/w_exp2.c: Likewise.
12815 * math/w_exp2f.c: Likewise.
12816 * math/w_exp2l.c: Likewise.
12817 * math/w_j0.c: Likewise.
12818 * math/w_j0f.c: Likewise.
12819 * math/w_j0l.c: Likewise.
12820 * math/w_j1.c: Likewise.
12821 * math/w_j1f.c: Likewise.
12822 * math/w_j1l.c: Likewise.
12823 * math/w_jn.c: Likewise.
12824 * math/w_jnf.c: Likewise.
12825 * math/w_log.c: Likewise.
12826 * math/w_log10.c: Likewise.
12827 * math/w_log10f.c: Likewise.
12828 * math/w_log10l.c: Likewise.
12829 * math/w_log2.c: Likewise.
12830 * math/w_log2f.c: Likewise.
12831 * math/w_log2l.c: Likewise.
12832 * math/w_logf.c: Likewise.
12833 * math/w_logl.c: Likewise.
12834 * math/w_sqrt.c: Likewise.
12835 * math/w_sqrtf.c: Likewise.
12836 * math/w_sqrtl.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12838 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12839 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12840 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12841 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12842
128432012-02-19 Joseph Myers <joseph@codesourcery.com>
12844
12845 [BZ #9739]
12846 * manual/string.texi (strnlen): Use correct parameter name in
12847 equivalent expression.
12848
128492012-02-19 Joseph Myers <joseph@codesourcery.com>
12850
12851 [BZ #11174]
12852 * manual/users.texi (seteuid): Consistently use neweuid for
12853 argument name.
12854
128552012-02-19 Joseph Myers <joseph@codesourcery.com>
12856
12857 [BZ #13704]
12858 * manual/nss.texi (Services in the NSS configuration): Correct
12859 list of services in example configuration file.
12860
128612012-02-19 Nick Bowler <nbowler@draconx.ca>
12862
12863 [BZ #11322]
12864 * manual/arith.texi: Remove statements about negative zero
12865 behaving identically to zero.
12866
128672012-02-18 Joseph Myers <joseph@codesourcery.com>
12868
12869 [BZ #5993]
12870 * manual/install.texi: Do not document upgrading from libc5.
12871
128722012-02-18 Joseph Myers <joseph@codesourcery.com>
12873
12874 [BZ #4596]
12875 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12876
128772012-02-18 David S. Miller <davem@davemloft.net>
12878
12879 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12880 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12881 %o7 across the call.
12882 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12883 instead.
12884 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12885 SETUP_PIC_REG_LEAF.
12886 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12887 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12888 * sysdeps/sparc/crtn.S: Likewise.
12889
128902012-02-17 Ulrich Drepper <drepper@gmail.com>
12891
12892 * aout/Makefile: Remove.
12893
128942012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12895
12896 [BZ #13058]
12897 * manual/examples/argp-ex1.c (main): Format definition in GNU
12898 style.
12899 * manual/examples/argp-ex2.c (main): Likewise.
12900 * manual/examples/argp-ex3.c (main): Likewise.
12901 * manual/examples/argp-ex4.c (main): Likewise.
12902 * manual/examples/longopt.c (main): Use new-style prototype
12903 definition.
12904 * manual/examples/strncat.c (main): Specify return type and use
12905 (void) for arguments.
12906 * manual/examples/subopt.c (main): Use char **argv argument.
12907
129082012-02-17 Joseph Myers <joseph@codesourcery.com>
12909
12910 [BZ #5077]
12911 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12912 rounding modes.
12913
129142012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12915
12916 [BZ #6907]
12917 * manual/string.texi (strchr): Change when strchrnul is
12918 recommended.
12919
129202012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12921
12922 [BZ #174]
12923 * manual/locale.texi (setlocale): Document LOCPATH.
12924
129252012-02-17 Joseph Myers <joseph@codesourcery.com>
12926
12927 [BZ #10210]
12928 * manual/process.texi (execle): Move @dots{} before last argument.
12929
129302012-02-17 Paul Bolle <pebolle@tiscali.nl>
12931
12932 [BZ #12047]
12933 * manual/charset.texi (Generic Charset Conversion): Fix typo
12934 (LC_TYPE -> LC_CTYPE).
12935
129362012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12937
12938 [BZ #5805]
12939 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12940 (scalbnf): Likewise.
12941 (scalbnl): Likewise.
12942 (scalbln): Likewise.
12943 (scalblnf): Likewise.
12944 (scalblnl): Likewise.
12945 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12946 (vwarnx): Likewise.
12947 (verr): Likewise.
12948 (verrx): Likewise.
12949 * manual/filesys.texi (telldir): Use braces around return type.
12950 * manual/llio.texi (mmap): Add space after comma.
12951 (mmap64): Likewise.
12952 * manual/math.texi (jn): Use @var{} on parameter names.
12953 (jnf): Likewise.
12954 (jnl): Likewise.
12955 (yn): Likewise.
12956 (ynf): Likewise.
12957 (ynl): Likewise.
12958 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12959 line.
12960 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12961 "...".
12962 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12963 (sched_get_priority_max): Likewise.
12964 * manual/signal.texi (sigvec): Add space after comma.
12965 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12966 names.
12967 (if_indextoname): Likewise.
12968 (if_freenameindex): Likewise.
12969 (sendto): Use ',' instead of '.' in prototype.
12970 * manual/startup.texi (syscall): Use @dots{} instead of literal
12971 "...".
12972 * manual/stdio.texi (__fpending): Separate initial words of
12973 paragraph from @deftypefun line.
12974 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12975 "...".
12976 (vsyslog): Use @var{} on parameter names.
12977 * manual/terminal.texi (stty): Use @var{} on parameter names.
12978 * manual/users.texi (getutmp): Use @var{} on parameter names.
12979 (getutmpx): Likewise.
12980
129812012-02-17 Joseph Myers <joseph@codesourcery.com>
12982
12983 [BZ #6884]
12984 * manual/stdio.texi (fopen): Fix typos in description of
12985 ",ccs=STRING".
12986
129872012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12988
12989 [BZ #4026]
12990 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12991 get clock_id definition.
12992
129932012-02-17 Thomas Schwinge <thomas@schwinge.name>
12994
12995 [BZ #4822]
12996 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12997 (madvise): Cast every argument to void on its own.
12998
129992012-02-17 Joseph Myers <joseph@codesourcery.com>
13000
13001 [BZ #9902]
13002 * manual/startup.texi (Exit Status): Fix typo.
13003
130042012-02-17 Joseph Myers <joseph@codesourcery.com>
13005
13006 [BZ #10140]
13007 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13008 * manual/examples/argp-ex2.c: Likewise.
13009 * manual/examples/argp-ex3.c: Likewise.
13010
130112012-02-16 Richard Henderson <rth@redhat.com>
13012
13013 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13014 * sysdeps/s390/s390-32/initfini.c: Remove.
13015 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13016 * sysdeps/s390/s390-64/initfini.c: Remove.
13017
130182012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13019
13020 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13021 compiler output for sysdeps/generic/initfini.c.
13022 * sysdeps/sh/elf/initfini.c: Remove file.
13023
130242012-02-16 David S. Miller <davem@davemloft.net>
13025
13026 [BZ #11494]
13027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13028
13029 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13030 * sysdeps/sparc/crti.S: New file.
13031 * sysdeps/sparc/crtn.S: New file.
13032 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13033 * sysdeps/sparc/sparc64/Makefile: Likewise.
13034
130352012-02-15 Mike Frysinger <vapier@gentoo.org>
13036
13037 [BZ #3335]
13038 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13039
130402012-02-15 Roland McGrath <roland@hack.frob.com>
13041
13042 [BZ #4822]
13043 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13044
13045 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13046 (write, read, close): Likewise.
13047 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13048
130492012-02-15 Joseph Myers <joseph@codesourcery.com>
13050
13051 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13052 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13053 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13054 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13055 <bits/signalfd.h>.
13056 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13058 bits/signalfd.h.
13059
130602012-02-14 Marek Polacek <polacek@redhat.com>
13061
13062 * sysdeps/x86_64/crti.S: New file.
13063 * sysdeps/x86_64/crtn.S: New file.
13064 * sysdeps/x86_64/elf/initfini.c: Remove file.
13065
130662012-02-13 Joseph Myers <joseph@codesourcery.com>
13067
13068 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13069 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13070 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13071 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13072 <bits/inotify.h>.
13073 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13075 bits/inotify.h.
13076
130772012-02-13 Joseph Myers <joseph@codesourcery.com>
13078
13079 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13080 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13081 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13082 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13083 <bits/eventfd.h>.
13084 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13085 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13086 bits/eventfd.h.
13087
130882012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13089
13090 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13091 __feraiseexcept instead of feraiseexcept.
13092
13093 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13094 nanosleep invocations.
13095 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13096 strings, and add error checking for a nanosleep invocations.
13097
130982012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13099
13100 Replace FSF snail mail address with URLs, as per GNU coding standards.
13101 Most of the snail mail addresses were wrong anyway, and omitting
13102 them makes the source code easier to maintain. Almost all of the
13103 changes are to license notices and to locale LC_IDENTIFICATION
13104 addresses, except for this one:
13105 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13106 not its snail mail address.
13107
131082012-02-09 Richard Henderson <rth@twiddle.net>
13109
13110 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13111 of kernel-features.h.
13112
13113 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13114
131152012-02-08 Marek Polacek <polacek@redhat.com>
13116
13117 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13118 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13119 * sysdeps/gnu/_G_config.h: Likewise.
13120 * sysdeps/generic/_G_config.h: Likewise.
13121
131222012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13123
13124 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13125 tests.
13126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13127
13128 * sysdeps/powerpc/powerpc32/crti.S: New file.
13129 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13130 * sysdeps/powerpc/powerpc64/crti.S: New file.
13131 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13132
13133 * Makeconfig (have-initfini): Don't set.
13134 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13135 * configure.in (nopic_initfini): Don't substitute.
13136 * config.h.in (HAVE_INITFINI): Don't #undef.
13137 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13138 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13139
131402012-02-08 Joseph Myers <joseph@codesourcery.com>
13141
13142 Support crti.S and crtn.S provided directly by architectures.
13143 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13144 [crti.S in sysdirs] (omit-deps): Likewise.
13145 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13146 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13147 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13148 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13149 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13150 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13151 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13152 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13153 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13154 compiler output for sysdeps/generic/initfini.c.
13155 * sysdeps/i386/elf/Makefile: Remove file.
13156 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13157
131582012-02-07 Marek Polacek <polacek@redhat.com>
13159
13160 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13161 * sysdeps/gnu/_G_config.h: Likewise.
13162 * sysdeps/mach/hurd/_G_config.h: Likewise.
13163
131642012-02-07 Marek Polacek <polacek@redhat.com>
13165
13166 * math/Makefile (tests): Add tst-CMPLX2.
13167 * math/tst-CMPLX2.c: New file.
13168
131692012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13170
13171 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13172
13173 * math/libm-test.inc (jn_test): Add missing L suffix.
13174
131752012-02-06 Marek Polacek <polacek@redhat.com>
13176
13177 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13178 * sysdeps/i386/fpu/e_powf.S: Likewise.
13179 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13180 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13181 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13182 * sysdeps/i386/fpu/e_pow.S: Likewise.
13183 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13184 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13185 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13186 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13187 * sysdeps/i386/fpu/e_log2.S: Likewise.
13188 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13189 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13190 * sysdeps/i386/fpu/e_powl.S: Likewise.
13191 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13192 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13193 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13194 * sysdeps/i386/fpu/e_logl.S: Likewise.
13195 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13196 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13197 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13198 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13199 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13200 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13201 * sysdeps/i386/fpu/e_log.S: Likewise.
13202 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13203 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13204 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13205 * sysdeps/i386/fpu/e_logf.S: Likewise.
13206 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13207 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13208 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13209 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13210 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13211 * sysdeps/i386/fpu/e_log10.S: Likewise.
13212 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13213 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13214 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13215 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13216 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13217 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13218 * sysdeps/i386/asm-syntax.h: Likewise.
13219 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13220 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13221 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13222 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13223 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13224 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13225 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13226 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13227 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13228 * sysdeps/powerpc/sysdep.h: Likewise.
13229 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13230 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13231
132322012-02-06 Joseph Myers <joseph@codesourcery.com>
13233
13234 [BZ #411]
13235 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13236
132372012-02-06 Joseph Myers <joseph@codesourcery.com>
13238
13239 * sysdeps/i386/sysdep.h: Include <features.h>.
13240 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13241 version.
13242
132432012-02-05 Joseph Myers <joseph@codesourcery.com>
13244
13245 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13246 Define.
13247 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13248 LOAD_PIC_REG_STR.
13249
132502012-02-03 Joseph Myers <joseph@codesourcery.com>
13251
13252 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13253 (SETUP_PIC_REG): Use GET_PC_THUNK.
13254 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13255 macro.
13256
132572012-02-03 Joseph Myers <joseph@codesourcery.com>
13258
13259 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13260 for non-PIC compilation.
13261 (SETUP_PIC_REG): Add .p2align directive.
13262 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13263 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13264 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13265 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13266 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13267 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13268 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13269 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13270 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13271 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13272 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13273 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13274 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13275 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13276 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13277 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13278 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13279 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13280 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13281 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13282 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13283 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13284 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13285 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13286 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13287 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13288 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13289 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13290 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13291 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13292 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13293 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13294 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13295 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13296 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13297 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13298 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13299 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13300 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13301 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13302 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13303
133042012-02-03 Joseph Myers <joseph@codesourcery.com>
13305
13306 * math/tst-CMPLX.c: Include <stdio.h>.
13307
133082012-01-31 Joseph Myers <joseph@codesourcery.com>
13309
13310 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13311 float.
13312 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13313 * sysdeps/sparc/bits/mathdef.h: Likewise.
13314
133152012-01-31 Marek Polacek <polacek@redhat.com>
13316
13317 * libio/libio.h: Don't define _PARAMS.
13318 * locale/programs/config.h: Don't define PARAMS.
13319 * stdlib/strtol_l.c: Likewise.
13320 (__strtol_l): Remove PARAMS from the prototype.
13321
133222012-01-31 Ulrich Drepper <drepper@gmail.com>
13323
13324 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13325 names. Just use the correct names. Remove unnecessary wrapper
13326 functions.
13327 * malloc/arena.c: Likewise.
13328 * malloc/hooks.c: Likewise.
13329
13330 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13331 ARENA_TEST says not to. Simplify test for creation of a new arena.
13332 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13333
133342012-01-30 Ulrich Drepper <drepper@gmail.com>
13335
13336 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13337 into tail calls.
13338 (update_get_addr): New function.
13339 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13340 GET_ADDR_MODULE parameter.
13341
133422012-01-30 Joseph Myers <joseph@codesourcery.com>
13343
13344 * crypt/cert.c: Remove __STDC__ conditionals.
13345 * crypt/crypt-entry.c: Likewise.
13346 * crypt/crypt_util.c: Likewise.
13347 * libio/filedoalloc.c: Likewise.
13348 * libio/fileops.c: Likewise.
13349 * libio/genops.c: Likewise.
13350 * libio/iofclose.c: Likewise.
13351 * libio/iofdopen.c: Likewise.
13352 * libio/iofopen.c: Likewise.
13353 * libio/iofopen64.c: Likewise.
13354 * libio/iogetdelim.c: Likewise.
13355 * libio/iopopen.c: Likewise.
13356 * libio/obprintf.c: Likewise.
13357 * libio/oldfileops.c: Likewise.
13358 * libio/oldiofclose.c: Likewise.
13359 * libio/oldiofdopen.c: Likewise.
13360 * libio/oldiofopen.c: Likewise.
13361 * libio/oldiopopen.c: Likewise.
13362 * libio/wfiledoalloc.c: Likewise.
13363 * libio/wgenops.c: Likewise.
13364 * locale/programs/xmalloc.c: Likewise.
13365 * misc/syslog.c: Likewise.
13366 * stdio-common/xbug.c: Likewise.
13367 * string/memchr.c: Likewise.
13368 * string/memcmp.c: Likewise.
13369 * string/memrchr.c: Likewise.
13370 * string/rawmemchr.c: Likewise.
13371 * sysdeps/posix/getcwd.c: Likewise.
13372 * time/strftime_l.c: Likewise.
13373
133742012-01-30 Joseph Myers <joseph@codesourcery.com>
13375
13376 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
13377 * config.make.in (config-cflags-sse2avx): Define.
13378 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13379 Fix typo.
13380
133812012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13382
13383 * scripts/config.guess: Update from upstream config git repository.
13384 * scripts/config.sub: Likewise.
13385
133862012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13387
13388 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13389 (EM_NUM): Update.
13390 (R_TILEPRO_*, R_TILEGX_*): New macros.
13391
13392 * scripts/firstversions.awk: Fix bug in version range handling.
13393
13394 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13395
13396 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13397
13398 * include/sys/epoll.h: New file.
13399 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13400 libc_hidden_def.
13401
134022012-01-28 Ulrich Drepper <drepper@gmail.com>
13403
13404 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13405 Avoid unnecessary __WORDSIZE == 64 test.
13406 (fmaxf): Use VEX format if possible.
13407 (fmax): Likewise.
13408 (fminf): Likewise.
13409 (fmin): Likewise.
13410
13411 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13412 * math/math_private.h: Remove libc_fegetround* and
13413 libc_fesetround*.
13414 * sysdeps/i386/configure.in: Check for -msse2avx.
13415 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13416 also if SSE2AVX is defined.
13417 Remove libc_fegetround* and libc_fesetround*.
13418 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13419 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13420 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13421 of HAS_YMM_USABLE.
13422 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13423 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13424 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13425 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13426 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13427
13428 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13429
134302012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13431
13432 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13433 size is not set.
13434 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13435
134362012-01-27 Ulrich Drepper <drepper@gmail.com>
13437
13438 [BZ #13618]
13439 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13440 relocation.
13441 * Makeconfig (libm): Define.
13442 * elf/Makefile: Add rules to build and run tst-relsort1.
13443 * elf/tst-relsort1.c: New file.
13444 * elf/tst-relsort1mod1.c: New file.
13445 * elf/tst-relsort1mod2.c: New file.
13446
134472012-01-27 Joseph Myers <joseph@codesourcery.com>
13448
13449 * math/s_ldexp.c: Remove __STDC__ conditionals.
13450 * math/s_ldexpf.c: Likewise.
13451 * math/s_ldexpl.c: Likewise.
13452 * math/s_nextafter.c: Likewise.
13453 * math/s_nexttowardf.c: Likewise.
13454 * math/s_significand.c: Likewise.
13455 * math/s_significandf.c: Likewise.
13456 * math/s_significandl.c: Likewise.
13457 * math/w_jnl.c: Likewise.
13458 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13459 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13460 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13461 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13462 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13463 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13464 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13465 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13466 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13467 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13468 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13469 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13470 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13471 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13472 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13473 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13474 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13475 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13476 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13477 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13478 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13479 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13480 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13481 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13482 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13483 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13484 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13485 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13486 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13487 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13488 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13489 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13490 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13491 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13492 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13493 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13494 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13495 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13496 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13497 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13498 * sysdeps/ieee754/k_standard.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13508 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13512 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13514 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13518 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13528 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13529 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13530 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13531 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13532 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13534 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13536 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13537 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13538 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13543 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13544 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13553 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13554 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13556 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13557 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13558 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13559 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13560 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13561 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13562 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13563 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13565 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13566 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13567 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13568 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13569 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13573 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13574 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13578 * sysdeps/ieee754/s_matherr.c: Likewise.
13579 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13580 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13581 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13582 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13583
135842012-01-26 Joseph Myers <joseph@codesourcery.com>
13585
13586 * crypt/md5.h: Remove __STDC__ conditionals.
13587 * libio/libioP.h: Likewise.
13588 * locale/programs/config.h: Likewise.
13589 * sysdeps/generic/sysdep.h: Likewise.
13590 * sysdeps/i386/asm-syntax.h: Likewise.
13591 * sysdeps/s390/asm-syntax.h: Likewise.
13592 * sysdeps/unix/sysdep.h: Likewise.
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13595
135962012-01-26 Joseph Myers <joseph@codesourcery.com>
13597
13598 * libio/libio.h: Remove __STDC__ conditionals.
13599 * malloc/obstack.h: Likewise.
13600 * math/complex.h: Likewise.
13601 * math/math.h: Likewise.
13602 * sysdeps/generic/_G_config.h: Likewise.
13603 * sysdeps/gnu/_G_config.h: Likewise.
13604 * sysdeps/mach/hurd/_G_config.h: Likewise.
13605 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13606 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13607 * sysdeps/sparc/bits/mathdef.h: Likewise.
13608
136092012-01-26 Ulrich Drepper <drepper@gmail.com>
13610
13611 [BZ #13583]
13612 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13613 Clean up HAS_* macros.
13614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13615 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13616 possible.
13617 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13618 HAS_AVX.
13619 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13620 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13621 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13622 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13623 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13624
136252012-01-25 Joseph Myers <joseph@codesourcery.com>
13626
13627 * elf/tst-unique3.cc (gets): Remove declaration.
13628 * elf/tst-unique3lib.cc (gets): Likewise.
13629 * elf/tst-unique3lib2.cc (gets): Likewise.
13630 * elf/tst-unique4.cc (gets): Likewise.
13631
136322012-01-24 Ulrich Drepper <drepper@gmail.com>
13633
13634 * include/stdio.h: Add C++ protection. Add gets declarations and
13635 definitions.
13636 * debug/tst-chk1.c: Don't declare gets here.
13637 * stdio-common/tst-gets.c: Likewise.
13638
136392012-01-24 Joseph Myers <joseph@codesourcery.com>
13640
13641 * posix/glob: Remove directory.
13642
136432012-01-24 Joseph Myers <joseph@codesourcery.com>
13644
13645 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13646
136472012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13648
13649 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13650 of the non-standard EPFNOSUPPORT.
13651
136522011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13653
13654 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13655 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13656 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13657
136582012-01-21 Ulrich Drepper <drepper@gmail.com>
13659
13660 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13661
136622012-01-20 Ulrich Drepper <drepper@gmail.com>
13663
13664 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13665 transient errors.
13666 * nscd/grpcache.c (cache_addgr): Likewise.
13667 * nscd/hstcache.c (cache_addhst): Likewise.
13668 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13669 * nscd/pwdcache.c (cache_addpw): Likewise.
13670 * nscd/servicescache.c (cache_addserv): Likewise.
13671
136722012-01-16 Ulrich Drepper <drepper@gmail.com>
13673
13674 * malloc/malloc.c: Various cleanups.
13675 * malloc/hooks.c: Likewise.
13676
13677 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13678 * stdlib/bug-fmtmsg1.c: New file.
13679
13680 * stdlib/fmtmsg.c (init): Add missing unlock.
13681 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13682
136832012-01-12 Marek Polacek <polacek@redhat.com>
13684
13685 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13686 and _GNU_SOURCE.
13687
136882012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13689
13690 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13691 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13692 macro to ensure uniqueness of label name.
13693 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13694 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13695
136962012-01-11 Ulrich Drepper <drepper@gmail.com>
13697
13698 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13699
13700 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13701 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13702 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13703 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13704
137052012-01-10 Ulrich Drepper <drepper@gmail.com>
13706
13707 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13708
13709 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13710 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13711 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13712
13713 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13714
13715 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13716 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13717 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13719
13720 * math/bits/math-finite.h: Add ldexp support.
13721
137222012-01-10 Marek Polacek <polacek@redhat.com>
13723
13724 * locale/programs/localedef.h (show_archive_content): Add noreturn
13725 attribute.
13726
137272012-01-09 Ulrich Drepper <drepper@gmail.com>
13728
13729 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13730
137312012-01-08 Ulrich Drepper <drepper@gmail.com>
13732
13733 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13734
13735 * io/Makefile (headers): Add bits/poll2.h.
13736
137372011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13738
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13740 typo #include statement.
13741
137422012-01-08 Ulrich Drepper <drepper@gmail.com>
13743
13744 * include/sys/cdefs.h: Define __attribute_alloc_size.
13745 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13746 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13747 * elf/pldd.c: Likewise.
13748 * iconv/iconv_charmap.c: Likewise.
13749 * iconv/iconvconfig.c: Likewise.
13750 * iconv/strtab.c: Likewise.
13751 * locale/programs/locale.c: Likewise.
13752 * locale/programs/localedef.h: Likewise.
13753 * locale/programs/simple-hash.c: Likewise.
13754 * nscd/nscd.h: Likewise.
13755 * nss/makedb.c: Likewise.
13756 * sysdeps/generic/ldconfig.h: Likewise.
13757 * locale/programs/localedef.c: Remove xmalloc prototype.
13758 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13759
137602012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13761
13762 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13763 appropriate.
13764
137652012-01-08 Ulrich Drepper <drepper@gmail.com>
13766
13767 * math/Makefile (tests): Add tst-CMPLX.
13768 * math/tst-CMPLX.c: New file.
13769
13770 * math/complex.h (CMPLXL): Fix typo.
13771
13772 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13773 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13774 GLIBC_2.16.
13775 * debug/tst-chk1.c: Add poll and ppoll tests.
13776 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13777 * include/sys/poll.h: Add hidden proto for ppoll.
13778 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13779 * sysdeps/mach/hurd/ppoll.c: Likewise.
13780 * io/ppoll.c: Likewise.
13781 * debug/poll_chk.c: New file.
13782 * debug/ppoll_chk.c: New file.
13783 * include/bits/poll2.h: New file.
13784 * io/bits/poll2.h: New file.
13785
13786 [BZ #1350]
13787 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13788
13789 * configure.in: static is always set to yes. Remove.
13790 * config.make.in: Don't set build-static.
13791 * Makeconfig: Remove use of build-static.
13792 * dlfcn/Makefile: Likewise.
13793 * elf/Makefile: Likewise.
13794 * math/Makefile: Likewise.
13795 * misc/Makefile: Likewise.
13796 * nptl/Makefile: Likewise.
13797 * sysdeps/mach/hurd/Makefile: Likewise.
13798
13799 * configure.in: PWD_P is not used anymore.
13800 * config.make.in: Remove PWD_P entry.
13801
13802 * configure.in: Remove last remnants of RANLIB.
13803 No need to check for signed size_t anymore.
13804 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13805 and IA-64.
13806 Remove __builtin_expect test because we require at least gcc 3.4.
13807 * aclocal.m4: Likewise.
13808
13809 * wcsmbs/mbrtoc16.c: Implement using towc function.
13810 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13811 * wcsmbs/wcsmbsload.c: Likewise.
13812 * iconv/gconv_simple.c: Likewise.
13813 * iconv/gconv_int.h: Likewise.
13814 * iconv/gconv_builtin.h: Likewise.
13815 * iconv/iconv_prog.c: Remove CHAR16 handling.
13816
13817 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13818
13819 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13820
13821 * configure.in: Remove --with-elf and --enable-bounded options.
13822 Dont set base_machine for ia64. More non-ELF conditions removed.
13823 Remove testing and setting of leading underscore information.
13824 * config.make.in (build-bounded): Set to no.
13825 * config.h.in: Remove NO_UNDERSCORES entry.
13826 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13827 them.
13828 * csu/start.c: Remove !NO_UNDERSCORE code.
13829 * locale/localeinfo.h: Likewise.
13830 * sysdeps/generic/machine-gmon.h: Likewise.
13831 * sysdeps/generic/sysdep.h: Likewise.
13832 * sysdeps/i386/sysdep.h: Likewise.
13833 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13834 * sysdeps/mach/sysdep.h: Likewise.
13835 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13836 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13837 * sysdeps/sh/sysdep.h: Likewise.
13838 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13839 * sysdeps/unix/i386/sysdep.S: Likewise.
13840 * sysdeps/unix/sparc/start.c: Likewise.
13841 * sysdeps/unix/sparc/sysdep.S: Likewise.
13842 * sysdeps/unix/sparc/sysdep.h: Likewise.
13843 * sysdeps/unix/start.c: Likewise.
13844 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13845 * sysdeps/x86_64/sysdep.h: Likewise.
13846
138472012-01-07 Ulrich Drepper <drepper@gmail.com>
13848
13849 [BZ #13553]
13850 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13851 for non-gcc.
13852 * argp/argp-fmtstream.h: Use const instead __const.
13853 * argp/argp.h: Likewise.
13854 * assert/assert.h: Likewise.
13855 * bits/fenv.h: Likewise.
13856 * bits/sched.h: Likewise.
13857 * bits/sigset.h: Likewise.
13858 * bits/sigthread.h: Likewise.
13859 * catgets/nl_types.h: Likewise.
13860 * conform/data/pthread.h-data: Likewise.
13861 * crypt/crypt-private.h: Likewise.
13862 * crypt/crypt.h: Likewise.
13863 * crypt/crypt_util.c: Likewise.
13864 * ctype/ctype.h: Likewise.
13865 * debug/execinfo.h: Likewise.
13866 * debug/mbsnrtowcs_chk.c: Likewise.
13867 * debug/mbsrtowcs_chk.c: Likewise.
13868 * debug/wcsnrtombs_chk.c: Likewise.
13869 * debug/wcsrtombs_chk.c: Likewise.
13870 * debug/wcstombs_chk.c: Likewise.
13871 * dirent/dirent.h: Likewise.
13872 * dlfcn/dlfcn.h: Likewise.
13873 * elf/neededtest4.c: Likewise.
13874 * grp/grp.h: Likewise.
13875 * gshadow/gshadow.h: Likewise.
13876 * iconv/gconv.h: Likewise.
13877 * iconv/gconv_int.h: Likewise.
13878 * iconv/gconv_simple.c: Likewise.
13879 * iconv/iconv.h: Likewise.
13880 * iconv/loop.c: Likewise.
13881 * iconv/skeleton.c: Likewise.
13882 * include/aio.h: Likewise.
13883 * include/aliases.h: Likewise.
13884 * include/argz.h: Likewise.
13885 * include/arpa/inet.h: Likewise.
13886 * include/assert.h: Likewise.
13887 * include/dirent.h: Likewise.
13888 * include/dlfcn.h: Likewise.
13889 * include/execinfo.h: Likewise.
13890 * include/fcntl.h: Likewise.
13891 * include/fenv.h: Likewise.
13892 * include/glob.h: Likewise.
13893 * include/grp.h: Likewise.
13894 * include/libintl.h: Likewise.
13895 * include/mntent.h: Likewise.
13896 * include/netdb.h: Likewise.
13897 * include/pwd.h: Likewise.
13898 * include/rpc/netdb.h: Likewise.
13899 * include/sched.h: Likewise.
13900 * include/search.h: Likewise.
13901 * include/shadow.h: Likewise.
13902 * include/signal.h: Likewise.
13903 * include/stdio.h: Likewise.
13904 * include/stdlib.h: Likewise.
13905 * include/string.h: Likewise.
13906 * include/sys/socket.h: Likewise.
13907 * include/sys/stat.h: Likewise.
13908 * include/sys/statfs.h: Likewise.
13909 * include/sys/statvfs.h: Likewise.
13910 * include/sys/syslog.h: Likewise.
13911 * include/sys/time.h: Likewise.
13912 * include/sys/uio.h: Likewise.
13913 * include/time.h: Likewise.
13914 * include/unistd.h: Likewise.
13915 * include/utmp.h: Likewise.
13916 * include/wchar.h: Likewise.
13917 * include/wctype.h: Likewise.
13918 * inet/aliases.h: Likewise.
13919 * inet/arpa/inet.h: Likewise.
13920 * inet/netinet/ether.h: Likewise.
13921 * inet/netinet/in.h: Likewise.
13922 * intl/libintl.h: Likewise.
13923 * io/bits/fcntl2.h: Likewise.
13924 * io/fcntl.h: Likewise.
13925 * io/ftw.h: Likewise.
13926 * io/sys/poll.h: Likewise.
13927 * io/sys/stat.h: Likewise.
13928 * io/sys/statfs.h: Likewise.
13929 * io/sys/statvfs.h: Likewise.
13930 * io/utime.h: Likewise.
13931 * libio/bits/stdio.h: Likewise.
13932 * libio/bits/stdio2.h: Likewise.
13933 * libio/libio.h: Likewise.
13934 * libio/libioP.h: Likewise.
13935 * libio/stdio.h: Likewise.
13936 * locale/lc-ctype.c: Likewise.
13937 * locale/locale.h: Likewise.
13938 * login/utmp.h: Likewise.
13939 * malloc/arena.c: Likewise.
13940 * malloc/malloc.c: Likewise.
13941 * malloc/malloc.h: Likewise.
13942 * malloc/mcheck.c: Likewise.
13943 * malloc/mtrace.c: Likewise.
13944 * math/bits/mathcalls.h: Likewise.
13945 * math/fenv.h: Likewise.
13946 * math/math_private.h: Likewise.
13947 * misc/bits/error.h: Likewise.
13948 * misc/bits/syslog.h: Likewise.
13949 * misc/err.h: Likewise.
13950 * misc/error.h: Likewise.
13951 * misc/fstab.h: Likewise.
13952 * misc/mntent.h: Likewise.
13953 * misc/regexp.h: Likewise.
13954 * misc/search.h: Likewise.
13955 * misc/sgtty.h: Likewise.
13956 * misc/sys/mman.h: Likewise.
13957 * misc/sys/syslog.h: Likewise.
13958 * misc/sys/uio.h: Likewise.
13959 * misc/sys/xattr.h: Likewise.
13960 * misc/ttyent.h: Likewise.
13961 * nis/rpcsvc/ypclnt.h: Likewise.
13962 * nss/nss.h: Likewise.
13963 * posix/bits/unistd.h: Likewise.
13964 * posix/fnmatch.h: Likewise.
13965 * posix/glob.h: Likewise.
13966 * posix/sched.h: Likewise.
13967 * posix/spawn.h: Likewise.
13968 * posix/sys/wait.h: Likewise.
13969 * posix/unistd.h: Likewise.
13970 * posix/wordexp.h: Likewise.
13971 * pwd/pwd.h: Likewise.
13972 * resolv/netdb.h: Likewise.
13973 * resource/sys/resource.h: Likewise.
13974 * rt/aio.h: Likewise.
13975 * rt/bits/mqueue2.h: Likewise.
13976 * rt/mqueue.h: Likewise.
13977 * shadow/shadow.h: Likewise.
13978 * signal/signal.h: Likewise.
13979 * socket/send.c: Likewise.
13980 * socket/sendto.c: Likewise.
13981 * socket/sys/socket.h: Likewise.
13982 * stdio-common/printf.h: Likewise.
13983 * stdlib/bits/stdlib.h: Likewise.
13984 * stdlib/fmtmsg.h: Likewise.
13985 * stdlib/monetary.h: Likewise.
13986 * stdlib/stdlib.h: Likewise.
13987 * stdlib/ucontext.h: Likewise.
13988 * streams/stropts.h: Likewise.
13989 * string/argz.h: Likewise.
13990 * string/bits/string2.h: Likewise.
13991 * string/string.h: Likewise.
13992 * string/strings.h: Likewise.
13993 * sunrpc/rpc/auth.h: Likewise.
13994 * sunrpc/rpc/auth_des.h: Likewise.
13995 * sunrpc/rpc/clnt.h: Likewise.
13996 * sunrpc/rpc/netdb.h: Likewise.
13997 * sunrpc/rpc/pmap_clnt.h: Likewise.
13998 * sunrpc/rpc/xdr.h: Likewise.
13999 * sysdeps/generic/inttypes.h: Likewise.
14000 * sysdeps/generic/net/if.h: Likewise.
14001 * sysdeps/generic/sys/swap.h: Likewise.
14002 * sysdeps/gnu/net/if.h: Likewise.
14003 * sysdeps/gnu/utmpx.h: Likewise.
14004 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14005 * sysdeps/i386/i486/bits/string.h: Likewise.
14006 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14007 * sysdeps/s390/bits/string.h: Likewise.
14008 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14009 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14010 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14011 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14012 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14013 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14014 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14015 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14016 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14017 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14018 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14019 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14020 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14021 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14022 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14023 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14024 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14026 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14027 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14028 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14029 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14030 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14031 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14032 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14033 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14034 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14035 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14036 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14037 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14038 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14039 * sysvipc/sys/ipc.h: Likewise.
14040 * sysvipc/sys/msg.h: Likewise.
14041 * sysvipc/sys/sem.h: Likewise.
14042 * sysvipc/sys/shm.h: Likewise.
14043 * termios/termios.h: Likewise.
14044 * time/sys/time.h: Likewise.
14045 * time/time.h: Likewise.
14046 * wcsmbs/bits/wchar2.h: Likewise.
14047 * wcsmbs/uchar.h: Likewise.
14048 * wcsmbs/wchar.h: Likewise.
14049 * wctype/wctype.h: Likewise.
14050
14051 [BZ #13551]
14052 * Makeconfig: Remove all but ELF support including AIX support.
14053 * Makerules: Likewise.
14054 * config.h.in: Likewise.
14055 * config.make.in: Likewise.
14056 * configure: Likewise.
14057 * configure.in: Likewise.
14058 * csu/Makefile: Likewise.
14059 * csu/version.c: Likewise.
14060 * debug/Makefile: Likewise.
14061 * dlfcn/Makefile: Likewise.
14062 * elf/Makefile: Likewise.
14063 * extra-lib.mk: Likewise.
14064 * iconv/Makefile: Likewise.
14065 * include/libc-symbols.h: Likewise.
14066 * include/shlib-compat.h: Likewise.
14067 * resolv/Makefile: Likewise.
14068 * resolv/res_libc.c: Likewise.
14069 * rt/Makefile: Likewise.
14070 * sysdeps/i386/asm-syntax.h: Likewise.
14071 * sysdeps/i386/sysdep.h: Likewise.
14072 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14073 * sysdeps/mach/sysdep.h: Likewise.
14074 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14075 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14076 * sysdeps/s390/asm-syntax.h: Likewise.
14077 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14078 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14079 * sysdeps/sh/sysdep.h: Likewise.
14080 * sysdeps/unix/sparc/sysdep.h: Likewise.
14081 * sysdeps/wordsize-32/divdi3.c: Likewise.
14082 * sysdeps/x86_64/sysdep.h: Likewise.
14083
14084 * argp/Versions: Remove _argp_unlock_xxx.
14085
14086 [BZ #13559]
14087 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14088 * abilist/libBrokenLocale.abilist: Likewise.
14089 * abilist/libanl.abilist: Likewise.
14090 * abilist/libc.abilist: Likewise.
14091 * abilist/libcrypt.abilist: Likewise.
14092 * abilist/libdl.abilist: Likewise.
14093 * abilist/libm.abilist: Likewise.
14094 * abilist/libnsl.abilist: Likewise.
14095 * abilist/libpthread.abilist: Likewise.
14096 * abilist/libresolv.abilist: Likewise.
14097 * abilist/librt.abilist: Likewise.
14098 * abilist/libthread_db.abilist: Likewise.
14099 * abilist/libutil.abilist: Likewise.
14100 * abilist/libnss_db.abilist: New file.
14101
14102 * scripts/abilist.awk: Add support for indirect functions.
14103
14104 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14105
14106 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14107
14108 * shlib-versions: Remove entries for ports architectures.
14109
14110 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14111 files in ports.
14112 * elf/stackguard-macros.h: Remove support for IA-64.
14113 * elf/tst-auditmod1.c: Likewise.
14114 * sysdeps/generic/ldsodefs.h: Likewise.
14115
14116 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14117 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14118 configure files.
14119
14120 [BZ #13552]
14121 * configure.in: Remove --enable-omitfp support.
14122 * FAQ.in: Adjust.
14123 * config.make.in: Likewise.
14124 * Makeconfig: Likewise.
14125 * manual/install.texi: Likewise.
14126
14127 In case anyone cares, the IA-64 architecture could move to ports.
14128 * sysdeps/ia64/*: Removed.
14129 * sysdeps/unix/sysv/linux/ia64/*: Removed.
14130 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
14131
14132 [BZ #13555]
14133 * configure.in: Remove entries for unsupported architectures.
14134
14135 [BZ #13533]
14136 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14137 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14138 routines.
14139 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14140 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14141 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14142 fall back to using wcrtomb.
14143 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14144 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14145 renaming.
14146 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14147 * wcsmbs/tst-c16c32-1.c: New file.
14148
14149 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14150 local variable.
14151
14152 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14153
14154 * elf/tst-unique3.cc: Add explicit declaration of gets.
14155 * elf/tst-unique3lib.cc: Likewise.
14156 * elf/tst-unique3lib2.cc: Likewise.
14157 * elf/tst-unique4.cc: Likewise.
14158
14159 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14160
141612012-01-06 Joseph Myers <joseph@codesourcery.com>
14162
14163 [BZ #13566]
14164 * assert/assert.h (static_assert): Don't define for C++.
14165 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14166 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14167
141682012-01-03 Ulrich Drepper <drepper@gmail.com>
14169
14170 * iconv/loop.c (single loop): Fix assertion in storing of
14171 remaining bytes.
14172
14173 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14174
141752012-01-01 Ulrich Drepper <drepper@gmail.com>
14176
14177 * posix/getconf.c: Update copyright year.
14178 * nss/getent.c: Likewise.
14179 * nss/makedb.c: Likewise.
14180 * iconv/iconvconfig.c: Likewise.
14181 * iconv/iconv_prog.c: Likewise.
14182 * elf/ldconfig.c: Likewise.
14183 * elf/pldd.c: Likewise.
14184 * elf/sotruss.ksh: Likewise.
14185 * catgets/gencat.c: Likewise.
14186 * csu/version.c: Likewise.
14187 * elf/ldd.bash.in: Likewise.
14188 * elf/sprof.c (print_version): Likewise.
14189 * locale/programs/locale.c: Likewise.
14190 * locale/programs/localedef.c: Likewise.
14191 * login/programs/pt_chown.c: Likewise.
14192 * nscd/nscd.c (print_version): Likewise.
14193 * debug/xtrace.sh: Likewise.
14194 * malloc/memusage.sh: Likewise.
14195 * malloc/mtrace.pl: Likewise.
14196 * debug/catchsegv.sh: Likewise.
14197
141982011-12-30 Jakub Jelinek <jakub@redhat.com>
14199
14200 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14201 pure attribute.
14202
142032011-12-24 Ulrich Drepper <drepper@gmail.com>
14204
14205 [BZ #13533]
14206 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14207 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14208 transformations.
14209 * iconv/gconv_int.h: Likewise.
14210 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14211 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14212 from libc for GLIBC_2.16.
14213 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14214 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14215 * wcsmbs/uchar.h: Really define mbstate_t.
14216 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14217 * wcsmbs/c16rtomb.c: New file.
14218 * wcsmbs/mbrtoc16.c: New file.
14219 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14220 for C/POSIX locale.
14221 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14222 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14223
14224 * wcsmbs/wchar.h: Add missing __restrict.
14225
142262011-12-23 Ulrich Drepper <drepper@gmail.com>
14227
14228 [BZ #13532]
14229 * time/Makefile (routines): Add timespec_get.
14230 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14231 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14232 timespec for ISO C11.
14233 * time/timespec_get.c: New file.
14234 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14235 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14236
14237 [BZ #13531]
14238 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14239 * stdlib/stdlib.h: Declare aligned_alloc.
14240 * Versions.def: Add GLIBC_2.16 for libc.
14241 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14242
14243 [BZ 13527]
14244 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14245 ISO C11.
14246
14247 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14248 code.
14249
14250 [BZ #13528]
14251 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14252
14253 [BZ #13529]
14254 * assert/assert.h (static_assert): Define.
14255
14256 * version.h: Update for 2.16 development version.
14257
14258 [BZ #13526]
14259 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14260 _ISOC11_SOURCE.
14261
14262 * version.h (RELEASE): Bump for 2.15 release.
14263 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14264
14265 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14266 Patch by Marek Polacek <mpolacek@redhat.com>.
14267
14268 * bits/byteswap.h: Protect long long constants with __extension__.
14269 * sysdeps/i386/bits/byteswap.h: Likewise.
14270 * sysdeps/ia64/bits/byteswap.h: Likewise.
14271 * sysdeps/s390/bits/byteswap.h: Likewise.
14272 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14273
142742011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14275
14276 [BZ #13540]
14277 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14278 destination buffer.
14279 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14280
142812011-12-23 Marek Polacek <polacek@redhat.com>
14282
14283 * elf/dl-addr.c (determine_info): Add inline keyword.
14284 * elf/tst-auditmod4b.c (check_avx): Likewise.
14285 * elf/tst-auditmod6b.c (check_avx): Likewise.
14286 * elf/tst-auditmod6c.c (check_avx): Likewise.
14287 * elf/tst-auditmod7b.c (check_avx): Likewise.
14288
142892011-12-23 Ulrich Drepper <drepper@gmail.com>
14290
14291 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14292 !__SSE_MATH__.
14293
142942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14295
14296 [BZ #13540]
14297 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14298 processing for last bytes.
14299
143002011-08-06 Bruno Haible <bruno@clisp.org>
14301
14302 [BZ #13061]
14303 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14304 U+0385, not to U+1FEE.
14305
14306 [BZ #13062]
14307 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14308 entry for U+00A5 U+0301.
14309
143102011-12-22 Ulrich Drepper <drepper@gmail.com>
14311
14312 [BZ #13166]
14313 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14314 buffer for the output is too small.
14315
14316 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14317 optimization.
14318
14319 [BZ #13185]
14320 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14321 SSE flags if possible.
14322
143232011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14324
14325 [BZ #13540]
14326 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14327 processing for last bytes.
14328
143292011-12-22 Joseph Myers <joseph@codesourcery.com>
14330
14331 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14332 (syscall-list-default-options, syscall-list-default-condition)
14333 (syscall-list-includes): Define.
14334 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14335 list of ABIs and options and #if conditions for each ABI. Do not
14336 handle common syscalls between ABIs specially.
14337 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14338 Remove.
14339 (syscall-list-variants, syscall-list-32bit-options)
14340 (syscall-list-32bit-condition, syscall-list-64bit-options)
14341 (syscall-list-64bit-condition): Define.
14342 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14343 (syscall-list-variants, syscall-list-32bit-options)
14344 (syscall-list-32bit-condition, syscall-list-64bit-options)
14345 (syscall-list-64bit-condition): Define.
14346 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14347 Remove.
14348 (syscall-list-variants, syscall-list-32bit-options)
14349 (syscall-list-32bit-condition, syscall-list-64bit-options)
14350 (syscall-list-64bit-condition): Define.
14351 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14352 Remove.
14353 (syscall-list-variants, syscall-list-32bit-options)
14354 (syscall-list-32bit-condition, syscall-list-64bit-options)
14355 (syscall-list-64bit-condition): Define.
14356
143572011-12-22 Ulrich Drepper <drepper@gmail.com>
14358
14359 * locale/iso-639.def: Add brx entry.
14360
14361 [BZ #13328]
14362 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14363 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14364
14365 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14366 __feraiseexcept_renamed.
14367
143682011-12-21 Ulrich Drepper <drepper@gmail.com>
14369
14370 [BZ #13538]
14371 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14372 EPOLLET with unsigned values.
14373 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14374 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14375
14376 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14377 to large cancellation.
14378 * math/s_cacoshf.c: Likewise.
14379 * math/s_cacoshl.c: Likewise.
14380
143812011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14382
14383 [BZ #13305]
14384 [BZ #12786]
14385 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14386 * math/s_cacoshf.c: Likewise.
14387 * math/s_cacoshl.c: Likewise.
14388
143892011-12-21 Ulrich Drepper <drepper@gmail.com>
14390
14391 [BZ #13439]
14392 * iconv/gconv.h: Define __GCONV_SWAP.
14393 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14394 * iconvdata/utf-16.c: Likewise.
14395 * iconvdata/utf-32.c: Likewise.
14396
143972011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14398
14399 [BZ #13524]
14400 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14401 numerator after shifting it by one limb.
14402
144032011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14404
14405 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14406 under [__USE_EXTERN_INLINES].
14407
144082011-12-17 Ulrich Drepper <drepper@gmail.com>
14409
14410 [BZ #13446]
14411 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14412
144132011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14414
14415 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14416 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14417 optimized code.
14418 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14419 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14420 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14421 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14422 for strncasecmp/strncasecmp_l compilation.
14423 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14424 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14425
144262011-12-08 Marek Polacek <mpolacek@redhat.com>
14427
14428 [BZ #13484]
14429 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14430 of __asm__.
14431
144322011-12-17 Ulrich Drepper <drepper@gmail.com>
14433
14434 [BZ #13506]
14435 * time/tzfile.c (__tzfile_read): Check values from file header.
14436
144372011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14438
14439 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14440 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14441 * powerpc/powerpc32/dl-start.S: Likewise.
14442 * powerpc/powerpc32/elf/start.S: Likewise.
14443 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14444 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14445 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14446 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14447 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14448 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14449 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14450 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14451 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14452 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14453 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14454 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14455 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14456 * powerpc/powerpc32/memset.S: Likewise.
14457 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14458 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14459 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14460 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14461 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14462 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14463 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14464 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14465 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14466 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14467 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14468 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14469 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14470
144712011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14472
14473 * math/libm-test.inc: Added more nearbyint tests.
14474 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14475 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14476 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14477 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14478
144792011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14480
14481 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14482 FD_CLOEXEC.
14483
144842011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14485
14486 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14487 Add wcscpy-ssse3 wcscpy-c.
14488 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14489 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14490 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14491 * sysdeps/x86_64/wcschr.S: New file.
14492 * sysdeps/x86_64/wcsrchr.S: New file.
14493 * string/test-strcmp.c: Remove checking of wcscmp function for
14494 wrong alignments.
14495 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14496 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14497 wcsrchr-sse2 wcsrchr-c.
14498 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14499 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14500 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14501 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14502 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14503 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14504 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14505 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14506 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14507 * wcsmbc/wcschr.c (WCSCHR): New macro.
14508
145092011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14510
14511 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14512 * wcsmbs/test-wcsrchr.c: New file.
14513 * string/test-strrchr.c: Add wcsrchr support.
14514 (WIDE): New macro.
14515 * wcsmbs/test-wcscpy.c: New file.
14516 * string/test-strcpy.c: Add wcscpy support.
14517 (WIDE): New macro.
14518
145192011-12-10 Ulrich Drepper <drepper@gmail.com>
14520
14521 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14522 the inner loop.
14523
145242011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14525
14526 [BZ #13472]
14527 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14528
145292011-12-04 Ulrich Drepper <drepper@gmail.com>
14530
14531 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14532 Minor optimizations.
14533
14534 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14535 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14536 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14537
145382011-12-03 Ulrich Drepper <drepper@gmail.com>
14539
14540 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14541 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14542 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14543 for gcc to avoid warnings.
14544 * inet/Makefile (tests): Add tst-checks.
14545 * inet/tst-checks.c: New file.
14546
14547 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14548 warning.
14549
14550 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14551 __wmemcmp_sse2.
14552
14553 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14554 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14555
14556 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14557
145582011-12-02 Ulrich Drepper <drepper@gmail.com>
14559
14560 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14561 problem.
14562
14563 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14564
145652011-11-29 Joseph Myers <joseph@codesourcery.com>
14566
14567 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14568 conditional on GCC version.
14569 (__arch_compare_and_exchange_val_8_acq)
14570 (__arch_compare_and_exchange_val_16_acq)
14571 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14572 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14573 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14574
145752011-12-02 Joseph Myers <joseph@codesourcery.com>
14576
14577 * sysdeps/sh/backtrace.c: New file.
14578
145792011-12-02 Andreas Schwab <schwab@redhat.com>
14580
14581 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14582 parenthesis.
14583
145842011-12-01 Andreas Schwab <schwab@redhat.com>
14585
14586 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14587 falling back to utime.
14588
145892011-11-30 Andreas Schwab <schwab@redhat.com>
14590
14591 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14592 expectations for float.
14593
145942011-11-29 Andreas Schwab <schwab@redhat.com>
14595
14596 * locale/weight.h (findidx): Add parameter len.
14597 * locale/weightwc.h (findidx): Likewise.
14598 * posix/fnmatch_loop.c (FCT): Adjust caller.
14599 * posix/regcomp.c (build_equiv_class): Likewise.
14600 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14601 * posix/regexec.c (check_node_accept_bytes): Likewise.
14602 * string/strcoll_l.c (STRCOLL): Likewise.
14603 * string/strxfrm_l.c (STRXFRM): Likewise.
14604
146052011-11-17 Ulrich Drepper <drepper@gmail.com>
14606
14607 * Makefile.in: Remove CVSOPT handling.
14608 * configure.in: Remove use of AC_REVISION.
14609 * iconvdata/Makefile (distribute): No need to filter out CVS.
14610 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14611 handling.
14612
146132011-11-16 Andreas Schwab <schwab@redhat.com>
14614
14615 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14616 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14617 [USE_AS_STRNCASECMP_L]: Likewise.
14618 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14619 NO_TLS_DIRECT_SEG_REFS.
14620 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14621 Fix argument offsets for non-PIC.
14622 [USE_AS_STRNCASECMP_L]: Likewise.
14623 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14624 NO_TLS_DIRECT_SEG_REFS.
14625
146262011-11-15 Ulrich Drepper <drepper@gmail.com>
14627
14628 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14629 O_CLOEXEC.
14630 * locale/loadlocale.c (_nl_load_locale): Likewise.
14631
146322011-11-15 Andreas Schwab <schwab@redhat.com>
14633
14634 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14635 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14636 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14637 (SYSCALL_GETTIME): Set errno on error.
14638
14639 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14640 count references to noai6ai_cached.
14641
146422011-11-15 Ulrich Drepper <drepper@gmail.com>
14643
14644 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14645
14646 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14647 FD_CLOEXEC for /proc/self/maps.
14648
14649 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14650 FD_CLOEXEC for /proc/meminfo.
14651
14652 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14653 gai.conf.
14654
14655 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14656 FD_CLOEXEC for given file.
14657
14658 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14659
14660 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14661 FD_CLOEXEC for /etc/hosts.
14662 (_gethtent): Likewise.
14663
14664 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14665
14666 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14667 cancellation and set FD_CLOEXEC for /etc/netgroup.
14668
14669 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14670 reading /etc/publickey.
14671
14672 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14673 allow cancellation when reading /etc/group.
14674
14675 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14676 cancellation.
14677 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14678
14679 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14680 when using data file.
14681
14682 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14683
14684 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14685 (write_nis_obj): Use "c" and "e" in fopen.
14686
14687 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14688
14689 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14690
14691 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14692
14693 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14694
14695 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14696 locale.alias.
14697
14698 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14699
14700 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14701
14702 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14703
14704 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14705 file parsing and set FD_CLOEXEC.
14706
147072011-11-14 Ulrich Drepper <drepper@gmail.com>
14708
14709 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14710
147112011-11-14 Andreas Schwab <schwab@redhat.com>
14712
14713 * malloc/arena.c (arena_get2): Don't call reused_arena when
14714 _int_new_arena failed.
14715
147162011-11-14 Ulrich Drepper <drepper@gmail.com>
14717
14718 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14719 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14720 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14721 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14722 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14723 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14724 to compile strcasecmp and strncasecmp.
14725 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14726 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14727
14728 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14729
147302011-11-13 Ulrich Drepper <drepper@gmail.com>
14731
14732 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14733 locale-defines.sym to gen-as-const-headers.
14734 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14735 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14736 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14737 to compile strcasecmp and strncasecmp.
14738 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14739 strcasecmp_l and strncasecmp_l.
14740 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14741 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14742 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14743 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14744 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14745 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14746 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14747 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14748 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14749 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14750 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14751
147522011-11-12 Ulrich Drepper <drepper@gmail.com>
14753
14754 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14755 result of SYSDEP_GETTIME_CPU to retval.
14756 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14757 parameter list to macro. Remove trailing semicolon. Adjust users.
14758
14759 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14760 variable.
14761
14762 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14763 mantissa words.
14764 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14765
14766 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14767 from unused variable.
14768
14769 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14770 DWARF definitions.
14771 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14772 for assembling.
14773
14774 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14775 over namespaces.
14776
14777 * sunrpc/rpc_prot.c (rejected): Fix case value.
14778
14779 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14780 unsigned long long int to avoid warnings in shift.
14781
14782 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14783 of use of trans.
14784 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14785 variable tmp.
14786
14787 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14788 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14789 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14790
14791 * nis/nis_table.c (nis_list): Use variable of correct type for
14792 result of __follow_path call.
14793
147942011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14795
14796 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14797 of math functions ceil, trunc, floor, round, and sqrt, when
14798 avaliable on the platform.
14799 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14800 name clash.
14801 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14802 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14803 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14804
148052011-10-30 Marek Polacek <mpolacek@redhat.com>
14806
14807 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14808 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14809
148102011-11-11 Roland McGrath <roland@hack.frob.com>
14811
14812 * include/unistd.h: Fix __readlink return type.
14813 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14814
148152011-11-11 Ulrich Drepper <drepper@gmail.com>
14816
14817 * stdlib/ucontext.h: Undo last change for makecontext.
14818
148192011-11-11 Andreas Schwab <schwab@redhat.com>
14820
14821 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14822
14823 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14824 * setjmp/setjmp.h: Mark functions as non-leaf.
14825 * setjmp/bits/setjmp2.h: Likewise.
14826 * stdlib/ucontext.h: Likewise.
14827
148282011-11-10 Andreas Schwab <schwab@redhat.com>
14829
14830 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14831 (reused_arena): Don't check arena limit.
14832 (arena_get2): Atomically check arena limit.
14833
148342011-11-08 Ulrich Drepper <drepper@gmail.com>
14835
14836 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14837 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14838
14839 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14840 instructions.
14841
148422011-11-07 Andreas Schwab <schwab@redhat.com>
14843
14844 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14845 handler when locking.
14846
14847 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14848 Fix size of allocated buffer.
14849
148502011-11-04 Andreas Schwab <schwab@redhat.com>
14851
14852 [BZ #10103]
14853 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14854 declarations for long double functions.
14855 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14856
14857 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14858
148592011-11-03 Andreas Schwab <schwab@redhat.com>
14860
14861 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14862 installed.
14863
14864 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14865 is disabled.
14866
148672011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14868
14869 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14870
148712011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14872
14873 * include/alloca.h (stackinfo_alloca_round): Define.
14874 (extend_alloca): Use it.
14875 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14876 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14877 here.
14878
14879 * scripts/check-local-headers.sh: Ignore libaudit.h.
14880
14881 * nscd/Makefile (extra-objs): Make recursively expanded.
14882
148832011-11-01 Ulrich Drepper <drepper@gmail.com>
14884
14885 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14886 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14887
14888 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14889 * posix/tst-rfc3484-2.c: Likewise.
14890 * posix/tst-rfc3484-3.c: Likewise.
14891
14892 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14893 process_vm_writev.
14894 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14895 process_vm_writev.
14896 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14897 process_vm_writev from libc using GLIBC_2.15 version.
14898
14899 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14900
149012011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14902
14903 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14904 stack usage.
14905
149062011-10-31 Ulrich Drepper <drepper@gmail.com>
14907
14908 [BZ #13367]
14909 * nss/getent.c (initgroups_keys): Show error message in case no group
14910 names are given.
14911
14912 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14913 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14914 __bump_nl_timestamp.
14915 * nscd/connections (nscd_init): When host database is served open
14916 netlink socket and request notification about configuration changes.
14917 (main_loop_poll): Track netlink file descriptor and bump timestamp
14918 in case data becomes available.
14919 (main_loop_epoll): Likewise.
14920 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14921 (database_pers_head): Add extra_data fileds.
14922 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14923 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14924 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14925 Adjust caller.
14926 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14927 in6ai data, call __free_in6ai.
14928 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14929 Add -DHAVE_NETLINK.
14930 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14931 interface information. Reuse previous data if netlink timestamp
14932 is not changed.
14933 (__bump_nl_timestamp): New function.
14934 (__free_in6ai): New function.
14935
149362011-10-30 Ulrich Drepper <drepper@gmail.com>
14937
14938 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14939 close_not_cancel_no_status here.
14940 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14941
149422011-10-29 Ulrich Drepper <drepper@gmail.com>
14943
14944 [BZ #13276]
14945 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14946 return value.
14947
14948 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
14949 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14950 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14951
149522011-07-03 Andreas Jaeger <aj@suse.de>
14953
14954 [BZ #10709]
14955 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14956 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14957 * math/libm-test.inc (sin_test): Add test case.
14958
149592011-10-29 Ulrich Drepper <drepper@gmail.com>
14960
14961 [BZ #13337]
14962 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14963 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14964
14965 * elf/chroot_canon.c (chroot_canon): Cleanups.
14966
14967 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14968
14969 [BZ #13335]
14970 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14971 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14972
14973 * string/test-strchr.c: Make usable for strchrnul testing.
14974 * string/test-strchrnul.c: New file.
14975 * string/Makefile (strop-tests): Add strchrnul.
14976
14977 * po/it.po: Update from translation team.
14978 * po/es.po: Likewise.
14979
149802011-10-28 Ulrich Drepper <drepper@gmail.com>
14981
14982 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14983 the three constants needed as parameters. Drop the others.
14984 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14985 __m128i_strloadu_tolower.
14986 Create and initialize variable zero and use it in all the places
14987 where _mm_setzero_si128 was used.
14988
14989 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14990 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14991 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14992 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14993 anymore.
14994 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14995 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14996 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14997 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14998 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14999 __mpranred, __mptan.
15000 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15001 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15002 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15003 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15004 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15005 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15006 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15007 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15008 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15009
150102011-10-28 Andreas Schwab <schwab@redhat.com>
15011
15012 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15013 redefine if SHARED.
15014 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15015
15016 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15017 wide char related routines to wcsmbs subdir.
15018
150192011-10-27 Andreas Schwab <schwab@redhat.com>
15020
15021 [BZ #13344]
15022 * misc/sys/cdefs.h (__THROWNL): Define.
15023 * posix/unistd.h: Use __THREADNL instead of __THREAD
15024 for memory synchronization functions.
15025
150262011-10-26 Roland McGrath <roland@hack.frob.com>
15027
15028 [BZ #13349]
15029 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15030 doesn't exist.
15031 * manual/stdio.texi (Obstack Streams): Node removed.
15032
150332011-10-26 Andreas Schwab <schwab@redhat.com>
15034
15035 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15036 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15037 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15038
15039 * math/math_private.h (math_force_eval): Allow non-addressable
15040 arguments.
15041 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15042
150432011-10-25 Ulrich Drepper <drepper@gmail.com>
15044
15045 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15046 file is not needed.
15047
15048 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15049 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15050 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15051 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15052 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15053 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15054 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15055 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15056 Add AVX variants.
15057 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15058 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15059 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15060 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15061 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15062 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15063 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15064 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15065 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15066 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15067 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15068 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15069 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15070 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15071 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15072 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15073 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15074 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15075 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15076
15077 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15078 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15079
15080 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15081 place. Use VEX encoding when compiling for AVX.
15082
150832011-10-25 Andreas Schwab <schwab@redhat.com>
15084
15085 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15086 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15087
15088 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15089
150902011-10-25 Ulrich Drepper <drepper@gmail.com>
15091
15092 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
15093 useless if() expression.
15094 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15095 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15096 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15097 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15098 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15099 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15100 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15101 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15102 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15103 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15104 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15105 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15106 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15107 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15108 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15109 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15110 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15111 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15112 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15113
15114 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15115
151162011-10-25 Andreas Schwab <schwab@redhat.com>
15117
15118 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15119 condition.
15120 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15121
151222011-10-25 Ulrich Drepper <drepper@gmail.com>
15123
15124 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15125 .text section. Avoid duplicate constants.
15126 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15127 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15128 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15130 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15131 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15132 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15134 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15135 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15136 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15137 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15138 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15139 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15140 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15141 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15142 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15143 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15144 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15145 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15146 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15147 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15148 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15149 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15150 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15151 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15152 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15153 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15154 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15155 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15156 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15157 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15158 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15159 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15160 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15161 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15162 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15163 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15164 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15165 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15166 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15167 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15168 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15169 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15170 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15171
151722011-10-24 Ulrich Drepper <drepper@gmail.com>
15173
15174 * sysdeps/x86_64/dla.h: Move to ...
15175 * sysdeps/x86_64/fpu/dla.h: ...here.
15176 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15177 situations. Use __builtin_fma only for gcc 4.6 and up.
15178
15179 * config.make.in: Add have-mfma4 entry.
15180 * configure.in: Substitute libc_cv_cc_fma4.
15181 * math/Makefile (dbl-only-routines): Add sincostab.
15182 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15183 Use __sincostab not sincos.
15184 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15185 name is a macro.
15186 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15187 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15188 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15190 using __copysign.
15191 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15192 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15193 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15194 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15195 and __inv.
15196 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15197 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15198 __copysign.
15199 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15200 define aliases when function name is a macro.
15201 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15202 sysdeps/ieee754/dbl-64/sincos.tbl.
15203 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15204 fma4-enabled routines.
15205 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15206 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15207 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15208 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15209 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15210 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15211 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15212 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15213 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15214 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15215 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15216 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15217 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15218 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15219 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15220 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15221 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15222 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15223 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15224 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15225 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15226 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15227 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15228 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15229 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15230 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15231 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15232 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15233 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15234 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15235
15236 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15237 rename.
15238 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15239 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15240 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15241 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15242 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15244 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15245 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15246
152472011-10-24 Andreas Schwab <schwab@redhat.com>
15248
15249 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15250
152512011-10-23 Ulrich Drepper <drepper@gmail.com>
15252
15253 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15254
15255 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15256 prediction.
15257 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15258
15259 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15260 Remove unused variable magic_bits.
15261 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15262
15263 * string/strnlen.c: Define and use STRNLEN macro.
15264 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15265 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15266 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15267 * wcsmbs/wcslen.c: Define and use WCSLEN.
15268 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15269 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15270 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15271 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15272 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15273 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15274 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15275
152762011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15277
15278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15279 strnlen-sse2-no-bsf.
15280 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15281 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15282 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15283 Add strnlen support.
15284 (USE_AS_STRNLEN): New macro.
15285 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15286 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15287 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15288 * sysdeps/x86_64/wcslen.S: New file.
15289
152902011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15291
15292 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15293 XMM-moves are used for copying on small sizes.
15294
152952011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15296
15297 * wcsmbs/Makefile (strop-tests): Add wcschr.
15298 * wcsmbs/test-wcschr.c: New file.
15299 * string/test-strchr.c: Update.
15300 Add wcschr support.
15301 (WIDE): New macro.
15302
153032011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15304
15305 * wcsmbs/Makefile (strop-tests): Add wcslen.
15306 * wcsmbs/test-wcslen.c: New file.
15307 * string/test-strlen.c: Update.
15308 Add wcslen support.
15309 (WIDE): New macro.
15310
153112011-10-23 Ulrich Drepper <drepper@gmail.com>
15312
15313 * po/it.po: Update from translation team.
15314
153152011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15316
15317 * sysdeps/x86_64/wcscmp.S: Update.
15318 Fix wrong comparison semantics.
15319 wcscmp shall use signed comparison not unsigned.
15320 Don't use substraction to avoid overflow bug.
15321 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15322 * wcsmbc/wcscmp.c: Likewise.
15323 * string/test-strcmp.c: Likewise.
15324 Add new tests to check cases with negative values.
15325
153262011-10-23 Ulrich Drepper <drepper@gmail.com>
15327
15328 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15329 * sysdeps/x86_64/dla.h: ...here. New file.
15330 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15331 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15339
153402011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15341
15342 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15343 __ynl_finite aliases.
15344
153452011-10-22 Ulrich Drepper <drepper@gmail.com>
15346
15347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15348
15349 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15350 define DLA_FMA.
15351 [DLA_FMA] (EMULV): Use DLA_FMA.
15352 [DLA_FMA] (MUL12): Use EMULV.
15353 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15354 that are not needed.
15355 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15356 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15360 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15361 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15362
153632011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15364
15365 * math/s_nan.c: Undef __nan.
15366 * math/s_nanf.c: Undef __nanf.
15367 * math/s_nanl.c: Undef __nanl.
15368 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15369 "math_private.h".
15370
153712011-10-22 Ulrich Drepper <drepper@gmail.com>
15372
15373 * math/s_catan.c: Add branch predictions.
15374 * math/s_catanf.c: Likewise.
15375 * math/s_catanh.c: Likewise.
15376 * math/s_catanhf.c: Likewise.
15377 * math/s_catanhl.c: Likewise.
15378 * math/s_catanl.c: Likewise.
15379 * math/s_cexp.c: Likewise.
15380 * math/s_cexpf.c: Likewise.
15381 * math/s_cexpl.c: Likewise.
15382 * math/s_clog.c: Likewise.
15383 * math/s_clog10.c: Likewise.
15384 * math/s_clog10f.c: Likewise.
15385 * math/s_clog10l.c: Likewise.
15386 * math/s_clogf.c: Likewise.
15387 * math/s_clogl.c: Likewise.
15388 * math/s_csqrt.c: Likewise.
15389 * math/s_csqrtf.c: Likewise.
15390 * math/s_csqrtl.c: Likewise.
15391 * math/s_ctanf.c: Likewise.
15392 * math/s_ctanh.c: Likewise.
15393 * math/s_ctanhf.c: Likewise.
15394 * math/s_ctanhl.c: Likewise.
15395 * math/s_ctanl.c: Likewise.
15396
15397 * math/math_private.h: Define __nan, __nanf, __nanl.
15398 * math/s_cacosh.c: Include <math_private.h>.
15399 * math/s_cacoshl.c: Likewise.
15400 * math/s_casinh.c: Likewise.
15401 * math/s_casinhf.c: Likewise.
15402 * math/s_casinhl.c: Likewise.
15403 * math/s_ccos.c: Rely entire on ccosh.
15404 * math/s_ccosf.c: Rely entire on ccoshf.
15405 * math/s_ccosl.c: Rely entirely on ccoshl.
15406 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15407 Remove tests for FE_INVALID.
15408 * math/s_ccoshf.c: Likewise.
15409 * math/s_ccoshl.c: Likewise.
15410 * math/s_csin.c: Likewise.
15411 * math/s_csinf.c: Likewise.
15412 * math/s_csinh.c Likewise.
15413 * math/s_csinhf.c: Likewise.
15414 * math/s_csinhl.c: Likewise.
15415 * math/s_csinl.c: Likewise.
15416 * math/s_ctan.c: Likewise.
15417 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15418 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15419 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15420
154212011-10-21 Ulrich Drepper <drepper@gmail.com>
15422
15423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15424 compilation problems.
15425
15426 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15427 __builtin_expect.
15428
154292011-10-20 Ulrich Drepper <drepper@gmail.com>
15430
15431 * sysdeps/i386/configure.in: Test for -mfma4 option.
15432 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15433 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15434 COMMON_CPUID_INDEX_80000001.
15435 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15436 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15437 use it if FMA3 is not supported.
15438 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15439
15440 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15441 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15442
154432011-10-20 Andreas Schwab <schwab@redhat.com>
15444
15445 [BZ #12892]
15446 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15447 it would create a cycle with a link time dependency.
15448
154492011-10-19 Ulrich Drepper <drepper@gmail.com>
15450
15451 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15452 instruction.
15453 * string/Makefile (strop-tests): Add rawmemchr.
15454 * string/test-rawmemchr.c: New file.
15455
15456 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15457 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15458 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15459 when compiling str{,n}casecmp and when AVX is available. Hook up
15460 new optimized code in initializers.
15461
154622011-10-19 Andreas Schwab <schwab@redhat.com>
15463
15464 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15465 __feraiseexcept instead of feraiseexcept.
15466
154672011-10-18 Ulrich Drepper <drepper@gmail.com>
15468
15469 * math/math_private.h: Define defaults for libc_fetestexcept and
15470 libc_feupdateenv.
15471 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15472 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15473 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15474 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15475 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15476 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15477 libc_fetestexcept and libc_feupdateenv.
15478
15479 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15480 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15481 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15482 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15483 libc_feholdexcept_setround.
15484
15485 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15486 Add s_nearbyint-c and s_nearbyintf-c.
15487 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15488 nearbyintf inlines.
15489 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15490 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15491 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15492 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15493
15494 * math/math_private.h: Define defaults for libc_fegetround,
15495 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15496 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15497 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15498 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15499 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15500 standard functions.
15501 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15502 Remove comments and hacks for old compiler versions.
15503 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15504 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15505 libc_feholdexceptl.
15506
155072011-10-18 Andreas Schwab <schwab@redhat.com>
15508
15509 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15510 (__feraiseexcept_renamed): Add __NTH.
15511 (feraiseexcept): Add __NTH. Rename local variables to fix
15512 namespace violations.
15513
155142011-10-17 Ulrich Drepper <drepper@gmail.com>
15515
15516 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15517
15518 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15519
15520 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15521 recently added interfaces.
15522 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15523
15524 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15525 about macro parameter expansion.
15526
15527 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15528 __NO_MATH_INLINES is defined. Cleanups.
15529
15530 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15531 and __floorf is target has SSE4.1.
15532 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15533 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15534 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15535 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15536
15537 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15538 name.
15539 (floorf): Likewise.
15540
15541 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15542
155432011-10-17 Andreas Schwab <schwab@redhat.com>
15544
15545 * misc/sys/cdefs.h: Fix last change.
15546
15547 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15548 database lookup.
15549
155502011-10-16 Ulrich Drepper <drepper@gmail.com>
15551
15552 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15553
15554 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15555 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15556 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15557 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15558 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15559 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15560 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15561 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15562 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15563 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15564 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15565 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15566 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15567 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15568 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15569 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15570 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15571 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15572 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15573 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15574 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15575 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15576
15577 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15578 ceil, ceilf, floor, floorf.
15579
15580 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15581 Perform IRELATIVE relocations last.
15582
15583 * elf/do-rel.h: Add another parameter nrelative, replacing the
15584 local variable with the same name. Change name of the function
15585 to end in Rel or Rela (uppercase).
15586 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15587 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15588 elf_dynamic_do_##reloc function.
15589
155902011-10-15 Ulrich Drepper <drepper@gmail.com>
15591
15592 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15593 is sufficient, at least on modern CPUs.
15594
15595 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15596
15597 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15598 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15599
15600 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15601 __expl_finite.
15602 * math/bits/math-finite.h: Add entries for exp.
15603 * math/e_expl.c: Add __*_finite alias.
15604 * sysdeps/i386/fpu/e_exp.S: Likewise.
15605 * sysdeps/i386/fpu/e_expf.S: Likewise.
15606 * sysdeps/i386/fpu/e_expl.c: Likewise.
15607 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15608 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15609 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15610 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15611 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15612 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15613 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15614
15615 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15616 is sufficient, at least on modern CPUs.
15617
15618 * ctype/ctype-info.c (__ctype_init): Define.
15619 * include/ctype.h (__ctype_init): Declare.
15620 (__ctype_b_loc): The variable is always initialized.
15621 (__ctype_toupper_loc): Likewise.
15622 (__ctype_tolower_loc): Likewise.
15623 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15624 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15625
156262011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15627
15628 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15629
15630 * configure.in: Also look in $cxxmachine/include for C++ system
15631 headers.
15632
156332011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15634
15635 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15636 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15637 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15638 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15639 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15640 (USE_AS_WMEMCMP): New macro.
15641 Fixing indents.
15642 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15643 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15644 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15645 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15647 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15648 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15649 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15650 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15651 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15652 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15653 (USE_AS_WMEMCMP): New macro.
15654 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15655 * sysdeps/string/test-memcmp.c: Update.
15656 Fix simple_wmemcmp.
15657 Add new tests.
15658 * wcsmbs/wmemcmp.c: Update.
15659 (WMEMCMP): New macro.
15660 Fix overflow bug.
15661
156622011-10-12 Andreas Jaeger <aj@suse.de>
15663
15664 [BZ #13268]
15665 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15666
156672011-10-15 Ulrich Drepper <drepper@gmail.com>
15668
15669 * libio/iofwide.c (do_length): Avoid warning.
15670
15671 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15672
156732011-10-14 Ulrich Drepper <drepper@gmail.com>
15674
15675 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15676
15677 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15678 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15679 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15680 * sysdeps/i386/i686/fpu/e_log.S: New file.
15681 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15682 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15683
15684 * ctype/ctype.h: Add support for inlined isXXX functions when
15685 compiling C++ code.
15686
156872011-10-14 Andreas Schwab <schwab@redhat.com>
15688
15689 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15690
15691 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15692
156932011-10-13 Roland McGrath <roland@hack.frob.com>
15694
15695 [BZ #13291]
15696 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15697
156982011-10-13 Andreas Schwab <schwab@redhat.com>
15699
15700 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15701 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15702 feraiseexcept.
15703
15704 * sysdeps/x86_64/memrchr.S: Check for zero size.
15705
15706 * string/stratcliff.c: Add memrchr tests.
15707
157082011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15709
15710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15711 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15712 rawmemchr-sse2 rawmemchr-sse2-bsf.
15713 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15714 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15715 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15716 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15717 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15718 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15719 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15720 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15721 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15722 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15723 * string/memrchr.c (MEMRCHR): New macro.
15724
157252011-10-12 Ulrich Drepper <drepper@gmail.com>
15726
15727 Add integration with gcc's -ffinite-math-only and optimize wrapper
15728 functions in libm.
15729 * Versions.def: Define GLIBC_2.15 version for libm.
15730 * math/Makefile (headers): Add bits/math-finite.h.
15731 * math/bits/math-finite.h: New file.
15732 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15733 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15734 * math/e_acoshl.c: Add __*_finite alias.
15735 * math/e_acosl.c: Likewise.
15736 * math/e_asinl.c: Likewise.
15737 * math/e_atan2l.c: Likewise.
15738 * math/e_atanhl.c: Likewise.
15739 * math/e_coshl.c: Likewise.
15740 * math/e_exp10.c: Likewise.
15741 * math/e_exp10f.c: Likewise.
15742 * math/e_exp10l.c: Likewise.
15743 * math/e_exp2l.c: Likewise.
15744 * math/e_fmodl.c: Likewise.
15745 * math/e_gammal_r.c: Likewise.
15746 * math/e_hypotl.c: Likewise.
15747 * math/e_j0l.c: Likewise.
15748 * math/e_j1l.c: Likewise.
15749 * math/e_jnl.c: Likewise.
15750 * math/e_lgammal_r.c: Likewise.
15751 * math/e_log10l.c: Likewise.
15752 * math/e_log2l.c: Likewise.
15753 * math/e_logl.c: Likewise.
15754 * math/e_powl.c: Likewise.
15755 * math/e_sinhl.c: Likewise.
15756 * math/e_sqrtl.c: Likewise.
15757 * math/e_scalb.c: Completely rewritten and optimized.
15758 * math/e_scalbf.c: Likewise.
15759 * math/e_scalbl.c: Likewise.
15760 * math/w_acos.c: Likewise.
15761 * math/w_acosf.c: Likewise.
15762 * math/w_acosl.c: Likewise.
15763 * math/w_acosh.c: Likewise.
15764 * math/w_acoshf.c: Likewise.
15765 * math/w_acoshl.c: Likewise.
15766 * math/w_asin.c: Likewise.
15767 * math/w_asinf.c: Likewise.
15768 * math/w_asinl.c: Likewise.
15769 * math/w_atan2.c: Likewise.
15770 * math/w_atan2f.c: Likewise.
15771 * math/w_atan2l.c: Likewise.
15772 * math/w_atanh.c: Likewise.
15773 * math/w_atanhf.c: Likewise.
15774 * math/w_atanhl.c: Likewise.
15775 * math/w_exp10.c: Likewise.
15776 * math/w_exp10f.c: Likewise.
15777 * math/w_exp10l.c: Likewise.
15778 * math/w_fmod.c: Likewise.
15779 * math/w_fmodf.c: Likewise.
15780 * math/w_fmodl.c: Likewise.
15781 * math/w_j0.c: Likewise.
15782 * math/w_j0f.c: Likewise.
15783 * math/w_j0l.c: Likewise.
15784 * math/w_j1.c: Likewise.
15785 * math/w_j1f.c: Likewise.
15786 * math/w_j1l.c: Likewise.
15787 * math/w_jn.c: Likewise.
15788 * math/w_jnf.c: Likewise.
15789 * math/w_log.c: Likewise.
15790 * math/w_logf.c: Likewise.
15791 * math/w_logl.c: Likewise.
15792 * math/w_log10.c: Likewise.
15793 * math/w_log10f.c: Likewise.
15794 * math/w_log10l.c: Likewise.
15795 * math/w_log2.c: Likewise.
15796 * math/w_log2f.c: Likewise.
15797 * math/w_log2l.c: Likewise.
15798 * math/w_pow.c: Likewise.
15799 * math/w_powf.c: Likewise.
15800 * math/w_powl.c: Likewise.
15801 * math/w_remainder.c: Likewise.
15802 * math/w_remainderf.c: Likewise.
15803 * math/w_remainderl.c: Likewise.
15804 * math/w_scalb.c: Likewise.
15805 * math/w_scalbf.c: Likewise.
15806 * math/w_scalbl.c: Likewise.
15807 * math/w_sqrt.c: Likewise.
15808 * math/w_sqrtf.c: Likewise.
15809 * math/w_sqrtl.c: Likewise.
15810 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15811 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15812 used.
15813 * math/math_private.h: Declare __kernel_standard_f.
15814 * math/w_cosh.c: Remove cruft and optimize a bit.
15815 * math/w_coshf.c: Likewise.
15816 * math/w_coshl.c: Likewise.
15817 * math/w_exp2.c: Likewise.
15818 * math/w_exp2f.c: Likewise.
15819 * math/w_exp2l.c: Likewise.
15820 * math/w_hypot.c: Likewise.
15821 * math/w_hypotf.c: Likewise.
15822 * math/w_hypotl.c: Likewise.
15823 * math/w_lgamma.c: Likewise.
15824 * math/w_lgamma_r.c: Likewise.
15825 * math/w_lgammaf.c: Likewise.
15826 * math/w_lgammaf_r.c: Likewise.
15827 * math/w_lgammal.c: Likewise.
15828 * math/w_lgammal_r.c: Likewise.
15829 * math/w_sinh.c: Likewise.
15830 * math/w_sinhf.c: Likewise.
15831 * math/w_sinhl.c: Likewise.
15832 * math/w_tgamma.c: Likewise.
15833 * math/w_tgammaf.c: Likewise.
15834 * math/w_tgammal.c: Likewise.
15835 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15836 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15837 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15838 Minor optimizations. Pretty printing. Remove cruft.
15839 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15840 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15841 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15842 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15843 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15844 * sysdeps/i386/fpu/e_asin.S: Likewise.
15845 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15846 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15847 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15848 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15849 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15850 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15851 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15852 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15853 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15854 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15855 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15856 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15857 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15858 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15859 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15860 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15861 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15862 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15863 * sysdeps/i386/fpu/e_log.S: Likewise.
15864 * sysdeps/i386/fpu/e_log10.S: Likewise.
15865 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15866 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15867 * sysdeps/i386/fpu/e_log2.S: Likewise.
15868 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15869 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15870 * sysdeps/i386/fpu/e_logf.S: Likewise.
15871 * sysdeps/i386/fpu/e_logl.S: Likewise.
15872 * sysdeps/i386/fpu/e_pow.S: Likewise.
15873 * sysdeps/i386/fpu/e_powf.S: Likewise.
15874 * sysdeps/i386/fpu/e_powl.S: Likewise.
15875 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15876 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15877 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15878 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15879 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15880 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15881 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15882 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15883 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15884 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15885 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15887 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15888 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15889 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15890 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15891 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15892 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15893 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15894 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15895 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15897 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15898 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15899 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15900 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15901 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15902 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15904 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15905 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15906 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15907 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15908 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15909 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15910 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15911 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15912 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15913 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15914 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15915 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15916 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15917 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15918 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15919 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15920 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15921 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15922 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15923 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15924 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15925 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15926 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15927 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15928 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15929 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15930 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15931 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15932 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15933 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15934 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15935 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15936 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15937 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15938 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15939 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15940 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15941 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15942 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15943 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15944 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15945 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15946 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15947 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15948 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15949 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15950 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15951 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15952 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15953 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15954 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15955 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15956 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15957 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15958 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15959 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15960 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15961 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15962 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15963 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15964 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15965 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15966 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15967 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15968 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15969 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15970 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15971 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15972 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15974 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15975 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15976 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15977 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15978 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15979 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15980 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15981 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15982 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15983 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15984 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15985 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15986 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15987 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15988 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15989 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15990 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15991 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15992 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15993 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15994 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15995 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15996 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15997 (__isnanf): Likewise.
15998 (__isinf_ns): Likewise.
15999 (__isinf_nsf): Likewise.
16000 (__finite): Likewise.
16001 (__finitef): Likewise.
16002 (__ieee754_sqrt): Define as macro.
16003 (__ieee754_sqrtf): Define as macro.
16004 (__ieee754_sqrtl): Define as macro.
16005 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16006 inlined copy.
16007 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16008 __FINITE_MATH_ONLY__ consistent.
16009 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16010
160112011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16012
16013 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16014 of rawmemchr.
16015
16016 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16017
160182011-10-09 Ulrich Drepper <drepper@gmail.com>
16019
16020 * po/ja.po: Update from translation team.
16021
160222011-10-08 Roland McGrath <roland@hack.frob.com>
16023
16024 * locale/programs/locarchive.c (prepare_address_space): New function.
16025 (create_archive, enlarge_archive, open_archive): Use it.
16026
16027 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16028 inside [SHARED], where it is used.
16029
16030 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16031
16032 * nss/getent.c (netgroup_keys): Remove unused variable.
16033 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16034
160352011-10-08 Ulrich Drepper <drepper@gmail.com>
16036
16037 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16038 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16039 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16040 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16041 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16042 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16043 * math/Makefile (libm-calls): Add s_isinf_ns.
16044 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16045 * math/multc3.c: Likewise.
16046 * math/s_casin.c: Likewise.
16047 * math/s_casinf.c: Likewise.
16048 * math/s_casinl.c: Likewise.
16049 * math/s_ccos.c: Likewise.
16050 * math/s_ccosf.c: Likewise.
16051 * math/s_ccosl.c: Likewise.
16052 * math/s_ctan.c: Likewise.
16053 * math/s_ctanf.c: Likewise.
16054 * math/s_ctanh.c: Likewise.
16055 * math/s_ctanhf.c: Likewise.
16056 * math/s_ctanhl.c: Likewise.
16057 * math/s_ctanl.c: Likewise.
16058 * math/w_fmod.c: Likewise.
16059 * math/w_fmodf.c: Likewise.
16060 * math/w_fmodl.c: Likewise.
16061 * math/w_remainder.c: Likewise.
16062 * math/w_remainderf.c: Likewise.
16063 * math/w_remainderl.c: Likewise.
16064 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16065 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16066 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16067 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16068 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16069 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16070 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16071 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16072
16073 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16074 of the number.
16075 * stdio-common/printf_fphex.c: Likewise.
16076 * stdio-common/printf_size.c: Likewise.
16077
16078 * math/e_exp10.c: Include math_private.h using <...> not "...".
16079 * math/e_exp10f.c: Likewise.
16080 * math/e_exp10l.c: Likewise.
16081 * math/e_exp2l.c: Likewise.
16082 * math/e_j0l.c: Likewise.
16083 * math/e_j1l.c: Likewise.
16084 * math/e_jnl.c: Likewise.
16085 * math/e_lgammal_r.c: Likewise.
16086 * math/e_rem_pio2l.c: Likewise.
16087 * math/e_scalb.c: Likewise.
16088 * math/e_scalbf.c: Likewise.
16089 * math/e_scalbl.c: Likewise.
16090 * math/k_cosl.c: Likewise.
16091 * math/k_sinl.c: Likewise.
16092 * math/k_tanl.c: Likewise.
16093 * math/s_cacoshf.c: Likewise.
16094 * math/s_catan.c: Likewise.
16095 * math/s_catanf.c: Likewise.
16096 * math/s_catanh.c: Likewise.
16097 * math/s_catanhf.c: Likewise.
16098 * math/s_catanhl.c: Likewise.
16099 * math/s_catanl.c: Likewise.
16100 * math/s_ccosh.c: Likewise.
16101 * math/s_ccoshf.c: Likewise.
16102 * math/s_ccoshl.c: Likewise.
16103 * math/s_cexp.c: Likewise.
16104 * math/s_cexpf.c: Likewise.
16105 * math/s_cexpl.c: Likewise.
16106 * math/s_clog.c: Likewise.
16107 * math/s_clog10.c: Likewise.
16108 * math/s_clog10f.c: Likewise.
16109 * math/s_clog10l.c: Likewise.
16110 * math/s_clogf.c: Likewise.
16111 * math/s_clogl.c: Likewise.
16112 * math/s_csin.c: Likewise.
16113 * math/s_csinf.c: Likewise.
16114 * math/s_csinh.c: Likewise.
16115 * math/s_csinhf.c: Likewise.
16116 * math/s_csinhl.c: Likewise.
16117 * math/s_csinl.c: Likewise.
16118 * math/s_csqrt.c: Likewise.
16119 * math/s_csqrtf.c: Likewise.
16120 * math/s_csqrtl.c: Likewise.
16121 * math/s_ctan.c: Likewise.
16122 * math/s_ctanf.c: Likewise.
16123 * math/s_ctanh.c: Likewise.
16124 * math/s_ctanhf.c: Likewise.
16125 * math/s_ctanhl.c: Likewise.
16126 * math/s_ctanl.c: Likewise.
16127 * math/s_ldexp.c: Likewise.
16128 * math/s_ldexpf.c: Likewise.
16129 * math/s_ldexpl.c: Likewise.
16130 * math/s_significand.c: Likewise.
16131 * math/s_significandf.c: Likewise.
16132 * math/s_significandl.c: Likewise.
16133 * math/w_acos.c: Likewise.
16134 * math/w_acosf.c: Likewise.
16135 * math/w_acosh.c: Likewise.
16136 * math/w_acoshf.c: Likewise.
16137 * math/w_acoshl.c: Likewise.
16138 * math/w_acosl.c: Likewise.
16139 * math/w_asin.c: Likewise.
16140 * math/w_asinf.c: Likewise.
16141 * math/w_asinl.c: Likewise.
16142 * math/w_atan2.c: Likewise.
16143 * math/w_atan2f.c: Likewise.
16144 * math/w_atan2l.c: Likewise.
16145 * math/w_atanh.c: Likewise.
16146 * math/w_atanhf.c: Likewise.
16147 * math/w_atanhl.c: Likewise.
16148 * math/w_cosh.c: Likewise.
16149 * math/w_coshf.c: Likewise.
16150 * math/w_coshl.c: Likewise.
16151 * math/w_dremf.c: Likewise.
16152 * math/w_exp10.c: Likewise.
16153 * math/w_exp10f.c: Likewise.
16154 * math/w_exp10l.c: Likewise.
16155 * math/w_exp2.c: Likewise.
16156 * math/w_exp2f.c: Likewise.
16157 * math/w_fmod.c: Likewise.
16158 * math/w_fmodf.c: Likewise.
16159 * math/w_fmodl.c: Likewise.
16160 * math/w_hypot.c: Likewise.
16161 * math/w_hypotf.c: Likewise.
16162 * math/w_hypotl.c: Likewise.
16163 * math/w_j0.c: Likewise.
16164 * math/w_j0f.c: Likewise.
16165 * math/w_j0l.c: Likewise.
16166 * math/w_j1.c: Likewise.
16167 * math/w_j1f.c: Likewise.
16168 * math/w_j1l.c: Likewise.
16169 * math/w_jn.c: Likewise.
16170 * math/w_jnf.c: Likewise.
16171 * math/w_jnl.c: Likewise.
16172 * math/w_lgamma.c: Likewise.
16173 * math/w_lgamma_r.c: Likewise.
16174 * math/w_lgammaf.c: Likewise.
16175 * math/w_lgammaf_r.c: Likewise.
16176 * math/w_lgammal.c: Likewise.
16177 * math/w_lgammal_r.c: Likewise.
16178 * math/w_log.c: Likewise.
16179 * math/w_log10.c: Likewise.
16180 * math/w_log10f.c: Likewise.
16181 * math/w_log10l.c: Likewise.
16182 * math/w_log2.c: Likewise.
16183 * math/w_log2f.c: Likewise.
16184 * math/w_log2l.c: Likewise.
16185 * math/w_logf.c: Likewise.
16186 * math/w_logl.c: Likewise.
16187 * math/w_pow.c: Likewise.
16188 * math/w_powf.c: Likewise.
16189 * math/w_powl.c: Likewise.
16190 * math/w_remainder.c: Likewise.
16191 * math/w_remainderf.c: Likewise.
16192 * math/w_remainderl.c: Likewise.
16193 * math/w_scalb.c: Likewise.
16194 * math/w_scalbf.c: Likewise.
16195 * math/w_scalbl.c: Likewise.
16196 * math/w_sinh.c: Likewise.
16197 * math/w_sinhf.c: Likewise.
16198 * math/w_sinhl.c: Likewise.
16199 * math/w_sqrt.c: Likewise.
16200 * math/w_sqrtf.c: Likewise.
16201 * math/w_sqrtl.c: Likewise.
16202 * math/w_tgamma.c: Likewise.
16203 * math/w_tgammaf.c: Likewise.
16204 * math/w_tgammal.c: Likewise.
16205
16206 * po/ja.po: Update from translation team.
16207
162082011-09-29 Andreas Jaeger <aj@suse.de>
16209
16210 [BZ #13179]
16211 * sunrpc/netname.c (netname2host): Fix logic.
16212
16213 [BZ #6779]
16214 [BZ #6783]
16215 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16216 correctly.
16217 * math/w_remainder.c (__remainder): Likewise.
16218 * math/w_remainderf.c (__remainderf): Likewise.
16219 * math/libm-test.inc (remainder_test): Add test cases.
16220
162212011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16222
16223 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16224 sdiv_qrnnd.
16225
162262011-10-07 Ulrich Drepper <drepper@gmail.com>
16227
16228 * string/test-memcmp.c: Avoid unncessary #defines.
16229 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16230
162312011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16232
16233 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16234 Use new sse2 version for core i3 - i7 as it's faster
16235 than sse42 version.
16236 (bit_Prefer_PMINUB_for_stringop): New.
16237 * sysdeps/x86_64/rawmemchr.S: Update.
16238 Replace with faster SSE2 version.
16239 * sysdeps/x86_64/memrchr.S: New file.
16240 * sysdeps/x86_64/memchr.S: Update.
16241 Replace with faster SSE2 version.
16242
162432011-09-12 Marek Polacek <mpolacek@redhat.com>
16244
16245 * elf/dl-load.c (lose): Add cast to avoid warning.
16246
162472011-10-07 Ulrich Drepper <drepper@gmail.com>
16248
16249 * po/ca.po: Update from translation team.
16250
16251 * inet/getnetgrent_r.c: Hook up nscd.
16252 * nscd/Makefile (routines): Add nscd_netgroup.
16253 (nscd-modules): Add netgroupcache.
16254 (CFLAGS-netgroupcache.c): Define.
16255 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16256 (cache_search): Add const to second parameter.
16257 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16258 INNETGR.
16259 (dbs): Add netgrdb entry.
16260 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16261 (verify_persistent_db): Handle netgrdb.
16262 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16263 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16264 GETFDNETGR.
16265 (netgroup_response_header): Define.
16266 (innetgroup_response_header): Define.
16267 (datahead): Add netgroup_response_header and innetgroup_response_header
16268 elements.
16269 * nscd/nscd.conf: Add entries for netgroup cache.
16270 * nscd/nscd.h (dbtype): Add netgrdb.
16271 (_PATH_NSCD_NETGROUP_DB): Define.
16272 (netgroup_iov_disabled): Declare.
16273 (xmalloc, xcalloc, xrealloc): Move declarations here.
16274 (cache_search): Adjust prototype.
16275 Add netgroup-related prototypes.
16276 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16277 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16278 (__nscd_innetgr): Declare.
16279 * nscd/selinux.c (perms): Use access_vector_t as element type and
16280 add netgroup-related initializers.
16281 * nscd/netgroupcache.c: New file.
16282 * nscd/nscd_netgroup.c: New file.
16283 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16284 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16285 For four parameters use innetgr.
16286 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16287 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16288 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16289 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16290
16291 * nscd/connections.c (register_traced_file): Don't register file
16292 for disabled databases.
16293
162942011-10-06 Ulrich Drepper <drepper@gmail.com>
16295
16296 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16297
16298 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16299 from tree and freeing node.
16300
163012011-09-25 Jiri Olsa <jolsa@redhat.com>
16302
16303 * nss/nsswitch.c (__nss_database_lookup): Handle
16304 nss_parse_service_list out of memory case.
16305
163062011-09-15 Jiri Olsa <jolsa@redhat.com>
16307
16308 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16309 out of memory case.
16310
163112011-10-04 Andreas Schwab <schwab@redhat.com>
16312
16313 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16314 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16315 pass it down.
16316 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16317 elf_machine_rela, elf_machine_lazy_rel.
16318 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16319 (ELF_DYNAMIC_DO_REL): Likewise.
16320 (ELF_DYNAMIC_DO_RELA): Likewise.
16321 (ELF_DYNAMIC_RELOCATE): Likewise.
16322 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16323 to ELF_DYNAMIC_DO_REL.
16324 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16325 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16326 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16327 elf_machine_rela.
16328 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16329 skip_ifunc, don't call ifunc function if non-zero.
16330 (elf_machine_rela): Likewise.
16331 (elf_machine_lazy_rel): Likewise.
16332 (elf_machine_lazy_rela): Likewise.
16333 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16334 (elf_machine_lazy_rel): Likewise.
16335 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16336 Likewise.
16337 (elf_machine_lazy_rel): Likewise.
16338 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16339 Likewise.
16340 (elf_machine_lazy_rel): Likewise.
16341 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16342 (elf_machine_lazy_rel): Likewise.
16343 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16344 (elf_machine_lazy_rel): Likewise.
16345 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16346 (elf_machine_lazy_rel): Likewise.
16347 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16348 (elf_machine_lazy_rel): Likewise.
16349 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16350 (elf_machine_lazy_rel): Likewise.
16351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16352 (elf_machine_lazy_rel): Likewise.
16353
163542011-09-28 Ulrich Drepper <drepper@gmail.com>
16355
16356 * nss/nss_files/files-init.c (_nss_files_init): Use static
16357 initialization for all the *_traced_file variables.
16358
163592011-09-28 Andreas Schwab <schwab@redhat.com>
16360
16361 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16362
163632011-09-27 Roland McGrath <roland@hack.frob.com>
16364
16365 [BZ #13226]
16366 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16367
163682011-09-27 Andreas Schwab <schwab@redhat.com>
16369
16370 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16371 Reread the line before reparsing it.
16372
163732011-09-26 Andreas Schwab <schwab@redhat.com>
16374
16375 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16376
163772011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16378 Maxim Kuvyrkov <maxim@codesourcery.com>
16379 Joseph Myers <joseph@codesourcery.com>
16380
16381 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16382 if needed for __stack_chk_guard.
16383
163842011-09-19 Roland McGrath <roland@hack.frob.com>
16385
16386 * sysdeps/posix/spawni.c (script_execute): Always define it.
16387 It will be optimized away if unused.
16388 (maybe_script_execute): New function.
16389 (__spawni): Call it.
16390
16391 * Makerules: Don't include tls.make.
16392 (config-tls): Always set to thread.
16393 * tls.make.c: File removed.
16394
163952011-09-19 Mike Frysinger <vapier@gentoo.org>
16396
16397 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16398 * config.make.in (CPPFLAGS-config): New substituted variable.
16399
164002011-09-15 Ulrich Drepper <drepper@gmail.com>
16401
16402 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16403
16404 [BZ #13192]
16405 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16406 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16407
164082011-09-15 Roland McGrath <roland@hack.frob.com>
16409
16410 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16411 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16412 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16413 (CALL_FAIL): Likewise.
16414 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16415 (CALL_FAIL): Macro removed.
16416 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16417
164182011-09-15 Ulrich Drepper <drepper@gmail.com>
16419
16420 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16421 for __FINITE_MATH_ONLY__ == 1.
16422
164232011-09-15 Andreas Schwab <schwab@redhat.com>
16424
16425 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16426 __ieee754_sqrt instead of sqrt.
16427 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16428 __ieee754_sqrtf instead of sqrtf.
16429 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16430 __floorf instead of floorf.
16431 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16432 __floorf, __truncf instead of floorf, truncf.
16433
164342011-09-14 Ulrich Drepper <drepper@gmail.com>
16435
16436 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16437
16438 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16439 __extern_always_inline.
16440 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16441 32-bit.
16442
164432011-09-14 Andreas Schwab <schwab@redhat.com>
16444
16445 * elf/rtld.c (dl_main): Also relocate in dependency order when
16446 doing symbol dependency testing.
16447
164482011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16449
16450 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16451 Always define `refsym'.
16452
164532011-09-13 Andreas Schwab <schwab@redhat.com>
16454
16455 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16456 (__FD_ELT): Renamed from __FDELT.
16457 * misc/bits/select2.h (__FD_ELT): Likewise.
16458 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16459 __FD_MASK instead of __FDELT, __FDMASK.
16460 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16461 Likewise.
16462 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16463 Likewise.
16464
16465 * elf/Makefile (gen-ldd): Fix pattern.
16466
16467 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16468 (init_tls): Likewise.
16469
164702011-09-12 Ulrich Drepper <drepper@gmail.com>
16471
16472 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16473
164742011-09-12 Andreas Schwab <schwab@redhat.com>
16475
16476 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16477 `struct cmsghdr *' instead of `void *'.
16478 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16479 Likewise.
16480
164812011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16482
16483 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16484 if non-absolute.
16485 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16486 ldd_rewrite_script.
16487
164882011-09-11 Ulrich Drepper <drepper@gmail.com>
16489
16490 * configure.in: Remove --with-tls option.
16491 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16492 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16493 out in case it is missing.
16494 * sysdeps/ia64/elf/configure.in: Likewise.
16495 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16496 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16497 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16498 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16499 * sysdeps/sh/elf/configure.in: Likewise.
16500 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16501 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16502 * sysdeps/x86_64/elf/configure.in: Likewise.
16503 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16504 * sysdeps/mach/hurd/tls.h: Likewise.
16505
16506 [BZ #13067]
16507 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16508
16509 [BZ #13090]
16510 * configure.in: Fix use of AC_INIT.
16511
16512 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16513
165142011-09-10 Ulrich Drepper <drepper@gmail.com>
16515
16516 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16517 __set_errno.
16518 * malloc/hooks.c: Likewise.
16519
16520 [BZ #11929]
16521 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16522 variables statically.
16523 (narenas): Initialize.
16524 (list_lock): Initialize.
16525 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16526 initializtion of main_arena and list_lock. Small cleanups.
16527 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16528 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16529 Add initializers to main_arena and mp_.
16530 (malloc_state): Remove pagesize member. Change all users to use
16531 GLRO(dl_pagesize).
16532
16533 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16534 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16535 is always initialized.
16536
16537 * malloc/malloc.c: Removed unused configurations and dead code.
16538 * malloc/arena.c: Likewise.
16539 * malloc/hooks.c: Likewise.
16540 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16541
16542 * include/tls.h: Removed. USE___THREAD must always be defined.
16543 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16544 * elf/dl-libc.c: Likewise.
16545 * elf/dl-tsd.c: Likewise.
16546 * include/errno.h: Likewise.
16547 * include/netdb.h: Likewise.
16548 * include/resolv.h: Likewise.
16549 * inet/herrno-loc.c: Likewise.
16550 * inet/herrno.c: Likewise.
16551 * malloc/arena.c: Likewise.
16552 * malloc/hooks.c: Likewise.
16553 * malloc/malloc.c: Likewise.
16554 * resolv/res-state.c: Likewise.
16555 * resolv/res_libc.c: Likewise.
16556 * sysdeps/i386/dl-machine.h: Likewise.
16557 * sysdeps/ia64/dl-machine.h: Likewise.
16558 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16559 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16560 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16561 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16562 * sysdeps/sh/dl-machine.h: Likewise.
16563 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16564 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16565 * sysdeps/unix/i386/sysdep.S: Likewise.
16566 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16567 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16568 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16569 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16570 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16571 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16572 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16573 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16574 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16575 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16576 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16577 * sysdeps/x86_64/dl-machine.h: Likewise.
16578 * tls.make.c: Likewise.
16579
16580 * configure.in: Remove --with-__thread option. Make tests for
16581 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16582 tls_model attribute fail if no support is available. Remove
16583 USE_IN_LIBIO.
16584 * Makeconfig: Adjust for dropped configure option. All features are
16585 now mandatory.
16586 * Makerules: Likewise.
16587 * Versions.def: Likewise.
16588 * argp/argp-fmtstream.c: Likewise.
16589 * argp/argp-fmtstream.h: Likewise.
16590 * argp/argp-help.c: Likewise.
16591 * assert/assert.c: Likewise.
16592 * config.h.in: Likewise.
16593 * config.make.in: Likewise.
16594 * configure: Likewise.
16595 * configure.in: Likewise.
16596 * csu/Versions: Likewise.
16597 * csu/init.c: Likewise.
16598 * elf/tst-audit2.c: Likewise.
16599 * elf/tst-tls10.c: Likewise.
16600 * elf/tst-tls10.h: Likewise.
16601 * elf/tst-tls11.c: Likewise.
16602 * elf/tst-tls12.c: Likewise.
16603 * elf/tst-tls14.c: Likewise.
16604 * elf/tst-tlsmod11.c: Likewise.
16605 * elf/tst-tlsmod12.c: Likewise.
16606 * elf/tst-tlsmod13.c: Likewise.
16607 * elf/tst-tlsmod13a.c: Likewise.
16608 * elf/tst-tlsmod14a.c: Likewise.
16609 * elf/tst-tlsmod15b.c: Likewise.
16610 * elf/tst-tlsmod16a.c: Likewise.
16611 * elf/tst-tlsmod16b.c: Likewise.
16612 * elf/tst-tlsmod7.c: Likewise.
16613 * elf/tst-tlsmod8.c: Likewise.
16614 * elf/tst-tlsmod9.c: Likewise.
16615 * gmon/gmon.c: Likewise.
16616 * grp/fgetgrent_r.c: Likewise.
16617 * grp/putgrent.c: Likewise.
16618 * hurd/fopenport.c: Likewise.
16619 * include/libc-symbols.h: Likewise.
16620 * include/tls.h: Likewise.
16621 * intl/gettextP.h: Likewise.
16622 * intl/loadinfo.h: Likewise.
16623 * locale/global-locale.c: Likewise.
16624 * locale/localeinfo.h: Likewise.
16625 * mach/devstream.c: Likewise.
16626 * malloc/arena.c: Likewise.
16627 * malloc/set-freeres.c: Likewise.
16628 * misc/err.c: Likewise.
16629 * misc/getttyent.c: Likewise.
16630 * misc/mntent_r.c: Likewise.
16631 * posix/getopt.c: Likewise.
16632 * posix/wordexp.c: Likewise.
16633 * pwd/fgetpwent_r.c: Likewise.
16634 * resolv/Versions: Likewise.
16635 * resolv/res_hconf.c: Likewise.
16636 * shadow/fgetspent_r.c: Likewise.
16637 * shadow/putspent.c: Likewise.
16638 * stdio-common/printf_fphex.c: Likewise.
16639 * stdio-common/tmpfile.c: Likewise.
16640 * stdlib/abort.c: Likewise.
16641 * stdlib/fmtmsg.c: Likewise.
16642 * sunrpc/auth_unix.c: Likewise.
16643 * sunrpc/clnt_perr.c: Likewise.
16644 * sunrpc/clnt_tcp.c: Likewise.
16645 * sunrpc/clnt_udp.c: Likewise.
16646 * sunrpc/clnt_unix.c: Likewise.
16647 * sunrpc/openchild.c: Likewise.
16648 * sunrpc/svc_simple.c: Likewise.
16649 * sunrpc/svc_tcp.c: Likewise.
16650 * sunrpc/svc_udp.c: Likewise.
16651 * sunrpc/svc_unix.c: Likewise.
16652 * sunrpc/xdr.c: Likewise.
16653 * sunrpc/xdr_array.c: Likewise.
16654 * sunrpc/xdr_rec.c: Likewise.
16655 * sunrpc/xdr_ref.c: Likewise.
16656 * sunrpc/xdr_stdio.c: Likewise.
16657
166582011-09-09 Ulrich Drepper <drepper@gmail.com>
16659
16660 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16661
166622011-07-03 Andreas Jaeger <aj@suse.de>
16663
16664 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16665 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16666 regenerate with gen-libm-tests.pl.
16667
166682010-05-12 Petr Baudis <pasky@suse.cz>
16669
16670 [BZ #11589]
16671 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16672 around j0() zero points by switching to j1().
16673 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16674 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16676 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16677
166782011-09-09 Ulrich Drepper <drepper@gmail.com>
16679
16680 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16681 instead of 0.
16682 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16683 instead of 0. .
16684 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16685 Patch in part by Pavel Roskin <proski@gnu.org>.
16686
16687 [BZ #13138]
16688 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16689 realloc.
16690 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16691 Free memory block if necessary.
16692
16693 [BZ #12847]
16694 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16695 be NULL. Don't lock in this case.
16696
166972011-09-09 Roland McGrath <roland@hack.frob.com>
16698
16699 * elf/elf.h (ELFOSABI_GNU): New macro.
16700 (ELFOSABI_LINUX): Define to that.
16701
167022011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16703
16704 * string/strncat.c (strncat): Undef the symbol in case it has been
16705 defined in bits/string.h.
16706
167072011-09-09 Ulrich Drepper <drepper@gmail.com>
16708
16709 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16710
16711 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16712 link map.
16713
167142011-08-17 Andreas Jaeger <aj@suse.de>
16715
16716 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16717
167182011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16719 Ian Lance Taylor <iant@google.com>
16720
16721 * math/libm-test.inc (lround_test): New testcase.
16722 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16723
167242011-09-08 Ulrich Drepper <drepper@gmail.com>
16725
16726 * Makefile: Remove support for automatic cvs check-ins.
16727 * Makerules: Likewise.
16728 * config.make.in: Likewise.
16729 * configure.in: Likewise.
16730 * intl/Makefile: Likewise.
16731 * locale/Makefile: Likewise.
16732 * po/Makefile: Likewise.
16733 * posix/Makefile: Likewise.
16734 * sysdeps/gnu/Makefile: Likewise.
16735 * sysdeps/mach/hurd/Makefile: Likewise.
16736 * sysdeps/sparc/sparc32/Makefile: Likewise.
16737
16738 [BZ #13118]
16739 * posix/Makefile (bug-regex32-ENV): Define.
16740 Patch by John Stanley <jpsinthemix@verizon.net>.
16741
16742 * misc/Makefile (headers): Add bits/select2.h.
16743 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16744 * misc/bits/select2.h: New file.
16745 * include/bits/select2.h: New file.
16746 * debug/Makefile (routines): Add fdelt_chk.
16747 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16748 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16749 FD_ISSET.
16750 * debug/fdelt_chk.c: New file.
16751
16752 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16753 * wcsmbs/test-wmemcmp.c: Likewise.
16754 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16755 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16756
167572011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16758
16759 * string/Makefile (strop-tests): Add memcmp.
16760 * string/test-wmemcmp.c: New file.
16761 * string/test-memcmp.c: Add wmemcmp support.
16762
167632011-09-08 Roland McGrath <roland@hack.frob.com>
16764
16765 [BZ #13153]
16766 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16767 2011-07-19 change.
16768
16769 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16770 garbage value in a __mach_port_mod_refs call in the cases of the
16771 task-self and thread-self ports.
16772
167732011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16774
16775 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16776
167772011-09-08 Andreas Schwab <schwab@redhat.com>
16778
16779 * elf/dl-load.c (lose): Check for non-null L.
16780
167812011-09-07 Ulrich Drepper <drepper@gmail.com>
16782
16783 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16784
16785 * elf/dl-libc.c (dlerror_run): Pass back error code from
16786 dl_catch_error.
16787
16788 [BZ #13123]
16789 * elf/dl-load.c (lose): Free l_origin if it is valid.
16790
16791 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16792 names.
16793 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16794 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16795 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16796 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16797 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16798 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16799
168002011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16801
16802 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16803 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16804 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16805 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16806 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16807 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16808 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16809 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16810 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16811 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16812
168132011-08-15 Alan Modra <amodra@gmail.com>
16814
16815 [BZ #13092]
16816 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16817 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16818 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16819 ppc_mcount to static-only-routines.
16820 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16821 __mcount_internal.
16822 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16823 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16824
168252011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16826
16827 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16828 for finite and infinity parameters.
16829
168302011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16831
16832 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16833 and add nop instructions for throughput optimization.
16834 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16835
168362011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16837
16838 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16839 aligned copy for power7 with vector-scalar instructions.
16840 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16841
168422011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16843
16844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16845 AVX check.
16846
168472011-09-07 Andreas Schwab <schwab@redhat.com>
16848
16849 [BZ #13144]
16850 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16851 last change.
16852
168532011-09-07 Ulrich Drepper <drepper@gmail.com>
16854
16855 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16856 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16857 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16858 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16859 clock_gettime.
16860
168612011-09-06 Ulrich Drepper <drepper@gmail.com>
16862
16863 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16864 Forgot to demangle the pointer.
16865
16866 * sysdeps/i386/sysdep.h: Define atom_text_section.
16867 * sysdeps/x86_64/sysdep.h: Likewise.
16868 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16869 section with atom_text_section.
16870 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16871 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16872 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16873 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16874 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16875
16876 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16877 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16878 already be defined. Change to take two parameters and don't assign
16879 result to variable. Adjust all users.
16880 Define INTERNAL_GETTIME if not already defined.
16881 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16882 call.
16883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16884 HAVE_CLOCK_GETTIME_VSYSCALL.
16885 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16886
16887 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16888 gettimeofday vsyscall, just use time.
16889
168902011-09-06 Andreas Schwab <schwab@redhat.com>
16891
16892 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16893 <errno.h>.
16894
168952011-09-06 Ulrich Drepper <drepper@gmail.com>
16896
16897 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16898 syscall on x86-64.
16899 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16900 syscall.
16901 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16902 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16903 syscall if possible.
16904
169052011-09-05 Ulrich Drepper <drepper@gmail.com>
16906
16907 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16908 e_ident. Don't pass to find_mapsXX.
16909 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16910
169112011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16912
16913 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16914 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16915 * sysdeps/x86_64/multiarch/strchr.S: Update.
16916 Check bit_slow_BSF bit.
16917 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16918 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16919 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16920
169212011-09-05 Ulrich Drepper <drepper@gmail.com>
16922
16923 [BZ #13134]
16924 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16925 before glibc 2.15.
16926 (tryshell): Define.
16927 (__spawni): Change last parameter to be flag. Test
16928 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16929 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16930 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16931 * posix/spawni.c: Likewise.
16932 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16933 * posix/spawnp.c: Likewise. Change normal version to use
16934 SPAWN_XFLAGS_USE_PATH.
16935 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16936 SPAWN_XFLAGS_TRY_SHELL.
16937
16938 [BZ #13150]
16939 * posix/glob.h: Remove gcc 1.x support.
16940
16941 [BZ #13068]
16942 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16943
169442011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16945
16946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16947 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16948 strrchr-sse2-bsf
16949 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16950 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16951 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16952 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16953 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16954 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16955
169562011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16957
16958 * sysdeps/x86_64/wcscmp.S: New file.
16959
16960 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16961 wcscmp-c wcscmp-sse2
16962 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16963 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16964 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16965 * wcsmbs/wcscmp.c: Allow renaming.
16966
169672011-09-05 David S. Miller <davem@davemloft.net>
16968
16969 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16970 stack slot, rather than the struct return pointer slot.
16971 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16972 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16974 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16975
169762011-09-05 Ulrich Drepper <drepper@gmail.com>
16977
16978 * po/ja.po: Update from translation team.
16979
16980 [BZ #13144]
16981 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16982 kernel in 64-bit binaries.
16983
169842011-09-01 David S. Miller <davem@davemloft.net>
16985
16986 * elf/elf.h (HWCAP_SPARC_*): Move to..
16987 * sysdeps/sparc/sysdep.h: this new file and add new values.
16988 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16989 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16990 _DL_HWCAP_COUNT to 24.
16991 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16992 entries.
16993 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16994 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16995 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16996 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16997 instead of magic constants.
16998 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16999
170002011-08-31 David S. Miller <davem@davemloft.net>
17001
17002 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17003 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17004 Reimplement to do errno handling inline.
17005 (SYSCALL_ERROR_HANDLER): New macro.
17006 (__SYSCALL_STRING): Do not do errno handling in asm.
17007 (__CLONE_SYSCALL_STRING): Delete.
17008 (__INTERNAL_SYSCALL_STRING): Delete.
17009 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17010 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17011 (PSEUDO): Reimplement to do errno handling inline.
17012 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17013 (SYSCALL_ERROR_HANDLER): New macro.
17014 (__SYSCALL_STRING): Do not do errno handling in asm.
17015 (__CLONE_SYSCALL_STRING): Delete.
17016 (__INTERNAL_SYSCALL_STRING): Delete.
17017 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17018 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17019 i386.
17020 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17021 (inline_syscall*): Add 'err' argument.
17022 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17023 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17024 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17025 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17026
17027 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17028 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17029
170302011-08-30 Andreas Schwab <schwab@redhat.com>
17031
17032 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17033
170342011-08-29 Jiri Olsa <jolsa@redhat.com>
17035
17036 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17037 directive.
17038
170392011-08-24 David S. Miller <davem@davemloft.net>
17040
17041 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17042
170432011-08-24 Andreas Schwab <schwab@redhat.com>
17044
17045 * elf/Makefile: Add rules to build and run unload8 test.
17046 * elf/unload8.c: New file.
17047 * elf/unload8mod1.c: New file.
17048 * elf/unload8mod1x.c: New file.
17049 * elf/unload8mod2.c: New file.
17050 * elf/unload8mod3.c: New file.
17051
17052 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17053 it wasn't used.
17054
170552011-08-23 David S. Miller <davem@davemloft.net>
17056
17057 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17058 subtract stack bias.
17059 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17060 %sp not %fp in calculations.
17061 (_JMPBUF_UNWINDS_ADJ): Likewise.
17062
17063 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17064 (aio_suspend): Call it to force an exception region around the
17065 AIO_MISC_WAIT() invocation.
17066
170672011-08-23 Andreas Schwab <schwab@redhat.com>
17068
17069 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17070 backslash.
17071
170722011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17073
17074 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17075 protection macro.
17076 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17077 and <dl-machine.h>.
17078 (Elf64_FuncDesc): Remove.
17079
170802011-08-22 David S. Miller <davem@davemloft.net>
17081
17082 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17083 sigaltstack check, add missing cfi directives.
17084 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17085 missing cfi directives, and sigaltstack handling.
17086
170872011-08-16 Andreas Schwab <schwab@redhat.com>
17088
17089 [BZ #11724]
17090 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17091 object is seen twice.
17092 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17093
17094 * elf/Makefile (distribute): Add tst-initorder2.c.
17095 (tests): Add tst-initorder2.
17096 (modules-names): Add tst-initorder2a tst-initorder2b
17097 tst-initorder2c tst-initorder2d. Add rules to build them.
17098 ($(objpfx)tst-initorder2.out): New rule.
17099 * elf/tst-initorder2.c: New file.
17100 * elf/tst-initorder2.exp: New file.
17101
171022011-08-22 Andreas Schwab <schwab@redhat.com>
17103
17104 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17105
17106 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17107 dependencies back to end of function.
17108
17109 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17110 $(elfobjdir)/ld.so.
17111
171122011-08-21 Ulrich Drepper <drepper@gmail.com>
17113
17114 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17115 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17116 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17117 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17118 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17119 of __vdso_gettimeofday.
17120 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17121 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17122 attribute_hidden.
17123 (_libc_vdso_platform_setup): Remove initialization of
17124 __vdso_gettimeofday and __vdso_time.
17125
171262011-08-20 Ulrich Drepper <drepper@gmail.com>
17127
17128 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17129 and fgetc_unlocked.
17130 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17131 getc_unlocked.
17132
17133 * elf/dl-open.c (add_to_global): Report additions to the global scope
17134 for LD_DEBUG=scopes.
17135 (dl_open_worker): Also print scope of newly loaded dependencies.
17136 (_dl_show_scope): Indicate if there is no scope.
17137
17138 [BZ #13114]
17139 * stdio-common/Makefile (tests): Add bug24.
17140 * stdio-common/bug24.c: New file.
17141
171422011-08-19 Andreas Jaeger <aj@suse.de>
17143
17144 [BZ #13114]
17145 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17146 non-existant file when using close-on-exec mode.
17147
171482011-08-20 Ulrich Drepper <drepper@gmail.com>
17149
17150 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17151 the very first instruction.
17152
17153 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17154 the CFI state in the end.
17155 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17156 inclusion of dl-trampoline.h.
17157 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17158
171592011-08-19 Andreas Schwab <schwab@redhat.com>
17160
17161 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17162 expectations for long double.
17163
17164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17165 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17166
171672011-08-14 David S. Miller <davem@davemloft.net>
17168
17169 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17170 artificual limit depends upon the system page size.
17171
171722011-08-17 Ulrich Drepper <drepper@gmail.com>
17173
17174 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17175 * resolv/Makefile: Define CFLAGS-libresolv.
17176
171772011-08-17 Andreas Schwab <schwab@redhat.com>
17178
17179 * nss/makedb.c (compute_tables): Make variables used in nested
17180 function static.
17181
171822011-08-17 Ulrich Drepper <drepper@gmail.com>
17183
17184 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17185 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17186 if buffer was too small.
17187
17188 * elf/pldd.c (main): Attach to all threads in the process.
17189 Rewrite /proc handling to use *at functions.
17190
171912011-08-16 Ulrich Drepper <drepper@gmail.com>
17192
17193 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17194 specifies first scope to show.
17195 (dl_open_worker): Update callers. Move printing scope of new
17196 object to before the relocation.
17197 * elf/rtld.c (dl_main): Update _dl_show_scope call.
17198 * sysdeps/generic/ldsodefs.h: Update declaration.
17199
17200 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17201 string for the scope number.
17202
172032011-08-14 Ulrich Drepper <drepper@gmail.com>
17204
17205 * nscd/servicescache.c (cache_addserv): Make sure written is always
17206 initialized.
17207
172082011-08-14 Roland McGrath <roland@hack.frob.com>
17209
17210 * sysdeps/i386/i486/bits/atomic.h
17211 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17212 statement expression, so as to suppress "set but not used" warning.
17213 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17214
17215 * string/strncat.c (STRNCAT): Use prototype definition.
17216
17217 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17218 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17219 -Iprograms here.
17220 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17221 (localedef-modules): Add localedef.
17222 (locale-modules): Add locale.
17223
17224 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17225 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17226 to avoid a warning.
17227
172282011-08-14 David S. Miller <davem@davemloft.net>
17229
17230 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17231 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17232
172332011-08-13 Ulrich Drepper <drepper@gmail.com>
17234
17235 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17236 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17237 * elf/rtld.c (dl_main): Set l_name of vDSO.
17238 Call _dl_show_scope when DL_DEBUG_SCOPES.
17239 (process_dl_debug): Recognize scopes flag and also set it for all.
17240 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17241 Declare _dl_show_scope.
17242
17243 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17244 (do_dlopen): Pass caller_dlopen to dl_open.
17245 (__libc_dlopen_mode): Initialize caller_dlopen.
17246
17247 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17248 of libc. Make tolower call locale-independent. Optimize a bit by
17249 using isdigit instead of isalnum.
17250 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17251
172522011-08-12 Ulrich Drepper <drepper@gmail.com>
17253
17254 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17255 was a dependency or dynamically loaded.
17256
172572011-08-11 Ulrich Drepper <drepper@gmail.com>
17258
17259 * intl/l10nflist.c: Allow architecture-specific pop function.
17260 * sysdeps/x86_64/l10nflist.c: New file.
17261
17262 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17263 classification.
17264
172652011-08-10 Andreas Schwab <schwab@redhat.com>
17266
17267 * include/dirent.h: Add libc_hidden_proto for scandirat and
17268 scandirat64. Don't declare __scandirat64.
17269 * dirent/scandirat.c: Add libc_hidden_def.
17270 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17271 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17272
172732011-08-10 David S. Miller <davem@davemloft.net>
17274
17275 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17276 enum.
17277 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17278 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17279 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17280
172812011-08-09 Ulrich Drepper <drepper@gmail.com>
17282
17283 * Versions.def [libc]: Add GLIBC_2.15.
17284 * dirent/Makefile (routines): Add scandirat and scandirat64.
17285 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17286 GLIBC_2.15.
17287 * dirent/dirent.h: Declare scandirat and scandirat64.
17288 * dirent/scandirat.c: New file.
17289 * dirent/scandirat64.c: New file.
17290 * sysdeps/wordsize-64/scandirat.c: New file.
17291 * sysdeps/wordsize-64/scandirat64.c: New file.
17292 * dirent/opendir.c: Define opendirat.
17293 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17294 using scandirat.
17295 * dirent/scandir64.c: Adjust for scandir.c change.
17296 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17297 __scandirat64, and __scandir_cancel_handler.
17298 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17299 additional parameter and use openat instead of open (outside of ld.so).
17300 Add new __opendir as wrapper around __opendirat.
17301 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17302 here without requiring old scandirat implementation.
17303
173042011-08-08 Ulrich Drepper <drepper@gmail.com>
17305
17306 * dirent/scandir.c (cancel_handler): Renamed to
17307 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17308 defined. Adjust users.
17309 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17310 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17311
173122011-08-04 Ulrich Drepper <drepper@gmail.com>
17313
17314 * string/test-string.h (IMPL): Use __STRING to expand name and then
17315 stringify it.
17316
17317 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17318 of cleanups.
17319
173202011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17321
17322 * string/Makefile: Update.
17323 (strop-tests): Append strncat.
17324 * string/test-wcscmp.c: New file.
17325 New comprehensive test for wcscmp.
17326 * string/test-strcmp.c: Update.
17327 (WIDE): New define.
17328
173292011-07-22 Andreas Schwab <schwab@redhat.com>
17330
17331 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17332 line.
17333
173342011-07-26 Andreas Schwab <schwab@redhat.com>
17335
17336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17337 encoding to ACE if AI_IDN.
17338
173392011-08-01 Jakub Jelinek <jakub@redhat.com>
17340
17341 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17342 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17343
173442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17345
17346 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17347 Fix overflow bug in strncat.
17348 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17349
17350 * string/test-strncat.c: Update.
17351 Add new tests for checking overflow bugs.
17352
173532011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17354
17355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17356 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17357 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17358 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17359 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17360 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17361 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17362 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17363 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17364
17365 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17366 (USE_AS_STRCAT): Define.
17367 Add strcat and strncat support.
17368 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17369
173702011-07-25 Andreas Schwab <schwab@redhat.com>
17371
17372 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17373 __n bigger than INT_MAX+1.
17374 (__strncmp_g): Likewise.
17375
173762011-07-23 Ulrich Drepper <drepper@gmail.com>
17377
17378 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17379 * libio/stido.h: Likewise.
17380
17381 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17382 (AF_NFC): Define.
17383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17384 (AF_NFC): Define.
17385
17386 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17387 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17388 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17389 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17390 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17391
17392 [BZ #13021]
17393 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17394 installed.
17395
17396 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17397 typo.
17398 (_dl_x86_64_save_sse): Likewise.
17399
174002011-07-22 Ulrich Drepper <drepper@gmail.com>
17401
17402 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17403 OSXSAVE.
17404 (_dl_x86_64_save_sse): Likewise.
17405
17406 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17407
17408 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17409
174102011-07-21 Andreas Schwab <schwab@redhat.com>
17411
17412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17413 change.
17414 (_dl_x86_64_save_sse): Use correct AVX check.
17415
174162011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17417
17418 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17419 bug in strncpy/strncat.
17420 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17421
174222011-07-21 Ulrich Drepper <drepper@gmail.com>
17423
17424 * string/tester.c (test_strcat): Add tests for different alignments
17425 of source and destination.
17426 (test_strncat): Likewise.
17427
174282011-07-20 Ulrich Drepper <drepper@gmail.com>
17429
17430 [BZ #12852]
17431 * posix/glob.c (glob): Check passed in values before using them in
17432 expressions to avoid some overflows.
17433 (glob_in_dir): Likewise.
17434
17435 [BZ #13007]
17436 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17437 check for AVX enablement so that we don't crash with old kernels and
17438 new hardware.
17439 * elf/tst-audit4.c: Add same checks here.
17440 * elf/tst-audit6.c: Likewise.
17441
17442 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
17443
174442011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17445
17446 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17447
174482011-07-20 Ulrich Drepper <drepper@gmail.com>
17449
17450 * po/cs.po: Update from translation team.
17451 * po/bg.po: Likewise.
17452
174532011-07-12 Marek Polacek <mpolacek@redhat.com>
17454
17455 * misc/sys/cdefs.h: Add support for const attribute.
17456 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17457 to gnu_dev_{major,minor,makedev} functions.
17458
174592011-07-20 Marek Polacek <mpolacek@redhat.com>
17460
17461 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17462
174632011-07-20 Andreas Schwab <schwab@redhat.com>
17464
17465 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17466 strlen results.
17467
174682011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17469
17470 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17471 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17472 register in order to avoid conflicts with the soft frame pointer
17473 being held in r11 when necessary.
17474 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17475 (INTERNAL_VSYSCALL_NCS): Likewise.
17476
174772011-07-14 Marek Polacek <mpolacek@redhat.com>
17478
17479 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17480 * elf/dl-fini.c (_dl_fini): Adjust caller.
17481 * elf/dl-close.c (_dl_close_worker): Likewise.
17482 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17483
174842011-07-15 Marek Polacek <mpolacek@redhat.com>
17485
17486 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17487 "aux_cache->nlibs < 0".
17488
17489 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17490 in the reload-count case.
17491
174922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17493
17494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17495 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17496 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17497 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17498 * sysdeps/x86_64/multiarch/strcat.S: New file.
17499 * sysdeps/x86_64/multiarch/strncat.S: New file.
17500 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17501 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17502 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17503 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17504 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17505 (USE_AS_STRCAT): Define.
17506 Add strcat and strncat support.
17507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17508 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17509 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17510 * string/strncat.c: Update.
17511 (USE_AS_STRNCAT): Define.
17512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17513 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17514 and i7.
17515 * sysdeps/x86_64/multiarch/init-arch.h
17516 (bit_Prefer_PMINUB_for_stringop): New.
17517 (index_Prefer_PMINUB_for_stringop): Likewise.
17518 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17519 bit_Prefer_PMINUB_for_stringop.
17520
175212011-07-19 Ulrich Drepper <drepper@gmail.com>
17522
17523 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17524 buffer64.
17525 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17526 of casting of buffer.
17527 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17528 buffer32 and buffer64.
17529 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17530 writes instead of casting of buffer.
17531 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17532 buffer32.
17533 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17534 casting of buffer.
17535
175362011-07-19 Andreas Schwab <schwab@redhat.com>
17537
17538 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17539
175402011-07-19 Ulrich Drepper <drepper@gmail.com>
17541
17542 * nscd/nscd.c (termination_handler): Don't do anything for a database
17543 if it has not yet been initialized.
17544
175452011-07-18 Ulrich Drepper <drepper@gmail.com>
17546
17547 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17548
175492011-07-15 Marek Polacek <mpolacek@redhat.com>
17550
17551 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17552
175532011-07-18 Ulrich Drepper <drepper@gmail.com>
17554
17555 * po/nl.po: Update from translation team.
17556 * po/sv.po: Likewise.
17557
175582011-07-16 Roland McGrath <roland@hack.frob.com>
17559
17560 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17561 now disallowed by GCC.
17562
17563 * configure.in (use-default-link): Default to yes if a test -shared
17564 link meets our qualifications.
17565 * configure: Regenerated.
17566
17567 * config.make.in (output-format): New variable.
17568 * configure.in: Check for ld --print-output-format support.
17569 * configure: Regenerated.
17570 * Makerules ($(common-objpfx)format.lds)
17571 [$(output-format) != unknown]: Just use $(output-format),
17572 instead of the linker-script munging.
17573
175742011-07-14 Roland McGrath <roland@hack.frob.com>
17575
17576 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17577 of $(common-objpfx)shlib.lds.
17578 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17579
17580 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17581 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17582
17583 * configure.in (-z relro check): Adjust test code to add a large
17584 writable data section after it.
17585 * configure: Regenerated.
17586
175872011-07-11 Roland McGrath <roland@hack.frob.com>
17588
17589 * configure.in (-z relro check): Fix test code to make the variable
17590 truly const.
17591 * configure: Regenerated.
17592
175932011-07-11 Ulrich Drepper <drepper@gmail.com>
17594
17595 * nscd/nscd.h (struct traced_file): Define.
17596 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17597 elements. Add traced_files.
17598 (inotify_fd): Declare.
17599 (register_traced_file): Declare.
17600 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17601 (inotify_fd): Export.
17602 (resolv_conf_descr): Remove.
17603 (nscd_init): Move inotify descriptor creation to main.
17604 Don't register files for notification here.
17605 (register_traced_file): New function.
17606 (invalidate_cache): Don't use reset_res to determine whether to call
17607 res_init, go through the list of registered files.
17608 (main_loop_poll): The inotify descriptors are now stored in the
17609 structures for the traced files.
17610 (main_loop_epoll): Likewise
17611 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17612 to __nss_disable_nscd.
17613 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17614 for a database anymore. Check the records for all the registered
17615 files instead.
17616 * nss/Makefile (libnss_files-routines): Add files-init.
17617 (libnss_db-routines): Add db-init.
17618 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17619 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17620 * nss/nss_db/db-init.c: New file.
17621 * nss/nss_files/files-init.c: New file.
17622 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17623 __nss_lookup_function.
17624 (__nss_lookup_function): Call nss_load_library.
17625 (nss_load_all_libraries): New function.
17626 (__nss_disable_nscd): Take parameter with callback function for files
17627 to register. Set is_nscd. Load all the DSOs for the NSS modules
17628 used for the cached services.
17629 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17630 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17631 options for features to all the files in nscd.
17632
17633 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17634
176352011-07-10 Roland McGrath <roland@hack.frob.com>
17636
17637 * csu/elf-init.c (__libc_csu_init): Comment typo.
17638
176392011-07-09 Ulrich Drepper <drepper@gmail.com>
17640
17641 * po/pl.po: Update from translation team.
17642 * po/ja.po: Likewise.
17643 * po/ru.po: Likewise.
17644 * po/ko.po: Likewise.
17645 * po/fr.po: Likewise.
17646
176472011-07-09 Roland McGrath <roland@hack.frob.com>
17648
17649 * configure.in (.ctors/.dtors header and trailer check):
17650 Use an empirical test on a built program.
17651 * configure: Regenerated.
17652
17653 * configure.in (-z relro check): Use an empirical test on a built DSO.
17654 Detect, but do not require, on ia64.
17655 * configure: Regenerated.
17656
17657 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17658 Update tests that use readelf to use $READELF instead.
17659 * configure: Regenerated.
17660
176612011-07-08 Ulrich Drepper <drepper@gmail.com>
17662
17663 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17664 if the result is not used.
17665
176662011-07-05 Andreas Jaeger <aj@suse.de>
17667
17668 [BZ#9696]
17669 * stdlib/tst-strtod.c: Add testcase.
17670
176712011-07-07 Ulrich Drepper <drepper@gmail.com>
17672
17673 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17674 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17675 The latter has a higher limit. Take additional parameter to pass to
17676 the new function.
17677 (__pathconf): Pass file to __statfs_link_max.
17678 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17679 __statfs_link_max.
17680 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17681 __statfs_link_max.
17682
17683 [BZ #12868]
17684 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17685 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17686 Handle Lustre.
17687 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17688 (__statfs_filesize_max): Likewise.
17689 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17690
176912011-07-05 Andreas Jaeger <aj@suse.de>
17692
17693 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17694
176952011-07-06 Marek Polacek <mpolacek@redhat.com>
17696
17697 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17698 `status' variable.
17699 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17700 Likewise.
17701
177022011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17703
17704 * Makefile (strop-tests): Add strncat.
17705 * string/test-strncat.c: New file.
17706
177072011-06-30 Marek Polacek <mpolacek@redhat.com>
17708
17709 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17710
177112011-06-21 Andreas Jaeger <aj@suse.de>
17712
17713 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17714 Copy rule from iconvdata/Makefile.
17715
177162011-07-06 Ulrich Drepper <drepper@gmail.com>
17717
17718 [BZ #12922]
17719 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17720 but no long options are defined, just return 'W'.
17721
177222011-06-22 Marek Polacek <mpolacek@redhat.com>
17723
17724 [BZ #9696]
17725 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17726
177272011-07-06 Ulrich Drepper <drepper@gmail.com>
17728
17729 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17730 netgroups to read.
17731 (innetgr): Likewise.
17732
177332011-07-05 Roland McGrath <roland@hack.frob.com>
17734
17735 * config.make.in (install_root): Default to $(DESTDIR).
17736
177372011-07-05 Ulrich Drepper <drepper@gmail.com>
17738
17739 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17740
177412011-07-02 Roland McGrath <roland@hack.frob.com>
17742
17743 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17744
17745 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17746 containing directory rather than embedding absolute directory names.
17747
17748 * scripts/check-local-headers.sh: Rewritten using awk.
17749 Match by word, not by line. Print error messages for matches.
17750 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17751
17752 * Makerules [shlib-lds-flags empty]:
17753 ($(common-objpfx)libc_pic.opts): New target.
17754 ($(common-objpfx)libc_pic.os.clean): New target.
17755 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17756
17757 * config.make.in (OBJCOPY): New variable.
17758 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17759 * configure: Regenerated.
17760
17761 * config.make.in (use-default-link): New variable.
17762 * configure.in (use_default_link): Grok --with-default-link to set it.
17763 * configure: Regenerated.
17764 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17765 (shlib-lds, shlib-lds-flags): Define to empty.
17766
17767 * Makerules (shlib-lds): New variable.
17768 (shlib-lds-flags): New variable.
17769 (build-shlib, build-moduile, build-module-asneeded): Use it.
17770 ($(common-objpfx)libc.so): Use $(shlib-lds).
17771 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17772 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17773
17774 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17775 DT_FLAGS/DT_FLAGS_1 with zero flags.
17776
17777 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17778 linker script munging.
17779
177802011-07-02 Ulrich Drepper <drepper@gmail.com>
17781
17782 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17783 as 128-bit value.
17784 * crypt/sha512.c (sha512_process_block): Perform total addition using
17785 128-bit if possible.
17786 (__sha512_finish_ctx): Likewise.
17787 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17788 as 64-bit value.
17789 * crypt/sha256.c (SWAP64): Define.
17790 (sha256_process_block): Perform total addition using 64-bit if
17791 possible.
17792 (__sha256_finish_ctx): Likewise.
17793
177942011-07-01 Ulrich Drepper <drepper@gmail.com>
17795
17796 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17797 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17798 * nscd/hstcache.c (cache_addhst): Likewise.
17799 * nscd/grpcache.c (cache_addgr): Likewise.
17800 * nscd/aicache.c (addhstaiX): Likewise
17801 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17802
178032011-07-01 Thorsten Kukuk <kukuk@suse.de>
17804
17805 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17806 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17807 * nscd/hstcache.c (cache_addhst): Likewise.
17808 * nscd/grpcache.c (cache_addgr): Likewise.
17809 * nscd/aicache.c (addhstaiX): Likewise
17810
178112011-07-01 Andreas Schwab <schwab@redhat.com>
17812
17813 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17814 domain only when needed.
17815
178162011-06-30 Andreas Schwab <schwab@redhat.com>
17817
17818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17819 is always restored.
17820
178212011-06-29 Ulrich Drepper <drepper@gmail.com>
17822
17823 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17824 are re-adding the entry.
17825 * nscd/servicescache.c (cache_addserv): Likewise.
17826
178272011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17828
17829 * sysdeps/generic/dl-irel.h: fix protection against multiple
17830 inclusions.
17831 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17832
178332011-06-28 Ulrich Drepper <drepper@gmail.com>
17834
17835 [BZ #12935]
17836 * malloc/memusage.sh: Fix quoting in message.
17837 * debug/xtrace.sh: Likewise.
17838
17839 * configure.in: Remove support for --experimental-malloc option, make
17840 it the default.
17841 * config.make.in: Likewise.
17842 * malloc/Makefile: Likewise.
17843
178442011-06-27 Andreas Schwab <schwab@redhat.com>
17845
17846 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17847 two-byte characters.
17848
178492011-06-27 Roland McGrath <roland@hack.frob.com>
17850
17851 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17852 AC_CACHE_CHECK invocation.
17853 * configure: Regenerated.
17854
17855 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17856
178572011-06-27 Ulrich Drepper <drepper@gmail.com>
17858
17859 [BZ #12350]
17860 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17861 bit from old_res_options.
17862
17863 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17864
17865 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17866 value type for setfct.
17867
178682011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17869
17870 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17871 __gettimeofday instead of gettimeofday.
17872
178732011-06-26 Ulrich Drepper <drepper@gmail.com>
17874
17875 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17876
178772011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17878
17879 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17880
17881 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17882 info.
17883
178842011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17885
17886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17887 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17888 strcpy-sse2-unaligned strncpy-sse2-unaligned
17889 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17890 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17891 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17892 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17893 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17894 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17895 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17896 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17897 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17898 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17899 (STRCPY): Support SSE2 and SSSE3 versions.
17900
179012011-06-24 Ulrich Drepper <drepper@gmail.com>
17902
17903 [BZ #12874]
17904 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17905 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17906 kernels which artificially limit size of requests.
17907
179082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17909
17910 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17911 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17912 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17913 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17914 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17915 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17916 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17917 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17918 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17919 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17920 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17921 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17922 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17923 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17924 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17926 Enable unaligned load optimization for Intel Core i3, i5 and i7
17927 processors.
17928 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17929 Define.
17930 (index_Fast_Unaligned_Load): Define.
17931 (HAS_FAST_UNALIGNED_LOAD): Define.
17932
179332011-06-23 Marek Polacek <mpolacek@redhat.com>
17934
17935 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17936
179372011-06-22 Ulrich Drepper <drepper@gmail.com>
17938
17939 [BZ #12907]
17940 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17941 until it is clear that the information is realy needed.
17942 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17943
179442011-06-22 Andreas Schwab <schwab@redhat.com>
17945
17946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17947
179482011-06-22 Ulrich Drepper <drepper@gmail.com>
17949
17950 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17951 /sys/devices/system/cpu/online if it is usable.
17952
17953 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17954 reading the information from the /proc filesystem to once a second.
17955
179562011-06-21 Andreas Jaeger <aj@suse.de>
17957
17958 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17959 NULL after inclusion of kernel headers.
17960
179612011-06-21 Ulrich Drepper <drepper@gmail.com>
17962
17963 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17964 calls to internal_setent.
17965
17966 [BZ #12885]
17967 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17968 addresses using gethostbyname4_r ignore IPv4 addresses.
17969
17970 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17971 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17972
17973 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17974
179752011-06-20 David S. Miller <davem@davemloft.net>
17976
17977 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17978 inclusions.
17979 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17980
17981 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17982 (elf_irel): Use it.
17983 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17984 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17985 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17986 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17987 * sysdeps/x86_64/dl-irel.h: Likewise.
17988
17989 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17990 * elf/dl-sym.c: Likewise.
17991
179922011-06-15 Ulrich Drepper <drepper@gmail.com>
17993
17994 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17995 need to dereference resplen2.
17996
179972011-06-14 Andreas Schwab <schwab@redhat.com>
17998
17999 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18000
180012011-06-15 Ulrich Drepper <drepper@gmail.com>
18002
18003 * Makeconfig: Define vardbdir and inst_vardbdir.
18004 * nss/Makefile: Add rules to install db-Makefile.
18005
18006 * nss/nss_db/db-XXX.c: Cleanup.
18007
18008 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18009 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18010 GLIBC_PRIVATE.
18011 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18012 * nss/makedb.c: Implement -g option to specify that value strings
18013 are generated and should not be added to table iterated over for
18014 get*ent calls.
18015 * nss/nss_db/db-initgroups.c: New file.
18016
18017 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18018 interface.
18019
18020 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18021 (internal_getgrouplist): Adjust to name change.
18022 Update use_initgroups_entry if this is not the first call.
18023 * nss/databases.def: Add initgroups entry.
18024
18025 * nss/makedb.c (compute_tables): Check result of multiple hash table
18026 sizes to minimize maximum chain length.
18027
180282011-06-14 Ulrich Drepper <drepper@gmail.com>
18029
18030 * Versions.def: Add entry for libnss_db.
18031 * shlib-versions: Likewise.
18032 * nss/Makefile: Add rules to build libnss_db.
18033 * nss/Versions: Add libnss_db information. Organize libnss_files
18034 entries better.
18035 * nss/db-Makefile: Add gshadow support. Change rules for the new
18036 makedb progra. Some minor improvements to generate smaller files.
18037 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18038 here from...
18039 * nss/makedb.c: ...here.
18040 Improve database format to be smaller and require less memory at
18041 runtime.
18042 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18043 db anymore.
18044 * nss/nss_db/db-netgrp.c: Likewise.
18045 * nss/nss_db/db-open.c: Likewise.
18046 * nss/nss_files/flies-XXX.x: Adjust comments.
18047 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18048 * nss/nss_files/files-grp.c: Likewise.
18049 * nss/nss_files/files-hosts.c: Likewise.
18050 * nss/nss_files/files-network.c: Likewise.
18051 * nss/nss_files/files-proto.c: Likewise.
18052 * nss/nss_files/files-pwd.c: Likewise.
18053 * nss/nss_files/files-rpc.c: Likewise.
18054 * nss/nss_files/files-service.c: Likewise.
18055 * nss/nss_files/files-sgrp.c: Likewise.
18056 * nss/nss_files/files-spwd.c: Likewise.
18057 * nss/nss_db/db-alias.c: Removed.
18058 * nss/nss_db/dummy-db.h: Removed.
18059
180602011-06-02 Ulrich Drepper <drepper@gmail.com>
18061
18062 * nss/makedb.c: Rewritten to not use database library.
18063 * nss/Makefile: Update to build new makedb program.
18064
180652011-06-14 Andreas Jaeger <aj@suse.de>
18066
18067 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18068 memset declaration.
18069
180702011-06-10 Andreas Schwab <schwab@redhat.com>
18071
18072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18073 tmpbuf.
18074
180752011-06-10 Roland McGrath <roland@hack.frob.com>
18076
18077 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18078 * elf/Makefile ($(objpfx)ld.so): Likewise.
18079
18080 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18081 Don't list ld.so twice in dependencies.
18082
18083 * posix/bug-regex31.c: Include <stdlib.h>.
18084
18085 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18086
18087 * nis/nss_compat/compat-spwd.c
18088 (getspent_next_nss_netgr): Remove unused variable.
18089 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18090
18091 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18092 nonmembers" output to use the right array.
18093
18094 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18095
18096 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18097
18098 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18099 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18100 * catgets/gencat.c (read_input_file): Likewise.
18101 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18102
18103 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18104 variable definition inside #if's controlling its use.
18105
18106 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18107
18108 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18109
18110 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18111
18112 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18113 unreachable code.
18114
18115 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18116
18117 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18118 * configure: Regenerated.
18119
18120 * Makerules: Revert last change.
18121 * elf/Makefile: Likewise.
18122
181232011-06-09 Roland McGrath <roland@hack.frob.com>
18124
18125 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18126 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18127 (reloc-link): Likewise.
18128
181292011-06-09 Ulrich Drepper <drepper@gmail.com>
18130
18131 * elf/Makefile: Add rules to build pldd.
18132 * elf/pldd.c: New file.
18133 * elf/pldd-xx.c: New file.
18134
181352011-06-07 Ulrich Drepper <drepper@gmail.com>
18136
18137 * version.h: Update for 2.15 development version.
18138
181392011-06-07 David S. Miller <davem@davemloft.net>
18140
18141 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18142 ifuncs.
18143 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18144 elf_machine_lazy_rel): Likewise.
18145 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18146 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18147 elf_machine_lazy_rel): Likewise.
18148 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18149 dl_hwcap via passed in argument.
18150 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18151 Likewise.
18152
181532011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18154
18155 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18156
181572011-06-06 Roland McGrath <roland@hack.frob.com>
18158
18159 [BZ #12849]
18160 * manual/fdl-1.1.texi: New file, verbatim from:
18161 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18162 * manual/lgpl-2.1.texi: New file, verbatim from:
18163 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18164 * manual/Makefile (licenses): New variable, list those new file names.
18165 (texis): Use it.
18166 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18167
18168 * manual/fdl.texi: File removed.
18169 * manual/lesser.texi: File removed.
18170 * manual/libc.texinfo (Copying, Documentation License):
18171 Use new @include file names, put @appendix directive before @include.
18172
181732011-06-04 Jakub Jelinek <jakub@redhat.com>
18174
18175 [BZ #12841]
18176 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18177 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18178 (mq_open): Add __NTH.
18179
181802011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18181
18182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18183 Assume Intel Core i3/i5/i7 processor if AVX is available.
18184
181852011-05-31 Ulrich Drepper <drepper@gmail.com>
18186
18187 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18188 typo.
18189
181902011-05-31 Andreas Schwab <schwab@redhat.com>
18191
18192 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18193 memory. Use alloca_account. Fix memory leak when retrying.
18194
181952011-05-31 Ulrich Drepper <drepper@gmail.com>
18196
18197 * version.h (RELEASE): Bump for 2.14 release.
18198 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18199
18200 * config.make.in (RANLIB): Remove entry.
18201
182022011-05-30 Ulrich Drepper <drepper@gmail.com>
18203
18204 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18205 (libc.pot): Work around missing support for .ksh extension in xgettext.
18206
18207 [BZ #12684]
18208 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18209 if both request failed.
18210 (send_dg): In case of server errors clear resplen or *resplen2.
18211
18212 [BZ #12454]
18213 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18214 when there are multiple maps.
18215 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18216 (_dl_fini): Remove test here.
18217
18218 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18219
182202011-05-29 Ulrich Drepper <drepper@gmail.com>
18221
18222 [BZ #12350]
18223 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18224 bit from old_res_options.
18225 (gaih_inet): Likewise.
18226
18227 [BZ #11099]
18228 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18229 as signed.
18230
18231 * resolv/res_init.c (res_setoptions): Make the code more compact.
18232
18233 [BZ #11558]
18234 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18235 set RES_USEVC.
18236
18237 [BZ #11634]
18238 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18239
18240 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18241
18242 [BZ #11781]
18243 * malloc/malloc.h: Declare malloc hook variables as volatile.
18244
18245 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18246 in last patch.
18247
18248 [BZ #11799]
18249 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18250 raise in the comment.
18251 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18252 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18253 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18254
182552011-05-28 Ulrich Drepper <drepper@gmail.com>
18256
18257 [BZ #12811]
18258 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18259 grow the buffers more if it already has to be sufficient.
18260 (build_wcs_upper_buffer): Likewise.
18261 * posix/regexec.c (check_matching): Likewise.
18262 (clean_state_log_if_needed): Likewise.
18263 (extend_buffers): Don't enlarge buffers beyond size of the input
18264 buffer.
18265 Patches mostly by Emil Wojak <emil@wojak.eu>.
18266 * posix/bug-regex32.c: New file.
18267 * posix/Makefile (tests): Add bug-regex32.
18268
18269 * locale/findlocale.c (_nl_find_locale): Return right away if
18270 _nl_explode_name failed.
18271 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18272
18273 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18274
18275 * debug/xtrace.sh: Unify messages.
18276 * malloc/memusage.sh: Likewise.
18277
18278 [BZ #12813]
18279 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18280 time symbol from vDSO. Substitute with vsyscall if not available.
18281 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18282 __vdso_time.
18283
18284 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18285 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18286 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18287 Add sendmmsg and internal_sendmmsg.
18288 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18289 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18290 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18291
18292 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18293 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18294 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18295
182962011-05-27 Ulrich Drepper <drepper@gmail.com>
18297
18298 [BZ #12813]
18299 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18300 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18301 available.
18302 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18303 __vdso_getcpu.
18304
18305 [BZ #12814]
18306 * iconvdata/Makefile (tests): Add bug-iconv9.
18307 * iconvdata/bug-iconv9.c: New file.
18308
183092011-05-27 Andreas Schwab <schwab@redhat.com>
18310
18311 [BZ #12814]
18312 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18313
183142011-05-25 Jakub Jelinek <jakub@redhat.com>
18315
18316 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18317 (struct user_regs_struct): Change intcs field back to cs.
18318
183192011-05-25 Ulrich Drepper <drepper@gmail.com>
18320
18321 * po/ja.po: Update from translation team.
18322
183232011-05-23 Ulrich Drepper <drepper@gmail.com>
18324
18325 [BZ #12795]
18326 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18327 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18328
183292011-05-20 Andreas Schwab <schwab@redhat.com>
18330
18331 * stdlib/longlong.h: Update from GCC.
18332
183332011-05-23 Andreas Schwab <schwab@redhat.com>
18334
18335 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18336 parameter name.
18337 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18338 Add parameter name.
18339 (__sysconf): Pass it down.
18340
183412011-05-22 Ulrich Drepper <drepper@gmail.com>
18342
18343 [BZ #12671]
18344 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18345 some situations.
18346 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18347 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18348 add in in __libc_use_alloca calls. Adjust callers.
18349 (glob): Use malloc in some situations.
18350
18351 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18352 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18353 pltexit.
18354
183552011-05-21 Ulrich Drepper <drepper@gmail.com>
18356
18357 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18358 and CLOCK_BOOTTIME_ALARM.
18359
18360 [BZ #12782]
18361 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18362 is returned.
18363
18364 * string/_strerror.c (__strerror_r): Print negative errors as signed
18365 numbers.
18366
18367 [BZ #12777]
18368 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18369 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18370 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18371
18372 * configure.in: Fix typo in redirection and correct removal of test
18373 files in two cases.
18374
18375 [BZ #12788]
18376 * locale/setlocale.c (new_composite_name): Fix test to check for
18377 identical name of all categories.
18378
18379 [BZ #12792]
18380 * libio/filedoalloc.c (local_isatty): New function.
18381 (_IO_file_doallocate): Use local_isatty.
18382 * stdio-common/perror.c (perror): In case a new stream is used
18383 forward the stream error.
18384 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18385 error flag.
18386
183872011-05-20 Ulrich Drepper <drepper@gmail.com>
18388
18389 [BZ #11869]
18390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18391 alloca.
18392 * include/alloca.h (extend_alloca_account): Define.
18393
18394 [BZ #11857]
18395 * posix/regex.h: Fix comments with documentation of user-accessible
18396 fields after compilation and describe correct free'ing of pattern
18397 after re_compile_pattern.
18398 Patch by Reuben Thomas <rrt@sc3d.org>.
18399
184002011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18401
18402 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18403 and -mno-altivec to prevent the compiler from using Altivec and/or
18404 VSX instructions when the corresponding registers are not available.
18405
184062011-05-19 Andreas Schwab <schwab@redhat.com>
18407
18408 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18409
184102011-05-19 Ulrich Drepper <drepper@gmail.com>
18411
18412 * libio/freopen.c (freopen): Use __dup2, not dup2.
18413 * libio/freopen64.c (freopen64): Likewise.
18414
184152011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18416
18417 [BZ #12775]
18418 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18419 * math/Makefile (tests): Add test-powl.
18420 (CFLAGS-test-powl.c): Define.
18421 * math/test-powl.c: New file.
18422
184232011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18424
18425 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18426
184272011-05-17 Ulrich Drepper <drepper@gmail.com>
18428
18429 [BZ #11837]
18430 * iconvdata/gb18030.c: Update to GB18020-2005.
18431
184322011-05-16 Ulrich Drepper <drepper@gmail.com>
18433
18434 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18435 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18436 Patch by Aharon Robbins <arnold@skeeve.com>.
18437
18438 [BZ #11892]
18439 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18440 on the stack.
18441
18442 [BZ #11895]
18443 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18444 through underflows.
18445
18446 [BZ #12766]
18447 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18448 point to strings before performing equality test for error_one_per_line
18449 mode.
18450
18451 [BZ #11697]
18452 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18453
18454 [BZ #11820]
18455 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18456 (struct user_fpregs_struct): Avoid __uint*_t types.
18457
18458 [BZ #6420]
18459 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18460 symbol info. Use it instead of calling _dl_addr locally.
18461 (lock_and_info): New function.
18462 (tr_freehook): Call lock_and_info and pass symbol info as additional
18463 parameter to tr_where.
18464 (tr_mallochook): Likewise.
18465 (tr_reallochook): Likewise.
18466 (tr_memalignhook): Likewise.
18467
18468 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18469 used and couldn't be at all thread-safe.
18470
184712011-05-15 Ulrich Drepper <drepper@gmail.com>
18472
18473 * libio/freopen.c (freopen): Don't close old file descriptor
18474 before the new one is opened. Instead dup the new file descriptor
18475 to the old one after the new stream is created.
18476 * libio/freopen64.c (freopen64): Likewise.
18477 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18478 * libio/fileops.c (_IO_new_file_close_it): Handle new
18479 _IO_FLAGS2_NOCLOSE flag.
18480 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18481 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18482 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18483 _IO_FLAGS2_NOCLOSE flag.
18484 * include/unistd.h: Add hidden_proto for dup3.
18485 Define __have_dup3.
18486 * io/dup3.c: Define hidden symbol.
18487 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18488
18489 [BZ #7101]
18490 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18491 when an incomplete long option is used.
18492 * posix/tst-getopt_long1.c: New file.
18493 * posix/Makefile (tests): Add tst-getopt_long1.
18494
18495 [BZ #10138]
18496 * scripts/config.guess: Update from autoconf-2.68.
18497 * scripts/config.sub: Likewise.
18498
18499 [BZ #10157]
18500 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18501 tests into ...
18502 (has_cpuclock): ...this. New function.
18503 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18504 macro here based on has_cpuclock code.
18505
18506 [BZ #10149]
18507 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18508 First byte (not low byte) is now always NUL.
18509 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18510
18511 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18512 Use non-cancelable interfaces.
18513
18514 [BZ #9809]
18515 * locale/iso-639.def: Add entry for Sorani.
18516
18517 [BZ #11901]
18518 * include/stdlib.h: Move include protection to the right place.
18519 Define abort_msg_s. Declare __abort_msg with it.
18520 * stdlib/abort.c (__abort_msg): Adjust type.
18521 * assert/assert.c (__assert_fail_base): New function. Majority
18522 of code from __assert_fail. Allocate memory for __abort_msg with
18523 mmap.
18524 (__assert_fail): Now call __assert_fail_base.
18525 * assert/assert-perr.c: Remove bulk of implementation. Use
18526 __assert_fail_base.
18527 * include/assert.hL Declare __assert_fail_base.
18528 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18529 mmap.
18530 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18531
185322011-05-14 Ulrich Drepper <drepper@gmail.com>
18533
18534 [BZ #11952]
18535 [BZ #12453]
18536 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18537 until all modules are registered in the DTV.
18538 * elf/Makefile: Add rules to build and run tst-tls19.
18539 * elf/tst-tls19.c: New file.
18540 * elf/tst-tls19mod1.c: New file.
18541 * elf/tst-tls19mod2.c: New file.
18542 * elf/tst-tls19mod3.c: New file.
18543 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18544
18545 [BZ #12083]
18546 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18547 correctly.
18548
18549 [BZ #12601]
18550 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18551 two-byte sequence errors.
18552 * iconvdata/Makefile (tests): Add bug-iconv8.
18553 * iconvdata/bug-iconv8.c: New file.
18554
18555 [BZ #12626]
18556 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18557 buf2 definition.
18558
18559 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18560
18561 [BZ #12432]
18562 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18563 (dummy_getcfa): New function.
18564 (init): Get _Unwind_GetCFA address, use dummy if not found.
18565 (backtrace_helper): In recursion check, also check whether CFA changes.
18566 (__backtrace): Completely initialize arg.
18567
18568 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18569 storing incomplete byte sequence in state object. Avoid testing for
18570 guaranteed too small input if we know there is enough data available.
18571
185722011-05-11 Andreas Schwab <schwab@redhat.com>
18573
18574 * Makeconfig (+link-pie): Indent.
18575 * Rules (binaries-pie): Define if $(have-fpie) and
18576 $(build-shared).
18577 (binaries-shared): Also filter out $(binaries-pie).
18578 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18579 * nscd/Makefile (others-pie): Add nscd.
18580 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18581 ($(objpfx)nscd): Remove command override.
18582 * login/Makefile (others-pie): Add pt_chown.
18583 ($(objpfx)pt_chown): Remove command override.
18584 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18585 remove command overrides.
18586
185872011-05-13 Ulrich Drepper <drepper@gmail.com>
18588
18589 * libio/tst_putwc.c: Fix error messages.
18590
18591 [BZ #12724]
18592 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18593 currently writing and seek to current position when not.
18594 * libio/Makefile (tests): Add bug-fclose1.
18595 * libio/bug-fclose1.c: New file.
18596
185972011-05-12 Ulrich Drepper <drepper@gmail.com>
18598
18599 [BZ #12511]
18600 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18601 don't set DF_1_NODELETE here.
18602 (do_lookup_x): When entering new entry test for copy relocation
18603 and if necessary set DF_1_NODELETE flag.
18604 * elf/tst-unique4.cc: New file.
18605 * elf/tst-unique4.h: New file.
18606 * elf/tst-unique4lib.cc: New file.
18607 * elf/Makefile: Add rules to build and run tst-unique4.
18608 Patch by Piotr Bury <pbury@goahead.com>.
18609
186102011-05-11 Ulrich Drepper <drepper@gmail.com>
18611
18612 [BZ #12052]
18613 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18614
18615 [BZ #12625]
18616 * misc/mntent_r.c (addmntent): Flush the stream after the output
18617
18618 [BZ #12393]
18619 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18620 (is_trusted_path_normalize): Skip initial colon. Append slash
18621 to empty buffer. Duplicate is_trusted_path code but allow
18622 constructed patch to be prefix.
18623 (is_dst): Allow $ORIGIN followed by /.
18624 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18625 Correct testing of result of is_trusted_path_normalize
18626 (decompose_rpath): Fix warning.
18627
186282011-05-10 Ulrich Drepper <drepper@gmail.com>
18629
18630 [BZ #11257]
18631 * grp/initgroups.c (internal_getgrouplist): When we found the service
18632 list through the initgroups entry in nsswitch.conf do not always
18633 continue on a successful lookup. Don't always use the
18634 __nss_group_database value if it is set.
18635 * nss/nsswitch.conf (initgroups): Change action for successful db
18636 lookup to continue for compatibility.
18637
186382011-05-09 Ulrich Drepper <drepper@gmail.com>
18639
18640 [BZ #11532]
18641 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18642 and CP774 modules.
18643 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18644 and CP774 modules.
18645 * iconvdata/tst-tables.sh: Likewise.
18646 * iconvdata/cp770.c: New file.
18647 * iconvdata/cp771.c: New file.
18648 * iconvdata/cp772.c: New file.
18649 * iconvdata/cp773.c: New file.
18650 * iconvdata/cp774.c: New file.
18651 * iconvdata/testdata/CP770: New file.
18652 * iconvdata/testdata/CP770..UTF8: New file.
18653 * iconvdata/testdata/CP771: New file.
18654 * iconvdata/testdata/CP771..UTF8: New file.
18655 * iconvdata/testdata/CP772: New file.
18656 * iconvdata/testdata/CP772..UTF8: New file.
18657 * iconvdata/testdata/CP773: New file.
18658 * iconvdata/testdata/CP773..UTF8: New file.
18659 * iconvdata/testdata/CP774: New file.
18660 * iconvdata/testdata/CP774..UTF8: New file.
18661
18662 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18663 END CHARMAP line.
18664 * iconvdata/gen-8bit-gap.sh: Likewise.
18665 * iconvdata/gen-8bit.sh: Likewise.
18666
18667 * locale/iso-639.def: Add ary entry.
18668
18669 [BZ #11258]
18670 * locale/C-translit.h.in: Add U20A1 transliteration.
18671
18672 [BZ #12178]
18673 * locale/iso-639.def: Add wae entry.
18674 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18675
18676 [BZ #12545]
18677 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18678 for n.
18679
18680 [BZ #12711]
18681 * locale/C-translit.h.in: Add entry for U20B9.
18682 Patch by pravin.d.s@gmail.com.
18683
186842011-05-08 Ulrich Drepper <drepper@gmail.com>
18685
18686 [BZ #12713]
18687 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18688 ENAMETOOLONG use generic getcwd.
18689 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18690 in rtld. Use *stat64.
18691 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18692 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18693 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18694 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18695 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18696 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18697 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18698 __fstatat64 macros.
18699 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18700 * dirent/rewinddir.c: Add libc_hidden_def.
18701 * sysdeps/mach/hurd/rewinddir.c: Likewise.
18702 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
18703
18704 * include/dirent.h (__alloc_dir): Add flags parameter.
18705 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18706 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18707 __alloc_dir.
18708 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18709 from fdopendir if O_CLOEXEC is already set.
18710
187112011-03-15 Alan Modra <amodra@gmail.com>
18712
18713 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18714 l_tls_firstbyte_offset non-zero. Save padding offset in
18715 l_tls_firstbyte_offset for later use.
18716 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18717 freeing static tls block.
18718
187192011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18720
18721 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18722 where #ifdef was intended. The intent is to prevent ARG_MAX from
18723 being defined by the kernel headers.
18724
187252011-05-07 Ulrich Drepper <drepper@gmail.com>
18726
18727 [BZ #12734]
18728 * resolv/resolv.h: Define RES_NOTLDQUERY.
18729 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18730 no-tld-query and set RES_NOTLDQUERY.
18731 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18732 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18733 modern BIND to search name as TLD unless forbidden.
18734
187352011-05-07 Petr Baudis <pasky@suse.cz>
18736 Ulrich Drepper <drepper@gmail.com>
18737
18738 [BZ #12393]
18739 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18740 (is_trusted_path): ...to here.
18741 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18742 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18743 using is_trusted_path_normalize() in setuid scripts.
18744
187452011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18746
18747 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18748 __BEGIN/__END_DECLS.
18749
187502011-05-06 Ulrich Drepper <drepper@gmail.com>
18751
18752 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18753 NSS_STATUS_NOTFOUND if no record was found.
18754
187552011-05-05 Andreas Schwab <schwab@redhat.com>
18756
18757 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18758 (headers-not-in-tirpc): Remove rpc/netdb.h
18759 * resolv/netdb.h: Revert last change.
18760
187612011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18762
18763 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18764 circular dependency between libgcc.a and libc.a.
18765
187662011-05-05 Andreas Schwab <schwab@redhat.com>
18767
18768 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18769 * nis/Makefile: Don't install rpcsvc/*.
18770 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18771 instead of <rpc/types.h>.
18772 (MAXHOSTNAMELEN): Define.
18773
187742011-05-03 Andreas Schwab <schwab@redhat.com>
18775
18776 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18777
187782011-04-28 Maciej Babinski <mbabinski@google.com>
18779
18780 [BZ #12714]
18781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18782 gethostbyname4_r when IPv6 results are possible.
18783
187842011-05-02 Ulrich Drepper <drepper@gmail.com>
18785
18786 [BZ #12723]
18787 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18788 _PC_PIPE_BUF handling.
18789
187902011-04-30 Bruno Haible <bruno@clisp.org>
18791
18792 [BZ #12717]
18793 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18794 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18795 to 'int'.
18796 * inet/getnameinfo.c (getnameinfo): Likewise.
18797
187982011-04-29 Ulrich Drepper <drepper@gmail.com>
18799
18800 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18801 to groups setting in database lookup.
18802 * nss/nsswitch.conf: Add initgroups entry.
18803
188042011-04-22 Ulrich Drepper <drepper@gmail.com>
18805
18806 [BZ #12685]
18807 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18808 mode string.
18809 Patch by Eric Blake <eblake@redhat.com>.
18810
188112011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18812
18813 * sunrpc/Makefile (need-export-routines): Add svc_run.
18814 (routines): Remove svc_run.
18815 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18816 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18817 * sunrpc/svc_run.c (svc_run): Likewise.
18818 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18819
188202011-04-21 Ulrich Drepper <drepper@gmail.com>
18821
18822 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18823 problem in reallocation in last patch.
18824
188252011-04-20 Ulrich Drepper <drepper@gmail.com>
18826
18827 * sunrpc/Makefile: Move inclusion of Rules.
18828
188292011-04-19 Ulrich Drepper <drepper@gmail.com>
18830
18831 * nss/nss_files/files-initgroups.c: New file.
18832 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18833 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18834 _nss_files_initgroups_dyn.
18835
188362011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18837
18838 * elf/elf.h (R_ARM_IRELATIVE): Define.
18839
188402011-04-19 Ulrich Drepper <drepper@gmail.com>
18841
18842 * po/ru.po: Update from translation team.
18843
188442011-04-17 Ulrich Drepper <drepper@gmail.com>
18845
18846 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18847 dependencies.
18848
188492011-02-06 Mike Frysinger <vapier@gentoo.org>
18850
18851 [BZ #12653]
18852 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18853 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18854 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18855 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18856 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18857
188582011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18859
18860 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18861 differing bytes.
18862 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18863 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18864 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18865
188662011-04-17 Ulrich Drepper <drepper@gmail.com>
18867
18868 [BZ #12420]
18869 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18870 storing it.
18871 * stdlib/bug-getcontext.c: New file.
18872 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18873
188742011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18875
18876 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18877 instructions into .machine "z9-109".
18878 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18879 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18880
188812011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18882
18883 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18884 between environment variables and auxiliary vector.
18885
188862011-04-16 Ulrich Drepper <drepper@gmail.com>
18887
18888 * Makefile: Add rules to build linkobj/libc.so.
18889 * include/libc-symbols.h: Define libc_hidden_nolink.
18890 * include/rpc/auth.h: Mark functions which are to be hidden.
18891 * include/rpc/auth_des.h: Likewise.
18892 * include/rpc/auth_unix.h: Likewise.
18893 * include/rpc/clnt.h: Likewise.
18894 * include/rpc/des_crypt.h: Likewise.
18895 * include/rpc/key_prot.h: Likewise.
18896 * include/rpc/pmap_clnt.h: Likewise.
18897 * include/rpc/pmap_prot.h: Likewise.
18898 * include/rpc/pmap_rmt.h: Likewise.
18899 * include/rpc/rpc_msg.h: Likewise.
18900 * include/rpc/svc.h: Likewise.
18901 * include/rpc/svc_auth.h: Likewise.
18902 * include/rpc/xdr.h: Likewise.
18903 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18904 * nss/Makefile: Likewise.
18905 * sunrpc/Makefile: Don't install headers. Build library with normal
18906 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18907 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18908 for the compat linking library. Remove use of INTDEF/INTUSE.
18909 * sunrpc/auth_none.c: Likewise.
18910 * sunrpc/auth_unix.c: Likewise.
18911 * sunrpc/authdes_prot.c: Likewise.
18912 * sunrpc/authuxprot.c: Likewise.
18913 * sunrpc/clnt_gen.c: Likewise.
18914 * sunrpc/clnt_perr.c: Likewise.
18915 * sunrpc/clnt_raw.c: Likewise.
18916 * sunrpc/clnt_simp.c: Likewise.
18917 * sunrpc/clnt_tcp.c: Likewise.
18918 * sunrpc/clnt_udp.c: Likewise.
18919 * sunrpc/clnt_unix.c: Likewise.
18920 * sunrpc/des_crypt.c: Likewise.
18921 * sunrpc/des_soft.c: Likewise.
18922 * sunrpc/get_myaddr.c: Likewise.
18923 * sunrpc/key_call.c: Likewise.
18924 * sunrpc/key_prot.c: Likewise.
18925 * sunrpc/netname.c: Likewise.
18926 * sunrpc/pm_getmaps.c: Likewise.
18927 * sunrpc/pm_getport.c: Likewise.
18928 * sunrpc/pmap_clnt.c: Likewise.
18929 * sunrpc/pmap_prot.c: Likewise.
18930 * sunrpc/pmap_prot2.c: Likewise.
18931 * sunrpc/pmap_rmt.c: Likewise.
18932 * sunrpc/publickey.c: Likewise.
18933 * sunrpc/rpc_cmsg.c: Likewise.
18934 * sunrpc/rpc_common.c: Likewise.
18935 * sunrpc/rpc_dtable.c: Likewise.
18936 * sunrpc/rpc_prot.c: Likewise.
18937 * sunrpc/rpc_thread.c: Likewise.
18938 * sunrpc/rtime.c: Likewise.
18939 * sunrpc/svc.c: Likewise.
18940 * sunrpc/svc_auth.c: Likewise.
18941 * sunrpc/svc_authux.c: Likewise.
18942 * sunrpc/svc_raw.c: Likewise.
18943 * sunrpc/svc_run.c: Likewise.
18944 * sunrpc/svc_simple.c: Likewise.
18945 * sunrpc/svc_tcp.c: Likewise.
18946 * sunrpc/svc_udp.c: Likewise.
18947 * sunrpc/svc_unix.c: Likewise.
18948 * sunrpc/svcauth_des.c: Likewise.
18949 * sunrpc/xcrypt.c: Likewise.
18950 * sunrpc/xdr.c: Likewise.
18951 * sunrpc/xdr_array.c: Likewise.
18952 * sunrpc/xdr_float.c: Likewise.
18953 * sunrpc/xdr_intXX_t.c: Likewise.
18954 * sunrpc/xdr_mem.c: Likewise.
18955 * sunrpc/xdr_rec.c: Likewise.
18956 * sunrpc/xdr_ref.c: Likewise.
18957 * sunrpc/xdr_sizeof.c: Likewise.
18958 * sunrpc/xdr_stdio.c: Likewise.
18959
189602011-04-10 Ulrich Drepper <drepper@gmail.com>
18961
18962 [BZ #12650]
18963 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18964 * sysdeps/ia64/dl-tls.h: Likewise.
18965 * sysdeps/powerpc/dl-tls.h: Likewise.
18966 * sysdeps/s390/dl-tls.h: Likewise.
18967 * sysdeps/sh/dl-tls.h: Likewise.
18968 * sysdeps/sparc/dl-tls.h: Likewise.
18969 * sysdeps/x86_64/dl-tls.h: Likewise.
18970 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18971
189722011-03-14 Andreas Schwab <schwab@redhat.com>
18973
18974 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18975 rpath element also skip the following colon.
18976 (expand_dynamic_string_token): Add is_path parameter and pass
18977 down to DL_DST_REQUIRED and _dl_dst_substitute.
18978 (decompose_rpath): Call expand_dynamic_string_token with
18979 non-zero is_path. Ignore empty rpaths.
18980 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18981 with zero is_path.
18982
189832011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18984
18985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18986 Make cancelable.
18987
189882011-04-09 Ulrich Drepper <drepper@gmail.com>
18989
18990 [BZ #12655]
18991 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18992 Patch by Filipe David Manana <fdmanana@apache.org>.
18993
189942011-04-07 Andreas Schwab <schwab@redhat.com>
18995
18996 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18997 Maintain aligned stack.
18998 (CHECK_RSP): Remove unused macro.
18999
190002011-04-03 Ulrich Drepper <drepper@gmail.com>
19001
19002 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19003 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19004
190052011-04-02 Ulrich Drepper <drepper@gmail.com>
19006
19007 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19008
19009 * include/features.h: Mention __USE_XOPEN2K8 in comment.
19010
190112011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19012
19013 [BZ #12518]
19014 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19015 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19016 * sysdeps/x86_64/memmove.c: New file.
19017 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19018 (memcpy): Renamed to ...
19019 (__new_memcpy): This.
19020 (memcpy): Provide GLIBC_2_14 memcpy.
19021 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19022 (memcpy): Provide GLIBC_2_2_5 memcpy.
19023
190242011-04-01 Ulrich Drepper <drepper@gmail.com>
19025
19026 [BZ #12631]
19027 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19028
190292011-03-30 Andreas Schwab <schwab@redhat.com>
19030
19031 * misc/syncfs.c: New file.
19032 * misc/Makefile (routines): Add syncfs.
19033 * posix/unistd.h: Declare syncfs.
19034 * sysdeps/unix/syscalls.list: Add syncfs.
19035
190362011-04-01 Andreas Schwab <schwab@redhat.com>
19037
19038 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19039 open_by_handle_at.
19040 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19041 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19042 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19043 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19044 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19045 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19046 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19047
190482011-04-01 Ulrich Drepper <drepper@gmail.com>
19049
19050 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19051 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19052 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19053 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19054 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19055 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19056 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19057
19058 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19059 sync_file_range.c with -fexceptions.
19060 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19061 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19062 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19063 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19064 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19065 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19066 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
19067 sync_file_range as cancellation point
19068 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19069 now a wrapper around __call_sync_file_range with cancellation handling.
19070 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19071 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19072 function name to __call_sync_file_range.
19073 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19074 Add call_sync_file_range.
19075
190762011-04-01 Andreas Schwab <schwab@redhat.com>
19077
19078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19079 bits/timex.h.
19080
190812011-04-01 Ulrich Drepper <drepper@gmail.com>
19082
19083 * iconv/iconv.h: Fix typo in comment.
19084 * io/fcntl.h: Likewise.
19085 * libio/stdio.h: Likewise.
19086 * posix/spawn.h: Likewise.
19087 * posix/unistd.h: Likewise.
19088 * stdlib/stdlib.h: Likewise.
19089 * time/time.h: Likewise.
19090 * wcsmbs/wchar.h: Likewise.
19091
19092 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19093 open_by_handle): Add.
19094 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19095 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19096 Augment a few comments.
19097 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19099 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19101 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19102 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19103 open_by_handle.
19104
19105 * io/fcntl.h (AT_EMPTY_PATH): Define.
19106
191072011-03-30 Ulrich Drepper <drepper@gmail.com>
19108
19109 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19110 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19111 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19112 to...
19113 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
19114 * Versions.def: Add GLIBC_2.14.
19115 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19116 Export.
19117
191182011-03-22 Ulrich Drepper <drepper@gmail.com>
19119
19120 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19121 round counter.
19122 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19123
191242011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19125
19126 [BZ #12597]
19127 * string/test-strncmp.c (do_page_test): New function.
19128 (check2): Likewise.
19129 (test_main): Call check2.
19130 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19131
191322011-03-20 Ulrich Drepper <drepper@gmail.com>
19133
19134 [BZ #12587]
19135 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19136 Handle cache information in CPU leaf 4.
19137 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19138
191392011-03-18 Ulrich Drepper <drepper@gmail.com>
19140
19141 [BZ #12583]
19142 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19143 character representation.
19144 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19145
191462011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19147
19148 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19149 END(__isnan) to END(__isnanf) to match function entry point/label
19150 EALIGN(__isnanf,...).
19151
191522011-03-10 Jakub Jelinek <jakub@redhat.com>
19153
19154 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19155
191562011-03-10 Ulrich Drepper <drepper@gmail.com>
19157
19158 [BZ #12510]
19159 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19160 copy from the symbol referenced in the relocation to initialize the
19161 used variable.
19162 Patch by Piotr Bury <pbury@goahead.com>.
19163 * elf/Makefile: Add rules to build and tst-unique3.
19164 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19165 * elf/tst-unique3.cc: New file.
19166 * elf/tst-unique3.h: New file.
19167 * elf/tst-unique3lib.cc: New file.
19168 * elf/tst-unique3lib2.cc: New file.
19169
19170 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19171
191722011-03-10 Mike Frysinger <vapier@gentoo.org>
19173
19174 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19175 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19176 to _start.
19177
191782011-03-06 Ulrich Drepper <drepper@gmail.com>
19179
19180 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19181 to-be-loaded object along a path to loader is ld.so.
19182
191832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19184 Ulrich Drepper <drepper@gmail.com>
19185
19186 * sysdeps/x86_64/memset.S: After aligning destination, code
19187 branches to different locations depending on the value of
19188 misalignment, when multiarch is enabled. Fix this.
19189
191902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19191
19192 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19193 Set _x86_64_preferred_memory_instruction for AMD processsors.
19194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19195 Set bit_Prefer_SSE_for_memop for AMD processors.
19196
191972011-03-04 Ulrich Drepper <drepper@gmail.com>
19198
19199 * libio/fmemopen.c (fmemopen): Optimize a bit.
19200
192012011-03-03 Andreas Schwab <schwab@redhat.com>
19202
19203 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19204
192052011-03-03 Roland McGrath <roland@redhat.com>
19206
19207 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19208
192092011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19210
19211 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19212 __bzero_ultra1 instead of __memset_ultra1.
19213
192142011-02-23 Andreas Schwab <schwab@redhat.com>
19215 Ulrich Drepper <drepper@gmail.com>
19216
19217 [BZ #12509]
19218 * include/link.h (struct link_map): Add l_orig_initfini.
19219 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19220 returning unsuccessfully.
19221 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19222 close of a file loaded at startup, restore the original l_initfini
19223 list.
19224 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19225 list, store the pointer.
19226 * elf/Makefile ($(objpfx)noload-mem): New rule.
19227 (noload-ENV): Define.
19228 (tests): Add $(objpfx)noload-mem.
19229 * elf/noload.c: Include <memcheck.h>.
19230 (main): Call mtrace. Close all opened handles.
19231
192322011-02-17 Andreas Schwab <schwab@redhat.com>
19233
19234 [BZ #12454]
19235 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19236 dependencies are missing.
19237
192382011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19239
19240 Fix __if_freereq crash: Unlike the generic version which uses free,
19241 Hurd needs munmap.
19242 * sysdeps/mach/hurd/ifreq.h: New file.
19243
192442011-01-27 Petr Baudis <pasky@suse.cz>
19245 Ulrich Drepper <drepper@gmail.com>
19246
19247 [BZ 12445]#
19248 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19249 to extend_alloca().
19250 * stdio-common/bug23.c: New file.
19251 * stdio-common/Makefile (tests): Add bug23.
19252
192532010-09-28 Andreas Schwab <schwab@redhat.com>
19254 Ulrich Drepper <drepper@gmail.com>
19255
19256 [BZ #12489]
19257 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19258 before performing relro protection. At old place add assertion
19259 to make sure nothing changed.
19260
192612011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19262 Glauber de Oliveira Costa <glommer@gmail.com>
19263
19264 * elf/elf.h: Add new ARM TLS relocs.
19265
192662011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19267
19268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19269 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19270 cast from r3.
19271 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19272 'tests' variable.
19273 * sysdeps/wordsize-64/tst-writev.c: New file.
19274
192752011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19276
19277 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19278 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19279 insns in _dl_start to prevent a TOC reference before relocs are
19280 resolved.
19281
192822011-02-15 Ulrich Drepper <drepper@gmail.com>
19283
19284 [BZ #12469]
19285 * Makeconfig: Remove RANLIB definition.
19286 * Makerules: Don't use RANLIB.
19287 * aclocal.m4: Remove ranlib test.
19288 * configure.in: No need to check for ranlib.
19289 * elf/rtld-Rules: Don't use RANLIB.
19290
192912011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19292
19293 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19294 protection macro.
19295 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19296 inclusion protection macro.
19297
19298 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19299 SIGRTMIN and SIGRTMAX and print information in that case only when
19300 SIGRTMIN is defined.
19301
193022011-02-11 Jakub Jelinek <jakub@redhat.com>
19303
19304 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19305 arginfo fn returning -1.
19306
19307 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19308 and thousands string is zero terminated.
19309
193102011-02-03 Andreas Schwab <schwab@redhat.com>
19311
19312 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19313 sysdeps/unix/sysv/linux/bits/socket.h.
19314
193152011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19316
19317 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19318 (__CPU_COUNT): Remove old macros.
19319 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19320 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19321 (__CPU_ALLOC, __CPU_FREE): Add macros.
19322 (__sched_cpualloc, __sched_cpufree): Add declarations.
19323
193242011-02-05 Ulrich Drepper <drepper@gmail.com>
19325
19326 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19327 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19328 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19329 (readdhstai): Return value of addhstaiX call.
19330 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19331 (addgrbyX): Return value returned by cache_addgr.
19332 (readdgrbyname): Return value returned by addgrbyX.
19333 (readdgrbygid): Likewise.
19334 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19335 (addpwbyX): Return value returned by cache_addpw.
19336 (readdpwbyname): Return value returned by addhstbyX.
19337 (readdpwbyuid): Likewise.
19338 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19339 (addservbyX): Return value returned by cache_addserv.
19340 (readdservbyname): Return value returned by addservbyX:
19341 (readdservbyport): Likewise.
19342 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19343 (addhstbyX): Return value returned by cache_addhst.
19344 (readdhstbyname): Return value returned by addhstbyX.
19345 (readdhstbyaddr): Likewise.
19346 (readdhstbynamev6): Likewise.
19347 (readdhstbyaddrv6): Likewise.
19348 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19349 (readdinitgroups): Return value returned by addinitgroupsX.
19350 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19351 (prune_cache): Keep track of timeout value of re-added entries.
19352 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19353 * nscd/nscd.h: Adjust prototypes of readd* functions.
19354
193552011-02-04 Roland McGrath <roland@redhat.com>
19356
19357 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19358 (nis_stats): Likewise.
19359 * nis/nis_modify.c (nis_modify): Likewise.
19360 * nis/nis_remove.c (nis_remove): Likewise.
19361 * nis/nis_add.c (nis_add): Likewise.
19362
19363 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19364
19365 * posix/fnmatch_loop.c: Add some consts.
19366
19367 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19368
193692011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19370
19371 [BZ #12460]
19372 * config.make.in (config-cflags-novzeroupper): Define.
19373 * configure.in: Substitute libc_cv_cc_novzeroupper.
19374 * elf/Makefile (AVX-CFLAGS): Define.
19375 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19376 (CFLAGS-tst-auditmod4a.c): Likewise.
19377 (CFLAGS-tst-auditmod4b.c): Likewise.
19378 (CFLAGS-tst-auditmod6b.c): Likewise.
19379 (CFLAGS-tst-auditmod6c.c): Likewise.
19380 (CFLAGS-tst-auditmod7b.c): Likewise.
19381 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19382
193832011-02-02 Ulrich Drepper <drepper@gmail.com>
19384
19385 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19386 function to the callback.
19387 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19388
193892011-02-02 Andreas Schwab <schwab@redhat.com>
19390
19391 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19392 of errno.
19393
193942011-01-19 Ulrich Drepper <drepper@gmail.com>
19395
19396 [BZ #11724]
19397 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19398 of constructors.
19399 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19400 of destructors.
19401 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19402
19403 [BZ #11724]
19404 * elf/Makefile: Add rules to build and run new test.
19405 * elf/tst-initorder.c: New file.
19406 * elf/tst-initorder.exp: New file.
19407 * elf/tst-initordera1.c: New file.
19408 * elf/tst-initordera2.c: New file.
19409 * elf/tst-initordera3.c: New file.
19410 * elf/tst-initordera4.c: New file.
19411 * elf/tst-initorderb1.c: New file.
19412 * elf/tst-initorderb2.c: New file.
19413 * elf/tst-order-a1.c: New file.
19414 * elf/tst-order-a2.c: New file.
19415 * elf/tst-order-a3.c: New file.
19416 * elf/tst-order-a4.c: New file.
19417 * elf/tst-order-b1.c: New file.
19418 * elf/tst-order-b2.c: New file.
19419 * elf/tst-order-main.c: New file.
19420 New test case by George Gensure <werkt0@gmail.com>.
19421
194222010-10-01 Andreas Schwab <schwab@redhat.com>
19423
19424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19425 decoding ACE if AI_CANONIDN.
19426
194272011-01-18 Ulrich Drepper <drepper@gmail.com>
19428
19429 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19430
194312011-01-17 Ulrich Drepper <drepper@gmail.com>
19432
19433 * version.h (RELEASE): Bump for 2.13 release.
19434 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19435
19436 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19437
19438 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19439 MADV_NOHUGEPAGE.
19440 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19441 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19442 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19443 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19444 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19445 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19446
19447 * posix/getconf.c: Update copyright year.
19448 * catgets/gencat.c: Likewise.
19449 * csu/version.c: Likewise.
19450 * debug/catchsegv.sh: Likewise.
19451 * debug/xtrace.sh: Likewise.
19452 * elf/ldconfig.c: Likewise.
19453 * elf/ldd.bash.in: Likewise.
19454 * elf/sprof.c (print_version): Likewise.
19455 * iconv/iconv_prog.c: Likewise.
19456 * iconv/iconvconfig.c: Likewise.
19457 * locale/programs/locale.c: Likewise.
19458 * locale/programs/localedef.c: Likewise.
19459 * malloc/memusage.sh: Likewise.
19460 * malloc/mtrace.pl: Likewise.
19461 * nscd/nscd.c (print_version): Likewise.
19462 * nss/getent.c: Likewise.
19463
19464 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19465 PF_CAIF, and PF_ALG.
19466 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19467
194682011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19469
19470 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19471 (modules-names): Use them.
19472 (ifunc-test-modules, ifunc-pie-tests): Define.
19473 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19474 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19475 (test-extras): Likewise.
19476 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19477 $(compile-command.c).
19478 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19479 (all-built-dso): Define.
19480 (check-textrel.out, check-execstack.out): Depend on it.
19481
19482 * configure.in: Don't override --enable-multi-arch.
19483
194842011-01-15 Ulrich Drepper <drepper@gmail.com>
19485
19486 [BZ #6812]
19487 * nscd/hstcache.c (tryagain): Define.
19488 (cache_addhst): Return tryagain not notfound for temporary errors.
19489 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19490 failed.
19491
194922011-01-14 Ulrich Drepper <drepper@gmail.com>
19493
19494 [BZ #10563]
19495 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19496 to make the syscall.
19497 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19498
19499 [BZ #12378]
19500 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19501 and fall back to matching as normal character if the string ends before
19502 the matching ']' is found. This is what POSIX requires.
19503 * posix/testfnm.c: Adjust test result.
19504 * posix/globtest.sh: Adjust test result. Add new test.
19505 * posix/tst-fnmatch.input: Likewise.
19506 * posix/tst-fnmatch2.c: Add new test.
19507
195082010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19509
19510 * elf/Makefile (check-execstack): Revert last change. Depend on
19511 check-execstack.h.
19512 (check-execstack.h): New target.
19513 (generated): Add check-execstack.h.
19514 * elf/check-execstack.c: Include "check-execstack.h".
19515 (main): Revert last change.
19516 (handle_file): Return zero if GNU_STACK is absent and
19517 DEFAULT_STACK_PERMS doesn't include PF_X.
19518
195192011-01-13 Ulrich Drepper <drepper@gmail.com>
19520
19521 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19522 in child fails because the descriptor is already closed.
19523 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19524 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19525 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19526
19527 [BZ #12397]
19528 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19529 syscall.
19530
19531 [BZ #10484]
19532 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19533 temporary buffer used to handle multi lookups locally.
19534 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19535
195362011-01-12 Ulrich Drepper <drepper@gmail.com>
19537
19538 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19539 loader is ld.so.
19540
195412011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19542
19543 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19544 alignment for SSE2.
19545
195462011-01-12 Ulrich Drepper <drepper@gmail.com>
19547
19548 [BZ #12394]
19549 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19550 characters. When rounding increased number of integer digits recompute
19551 number of groups.
19552 * stdio-common/tst-grouping.c: New file.
19553 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19554
195552011-01-09 Ulrich Drepper <drepper@gmail.com>
19556
19557 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19558 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19559
19560 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19561 void.
19562 * bits/select.h: Likewise.
19563
195642011-01-08 Ulrich Drepper <drepper@gmail.com>
19565
19566 * po/ja.po: Update from translation team.
19567
195682011-01-04 David S. Miller <davem@sunset.davemloft.net>
19569
19570 [BZ #11155]
19571 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19572 implementation just like for lxstat, fxstatat, et al.
19573
195742010-12-27 Jim Meyering <meyering@redhat.com>
19575
19576 [BZ #12348]
19577 * posix/regexec.c (build_trtable): Return failure indication upon
19578 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19579
195802010-12-25 Ulrich Drepper <drepper@gmail.com>
19581
19582 [BZ #12201]
19583 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19584 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19585 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19586 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19587
19588 [BZ #12207]
19589 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19590
19591 [BZ #12204]
19592 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19593 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19594
195952010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19596
19597 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19598 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19599 script has SORT_BY_INIT_PRIORITY.
19600 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19601 NO_CTORS_DTORS_SECTIONS is defined.
19602 * elf/soinit.c: Likewise.
19603 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19604 NO_CTORS_DTORS_SECTIONS is defined.
19605 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19606 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19607 * sysdeps/sh/init-first.c: Likewise.
19608 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19609
196102010-12-24 Ulrich Drepper <drepper@gmail.com>
19611
19612 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19613 always use the slow path.
19614
196152010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19616
19617 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19618 similar rule which adds the sysdep directories to the header search in
19619 order to pick up the correct platform stackinfo.h.
19620 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19621 perform test if it is, otherwise return successfully without testing.
19622 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19623 DEFAULT_STACK_PERMS define in stackinfo.h.
19624 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19625 defined in stackinfo.h.
19626 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19627 DEFAULT_STACK_PERMS defined in stackinfo.h.
19628 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19629 * sysdeps/ia64/stackinfo.h: Likewise.
19630 * sysdeps/s390/stackinfo.h: Likewise.
19631 * sysdeps/sh/stackinfo.h: Likewise.
19632 * sysdeps/sparc/stackinfo.h: Likewise.
19633 * sysdeps/x86_64/stackinfo.h: Likewise.
19634 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19635 PF_X for powerpc64. Retain PF_X for powerpc32.
19636
196372010-12-19 Ulrich Drepper <drepper@gmail.com>
19638
19639 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19640 accurately.
19641 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19642 GETDENTS_64BIT_ALIGNED.
19643
196442010-12-14 Ulrich Drepper <dreper@gmail.com>
19645
19646 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19647
196482010-12-10 Andreas Schwab <schwab@redhat.com>
19649
19650 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19651 _GNU_SOURCE.
19652
19653 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19654 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19655 Remove __restrict.
19656 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19657 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19658
196592010-12-09 Ulrich Drepper <drepper@gmail.com>
19660
19661 [BZ #11655]
19662 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19663 are initialized.
19664
196652010-12-09 Jakub Jelinek <jakub@redhat.com>
19666
19667 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19668
196692010-12-03 Ulrich Drepper <drepper@gmail.com>
19670
19671 * po/it.po: Update from translation team.
19672
196732010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19674
19675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19676 unused codes.
19677
196782010-11-30 Ulrich Drepper <drepper@gmail.com>
19679
19680 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19681
196822010-11-24 Andreas Schwab <schwab@redhat.com>
19683
19684 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19685 specially.
19686 (gaih_getanswer_slice): Likewise.
19687
196882010-10-20 Jakub Jelinek <jakub@redhat.com>
19689
19690 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19691
196922010-05-31 Petr Baudis <pasky@suse.cz>
19693
19694 [BZ #11149]
19695 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19696 silently even in the chroot mode.
19697
196982010-11-22 Ulrich Drepper <drepper@gmail.com>
19699
19700 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19701 last patch a bit. Pretty printing
19702
197032010-05-31 Petr Baudis <pasky@suse.cz>
19704
19705 [BZ #10085]
19706 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19707 initialization of skip_initgroups_dyn.
19708
197092010-11-19 Ulrich Drepper <drepper@gmail.com>
19710
19711 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19712 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19713
197142010-11-16 Ulrich Drepper <drepper@gmail.com>
19715
19716 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19717
197182010-11-11 Andreas Schwab <schwab@redhat.com>
19719
19720 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19721 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19722 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19723 ($(objpfx)tst-fnmatch-mem): New rule.
19724 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19725 * posix/tst-fnmatch.c (main): Call mtrace.
19726
197272010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19728
19729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19730 Support Intel processor model 6 and model 0x2c.
19731
197322010-11-10 Luis Machado <luisgpm@br.ibm.com>
19733
19734 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19735 signed comparison.
19736
197372010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19738
19739 [BZ #12205]
19740 * string/test-strncasecmp.c (check_result): New function.
19741 (do_one_test): Use it.
19742 (check1): New function.
19743 (test_main): Use it.
19744 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19745 Support strcasecmp and strncasecmp.
19746
197472010-11-08 Ulrich Drepper <drepper@gmail.com>
19748
19749 [BZ #12194]
19750 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19751 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19752
197532010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19754
19755 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19756 IFUNC support.
19757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19758 memset-x86-64.
19759 * sysdeps/x86_64/multiarch/bzero.S: New file.
19760 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19761 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19762 * sysdeps/x86_64/multiarch/memset.S: New file.
19763 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19765 Set bit_Prefer_SSE_for_memop for Intel processors.
19766 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19767 Define.
19768 (index_Prefer_SSE_for_memop): Define.
19769 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19770
197712010-11-04 Luis Machado <luisgpm@br.ibm.com>
19772
19773 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19774 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19775
197762010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19777
19778 [BZ #12191]
19779 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19780 (__x86_64_raw_data_cache_size_half): Likewise.
19781 (__x86_64_raw_shared_cache_size): Likewise.
19782 (__x86_64_raw_shared_cache_size_half): Likewise.
19783
19784 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19785 (__x86_64_raw_data_cache_size_half): Likewise.
19786 (__x86_64_raw_shared_cache_size): Likewise.
19787 (__x86_64_raw_shared_cache_size_half): Likewise.
19788 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19789 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19790 and __x86_64_raw_shared_cache_size_half. Round
19791 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19792 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19793 to multiple of 256 bytes.
19794
197952010-11-03 Ulrich Drepper <drepper@gmail.com>
19796
19797 [BZ #12167]
19798 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19799 of inacessible symlinks. Verify result of symlink before returning it.
19800 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19801 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19802
198032010-10-28 Erich Ritz <erichritz@gmail.com>
19804
19805 * math/math.h (isinf): Fix typo in comment.
19806
198072010-11-01 Ulrich Drepper <drepper@gmail.com>
19808
19809 * po/da.po: Update from translation team.
19810
198112010-10-26 Ulrich Drepper <drepper@gmail.com>
19812
19813 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19814 is added to the list.
19815
198162010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19817 Ulrich Drepper <drepper@gmail.com>
19818
19819 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19820 the global list here. Move code to...
19821 (_dl_add_to_namespace_list): ...here. New function.
19822 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19823 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19824 * elf/dl-load.c (lose): Don't remove the element from the list.
19825 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19826 (_dl_map_object): Likewise.
19827
198282010-10-25 Ulrich Drepper <drepper@gmail.com>
19829
19830 [BZ #12159]
19831 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19832 into all bytes of SSE register.
19833 Patch by Richard Li <richardpku@gmail.com>.
19834
198352010-10-24 Ulrich Drepper <drepper@gmail.com>
19836
19837 [BZ #12140]
19838 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19839 perturbing.
19840
198412010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19842
19843 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19844 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19845 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19846 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19848 submachine.
19849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19850
198512010-10-22 Andreas Schwab <schwab@redhat.com>
19852
19853 * include/dlfcn.h (__RTLD_SECURE): Define.
19854 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19855 mode & __RTLD_SECURE instead.
19856 (open_path): Rename preloaded parameter to secure.
19857 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19858 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19859 * elf/dl-deps.c (openaux): Likewise.
19860 * elf/rtld.c (struct map_args): Remove is_preloaded.
19861 (map_doit): Don't use it.
19862 (dl_main): Likewise.
19863 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19864 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19865
198662010-09-09 Andreas Schwab <schwab@redhat.com>
19867
19868 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19869 (sysd-rules-targets): Remove duplicates.
19870 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19871 rtld-%.$o dependency.
19872
198732010-10-18 Andreas Schwab <schwab@redhat.com>
19874
19875 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19876 _dl_map_object do it.
19877
198782010-10-19 Ulrich Drepper <drepper@gmail.com>
19879
19880 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19881 fast fma builtins, define the macros in the C99 standard.
19882 (FP_FAST_FMAF): Likewise.
19883 (FP_FAST_FMAL): Likewise.
19884 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19885
19886 * bits/mathdef.h: Update copyright year.
19887 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19888
198892010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19890
19891 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19892 builtins, define the macros in the C99 standard.
19893 (FP_FAST_FMAF): Likewise.
19894 (FP_FAST_FMAL): Likewise.
19895 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19896 multiply/add.
19897 (FP_FAST_FMAF): Likewise.
19898
198992010-10-15 Jakub Jelinek <jakub@redhat.com>
19900
19901 [BZ #3268]
19902 * math/libm-test.inc (fma_test): Some new testcases.
19903 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19904 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19905 y and infinite z. Do multiplication by C already in long double.
19906 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19908 y and infinite z. Do bitwise or of inexact bit into u.d.
19909 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19910 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19911 * sysdeps/i386/fpu/s_fma.S: Removed.
19912 * sysdeps/i386/fpu/s_fmal.S: Removed.
19913
199142010-10-16 Jakub Jelinek <jakub@redhat.com>
19915
19916 [BZ #3268]
19917 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19918 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19919 computation is not scheduled after fetestexcept. Fix value
19920 of minimum denormal long double.
19921
199222010-10-14 Jakub Jelinek <jakub@redhat.com>
19923
19924 [BZ #3268]
19925 * math/libm-test.inc (fma_test): Add some more tests.
19926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19927 correctly.
19928
199292010-10-15 Andreas Schwab <schwab@redhat.com>
19930
19931 * scripts/data/localplt-s390-linux-gnu.data: New file.
19932 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19933
199342010-10-13 Jakub Jelinek <jakub@redhat.com>
19935
19936 [BZ #3268]
19937 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19938 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19939 instead of dbl-64.
19940 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19941 inlines.
19942 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19944 if one of x and y is very large and the other is subnormal.
19945 * sysdeps/s390/fpu/s_fmaf.c: New file.
19946 * sysdeps/s390/fpu/s_fma.c: New file.
19947 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19948 * sysdeps/powerpc/fpu/s_fma.S: New file.
19949 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19950 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19951 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19952
199532010-10-12 Jakub Jelinek <jakub@redhat.com>
19954
19955 [BZ #3268]
19956 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19957 fma tests.
19958 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19959 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19960 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19961 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19962 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19963 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19964 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19965
199662010-10-12 Ulrich Drepper <drepper@redhat.com>
19967
19968 [BZ #12078]
19969 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19970 * posix/bug-regex31.input: Add test case.
19971
199722010-10-11 Ulrich Drepper <drepper@gmail.com>
19973
19974 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19975 * posix/bug-regex31.input: New file.
19976
19977 [BZ #12078]
19978 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19979 (parse_sub_exp): Fix last change, use postorder.
19980
19981 * posix/bug-regex31.c: New file.
19982 * posix/Makefile: Add rules to build and run bug-regex31.
19983
19984 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19985
19986 [BZ #12078]
19987 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19988
19989 [BZ #12108]
19990 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19991 to have entries in sys_siglist.
19992
19993 [BZ #12093]
19994 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19995 be NULL.
19996
199972010-10-07 Jakub Jelinek <jakub@redhat.com>
19998
19999 [BZ #3268]
20000 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20001 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20002 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20003 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20004 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20005 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20006 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20007 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20008 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20009 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20010 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20011 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20012 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20013 * math/ftestexcept.c (fetestexcept): Likewise.
20014 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20015 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20016 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20017 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20018 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20019 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20020 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20021
200222010-10-11 Ulrich Drepper <drepper@gmail.com>
20023
20024 [BZ #12107]
20025 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20026 newline.
20027
200282010-10-06 Ulrich Drepper <drepper@gmail.com>
20029
20030 * string/bug-strstr1.c: New file.
20031 * string/Makefile: Add rules to build and run bug-strstr1.
20032
200332010-10-05 Eric Blake <eblake@redhat.com>
20034
20035 [BZ #12092]
20036 * string/str-two-way.h (two_way_long_needle): Always clear memory
20037 when skipping input due to the shift table.
20038
200392010-10-03 Ulrich Drepper <drepper@gmail.com>
20040
20041 [BZ #12005]
20042 * malloc/mcheck.c: Handle large requests.
20043
20044 [BZ #12077]
20045 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20046 for strncmp and strncasecmp.
20047 * string/stratcliff.c: Add tests for strcmp and strncmp.
20048 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20049
200502010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20051
20052 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20053 __set_fpscr.
20054
200552010-09-30 Andreas Jaeger <aj@suse.de>
20056
20057 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20058 (CGROUP_SUPER_MAGIC): Define.
20059 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20060 Handle btrfs and cgroup file systems.
20061 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20062 Likewise.
20063
200642010-09-27 Luis Machado <luisgpm@br.ibm.com>
20065
20066 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20067 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20068
200692010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20070
20071 [BZ #12067]
20072 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20073 trying to locate the ELF header.
20074
200752010-09-27 Andreas Schwab <schwab@redhat.com>
20076
20077 [BZ #11611]
20078 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20079 Mask out sign-bit copies when constructing f_fsid.
20080
200812010-09-24 Petr Baudis <pasky@suse.cz>
20082
20083 * debug/stack_chk_fail_local.c: Add missing licence exception.
20084 * debug/warning-nop.c: Likewise.
20085
200862010-09-15 Joseph Myers <joseph@codesourcery.com>
20087
20088 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20089 implementing getdents64 using getdents syscall, set d_type if
20090 __ASSUME_GETDENTS32_D_TYPE.
20091
200922010-09-16 Andreas Schwab <schwab@redhat.com>
20093
20094 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20095 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20096
200972010-09-21 Ulrich Drepper <drepper@redhat.com>
20098
20099 [BZ #12037]
20100 * posix/unistd.h: Undo change of feature selection for ftruncate from
20101 2010-01-11.
20102
201032010-09-20 Ulrich Drepper <drepper@redhat.com>
20104
20105 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
20106 detection.
20107
201082010-09-20 Andreas Schwab <schwab@redhat.com>
20109
20110 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20111 fanotify_mark.
20112 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20113
201142010-09-14 Andreas Schwab <schwab@redhat.com>
20115
20116 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20117 variables after CHECK_SP call.
20118 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20119
201202010-09-13 Andreas Schwab <schwab@redhat.com>
20121 Ulrich Drepper <drepper@redhat.com>
20122
20123 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20124 re-relocationg ld.so.
20125 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20126 _dl_init_paths call.
20127 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20128 here anymore.
20129
201302010-09-14 Ulrich Drepper <drepper@redhat.com>
20131
20132 * resolv/res_init.c (__res_vinit): Count the default server we added.
20133
201342010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20135 Ulrich Drepper <drepper@redhat.com>
20136
20137 [BZ #11968]
20138 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20139 (____longjmp_chk): Use %ebx for saving value across system call.
20140 Add unwind info.
20141
201422010-09-06 Andreas Schwab <schwab@redhat.com>
20143
20144 * manual/Makefile: Don't mix pattern rules with normal rules.
20145
201462010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20147
20148 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20149 operation.
20150 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20151 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20152 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20153 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20154 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20155 Likewise.
20156
201572010-09-04 Ulrich Drepper <drepper@redhat.com>
20158
20159 [BZ #11979]
20160 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20161 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20162
201632010-09-02 Ulrich Drepper <drepper@redhat.com>
20164
20165 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20166 * sysdeps/x86_64/addmul_1.S: Likewise.
20167 * sysdeps/x86_64/lshift.S: Likewise.
20168 * sysdeps/x86_64/mul_1.S: Likewise.
20169 * sysdeps/x86_64/rshift.S: Likewise.
20170 * sysdeps/x86_64/sub_n.S: Likewise.
20171 * sysdeps/x86_64/submul_1.S: Likewise.
20172
201732010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20174
20175 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20176 Define __sched_param instead of SCHED_* and sched_param when
20177 <bits/sched.h> is included with __need_schedparam defined.
20178 * bits/sched.h [__need_schedparam]
20179 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
20180 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20181 (__defined_schedparam): Define to 1.
20182 (__sched_param): New structure, identical to sched_param.
20183 (__need_schedparam): Undefine.
20184
201852010-08-31 Mike Frysinger <vapier@gentoo.org>
20186
20187 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20188 (epoll_create1): Declare.
20189
20190 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20191
201922010-08-31 Andreas Schwab <schwab@redhat.com>
20193
20194 [BZ #7066]
20195 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20196 shifting retval into place.
20197
201982010-09-01 Ulrich Drepper <drepper@redhat.com>
20199
20200 * nis/rpcsvc/nis.h: Update copyright notice.
20201 * nis/rpcsvc/nis.x: Likewise.
20202 * nis/rpcsvc/nis_callback.h: Likewise.
20203 * nis/rpcsvc/nis_callback.x: Likewise.
20204 * nis/rpcsvc/nis_object.x: Likewise.
20205 * nis/rpcsvc/nis_tags.h: Likewise.
20206 * nis/rpcsvc/yp.h: Likewise.
20207 * nis/rpcsvc/yp.x: Likewise.
20208 * nis/rpcsvc/ypupd.h: Likewise.
20209 * nis/yp_xdr.c: Likewise.
20210 * nis/ypupdate_xdr.c: Likewise.
20211
20212 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20213 mainly the body of pmap_getport. Add parameters to specify timeouts.
20214 (pmap_getport): Use __libc_rpc_getport.
20215 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20216 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20217 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20218
202192010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20220
20221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20222 fanotify_mark.
20223
202242010-08-27 Roland McGrath <roland@redhat.com>
20225
20226 * sysdeps/i386/i686/multiarch/Makefile
20227 (CFLAGS-varshift.c): New variable.
20228
202292010-08-27 Ulrich Drepper <drepper@redhat.com>
20230
20231 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20232 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20233
20234 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20235
20236 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20237
202382010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20239
20240 * sysdeps/x86_64/strlen.S: Unroll the loop.
20241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20242 strlen-sse2 strlen-sse2-bsf.
20243 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20244 __strlen_no_bsf if bit_Slow_BSF is set.
20245 (__strlen_sse42): Removed.
20246 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20247 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20248
202492010-08-25 Roland McGrath <roland@redhat.com>
20250
20251 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20252 * sysdeps/x86_64/multiarch/varshift.c: New file.
20253 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20254 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20255 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20256 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20257
202582010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20259
20260 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20261 strlen-sse2 strlen-sse2-bsf.
20262 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20263 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20264 (__strlen_sse2): Removed.
20265 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20266 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20268 bit_Slow_BSF for Atom.
20269 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20270 (index_Slow_BSF): Define.
20271 (HAS_SLOW_BSF): Define.
20272
202732010-08-25 Ulrich Drepper <drepper@redhat.com>
20274
20275 [BZ #10851]
20276 * resolv/res_init.c (__res_vinit): When no server address at all
20277 is given default to loopback.
20278
202792010-08-24 Roland McGrath <roland@redhat.com>
20280
20281 * configure.in: Remove config-name.h generation.
20282 * configure: Regenerated.
20283 * config-name.in: File removed.
20284 * scripts/config-uname.sh: New file.
20285 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20286 ($(objdir)config-name.h): New target.
20287
20288 * sunrpc/rpc_parse.h: Avoid nested comment.
20289
202902010-08-24 Richard Henderson <rth@redhat.com>
20291 Ulrich Drepper <drepper@redhat.com>
20292 H.J. Lu <hongjiu.lu@intel.com>
20293
20294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20296 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20297 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20298 _mm_alignr_epi8 with _mm_loadu_si128.
20299 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20300 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20301 (__m128i_shift_right): Removed.
20302 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20303 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20304 * sysdeps/x86_64/multiarch/varshift.h: New file.
20305 * sysdeps/x86_64/multiarch/varshift.S: New file.
20306
203072010-08-21 Mike Frysinger <vapier@gentoo.org>
20308
20309 * configure.in: Move assembler checks to before sysdep dir checking.
20310
203112010-08-20 Petr Baudis <pasky@suse.cz>
20312
20313 * LICENSES: Sync the sunrpc license.
20314
203152010-08-19 Ulrich Drepper <drepper@redhat.com>
20316
20317 * sunrpc/auth_des.c: Update copyright notice once again.
20318 * sunrpc/auth_none.c: Likewise.
20319 * sunrpc/auth_unix.c: Likewise.
20320 * sunrpc/authdes_prot.c: Likewise.
20321 * sunrpc/authuxprot.c: Likewise.
20322 * sunrpc/bindrsvprt.c: Likewise.
20323 * sunrpc/clnt_gen.c: Likewise.
20324 * sunrpc/clnt_perr.c: Likewise.
20325 * sunrpc/clnt_raw.c: Likewise.
20326 * sunrpc/clnt_simp.c: Likewise.
20327 * sunrpc/clnt_tcp.c: Likewise.
20328 * sunrpc/clnt_udp.c: Likewise.
20329 * sunrpc/clnt_unix.c: Likewise.
20330 * sunrpc/des_crypt.c: Likewise.
20331 * sunrpc/des_soft.c: Likewise.
20332 * sunrpc/get_myaddr.c: Likewise.
20333 * sunrpc/getrpcport.c: Likewise.
20334 * sunrpc/key_call.c: Likewise.
20335 * sunrpc/key_prot.c: Likewise.
20336 * sunrpc/openchild.c: Likewise.
20337 * sunrpc/pm_getmaps.c: Likewise.
20338 * sunrpc/pm_getport.c: Likewise.
20339 * sunrpc/pmap_clnt.c: Likewise.
20340 * sunrpc/pmap_prot.c: Likewise.
20341 * sunrpc/pmap_prot2.c: Likewise.
20342 * sunrpc/pmap_rmt.c: Likewise.
20343 * sunrpc/rpc/auth.h: Likewise.
20344 * sunrpc/rpc/auth_unix.h: Likewise.
20345 * sunrpc/rpc/clnt.h: Likewise.
20346 * sunrpc/rpc/des_crypt.h: Likewise.
20347 * sunrpc/rpc/key_prot.h: Likewise.
20348 * sunrpc/rpc/netdb.h: Likewise.
20349 * sunrpc/rpc/pmap_clnt.h: Likewise.
20350 * sunrpc/rpc/pmap_prot.h: Likewise.
20351 * sunrpc/rpc/pmap_rmt.h: Likewise.
20352 * sunrpc/rpc/rpc.h: Likewise.
20353 * sunrpc/rpc/rpc_des.h: Likewise.
20354 * sunrpc/rpc/rpc_msg.h: Likewise.
20355 * sunrpc/rpc/svc.h: Likewise.
20356 * sunrpc/rpc/svc_auth.h: Likewise.
20357 * sunrpc/rpc/types.h: Likewise.
20358 * sunrpc/rpc/xdr.h: Likewise.
20359 * sunrpc/rpc_clntout.c: Likewise.
20360 * sunrpc/rpc_cmsg.c: Likewise.
20361 * sunrpc/rpc_common.c: Likewise.
20362 * sunrpc/rpc_cout.c: Likewise.
20363 * sunrpc/rpc_dtable.c: Likewise.
20364 * sunrpc/rpc_hout.c: Likewise.
20365 * sunrpc/rpc_main.c: Likewise.
20366 * sunrpc/rpc_parse.c: Likewise.
20367 * sunrpc/rpc_parse.h: Likewise.
20368 * sunrpc/rpc_prot.c: Likewise.
20369 * sunrpc/rpc_sample.c: Likewise.
20370 * sunrpc/rpc_scan.c: Likewise.
20371 * sunrpc/rpc_scan.h: Likewise.
20372 * sunrpc/rpc_svcout.c: Likewise.
20373 * sunrpc/rpc_tblout.c: Likewise.
20374 * sunrpc/rpc_util.c: Likewise.
20375 * sunrpc/rpc_util.h: Likewise.
20376 * sunrpc/rpcinfo.c: Likewise.
20377 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20378 * sunrpc/rpcsvc/key_prot.x: Likewise.
20379 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20380 * sunrpc/rpcsvc/mount.x: Likewise.
20381 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20382 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20383 * sunrpc/rpcsvc/rex.x: Likewise.
20384 * sunrpc/rpcsvc/rstat.x: Likewise.
20385 * sunrpc/rpcsvc/rusers.x: Likewise.
20386 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20387 * sunrpc/rpcsvc/spray.x: Likewise.
20388 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20389 * sunrpc/rtime.c: Likewise.
20390 * sunrpc/svc.c: Likewise.
20391 * sunrpc/svc_auth.c: Likewise.
20392 * sunrpc/svc_authux.c: Likewise.
20393 * sunrpc/svc_raw.c: Likewise.
20394 * sunrpc/svc_run.c: Likewise.
20395 * sunrpc/svc_simple.c: Likewise.
20396 * sunrpc/svc_tcp.c: Likewise.
20397 * sunrpc/svc_udp.c: Likewise.
20398 * sunrpc/svc_unix.c: Likewise.
20399 * sunrpc/svcauth_des.c: Likewise.
20400 * sunrpc/xcrypt.c: Likewise.
20401 * sunrpc/xdr.c: Likewise.
20402 * sunrpc/xdr_array.c: Likewise.
20403 * sunrpc/xdr_float.c: Likewise.
20404 * sunrpc/xdr_mem.c: Likewise.
20405 * sunrpc/xdr_rec.c: Likewise.
20406 * sunrpc/xdr_ref.c: Likewise.
20407 * sunrpc/xdr_sizeof.c: Likewise.
20408 * sunrpc/xdr_stdio.c: Likewise.
20409
20410 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20411 handling.
20412
204132010-08-19 Andreas Schwab <schwab@redhat.com>
20414
20415 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20416
204172010-08-19 Luis Machado <luisgpm@br.ibm.com>
20418
20419 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20420 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20421 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20422 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20423 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20424 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20425 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20426 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20427 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20428 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20429 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20430 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20431 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20432 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20433
204342010-07-26 Anton Blanchard <anton@samba.org>
20435
20436 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20437 * malloc/arena.c (heap_trim): Likewise.
20438
204392010-08-16 Ulrich Drepper <drepper@redhat.com>
20440
20441 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20442 here. Not...
20443 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20444 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20445
204462010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20447
20448 * sysdeps/i386/elf/Makefile: New file.
20449
204502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20451
20452 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20453 from fanotify_init.
20454 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20455 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20456
204572010-08-15 Ulrich Drepper <drepper@redhat.com>
20458
20459 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20460 of strncasecmp_l.
20461 * sysdeps/multiarch/strcmp.S: Likewise.
20462
204632010-08-14 Ulrich Drepper <drepper@redhat.com>
20464
20465 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20466 strncase_l-nonascii.
20467 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20468 Add strncase_l-ssse3.
20469 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20470 * sysdeps/x86_64/strcmp.S: Likewise.
20471 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20472 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20473 * sysdeps/x86_64/strncase.S: New file.
20474 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20475 * sysdeps/x86_64/strncase_l.S: New file.
20476 * string/Makefile (strop-tests): Add strncasecmp.
20477 * string/test-strncasecmp.c: New file.
20478
20479 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20480 warning.
20481
20482 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20483 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20484
204852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20486
20487 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20488
204892010-08-12 Ulrich Drepper <drepper@redhat.com>
20490
20491 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20492 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20493 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20494
204952010-05-01 Alan Modra <amodra@gmail.com>
20496
20497 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20498 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20499 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20500 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20501 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20502 tidying. Don't tail-call __sigjmp_save for static lib.
20503 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20504 save location.
20505 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20506 (CALL_MCOUNT): Add eh info, and nop after bl.
20507 (TAIL_CALL_SYSCALL_ERROR): New macro.
20508 (PSEUDO_RET): Use it.
20509 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20510 Correct save location of integer regs and cr.
20511 (_dl_profile_resolve): Correct cr save location. Delete nops
20512 after bl when SHARED. Reduce cfi size a little by better
20513 placement of cfi directives.
20514 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20515 make a stack frame. Instead use parm save area as a temp.
20516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20517 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20519 Don't make a stack frame for parent, use parm save area.
20520 Increase child stack frame to 112 bytes. Don't save unused reg,
20521 and adjust reg usage. Set up cfi on error recovery and
20522 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20524 (__makecontext): Add dummy nop after jump to exit.
20525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20526 Use correct parm save area and cr save, reduce stack frame.
20527 Correct cfi for possible PSEUDO_RET frame setup.
20528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20529 Branch to local label emitted by PSEUDO_RET rather than
20530 __syscall_error.
20531
205322010-08-12 Andreas Schwab <schwab@redhat.com>
20533
20534 [BZ #11904]
20535 * locale/programs/locale.c (print_assignment): New function.
20536 (show_locale_vars): Use it.
20537
205382010-08-11 Ulrich Drepper <drepper@redhat.com>
20539
20540 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20541 field.
20542 (struct statfs64): Likewise.
20543 (_STATFS_F_FLAGS): Define.
20544 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20545 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20546 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20547 (ST_VALID): Define locally.
20548 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20549 __statvfs_getflags, use the provided value.
20550 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20551 __ASSUME_STATFS_F_FLAGS.
20552
20553 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20554
20555 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20556 Add sys/fanotify.h.
20557 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20558 fanotify_mask for GLIBC_2.13.
20559 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20560 fanotify_init and fanotify_mark.
20561 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20562 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20563
20564 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20565 Add prlimit.
20566 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20567 prlimit64 for GLIBC_2.13.
20568 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20569 prlimit64.
20570 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20571 syscall.
20572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20573 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20574 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20575 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20576 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20577 add prlimit alias.
20578 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20579
20580 [BZ #11903]
20581 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20582 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20583
20584 * nss/Makefile: Add rules to build and run tst-nss-test1.
20585 * shlib-versions: Add entry for libnss_test1.
20586 * nss/nss_test1.c: New file.
20587 * nss/tst-nss-test1.c: New file.
20588
20589 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20590 (__nss_configure_lookup): Set appropriate entry in
20591 __nss_configure_lookup to true.
20592 * nss/nsswitch.h: Define enum with indeces of databases in
20593 databases and __nss_database_custom arrays. Declare
20594 __nss_database_custom.
20595 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20596 to avoid using nscd when custom rules are installed.
20597 * nss/getXXbyYY_r.c: Likewise.
20598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20599
20600 * nss/nss_files/files-parse.c: Whitespace fixes.
20601
206022010-08-09 Ulrich Drepper <drepper@redhat.com>
20603
20604 [BZ #11883]
20605 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20606 * posix/fnmatch_loop.c: Likewise.
20607
206082010-07-17 Andi Kleen <ak@linux.intel.com>
20609
20610 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20611 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20612 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20613 * Versions.def [GLIBC_2.13]: Add.
20614
206152010-08-06 Ulrich Drepper <drepper@redhat.com>
20616
20617 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20618 Also fail if tpwd after pwuid call is NULL.
20619
206202010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20621
20622 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20623 when converting to ms.
20624
206252010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20626
20627 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20628 EOPNOTSUPP errors with ENOTTY.
20629 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20630 EOPNOTSUPP errors with ENOTTY.
20631
206322010-07-31 Ulrich Drepper <drepper@redhat.com>
20633
20634 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20635 Add strcasecmp_l-ssse3.
20636 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20637 strcasecmp.
20638 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20639 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20640 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20641
206422010-07-30 Ulrich Drepper <drepper@redhat.com>
20643
20644 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20645
20646 * string/Makefile (strop-tests): Add strcasecmp.
20647 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20648 strcasecmp_l-nonascii.
20649 (gen-as-const-headers): Add locale-defines.sym.
20650 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20651 * sysdeps/x86_64/strcasecmp.S: New file.
20652 * sysdeps/x86_64/strcasecmp_l.S: New file.
20653 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20654 * sysdeps/x86_64/locale-defines.sym: New file.
20655 * string/test-strcasecmp.c: New file.
20656
20657 * string/test-strcasestr.c: Test both ends of the range of characters.
20658 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20659
206602010-07-29 Roland McGrath <roland@redhat.com>
20661
20662 [BZ #11856]
20663 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20664
206652010-07-27 Ulrich Drepper <drepper@redhat.com>
20666
20667 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20668 for ld.so.
20669
206702010-07-27 Andreas Schwab <schwab@redhat.com>
20671
20672 * manual/memory.texi (Malloc Tunable Parameters): Document
20673 M_PERTURB.
20674
206752010-07-26 Roland McGrath <roland@redhat.com>
20676
20677 [BZ #11840]
20678 * configure.in (-fgnu89-inline check): Set and substitute
20679 gnu89_inline, not libc_cv_gnu89_inline.
20680 * configure: Regenerated.
20681 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20682
206832010-07-26 Ulrich Drepper <drepper@redhat.com>
20684
20685 * string/test-strnlen.c: New file.
20686 * string/Makefile (strop-tests): Add strnlen.
20687 * string/tester.c (test_strnlen): Add a few more test cases.
20688 * string/tst-strlen.c: Better error reporting.
20689
20690 * sysdeps/x86_64/strnlen.S: New file.
20691
206922010-07-24 Ulrich Drepper <drepper@redhat.com>
20693
20694 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20695 lower-latency instructions.
20696
206972010-07-23 Ulrich Drepper <drepper@redhat.com>
20698
20699 * string/test-strcasestr.c: New file.
20700 * string/test-strstr.c: New file.
20701 * string/Makefile (strop-tests): Add strstr and strcasestr.
20702 * string/str-two-way.h: Don't undefine MAX.
20703 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20704
207052010-07-21 Andreas Schwab <schwab@redhat.com>
20706
20707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20708 strcasestr-nonascii.
20709 (CFLAGS-strcasestr-nonascii.c): Define.
20710 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20711 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20712 Remove unused attribute.
20713
207142010-07-20 Roland McGrath <roland@redhat.com>
20715
20716 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20717 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20718 ld.so.cache was broken. With it, there is no way to disable dsocaps
20719 like LD_HWCAP_MASK can disable hwcaps.
20720
207212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20722
20723 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20724
207252010-07-16 Ulrich Drepper <drepper@redhat.com>
20726
20727 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20728 call in strcasestr.
20729 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20730 __strcasestr_sse42_nonascii.
20731 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20732 strcasestr-nonascii.c.
20733 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20734
207352010-06-15 Luis Machado <luisgpm@br.ibm.com>
20736
20737 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20738 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20739 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20740 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20741
207422010-07-09 Ulrich Drepper <drepper@redhat.com>
20743
20744 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20745 fcntl.
20746
207472010-07-06 Andreas Schwab <schwab@redhat.com>
20748
20749 [BZ #11577]
20750 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20751 dl_signal_cerror.
20752
207532010-07-06 Ulrich Drepper <drepper@redhat.com>
20754
20755 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20756 _PC_PIPE_BUF using F_GETPIPE_SZ.
20757
207582010-07-05 Roland McGrath <roland@redhat.com>
20759
20760 * manual/arith.texi (Rounding Functions): Fix rint description
20761 implicit in round description.
20762
207632010-07-02 Ulrich Drepper <drepper@redhat.com>
20764
20765 * elf/Makefile: Fix linking for a few tests to make recent linker
20766 happy.
20767
207682010-06-30 Andreas Schwab <schwab@redhat.com>
20769
20770 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20771 $(common-objpfx)libc_nonshared.a.
20772
207732010-06-21 Luis Machado <luisgpm@br.ibm.com>
20774
20775 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20776 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20777 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20778 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20779 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20780 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20781 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20782 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20797 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20798 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20799 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20800 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20801 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20802 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20803 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20804 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20805 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20806 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20807 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20808 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20823
208242010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20825
20826 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20827 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20828 * string/memmove.c (memmove): Renamed to ...
20829 (MEMMOVE): ...this. Default to memmove.
20830 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20831 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20832 (END_CHK): Define.
20833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20834 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20835 mempcpy-ssse3-back memmove-ssse3-back.
20836 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20837 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20838 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20839 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20840 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20841 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20842 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20843 * sysdeps/x86_64/multiarch/memmove.c: New file.
20844 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20845 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20846 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20847 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20848 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20849 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20850 Define.
20851 (index_Fast_Copy_Backward): Define.
20852 (HAS_ARCH_FEATURE): Define.
20853 (HAS_FAST_REP_STRING): Define.
20854 (HAS_FAST_COPY_BACKWARD): Define.
20855
208562010-06-21 Andreas Schwab <schwab@redhat.com>
20857
20858 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20859 Restore proper fallback handling.
20860
208612010-06-19 Ulrich Drepper <drepper@redhat.com>
20862
20863 [BZ #11701]
20864 * posix/group_member.c (__group_member): Correct checking loop.
20865
20866 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20867 OOM in getpwuid_r correctly. Return error number when the caller
20868 should return, otherwise -1.
20869 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20870 call returning > 0 value.
20871 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20872
208732010-06-07 Andreas Schwab <schwab@redhat.com>
20874
20875 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20876 libc_nonshared.a from targets in modules-names.
20877
208782010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20879
20880 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20881 requires it.
20882
208832010-06-10 Luis Machado <luisgpm@br.ibm.com>
20884
20885 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20886 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20887 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20888 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20889
208902010-06-02 Andreas Schwab <schwab@redhat.com>
20891
20892 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20893
208942010-06-14 Ulrich Drepper <drepper@redhat.com>
20895
20896 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20897 and F_GETPIPE_SZ.
20898 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20899 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20901 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20902 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20903 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20904
209052010-06-14 Roland McGrath <roland@redhat.com>
20906
20907 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20908
209092010-06-07 Jakub Jelinek <jakub@redhat.com>
20910
20911 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20912 __REDIRECT followed by __THROW.
20913 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20914 * posix/getopt.h (getopt): Likewise.
20915
209162010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20917
20918 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20919 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20920 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20921 in AT_FLAGS.
20922 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20923 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20924
209252010-05-28 Luis Machado <luisgpm@br.ibm.com>
20926
20927 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20928
209292010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20930
20931 [BZ #11640]
20932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20933 Properly check family and model.
20934
209352010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20936
20937 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20938
209392010-05-24 Luis Machado <luisgpm@br.ibm.com>
20940
20941 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20942
209432010-05-21 Ulrich Drepper <drepper@redhat.com>
20944
20945 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20946 symbol reference.
20947
209482010-05-19 Andreas Schwab <schwab@redhat.com>
20949
20950 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20951 symbol reference.
20952
209532010-05-21 Andreas Schwab <schwab@redhat.com>
20954
20955 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20956 and internal_recvmmsg.
20957 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20958 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20959 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20960 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20961
20962 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20963 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20964 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20965
209662010-05-20 Andreas Schwab <schwab@redhat.com>
20967
20968 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20969
209702010-05-17 Luis Machado <luisgpm@br.ibm.com>
20971
20972 POWER7 optimizations.
20973 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20974 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20975
209762010-05-19 Ulrich Drepper <drepper@redhat.com>
20977
20978 * version.h: Update for 2.13 development version.
20979
209802010-05-12 Andrew Stubbs <ams@codesourcery.com>
20981
20982 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20983 exceptions. Return 0.
20984
209852010-05-07 Roland McGrath <roland@redhat.com>
20986
20987 * elf/ldconfig.c (main): Add a const.
20988
209892010-05-06 Ulrich Drepper <drepper@redhat.com>
20990
20991 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20992 (args_options): Add no-idn option.
20993 (ahosts_keys_int): Add idn_flags to ai_flags.
20994 (parse_option): Handle 'i' option to clear idn_flags.
20995
20996 * malloc/malloc.c (_int_free): Possible race in the most recently
20997 added check. Only act on the data if no current modification
20998 happened.
20999
21000See ChangeLog.17 for earlier changes.