]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix printf format mismatches
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b5dcacb4
AS
12012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2
3 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5 arguments.
6
f7934be8
RM
72012-11-02 Roland McGrath <roland@hack.frob.com>
8
9 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11 autoconf-time if not.
12 * configure.in: Remove AC_PREREQ.
13
d7d08bde
TMQMF
142012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15
16 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18 of the internal implementation.
19
dcdae19a
JM
202012-11-02 Joseph Myers <joseph@codesourcery.com>
21
22 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23 except include of <misc/sys/syslog.h>.
24
d6cffd3e
AS
252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26
27 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28 function returns with a NULL context exit with zero.
29
b3563932
TMQMF
302012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31
32 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33
b288a93d
L
342012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35
36 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37 (run_program_cmd): This.
38 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39 (tst_langinfo): New variable. Use it.
40
a2421a68
SAS
412012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
42
43 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44 floating point opcodes.
45
6f796e1b
TS
462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
47
7402596b
TS
48 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
49 variable.
50
d0d4f868
TS
51 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
52
6f796e1b
TS
53 * sysdeps/mach/hurd/powerpc: Remove directory.
54 * sysdeps/mach/powerpc: Likewise.
55
4da224a2
AS
562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
57
58 * scripts/check-local-headers.sh: Ignore c++ headers.
59
341dd673
TS
602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
61
62 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
63 __libc_cleanup_region_start argument.
64
473611b2
JM
652012-11-01 Joseph Myers <joseph@codesourcery.com>
66
67 [BZ #14784]
68 [BZ #14785]
69 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
70 x * y using scaling, not as x * y + z.
71 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73 * math/libm-test.inc (fma_test): Add more tests.
74 (fma_test_towardzero): Likewise.
75 (fma_test_downward): Likewise.
76 (fma_test_upward): Likewise.
77
4078da3d
TS
782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
79
80 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
81
903252aa
JM
822012-10-31 Joseph Myers <joseph@codesourcery.com>
83
84 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
85 New variable.
86
cbc818d0
TS
872012-10-31 Thomas Schwinge <thomas@codesourcery.com>
88
89 * rt/tst-shm.c (worker): Correct checking for mmap failure.
90
5a03cb1e
AS
912012-10-31 Andreas Schwab <schwab@linux-m68k.org>
92
93 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
94 Fix sort order.
95 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
96 Likewise.
97
90aff2ff
TMQMF
982012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
99
100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
101 Fix the order of the list for glibc 2.17.
102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
103 Likewise.
104
1818fcb7
AS
1052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
106
107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
108
ef82f4da
JM
1092012-10-31 Joseph Myers <joseph@codesourcery.com>
110
16a0e2ec
JM
111 [BZ #14610]
112 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
113 for low part of x being zero before using __atanl (y).
114 * math/libm-test.inc (atan2_test): Add another test.
115
0eb69512
JM
116 * manual/install.texi (Configuring and compiling): Document
117 general use of test-wrapper and test-wrapper-env.
118 * INSTALL: Regenerated.
119
ef82f4da
JM
120 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
121 (__fma): Do not extract and scale down low bits on after-rounding
122 systems when result rounded to normal precision would have normal
123 exponent.
124 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
125 (__fmal): Do not extract and scale down low bits on after-rounding
126 systems when result rounded to normal precision would have normal
127 exponent.
128 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
129 (__fmal): Do not extract and scale down low bits on after-rounding
130 systems when result rounded to normal precision would have normal
131 exponent.
132 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
133 macro.
134 (fma_test): Add more tests.
135 (fma_test_towardzero): Likewise.
136 (fma_test_downward): Likewise.
137 (fma_test_upward): Likewise.
138
954ef0d9
L
1392012-10-30 H.J. Lu <hongjiu.lu@intel.com>
140
141 * sysdeps/i386/tininess.h: Renamed to ...
142 * sysdeps/x86/tininess.h: This.
143 * sysdeps/x86_64/tininess.h: Removed.
144
df61ffb2
JM
1452012-10-30 Joseph Myers <joseph@codesourcery.com>
146
147 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
148 input. Use $(build-program-cmd).
149 ($(objpfx)tst-array1-static.out): Likewise.
150 ($(objpfx)tst-array2.out): Likewise.
151 ($(objpfx)tst-array3.out): Likewise.
152 ($(objpfx)tst-array4.out): Likewise.
153 ($(objpfx)tst-array5.out): Likewise.
154 ($(objpfx)tst-array5-static.out): Likewise.
155
01767843
CM
1562012-10-30 Chris Metcalf <cmetcalf@tilera.com>
157
47cc1490
CM
158 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
159 if defined.
160
01767843
CM
161 * nss/nsswitch.h (nss_interface_function): Provide new
162 macro for use with NSS functions.
163 * grp/initgroups.c: Use new macro.
164 * nss/getXXbyYY.c: Likewise.
165 * nss/getXXbyYY_r.c: Likewise.
166 * nss/getXXent.c: Likewise.
167 * nss/getXXent_r.c: Likewise.
168 * sysdeps/posix/getaddrinfo.c: Likewise.
169
8321aa97
AJ
1702012-10-30 Andreas Jaeger <aj@suse.de>
171
172 * po/ru.po: Update Russion translation from translation project.
173
2a27fd6d
JM
1742012-10-30 Joseph Myers <joseph@codesourcery.com>
175
8627a232
JM
176 [BZ #14152]
177 [BZ #14783]
178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
179 result and shift together with sticky bit instead of replicating
180 round-to-nearest rounding.
181 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
182 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
183 * math/libm-test.inc (fma_test): Add more tests. Do not permit
184 missing underflow exceptions.
185 (fma_test_towardzero): Add more tests.
186 (fma_test_downward): Likewise.
187 (fma_test_upward): Likewise.
188
2a27fd6d
JM
189 [BZ #14047]
190 * sysdeps/generic/tininess.h: New file.
191 * sysdeps/i386/tininess.h: Likewise.
192 * sysdeps/sh/tininess.h: Likewise.
193 * sysdeps/x86_64/tininess.h: Likewise.
194 * stdlib/tst-strtod-underflow.c: Likewise.
195 * stdlib/tst-tininess.c: Likewise.
196 * stdlib/strtod_l.c: Include <tininess.h>.
197 (round_and_return): Do not set errno for exact underflow cases.
198 Force an underflow exception when setting errno for underflow.
199 Determine underflow based on rounding to normal precision if
200 TININESS_AFTER_ROUNDING.
201 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
202 ERANGE for exact underflow cases.
203 * stdlib/Makefile (tests): Add tst-tininess and
204 tst-strtod-underflow.
205 ($(objpfx)tst-tininess): Use $(link-libm).
206 ($(objpfx)tst-strtod-underflow): Likewise.
207
e7170363
AJ
2082012-10-30 Andreas Jaeger <aj@suse.de>
209
e5088dc6
AJ
210 [BZ#14767]
211 * elf/Makefile (tests): Remove conditional for have-initfini-array
212 since this is now always required and the variable does not exist
213 anymore.
214 (tests-static): Likewise.
215 (modules-names): Likewise.
216
e7170363 217 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
218
219 * elf/tst-array1.c (fini_array): Make writeable so that it can be
220 merged with constructor/destructor.
221 (init_array): Likewise.
222 * elf/tst-array2dep.c (fini_array): Likewise.
223 (init_array): Likewise.
224
60457d8a
MF
2252012-10-29 Mike Frysinger <vapier@gentoo.org>
226
227 * manual/message.texi: Delete @cartouche tags.
228
8bece752
PT
2292012-10-29 Pino Toscano <toscano.pino@tiscali.it>
230
94ce799f
PT
231 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
232 EOPNOTSUPP.
233 * sysdeps/mach/hurd/fsync.c: Likewise.
234
8bece752
PT
235 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
236 [_POSIX_REALTIME_SIGNALS]: Change condition to
237 [_POSIX_REALTIME_SIGNALS > 0].
238
86ebe6b1
AJ
2392012-10-27 Andreas Jaeger <aj@suse.de>
240
241 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
242 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
243 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
244 [__WORDSIZE != 64]: Likewise.
245
54399c08
L
2462012-10-26 H.J. Lu <hongjiu.lu@intel.com>
247
248 * iconvdata/tst-table.sh: Remove ${SHELL}.
249 * iconvdata/tst-tables.sh: Likewise.
250
e2211bed
DM
2512012-10-25 David S. Miller <davem@davemloft.net>
252
253 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
254 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
255 of strtoull.
256
f303f97c
DM
257 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
258 ifunc-impl-list.c
259 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
260 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
261 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
262 file.
263
1e9d84cd
RM
2642012-10-25 Roland McGrath <roland@hack.frob.com>
265
266 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
267 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
268 __getdirentries.
269
df381762
JM
2702012-10-25 Joseph Myers <joseph@codesourcery.com>
271 Jim Blandy <jimb@codesourcery.com>
272
273 * scripts/cross-test-ssh.sh: New file.
274 * manual/install.texi (Configuring and compiling): Document use of
275 cross-test-ssh.sh.
276 * INSTALL: Regenerated.
277
bff64913
PT
2782012-10-25 Pino Toscano <toscano.pino@tiscali.it>
279
280 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
281 EOPNOTSUPP.
282
25fe8932
JM
2832012-10-25 Joseph Myers <joseph@codesourcery.com>
284
285 * Makeconfig (run-program-prefix): Fix comment.
286
cc1290d0
JM
2872012-10-24 Joseph Myers <joseph@codesourcery.com>
288 Jim Blandy <jimb@codesourcery.com>
289
290 * Makeconfig (test-wrapper): New variable,
291 (test-wrapper-env): Likewise.
292 [$(cross-compiling) = yes && $(test-wrapper) != ""]
293 (run-built-tests): Define to yes.
294 (run-program-prefix): Use $(test-wrapper).
295 (built-program-cmd): Likewise.
296 * Rules (make-test-out): Use $(test-wrapper-env) and
297 $(host-built-program-cmd).
298 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
299 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
300 tst-pathopt.sh.
301 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
302 $(test-wrapper-env) to tst-rtld-load-self.sh.
303 ($(objpfx)order2.out): Use $(test-wrapper).
304 ($(objpfx)tst-initorder.out): Likewise.
305 ($(objpfx)tst-initorder2.out): Likewise.
306 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
307 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
308 (test_wrapper_env): New variable. Use it to run ld.so.
309 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
310 Use it to run ld.so.
311 (test_wrapper_env): Likewise.
312 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
313 $(test-wrapper) to run-iconv-test.sh.
314 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
315 (ICONV): Use $test_wrapper.
316 * posix/Makefile ($(objpfx)globtest.out): Pass
317 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
318 globtest.sh, not $(run-program-prefix).
319 * posix/globtest.sh (run_via_rtld_prefix): New variable.
320 (test_wrapper): Likewise.
321 (test_wrapper_env): Likewise. Use it to run globtest with HOME
322 set together with run_via_rtld_prefix.
323 (run_program_prefix): Define in terms of test_wrapper and
324 run_via_rtld_prefix.
325
6e6249d0
RM
3262012-10-24 Roland McGrath <roland@hack.frob.com>
327
328 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
329 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
330 Targets removed.
331
332 [BZ #14743]
333 * include/time.h: Remove librt_hidden_proto (clock_gettime).
334 Declare __clock_getres, __clock_gettime, __clock_settime,
335 __clock_nanosleep, and __clock_getcpuclockid.
336 * rt/clock_gettime.c: Define __clock_gettime as an alias.
337 Remove librt_hidden_def (clock_gettime).
338 * sysdeps/unix/clock_gettime.c: Likewise.
339 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
340 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
341 * rt/clock_getres.c: Define __clock_getres as an alias.
342 * sysdeps/posix/clock_getres.c: Likewise.
343 * rt/clock_settime.c: Define __clock_settime as an alias.
344 * sysdeps/unix/clock_settime.c: Likewise.
345 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
346 * sysdeps/unix/clock_nanosleep.c: Likewise.
347 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
348 * rt/clock-compat.c: New file.
349 * rt/Makefile (librt-routines): Add clock-compat and move
350 $(clock-routines) to ...
351 (routines): ... here, new variable.
352 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
353 Don't add get_clockfreq here.
354 * rt/Versions (libc: GLIBC_2.17): New version set.
355 Add clock_* symbols here.
356 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
357 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
358 (GLIBC_2.17): Add clock_* symbols.
359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
361 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
363 Likewise.
364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
365 Likewise.
366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
370 * NEWS: Mention the move.
371
372 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
373 Use __open, __read, __close rather than their public counterparts.
374 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
375 (__get_clockfreq_via_cpuinfo): Likewise.
376 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
377 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
378
379 * config.h.in (HAVE_IFUNC): New #undef.
380 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
381 was successful.
382 * configure: Regenerated.
383
0cae3f4b
MF
3842012-10-24 Mike Frysinger <vapier@gentoo.org>
385
386 * configure.in: Move READELF check to start of file.
387 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
388 libc_cv_asm_gnu_indirect_function in the process.
389 * configure: Regenerated.
390
8175a253
MF
3912012-10-24 Mike Frysinger <vapier@gentoo.org>
392
393 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
394 send the output to /dev/null.
395 (libc_cv_cc_with_libunwind): Likewise.
396 (libc_cv_as_noexecstack): Likewise.
397 * configure: Regenerate.
398
0708a7d1
JM
3992012-10-24 Joseph Myers <joseph@codesourcery.com>
400
10b40d85
JM
401 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
402
0708a7d1
JM
403 * posix/globtest.sh (TMPDIR): Do not set.
404 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
405 (testout): Likewise.
406
9fddec1a
AJ
4072012-10-24 Andreas Jaeger <aj@suse.de>
408
3a8db22f
AJ
409 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
410 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
411 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
412 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
413 posix_fadvise64, posix_fallocate64.
414
9fddec1a
AJ
415 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
416 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
417 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
418 Likewise.
419 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
420 Likewise.
421 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
422
423 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
424 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
425 <bits/fcntl-linux.h>.
426 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
427
428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
429 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
430 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
431 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
432 [__WORDSIZE != 64]: Likewise.
433
ebfd1bbd
JM
4342012-10-23 Joseph Myers <joseph@codesourcery.com>
435
03ac099f
JM
436 * Makeconfig (run-built-tests): New variable.
437 * Rules [$(cross-compiling) = yes]: Change condition to
438 [$(run-built-tests) = no].
439 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
440 to [$(run-built-tests) = yes].
441 * elf/Makefile [$(cross-compiling) = no]: Likewise
442 * grp/Makefile [$(cross-compiling) = no]: Likewise.
443 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
444 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
445 * intl/Makefile [$(cross-compiling) = no]: Likewise.
446 * io/Makefile [$(cross-compiling) = no]: Likewise.
447 * libio/Makefile [$(cross-compiling) = no]: Likewise.
448 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
449 * misc/Makefile [$(cross-compiling) = no]: Likewise.
450 * posix/Makefile [$(cross-compiling) = no]: Likewise.
451 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
452 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
453 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
454 * string/Makefile [$(cross-compiling) = no]: Likewise.
455
ebfd1bbd
JM
456 * posix/Makefile ($(objpfx)globtest.out): Pass
457 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
458 $(rtld-installed-name).
459 * posix/globtest.sh (elf_objpfx): Remove variable.
460 (rtld_installed_name): Likewise.
461 (library_path): Likewise.
462 (run_program_prefix): New variable. Use for running globtest
463 binary.
464
166bca24
JB
4652012-10-23 Jim Blandy <jimb@codesourcery.com>
466 Joseph Myers <joseph@codesourcery.com>
467
468 * Makeconfig (host-built-program-cmd): New variable.
469 * elf/Makefile (tst-stackguard1-ARGS): Use
470 $(host-built-program-cmd).
471 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
472 (tst-spawn-ARGS): Likewise.
473 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
474
88866099
JM
4752012-10-23 Joseph Myers <joseph@codesourcery.com>
476 Jim Blandy <jimb@codesourcery.com>
477
478 * Makeconfig (run-via-rtld-prefix): New variable.
479 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
480 (built-program-cmd): Likewise.
481
b4b4c296
AJ
4822012-10-22 Andreas Jaeger <aj@suse.de>
483
484 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
485 __O_RSYNC if it exists, otherwise to O_SYNC.
486
6fb54a22
JB
4872012-10-22 Jim Blandy <jimb@codesourcery.com>
488 Joseph Myers <joseph@codesourcery.com>
489
490 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
491 /dev/null.
492 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
493 from /dev/null
494 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
495 /dev/null.
496
481b90b9
AJ
4972012-10-22 Andreas Jaeger <aj@suse.de>
498
2a0e2669
AJ
499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
500 Define always.
501 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
502
76e38f9a
AJ
503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
504 bits/fcntl-linux.h.
505
7cd37b43
AJ
506 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
507 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
508
481b90b9
AJ
509 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
510 to __O_LARGEFILE.
511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
512 to __O_LARGEFILE.
513
aba75984
JB
5142012-10-21 Jim Blandy <jimb@codesourcery.com>
515 Joseph Myers <joseph@codesourcery.com>
516
517 * config.make.in (NM): New variable.
518
88d4247f
AJ
5192012-10-21 Andreas Jaeger <aj@suse.de>
520
521 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
522 definitions and declarations that are provided by
523 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
524
f2eed205
L
5252012-10-20 H.J. Lu <hongjiu.lu@intel.com>
526
527 [BZ #14683]
528 * elf/Makefile (tests-static): Add tst-leaks1-static.
529 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
530 ($(objpfx)tst-leaks1-static): New rule.
531 ($(objpfx)tst-leaks1-static-mem): Likewise.
532 (tst-leaks1-static-ENV): New macro.
533 * elf/dl-open.c (dl_open_worker): Check the main application
534 only if SHARED is defined.
535 * elf/tst-leaks1-static.c: New file.
536
335e6931
AJ
5372012-10-20 Andreas Jaeger <aj@suse.de>
538
539 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
540 generic values for Linux.
541 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
542 and declarations that are provided by <bits/fcntl-linux.h> and
543 include <bits/fcntl-linux.h>.
544 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
545 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
546
ac5c94d3
RM
5472012-10-20 Roland McGrath <roland@hack.frob.com>
548
549 * io/fcntl.h: Move include of <bits/types.h> to the top and
550 include it unconditionally.
551
de54b33a
L
5522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
553
228cfb01
L
554 * wcsmbs/Makefile (tests-ifunc): New variable.
555 (tests): Add $(tests-ifunc).
556 * wcsmbs/test-wcschr-ifunc.c: New file.
557 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
558 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
559 * wcsmbs/test-wcslen-ifunc.c: Likewise.
560 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
561 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
562
69f07e5f
L
563 * string/Makefile (tests-ifunc): New variable.
564 (tests): Add $(tests-ifunc).
565 * string/test-memccpy.c (TEST_NAME): New macro.
566 * string/test-memchr.c (TEST_NAME): Likewise.
567 * string/test-memcmp.c (TEST_NAME): Likewise.
568 * string/test-memcpy.c (TEST_NAME): Likewise.
569 * string/test-memmem.c (TEST_NAME): Likewise.
570 * string/test-memmove.c (TEST_NAME): Likewise.
571 * string/test-memset.c (TEST_NAME): Likewise.
572 * string/test-rawmemchr.c (TEST_NAME): Likewise.
573 * string/test-stpcpy.c (TEST_NAME): Likewise.
574 * string/test-stpncpy.c (TEST_NAME): Likewise.
575 * string/test-strcasecmp.c (TEST_NAME): Likewise.
576 * string/test-strcasestr.c (TEST_NAME): Likewise.
577 * string/test-strcat.c (TEST_NAME): Likewise.
578 * string/test-strchr.c (TEST_NAME): Likewise.
579 * string/test-strcmp.c(TEST_NAME): Likewise.
580 * string/test-strcpy.c (TEST_NAME): Likewise.
581 * string/test-strcspn.c (TEST_NAME): Likewise.
582 * string/test-strlen.c (TEST_NAME): Likewise.
583 * string/test-strncasecmp.c (TEST_NAME): Likewise.
584 * string/test-strncmp.c (TEST_NAME): Likewise.
585 * string/test-strncpy.c (TEST_NAME): Likewise.
586 * string/test-strnlen.c (TEST_NAME): Likewise.
587 * string/test-strpbrk.c (TEST_NAME): Likewise.
588 * string/test-strrchr.c (TEST_NAME): Likewise.
589 * string/test-strspn.c (TEST_NAME): Likewise.
590 * string/test-strstr.c (TEST_NAME): Likewise.
591 * string/test-bcopy-ifunc.c: New file.
592 * string/test-bzero-ifunc.c: Likewise.
593 * string/test-memccpy-ifunc.c: Likewise.
594 * string/test-memchr-ifunc.c: Likewise.
595 * string/test-memcmp-ifunc.c: Likewise.
596 * string/test-memcpy-ifunc.c: Likewise.
597 * string/test-memmem-ifunc.c: Likewise.
598 * string/test-memmove-ifunc.c: Likewise.
599 * string/test-mempcpy-ifunc.c: Likewise.
600 * string/test-memset-ifunc.c: Likewise.
601 * string/test-rawmemchr-ifunc.c: Likewise.
602 * string/test-stpcpy-ifunc.c: Likewise.
603 * string/test-stpncpy-ifunc.c: Likewise.
604 * string/test-strcasecmp-ifunc.c: Likewise.
605 * string/test-strcasestr-ifunc.c: Likewise.
606 * string/test-strcat-ifunc.c: Likewise.
607 * string/test-strchr-ifunc.c: Likewise.
608 * string/test-strchrnul-ifunc.c: Likewise.
609 * string/test-strcmp-ifunc.c: Likewise.
610 * string/test-strcpy-ifunc.c: Likewise.
611 * string/test-strcspn-ifunc.c: Likewise.
612 * string/test-strlen-ifunc.c: Likewise.
613 * string/test-strncasecmp-ifunc.c: Likewise.
614 * string/test-strncat-ifunc.c: Likewise.
615 * string/test-strncmp-ifunc.c: Likewise.
616 * string/test-strncpy-ifunc.c: Likewise.
617 * string/test-strnlen-ifunc.c: Likewise.
618 * string/test-strpbrk-ifunc.c: Likewise.
619 * string/test-strrchr-ifunc.c: Likewise.
620 * string/test-strspn-ifunc.c: Likewise.
621 * string/test-strstr-ifunc.c: Likewise.
622
de54b33a
L
623 * debug/Makefile (tests-ifunc): New variable.
624 (tests): Add $(tests-ifunc).
625 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
626 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
627 * debug/test-stpcpy_chk-ifunc.c: New file.
628 * debug/test-strcpy_chk-ifunc.c: Likewise.
629
88481c16
SP
6302012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
631
632 [BZ #13601]
633 * elf/dl-load.c (open_verify): Retry read if the entire ELF
634 header is not read in.
635
135948bd
JM
6362012-10-19 Joseph Myers <joseph@codesourcery.com>
637
89f1c388
JM
638 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
639 script to $(SHELL) as $<. Pass $(common-objpfx) to script
640 directly. Pass built executable to script as
641 $(built-program-cmd).
642 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
643 $testprogram without using LD_LIBRARY_PATH and $ldso.
644
e40a0d21
JM
645 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
646 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
647 $(rtld-installed-name).
648 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
649 (rtld_installed_name): Likewise.
650 (library_path): Likewise.
651 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
652 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
653 $(run-program-prefix) to tst-tables.sh.
654 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
655 it to run tst-table-from and tst-table-to.
656 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
657 Pass it to tst-table.sh.
658 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
659 $(run-program-prefix) to tst-gettext.sh.
660 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
661 tst-translit.sh.
662 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
663 tst-gettext2.sh.
664 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
665 to run tst-gettext.
666 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
667 to run tst-gettext2.
668 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
669 to run tst-translit.
670 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
671 $(run-program-prefix) to tst-mtrace.sh.
672 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
673 to run tst-mtrace.
674 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
675 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
676 $(rtld-installed-name).
677 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
678 (rtld_installed_name): Likewise.
679 (run_program_prefix): New variable. Use it to run wordexp-test.
680
728e272a
JM
681 * Makeconfig (ARCH): Remove all definitions.
682 (machine): Likewise.
683 [ARCH]: Remove conditional code.
684 [!objdir]: Give error.
685 [!objdir] (objpfx): Remove.
686 [!objdir] (common-objpfx): Likewise.
687 [!objdir] (common-objdir): Likewise.
688 * configure.in (config_makefile): Remove. Hardcode Makefile in
689 AC_CONFIG_FILES call.
690 * configure: Regenerated.
691
d528cdcf
JM
692 [BZ #13888]
693 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
694 or TMPDIR.
695 (testout): Likewise.
696
135948bd
JM
697 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
698 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
699 $(rtld-installed-name).
700 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
701 (rtld_installed_name): Likwise.
702 (runit): Remove function.
703 (run_getconf): New variable, Use it for running getconf binary.
704
38c78296
L
7052012-10-18 H.J. Lu <hongjiu.lu@intel.com>
706
707 [BZ #14716]
708 * string/test-memmem.c (check_result): New function.
709 (do_one_test): Use it.
710 (check1): New function.
711 (test_main): Use it.
712
d077f65f
MT
7132012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
714
715 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
716
ced52c71
JM
7172012-10-18 Joseph Myers <joseph@codesourcery.com>
718
719 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
720 (_G_LSEEK64): Likewise.
721 (_G_MMAP64): Likewise.
722 (_G_FSTAT64): Likewise.
723 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
724 (_G_LSEEK64): Likewise.
725 (_G_MMAP64): Likewise.
726 (_G_FSTAT64): Likewise.
727 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
728 unconditional. Call __mmap64 directly.
729 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
730 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
731 __lseek64 directly.
732 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
733 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
734 __mmap64 directly.
735 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
736 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
737 __lseek64 directly.
738 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
739 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
740 __lseek64 directly.
741 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
742 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
743 __lseek64 directly.
744 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
745 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
746 __fxstat64 directly.
747 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
748 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
749 unconditional.
750 (freopen64) [!_G_OPEN64]: Remove conditional code.
751 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
752 unconditional.
753 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
754 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
755 unconditional.
756 (ftello64) [!_G_LSEEK64]: Remove conditional code.
757 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
758 unconditional.
759 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
760 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
761 unconditional.
762 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
763 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
764 unconditional.
765 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
766 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
767 unconditional.
768 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
769 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
770 unconditional.
771 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
772
b741de23
SP
7732012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
774
775 [BZ #12140]
776 * manual/memory.texi (Malloc Tunable Parameters): Add note
777 about free list pointers overwriting some perturb bytes.
778 Wording suggested by Roland McGrath.
779
f9b9d9c9
JM
7802012-10-17 Joseph Myers <joseph@codesourcery.com>
781
782 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
783 (lgamma_test): Likewise.
784 (tgamma_test): Likewise.
785
172a631a
FW
7862012-10-16 Florian Weimer <fweimer@redhat.com>
787
788 [BZ #14700]
789 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
790 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
791
e9f37252
MK
7922012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
793
794 * NEWS: Mention BZ #14716.
795 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
796 when removing AVAILABLE1_USES_J macro.
797
d394eb74
L
7982012-10-12 H.J. Lu <hongjiu.lu@intel.com>
799
800 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
801 (__bswap_64): __uint64_t for unsigned 64-bit int.
802
ca38dc17
AS
8032012-10-12 Andreas Schwab <schwab@linux-m68k.org>
804
805 * include/string.h (memmem): Declare libc hidden alias.
806 * string/memmem.c (memmem): Define libc hidden alias.
807 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
808 __read, __close instead of open, read, close.
809
9a387d1f
L
8102012-10-11 H.J. Lu <hongjiu.lu@intel.com>
811
ac49ecaf
L
812 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
813 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
814 global and hidden.
815 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
816 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
817 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
818 Likewise.
819 (__rawmemchr_sse2): Likewise.
820 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
821 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
822 (__strchr_sse2): Likewise.
823 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
824 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
825 (__strcasecmp_sse2): Likewise.
826 (__strncasecmp_sse2): Likewise.
827 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
828 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
829 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
830 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
831 (__strrchr_sse2): Likewise.
832 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
833 ifunc-impl-list.c.
834 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
835 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
836 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
837 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
838 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
839 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
840 * sysdeps/x86_64/multiarch/memset.S: Likewise.
841 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
842 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
843 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
844 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
845 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
846 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
847 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
848 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
849 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
850 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
851 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
852 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
853 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
854 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
855 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
856 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
857 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
858 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
859 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
860 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
861 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
862 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
863 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
864
b090e8ea
L
865 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
866 global and hidden.
867 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
868 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
869 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
870 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
871 Likewise.
872 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
873 Likewise.
874 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
875 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
876 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
877 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
878 ifunc-impl-list.c.
879 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
880 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
881 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
882 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
883 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
884 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
885 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
886 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
887 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
888 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
889 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
890 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
891 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
892 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
893 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
894 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
895 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
896 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
897 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
898 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
899 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
900 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
901 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
902 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
903 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
904 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
905 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
906 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
907 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
908 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
909 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
910 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
911 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
912 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
913 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
914 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
915 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
916 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
917 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
918 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
919 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
920
11dd4af6
L
921 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
922 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
923 * include/ifunc-impl-list.h: New file.
924 * misc/ifunc-impl-list.c: Likewise.
925 * misc/Makefile (routines): Add ifunc-impl-list.
926 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
927 * string/test-string.h: Include <ifunc-impl-list.h>.
928 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
929 impl_array): New variables.
930 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
931 are defined.
932 (test_init): Call __libc_ifunc_impl_list to initialize
933 func_list if TEST_IFUNC and TEST_NAME are defined.
934
9a387d1f
L
935 * string/Makefile (strop-tests): Add bcopy and bzero.
936 * string/test-bcopy.c: New file.
937 * string/test-bzero.c: Likewise.
938 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
939 defined.
940 * string/test-memset.c: Support bzero test if TEST_BZERO is
941 defined.
942 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
943 __libc_memmove.
944 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
945 __libc_memset.
946 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
947 of memset.
948
472371b9
JM
9492012-10-10 Joseph Myers <joseph@codesourcery.com>
950
1e4a9536
JM
951 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
952 * configure: Regenerated.
953
d173d12e
JM
954 * Makeconfig (+link-static-before-libc): Don't include
955 $(link-static-libc).
956
472371b9
JM
957 * libio/libio.h (_IO_pos_t): Remove.
958
89a3ad0b
AO
9592012-10-10 Alexandre Oliva <aoliva@redhat.com>
960
961 * NEWS: Add note about FIPS mode. Wording suggested by Roland
962 McGrath.
963
e7451425
AO
9642012-10-10 Alexandre Oliva <aoliva@redhat.com>
965
966 * crypt/crypt-entry.c: Include fips-private.h.
967 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
968 * crypt/md5c-test.c (main): Tolerate disabled MD5.
969 * sysdeps/unix/sysv/linux/fips-private.h: New file.
970 * sysdeps/generic/fips-private.h: New file, dummy fallback.
971
4ba74a35
AO
9722012-10-10 Alexandre Oliva <aoliva@redhat.com>
973
974 * crypt/crypt-private.h: Include stdbool.h.
975 (_ufc_setup_salt_r): Return bool.
976 * crypt/crypt-entry.c: Include errno.h.
977 (__crypt_r): Return NULL with EINVAL for bad salt.
978 * crypt/crypt_util.c (bad_for_salt): New.
979 (_ufc_setup_salt_r): Check that salt is long enough and within
980 the specified alphabet.
981 * crypt/badsalttest.c: New file.
982 * crypt/Makefile (tests): Add it.
983 ($(objpfx)badsalttest): New.
984
f96f1242
MK
9852012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
986
987 * NEWS: Add entry for BZ #14602.
988
0e8e0c1c
JM
9892012-10-09 Joseph Myers <joseph@codesourcery.com>
990
991 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
992 type-generic.
993 * math/libm-test.inc: Update comment listing what functions and
994 macros are tested.
995 (isgreater_test): New function.
996 (isgreaterequal_test): Likewise.
997 (isless_test): Likewise.
998 (islessequal_test): Likewise.
999 (islessgreater_test): Likewise.
1000 (isunordered_test): Likewise.
1001 (main): Call the new functions.
1002
273edc5e
RM
10032012-10-09 Roland McGrath <roland@hack.frob.com>
1004
b8493de0
RM
1005 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
1006 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
1007 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
1008 * sysdeps/i386/configure: Regenerated.
1009 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1010 * sysdeps/mach/configure: Regenerated.
1011 * sysdeps/mach/hurd/configure: Regenerated.
1012 * sysdeps/powerpc/configure: Regenerated.
1013 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1014 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1015 * sysdeps/s390/s390-32/configure: Regenerated.
1016 * sysdeps/s390/s390-64/configure: Regenerated.
1017 * sysdeps/sh/configure: Regenerated.
1018 * sysdeps/sparc/configure: Regenerated.
1019 * sysdeps/unix/sysv/linux/configure: Regenerated.
1020 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1021 * sysdeps/x86_64/configure: Regenerated.
1022
273edc5e
RM
1023 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1024 defined. Don't check if MAP is NULL.
1025
c8450f70
JM
10262012-10-09 Joseph Myers <joseph@codesourcery.com>
1027
1028 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1029 (_G_stat64): Likewise.
1030 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1031 (_G_stat64): Likewise.
1032 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1033 instead of struct _G_stat64.
1034 * libio/fileops.c (mmap_remap_check): Likewise.
1035 (decide_maybe_mmap): Likewise.
1036 (_IO_new_file_seekoff): Likewise.
1037 (_IO_file_stat): Likewise.
1038 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1039 _G_off64_t.
1040 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1041 instead of struct _G_stat64.
1042 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1043
57e605ba
MK
10442012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1045
1046 [BZ #14602]
1047 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1048 Replace with ...
1049 (CHECK_EOL): New macro.
1050 (two_way_short_needle): Check beginning of haystack for EOL. Use
1051 CHECK_EOL.
1052 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1053 Replace with CHECK_EOL.
1054 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1055 Replace with CHECK_EOL.
1056
ef1bb361
JM
10572012-10-08 Joseph Myers <joseph@codesourcery.com>
1058
1059 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1060 type-generic.
1061 * math/libm-test.inc: Update comment listing what functions and
1062 macros are tested.
1063 (finite_test): New function.
1064 (isinf_test): Likewise.
1065 (isnan_test): Likewise.
1066 (fpclassify_test): Test subnormal input.
1067 (isfinite_test): Likewise.
1068 (isnormal_test): Likewise.
1069 (main): Call the new functions.
1070
55f11534
JN
10712012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1072
1073 [BZ #14660]
1074 * Makerules (%.dynsym): Force C locale when running
1075 $(OBJDUMP) --dynamic-syms.
1076
1ab29350
AS
10772012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1078
1079 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1080 <stdint.h>.
1081
f1ecb7ef
DM
10822012-10-06 David S. Miller <davem@davemloft.net>
1083
1084 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1085 upper 32-bits of the length value in %o2 since we use branch-on-register
1086 tests which consider the entire 64-bit register.
1087
5d41d91a
L
10882012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1089
1090 * string/test-strstr.c (check2): Add a test for page boundary.
1091
3baddb72
DM
10922012-10-05 David S. Miller <davem@davemloft.net>
1093
1094 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1095 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1096 file.
1097 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1098 sysdep_routines.
1099 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1100 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1101 and bzero when HWCAP_SPARC_CRYPTO is present.
1102
9cee5585
L
11032012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1104
d7e0dab9
L
1105 [BZ #14602]
1106 * string/test-strstr.c (check2): New function.
1107 (test_main): Call check2.
1108
03759f47
L
1109 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1110 and bug-strchr1.
1111 * string/bug-strcasestr1.c (do_test): Moved to ...
1112 * string/test-strcasestr.c (check1): Here. New function.
1113 (do_one_test): Break out result checking code into ...
1114 (check_result): This. New function.
1115 (do_one_test): Call check_result.
1116 (test_main): Call check1.
1117 * string/bug-strchr1.c (do_test): Moved to ...
1118 * string/test-strchr.c (check1): Here. New function.
1119 (do_one_test): Break out result checking code into ...
1120 (check_result): This. New function.
1121 (do_one_test): Call check_result.
1122 (test_main): Call check1.
1123 * string/bug-strstr1.c (main): Moved to ...
1124 * string/test-strchr.c (check1): Here. New function.
1125 (do_one_test): Break out result checking code into ...
1126 (check_result): This. New function.
1127 (do_one_test): Call check_result.
1128 (test_main): Call check1.
1129 * string/bug-strcasestr1.c: Removed.
1130 * string/bug-strchr1.c: Likewise.
1131 * string/bug-strstr1.c: Likewise.
1132
53cea63e
L
1133 * elf/Makefile (dl-routines): Add hwcaps.
1134 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1135 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1136 (_dl_important_hwcaps): Moved to ...
1137 * elf/dl-hwcaps.c: Here. New file.
1138 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1139
9cee5585 1140 [BZ #14557]
bb859b06
L
1141 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1142 if IS_IN_rtld isn't defined.
1143
9cee5585
L
1144 * elf/dl-support.c (_dl_sysinfo_map): New.
1145 Include "get-dynamic-info.h" and "setup-vdso.h".
1146 (_dl_non_dynamic_init): Call setup_vdso.
1147 * elf/dynamic-link.h: Don't include <assert.h>.
1148 (elf_get_dynamic_info): Moved to ...
1149 * elf/get-dynamic-info.h: Here. New file.
1150 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1151 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1152 * elf/setup-vdso.h: Here. New file.
1153 * elf/rtld.c: Include "setup-vdso.h".
1154 (dl_main): Call setup_vdso.
1155
23c31b76
JM
11562012-10-05 Joseph Myers <joseph@codesourcery.com>
1157
28234b07
JM
1158 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1159 creal in comment listing functions tested. List finite, isinf,
1160 isnan, isless, islessequal, isgreater, isgreaterequal,
1161 islessgreater, isunordered, lgamma_r and pow10 as functions and
1162 macros not tested. Mention which functions not tested are aliases
1163 for other functions. Fix typo. Note that signs of NaNs are not
1164 tested.
1165
23c31b76
JM
1166 * scripts/config.guess: Update from config.git.
1167 * scripts/config.sub: Likewise.
1168
9043e228
RM
11692012-10-04 Roland McGrath <roland@hack.frob.com>
1170
1171 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1172 * misc/madvise.c (madvise): Renamed to __madvise.
1173 Make madvise a weak alias.
1174 * include/sys/mman.h: Declare __madvise.
1175 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1176 * sysdeps/unix/syscalls.list
1177 (madvise): Make __madvise the strong name, and madvise a weak alias.
1178 * sysdeps/unix/sysv/linux/syscalls.list
1179 (madvise, mmap): Remove redundant entries.
1180 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1181 * malloc/malloc.c (mtrim): Likewise.
1182 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1183
f57f8055
RM
11842012-10-03 Roland McGrath <roland@hack.frob.com>
1185
1186 * sysdeps/mach/hurd/dl-cache.c: File removed.
1187 * config.h.in (USE_LDCONFIG): New #undef.
1188 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1189 * configure: Regenerated.
1190 * elf/Makefile (dl-routines): Add dl-cache only under
1191 [$(use-ldconfig) = yes].
1192 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1193 cache on [USE_LDCONFIG].
1194 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1195 [USE_LDCONFIG].
1196 * elf/rtld.c (dl_main): Likewise.
1197
5bb0c10a
PT
11982012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1199
1200 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1201 _SC_LEVEL4_CACHE_LINESIZE.
1202
010188c6
RM
12032012-10-03 Roland McGrath <roland@hack.frob.com>
1204
1205 * sysdeps/unix/bsd/confstr.h: File removed.
1206
b6c5ec07
AO
12072012-10-02 Alexandre Oliva <aoliva@redhat.com>
1208
1209 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1210 sys/sdt-config.h.
1211
408223d4
RM
12122012-10-02 Roland McGrath <roland@hack.frob.com>
1213
1214 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1215 Make 'mapoff' field ElfW(Off) rather than off_t.
1216
bb9510dc
DL
12172012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1218
fc997c6e
DL
1219 * nscd/Makefile: Remove nscd-cflags and all its users.
1220 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1221 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1222
bb9510dc
DL
1223 [BZ #10631]
1224 * malloc.c (malloc_printerr): Clarify error message.
1225
05699367
L
12262012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1227
1228 [BZ #14648]
1229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1230 Set bit_FMA_Usable if FMA is supported.
1231 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1232 macro.
1233 (bit_FMA4_Usable): Updated.
1234 (index_FMA_Usable): New macro.
1235 (CPUID_FMA): Likewise
1236 (HAS_FMA): Defined with bit_FMA_Usable.
1237
51367701
RM
12382012-10-01 Roland McGrath <roland@hack.frob.com>
1239
1240 * bits/types.h (__swblk_t): Type removed.
1241 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1242 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1243 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1244 (__SWBLK_T_TYPE): Likewise.
1245 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1246 (__SWBLK_T_TYPE): Likewise.
1247 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1248 (__SWBLK_T_TYPE): Likewise.
1249 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1250 (__SWBLK_T_TYPE): Likewise.
1251
4d57bf63 12522012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 1253 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
1254
1255 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1256 (xdr_mapname): Use YPMAXMAP as maxsize.
1257 (xdr_peername): Use YPMAXPEER as maxsize.
1258 (xdr_keydat): Use YPAXRECORD as maxsize.
1259 (xdr_valdat): Use YPMAXRECORD as maxsize.
1260
93c65d43
RM
12612012-10-01 Roland McGrath <roland@hack.frob.com>
1262
497a03d6
RM
1263 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1264
93c65d43
RM
1265 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1266 * csu/init-first.c: ... here.
1267 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1268 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1269 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1270 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1271 * sysdeps/i386/init-first.c: File removed.
1272 * sysdeps/sh/init-first.c: File removed.
1273
bec749fd
JM
12742012-10-01 Joseph Myers <joseph@codesourcery.com>
1275
1276 [BZ #14645]
1277 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1278 if x * y might underflow to zero and z is zero.
1279 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1280 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1281 * math/libm-test.inc (min_subnorm_value): New variable.
1282 (fma_test): Add more tests.
1283 (fma_test_towardzero): Likewise.
1284 (fma_test_downward): Likewise
1285 (fma_test_upward): Likewise.
1286 (initialize): Set min_subnorm_value.
1287
8ec5b013
JM
12882012-09-29 Joseph Myers <joseph@codesourcery.com>
1289
1290 [BZ #14638]
1291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1292 0 + 0.
1293 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1294 mode for addition resulting in exact zero.
1295 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1296 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1297 exact 0 + 0.
1298 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1299 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1300 * math/libm-test.inc (fma_test): Add more tests.
1301 (fma_test_towardzero): New function.
1302 (fma_test_downward): Likewise.
1303 (fma_test_upward): Likewise.
1304 (main): Call the new functions.
1305
b1fa802e
DM
13062012-09-28 David S. Miller <davem@davemloft.net>
1307
1308 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1309
d3b9fd9e
RM
13102012-09-28 Roland McGrath <roland@hack.frob.com>
1311
ea4d37b3
RM
1312 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1313 instead of SIGALRM.
1314
ac51c949
RM
1315 * sysdeps/gnu/_G_config.h: Moved to ...
1316 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1317 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1318 * sysdeps/generic/_G_config.h: ... here.
1319
28c195f7
RM
1320 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1321
848917f9
RM
1322 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1323
6bacf05b
RM
1324 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1325 Conditionalize target on [libnss_test1.so-version].
1326
91363dbb
RM
1327 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1328
cc87f7d8
RM
1329 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1330 (elfobjdir): Move out of conditionals.
1331
b1c608fe
RM
1332 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1333 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1334 (__nss_lookup_function): Conditionalize label remove_from_tree on
1335 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 1336
1d9a6d96
DM
13372012-09-28 David S. Miller <davem@davemloft.net>
1338
1339 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1340 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1341 file.
1342 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1343 sysdep_routines.
1344 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1345 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1346 when HWCAP_SPARC_CRYPTO is present.
1347
72581615
PT
13482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1349
1350 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1351
715a900c
JL
13522012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1353
1354 [BZ #6530]
1355 * stdio-common/vfprintf.c (process_string_arg): Revert
1356 2000-07-22 change.
1357
13582011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1359
1360 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1361 for testcase.
1362 * stdio-common/tst-sprintf.c: Include <locale.h>
1363 (main): Test sprintf's handling of incomplete multibyte
1364 characters.
1365
9bac1d86
L
13662012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1367
1368 * elf/dl-runtime.c (VERSYMIDX): Removed.
1369 * elf/dl-version.c (VERSYMIDX): Likewise.
1370 * elf/do-rel.h (VERSYMIDX): Likewise.
1371 (VALIDX): Likewise.
1372 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1373 * elf/rtld.c (VALIDX): Likewise.
1374 (ADDRIDX): Likewise.
9bac1d86
L
1375 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1376 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1377 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
1378 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1379 (VALIDX): Likewise.
1380 (ADDRIDX): Likewise.
9bac1d86 1381
b31606c0
PT
13822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1383
1384 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1385
11541177
JL
13862012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1387
1388 [BZ #11438]
1389 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1390 to global scope.
1391 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1392 addresses are in the same scope as 192.0.2/24.
1393 * posix/gai.conf: Document new scope table defaults.
1394
adb26fae
SP
13952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1396
1397 [BZ #5298]
1398 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1399 for ftell. Compute offsets from write pointers instead.
1400 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1401
4573c6b0
SP
14022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1403
1404 [BZ #14543]
1405 * libio/Makefile (tests): New test case tst-fseek.
1406 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1407 combination works in wide mode.
1408 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1409 state when the external buffer state changes.
1410
aa9bbfe6
DM
14112012-09-27 David S. Miller <davem@davemloft.net>
1412
1413 [BZ #14376]
1414 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1415 pass reloc->r_addend in as the 'high' argument to
1416 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1417
784421e7
DM
1418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1419
c39bc8b8
PT
14202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1421
1422 * rt/tst-aio2.c: Include <pthread.h>.
1423 * rt/tst-aio3.c: Likewise.
1424
1ccc2399
SE
14252012-09-27 Steve Ellcey <sellcey@mips.com>
1426
1427 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1428
31ed4153
L
14292012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1430
25f5f885
L
1431 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1432 contents on [SHARED].
31ed4153 1433
b7bfe116
MP
14342012-09-26 Marek Polacek <polacek@redhat.com>
1435
1436 [BZ #14530]
1437 [BZ #13741]
1438 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1439 for C++ and GCC <4.3 as well as for non GCC compilers.
1440
43c4edba
MT
14412012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1442
1443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1444
6a1bf82f
RM
14452012-09-25 Roland McGrath <roland@hack.frob.com>
1446
1447 * Makefile.in (all, install): Declare with .PHONY.
1448 Reported by Michael Hope <michael.hope@linaro.org>.
1449
8ad11b9a
TMQMF
14502012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1451
1452 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1453 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1454 system header.
1455 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1456 Likewise.
1457 (sydep_routines): Add the new and the internal functions.
1458 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1459 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1461 (GLIBC_2.17): Add the new function.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1463 (GLIBC_2.17): Likewise.
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1465 (GLIBC_2.17): Likewise.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1467 (GLIBC_2.17): Likewise.
1468 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1469
7e2fca8d
AM
14702012-09-25 Alan Modra <amodra@gmail.com>
1471
1472 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1473 Add release barrier before setting once_control to say
1474 initialisation is done. Add hints on lwarx. Use macro in
1475 place of isync.
1476 (clear_once_control): Add release barrier.
1477
b87c4b24
JM
14782012-09-25 Joseph Myers <joseph@codesourcery.com>
1479
d032e0d2
JM
1480 [BZ #13629]
1481 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1482 specially.
1483 * math/s_clog10.c (__clog10): Likewise.
1484 * math/s_clog10f.c (__clog10f): Likewise.
1485 * math/s_clog10l.c (__clog10l): Likewise.
1486 * math/s_clogf.c (__clogf): Likewise.
1487 * math/s_clogl.c (__clogl): Likewise.
1488 * math/Makefile (libm-calls): Add x2y2m1.
1489 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1490 (__x2y2m1): Likewise.
1491 (__x2y2m1l): Likewise.
1492 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1493 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1494 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1495 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1496 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1497 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1498 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1499 * sysdeps/i386/fpu/libm-test-ulps: Update.
1500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1501
b87c4b24
JM
1502 [BZ #14621]
1503 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1504 int as type of variable DEPTH.
1505 (glob): Use size_t instead of int as type of variables NEWCOUNT
1506 and OLD_PATHC.
1507
6d3bf199
LD
15082012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1509
22bf5c17
LD
1510 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1511 Add s_sincosf-sse2.
1512 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1513 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1514 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1515 macros for using routine as __sincosf_ia32.
1516 Use macro for function declaration and weak_alias.
1517 * sysdeps/i386/fpu/libm-test-ulps: Update.
1518
1519 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1521
1522 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1523 subnormal argument.
1524 * math/s_cexpf.c (__cexpf): Likewise.
1525 * math/s_csinf.c (__csinf): Likewise.
1526 * math/s_csinhf.c (__csinhf): Likewise.
1527 * math/s_ctanf.c (__ctanf): Likewise.
1528 * math/s_ctanhf.c (__ctanhf): Likewise.
1529 * math/s_ccosh.c (__ccoshf): Likewise.
1530 * math/s_cexp.c (__cexpl): Likewise.
1531 * math/s_csin.c (__csin): Likewise.
1532 * math/s_csinh.c (__csinh): Likewise.
1533 * math/s_ctan.c (__ctan): Likewise.
1534 * math/s_ctanh.c (ctanh): Likewise.
1535 * math/s_ccoshl.c (__ccoshl): Likewise.
1536 * math/s_cexpl.c (__cexpl): Likewise.
1537 * math/s_csinl.c (__csinl): Likewise.
1538 * math/s_csinhl.c (__csinhl): Likewise.
1539 * math/s_ctanl.c (__ctanl): Likewise.
1540 * math/s_ctanhl.c (__ctanhl): Likewise.
1541
203e5603
JM
15422012-09-25 Joseph Myers <joseph@codesourcery.com>
1543
1544 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1545 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1546 (_IO_off_t): Define to __off_t, not _G_off_t.
1547 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1548 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1549 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1550 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1551 type of __dummy and __dummy2 fields.
1552 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1553 (_G_ssize_t): Likewise.
1554 (_G_off_t): Likewise.
1555 (_G_pid_t): Likewise.
1556 (_G_uid_t): Likewise.
1557 (_G_wchar_t): Likewise.
1558 (_G_wint_t): Likewise.
1559 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1560 (_G_ssize_t): Likewise.
1561 (_G_off_t): Likewise.
1562 (_G_pid_t): Likewise.
1563 (_G_uid_t): Likewise.
1564 (_G_wchar_t): Likewise.
1565 (_G_wint_t): Likewise.
1566 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1567 (_G_ssize_t): Likewise.
1568 (_G_off_t): Likewise.
1569 (_G_pid_t): Likewise.
1570 (_G_uid_t): Likewise.
1571 (_G_wchar_t): Likewise.
1572 (_G_wint_t): Likewise.
1573
9fab36eb
SP
15742012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1575
1576 * malloc/arena.c: Include malloc-sysdep.h.
1577 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1578 is sufficient to shrink the heap or an unmap is needed.
1579 * sysdeps/generic/malloc-sysdep.h: New file. Define
1580 new function check_may_shrink_heap.
1581 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1582 new function check_may_shrink_heap.
1583
2b4f00d1
SP
15842012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1585
1586 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1587 comments.
1588
9a9028b1
DL
15892012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1590
57c69bef
DL
1591 * catgets/test-gencat.sh: Add "set -e".
1592 * elf/tst-pathopt.sh: Likewise.
1593 * grp/tst_fgetgrent.sh: Likewise.
1594 * iconvdata/run-iconv-test.sh: Likewise.
1595 * intl/tst-gettext.sh: Likewise.
1596 * intl/tst-gettext2.sh: Likewise.
1597 * intl/tst-gettext4.sh: Likewise.
1598 * intl/tst-gettext6.sh: Likewise.
1599 * intl/tst-translit.sh: Likewise.
1600 * io/ftwtest-sh: Likewise.
1601 * libio/test-freopen.sh: Likewise.
1602 * malloc/tst-mtrace.sh: Likewise.
1603 * posix/globtest.sh: Likewise.
1604 * posix/tst-getconf.sh: Likewise.
1605 * posix/wordexp-tst.sh: Likewise.
1606 * stdio-common/tst-printf.sh: Likewise.
1607 * stdio-common/tst-unbputc.sh: Likewise.
1608 * stdlib/tst-fmtmsg.sh: Likewise.
1609 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1610 * catgets/Makefile: Do not specify -e option when running
1611 testsuite shell scripts.
1612 * elf/Makefile: Likewise.
1613 * grp/Makefile: Likewise.
1614 * iconvdata/Makefile: Likewise.
1615 * intl/Makefile: Likewise.
1616 * io/Makefile: Likewise.
1617 * libio/Makefile: Likewise.
1618 * malloc/Makefile: Likewise.
1619 * posix/Makefile: Likewise.
1620 * stdio-common/Makefile: Likewise.
1621 * stdlib/Makefile: Likewise.
1622 * sysdeps/x86_64/Makefile: Likewise.
1623
9a9028b1
DL
1624 * io/ftwtest-sh: Add copyright header.
1625 * posix/globtest.sh: Likewise.
1626 * posix/tst-getconf.sh: Likewise.
1627 * posix/wordexp-tst.sh: Likewise.
1628 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1629
ced6f16e
L
16302012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1631
94b32c39
L
1632 [BZ #13679]
1633 * Makeconfig (+link): Defined as $(+link-static) if
1634 $(build-shared) isn't yes.
1635 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1636 isn't yes.
1637 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1638
189e935b
L
1639 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1640
ced6f16e
L
1641 [BZ #14562]
1642 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1643 new chunk size with MALLOC_ALIGN_MASK.
1644
a9f8e53a
JM
16452012-09-24 Joseph Myers <joseph@codesourcery.com>
1646
1647 [BZ #5044]
1648 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1649 <rounding-mode.h>.
1650 (__printf_fphex): Determine rounding using get_rounding_mode and
1651 round_away.
1652 * stdio-common/tst-printf-round.c (struct hex_test): New
1653 structure.
1654 (hex_tests): New variable.
1655 (test_hex_in_one_mode): New function.
1656 (do_test): Also run tests for hex float output.
1657
43153109
JM
16582012-09-21 Joseph Myers <joseph@codesourcery.com>
1659
1660 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1661 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1662 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1663 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1664 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1665 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1666 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1667 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1668
8a26625d
JM
16692012-09-20 Joseph Myers <joseph@codesourcery.com>
1670
1671 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1672 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1673 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1674 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1675
f3fd569c
DL
16762012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1677
1678 [BZ #14579]
1679 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1680 mode only.
1681 * elf/tst-rtld-load-self.sh: New test.
1682 * elf/Makefile: Run it.
1683
63bbedd4
JM
16842012-09-18 Joseph Myers <joseph@codesourcery.com>
1685
1686 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1687 (tst-writev-ENV): Remove.
1688 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1689
626f8b6a
CM
16902012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1691
1692 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1693
b7aaa4d6
JM
16942012-09-17 Joseph Myers <joseph@codesourcery.com>
1695
1696 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1697 unconditional.
1698 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1699 Likewise.
1700 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1701 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1702 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1703 Likewise.
1704
65513990
L
17052012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1706
1707 [BZ #14587]
1708 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1709 * config.make.in (have-cpp-asm-debuginfo): Removed.
1710 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1711 * configure: Regenerated.
1712
784761be
JM
17132012-09-14 Joseph Myers <joseph@codesourcery.com>
1714
1715 [BZ #5044]
1716 * stdio-common/printf_fp.c: Include <stdbool.h> and
1717 <rounding-mode.h>.
1718 (___printf_fp): Determine rounding using get_rounding_mode and
1719 round_away.
1720 * stdio-common/tst-printf-round.c: New file.
1721 * stdio-common/Makefile (tests): Add tst-printf-round.
1722 (link-libm): New variable.
1723 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1724
9503345f
L
17252012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1726
1727 [BZ #14576]
1728 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1729 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1730 Likewise.
1731 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1732 Likewise.
1733
ad35fc00
JM
17342012-09-13 Joseph Myers <joseph@codesourcery.com>
1735
1736 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1737 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1738 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1739 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1740
6c9b0f68
JM
17412012-09-12 Joseph Myers <joseph@codesourcery.com>
1742
1743 [BZ #14518]
1744 * include/rounding-mode.h: New file.
1745 * sysdeps/generic/get-rounding-mode.h: Likewise.
1746 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1747 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1748 (MAX_VALUE): New macro.
1749 (MIN_VALUE): Likewise.
1750 (overflow_value): New function.
1751 (underflow_value): Likewise.
1752 (round_and_return): Use overflow_value and underflow_value to
1753 determine return values in overflow and underflow cases. Use
1754 round_away to determine rounding depending on rounding mode.
1755 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1756 determine return values in overflow and underflow cases.
1757 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1758 (struct test_results): New structure.
1759 (struct test): Use struct test_results to store expected results
1760 for all rounding modes.
1761 (TEST): Include expected results for all rounding modes.
1762 (test_in_one_mode): New function.
1763 (do_test): Use test_in_one_mode to compute and check results.
1764 Check results for all rounding modes.
1765 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1766 $(link-libm).
1767
19fcedd5
AM
17682012-12-09 Allan McRae <allan@archlinux.org>
1769
1e9d84cd 1770 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 1771
8bbfd2f1
JM
17722012-09-11 Joseph Myers <joseph@codesourcery.com>
1773
1774 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1775 (_G_int32_t): Likewise.
1776 (_G_uint16_t): Likewise.
1777 (_G_uint32_t): Likewise.
1778 (_G_HAVE_BOOL): Likewise.
1779 (_G_HAVE_ATEXIT): Likewise.
1780 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1781 (_G_HAVE_IO_FILE_OPEN): Likewise.
1782 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1783 (_G_int32_t): Likewise.
1784 (_G_uint16_t): Likewise.
1785 (_G_uint32_t): Likewise.
1786 (_G_HAVE_BOOL): Likewise.
1787 (_G_HAVE_ATEXIT): Likewise.
1788 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1789 (_G_HAVE_IO_FILE_OPEN): Likewise.
1790 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1791 (_G_int32_t): Likewise.
1792 (_G_uint16_t): Likewise.
1793 (_G_uint32_t): Likewise.
1794 (_G_HAVE_BOOL): Likewise.
1795 (_G_HAVE_ATEXIT): Likewise.
1796 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1797 (_G_HAVE_IO_FILE_OPEN): Likewise.
1798
b1dc5912
L
17992012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1800
1801 * csu/libc-tls.c: Update copyright years.
1802
0e886ef9
JM
18032012-09-10 Joseph Myers <joseph@codesourcery.com>
1804
28361c5e
JM
1805 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1806 [!_G_USING_THUNKS]: Remove conditional code.
1807 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1808 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1809
0e886ef9
JM
1810 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1811 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1812 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1813 (_G_VTABLE_LABEL_PREFIX): Likewise.
1814 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1815 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1816 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1817 (_G_VTABLE_LABEL_PREFIX): Likewise.
1818 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1819 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1820 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1821 (_G_VTABLE_LABEL_PREFIX): Likewise.
1822 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1823
bcba7aa2
L
18242012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1825
1826 * libio/Makefile: Include ../Makeconfig before tests.
1827 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1828 only if $(build-shared) is yes.
1829
06585ee8
L
1830 * iconv/gconv_db.c: Update copyright years.
1831
80ccd52c
LD
18322012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1833
1834 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1835 unwind info if defined PIC. Fix special cases description.
1836 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1837
1838 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1839 DP_HI_MASK entry.
1840 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1841
691bc9c1
L
18422012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1843
3d9b46b3
L
1844 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1845
de2139a9
L
1846 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1847 is NULL.
1848
5ca78dd0
L
1849 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1850 (LDLIBS-tst-chk4): This.
1851 (LDFLAGS-tst-chk5): Renamed to ...
1852 (LDLIBS-tst-chk5): This.
1853 (LDFLAGS-tst-chk6): Renamed to ...
1854 (LDLIBS-tst-chk6): This.
1855 (LDFLAGS-tst-lfschk4): Renamed to ...
1856 (LDLIBS-tst-lfschk4): This.
1857 (LDFLAGS-tst-lfschk5): Renamed to ...
1858 (LDLIBS-tst-lfschk5): This.
1859 (LDFLAGS-tst-lfschk6): Renamed to ...
1860 (LDLIBS-tst-lfschk6): This.
1861
691bc9c1
L
1862 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1863 on $(common-objpfx)soversions.mk.
1864
65cafb1c
JM
18652012-09-07 Joseph Myers <joseph@codesourcery.com>
1866
1867 [BZ #10014]
1868 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1869 example host name.
1870
c78ab094
SP
18712012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1872
1873 * malloc/arena.c (arena_get_retry): New function that gets
1874 another arena for the caller to try its request on.
1875 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1876 current arena cannot fulfill the request.
1877 (__libc_memalign): Likewise.
1878 (__libc_memalign): Likewise.
1879 (__libc_pvalloc): Likewise.
1880 (__libc_calloc): Likewise.
1881
01f49f59
JT
18822012-09-05 John Tobey <john.tobey@gmail.com>
1883
1884 [BZ #13542]
1885 * manual/arith.texi (Operations on Complex): Fix description
1886 of carg branch cut.
1887
4c23fed5
JM
18882012-09-06 Joseph Myers <joseph@codesourcery.com>
1889
1d3c8572
JM
1890 [BZ #10014]
1891 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1892 host name.
1893
4c23fed5
JM
1894 [BZ #10038]
1895 * manual/memory.texi (Memory): Make order of menu items match
1896 order of sections.
1897
04570aaa
L
18982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1899
1900 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1901 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1902 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1903
b80af2f4
L
19042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1905
1906 * csu/libc-tls.c (static_dtv): Renamed to ...
1907 (_dl_static_dtv): This. Make it global.
1908 (_dl_initial_dtv): Removed.
1909 (__libc_setup_tls): Updated.
1910 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1911 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1912 DL_INITIAL_DTV.
1913
2abe9f15
PM
19142012-09-06 Petr Machata <pmachata@redhat.com>
1915
1916 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1917 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1918 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1919 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1920
0948c3af
L
19212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1922
1923 [BZ #14545]
1924 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1925 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1926 freeing dtv[-1].
1927
a5055ad1
L
19282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1929
1930 [BZ #14544]
1931 * Makeconfig (link-static-before-libc): Replace $(+prector)
1932 with $(+prectorT).
1933 (link-static-after-libc): Replace $(+postctor) with
1934 $(+postctorT).
1935 (link-bounded): Replace $(+prector)/$(+postctor) with
1936 $(+prectorT)/$(+postctorT).
1937 (+prectorT): New macro.
1938 (+postctorT): Likewise.
1939
ed8c2ecd
JM
19402012-09-06 Joseph Myers <joseph@codesourcery.com>
1941
1942 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1943 (round_str): Handle values above the maximum for IBM long double
1944 as inexact.
1945 * stdlib/tst-strtod-round.c (tests): Regenerated.
1946
14c996c8
AK
19472012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1948
1949 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1950 assembler flag.
1951 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1952 zarch_nohighgprs around the zarch optimized routines.
1953 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1954 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1955 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1956 for zarch.
1957
430d6ce6
DM
19582012-09-05 David S. Miller <davem@davemloft.net>
1959
1960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1961
ff04dda4
DM
1962 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1963 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1964 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1965 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1966 entries.
1967
24d4e01b
AO
19682012-09-05 Alexandre Oliva <aoliva@redhat.com>
1969
1970 * malloc/arena.c: Fold copyright years.
1971 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1972
61d58174
AO
19732012-09-05 Alexandre Oliva <aoliva@redhat.com>
1974
1975 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1976
20196a5e
AO
19772012-09-05 Alexandre Oliva <aoliva@redhat.com>
1978
1979 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1980
5c447383
AO
19812012-09-05 Alexandre Oliva <aoliva@redhat.com>
1982
1983 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1984 change internal state upon failure.
1985
fad64255
AO
19862012-09-05 Alexandre Oliva <aoliva@redhat.com>
1987
1988 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1989 * malloc/memusage.c (mmap): Likewise.
1990 (mmap64, mremap): Likewise. Adjust name in comment.
1991
1ffb8c90
SP
19922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1993
1994 * libio/fileops.c: Fix typos in comments.
1995 * libio/oldfileops.c: Likewise.
1996 * libio/wfileops.c: Likewise.
1997
6ef9cc37
SP
19982012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1999
2000 [BZ #1349]
2001 * malloc/Makefile (tests): Add tst-malloc-usable test case.
2002 (tst-malloc-usable-ENV): Set environment for test case.
2003 * malloc/hooks.c (malloc_check_get_size): New function to get
2004 requested size.
2005 * malloc/malloc.c (musable): Use malloc_check_get_size.
2006 * malloc/tst-malloc-usable.c: New test case.
2007
4d038ae3
AS
20082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2009
2010 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
2011
c4e85184
AM
20122012-09-05 Allan McRae <allan@archlinux.org>
2013
b9dafc56 2014 [BZ #13966]
c4e85184
AM
2015 * configure.in (CXX_SYSINCLUDES): Use compiler output to
2016 determine header location.
2017 * configure: Regenerated.
2018
e1343020
AS
20192012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2020
2021 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2022 float format.
2023 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
2024 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2025 format.
e1343020
AS
2026 (test): Regenerate.
2027
0a9f1987
DM
20282012-09-04 David S. Miller <davem@davemloft.net>
2029
2030 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2031 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2032 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2033
29237804
FW
20342012-09-04 Florian Weimer <fweimer@redhat.com>
2035
2036 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2037 failures.
2038
edb3cb88
FW
2039 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2040
60160d83
JM
20412012-09-04 Joseph Myers <joseph@codesourcery.com>
2042
2043 [BZ #9914]
2044 * libio/iogetdelim.c: Include <limits.h>.
2045 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2046 + len + 1 would overflow.
2047
bcd6c8dc
AJ
20482012-09-03 Andreas Jaeger <aj@suse.de>
2049
2050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2051 * sysdeps/i386/fpu/libm-test-ulps: Update.
2052
4ffffbd2
LD
20532012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2054
2055 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2056 Add s_sinf-sse2, s_conf-sse2.
2057
2058 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2059 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2060 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2061 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2062
2063 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2064 for using routine as __sinf_ia32.
2065 Use macro for function declaration and weak_alias.
2066 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2067 for using routine as __cosf_ia32.
2068 Use macro for function declaration and weak_alias.
2069
2070 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2071 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2072
2073 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2074 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2076
2077 * math/libm-test.inc (cos_test): Add more test cases.
2078 (sin_test): Likewise.
2079 (sincos_test): Likewise.
2080
511fa286
AK
20812012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2082
2083 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2084 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2085 hidden.
2086 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2087
5f30cfec
L
20882012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2089
2090 [BZ #14538]
2091 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2092 first element of the GOT.
2093 (elf_machine_load_address): Return the difference between
2094 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2095
0786794f
AM
20962012-09-01 Allan McRae <allan@archlinux.org>
2097
5f30cfec
L
2098 [BZ #13412]
2099 * configure.in (AWK): Require gawk version 3.0 or later.
2100 * configure: Regenerated.
0786794f 2101
26889eac
JM
21022012-09-01 Joseph Myers <joseph@codesourcery.com>
2103
2104 * sysdeps/unix/sysv/linux/kernel-features.h
2105 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2106 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2107 [__NR_clock_getres]: Make code unconditional.
2108 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2109 (clock_getcpuclockid): Remove code left unreachable by removal of
2110 conditionals.
2111 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2112 code unconditional.
2113 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2114 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2115 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2116 Make code unconditional.
2117 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2118 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2119 * sysdeps/unix/sysv/linux/clock_settime.c
2120 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2121 conditional code.
2122 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2123 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2124
d22e28b0
L
21252012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2126
2127 [BZ #14476]
2128 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2129 scripts/test-installation.pl.
2130
2131 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2132 and $ld_so_version if it is set.
2133
050af9c4
SP
21342012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2135
2136 [BZ #14516]
2137 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2138 failure if reading from procfs failed.
2139 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2140
ad845c0b
JM
21412012-08-27 Joseph Myers <joseph@codesourcery.com>
2142
2143 * sysdeps/unix/sysv/linux/kernel-features.h
2144 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2145 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2146 Remove conditional code.
2147 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2148 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2149 Remove conditional code.
2150 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2151 * sysdeps/unix/sysv/linux/i386/fxstat.c
2152 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2153 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2154 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2155 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2156 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2157 * sysdeps/unix/sysv/linux/i386/lxstat.c
2158 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2159 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2160 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2161 Remove conditional code.
2162 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2163 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2164 Remove conditional code.
2165 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2166 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2167 <kernel-features.h>.
2168 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2169 Remove.
2170 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2171 Remove conditional code.
2172 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2173 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2174 Remove conditional.
2175
5dbf56af
MF
21762012-08-27 Mike Frysinger <vapier@gentoo.org>
2177
2178 [BZ #5400]
2179 * NEWS: Add fixed bug number.
2180
d6e70f43
JM
21812012-08-27 Joseph Myers <joseph@codesourcery.com>
2182
7efb4737
JM
2183 [BZ #14519]
2184 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2185 underflowing exponent in case of negative sign.
2186 * stdlib/tst-strtod-round-data: Add more tests.
2187 * stdlib/tst-strtod-round.c (tests): Regenerated.
2188
af92131a
JM
2189 [BZ #3479]
2190 * stdlib/strtod_l.c (NDIG): Remove.
2191 (HEXNDIG): Likewise.
2192 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2193 smallest representable value.
2194 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2195 lie within an exact representation of 1/2 ulp of the result.
2196 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2197 unconditionally.
2198 (TENS_P9_IDX): Define unconditionally.
2199 (TENS_P9_SIZE): Likewise.
2200 (TENS_P10_IDX): Likewise.
2201 (TENS_P10_SIZE): Likewise.
2202 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2203 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2204 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2205 entries for 10^2^13 and 10^2^14.
2206 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2207 (TENS_P13_IDX): Define.
2208 (TENS_P13_SIZE): Likewise.
2209 (TENS_P14_IDX): Likewise.
2210 (TENS_P14_SIZE): Likewise.
2211 (_fpioconst_pow10): Change array size to
2212 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2213 unconditional.
2214 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2215 1024]: Add entries for 10^2^13 and 10^2^14.
2216 [LAST_POW10 > _LAST_POW10]: Remove #error.
2217 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2218 (_fpioconst_pow10): Change array size to
2219 FPIOCONST_POW10_ARRAY_SIZE.
2220 * stdlib/gen-fpioconst.c: New file.
2221 * stdlib/gen-tst-strtod-round.c: Likewise.
2222 * stdlib/tst-strtod-round-data: Likewise.
2223 * stdlib/tst-strtod-round.c: Likewise.
2224 * stdlib/Makefile (tests): Add tst-strtod-round.
2225
d6e70f43
JM
2226 [BZ #14459]
2227 * stdlib/strtod_l.c: Include <stdint.h>.
2228 (NDEBUG): Do not define.
2229 (round_and_return): Change EXPONENT parameter to type intmax_t.
2230 Rearrange calculations to avoid internal overflow possibilities.
2231 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2232 Rearrange calculations to avoid internal overflow possibilities.
2233 Assert that number fits inside MPNSIZE limbs.
2234 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2235 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2236 calculations and add assertions to avoid internal overflow
2237 possibilities. Add casts to avoid signed/unsigned operations.
2238 * stdlib/tst-strtod-overflow.c: New file.
2239 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2240
1f529f7d
MP
22412012-08-25 Marek Polacek <polacek@redhat.com>
2242
2243 * time/time.h: Fix some typos in comments.
2244
59a629f1
RM
22452012-08-23 Roland McGrath <roland@hack.frob.com>
2246
2247 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2248 * posix/tst-rfc3484-2.c: Likewise.
2249 * posix/tst-rfc3484-3.c: Likewise.
2250
d3bafbc9
SM
22512012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2252
2253 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2254 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2255
4efcc022
JM
22562012-08-23 Joseph Myers <joseph@codesourcery.com>
2257
2258 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2259 #include of fxstatat64.c.
2260
3cc3ef96
RM
22612012-08-22 Roland McGrath <roland@hack.frob.com>
2262
f04e2132
RM
2263 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2264 * shadow/getspent_r.c: Likewise.
2265 * shadow/getspnam.c: Likewise.
2266 * shadow/getspnam_r.c: Likewise.
2267 * gshadow/getsgent.c: Likewise.
2268 * gshadow/getsgent_r.c: Likewise.
2269 * gshadow/getsgnam.c: Likewise.
2270 * gshadow/getsgnam_r.c: Likewise.
2271 * inet/getnetbyad.c: Likewise.
2272 * inet/getnetbyad_r.c: Likewise.
2273 * inet/getnetbynm.c: Likewise.
2274 * inet/getnetbynm_r.c: Likewise.
2275 * inet/getnetent.c: Likewise.
2276 * inet/getnetent_r.c: Likewise.
2277 * inet/getproto.c: Likewise.
2278 * inet/getproto_r.c: Likewise.
2279 * inet/getprtent.c: Likewise.
2280 * inet/getprtent_r.c: Likewise.
2281 * inet/getprtname.c: Likewise.
2282 * inet/getprtname_r.c: Likewise.
2283 * inet/getrpcbyname.c: Likewise.
2284 * inet/getrpcbyname_r.c: Likewise.
2285 * inet/getrpcbynumber.c: Likewise.
2286 * inet/getrpcbynumber_r.c: Likewise.
2287 * inet/getrpcent.c: Likewise.
2288 * inet/getrpcent_r.c: Likewise.
2289 * inet/getaliasent.c: Likewise.
2290 * inet/getaliasent_r.c: Likewise.
2291 * inet/getaliasname.c: Likewise.
2292 * inet/getaliasname_r.c: Likewise.
2293 * nscd/getgrgid_r.c: Likewise.
2294 * nscd/getgrnam_r.c: Likewise.
2295 * nscd/gethstbyad_r.c: Likewise.
2296 * nscd/gethstbynm3_r.c: Likewise.
2297 * nscd/getpwnam_r.c: Likewise.
2298 * nscd/getpwuid_r.c: Likewise.
2299 * nscd/getsrvbynm_r.c: Likewise.
2300 * nscd/getsrvbypt_r.c: Likewise.
2301 * nscd/gai.c: Likewise.
2302
c53d909c
RM
2303 * configure.in (build_nscd): New substituted variable, set
2304 by --disable-build-nscd and defaults to $use_nscd.
2305 * configure: Regenerated.
2306 * config.make.in (build-nscd): New substituted variable.
2307 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2308 Change conditional to require [$(build-nscd) = yes] as well.
2309 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2310
3cc3ef96
RM
2311 [BZ# 13696]
2312 * configure.in (use_nscd): New substituted variable, set by
2313 --disable-nscd. If enabled, define USE_NSCD.
2314 * configure: Regenerated.
2315 * config.h.in: Add USE_NSCD.
2316 * config.make.in (use-nscd): New substituted variable.
2317 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2318 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2319 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2320 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2321 (CFLAGS-getgrnam_r.c): Likewise.
2322 (CFLAGS-initgroups.c): Likewise.
2323 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2324 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2325 Variables removed.
2326 * inet/getnetgrent_r.c
2327 (nscd_setnetgrent): New function, broken out of ...
2328 (setnetgrent): ... here. Call it.
2329 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2330 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2331 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2332 * nscd/Makefile (routines, aux): Move definitions after include of
2333 Makeconfig. Conditionalize on [$(use-nscd) != no].
2334 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2335 Conditionalize on [USE_NSCD].
2336 (is_nscd, nscd_init_cb): Likewise.
2337 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2338 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2339 * nss/nss_db/db-init.c: Likewise.
2340 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2341 [USE_NSCD].
2342 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2343 (make_request): Use it.
2344 (cache_valid_p): New function.
2345 (__check_pf): Use it.
2346 * NEWS: Add item for --disable-nscd.
2347
07e51550
DL
23482012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2349
2350 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2351 to support sed >= 4.2.1-20-ga9bf076.
2352 * configure: Regenerated.
2353
35a5b08b
RM
23542012-08-22 Roland McGrath <roland@hack.frob.com>
2355
2356 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2357 Conditionalize whole body on [IREL].
2358
8479f23a
JL
23592012-08-22 Jeff Law <law@redhat.com>
2360
2361 [BZ #14505]
2362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2363 if the family is PF_UNSPEC.
2364
48da0b21
MF
23652012-08-22 Mike Frysinger <vapier@gentoo.org>
2366
2367 * Makerules (lib-version): Rename from V.
2368 (install-lib-nosubdir): Change V to lib-version.
2369
15d0da8c
WS
23702012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2371
2372 [BZ #14252]
2373 * powerpc32/power6/wcschr.c: New file.
2374 * powerpc32/power6/wcscpy.c: New file.
2375 * powerpc32/power6/wcsrchr.c: New file.
2376 * powerpc64/power6/wcschr.c: New file.
2377 * powerpc64/power6/wcscpy.c: New file.
2378 * powerpc64/power6/wcsrchr.c: New file.
2379
bcca0895
MK
23802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2381
2382 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2383 (two_way_short_needle): Use it.
5a4aaa33
RM
2384 * string/strstr.c (AVAILABLE1_USES_J): Define.
2385 * string/strcasestr.c: Likewise.
99677e57
MK
2386
2387 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2388 array references.
2389 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2390
400726de
MK
2391 [BZ #11607]
2392 * NEWS: Add an entry.
2393 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2394 define their defaults.
2395 (two_way_short_needle): Detect end-of-string on-the-fly.
2396 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2397 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2398 * string/bug-strcasestr1.c: New test.
2399 * string/Makefile: Run it.
2400
20a71f2c
MK
24012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2402
2403 [BZ #11607]
2404 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2405 the first character.
2406
21ad0558
RM
24072012-08-21 Roland McGrath <roland@hack.frob.com>
2408
2409 * csu/elf-init.c (__libc_csu_irel): Function removed.
2410 * csu/libc-start.c (apply_irel): New function.
2411 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2412
0e1d9911
JM
24132012-08-21 Joseph Myers <joseph@codesourcery.com>
2414
2415 * sysdeps/unix/sysv/linux/kernel-features.h
2416 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2417 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2418 <kernel-features.h>.
2419 [__NR_fadvise64_64]: Make code unconditional.
2420 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2421 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2422 !__NR_fadvise64_64)]: Likewise.
2423 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2424 !__NR_fadvise64_64))]: Likewise.
2425 [__NR_fadvise64]: Make code unconditional.
2426 [!__NR_fadvise64]: Remove conditional code.
2427 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2428 <kernel-features.h>.
2429 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2430 unconditional.
2431 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2432 conditional code.
2433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2434 not include <kernel-features.h>.
2435 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2436 unconditional.
2437 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2438 conditional code.
2439 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2440 include <kernel-features.h>.
2441 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2442 unconditional.
2443 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2444 conditional code.
2445
14a50c9d
WS
24462012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2447
2448 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2449 slight instruction rearrangements per scrollpipe analysis.
2450 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2451
c0f4faf0
RM
24522012-08-20 Roland McGrath <roland@hack.frob.com>
2453
696da859
RM
2454 * manual/syslog.texi (syslog; vsyslog, closelog):
2455 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2456 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2457
c0f4faf0
RM
2458 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2459 DSOCAPS to match condition on defining it.
2460
348363b2
JM
24612012-08-20 Joseph Myers <joseph@codesourcery.com>
2462
a35cbf28
JM
2463 * sysdeps/unix/sysv/linux/kernel-features.h
2464 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2466 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2467 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2469 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2470 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2472 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2473 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2474
445f7ecd
JM
2475 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2476 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2477
348363b2
JM
2478 * sysdeps/unix/sysv/linux/kernel-features.h
2479 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2480 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2481 unconditional.
2482 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2483 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2484 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2485 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2486 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2487 Make code unconditional.
2488 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2489 (__mmap64) [!__NR_mmap2]: Likewise.
2490 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2491 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2492 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2493 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2494 [__NR_mmap2]: Make code unconditional.
2495 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2496 (__mmap64) [!__NR_mmap2]: Likewise.
2497
bc5bc0e5
AK
24982012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2499
2500 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2501
88d506de
AJ
25022012-08-18 Andreas Jaeger <aj@suse.de>
2503
2504 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2505
493387d2
MF
25062012-08-18 Mike Frysinger <vapier@gentoo.org>
2507
2508 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2509 * include/unistd.h (__have_sock_cloexec): Likewise.
2510 (__have_pipe2): Likewise.
2511 (__have_dup3): Likewise.
2512
a277af22
MF
25132012-08-18 Mike Frysinger <vapier@gentoo.org>
2514
2515 [BZ #9685]
2516 * include/unistd.h (__have_pipe2): Change define into an extern int.
2517 (__have_dup3): Likewise.
2518 * socket/have_sock_cloexec.c: Include fcntl.h.
2519 (__have_pipe2): New variable.
2520 (__have_dup3): Likewise.
2521
fdab8fd3
MF
25222012-08-17 Mike Frysinger <vapier@gentoo.org>
2523
2524 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2525
31035e80
MP
25262012-08-17 Marek Polacek <polacek@redhat.com>
2527
2528 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2529 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2530
3bd9e993
RM
25312012-08-17 Roland McGrath <roland@hack.frob.com>
2532
c91c505f
RM
2533 * configure.in: Add AC_SUBST for sysheaders.
2534 * configure: Regenerated.
2535 * config.make.in (sysheaders): New substituted variable.
2536
7c6f9d53
RM
2537 * sysdeps/unix/mkfifo.c: Moved ...
2538 * sysdeps/posix/mkfifo.c: ... here.
2539 * sysdeps/unix/mkfifoat.c: Moved ...
2540 * sysdeps/posix/mkfifoat.c: ... here.
2541
2542 * sysdeps/unix/utime.c: Moved ...
2543 * sysdeps/posix/utime.c: ... here.
2544
2545 * sysdeps/unix/time.c: Moved ...
2546 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2547 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2548 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2549
2550 * sysdeps/unix/nice.c: Moved ...
2551 * sysdeps/posix/nice.c: ... here.
2552
2553 * sysdeps/unix/alarm.c: Moved ...
2554 * sysdeps/posix/alarm.c: ... here.
2555
3bd9e993
RM
2556 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2557
d1f09384
JL
25582012-08-17 Jeff Law <law@redhat.com>
2559
2560 * intl/Makefile (codeset_mo): New variable.
2561 ($(codeset_mo)): New target.
2562 (tst-codeset.out): Depend on that. Remove explicit rule.
2563 (tst-gettext3.out, tst-gettext5.out): Likewise.
2564 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2565 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2566 * intl/tst-codeset.sh: Remove.
2567 * intl/tst-gettext3.sh: Likewise.
2568 * intl/tst-gettext5.sh: Likewise.
2569
2ae1ae5c
RM
25702012-08-17 Roland McGrath <roland@hack.frob.com>
2571
c31fdb83
RM
2572 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2573 * sysdeps/unix/syscalls.list: ... here.
2574
a0844057
RM
2575 * sysdeps/posix/getaddrinfo.c
2576 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2577 (gaiconf_init, gaiconf_reload): Use them.
2578 [!_STATBUF_ST_NSEC]
2579 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2580 Define using time_t rather than struct timespec.
2581
750c1f2a
RM
2582 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2583 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2584 Macros removed.
2585 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2586 [!NO_THREADS].
2587 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2588 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2589 Likewise.
2590
2ae1ae5c
RM
2591 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2592 __libc_cleanup_push argument.
2593
e66a42f5
RM
2594 * bits/param.h: New file.
2595 * misc/sys/param.h: New file.
2596 * include/sys/param.h: New file.
2597 * misc/Makefile (headers): Add bits/param.h.
2598 * sysdeps/generic/sys/param.h: File removed.
2599 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2600 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2601 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 2602 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 2603
b7c08a66
RM
2604 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2605 last change.
2606
b2e1c562
RM
2607 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2608 [_IO_MTSAFE_IO].
2609 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2610 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2611 New macros.
2612
c75ccd4c
RM
2613 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2614 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2615 rather than -D_IO_MTSAFE_IO conditionally.
2616 * stdio-common/Makefile (CPPFLAGS): Likewise.
2617 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2618 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2619 Use $(libio-mtsafe).
2620 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2621 of -D_IO_MTSAFE_IO.
2622 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2623 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2624 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2625 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2626 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2627 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2628 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2629 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2630 (CFLAGS-fread_u_chk.c): Likewise.
2631 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2632 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2633 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2634 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2635 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2636 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2637 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2638 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2639 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2640
2641 * libio/Makefile: Test [$(libc-reentrant) = yes]
2642 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2643
2644 * Makeconfig
2645 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2646 * sysdeps/pthread/configure: File removed.
2647 * sysdeps/pthread/Makeconfig: New file.
2648 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2649 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2650
d9195db8
GB
26512012-08-16 Gary Benson <gbenson@redhat.com>
2652
2653 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2654 unmapping the first object in a namespace.
2655
86466cd9
RM
26562012-08-16 Roland McGrath <roland@hack.frob.com>
2657
2658 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2659 (__internal_setnetgrent): ... this. Add internal_function to
2660 definition. Add libc_hidden_def.
2661 (setnetgrent): Update caller.
2662 (internal_endnetgrent): Renamed to ...
2663 (__internal_endnetgrent): ... this. Add internal_function to
2664 definition. Add libc_hidden_def.
2665 (endnetgrent): Update caller.
2666 (internal_getnetgrent_r): Renamed to ...
2667 (__internal_getnetgrent_r): ... this. Add internal_function to
2668 definition. Add libc_hidden_def.
2669 (__getnetgrent_r): Update caller.
2670 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2671
c3c8283c
JM
26722012-08-16 Joseph Myers <joseph@codesourcery.com>
2673
2674 * stdlib/longlong.h: Update from GCC.
2675
db1ee0a8
RM
26762012-08-16 Roland McGrath <roland@hack.frob.com>
2677
2678 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2679 on _QL, which is set by umul_ppmm but never used.
2680 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2681 variables, which are set by GMP macros but never used.
2682 * stdio-common/_itowa.c (_itowa): Likewise.
2683 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2684 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2685
30f69637
CD
26862012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2687
2688 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2689 struct La_sh_regs is not constant.
2690 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2691 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2692 and struct La_sparc64_regs are not constant.
2693
93a78ac4
JM
26942012-08-16 Joseph Myers <joseph@codesourcery.com>
2695
2696 * sysdeps/unix/sysv/linux/kernel-features.h
2697 (__ASSUME_POSIX_TIMERS): Remove.
2698 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2699 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2700 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2701 Make code unconditional.
2702 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2703 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2704 Make code unconditional.
2705 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2706 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2707 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2708 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2709 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2710 Make code unconditional.
2711 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2712 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2713 (__libc_missing_posix_timers): Remove.
2714
dd924cd7
RM
27152012-08-15 Roland McGrath <roland@hack.frob.com>
2716
4b4f2771
RM
2717 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2718 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2719
601c888b
RM
2720 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2721
176790a7
RM
2722 * elf/dl-sym.c: Include <stdlib.h>.
2723
329bc018
RM
2724 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2725 constants, which avoids warnings in 32-bit builds.
2726
e04e272d
RM
2727 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2728 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2729
952bf94a
RM
2730 * misc/lseek.c: File moved to ...
2731 * io/lseek.c: ... here.
2732
7c99b50a
RM
2733 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2734
dd924cd7
RM
2735 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2736 shifting LEN more than 31 bits at once.
2737
b3f479a8
LD
27382012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2739
2740 [BZ #14195]
8c4ae0d4
RM
2741 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2742 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2743 * string/test-strncasecmp.c (check1): Renamed to...
2744 (bz12205): ...this.
2745 (bz14195): Add new testcase for two empty input strings and N > 0.
2746 (test_main): Call new testcase, adapt for renamed function.
2747
9c55864e
AJ
27482012-08-15 Andreas Jaeger <aj@suse.de>
2749
2750 [BZ #14090]
2751 * crypt/md5test2.c: New test, based on test supplied by Serge
2752 Belyshev <belyshev@depni.sinp.msu.ru>.
2753 * crypt/Makefile (xtests): Add md5test-giant..
2754 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2755
02dcb6c5
PE
27562012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2757
2758 [BZ #14090]
2759 * crypt/md5.c (md5_process_block): Don't assume the buffer
2760 length is less than 2**32.
2761 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2762 length is less than 2**64.
2763
a3f95dcc
RM
27642012-08-15 Roland McGrath <roland@hack.frob.com>
2765
be75d758
RM
2766 * string/str-two-way.h: Include <sys/param.h>.
2767 (MAX): Macro removed.
2768
7312ca90
RM
2769 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2770 Move #define and #undef of memmove to just before and after
2771 including <string.h>.
2772
9a0a5486
RM
2773 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2774 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2775 and after including <string.h>. Move declarations of
2776 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2777 to before #include "string/memmove.c".
2778
67cc348d
RM
2779 * include/dirent.h: Declare __getdirentries.
2780
a3f95dcc
RM
2781 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2782 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2783
ca98e171
MF
27842012-08-14 Mike Frysinger <vapier@gentoo.org>
2785
2786 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2787 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2788 * sysdeps/i386/configure: Regenerated.
2789 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2790 STABS_CURRENT_FILE, and STABS_FUN.
2791 (END): Remove call to STABS_FUN_END.
2792 (STABS_CURRENT_FILE1): Delete.
2793 (STABS_CURRENT_FILE): Likewise.
2794 (STABS_FUN): Likewise.
2795 (STABS_FUN_END): Likewise.
2796 (STABS_FUN2): Likewise.
2797 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2798 * sysdeps/x86_64/configure: Regenerated.
2799
5908bf46
RM
28002012-08-14 Roland McGrath <roland@hack.frob.com>
2801
2802 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2803 * elf/dl-lookup.c: Likewise.
5908bf46 2804
f2c05b9e
JM
28052012-08-14 Joseph Myers <joseph@codesourcery.com>
2806
2807 * sysdeps/unix/sysv/linux/kernel-features.h
2808 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2809 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2810 unconditionally.
2811 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2812 unconditionally.
2813 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2814 condition on __ASSUME_CLONE_THREAD_FLAGS.
2815
e11f5155
AJ
28162012-08-14 Andreas Jaeger <aj@suse.de>
2817
2818 * sysdeps/i386/fpu/libm-test-ulps: Update.
2819
51a9ba86
MK
28202012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2821
2fdd4f78
AJ
2822 * include/atomic.h (atomic_exchange_and_add): Split into ...
2823 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2824 New atomic macros.
51a9ba86 2825
ba6cba9e
MT
28262012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2827
2828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2829
42443a47
JL
28302012-08-13 Jeff Law <law@redhat.com>
2831
2832 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2833 null byte in the output string.
2834
121dce05
JM
28352012-08-10 Joseph Myers <joseph@codesourcery.com>
2836
2837 * sysdeps/unix/sysv/linux/kernel-features.h
2838 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2839 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2840 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2841 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2842 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2843 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2844 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2845
bf51f568
JL
28462012-08-09 Jeff Law <law@redhat.com>
2847
2848 [BZ #13939]
2849 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2850 When avoid_arena is set, don't retry in the that arena. Pick the
2851 next one, whatever it might be.
2852 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2853 (arena_lock): Pass in new parameter to arena_get2.
2854 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2855 arena_get2.
2856 (__libc_malloc): Unify retrying after main arena failure with
2857 __libc_memalign version.
2858 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2859
f85fa270
L
28602012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2861
2862 [BZ #14166]
2863 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2864 to __redirect_strstr.
2865 (__strstr_sse42): Use typeof __redirect_strstr.
2866 (__strstr_ia32): Likewise.
2867 (__libc_strstr): New prototype.
2868 (strstr): Renamed to ...
2869 (__libc_strstr): This.
2870 (strstr): New strong alias of __libc_strstr.
2871 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2872 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2873 __redirect_time.
2874 Include <time.h>.
2875 (__libc_time): New prototype.
2876 (time_ifunc): Replace time with __libc_time.
2877 (time): New strong alias and hidden definition of __libc_time.
2878 (__GI_time): Remove strong alias.
2879 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2880 Include <stddef.h>.
2881 (memmove): Redefined to __redirect_memmove.
2882 (__memmove_sse2): Use typeof __redirect_memmove.
2883 (__memmove_ssse3): Likewise.
2884 (__memmove_ssse3_back): Likewise.
2885 (__libc_memmove): New prototype.
2886 (memmove): Renamed to ...
2887 (__libc_memmove): This.
2888 (memmove): New strong alias of __libc_memmove.
2889
33b4a91e
MS
28902012-08-08 Mark Salter <msalter@redhat.com>
2891
2892 * elf/elf.h
2893 (R_MN10300_TLS_GD): Define.
2894 (R_MN10300_TLS_LD): Likewise.
2895 (R_MN10300_TLS_LDO): Likewise.
2896 (R_MN10300_TLS_GOTIE): Likewise.
2897 (R_MN10300_TLS_IE): Likewise.
2898 (R_MN10300_TLS_LE): Likewise.
2899 (R_MN10300_TLS_DTPMOD): Likewise.
2900 (R_MN10300_TLS_DTPOFF): Likewise.
2901 (R_MN10300_TLS_TPOFF): Likewise.
2902 (R_MN10300_SYM_DIFF): Likewise.
2903 (R_MN10300_ALIGN): Likewise.
2904 (R_MN10300_NUM): Update.
2905
b36137f1
JM
29062012-08-08 Joseph Myers <joseph@codesourcery.com>
2907
2908 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2909 Remove.
2910
cdd915fd
RM
29112012-08-08 Roland McGrath <roland@hack.frob.com>
2912
a2433aac
RM
2913 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2914
cdd915fd
RM
2915 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2916 sysdeps/unix -> sysdeps/posix move.
2917 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2918
bf9b740a
AM
29192012-08-07 Allan McRae <allan@archlinux.org>
2920
2921 [BZ #14303]
2922 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2923 (SUNOS_CPP): Likewise.
2924 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2925 not found.
2926 (open_input): Call CPP using execvp.
2927
93df14ee
JM
29282012-08-07 Joseph Myers <joseph@codesourcery.com>
2929
2930 * sysdeps/unix/sysv/linux/kernel-features.h
2931 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2932 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2933 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2934 (__ASSUME_WAITID_SYSCALL): Likewise.
2935 * sysdeps/unix/sysv/linux/dl-execstack.c
2936 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2937 code unconditional.
2938 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2939 conditional code.
2940 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2941 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2942 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2943 code.
2944 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2945 unconditional.
2946 [__ASSUME_WAITID_SYSCALL]: Likewise.
2947 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2948
d34689de
RM
29492012-08-07 Roland McGrath <roland@hack.frob.com>
2950
a281decc
RM
2951 * sysdeps/unix/closedir.c: Renamed to ...
2952 * sysdeps/posix/closedir.c: ... here.
2953 * sysdeps/unix/dirfd.c: Renamed to ...
2954 * sysdeps/posix/dirfd.c: ... here.
2955 * sysdeps/unix/dirstream.h: Renamed to ...
2956 * sysdeps/posix/dirstream.h: ... here.
2957 * sysdeps/unix/fdopendir.c: Renamed to ...
2958 * sysdeps/posix/fdopendir.c: ... here.
2959 * sysdeps/unix/opendir.c: Renamed to ...
2960 * sysdeps/posix/opendir.c: ... here.
2961 * sysdeps/unix/readdir.c: Renamed to ...
2962 * sysdeps/posix/readdir.c: ... here.
2963 * sysdeps/unix/readdir_r.c: Renamed to ...
2964 * sysdeps/posix/readdir_r.c: ... here.
2965 * sysdeps/unix/rewinddir.c: Renamed to ...
2966 * sysdeps/posix/rewinddir.c: ... here.
2967 * sysdeps/unix/seekdir.c: Renamed to ...
2968 * sysdeps/posix/seekdir.c: ... here.
2969 * sysdeps/unix/telldir.c: Renamed to ...
2970 * sysdeps/posix/telldir.c: ... here.
2971 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2972 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2973 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2974 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2975
22895b47
RM
2976 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2977 * bits/fcntl.h: ... here.
2978
707a53b6
RM
2979 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2980 not 0.
2981 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2982 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2983 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2984 (struct flock): Move l_start, l_len to the beginning.
2985 Use __pid_t for l_pid.
2986 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2987 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2988 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2989 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2990 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2991 [__USE_LARGEFILE64] (struct flock64): New type.
2992 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2993
f0bd3e25
RM
2994 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2995 * bits/dirent.h: ... here.
2996
d34689de
RM
2997 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2998 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2999
6dad2c06
JM
30002012-08-07 Joseph Myers <joseph@codesourcery.com>
3001
3002 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3003 Change from 2.6.0 to 2.6.16.
3004 * sysdeps/unix/sysv/linux/configure: Regenerated.
3005 * sysdeps/unix/sysv/linux/kernel-features.h
3006 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
3007 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
3008 version.
3009 (__ASSUME_UTIMES): Likewise.
3010 (__ASSUME_CLONE_STOPPED): Remove.
3011 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
3012 architectures, not kernel version.
3013 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3014 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3015 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3016 (__ASSUME_WAITID_SYSCALL): Likewise.
3017 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3018 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3019 * README: State 2.6.16 as minimum Linux kernel version. Do not
3020 refer to older versions.
3021
03af9520
RM
30222012-08-06 Roland McGrath <roland@hack.frob.com>
3023
8e49df1d
RM
3024 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3025 Define alphasort64 as an alias.
3026 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3027 Define versionsort64 as an alias.
3028 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3029 Define scandir64 as an alias.
3030 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3031 Define scandirat64 as an alias.
3032 * dirent/alphasort64.c (alphasort64):
3033 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3034 * dirent/versionsort64.c: Likewise.
3035 * dirent/scandir64.c: Likewise.
3036 * dirent/scandirat64.c: Likewise.
3037 * sysdeps/wordsize-64/alphasort.c: File removed.
3038 * sysdeps/wordsize-64/alphasort64.c: File removed.
3039 * sysdeps/wordsize-64/scandir.c: File removed.
3040 * sysdeps/wordsize-64/scandir64.c: File removed.
3041 * sysdeps/wordsize-64/scandirat.c: File removed.
3042 * sysdeps/wordsize-64/scandirat64.c: File removed.
3043 * sysdeps/wordsize-64/versionsort.c: File removed.
3044 * sysdeps/wordsize-64/versionsort64.c: File removed.
3045 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3046 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3047 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3048 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3049 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3050 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3051 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3052 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3053
3054 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3055 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3056 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3057 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3058 [defined __arch64__ || defined __sparcv9]
3059 (__INO_T_MATCHES_INO64_T): New macro.
3060 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3061 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3062 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3063 * sysdeps/unix/sysv/linux/bits/dirent.h
3064 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3065 (_DIRENT_MATCHES_DIRENT64): New macro.
3066
03af9520
RM
3067 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3068 Define lockf64 as an alias.
3069 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3070 Define fseeko64 as an alias.
3071 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3072 Define ftello64 as an alias.
3073 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3074 Define _IO_fgetpos64 and fgetpos64 as aliases.
3075 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3076 Define _IO_fsetpos64 and fsetpos64 as aliases.
3077 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3078 Conditionalize body on this.
3079 * libio/fseeko64.c: Likewise.
3080 * libio/ftello64.c: Likewise.
3081 * libio/iofgetpos64.c: Likewise.
3082 * libio/iofsetpos64.c: Likewise.
3083 * sysdeps/wordsize-64/lockf.c: File removed.
3084 * sysdeps/wordsize-64/lockf64.c: File removed.
3085 * sysdeps/wordsize-64/fseeko.c: File removed.
3086 * sysdeps/wordsize-64/fseeko64.c: File removed.
3087 * sysdeps/wordsize-64/ftello.c: File removed.
3088 * sysdeps/wordsize-64/ftello64.c: File removed.
3089 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3090 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3091 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3092 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3093 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3094 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3095 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3096 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3097 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3098 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3099 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3100 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3101 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3102 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3103
3104 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3106 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3107 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3108 [defined __arch64__ || defined __sparcv9]
3109 (__OFF_T_MATCHES_OFF64_T): New macro.
3110 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3111 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3113 (__OFF_T_MATCHES_OFF64_T): New macro.
3114
c5757acd
L
31152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3116
3117 * stdlib/secure-getenv.c (__secure_getenv): Replace
3118 GLIBC_2_16 with GLIBC_2_17.
3119
3a31811e
L
31202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3121
3122 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3123 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3124
faa2bccb
DM
31252012-08-03 David S. Miller <davem@davemloft.net>
3126
3127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3128
85fe1997
JM
31292012-08-03 Joseph Myers <joseph@codesourcery.com>
3130
3131 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3132 Remove.
3133 (__ASSUME_CORRECT_SI_PID): Likewise.
3134 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3135 (__ASSUME_TMPFS_NAME): Likewise.
3136 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3137 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3138 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3139 (HAVE_AUX_SECURE): Make definition unconditional.
3140 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3141 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3142
4f75b7a0
RM
31432012-08-03 Roland McGrath <roland@hack.frob.com>
3144
3145 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3146 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3147 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3148 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3149 __eloop_threshold instead of SYMLOOP_MAX.
3150
3151 * sysdeps/generic/eloop-threshold.h: New file.
3152 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3153 of MAXSYMLINKS.
3154 * elf/chroot_canon.c (chroot_canon): Likewise.
3155
7aab07e4
JM
31562012-08-03 Joseph Myers <joseph@codesourcery.com>
3157
3158 [BZ #13717]
3159 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3160 Change to 2.6.0 everywhere.
3161 * sysdeps/unix/sysv/linux/configure: Regenerated.
3162 * sysdeps/unix/sysv/linux/kernel-features.h
3163 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3164 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3165 kernel versions.
3166 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3167 (__ASSUME_FUTEX_REQUEUE): Remove.
3168 (__ASSUME_STATFS64): Define unconditionally.
3169 (__ASSUME_AT_SECURE): Likewise.
3170 (__ASSUME_CORRECT_SI_PID): Likewise.
3171 (__ASSUME_TGKILL): Define without depending on kernel version for
3172 i386.
3173 (__ASSUME_UTIMES): Likewise.
3174 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3175 kernel version.
3176 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3177 (__ASSUME_TMPFS_NAME): Likewise.
3178 * README: Update reference to Linux kernel versions.
3179
b67e9372
MP
31802012-08-02 Marek Polacek <polacek@redhat.com>
3181
1f529f7d 3182 [BZ# 14150]
b67e9372
MP
3183 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3184 libc_cv_asm_type_prefix with %.
3185 * configure: Regenerated.
d2441631
RM
3186 * include/libc-symbols.h: Remove comment about
3187 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
3188 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3189 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3190 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3191 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3192 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3193 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3194 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3195 * elf/tst-unique2mod1.c: Likewise.
3196 * elf/tst-unique1mod2.c: Likewise.
3197 * elf/tst-unique1mod1.c: Likewise.
3198 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3199 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3200 Replace ASM_TYPE_DIRECTIVE with .type.
3201 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3202 * sysdeps/i386/sysdep.h: Likewise.
3203 * sysdeps/x86_64/sysdep.h: Likewise.
3204 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
3205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3206 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 3207 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
3208 * sysdeps/powerpc/powerpc32/sysdep.h:
3209 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
3210 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3211 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3212 * sysdeps/i386/fpu/e_powf.S: Likewise.
3213 * sysdeps/i386/fpu/e_expl.S: Likewise.
3214 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3215 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3216 * sysdeps/i386/fpu/e_pow.S: Likewise.
3217 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3218 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3219 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3220 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3221 * sysdeps/i386/fpu/e_log2.S: Likewise.
3222 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3223 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3224 * sysdeps/i386/fpu/e_powl.S: Likewise.
3225 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3226 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3227 * sysdeps/i386/fpu/e_logl.S: Likewise.
3228 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3229 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3230 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3231 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3232 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3233 * sysdeps/i386/fpu/e_log.S: Likewise.
3234 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3235 * sysdeps/i386/fpu/e_logf.S: Likewise.
3236 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3237 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3238 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3239 * sysdeps/i386/fpu/e_log10.S: Likewise.
3240 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3241 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3242 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3243 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3244 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3245 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3246 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3247 * sysdeps/i386/i686/strtok.S: Likewise.
3248 * sysdeps/i386/i386-mcount.S: Likewise.
3249 * sysdeps/i386/strtok.S: Likewise.
3250 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3251 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3252 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3253 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3254 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3255 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3256 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3257 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3258 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3259 * sysdeps/x86_64/_mcount.S: Likewise.
3260 * sysdeps/x86_64/strtok.S: Likewise.
3261 * sysdeps/sh/_mcount.S: Likewise.
3262
2747bf9a
RM
32632012-08-01 Roland McGrath <roland@hack.frob.com>
3264
3265 * libio/iofopen.c: Include <fcntl.h>.
3266 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3267 (_IO_fopen64, fopen64): Define as aliases.
3268 * libio/iofopen64.c: Include <fcntl.h>.
3269 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3270 Conditionalize body on this.
3271 * sysdeps/wordsize-64/iofopen.c: File removed.
3272 * sysdeps/wordsize-64/iofopen64.c: File removed.
3273
3fb791b8
MP
32742012-08-01 Marek Polacek <polacek@redhat.com>
3275
3276 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3277 Use dlfcn directly instead of a variable.
3278 (binfmt-subdir): Do not define.
3279 (dlfcn): Likewise.
3280
a9f1039f
JM
32812012-08-01 Joseph Myers <joseph@codesourcery.com>
3282
23bddc06
JM
3283 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3284 Remove all definitions.
3285 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3286 <kernel-features.h>.
3287 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3288 (miss_F_GETOWN_EX): Remove all definitions.
3289 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3290 macro definition.
3291 [!__ASSUME_FCNTL64]: Remove conditional code.
3292 [__ASSUME_FCNTL64]: Make code unconditional.
3293 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3294 <kernel-features.h>.
3295 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3296 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3297 (lockf64) [__NR_fcntl64]: Make code unconditional.
3298 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3299
a9f1039f
JM
3300 * sysdeps/unix/sysv/linux/kernel-features.h
3301 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3302 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3303 Make code unconditional.
3304 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3305 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3307 [__NR_vfork]: Make code unconditional.
3308 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3309 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3311 [__NR_vfork]: Make code unconditional.
3312 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3313 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3314
09c0ee5f
RM
33152012-08-01 Roland McGrath <roland@hack.frob.com>
3316
48aec5b9
RM
3317 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3318 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3319
cd97c966
RM
3320 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3321 Define mkstemp64 as an alias.
3f55550c
RM
3322 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3323 Define mkstemps64 as an alias.
cd97c966
RM
3324 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3325 Define mkostemp64 as an alias.
b8625cfc
RM
3326 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3327 Define mkostemps64 as an alias.
cd97c966
RM
3328 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3329 Conditionalize body on this.
3330 * misc/mkostemp64.c: Likewise.
b8625cfc 3331 * misc/mkostemps64.c: Likewise.
3f55550c 3332 * misc/mkstemps64.c: Likewise.
cd97c966
RM
3333 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3334 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3335 * sysdeps/wordsize-64/mkostemp.c: File removed.
3336 * sysdeps/wordsize-64/mkstemp.c: File removed.
3337 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3338 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3339 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3340 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3341
09c0ee5f
RM
3342 [BZ #14138]
3343 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3344 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3345 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3346 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3347
3348 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3349 compat_symbol macros from <shlib-compat.h> rather than the underlying
3350 default_symbol_version and symbol_version macros, so that DEFAULT
3351 lines in shlib-versions are respected.
3352 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3353
7e66ee51
FW
33542012-08-01 Florian Weimer <fweimer@redhat.com>
3355
3356 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3357 Declare with warn_unused_result.
3358 (setgid, setregid, setegid, setresgid): Likewise.
3359 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3360 Likewise.
3361 * WUR-REPORT: Remove set*id functions.
3362
d2a54255
PT
33632012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3364
3365 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3366
7ecdb005
RM
33672012-07-31 Roland McGrath <roland@hack.frob.com>
3368
789bd351
RM
3369 * include/sys/socket.h (__libc_accept, __libc_accept4):
3370 Add attribute_hidden.
3371 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3372
40ce302d
RM
3373 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3374 use of PTR_MANGLE.
3375 * inet/getnetgrent_r.c (setup): Likewise.
3376
7ecdb005
RM
3377 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3378
e2eabb2c
DM
33792012-07-31 David S. Miller <davem@davemloft.net>
3380
3381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3382
d0419dbf
JM
33832012-07-31 Joseph Myers <joseph@codesourcery.com>
3384
3385 [BZ #13629]
3386 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3387 value between 1.0 and 2.0 and smaller part has absolute value less
3388 than 1.0.
3389 * math/s_clog10.c (__clog10): Likewise.
3390 * math/s_clog10f.c (__clog10f): Likewise.
3391 * math/s_clog10l.c (__clog10l): Likewise.
3392 * math/s_clogf.c (__clogf): Likewise.
3393 * math/s_clogl.c (__clogl): Likewise.
3394 * math/libm-test.inc (clog_test): Add more tests.
3395 (clog10_test): Likewise.
3396 * sysdeps/i386/fpu/libm-test-ulps: Update.
3397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3398
2bc13872
FW
33992012-07-31 Florian Weimer <fweimer@redhat.com>
3400
3401 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3402 Exit with zero in case no suitable GID is found, and write a
3403 message to standard error.
3404
bea9b193
RM
34052012-07-30 Roland McGrath <roland@hack.frob.com>
3406
3407 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3408 rather than to 1.
3409 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3410 (MAXPATHLEN): Removed.
3411 (NOGROUP, NODEV): New macros.
3412 (setbit, clrbit, isset, isclr): New macros.
3413 (howmany, roundup, powerof2): New macros.
3414 (DEV_BSIZE): New macro.
3415
3416 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3417 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3418
3419 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3420 definition on [!__NO_LONG_DOUBLE_MATH].
3421
3422 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3423 PTR_MANGLE and PTR_DEMANGLE.
3424
3425 * socket/accept4.c (accept4): Rename to __libc_accept4.
3426 Define accept4 as a weak alias.
3427
3428 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3429 on [_DIRENT_HAVE_D_TYPE].
3430 * io/ftw.c (ftw_dir): Likewise.
3431
3432 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3433
3434 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3435
3436 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3437 Use the BSD numbers rather than the arbitrary ones we had.
3438 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3439 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3440 (SIGXCPU, SIGXFSZ): New macros.
3441 (_NSIG): Now 32.
3442
3443 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3444 initializer on [_LIBC_REENTRANT].
3445
3446 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3447 definitions inside [_POSIX_MAPPED_FILES].
3448
3449 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3450
3451 * dirent/opendir.c: Include <fcntl.h>.
3452
3453 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3454 (__libc_getspecific): Likewise.
3455 (__libc_key_create): Likewise.
3456
3457 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3458 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3459 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3460 (tmpfile64): Define as alias.
3461 * sysdeps/wordsize-64/tmpfile.c: File removed.
3462 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3463 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3464 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3465
3466 * stdio-common/vfscanf.c: Include <stdbool.h>.
3467 * nss/makedb.c: Likewise.
3468 * stdio-common/_i18n_number.h: Likewise.
3469 * argp/argp-help.c: Likewise.
3470 * posix/wordexp.c: Likewise.
3471 * sysdeps/posix/spawni.c: Likewise.
3472 * nss/nss_files/files-initgroups.c: Likewise.
3473 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3474 * nss/nss_files/files-initgroups.c: Likewise.
3475 * nss/nss_db/db-netgrp.c: Likewise.
3476 * nss/nss_db/db-initgroups.c: Likewise.
3477 * io/fchmodat.c: Include <sys/stat.h>.
3478
3479 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3480 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3481
3482 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3483 [HAVE_MMAP].
3484
3485 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3486 Add multiple inclusion protection.
3487
e5abc686
DM
34882012-07-27 David S. Miller <davem@davemloft.net>
3489
3490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3491
815e6fa3
GB
34922012-07-27 Gary Benson <gbenson@redhat.com>
3493
3494 [BZ #14298]
3495 * elf/rtld.c: Include <stap-probe.h>.
3496 (dl_main): Added static probes "init_start" and "init_complete".
3497 * elf/dl-load.c: Include <stap-probe.h>.
3498 (lose): Take new parameter "nsid".
3499 Added static probe "map_failed".
3500 (_dl_map_object_from_fd): Pass namespace id to lose.
3501 Added static probe "map_start".
3502 (open_verify): Pass namespace id to lose.
3503 * elf/dl-open.c: Include <stap-probe.h>.
3504 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3505 and "reloc_complete".
3506 * elf/dl-close.c: Include <stap-probe.h>.
3507 (_dl_close_worker): Added static probes "unmap_start" and
3508 "unmap_complete".
3509 * elf/rtld-debugger-interface.txt: New file documenting the above.
3510
9f98c16c
RM
35112012-07-26 Roland McGrath <roland@hack.frob.com>
3512
3513 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3514 rather than a string variable.
3515 * sunrpc/rpc_main.c (h_output): Likewise.
3516 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3517
f3c22df3
PT
35182012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3519
3520 * inet/check_native.c: New file.
3521
3129cfc6
JM
35222012-07-26 Joseph Myers <joseph@codesourcery.com>
3523
da865e95
JM
3524 [BZ #13629]
3525 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3526 if larger part has absolute value 1.0.
3527 * math/s_clog10.c (__clog10): Likewise.
3528 * math/s_clog10f.c (__clog10f): Likewise.
3529 * math/s_clog10l.c (__clog10l): Likewise.
3530 * math/s_clogf.c (__clogf): Likewise.
3531 * math/s_clogl.c (__clogl): Likewise.
3532 * math/libm-test.inc (clog_test): Add more tests.
3533 (clog10_test): Likewise.
3534 * sysdeps/i386/fpu/libm-test-ulps: Update.
3535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3536
3129cfc6
JM
3537 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3538 (pltexit): Likewise.
3539 (La_regs): Likewise.
3540 (La_retval): Likewise.
3541 (int_retval): Likewise.
3542 Update #error for removed macros to refer only to definitions in
3543 tst-audit.h.
3544 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3545 macro.
3546 (pltexit): Likewise.
3547 (La_regs): Likewise.
3548 (La_retval): Likewise.
3549 (int_retval): Likewise.
3550 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3551 macro.
3552 (pltexit): Likewise.
3553 (La_regs): Likewise.
3554 (La_retval): Likewise.
3555 (int_retval): Likewise.
3556 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3557 macro.
3558 (pltexit): Likewise.
3559 (La_regs): Likewise.
3560 (La_retval): Likewise.
3561 (int_retval): Likewise.
3562 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3563 macro.
3564 (pltexit): Likewise.
3565 (La_regs): Likewise.
3566 (La_retval): Likewise.
3567 (int_retval): Likewise.
3568 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3569 macro.
3570 (pltexit): Likewise.
3571 (La_regs): Likewise.
3572 (La_retval): Likewise.
3573 (int_retval): Likewise.
3574 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3575 macro.
3576 (pltexit): Likewise.
3577 (La_regs): Likewise.
3578 (La_retval): Likewise.
3579 (int_retval): Likewise.
3580 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3581 macro definitions in tst-audit.h.
3582 * sysdeps/i386/tst-audit.h: New file.
3583 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3584 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3585 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3586 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3587 * sysdeps/sh/tst-audit.h: Likewise.
3588 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3589 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3590 * sysdeps/x86_64/tst-audit.h: Likewise.
3591
bfc07087
AJ
35922012-07-26 Andreas Jaeger <aj@suse.de>
3593
b1b2aaf8
AJ
3594 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3595 ptrace.
3596
3597 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3598 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3599 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3600 PTRACE_O_MASK.
3601 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3602 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3603 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3604
bfc07087
AJ
3605 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3606 value.
3607
3608 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3609 _sigsys.
3610 (si_call_addr, si_syscall, si_arch): Define new macro.
3611 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3612 _sigsys.
3613 (si_call_addr, si_syscall, si_arch): Define new marcro.
3614 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3615 _sigsys.
3616 (si_call_addr, si_syscall, si_arch): Define new macro.
3617 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3618 _sigsys.
3619 (si_call_addr, si_syscall, si_arch): Define new macro.
3620
89b4b02f
JM
36212012-07-25 Joseph Myers <joseph@codesourcery.com>
3622
3623 [BZ #13717]
3624 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3625 Change to 2.4.21 where previously 2.4.1.
3626 * sysdeps/unix/sysv/linux/configure: Regenerated.
3627 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3628 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3629 Linux kernel version.
3630 (__ASSUME_STD_AUXV): Remove.
3631 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3632 kernel version.
3633 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3634 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3635 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3636 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3637 (__ASSUME_NETLINK_SUPPORT): Likewise.
3638 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3639 (__no_netlink_support): Remove conditional definition.
3640 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3641 Remove.
3642 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3643 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3644 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3645 (if_nameindex_ioctl): Remove.
3646 (if_nameindex_netlink): Do not handle __no_netlink_support.
3647 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3648 code.
3649 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3650 Remove conditional code.
3651 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3652 code.
3653 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3654 unconditional.
3655 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3656 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3657 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3658 Remove.
3659 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3660 [!__ASSUME_STD_AUXV]: Remove conditional code.
3661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3662 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3663 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3665 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3666 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3667 code.
3668 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3670 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3671 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3672 conditional code.
3673 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3675 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3676 code.
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3678 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3679 conditional code.
3680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3681 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3682 code unconditional.
3683 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3684 conditional code.
3685 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3686 unconditional.
3687 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3688 conditional code.
3689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3690 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3691 unconditional.
3692 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3693 conditional code.
3694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3695 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3696 code unconditional.
3697 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3698 conditional code.
3699 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3700 unconditional.
3701 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3702 conditional code.
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3704 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3705 code unconditional.
3706 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3707 conditional code.
3708 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3709 unconditional.
3710 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3711 conditional code.
3712
842a39cd
AS
37132012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3714
3715 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3716 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3717 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3718 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3719 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3720 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3721 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3722 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3723 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3724 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3725 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3726 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3727 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3728 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3729 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3730 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3731 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3732 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3733 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3735 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3736 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3737 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3738
84b3fd84
FW
37392012-07-25 Florian Weimer <fweimer@redhat.com>
3740
3741 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3742 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3743 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3744 Introduce __libc_secure_getenv.
0c7936d5
FW
3745 * stdlib/Versions (2.17): Add secure_getenv
3746 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3747 * stdlib/secure-getenv.c: Rename __secure_getenv to
3748 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3749 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3750 * stdlib/tst-secure-getenv.c: New.
3751 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3752 * manual/startup.texi (Environment Access): Document
3753 secure_getenv.
84b3fd84
FW
3754 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3755 __libc_secure_getenv.
3756 * inet/ruserpass.c (ruserpass): Likewise.
3757 * malloc/mtrace.c (mtrace): Likewise.
3758 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3759 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3760 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3761 * sysdeps/posix/tempname.c: Likewise. Evaluate
3762 HAVE_SECURE_GETENV.
3763 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3764 __secure_getenv to __libc_secure_getenv.
84b3fd84 3765 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3767 Likewise.
3768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3769 Likewise.
3770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3772 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3777
56e49b71
JM
37782012-07-25 Joseph Myers <joseph@codesourcery.com>
3779
3780 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3781 (struct La_i86_retval): Likewise.
3782 (struct La_x86_64_regs): Likewise.
3783 (struct La_x86_64_retval): Likewise.
3784 (struct La_x32_regs): Likewise.
3785 (struct La_x32_retval): Likewise.
3786 (struct La_ppc32_regs): Likewise.
3787 (struct La_ppc32_retval): Likewise.
3788 (struct La_ppc64_regs): Likewise.
3789 (struct La_ppc64_retval): Likewise.
3790 (struct La_sh_regs): Likewise.
3791 (struct La_sh_retval): Likewise.
3792 (struct La_s390_32_regs): Likewise.
3793 (struct La_s390_32_retval): Likewise.
3794 (struct La_s390_64_regs): Likewise.
3795 (struct La_s390_64_retval): Likewise.
3796 (struct La_sparc32_regs): Likewise.
3797 (struct La_sparc32_retval): Likewise.
3798 (struct La_sparc64_regs): Likewise.
3799 (struct La_sparc64_retval): Likewise.
3800 (struct audit_ifaces): Remove architecture-specific pltenter and
3801 pltexit members.
3802 * sysdeps/i386/ldsodefs.h: New file.
3803 * sysdeps/powerpc/ldsodefs.h: Likewise.
3804 * sysdeps/s390/ldsodefs.h: Likewise.
3805 * sysdeps/sh/ldsodefs.h: Likewise.
3806 * sysdeps/sparc/ldsodefs.h: Likewise.
3807 * sysdeps/x86_64/ldsodefs.h: Likewise.
3808
354691b7
MP
38092012-07-25 Marek Polacek <polacek@redhat.com>
3810
3811 [BZ #6808]
3812 * math/libm-test.inc (yn_test): Add another test.
3813 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3814 to ERANGE when the result is +-Inf.
3815 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3816 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3817 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3818 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3819
bf9e2071
JM
38202012-07-24 Joseph Myers <joseph@codesourcery.com>
3821
3822 * conform/data/time.h-data (NULL): Use macro-constant. Require
3823 equal to 0.
3824 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3825 clock_t.
3826 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3827
57633811
TS
38282012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3829
3830 * configure.in <sysdeps resolving>: Correct printing
3831 Implies_before.
3832 * configure: Regenerate.
3833
c23c33b0
TS
38342012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3835
3836 * math/w_ilogb.c: Include <limits.h>.
3837 * math/w_ilogbl.c: Likewise.
3838
b5982523
JM
38392012-07-20 Joseph Myers <joseph@codesourcery.com>
3840
3841 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3842 va_copy. Document allowing for unavailable va_copy only as
3843 pre-C99 compatibility.
3844 * manual/string.texi (Copying and Concatenation): Use va_copy
3845 instead of __va_copy in concat example.
3846
ac4ea442
PT
38472012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3848
3849 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3850 (__sendto): Use create_address_port. Initialize APORT and deallocate
3851 it if not null.
3852
f98eafbd
PT
3853 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3854 with O_NOLINK passed to __file_name_lookup.
3855
898c7aab
PT
3856 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3857 with O_NOLINK passed to __file_name_lookup.
3858
0ced335a
PT
3859 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3860 negative N or less than NGIDS.
3861
b3404dbd
PT
3862 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3863 type to string_t. Set ERANGE as errno and return it if NAME is not big
3864 enough. Use memcpy instead of strncpy.
3865
0f48659e
JM
38662012-07-20 Joseph Myers <joseph@codesourcery.com>
3867
3868 * elf/Makefile (check-data): Remove.
3869 (localplt.data): New vpath directive.
3870 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3871 instead of $(check-data).
3872 * scripts/data/localplt-generic.data: Move to ...
3873 * sysdeps/generic/localplt.data: ... here.
3874 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3875 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3876 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3878 ... here.
3879 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3881 ... here.
3882 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3884 ... here.
3885 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3887 ... here.
3888 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3890 ... here.
3891 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3893 ... here.
3894
d37cbdaa
AZ
38952012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3896
3897 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3898 PPC32 and PPC64 files.
3899 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3900 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3901
46f85fc2
AK
39022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3903
3904 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3905 __makecontext_ret to ...
3906 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3907 ... here and call exit if uc_link is NULL. New file.
3908 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3909 __makecontext_ret.S.
3910 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3911 __makecontext_ret to ...
3912 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3913 ... here and call exit if uc_link is NULL. New file.
3914 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3915 __makecontext_ret.S.
3916
08f43f9b
AK
39172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3918
3919 * elf/elf.h (R_390_IRELATIVE): New definition.
3920 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3921 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3922 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3923 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3924 (elf_machine_lazy_rel): Likewise.
3925 * sysdeps/s390/dl-irel.h: New file.
3926 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3927 * sysdeps/s390/s390-64/memset.S: New asm code.
3928 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3929 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3930 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3931 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3932 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3933 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3934 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3935 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3936 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3937 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3938 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3939 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3940 * sysdeps/s390/s390-32/memset.S: New asm code.
3941 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3942
3b05db33
MP
39432012-07-17 Marek Polacek <polacek@redhat.com>
3944
3945 [BZ #14349]
3946 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3947 * sysdeps/s390/s390-64/configure.in: Likewise.
3948 * sysdeps/sparc/configure.in: Likewise.
3949 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3950 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3951 * sysdeps/i386/configure.in: Likewise.
3952 * sysdeps/x86_64/configure.in: Likewise.
3953 * sysdeps/sh/configure.in: Likewise.
3954 * sysdeps/s390/s390-32/configure: Regenerated.
3955 * sysdeps/s390/s390-64/configure: Likewise.
3956 * sysdeps/x86_64/configure: Likewise.
3957 * sysdeps/sh/configure: Likewise.
3958 * sysdeps/powerpc/powerpc64/configure: Likewise.
3959 * sysdeps/powerpc/powerpc32/configure: Likewise.
3960 * sysdeps/sparc/configure: Likwise.
3961 * sysdeps/i386/configure: Likewise.
3962
a66877c6
MP
3963 * elf/dl-open.c: Comment fixes.
3964
cfc82fd8
JM
39652012-07-17 Joseph Myers <joseph@codesourcery.com>
3966
bd29910a
JM
3967 * Makefile [CXX] (check-data): Remove.
3968 [CXX] (c++-types.data): New vpath directive.
3969 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3970 vpath. Do not allow for C++ type data being missing.
3971 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3972 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3973 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3974 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3975 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3976 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3977 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3979 ... here.
3980 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3982 ... here.
3983 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3985 ... here.
3986 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3988 ... here.
3989 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3991 ... here.
3992 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3994 ... here.
3995 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3997 ... here.
3998 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
4000
cfc82fd8
JM
4001 * elf/tls-macros.h (TLS_LE): Move architecture-specific
4002 definitions to architecture-specific files.
4003 (TLS_IE): Likewise.
4004 (TLS_LD): Likewise.
4005 (TLS_GD): Likewise.
4006 * sysdeps/i386/tls-macros.h: New file.
4007 * sysdeps/powerpc/tls-macros.h: Likewise.
4008 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4009 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4010 * sysdeps/sh/tls-macros.h: Likewise.
4011 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
4012 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4013 * sysdeps/x86_64/tls-macros.h: Likewise.
4014
f7db3170
TS
40152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4016
07cbfc23
TS
4017 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4018 zero value for regular exit case.
4019
f7db3170
TS
4020 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4021 (__start_context): Preserve zero value for regular exit case.
4022
dc97c227
TS
40232012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4024 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4025
4026 * manual/setjmp.texi (setcontext): Clarify normal process
4027 termination when uc_link is the null pointer.
4028 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4029 exit call.
4030
d0cd7d02
AS
40312012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4032
4033 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4034 preprocessor. Test for each exception mask separately.
4035
dd318934
AJ
40362012-07-16 Andreas Jaeger <aj@suse.de>
4037
4038 * po/ru.po: Update from translation team.
4039
8048311a
JM
40402012-07-15 Joseph Myers <joseph@codesourcery.com>
4041
4042 * conform/data/string.h-data (NULL): Use macro-constant. Require
4043 equal to 0.
4044 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4045 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4046 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4047 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4048 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4049
b637d46e
AJ
40502012-07-13 Andreas Jaeger <aj@suse.de>
4051
4052 * po/fr.po: Update from translation team.
4053
541428fe
MP
40542012-07-12 Marek Polacek <polacek@redhat.com>
4055
4056 [BZ #14173]
4057 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4058 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4059 loop condition.
4060
ec332e94
JM
40612012-07-12 Joseph Myers <joseph@codesourcery.com>
4062
4063 [BZ #13717]
4064 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4065 Change to 2.4.1 where previously 2.4.0.
4066 * sysdeps/unix/sysv/linux/configure: Regenerated.
4067 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4068 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4069 version.
4070 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4071 (__ASSUME_AT_CLKTCK): Remove.
4072 (__ASSUME_AT_PAGESIZE): Likewise.
4073 (__ASSUME_AT_XID): Likewise.
4074 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4075 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4076 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4077 unconditionally.
4078 (HAVE_AUX_PAGESIZE): Likewise.
4079 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4080 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4081 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4082
7b6e99be
JB
40832012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4084
4085 [BZ #14307]
4086 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4087 the temporary buffer used to invoke __gethostbyname2_r,
4088 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4089 host_data / struct gaih_addrtuple.
4090 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4091 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4092 header file nss/nsswitch.h.
4093 * nss/nsswitch.h (global scope): Add definition of implementation
4094 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4095 resolv/nss_dns/dns-host.c).
4096
608404eb
AJ
40972012-07-11 Andreas Jaeger <aj@suse.de>
4098
4099 * po/fr.po: Update from translation team.
4100
71220aca
AJ
4101 * po/sv.po: Update from translation team
4102 * po/fr.po: Another update from translation team.
4103
28cfe843
AZ
41042012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4105
4106 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4107 for subnormals or multiply small sinh result by itself.
4108 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4110
6b90f981
DM
41112012-07-11 David S. Miller <davem@davemloft.net>
4112
4113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4114
c6825772
AS
41152012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4116
4117 [BZ #14347]
4118 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4119 (INTERNAL_MARK): Shift it here.
4120
7b8e0d49
MP
41212012-07-10 Marek Polacek <polacek@redhat.com>
4122
4123 [BZ #14151]
4124 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4125 libc_cv_asm_global_directive with .globl.
4126 * configure: Regenerated.
4127 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4128 with .globl.
4129 * sysdeps/i386/configure: Regenerated.
4130 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4131 with .globl.
4132 * sysdeps/x86_64/configure: Regenerated.
4133 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4134 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4135 * elf/tst-unique2mod2.c: Likewise.
4136 * elf/tst-unique2mod1.c: Likewise.
4137 * elf/tst-unique1mod2.c: Likewise.
4138 * elf/tst-unique1mod1.c: Likewise.
4139 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4140 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4141 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4142 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4143 * sysdeps/mach/sysdep.h: Likewise.
4144 * sysdeps/i386/sysdep.h: Likewise.
4145 * sysdeps/i386/i386-mcount.S: Likewise.
4146 * sysdeps/x86_64/_mcount.S: Likewise.
4147 * sysdeps/x86_64/sysdep.h: Likewise.
4148 * sysdeps/sh/_mcount.S: Likewise.
4149 * sysdeps/sh/sysdep.h: Likewise.
4150 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4151 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4152 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4153 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4154 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4155 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4156 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4157 * locale/localeinfo.h: Likewise.
4158 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4159 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4160
6c55cda3
RM
41612012-07-09 Roland McGrath <roland@hack.frob.com>
4162
4163 [BZ #14336]
4164 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4165 system".
4166 * manual/message.texi (The Uniforum approach): Likewise.
4167 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4168 (glibc iconv Implementation): Likewise.
4169
638a572e
JM
41702012-07-09 Joseph Myers <joseph@codesourcery.com>
4171
4172 [BZ #14337]
4173 * math/s_clog.c (__clog): Avoid scaling a value down where that
4174 could result in underflow.
4175 * math/s_clog10.c (__clog10): Likewise.
4176 * math/s_clog10f.c (__clog10f): Likewise.
4177 * math/s_clog10l.c (__clog10l): Likewise.
4178 * math/s_clogf.c (__clogf): Likewise.
4179 * math/s_clogl.c (__clogl): Likewise.
4180 * math/libm-test.inc (clog_test): Add more tests.
4181 (clog10_test): Likewise.
4182 * sysdeps/i386/fpu/libm-test-ulps: Update.
4183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4184
261f4859
AS
41852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4186
0abaf3e4
AS
4187 [BZ #14283]
4188 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4189 by 7 not 8 to examine high bit of fractional part.
4190
261f4859
AS
4191 [BZ #14042]
4192 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4193 for call to __mcount_internal.
4194 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4195 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4196 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4197
f17ac40d
JM
41982012-07-06 Joseph Myers <joseph@codesourcery.com>
4199
9ad63c23
JM
4200 [BZ #14154]
4201 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4202 approximation for values within 0x1p-13f of an odd multiple of
4203 pi/4.
4204 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4205 exception. Add more tests.
4206 * sysdeps/i386/fpu/libm-test-ulps: Update.
4207
f17ac40d
JM
4208 [BZ #6778]
4209 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4210 inputs and return -1 for them. Do not check for +Inf in case not
4211 reachable for +Inf.
4212 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4213 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4214 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4215 and return -1 for them. Do not check for +Inf in case not
4216 reachable for +Inf.
4217 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4218 define.
4219 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4220 and return -1 for them. Do not check for +Inf in case not
4221 reachable for +Inf.
4222 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4223 spurious underflow.
4224 * sysdeps/i386/fpu/libm-test-ulps: Update.
4225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4226
fb21f89b
MF
42272012-07-06 Mike Frysinger <vapier@gentoo.org>
4228
4229 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4230
cdfe2c5e
JM
42312012-07-05 Joseph Myers <joseph@codesourcery.com>
4232
4233 [BZ #14157]
4234 [BZ #14331]
4235 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4236 could result in spurious underflow. Scale down values above
4237 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4238 * math/s_csqrtf.c (__csqrtf): Likewise.
4239 * math/s_csqrtl.c (__csqrtl): Likewise.
4240 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4241 spurious underflow.
4242 * sysdeps/i386/fpu/libm-test-ulps: Update.
4243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4244
70d35b67
AS
42452012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4246
704bc459
AS
4247 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4248 xopen-msg.sed.
4249 * catgets/xopen-msg.awk: New file.
4250 * catgets/xopen-msg.sed: Removed.
4251
70d35b67
AS
4252 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4253 po2text.sed.
4254 * intl/po2test.awk: New file.
4255 * intl/po2test.sed: Removed.
4256
ca61cf32
JM
42572012-07-04 Joseph Myers <joseph@codesourcery.com>
4258
4259 [BZ #14328]
4260 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4261 or multiply small sinh result by itself.
4262 * math/s_ctanf.c (__ctanf): Likewise.
4263 * math/s_ctanh.c (__ctanh): Likewise.
4264 * math/s_ctanhf.c (__ctanhf): Likewise.
4265 * math/s_ctanhl.c (__ctanhl): Likewise.
4266 * math/s_ctanl.c (__ctanl): Likewise.
4267 * math/libm-test.inc (ctan_test_tonearest): New function.
4268 (ctan_test_towardzero): Likewise.
4269 (ctan_test_downward): Likewise.
4270 (ctan_test_upward): Likewise.
4271 (ctanh_test_tonearest): Likewise.
4272 (ctanh_test_towardzero): Likewise.
4273 (ctanh_test_downward): Likewise.
4274 (ctanh_test_upward): Likewise.
4275 (main): Call these new functions.
4276 * sysdeps/i386/fpu/libm-test-ulps: Update.
4277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4278
ca48a46a
MF
42792012-07-03 Mike Frysinger <vapier@gentoo.org>
4280
4281 * .gitignore: Delete /ports entry.
4282
9d63d37d
AJ
42832012-07-03 Andreas Jaeger <aj@suse.de>
4284
4285 * po/bg.po: Update from translation team.
4286 * po/cs.po: Likewise.
4287 * po/de.po: Likewise.
4288 * po/hr.po: Likewise.
4289 * po/nl.pl: Likewise.
4290 * po/pl.po: Likewise.
4291 * po/vi.po: Likewise.
4292
370ca3d2
JM
42932012-07-03 Joseph Myers <joseph@codesourcery.com>
4294
95f5a9a8
JM
4295 * Makeconfig [!+link] (+link-before-libc): New variable.
4296 [!+link] (+link-after-libc): Likewise.
4297 [!+link] (+link-tests): Likewise.
4298 [!+link] (+link): Define in terms of $(+link-before-libc) and
4299 $(+link-after-libc).
4300 [!+link-static] (+link-static-before-libc): New variable.
4301 [!+link-static] (+link-static-after-libc): Likewise.
4302 [!+link-static] (+link-static-tests): Likewise.
4303 [!+link-static] (+link-static): Define in terms of
4304 $(+link-static-before-libc) and $(+link-static-after-libc).
4305 [build-shared] (link-libc-before-gnulib): New variable.
4306 [build-shared] (link-libc-tests): Likewise.
4307 [build-shared] (link-libc): Define in terms of
4308 $(link-libc-before-gnulib).
4309 [!build-shared] (link-libc-tests): New variable.
4310 (link-libc-static-tests): New variable.
4311 [!gnulib] (gnulib-arch): New variable.
4312 [!gnulib] (gnulib-tests): Likewise.
4313 [!gnulib] (static-gnulib-arch): Likewise.
4314 [!gnulib] (static-gnulib-tests): Likewise.
4315 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4316 Define with "=" instead of ":=".
4317 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4318 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4319 * Rules (binaries-all-notests): New variable.
4320 (binaries-all-tests): Likewise.
4321 (binaries-static-notests): Likewise.
4322 (binaries-static-tests): Likewise.
4323 (binaries-all): Define using $(binaries-all-notests) and
4324 $(binaries-all-tests).
4325 (binaries-static): Define using $(binaries-static-notests) and
4326 $(binaries-static-tests).
4327 (binaries-shared-tests): New variable.
4328 (binaries-shared-notests): Likewise.
4329 (binaries-shared): Remove variable.
4330 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4331 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4332 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4333 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4334 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4335 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4336 * elf/Makefile (sln-modules): New variable.
4337 (extra-objs): Add $(sln-modules:=.o).
4338 (ldconfig-modules): Add static-stubs.
4339 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4340 * elf/static-stubs.c: New file.
4341
7a845b2c
JM
4342 [BZ #14283]
4343 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4344 by 7 not 8 to examine high bit of fractional part. Use volatile
4345 variables when splitting into final array of floats if
4346 __FLT_EVAL_METHOD__ != 0.
4347 * math/libm-test.inc (cos_test): Add another test.
4348 (sin_test): Likewise.
4349 * sysdeps/i386/fpu/libm-test-ulps: Update.
4350
e2283f38
JM
4351 [BZ #14273]
4352 * math/libm-test.inc (cosh_test): Add more tests.
4353
370ca3d2
JM
4354 * version.h (RELEASE): Set to "development".
4355 (VERSION): Set to "2.16.90".
4356
ee9247c3
CD
43572012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4358
4359 * NEWS: Update copyright. Remove last-updated date.
4360 Mention math library bug fixes and timezone data changes.
4361 * README: Mention GNU/Hurd, x32, and HPPA support status.
4362
4648c381
TS
43632012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4364
4365 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4366
aac78a43
AJ
43672012-06-27 Andreas Jaeger <aj@suse.de>
4368
4369 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4370
ed3dbfad
AJ
43712012-06-25 Andreas Jaeger <aj@suse.de>
4372
4373 * sysdeps/s390/fpu/libm-test-ulps: Update.
4374
4d0ee855
AS
43752012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4376 Thomas Schwinge <thomas@codesourcery.com>
4377
4378 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4379 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4381 fanotify_mark.
4382
af1bce34
TS
43832012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4384
a9fa33ba
TS
4385 * sysdeps/mach/start.c: Remove file.
4386 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4387 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4388 * sysdeps/sh/init-first.c: Likewise.
4389
58f902b8
TS
4390 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4391 registers for frame unwinding purposes, add CFI directives.
4392 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4393 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4394 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4395 Likewise.
4396
1518f58b
TS
4397 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4398 __fortify_fail returning.
4399 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4400
db9b5059
TS
4401 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4402 sysdeps/sh/____longjmp_chk.S.
4403 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4404 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4405 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4406 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4407
967705fe
TS
4408 * sysdeps/sh/abort-instr.h: New file.
4409 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4410 process in case exit returns.
4411
a9def8c4
TS
4412 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4413 initialize the GOT register before use.
4414
2a649725
TS
4415 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4416 calculation of ARGC > 4.
4417
af1bce34
TS
4418 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4419 meaningful names to some local labels.
4420
d230f50a
KK
44212012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4422 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4423
4424 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4425 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4426 (__arch_compare_and_exchange_val_16_acq): Likewise.
4427 (__arch_compare_and_exchange_val_32_acq): Likewise.
4428 (atomic_exchange_and_add): Fix gUSA sequence.
4429 (atomic_add): Likewise.
4430 (atomic_add_negative): Likewise.
4431 (atomic_add_zero): Likewise.
4432 (atomic_bit_test_set): Likewise.
4433
0479b305
AS
44342012-06-22 Andreas Schwab <schwab@redhat.com>
4435
4436 [BZ #13579]
4437 * include/link.h (struct link_map): Add l_free_initfini.
4438 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4439 l_initfini.
4440 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4441 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4442 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4443 set.
4444
0e3933b9
CD
44452012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4446
4447 * configure.in: Use AC_LANG_SOURCE.
4448 * configure: Regenerate.
4449
4248b1b1
RM
44502012-06-22 Roland McGrath <roland@hack.frob.com>
4451
4452 * configure.in (libc_cv_localstatedir): New substituted variable.
4453 * configure: Regenerated.
4454 * config.make.in (localstatedir): New variable, substituted from
4455 libc_cv_localstatedir.
4456 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4457 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4458 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4459 * sysdeps/gnu/configure: Regenerated.
4460
006dd861
JL
44612012-06-21 Jeff Law <law@redhat.com>
4462
4463 [BZ #14277]
4464 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4465 free. Simplify list management for _LIBC case.
4466
79662d42
JM
44672012-06-21 Joseph Myers <joseph@codesourcery.com>
4468
b7abb4bf
JM
4469 [BZ #14273]
4470 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4471 Clear sign bit of 64-bit integer value before comparing against
4472 overflow value.
4473
79662d42
JM
4474 * sysdeps/mach/configure: Regenerated.
4475
1f150908
L
44762012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4477
4478 [BZ #14278]
4479 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4480
28363bbf
JL
44812012-06-21 Jeff Law <law@redhat.com>
4482
4483 [BZ #13882]
4484 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4485 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4486 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4487 * elf/dl-open.c (dl_open_worker): Likewise.
4488
09615db4
CD
44892012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4490
4491 * scripts/list-sources.sh: Scan PORTS for translations.
4492 * po/libc.pot: Regenerated.
4493
2174c6dd
AJ
44942012-06-21 Andreas Jaeger <aj@suse.de>
4495
4496 [BZ #12194]
4497 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4498 warning.
4499 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4500 * bits/byteswap-16.h (__bswap_16): Likewise.
4501 * bits/byteswap.h (__bswap_constant_16): Likewise.
4502
3ee947b1
L
45032012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4504
4505 [BZ #14117]
a2f34833
L
4506 * sysdeps/i386/fpu_control.h: Removed.
4507 * sysdeps/x86_64/fpu_control.h: Moved to ...
4508 * sysdeps/x86/fpu_control.h: Here.
4509
3ee947b1
L
4510 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4511 (_FPU_SETCW): Likewise.
4512
ed1825f8
L
45132012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4514
25f1282a
L
4515 [BZ #14117]
4516 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4517 * sysdeps/x86/fpu/bits/mathinline.h: This.
4518 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4519
ed1825f8
L
4520 [BZ #14050]
4521 [BZ #14117]
4522 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4523 functions if __x86_64__ is defined.
4524
36d54b74
CLT
45252012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4526
4527 * string/endian.h: Add !__ASSEMBLER__ condition for including
4528 conversion interfaces.
4529
10285c21
JM
45302012-06-15 Joseph Myers <joseph@codesourcery.com>
4531
4532 [BZ #14241]
4533 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4534 of ABS(x) in calculating zero to negative powers other than odd
4535 integers.
4536 * math/libm-test.inc (pow_test): Add more tests.
4537
06c5abbd
AJ
45382012-06-15 Andreas Jaeger <aj@suse.de>
4539
4540 * manual/contrib.texi (Contributors): Update entry of Liubov
4541 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4542 Machado Filho.
4543
a3aeac40
CH
45442012-06-15 Cyril Hrubis <metan@ucw.cz>
4545
4546 * string/string.h: Add __wur to GNU version of strerror_r.
4547
49bdf4c1
L
45482012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4549
4550 [BZ #14229]
4551 * string/Makefile (tests): Add tst-strtok_r.
4552 * string/tst-strtok_r.c: New file.
4553 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4554 RAX_LP/RDX_LP on SAVE_PTR.
4555
834f9b8d
RM
45562012-06-14 Roland McGrath <roland@hack.frob.com>
4557
4558 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4559
75fa1921
JM
45602012-06-14 Joseph Myers <joseph@codesourcery.com>
4561
4562 * libm_test.inc (csqrt_test): Allow more spurious underflow
4563 exceptions.
4564 (j0_test): Likewise.
4565 (j1_test): Likewise.
4566 (y0_test): Likewise.
4567 (y1_test): Likewise.
4568
771766df
CD
45692012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4570
4571 * po/Makefile (libc.pot): Use UTF-8 charset.
4572
ceb9e56b
PP
45732012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4574
4575 [BZ #14210]
4576 Suppress sign-conversion warning from FD_SET.
4577 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4578 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4579 not unsigned long int.
4580 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4581
ddb28975
L
45822012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4583
4584 [BZ #14050]
4585 [BZ #14117]
4586 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4587 __extern_always_inline instead of __extern_inline.
4588 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4589 (__signbit): Likewise.
4590 (__signbitl): Support C++ namespace.
4591 (lrintf): New inline function.
4592 (lrint): Likewise.
4593 (llrintf): Likewise.
4594 (llrint): Likewise.
4595 (fmaxf): Likewise.
4596 (fmax): Likewise.
4597 (fminf): Likewise.
4598 (fmin): Likewise.
4599 (rint): Likewise.
4600 (rintf): Likewise.
4601 (ceil): Likewise.
4602 (ceilf): Likewise.
4603 (floor): Likewise.
4604 (floorf): Likewise.
4605 (nearbyint): Likewise.
4606 (nearbyintf): Likewise.
4607
d7b4fb26
TS
46082012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4609
4610 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4611 non-default versions.
4612
eb55f5c2
RM
46132012-06-11 Roland McGrath <roland@hack.frob.com>
4614
4615 [BZ #14218]
4616 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4617
366af02c
TS
46182012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4619
99ff6e5c
TS
4620 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4621 (FE_UPWARD, FE_DOWNWARD): Don't define.
4622 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4623 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4624
366af02c
TS
4625 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4626 reading it.
4627 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4628 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4629
793ea851
KK
46302012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4631
4632 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4633 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4634 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4635 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4636
a728a38f
L
46372012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4638
4639 [BZ #14117]
c08010c7
L
4640 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4641 * sysdeps/i386/fpu/Implies: New file.
4642 * sysdeps/x86_64/fpu/Implies: Likewise.
4643 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4644 * sysdeps/x86/fpu/bits/fenv.h: This.
4645
a728a38f
L
4646 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4647 __SSE_MATH__.
4648
6e230d11
SP
46492012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4650
4651 [BZ #14134]
4652 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4653 character 0xffff that matches the last element of the
4654 conversion table.
4655
1b671feb
AZ
46562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4657
4658 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4659 fmodl commit.
4660
6043738b
AZ
46612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4662
4663 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4664 values higher than 25.6283.
4665
34ae0b32
AZ
46662012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4667
4668 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4669 subnormal exponent extraction and add some __builtin_expect.
4670 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4671 Fix for subnormal mantissa calculation.
4672
1214ec8f
MF
46732012-06-04 Mike Frysinger <vapier@gentoo.org>
4674
4675 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4676 cpu2 is -1 and errno is not ENOSYS.
4677
f3d1f93c
L
46782012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4679
4680 [BZ #14117]
0e4a3cd7
L
4681 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4682 * sysdeps/x86/bits/string.h: This.
4683 * sysdeps/x86_64/bits/string.h: Removed.
4684
6704c645
L
4685 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4686 if not compiling for x86-64, but compiling for >= i486.
4687
48495318
L
4688 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4689 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4690
14adcbfc
L
4691 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4692 New macro from Linux kernel 3.4.0.
4693 (FP_XSTATE_MAGIC2): Likewise.
4694 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4695 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4696 (struct _fpx_sw_bytes): New struct.
4697 (struct _xsave_hdr): Likewise.
4698 (struct _ymmh_state): Likewise.
4699 (struct _xstate): Likewise.
4700
68e408ab
L
4701 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4702 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4703 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4704 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4705 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4706 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4707
f3d1f93c
L
4708 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4709 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4710 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4711 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4712 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4713 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4714
d9dc34cd
TMQMF
47152012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4716
4717 [BZ #13743]
4718 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4719 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4720 (sysdep_headers): Include sys/platform/ppc.h.
4721 * sysdeps/powerpc/test-gettimebase.c: Test for
4722 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4723 * manual/Makefile (appendices): Include platform.texi.
4724 * manual/contrib.texi (Contributors): Update @node pointers.
4725 * manual/maint.texi (Maintenance): Likewise.
4726 (Platform): New node.
4727 * manual/platform.texi: New file. Document the new features.
4728
4af3879c
SP
47292012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4730 Jakub Jelinek <jakub@redhat.com>
4731
4732 [BZ #14188]
4733 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4734 where __builtin_expect is unavailable.
4735
2fd6ff13
DM
47362012-06-03 David S. Miller <davem@davemloft.net>
4737
4738 * stdlib/longlong.h: Updated from GCC.
4739
173f7220
AS
47402012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4741
4742 [BZ #14042]
4743 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4744 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4745 __mcount_internal.
4746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4747 (GLIBC_2.16): Likewise.
4748
f34a1c6f
L
47492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4750
4751 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4752
88a4576f
JM
47532012-06-01 Joseph Myers <joseph@codesourcery.com>
4754
ea32bcdd
JM
4755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4756 (default-abi): New variable.
4757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4758 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4759 variable.
4760 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4761 Likewise.
4762 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4763 Likewise.
4764 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4765 Likewise.
4766
88a4576f
JM
4767 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4768 definition. Document in comment.
4769
402fe938
DM
47702012-06-01 David S. Miller <davem@davemloft.net>
4771
4772 * stdlib/longlong.h: Updated from GCC.
4773
3553723f
L
47742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4775
4776 [BZ #14117]
3bd872c4
L
4777 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4778 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4779 sys/debugreg.h sys/io.h here.
4780 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4781 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4782 sys/io.h.
4783 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4784 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4785 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4786 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4787 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4788 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4789
3553723f
L
4790 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4791 Define only if __x86_64__ is defined.
4792
4842e4fe
JM
47932012-06-01 Joseph Myers <joseph@codesourcery.com>
4794
c5bfe3d5
JM
4795 [BZ #14048]
4796 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4797 Use int64_t for variable i.
4798 * math/libm-test.inc (fmod_test): Add more tests.
4799
4842e4fe
JM
4800 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4801 z computation is not scheduled after fetestexcept.
4802 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4803 Use math_force_eval instead of asm to ensure calculation scheduled
4804 before exception test.
4805 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4806 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4807
efb73488
AJ
48082012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4809
4810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4811 computation is not scheduled after fetestexcept.
4812
29bcce7c
L
48132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4814
4815 [BZ #14117]
4816 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4817 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4818
73a68f94
AZ
48192012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4820
4821 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4822 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4823
67b6df78
L
48242012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4825
edf2933a 4826 [BZ #14117]
ebc64a18
L
4827 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4828 <bits/wordsize.h>.
4829 (__WCHAR_MIN): Support __WORDSIZE == 64.
4830 (__WCHAR_MAX): Likewise.
4831
edf2933a
L
4832 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4833 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4834
57c6cf40
L
4835 [BZ #14183]
4836 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4837 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4838
67b6df78 4839 [BZ #14117]
8eb6281e
L
4840 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4841 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4842
aac639f4
L
4843 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4844 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4845
67b6df78
L
4846 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4847 Defined to 1 if __x86_64__ isn't defined.
4848 (_STAT_VER_LINUX_OLD): New.
4849 (st_atime): Remove duplicate.
4850 (st_mtime): Likewise.
4851 (st_ctime): Likewise.
4852
1c2cfe81
DM
48532012-05-31 David S. Miller <davem@davemloft.net>
4854
4855 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4856 entries.
4857
5be8418c
AS
48582012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4859
e7725326
AS
4860 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4861 gen-libm-test.pl.
4862
5be8418c
AS
4863 [BZ #14132]
4864 * elf/dl-reloc.c: Include <_itoa.h>.
4865 (_dl_reloc_bad_type): Remove use of INTUSE.
4866 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4867 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4868 * stdio-common/psiginfo.c (psiginfo): Likewise.
4869 * stdio-common/psignal.c (psignal): Likewise.
4870 * string/strsignal.c (strsignal): Likewise.
4871 * include/signal.h (_sys_siglist): Declare hidden proto.
4872 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4873 INTVARDEF with libc_hidden_data_def.
4874 * stdio-common/itoa-udigits.c: Likewise.
4875 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4876 (_itoa_lower_digits_internal): Remove declaration.
4877 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4878 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4879 (_sys_sigabbrev_internal): Remove aliases.
4880 (_sys_siglist): Define hidden alias.
4881
507352f1
MT
48822012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4883
4884 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4885 bits/sysctl.h.
4886
42bbb1c3
L
48872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4888
4889 [BZ #14117]
6bd784b6
L
4890 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4891 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4892
8bca20f0
L
4893 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4894 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4895 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4896 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4897 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4898 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4899
f9e890a9
L
4900 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4901 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4902 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4903
471101a1
L
4904 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4905 with __addr.
4906 (insw): Likewise.
4907 (insl): Likewise.
4908 (outsb): Likewise.
4909 (outsw): Likewise.
4910 (outsl): Likewise.
4911
6451c862
L
4912 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4913 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4914 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4915
a254b8c9
L
4916 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4917 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4918 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4919 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4920 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4921 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4922
b8dfdd92
L
4923 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4924 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4925
578cd270
L
4926 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4927 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4928
de662f5f
L
4929 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4930 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4931 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4932
25653439
L
4933 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4934 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4935 to ...
4936 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4937
6bad24a0
L
4938 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4939 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4940 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4941
42bbb1c3
L
4942 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4943 for x86-64.
4944 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4945
2d10d547
JM
49462012-05-31 Joseph Myers <joseph@codesourcery.com>
4947
4948 * math/math.h (M_El): Use two more decimal places.
4949 (M_LOG2El): Likewise.
4950 (M_LOG10El): Likewise.
4951 (M_LN2l): Likewise.
4952 (M_LN10l): Likewise.
4953 (M_PIl): Likewise.
4954 (M_PI_2l): Likewise.
4955 (M_PI_4l): Likewise.
4956 (M_1_PIl): Likewise.
4957 (M_2_PIl): Likewise.
4958 (M_2_SQRTPIl): Likewise.
4959 (M_SQRT2l): Likewise.
4960 (M_SQRT1_2l): Likewise.
4961
f230c29b
DM
49622012-05-31 David S. Miller <davem@davemloft.net>
4963
4964 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4965 values between float registers.
4966 * sysdeps/sparc/sparc64/memset.S: Likewise.
4967 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4968
fed806c3
MF
49692012-05-31 Mike Frysinger <vapier@gentoo.org>
4970
4971 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4972 -D_FORTIFY_SOURCE=1.
4973 (CPPFLAGS-tst-longjmp_chk.c): Define.
4974 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4975 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4976 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4977 CFLAGS-tst-wchar-h.c.
4978
30917259
MP
49792012-05-31 Marek Polacek <polacek@redhat.com>
4980
4981 [BZ #14132]
4982 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4983 __endmntent_internal): Remove declaration.
4984 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4985 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4986 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4987
1c58d5dc
DM
49882012-05-30 David S. Miller <davem@davemloft.net>
4989
4990 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4991 (___Q_simulate_exceptions): Use real FP ops rather than writing
4992 into the %fsr.
4993 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4994 Likewise.
4995
7dc00e0d
L
49962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4997
4998 [BZ #14117]
0bd53985
L
4999 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
5000 * sysdeps/x86/bits/xtitypes.h: This.
5001
3a257e66
L
5002 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
5003 * sysdeps/x86/bits/wordsize.h: This.
5004
62f62904
L
5005 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
5006 * sysdeps/x86/bits/huge_vall.h: This.
5007
404fe9d9
L
5008 * sysdeps/i386/bits/select.h: Removed.
5009 * sysdeps/x86_64/bits/select.h: Renamed to ...
5010 * sysdeps/x86/bits/select.h: This.
5011
d48d0446
L
5012 * sysdeps/i386/bits/setjmp.h: Removed.
5013 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5014 * sysdeps/x86/bits/setjmp.h: This.
5015
7dc00e0d
L
5016 * sysdeps/i386/bits/mathdef.h: Removed.
5017 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5018 * sysdeps/x86/bits/mathdef.h: This.
5019
03277f8f
AS
50202012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5021
5022 [BZ #14132]
5023 * include/sys/socket.h (__connect_internal)
5024 (__libc_sa_len_internal): Remove declaration.
5025 (__connect, __libc_sa_len): Declare hidden_proto.
5026 (SA_LEN): Remove use of INTUSE.
5027 * socket/connect.c: Add libc_hidden_def.
5028 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5029 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5030 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5031 alias.
5032 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5033 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5034 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5035 of adding _internal alias.
5036
13764867
L
50372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5038
5039 [BZ #14117]
6bd97696
L
5040 * sysdeps/i386/bits/link.h: Removed.
5041 * sysdeps/i386/bits/linkmap.h: Likewise.
5042 * sysdeps/x86_64/bits/link.h: Renamed to ...
5043 * sysdeps/x86/bits/link.h: This.
5044 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5045 * sysdeps/x86/bits/linkmap.h: This.
5046
f726f0bb
L
5047 * sysdeps/i386/bits/endian.h: Removed.
5048 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5049 * sysdeps/x86/bits/endian.h: This.
5050
13764867
L
5051 * sysdeps/i386/bits/byteswap.h: Removed.
5052 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5053 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5054 * sysdeps/x86/bits/byteswap.h: This.
5055 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5056 * sysdeps/x86/bits/byteswap-16.h: This.
5057 * sysdeps/i386/Implies: Add x86.
5058 * sysdeps/x86_64/Implies: Likewise.
5059
ae251b0b
DM
50602012-05-30 David S. Miller <davem@davemloft.net>
5061
5062 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5063 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5064 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5065 (FP_TRAPPING_EXCEPTIONS): Define.
5066 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5067 (FP_TRAPPING_EXCEPTIONS): Define.
5068 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5069 subnormals only when inexact has been signalled or underflow
5070 exceptions are enabled.
5071 (_FP_PACK_CANONICAL): Likewise.
5072
d5c90867
L
50732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5074
5075 [BZ #14183]
5076 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5077 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5078
63f1549e
RH
50792012-05-30 Richard Henderson <rth@twiddle.net>
5080
8d8f2279
RH
5081 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5082 with #ifndef NOT_IN_libc.
5083
63f1549e
RH
5084 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5085 marked to avoid plt entry.
5086
0ab0291b
L
50872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5088
5089 [BZ #14112]
5090 * Makeconfig (default-abi): New macro.
5091 (abi-includes): Likewise.
5092 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5093 $(abi-$(default-abi)-lib-soname) for soname if defined.
5094 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5095 abi-variants.
5096 * Makefile (installed-stubs): Likewise.
5097 * include/stubs-biarch.h: Removed.
5098 * scripts/lib-names.awk: Only handle one library at a time.
5099 * scripts/soversions.awk: Remove WORDSIZE support.
5100 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5101 entries.
5102 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5103 Removed.
5104 (syscall-list-default-condition): Likewise.
5105 (syscall-list-default-condition): Likewise.
5106 (syscall-list-includes): Likewise.
5107 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5108 syscall-list-* with abi-*. Handle undefined abi-variants.
5109 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5110 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5111 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5112 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5113 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5114 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5115 Removed.
5116 (syscall-list-32-options): Likewise.
5117 (syscall-list-32-condition): Likewise.
5118 (syscall-list-64-options): Likewise.
5119 (syscall-list-64-condition): Likewise.
5120 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5121 macro.
5122 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5123 Renamed to ...
5124 (abi-*): This.
5125 (abi-64-ld-soname): New macro.
5126 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5127 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5128 Renamed to ...
5129 (abi-*): This.
5130 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5131 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5132
4da0431d
JM
51332012-05-30 Joseph Myers <joseph@codesourcery.com>
5134
3a85279c
JM
5135 * sysdeps/unix/sysv/linux/kernel-features.h
5136 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5137 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5138 include <kernel-features.h>.
5139 [!__NR_ftruncate64]: Remove conditional code.
5140 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5141 [__NR_ftruncate64]: Make code unconditional.
5142 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5143 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5144 include <kernel-features.h>.
5145 [!__NR_ftruncate64]: Remove conditional code.
5146 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5147 [__NR_ftruncate64]: Make code unconditional.
5148 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5150 include <kernel-features.h>.
5151 [!__NR_ftruncate64]: Remove conditional code.
5152 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5153 [__NR_ftruncate64]: Make code unconditional.
5154 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5156 include <kernel-features.h>.
5157 [!__NR_ftruncate64]: Remove conditional code.
5158 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5159 [__NR_ftruncate64]: Make code unconditional.
5160 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5161
4da0431d
JM
5162 * configure.in (libc_cv_fpie): Weaken to a compile test using
5163 LIBC_TRY_CC_OPTION.
5164 * configure: Regenerated.
5165
11ef492c
AK
51662012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5167
5168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5172 Refreshed.
5173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5179 Refreshed.
5180
d66ef399
DM
51812012-05-27 David S. Miller <davem@davemloft.net>
5182
5183 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5184 (___Q_zero): New.
5185 (__Q_simulate_exceptions): Return void. Change to simulate
5186 exceptions by writing into the %fsr.
5187 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5188 (__Qp_handle_exceptions): Likewise.
5189 (numbers): Delete.
5190 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5191 __Qp_handle_exceptions.
5192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5193 __Qp_handle_exceptions.
5194 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5195 as unused and give dummy FP_RND_NEAREST initializer.
5196 (FP_INHIBIT_RESULTS): Define.
5197 (___Q_simulate_exceptions): Update declaration.
5198 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5199 formatting.
5200 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5201 as unused and give dummy FP_RND_NEAREST initializer.
5202 (__Qp_handle_exceptions): Update declaration.
5203 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5204 formatting.
5205
04fb54b5
TS
52062012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5207
5208 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5209 the temporary FPU control word.
5210 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5211 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5212 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5213 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5214 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5215 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5216 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5217 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5218 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5219 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5220 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5221
3f99608f
KK
52222012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5223
5224 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5225 fields.
5226
65a4de4e
CLT
52272012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5228
5229 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5230 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5231 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5232 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5233 Likewise.
5234 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5235 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5236 Likewise.
5237
15749d40
UD
52382012-05-27 Ulrich Drepper <drepper@gmail.com>
5239
5240 * po/h.po: Update from translation team.
5241
25dbcb27
AS
52422012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5243
3d3f8e55
AS
5244 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5245
25dbcb27
AS
5246 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5247 handling of denormals.
5248 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5249 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5250 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5251 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5252 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5254 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5255 Likewise.
5256
7ad47a80 52572012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
5258
5259 [BZ #14152]
5260 * math/libm-test.inc (fma_test): Don't always expect underflow
5261 exception.
5262
9c6ea9fa
SP
52632012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5264
5265 [BZ #12416]
5266 * elf/tst-execstack.c: Include stackinfo.h.
5267 (do_test): Adjust test case to ensure that pthread_getattr_np
5268 behaviour remains the same after marking stack executable.
5269
a8239222
JM
52702012-05-25 Joseph Myers <joseph@codesourcery.com>
5271
5272 * sysdeps/unix/sysv/linux/kernel-features.h
5273 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5274 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5275 kernel-features.h.
5276 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5277 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5278 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5279 kernel-features.h.
5280 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5281 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5282
918b5606
L
52832012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5284
5285 * configure.in: Define the default includes to being none.
5286 * configure: Regenerated.
5287
3a097cc7
RM
52882012-05-25 Roland McGrath <roland@hack.frob.com>
5289
8422c9a5
RM
5290 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5291 * sysdeps/x86_64/setjmp.S: Likewise.
5292 * sysdeps/i386/bsd-setjmp.S: Likewise.
5293 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5294 * sysdeps/i386/setjmp.S: Likewise.
5295 * sysdeps/i386/__longjmp.S: Likewise.
5296 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5297 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5298
3a097cc7
RM
5299 * include/stap-probe.h: New file.
5300 * configure.in: Handle --enable-systemtap.
5301 * configure: Regenerated.
5302 * config.h.in (USE_STAP_PROBE): New #undef.
5303 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5304 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5305 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5306
21708942
JM
53072012-05-25 Joseph Myers <joseph@codesourcery.com>
5308
5309 [BZ #13717]
5310 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5311 to 2.4.0 where earlier.
5312 * sysdeps/unix/sysv/linux/configure: Regenerated.
5313 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5314 <kernel-features.h>.
5315 [__ASSUME_32BITUIDS]: Make code unconditional.
5316 [!__ASSUME_32BITUIDS]: Remove conditional code.
5317 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5318 <kernel-features.h>.
5319 [__ASSUME_32BITUIDS]: Make code unconditional.
5320 [!__ASSUME_32BITUIDS]: Remove conditional code.
5321 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5322 [__ASSUME_32BITUIDS]: Make code unconditional.
5323 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5324 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5325 <kernel-features.h>.
5326 [__ASSUME_32BITUIDS]: Make code unconditional.
5327 [!__ASSUME_32BITUIDS]: Remove conditional code.
5328 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5329 <kernel-features.h>.
5330 [__ASSUME_32BITUIDS]: Make code unconditional.
5331 [!__ASSUME_32BITUIDS]: Remove conditional code.
5332 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5333 <kernel-features.h>.
5334 [__ASSUME_32BITUIDS]: Make code unconditional.
5335 [!__ASSUME_32BITUIDS]: Remove conditional code.
5336 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5337 <kernel-features.h>.
5338 [__ASSUME_32BITUIDS]: Make code unconditional.
5339 [!__ASSUME_32BITUIDS]: Remove conditional code.
5340 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5341 <kernel-features.h>.
5342 [__ASSUME_32BITUIDS]: Make code unconditional.
5343 [!__ASSUME_32BITUIDS]: Remove conditional code.
5344 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5345 <kernel-features.h>.
5346 [__ASSUME_32BITUIDS]: Make code unconditional.
5347 [!__ASSUME_32BITUIDS]: Remove conditional code.
5348 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5349 <kernel-features.h>.
5350 [__ASSUME_32BITUIDS]: Make code unconditional.
5351 [!__ASSUME_32BITUIDS]: Remove conditional code.
5352 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5353 <kernel-features.h>.
5354 [__ASSUME_32BITUIDS]: Make code unconditional.
5355 [!__ASSUME_32BITUIDS]: Remove conditional code.
5356 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5357 <kernel-features.h>.
5358 [__ASSUME_32BITUIDS]: Make code unconditional.
5359 [!__ASSUME_32BITUIDS]: Remove conditional code.
5360 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5361 <kernel-features.h>.
5362 [__ASSUME_32BITUIDS]: Make code unconditional.
5363 [!__ASSUME_32BITUIDS]: Remove conditional code.
5364 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5365 <kernel-features.h>.
5366 [__NR_setresgid] (__setresgid): Do not declare.
5367 [__ASSUME_32BITUIDS]: Make code unconditional.
5368 [!__ASSUME_32BITUIDS]: Remove conditional code.
5369 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5370 <kernel-features.h>.
5371 [__NR_setresuid] (__setresuid): Do not declare.
5372 [__ASSUME_32BITUIDS]: Make code unconditional.
5373 [!__ASSUME_32BITUIDS]: Remove conditional code.
5374 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5375 <kernel-features.h>.
5376 [__ASSUME_32BITUIDS]: Make code unconditional.
5377 [!__ASSUME_32BITUIDS]: Remove conditional code.
5378 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5379 <kernel-features.h>.
5380 [__ASSUME_32BITUIDS]: Make code unconditional.
5381 [!__ASSUME_32BITUIDS]: Remove conditional code.
5382 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5383 <kernel-features.h>.
5384 [__ASSUME_32BITUIDS]: Make code unconditional.
5385 [!__ASSUME_32BITUIDS]: Remove conditional code.
5386 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5387 <kernel-features.h>.
5388 [__ASSUME_32BITUIDS]: Make code unconditional.
5389 [!__ASSUME_32BITUIDS]: Remove conditional code.
5390 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5391 <kernel-features.h>.
5392 [__ASSUME_32BITUIDS]: Make code unconditional.
5393 [!__ASSUME_32BITUIDS]: Remove conditional code.
5394 * sysdeps/unix/sysv/linux/i386/setresgid.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/i386/setresuid.c: Do not include
5399 <kernel-features.h>.
5400 [__ASSUME_32BITUIDS]: Make code unconditional.
5401 [!__ASSUME_32BITUIDS]: Remove conditional code.
5402 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5403 <kernel-features.h>.
5404 [__ASSUME_32BITUIDS]: Make code unconditional.
5405 [!__ASSUME_32BITUIDS]: Remove conditional code.
5406 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5407 <kernel-features.h>.
5408 [__ASSUME_32BITUIDS]: Make code unconditional.
5409 [!__ASSUME_32BITUIDS]: Remove conditional code.
5410 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5411 <kernel-features.h>.
5412 [__ASSUME_32BITUIDS]: Make code unconditional.
5413 [!__ASSUME_32BITUIDS]: Remove conditional code.
5414 * sysdeps/unix/sysv/linux/kernel-features.h
5415 (__ASSUME_SETRESUID_SYSCALL): Remove.
5416 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5417 (__ASSUME_32BITUIDS): Likewise.
5418 (__ASSUME_LDT_WORKS): Likewise.
5419 (__ASSUME_O_DIRECTORY): Likewise.
5420 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5421 architecture but not kernel version.
5422 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5423 (__ASSUME_MMAP2_SYSCALL): Likewise.
5424 (__ASSUME_STAT64_SYSCALL): Likewise.
5425 (__ASSUME_IPC64): Likewise.
5426 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5427 <kernel-features.h>.
5428 [__ASSUME_32BITUIDS]: Make code unconditional.
5429 [!__ASSUME_32BITUIDS]: Remove conditional code.
5430 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5431 <kernel-features.h>.
5432 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5433 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5434 132096]: Remove conditional code.
5435 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5436 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5437 <kernel-features.h>.
5438 [__ASSUME_32BITUIDS]: Make code unconditional.
5439 [!__ASSUME_32BITUIDS]: Remove conditional code.
5440 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5441 <kernel-features.h>.
5442 [__ASSUME_32BITUIDS]: Make code unconditional.
5443 [!__ASSUME_32BITUIDS]: Remove conditional code.
5444 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5445 <kernel-features.h>.
5446 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5447 unconditional.
5448 (__setresgid): Do not declare.
5449 [__ASSUME_32BITUIDS]: Make code unconditional.
5450 [!__ASSUME_32BITUIDS]: Remove conditional code.
5451 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5452 <kernel-features.h>.
5453 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5454 unconditional.
5455 (__setresuid): Do not declare.
5456 [__ASSUME_32BITUIDS]: Make code unconditional.
5457 [!__ASSUME_32BITUIDS]: Remove conditional code.
5458 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5459 <kernel-features.h>.
5460 [__ASSUME_32BITUIDS]: Make code unconditional.
5461 [!__ASSUME_32BITUIDS]: Remove conditional code.
5462 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5463 <kernel-features.h>.
5464 [__ASSUME_32BITUIDS]: Make code unconditional.
5465 [!__ASSUME_32BITUIDS]: Remove conditional code.
5466
a386f1cc
RH
54672012-05-25 Richard Henderson <rth@twiddle.net>
5468
5469 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5470 dl_hwcap to ifunc resolver.
5471 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5472 elf_ifunc_invoke.
5473 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5474 dl_hwcap to ifunc resolver.
5475 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5476
b6550497
JM
54772012-05-24 Joseph Myers <joseph@codesourcery.com>
5478
5479 [BZ #14153]
5480 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5481 for |x| <= 2**-26, not 2**-57.
5482 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5483 exception.
5484
b0bc23a1
JL
54852012-05-24 Jeff Law <law@redhat.com>
5486
5487 * stdio-common/Makefile (tests): Add bug25.
5488 * stdio-common/bug25.c: New test.
5489
347c92e9
L
54902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5491
5492 [BZ #13576]
5493 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5494 multiple of MALLOC_ALIGNMENT in size.
5495 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5496
6bcc8b3f
JM
54972012-05-24 Joseph Myers <joseph@codesourcery.com>
5498
5499 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5500 Require >= 256.
5501 (FILENAME_MAX): Use macro-int-constant.
5502 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5503 (_IOFBF): Use macro-int-constant.
5504 (_IOLBF): Likewise.
5505 (_IONBF): Likewise.
5506 (SEEK_CUR): Likewise.
5507 (SEEK_END): Likewise.
5508 (SEEK_SET): Likewise.
5509 (TMP_MAX): Likewise.
5510 (EOF): Use macro-int-constant. Require < 0.
5511 (NULL): Use macro-constant. Require == 0.
5512 (stdin): Require type to be FILE *.
5513 (stdout): Likewise.
5514 (stderr): Likewise.
5515 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5516 macro-int-constant.
5517 (EXIT_SUCCESS): Likewise.
5518 (NULL): Use macro-constant. Require == 0.
5519 (RAND_MAX): Use macro-int-constant.
5520 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5521 [C99-based standards] (strtof): Require function.
5522 [C99-based standards] (strtold): Likewise.
5523 [C99-based standards] (strtoll): Likewise.
5524 [C99-based standards] (strtoull): Likewise.
5525 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5526 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5527 [ISO || ISO99 || ISO11] (math.h): Likewise.
5528 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5529 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5530 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5531
d18ea0c5
AS
55322012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5533
5534 [BZ #14132]
56d25bb8
AS
5535 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5536 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5537 * intl/dgettext.c (DCGETTEXT): Likewise.
5538 * intl/gettext.c (DCGETTEXT): Likewise.
5539 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5540 * posix/regex_internal.h (gettext): Likewise.
5541 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5542 Remove declaration.
5543 * include/argz.h (__argz_count_internal)
5544 (__argz_stringify_internal): Remove declaration.
5545 (__argz_count, __argz_stringify): Declare hidden proto.
5546 * intl/dcgettext.c: Remove use of INTDEF.
5547 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5548 * string/argz-stringify.c: Likewise.
5549 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5550 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5551 Declare hidden proto.
d18ea0c5
AS
5552 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5553 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5554 Declare hidden proto.
5555 * include/stdio.h (__asprintf_internal): Don't declare.
5556 (__asprintf): Don't define as macro. Declare hidden proto.
5557 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5558 (__fsetlocking): Declare hidden proto.
5559 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5560 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5561 hidden proto.
5562 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5563 (_IO_setlinebuf): Remove use of INTUSE.
5564 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5565 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5566 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5567 Remove declaration.
5568 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5569 (_IO_do_flush): Remove use of INTUSE.
5570 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5571 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5572 (_IO_adjust_column, _IO_least_wmarker)
5573 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5574 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5575 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5576 (_IO_default_doallocate, _IO_wdefault_doallocate)
5577 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5578 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5579 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5580 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5581 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5582 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5583 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5584 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5585 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5586 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5587 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5588 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5589 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5590 proto.
5591 (_IO_flush_all_internal, _IO_adjust_column_internal)
5592 (_IO_default_uflow_internal, _IO_default_finish_internal)
5593 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5594 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5595 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5596 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5597 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5598 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5599 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5600 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5601 (_IO_file_close_internal, _IO_file_close_it_internal)
5602 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5603 (_IO_file_init_internal, _IO_file_attach_internal)
5604 (_IO_file_fopen_internal, _IO_file_read_internal)
5605 (_IO_file_sync_internal, _IO_file_seek_internal)
5606 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5607 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5608 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5609 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5610 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5611 (_IO_list_all_internal, _IO_link_in_internal)
5612 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5613 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5614 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5615 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5616 (_IO_do_write_internal, _IO_padn_internal)
5617 (_IO_getline_info_internal, _IO_getline_internal)
5618 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5619 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5620 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5621 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5622 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5623 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5624 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5625 with libc_hidden_ver, remove use of INTUSE.
5626 * libio/genops.c: Likewise.
5627 * libio/freopen.c: Likewise.
5628 * libio/freopen64.c: Likewise.
5629 * libio/iofclose.c: Likewise.
5630 * libio/iofdopen.c: Likewise.
5631 * libio/iofflush.c: Likewise.
5632 * libio/iofflush_u.c: Likewise.
5633 * libio/iofgets.c: Likewise.
5634 * libio/iofgets_u.c: Likewise.
5635 * libio/iofopen.c: Likewise.
5636 * libio/iofopncook.c: Likewise.
5637 * libio/iofread.c: Likewise.
5638 * libio/iofread_u.c: Likewise.
5639 * libio/ioftell.c: Likewise.
5640 * libio/iofwrite.c: Likewise.
5641 * libio/iogetline.c: Likewise.
5642 * libio/iogets.c: Likewise.
5643 * libio/iogetwline.c: Likewise.
5644 * libio/iopadn.c: Likewise.
5645 * libio/iopopen.c: Likewise.
5646 * libio/ioseekoff.c: Likewise.
5647 * libio/ioseekpos.c: Likewise.
5648 * libio/iosetbuffer.c: Likewise.
5649 * libio/iosetvbuf.c: Likewise.
5650 * libio/ioungetc.c: Likewise.
5651 * libio/ioungetwc.c: Likewise.
5652 * libio/iovdprintf.c: Likewise.
5653 * libio/iovsprintf.c: Likewise.
5654 * libio/iovsscanf.c: Likewise.
5655 * libio/memstream.c: Likewise.
5656 * libio/obprintf.c: Likewise.
5657 * libio/oldfileops.c: Likewise.
5658 * libio/oldiofclose.c: Likewise.
5659 * libio/oldiofdopen.c: Likewise.
5660 * libio/oldiofopen.c: Likewise.
5661 * libio/oldiopopen.c: Likewise.
5662 * libio/oldstdfiles.c: Likewise.
5663 * libio/putc.c: Likewise.
5664 * libio/setbuf.c: Likewise.
5665 * libio/setlinebuf.c: Likewise.
5666 * libio/stdfiles.c: Likewise.
5667 * libio/strops.c: Likewise.
5668 * libio/vasprintf.c: Likewise.
5669 * libio/vscanf.c: Likewise.
5670 * libio/vsnprintf.c: Likewise.
5671 * libio/vswprintf.c: Likewise.
5672 * libio/wfiledoalloc.c: Likewise.
5673 * libio/wfileops.c: Likewise.
5674 * libio/wgenops.c: Likewise.
5675 * libio/wmemstream.c: Likewise.
5676 * libio/wstrops.c: Likewise.
5677 * libio/__fpurge.c: Likewise.
5678 * libio/__fsetlocking.c: Likewise.
5679 * assert/assert.c: Likewise.
5680 * debug/fgets_chk.c: Likewise.
5681 * debug/fgets_u_chk.c: Likewise.
5682 * debug/fread_chk.c: Likewise.
5683 * debug/fread_u_chk.c: Likewise.
5684 * debug/gets_chk.c: Likewise.
5685 * debug/obprintf_chk.c: Likewise.
5686 * debug/vasprintf_chk.c: Likewise.
5687 * debug/vdprintf_chk.c: Likewise.
5688 * debug/vsnprintf_chk.c: Likewise.
5689 * debug/vsprintf_chk.c: Likewise.
5690 * malloc/mtrace.c: Likewise.
5691 * misc/error.c: Likewise.
5692 * misc/syslog.c: Likewise.
5693 * stdio-common/asprintf.c: Likewise.
5694 * stdio-common/fxprintf.c: Likewise.
5695 * stdio-common/getw.c: Likewise.
5696 * stdio-common/isoc99_fscanf.c: Likewise.
5697 * stdio-common/isoc99_scanf.c: Likewise.
5698 * stdio-common/isoc99_vfscanf.c: Likewise.
5699 * stdio-common/isoc99_vscanf.c: Likewise.
5700 * stdio-common/isoc99_vsscanf.c: Likewise.
5701 * stdio-common/printf-prs.c: Likewise.
5702 * stdio-common/printf_fp.c: Likewise.
5703 * stdio-common/printf_fphex.c: Likewise.
5704 * stdio-common/printf_size.c: Likewise.
5705 * stdio-common/putw.c: Likewise.
5706 * stdio-common/scanf.c: Likewise.
5707 * stdio-common/sprintf.c: Likewise.
5708 * stdio-common/tmpfile.c: Likewise.
5709 * stdio-common/vfprintf.c: Likewise.
5710 * stdio-common/vfscanf.c: Likewise.
5711 * stdlib/strfmon_l.c: Likewise.
5712 * sunrpc/openchild.c: Likewise.
5713 * sunrpc/xdr_stdio.c: Likewise.
5714 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5715 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5716
d6c33fda
RM
57172012-05-24 Roland McGrath <roland@hack.frob.com>
5718
c1487492
RM
5719 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5720
5721 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5722 in the third column, to generate for the shared library an IFUNC
5723 that uses _dl_vdso_vsym.
5724 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5725 * Makeconfig (object-suffixes-noshared): New variable.
5726
5727 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5728 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5729 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5730 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5731
d6c33fda
RM
5732 [BZ #14132]
5733 * include/sys/time.h (__gettimeofday): Remove macro.
5734 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5735 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5736 Remove INTDEF.
5737 (__gettimeofday): Add libc_hidden_def.
5738 (gettimeofday): Add libc_hidden_weak.
5739 * sysdeps/mach/gettimeofday.c: Likewise.
5740 * sysdeps/posix/gettimeofday.c: Likewise.
5741 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5742 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5743 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5744 (__gettimeofday_internal): Remove strong_alias.
5745 (__gettimeofday): Add libc_hidden_def.
5746 (gettimeofday): Add libc_hidden_weak.
5747 * sysdeps/unix/syscalls.list (gettimeofday):
5748 Remove __gettimeofday_internal alias.
5749
b5a2bbe6
L
57502012-05-24 Daniel Jacobowitz <drow@false.org>
5751 H.J. Lu <hongjiu.lu@intel.com>
5752
5753 [BZ #12495]
5754 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5755 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5756 (largebin_index_32_big): New.
5757 (largebin_index): Use it for 16-byte alignment.
5758 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5759 correction with front_misalign.
5760
cfba4fda
L
57612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5762
7f907421
L
5763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5765 Likewise.
5766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5767 Likewise.
5768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5769 Likewise.
5770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5771 Likewise.
5772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5773 Likewise.
5774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5775 Likewise.
5776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5777 Likewise.
5778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5779 Likewise.
5780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5781 Likewise.
5782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5783 Likewise.
5784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5785 Likewise.
5786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5787 Likewise.
5788
cfba4fda
L
5789 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5790 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5791
80bad0cc
JM
57922012-05-24 Joseph Myers <joseph@codesourcery.com>
5793
7a25eb06
JM
5794 [BZ #10846]
5795 [BZ #14036]
5796 * math/libm-test.inc (exp_test): Add test from bug 14036.
5797 (pow_test): Add test from bug 10846.
5798
795405f9
JM
5799 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5800 and other flags.
5801 (special_function): Do not include flags in test name.
5802 (parse_args): Likewise.
5803 * sysdeps/i386/fpu/libm-test-ulps: Update.
5804 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5805 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5806 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5808
80bad0cc
JM
5809 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5810 exceptions.
5811 * math/libm-test.inc ("Philosophy"): Update comment about
5812 exception testing.
5813 (UNDERFLOW_EXCEPTION): New macro.
5814 (UNDERFLOW_EXCEPTION_OK): Likewise.
5815 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5816 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5817 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5818 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5819 (INVALID_EXCEPTION_OK): Update value.
5820 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5821 (OVERFLOW_EXCEPTION_OK): Likewise.
5822 (IGNORE_ZERO_INF_SIGN): Likewise.
5823 (test_exceptions): Handle underflow exceptions.
5824 (acos_test): Update for underflow exception expectations.
5825 (cexp_test): Likewise.
5826 (clog_test): Likewise.
5827 (clog10_test): Likewise.
5828 (csqrt_test): Likewise.
5829 (ctan_test): Likewise.
5830 (ctanh_test): Likewise.
5831 (exp_test): Likewise.
5832 (exp10_test): Likewise.
5833 (exp2_test): Likewise.
5834 (expm1_test): Likewise.
5835 (fma_test): Likewise.
5836 (j0_test): Likewise.
5837 (jn_test): Likewise.
5838 (nexttoward_test): Likewise.
5839 (pow_test): Likewise.
5840 (scalbn_test): Likewise.
5841 (scalbln_test): Likewise.
5842 (tan_test): Likewise.
5843 (y1_test): Likewise.
5844 * sysdeps/i386/fpu/libm-test-ulps: Update.
5845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5846
9e0e3d0b
DM
58472012-05-23 David S. Miller <davem@davemloft.net>
5848
5849 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5850 (__libc_sigaction): Remove unused local variables.
5851
ccd0a08f
L
58522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5853
5854 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5855
62bdf9a6
PE
58562012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5857
f8591f80
PE
5858 mktime: avoid signed integer overflow
5859 * time/mktime.c (__mktime_internal): Do not mishandle the case
5860 where diff == INT_MIN.
5861
94c7d826
PE
5862 mktime: simplify computation of average
5863 * time/mktime.c (ranged_convert): Use new time_t_avg function
5864 instead of rolling our own (probably-slower) code.
5865
ce73d683
PE
5866 mktime: do not assume signed right shift propagates sign bit
5867 * time/mktime.c (isdst_differ): New static function.
5868 (__mktime_internal): No need to normalize tm_isdst now.
5869 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5870 tm_isdst values.
5871
72a22e59
PE
5872 mktime: merge another wrapv change from gnulib
5873 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5874 from some compilers.
5875
68605433
PE
5876 mktime: remove incorrect attempt at unusual arithmetics
5877 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5878 The code didn't really work on such machines anyway.
5879 (TYPE_MINIMUM): Assume two's complement.
5880 (twos_complement_arithmetic): Verify that long_int and time_t
5881 are two's complement (or unsigned, in the latter case).
5882
03cf7fe3
PE
5883 mktime: check signed shifts on long_int and time_t, too
5884 * time/mktime.c (SHR): Check that shifts work as desired
5885 on the types long_int and time_t too, as SHR is used on
5886 such types.
5887
f04dfbc2
PE
5888 mktime: do not assume 'long' is wide enough
5889 * time/mktime.c (verify): Move decl up.
5890 (long_int): New type.
5891 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5892 to remove assumption in the code that 'long' is wide enough to
5893 store year values. This assumption is not true on x32 and on
5894 some non-glibc platforms.
5895
62bdf9a6
PE
5896 mktime: merge wrapv change from gnulib
5897 * time/mktime.c (WRAPV): New macro.
5898 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5899 (guess_time_tm, __mktime_internal): Do not assume that signed
5900 integer overflow wraps around; modern compilers generate code
5901 where this assumption is no longer valid.
5902
5e292e4f
L
59032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5904
5905 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5906 Replace "jmp L(pseudo_end)" with "ret".
5907 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5908 Likewise.
5909
8caf8c87
AJ
59102012-05-23 Andreas Jaeger <aj@suse.de>
5911
5912 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5913 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5914
1a09dc56
AJ
59152012-05-23 Andreas Jaeger <aj@suse.de>
5916 Maximilian Attems <max@stro.at>
5917
5918 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5919 New macros.
5920
1c87aba0
L
59212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5922
5923 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5924 code so that pseudo_end is just ret and the stack pointer is
5925 correct also for static library in error case.
5926
40e45bd5
JM
59272012-05-23 Joseph Myers <joseph@codesourcery.com>
5928
c2670533
JM
5929 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5930 move to syscalls.list.
5931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5935
40e45bd5
JM
5936 * manual/install.texi (Running make install): Do not mention Linux
5937 kernel version for which pt_chown is not needed.
5938 (Linux): Do not mention problems with nscd with 2.0 kernels.
5939 * INSTALL: Regenerated.
5940
be08eda5
AJ
59412012-05-23 Andreas Jaeger <aj@suse.de>
5942
5943 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5944 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5945 macro.
5946 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5947 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5948 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5949 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5950 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5951 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5952 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5953 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5954 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5955 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5956 * sysdeps/unix/sysv/linux/bits/in.h
5957 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5958
a6a056bb
RM
59592012-05-22 Roland McGrath <roland@hack.frob.com>
5960
5961 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5962 (PREPARE_VERSION): Just use assert instead, it will be elided
5963 under [NDEBUG] anyway.
5964
c9009328
L
59652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5966
5967 * sysdeps/unix/sysv/linux/Makefile: Include
5968 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5969 (sysdep_routines): Remove sysctl.
c9009328
L
5970 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5971 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5972 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5973 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5974 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5975
73338355
AJ
59762012-05-22 Andreas Jaeger <aj@suse.de>
5977
5978 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5979 that pseudo_end is just ret and the stack pointer is correct also
5980 for static library in error case.
5981
d44638b0
PP
59822012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5983
5984 [BZ #14122]
5985 * nss/nsswitch.c (defconfig_entries): New variable.
5986 (__nss_database_lookup): Don't leak defconfig entries.
5987 (nss_parse_service_list): Don't leak on error paths.
5988 (free_database_entries): New function.
5989 (free_defconfig): New function.
5990 (free_mem): Move common code to free_database_entries.
5991
31a39bd8
L
59922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5993
da0331a8
L
5994 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5995 Add arch_prctl.
5996 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5997
31a39bd8
L
5998 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5999 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
6000 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
6001 New macro.
6002 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6003 (INTERNAL_SYSCALL_TYPES): Likewise.
6004 (LOAD_ARGS_TYPES_[1-6]): Likewise.
6005 (LOAD_REGS_TYPES_[1-6]): Likewise.
6006 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
6007 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
6008
45470df3
AZ
60092012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6010
6011 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
6012 copysignl for GLIBC_2_0.
6013 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6014 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6015 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6016 logbl for GLIBC_2_0.
6017 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6018 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6019
98a61bcb
L
60202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6021
a4f6e481
L
6022 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6023 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6024
f63d5db6
L
6025 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6026 Use "neg %eax".
6027
98a61bcb
L
6028 * time/mktime.c: Update copyright years.
6029
95770f14
PE
60302012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6031
6226efbd
PE
6032 mktime: merge comment-quoting-style change from gnulib
6033 * time/mktime.c: Quote 'like this' in comments.
6034 The GNU coding standards suggest that we no longer quote `like this',
6035 as "`" and "'" are typically rendered asymmetrically nowadays.
6036 The typical gnulib style is to quote 'like this' when quoting
6037 code, and "like this" when quoting English.
6038
b99e4f78
PE
6039 * time/mktime.c (compile-command): Add "-I.".
6040
643e01e6
PE
6041 mktime: merge mktime-internal.h change from gnulib
6042 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6043
2554247d
PE
6044 mktime: merge time_r change from gnulib
6045 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6046
826dd0ab
PE
6047 mktime: merge DEBUG change from gnulib
6048 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6049 case system <time.h> has a #define.
6050
bd83aabe
PE
6051 mktime: merge <sys/types.h> change from gnulib
6052 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6053 since <time.t> is now guaranteed to define time_t.
6054
95770f14
PE
6055 mktime: merge HAVE_CONFIG_H change from gnulib
6056 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6057
5e1a27a9
L
60582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6059
0e44a77e
L
6060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6061 Use "neg %eax".
6062
5e1a27a9
L
6063 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6064 __rlim_t cast.
6065 (struct rusage): Use anonymous union to pad each field to
6066 __syscall_slong_t.
6067
46259bec
DM
60682012-05-21 David S. Miller <davem@davemloft.net>
6069
6070 * Makefules (o-iterator): Remove .s cases.
6071 (compile-command.s): Delete.
6072 (COMPILE.s): Delete.
6073 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6074
59f0c22e
JM
60752012-05-21 Joseph Myers <joseph@codesourcery.com>
6076
6077 * configure.in (libc_cv_predef_stack_protector): Only consider
6078 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6079 * configure: Regenerated.
6080
20c07380
L
60812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6082
bbb3154b
L
6083 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6084 New macro. Use R*LP on int and pointer.
6085 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
6086 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6087 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
6088 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6089
20c07380
L
6090 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6091 [__WORDSIZE_TIME64_COMPAT32] instead of
6092 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6093 (struct utmp): Likewise.
6094 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6095 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6096 Renamed to ...
6097 (__WORDSIZE_TIME64_COMPAT32): This.
6098 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6099 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6100 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6101 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6102 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6103 (__WORDSIZE_TIME64_COMPAT32): New macro.
6104
d8d1017e
AJ
61052012-05-21 Andreas Jaeger <aj@suse.de>
6106
6107 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6108 only if [SHARED]. Add prototype for __wcschr_ia32.
6109
6c7fb145
RM
61102012-05-21 Roland McGrath <roland@hack.frob.com>
6111
6112 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6113 of %rbp unmolested in the jmp_buf while mangling the low bits.
6114 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6115 unmolested high bits of %rbp while demangling the low bits.
6116 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6117
66274218
AJ
61182012-05-21 Andreas Jaeger <aj@suse.de>
6119
07c58f8f
AJ
6120 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6121 * sunrpc/svc_simple.c: Use it for registerrpc.
6122 * sunrpc/xcrypt.c: Use it for passwd2des.
6123
66274218
AJ
6124 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6125
61f65140
L
61262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6127
6128 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6129 Don't define if [__SYSCALL_WORDSIZE != 32].
6130 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6131 New macro.
6132
5fefb436
AJ
61332012-05-21 Bruno Haible <bruno@clisp.org>
6134 Andreas Jaeger <aj@suse.de>
6135
6136 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6137 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6138 inptr and inend for must_buffer_ch.
6139 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6140 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6141 * stdio-common/Makefile (tests): Remove bug15.
6142 (bug15-ENV): Remove macro.
6143 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6144 anymore.
6145
d8e272ab
AJ
61462012-05-19 Andreas Jaeger <aj@suse.de>
6147 Roland McGrath <roland@hack.frob.com>
6148
6149 * manual/contrib.texi: Completely rewritten. It contains now an
6150 alphabetical list of contributors and their contributions.
6151
4a56a162
RH
61522012-05-21 Richard Henderson <rth@twiddle.net>
6153
6154 * misc/getauxval.c (__getauxval): Use unsigned long int.
6155 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6156 (getauxval): Use unsigned long int.
6157
d024d23c
L
61582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6159
6160 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6161
cbc00a03
RM
61622012-05-21 Roland McGrath <roland@hack.frob.com>
6163
6164 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6165 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6166 __alignof__ (long double).
6167
478143fa
AZ
61682012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6169
6170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6171
c7683a6d
RH
61722012-05-20 Richard Henderson <rth@twiddle.net>
6173
6174 * misc/getauxval.c: New file.
6175 * misc/sys/auxv.h: New file.
6176 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6177 (routines): Add getauxval.
6178 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6179 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6180 * elf/dl-sysdep.c (_dl_auxv): Remove.
6181 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6182 * elf/dl-support.c (_dl_auxv): New variable.
6183 (_dl_aux_init): Initialize it.
6184 * manual/startup.texi (Auxiliary Vector): New node.
6185 * sysdeps/generic/bits/hwcap.h: New file.
6186 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6187 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6188 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6189 * sysdeps/sparc/sysdep.h: ... here. Include it.
6190 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6191 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
6192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6193 Update.
c7683a6d
RH
6194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6202
a6f1845d
AZ
62032012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6204
6205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6206
cbcbe830
DM
62072012-05-19 David S. Miller <davem@davemloft.net>
6208
6209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6210
e0b16cc2
JM
62112012-05-19 Joseph Myers <joseph@codesourcery.com>
6212
6213 [BZ #14123]
6214 * math/s_ccosh.c: Include <float.h>
6215 (__ccosh): Avoid internal overflow calculating sinh and cosh
6216 values before multiplying by sin and cos values.
6217 * math/s_ccoshf.c: Likewise.
6218 * math/s_ccoshl.c: Likewise.
6219 * math/s_csin.c: Likewise.
6220 * math/s_csinf.c: Likewise.
6221 * math/s_csinl.c: Likewise.
6222 * math/s_csinh.c: Likewise.
6223 * math/s_csinhf.c: Likewise.
6224 * math/s_csinhl.c: Likewise.
6225 * math/libm-test.inc (ccos_test): Add more tests.
6226 (ccosh_test): Likewise.
6227 (csin_test): Likewise.
6228 (csinh_test): Likewise.
6229 * sysdeps/i386/fpu/libm-test-ulps: Update.
6230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6231
6ad13e08
L
62322012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6233
f66f0ce8
L
6234 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6235 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6236
6ad13e08
L
6237 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6238
b1d072a7
JM
62392012-05-19 Joseph Myers <joseph@codesourcery.com>
6240
6241 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6242 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6243 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6244 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6245 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6246 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6247 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6248 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6249 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6250 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6251 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6252 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6253 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6254 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6255 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6256 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6257 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6258 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6259 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6260 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6261 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6262 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6263 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6264 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6265 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6266 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6267 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6268 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6269 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6270 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6271 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6272
9eae47cb
AJ
62732012-05-18 Andreas Jaeger <aj@suse.de>
6274
6275 * csu/.gitignore: Delete.
6276
bb07f69f
L
62772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6278
6279 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6280 (timex): Use __syscall_slong_t.
6281
e6bdb741
AJ
62822012-05-18 Andreas Jaeger <aj@suse.de>
6283 Carlos O'Donell <carlos_odonell@mentor.com>
6284
6285 * manual/install.texi (Configuring and compiling): Update
6286 description about files modified in the source directory.
d6c33fda 6287 * INSTALL: Regenerated.
e6bdb741 6288
1b74487e
L
62892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6290
6291 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6292 value. Use "or" to set return value to -1.
6293 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6294 negate return value.
6295
a88b64b9
TMQMF
62962012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6297
6298 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6299 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6300 failure if the compiler has Graphite support disabled.
6301 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6302 Likewise.
6303 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6304 CFLAGS-memmove.c): Likewise.
6305 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6306 Likewise.
6307
3707636e
L
63082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6309
610b8622
L
6310 * sysdeps/x86_64/x32/_itoa.h: New file.
6311
7cd195df
L
6312 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6313 getdents system call only if kernel and user dirents have the
6314 same d_ino and d_off.
6315
94b07d20
L
6316 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6317 LLONG_MAX != LONG_MAX.
6318 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6319 (_fitoa_word): Likewise.
6320
18298070
L
6321 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6322 years.
6323 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6324 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6325 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6326
553c7ea4
L
6327 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6328 include <bits/wordsize.h>. Check __x86_64__ instead of
6329 __WORDSIZE.
6330 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6331 if __x86_64__ is defined. Use anonymous union on fpstate.
6332
3707636e
L
6333 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6334 anonymous union.
6335
b53ef01a
AS
63362012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6337
37fb1dc0
AS
6338 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6339 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6340 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6341 Refer to _rtld_local_ro instead of _rtld_global_ro.
6342 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6343 Likewise.
6344 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6345 Likewise.
6346 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6347 Likewise.
6348 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6349 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6350 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6351
b53ef01a
AS
6352 * sysdeps/powerpc/powerpc32/dl-machine.c
6353 (__elf_machine_runtime_setup) [PROF]: Don't reference
6354 _dl_prof_resolve.
6355
7a185db2
AJ
63562012-05-18 Andreas Jaeger <aj@suse.de>
6357
6358 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6359 function only available for GCCs before 3.4 since GCC 3.4
6360 introduced a builtin.
6361 (lrint): Likewise.
6362 (llrintf): Likewise.
6363 (llrint): Likewise.
6364 (fmaxf): Likewise.
6365 (fmax): Likewise.
6366 (fminf): Likewise.
6367 (fmin): Likewise.
6368 (rint): Likewise.
6369 (rintf): Likewise.
6370 (nearbyint): Likewise.
6371 (nearbyintf): Likewise.
6372 (ceil): Likewise.
6373 (ceilf): Likewise.
6374 (floor): Likewise.
6375 (floorf): Likewise.
6376
3e5aef87
L
63772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6378
428bd707
L
6379 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6380 on both fields and cast pointer to __syscall_ulong_t.
6381
3e5aef87
L
6382 * bits/types.h (__fsword_t): New type.
6383 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6384 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6385 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6386 (__FSWORD_T_TYPE): Likewise.
6387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6388 (__FSWORD_T_TYPE): Likewise.
6389 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6390 (__FSWORD_T_TYPE): Likewise.
6391 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6392 (__FSWORD_T_TYPE): Likewise.
6393 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6394 __SWORD_TYPE with __fsword_t.
6395 (statfs64): Likewise.
6396
1ba7c3dc
DM
63972012-05-17 David S. Miller <davem@davemloft.net>
6398
6399 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6400
59910343
AJ
64012012-05-17 Andreas Jaeger <aj@suse.de>
6402
6403 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6404 warning.
6405
2e4c1e9e
L
64062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6407
6408 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6409
de7f5ce7
AJ
64102012-05-17 Andreas Jaeger <aj@suse.de>
6411
6412 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6413 when it is used.
6414
286abc3d
CM
64152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6416
6417 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6418
477cc68e
L
64192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6420
6421 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6422 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6423
1a0994f5
CD
64242012-05-17 Andreas Jaeger <aj@suse.de>
6425 Carlos O'Donell <carlos_odonell@mentor.com>
6426
6427 [BZ #14059]
6428 * sysdeps/x86_64/multiarch/init-arch.h
6429 (bit_YMM_Usable): Rename to...
6430 (bit_AVX_Usable): ... this.
6431 (bit_FMA4_Usable): New macro.
6432 (bit_XMM_state): New macro.
6433 (bit_YMM_state): New macro.
6434 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6435 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6436 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6437 (CPUID_OSXSAVE): New macro.
6438 (CPUID_AVX): New macro.
6439 (CPUID_FMA4): New macro.
6440 (index_YMM_Usable): Rename to...
6441 (index_AVX_Usable): ... this.
6442 (HAS_AVX): Use HAS_ARCH_FEATURE.
6443 (HAS_FMA4): Likewise.
6444 (HAS_YMM_USABLE): Remove.
6445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6446 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6447 are present.
6448 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6449 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6450 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6451 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6452 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6453
0af797de
CM
64542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6455
6456 * math/libm-test.c: Support platforms without multiple rounding modes.
6457 * math/bug-nextafter.c: Support platforms without FP exceptions.
6458 * math/bug-nexttoward.c: Likewise.
6459 * math/test-fenv.c: Likewise.
6460 * math/test-misc.c: Likewise.
6461 * stdlib/bug-getcontext.c: Likewise.
6462
e39745ff
AJ
64632012-05-17 Andreas Jaeger <aj@suse.de>
6464
6465 * manual/examples/search.c (critter_cmp): Change signature to
6466 avoid warnings.
6467 * manual/string.texi (Collation Functions): Likewise.
6468
48970aba
L
64692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6470
6471 * bits/types.h: Fold copyright years.
6472 * bits/typesizes.h: Likewise.
6473 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6474 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6475 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6476 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6477 * time/time.h: Likewise.
6478
bedee953
PP
64792012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6480
6481 [BZ #208]
6482 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6483 in instead of returning them. Return void.
6484 (__libc_mallinfo): Accumulate over all arenas.
6485 (__malloc_stats): Adjust for change in int_mallinfo interface.
6486
61653dfb
RM
64872012-05-16 Roland McGrath <roland@hack.frob.com>
6488
30b99d79
RM
6489 [BZ #10375]
6490 * configure.in (NM): Add AC_CHECK_TOOL for it.
6491 (libc_extra_cflags): New substituted variable.
6492 Check for -fstack-protector being used implicitly.
6493 * configure: Regenerated.
6494 * config.make.in (config-extra-cflags): New variable,
6495 gets @libc_extra_cflags@.
6496 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6497
61653dfb
RM
6498 [BZ #10375]
6499 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6500 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6501 * configure: Regenerated.
6502 * config.make.in (CPPUNDEFS): New substituted variable.
6503 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6504 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6505 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6506
661768bb
L
65072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6508
6509 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6510 (mq_attr): Use __syscall_slong_t.
6511
d4261567
L
65122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6513
6514 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6515 Check __x86_64__ instead of __WORDSIZE.
6516 (_STAT_VER_LINUX): Likewise.
6517 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6518 __syscall_ulong_t and __syscall_slong_t.
6519 (stat64): Likewise.
6520
cf3ff365
L
65212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6522
6523 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6524
76cf3e4d
L
65252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6526
6527 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6528
a637753a
L
65292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6530
6531 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6532 __syscall_ulong_t.
6533
d5e05119
L
6534 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6535 include <bits/wordsize.h>. Check __x86_64__ instead of
6536 __WORDSIZE.
6537 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6538 defined.
6539 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6540
f62ee380
L
6541 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6542 include <bits/wordsize.h>. Check __x86_64__ instead of
6543 __WORDSIZE.
6544 (user_regs_struct): Use "__extension__ unsigned long long"
6545 instead of "unsigned long" if __x86_64__ is defined.
6546 (user): Likewise. Pad after pointer field if __ILP32__ is
6547 defined.
6548
4e124ced
JM
65492012-05-16 Joseph Myers <joseph@codesourcery.com>
6550
6a3951a0
JM
6551 * configure.in (makeinfo): Require version 4.5 or later. Allow
6552 versions 5 to 9.
6553 * configure: Regenerated.
6554 * manual/install.texi (texinfo): Increase version requirement to
6555 4.5 or later.
6556 * INSTALL: Regenerated.
6557
4e124ced
JM
6558 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6559
953ca31a
L
65602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6561
6562 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6563
617aca05
L
6564 * sysdeps/x86_64/x32/ffs.c: New file.
6565
5762f7ae
L
6566 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6567 __syscall_ulong_t.
6568 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6569 defined. Use __syscall_ulong_t.
6570 (shminfo): Use __syscall_ulong_t.
6571 (shm_info): Likewise.
6572
a26b6856
L
6573 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6574 __syscall_ulong_t.
6575
cb2b9ef7
L
6576 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6577 <bits/wordsize.h>.
6578 (msgqnum_t): Use __syscall_ulong_t.
6579 (msglen_t): Likewise.
6580 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6581 __syscall_ulong_t.
6582
34683bb0
L
6583 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6584 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6585
84a68786
L
6586 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6587
48baa5f1
L
6588 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6589 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6590
180be88b
L
6591 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6592 __syscall_slong_t.
6593
5e90c8ad
L
6594 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6595 include <bits/wordsize.h>. Check __x86_64__ instead of
6596 __WORDSIZE.
6597
23dfb58b
L
6598 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6599 "unsigned long long int" if __x86_64__ is defined.
6600 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6601
ce5d54b0
L
6602 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6603 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6604 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6605
13dc9eac
L
6606 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6607 <stdint.h>.
6608 (GET_PC): Cast to uintptr_t first.
6609 (GET_FRAME): Likewise.
6610 (GET_STACK): Likewise.
6611
a7895d15
L
6612 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6613 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6614 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6615 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6616 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6617 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6618 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6619 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6620 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6621 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6622 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6623 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6624 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6625 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6626 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6627 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6628 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6629 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6630 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6631 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6632 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6633 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6634 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6635 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6636 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6637 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6638 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6639 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6640 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6641
656416c9
AS
66422012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6643
5bd66283
AS
6644 * Makerules (+depfiles): Also collect depfiles from .oS in
6645 $(extra-objs).
6646 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6647 .oS, $(libnldbl-routines)).
6648
656416c9
AS
6649 * Makerules (native-compile-mkdep-flags): Define.
6650 * sunrpc/Makefile (extra-objs): Add $(addprefix
6651 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6652 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6653 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6654 calling $(make-target-directory).
6655
a46f2169
L
66562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6657
6658 * bits/types.h (__snseconds_t): Removed.
6659 * time/time.h (struct timespec): Replace __snseconds_t with
6660 __syscall_slong_t.
6661 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6662 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6663 Likewise.
6664 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6665 (__SNSECONDS_T_TYPE): Likewise.
6666 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6667 (__SNSECONDS_T_TYPE): Likewise.
6668 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6669 (__SNSECONDS_T_TYPE): Likewise.
6670
6af6528b
L
66712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6672
6673 * sysdeps/mach/hurd/bits/typesizes.h
6674 (__SYSCALL_SLONG_TYPE): New macro.
6675 (__SYSCALL_ULONG_TYPE): Likewise.
6676
de986b56
L
66772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6678
6679 * bits/types.h (__syscall_slong_t): New type.
6680 (__syscall_ulong_t): Likewise.
6681
6682 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6683 (__SYSCALL_ULONG_TYPE): Likewise.
6684 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6685 (__SYSCALL_SLONG_TYPE): Likewise.
6686 (__SYSCALL_ULONG_TYPE): Likewise.
6687 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6688 (__SYSCALL_SLONG_TYPE): Likewise.
6689 (__SYSCALL_ULONG_TYPE): Likewise.
6690 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6691 (__SYSCALL_SLONG_TYPE): Likewise.
6692 (__SYSCALL_ULONG_TYPE): Likewise.
6693
85736dc7
L
66942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6695
6696 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6697 Add sigaltstack-offsets.sym.
6698 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6699 <sigaltstack-offsets.h>.
6700 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6701 longjmp_msg pointer.
6702 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6703 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6704 signal stack.
6705 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6706
cc03b296
JM
67072012-05-15 Joseph Myers <joseph@codesourcery.com>
6708
a9538892
JM
6709 * elf/stackguard-macros.h: Remove file.
6710 * sysdeps/generic/stackguard-macros.h: New file.
6711 * sysdeps/i386/stackguard-macros.h: Likewise.
6712 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6713 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6714 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6715 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6716 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6717 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6718 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6719 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6720 <elf/stackguard-macros.h>.
6721
cc03b296
JM
6722 [BZ #14109]
6723 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6724 __aligned__ in attribute.
6725 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6726 (gregset_t): Likewise.
6727
93171016
L
67282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6729
6730 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6731 * sysdeps/x86_64/64/Implies-after: Here. New file.
6732 * sysdeps/x86_64/x32/Implies-after: New file.
6733
d86813a0
L
67342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6735
6736 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6737 and access return value for _dl_profile_fixup. Use R10_LP to
6738 load frame size.
6739
2953ec75
L
67402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6741
6742 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6743
3b550e9e
L
67442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6745
6746 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6747 * sysdeps/x86_64/x32/sysdep.h: New file.
6748
eda41706
L
67492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6750
6751 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6752 * sysdeps/x86_64/setjmp.S: Likewise.
6753
9ea01d93
AZ
67542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6755
6756 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6757 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6758 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6759 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6760 remove unused global constant.
6761
02a91938
CM
67622012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6763
6764 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6765 include of <not-cancel.h>.
6766
6540185f
RM
67672012-05-15 Roland McGrath <roland@hack.frob.com>
6768
6769 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6770
509072a0
AJ
67712012-05-15 Jeff Law <law@redhat.com>
6772 Andreas Jaeger <aj@suse.de>
6773
6774 [BZ #13594]
6775 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6776 out from...
6777 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6778 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6779 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6780 code changing __hst_map_handle.map.
6781
ba75122d
RM
67822012-05-15 Roland McGrath <roland@hack.frob.com>
6783
6784 * configure.in (sysnames): Look for Implies-before and Implies-after
6785 files.
6786 * configure: Regenerated.
6787
890d8bd8
L
67882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6789
6790 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6791 8-byte data alignment with LP_SIZE alignment.
6792
f6ee6623
L
67932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6794
6795 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6796 into R10_LP.
6797
ea2626f6
L
67982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6799
6800 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6801
085f715e
L
68022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6803
6804 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6805 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6806 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6807 Likewise.
6808 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6809
be8498fc
L
68102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6811
6812 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6813 (stackinfo_sub_sp): Likewise.
6814
70bc83b9
L
68152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6816
6817 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6818 RAX_LP.
6819
9bc0b730
L
68202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6821
6822 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6823 into R*_LP.
6824
6d2850e7
L
68252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6826
6827 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6828 sizes into R*_LP.
6829
3cb84561
L
68302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6831
6832 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6833
54e2ed81
L
68342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6835
6836 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6837 into R11_LP and load __x86_64_shared_cache_size_half into
6838 R8_LP.
6839
8a17f349
L
68402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6841
6842 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6843 R8_LP.
6844
777b1eea
AZ
68452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6846
6847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6848 logb for POWER7.
6849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6850 logbf for POWER7.
6851 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6852 logbl for POWER7.
6853 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6854 powerpc32/power7/fpu/s_logb.c via #include.
6855 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6856 powerpc32/power7/fpu/s_logbf.c via #include.
6857 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6858 powerpc32/power7/fpu/s_logbl.c via #include.
6859
d20d4ac2
JM
68602012-05-15 Joseph Myers <joseph@codesourcery.com>
6861
6862 * README.libm: Remove file.
6863
6cdef1ab
L
68642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6865
6866 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6867 count for x32. Use R*_LP and omit operand-size suffix.
6868
0b254d8f
L
68692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6870
6871 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6872 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6873 * sysdeps/x86_64/x32/shlib-versions: New file.
6874
ceb809dc
RM
68752012-05-14 Roland McGrath <roland@hack.frob.com>
6876
6877 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6878 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6879 Use _dl_fatal_printf instead.
6880
37f1abd4
JM
68812012-05-14 Joseph Myers <joseph@codesourcery.com>
6882
6883 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6884 set if not set by the user. Do not allow for being unset.
6885 * sysdeps/unix/sysv/linux/configure: Regenerated.
6886
11de3a33
L
68872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6888
6889 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6890 the `q' suffix from lea and replace .quad with ASM_ADDR.
6891
e02f153a
L
68922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6893
6894 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6895 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6896 instead of $17.
6897 (PTR_DEMANGLE): Likewise.
6898
520ae0fd
L
68992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6900
6901 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6902 (LP_OP): Likewise.
6903 (ASM_ADDR): Likewise.
6904 (RAX_LP): Likewise.
6905 (RBP_LP): Likewise.
6906 (RBX_LP): Likewise.
6907 (RCX_LP): Likewise.
6908 (RDI_LP): Likewise.
6909 (RSI_LP): Likewise.
6910 (RSP_LP): Likewise.
6911 (R8_LP): Likewise.
6912 (R9_LP): Likewise.
6913 (R10_LP): Likewise.
6914 (R10_LP): Likewise.
6915 (R11_LP): Likewise.
6916 (R12_LP): Likewise.
6917 (R13_LP): Likewise.
6918 (R14_LP): Likewise.
6919 (R15_LP): Likewise.
6920
b985be81
L
69212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6922
6923 * sysdeps/x86_64/x32/dl-machine.h: New file.
6924
6a4888ff
AJ
69252012-05-14 Andreas Jaeger <aj@suse.de>
6926
6927 * manual/Makefile (subdir): Remove export of subdir.
6928 (all): Remove target.
6929 (.PHONY): Remove all from list.
6930 (mkinstalldirs): Remove.
6931 (.PHONY): Remove installdirs from list.
6932 ($(inst_infodir)/libc.info): Use make-target-directory.
6933 (installdirs): Remove.
6934 (subdir_%): Remove.
6935 (glibc-targets): Remove.
6936 (lib): Remove.
6937 (stubs): Remove.
6938 ($(objpfx)stubs ../po/manual.pot): Remove.
6939 ($(objpfx)stamp%): Remove.
6940 (make-target-directory): Remove.
6941 (subdir_install): Remove.
6942 (routines): Remove.
6943 (aux): Remove.
6944 (sources): Remove.
6945 (objects): Remove.
6946 (headers): Remove.
6947
6948 [BZ #13750]
6949 * manual/.gitignore: Remove, it's not needed anymore.
6950 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6951 all files in it.
6952 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6953 directory.
6954 (texis): Renamed to $(objpfx)texis.
6955 (texis-path): New, contains path to generated files.
6956 (chapters.%): Use texis-path for complete path, add extra argument
6957 libc-texinfo.sh.
6958 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6959 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6960 (summary,texi, stamp-summary): Use complete path of
6961 files. Generate files in build dir.
6962 (dir-add.texi): Build in build dir.
6963 (libm-err.texi,stamp-libm-err): Likewise.
6964 (version.texi, stamp-version): Likewise.
6965 (.%c.texi): Likewise.
6966 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6967 (mostlyclean): Remove target.
6968 (realclean): Remove target.
6969 (generated): Add new variable with contents from mostlyclean and
6970 realclean, remove entries duplicated in common-mostlyclean, add
6971 stamp-libm-err and stamp-version.
6972 (generated-dirs): Add libc directory.
6973 ($(inst_infodir)/libc.info): Install files from build dir.
6974
6975 * manual/install.texi (Configuring and compiling): Adjust since
6976 the info files are not part of the tar ball anymore.
6977
7ac77294
AJ
69782012-05-14 Andreas Jaeger <aj@suse.de>
6979
6980 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6981 variable.
6982
ffb7875d
JM
69832012-05-14 Joseph Myers <joseph@codesourcery.com>
6984
6985 [BZ #13717]
6986 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6987 to 2.2.0 where earlier.
6988 * sysdeps/unix/sysv/linux/configure: Regenerated.
6989 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6990 Remove conditional code.
6991 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6992 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6993 Remove conditional code.
6994 [!__NR_lchown]: Likewise.
6995 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6996 [__NR_lchown]: Likewise.
6997 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6998 comment referencing __ASSUME_LCHOWN_SYSCALL.
6999 * sysdeps/unix/sysv/linux/i386/sigaction.c
7000 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7001 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7002 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
7003 Remove conditional code.
7004 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
7005 (__protocol_available): Remove #if 0 code.
7006 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
7007 conditional code.
7008 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
7009 * sysdeps/unix/sysv/linux/kernel-features.h
7010 (__ASSUME_GETCWD_SYSCALL): Don't define.
7011 (__ASSUME_REALTIME_SIGNALS): Likewise.
7012 (__ASSUME_PREAD_SYSCALL): Likewise.
7013 (__ASSUME_PWRITE_SYSCALL): Likewise.
7014 (__ASSUME_POLL_SYSCALL): Likewise.
7015 (__ASSUME_LCHOWN_SYSCALL): Likewise.
7016 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7017 non-SPARC.
7018 (__ASSUME_SIOCGIFNAME): Don't define.
7019 (__ASSUME_MSG_NOSIGNAL): Likewise.
7020 (__ASSUME_SENDFILE): Define unconditionally.
7021 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7022 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7023 conditional code.
7024 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7025 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7026 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7027 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7028 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7029 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7030 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7032 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7035 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7036 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7038 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7039 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7041 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7042 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7044 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7045 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7047 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7048 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7050 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7053 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7054 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7055 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7056 Remove conditional code.
7057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7058 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7059 Remove conditional code.
7060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7061 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7062 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7063 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7064 Remove conditional code.
7065 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7066 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7067 Remove conditional code.
7068 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7069 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7070 Remove conditional code.
7071 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7072 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7073 Remove conditional code.
7074 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7075 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7076 Remove conditional code.
7077 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7078 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7079 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7080 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7081 * sysdeps/unix/sysv/linux/sigaction.c
7082 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7083 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7084 * sysdeps/unix/sysv/linux/sigpending.c
7085 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7086 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7087 * sysdeps/unix/sysv/linux/sigprocmask.c
7088 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7089 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7090 * sysdeps/unix/sysv/linux/sigsuspend.c
7091 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7092 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7093 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7094 (__libc_missing_rt_sigs): Remove.
7095 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7096 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7097 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7098 Remove conditional code.
7099 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7100 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7101 return 1.
7102 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7103 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7104 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7105 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7106
1bfb7291
AJ
71072012-05-14 Andreas Jaeger <aj@suse.de>
7108
caae5a81
AJ
7109 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7110 it's not used in glibc.
7111 (__coshm1): Likewise.
7112 (__acosh1p): Likewise.
7113 (__sgn): Likewise.
7114
1bfb7291
AJ
7115 * manual/string.texi (Copying and Concatenation): Add missing
7116 variable in concat example.
7117 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7118
c044d724
L
71192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7120
144c5467 7121 [BZ #14103]
c044d724
L
7122 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7123 __builtin_clzl with __builtin_clzll.
7124
2523c62b
L
71252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7126
7127 [BZ #14104]
7128 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7129 libc_freeres_ptr.
7130
d7bb4c42
LD
71312012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7132
7133 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7134 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7135 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7136 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7137
9dc4e1fb
MF
71382012-05-14 Mike Frysinger <vapier@gentoo.org>
7139
7140 * NEWS: Update ia64 info.
7141
c7df0112
AS
71422012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7143
7144 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7145 used as bcopy.
7146
dc70356c
TS
71472012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7148
7149 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7150 * sysdeps/unix/syscalls.list (dup3): Likewise.
7151 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7152 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7153
9fb1a21f
L
71542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7155
7156 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7157 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7158
4822a2a5
L
71592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7160
7161 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7162 thread pointer.
7163 (TLS_IE): Use mov/add instead of movq/addq to load thread
7164 pointer.
7165 (TLS_GD_PREFIX): New.
7166 (TLS_GD): Use it.
7167
842b81d6
DM
71682012-05-11 David S. Miller <davem@davemloft.net>
7169
7170 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7171 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7172 (_FPU_SETCW): Likewise.
7173
1cf463cd
L
71742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7175
7176 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7177 is 32-byte aligned.
7178
60cc4a18
AS
71792012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7180
7181 [BZ #11837]
7182 * iconvdata/gb18030.c: Update tables.
7183 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7184 characters specially.
7185 (BODY for TO_LOOP): Add encoding of missing ranges.
7186
febb44a4
TS
71872012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7188
7189 [BZ #13673]
7190 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7191 * sysdeps/mach/hurd/dup3.c: Likewise.
7192 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7193 * sysdeps/powerpc/memmove.c:: Likewise.
7194
0a10fb9e
L
71952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7196
7197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7198 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7199
df8a552f
L
72002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7201
7202 * elf/elf.h (R_X86_64_RELATIVE64): New.
7203 (R_X86_64_NUM): Updated.
7204 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7205 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7206 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7207 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7208 tst-quad1pie tst-quad2pie
7209 (modules-names): Add tst-quadmod1 tst-quadmod2.
7210 ($(objpfx)tst-quad1): New dependency.
7211 ($(objpfx)tst-quad2): Likewise.
7212 ($(objpfx)tst-quad1pie): Likewise.
7213 ($(objpfx)tst-quad2pie): Likewise.
7214 * sysdeps/x86_64/tst-quad1.c: New file.
7215 * sysdeps/x86_64/tst-quad1pie.c: New file.
7216 * sysdeps/x86_64/tst-quad2.c: Likewise.
7217 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7218 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7219 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7220 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7221 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7222
f34d6f84
ST
72232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7224
f42d41d1
ST
7225 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7226 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7227 * streams/stropts.h (t_scalar_t): Define type.
7228
3c3571fc
ST
7229 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7230 (_PATH_PRESERVE): Set to "/var/lib".
7231 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7232
61f06bd3
ST
7233 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7234 instead of int.
7235
918d4d71
ST
7236 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7237 if __dir_mkfile succeeded.
7238
f34d6f84
ST
7239 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7240 checking for _hurd_dtablesize. Unlock it right after having
7241 finished _hurd_dtable allocation.
7242
10589b4a
TS
72432012-05-10 Thomas Schwinge <thomas@schwinge.name>
7244
674cdbc7
TS
7245 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7246 * sysdeps/mach/hurd/configure: Regenerated.
7247 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7248 special-casing to...
7249 * sysdeps/gnu/configure.in: ... this new file.
7250 * sysdeps/unix/sysv/linux/configure: Regenerated.
7251 * sysdeps/gnu/configure: New generated file.
7252
8e41b99f
TS
7253 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7254 for Linux: use nsec instead of usec, as well as:
7255 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7256 members of type struct timespec.
7257 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7258 New macros.
7259 (struct stat64): Likewise.
7260 (_STATBUF_ST_NSEC): New macro.
7261 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7262
10589b4a
TS
7263 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7264 __strtoul_internal rather than strtoul.
7265
63643c85
PT
72662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7267
7268 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7269 and reject them.
7270
3faebe6a
ST
72712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7272
7273 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7274 which preserves existing values.
7275 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7276
c6474b07
PT
72772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7278
7279 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7280 TIMEOUT values. Return EINVAL for NFDS values either negative or
7281 greater than FD_SETSIZE.
7282
1043890b
ST
72832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7284
7285 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7286 allocated, call __vm_protect to finish enabling the existing space, and
7287 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7288 allocate the remainder.
7289
37ed8b9b
PT
72902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7291
7292 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7293 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7294
db653660
ST
72952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7296
37ed8b9b
PT
7297 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7298 sysdeps/mach/hurd/readlink.c.
b29d4053 7299
db653660
ST
7300 * posix/tst-sysconf.c (posix_options): Only use
7301 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7302 _POSIX_SYNCHRONIZED_IO when they are defined
7303 * sysdeps/mach/hurd/bits/posix_opt.h:
7304 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7305 (_XOPEN_REALTIME): Undefine macro.
7306 (_XOPEN_REALTIME_THREADS): Undefine macro.
7307 (_XOPEN_SHM): Undefine macro.
7308 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7309 macro to -1.
7310 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7311 macro to -1.
7312 (_POSIX_ASYNC_IO): Undefine macro.
7313 (_POSIX_PRIORITIZED_IO): Undefine macro.
7314 (_POSIX_SPIN_LOCKS): Define macro to -1.
7315
ee16e894
ST
7316 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7317 SA_NODEFER, SA_RESETHAND.
7318 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7319 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7320 F_DUPFD_CLOEXEC.
7321
6103ae3b
TS
73222012-05-10 Thomas Schwinge <thomas@schwinge.name>
7323
7324 * elf/Makefile (pldd-modules): Define unconditionally.
7325
80b4e5f3
TS
73262012-05-10 Thomas Schwinge <thomas@schwinge.name>
7327
7328 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7329
edadcbd6
ST
73302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7331
7332 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7333 Return ENOENT when name is empty.
7334 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7335
80694780
TS
73362012-05-10 Thomas Schwinge <thomas@schwinge.name>
7337
1792c087
TS
7338 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7339
80694780
TS
7340 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7341
6b645f0d
ST
73422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7343
80694780
TS
7344 Fix mlock in all cases except non-readable pages.
7345 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7346 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 7347
6b645f0d
ST
7348 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7349 (__mkdir): When path is `/', just fail with EEXIST.
7350 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7351
e468f8a3
TS
73522012-05-10 Thomas Schwinge <thomas@schwinge.name>
7353
7354 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7355 <sys/uio.h> (for writev).
7356 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7357 and <sys/param.h> (for MIN).
7358
a4186cff
PT
73592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7360
7361 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7362 REQUESTED_TIME. Properly set the remaining time and return EINTR
7363 if interrupted.
7364
510bbf14
TS
73652012-05-10 Thomas Schwinge <thomas@schwinge.name>
7366
7367 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7368 Depend on against $(link-rpcuserlibs).
7369
5d5722e8
ST
73702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7371
a4186cff
PT
7372 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7373 (__libc_stack_end): Do not use attribute_relro.
7374 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7375 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 7376 to libthread-provided value.
a4186cff
PT
7377 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7378 attribute_relro.
5d5722e8 7379
37233df9
TS
73802012-05-10 Thomas Schwinge <thomas@schwinge.name>
7381
be971a2b
TS
7382 [BZ #3748]
7383 * bits/libc-lock.h (__libc_once_get): New macro.
7384 * sysdeps/mach/bits/libc-lock.h: Likewise.
7385 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7386 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7387 instead of using implementation details.
7388
37233df9
TS
7389 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7390 * libio/freopen.c: Likewise.
7391 * libio/freopen64.c: Likewise.
7392 * misc/syslog.c: Likewise.
7393 * nscd/connections.c: Likewise.
7394 * nscd/netgroupcache.c: Likewise.
7395 * sysdeps/posix/getcwd.c: Likewise.
7396
38de94a5
RM
73972012-05-10 Roland McGrath <roland@hack.frob.com>
7398
7399 * math/w_ilogbf.c: Add #include <limits.h>.
7400
67530489
ST
74012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7402
a4186cff 7403 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
7404 path instead of returning without unlocking.
7405
67530489
ST
7406 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7407 immediate-write ioctls.
7408 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7409
5aa3a74a
TS
74102012-05-10 Thomas Schwinge <thomas@schwinge.name>
7411
18bad2ae
TS
7412 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7413 __builtin_frame_address instead of making assumptions about the
7414 location of the return address relative to DATA. Force early load of
7415 the return address.
7416 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7417 __builtin_frame_address.
7418
5aa3a74a
TS
7419 dup3 for GNU Hurd.
7420 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7421 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7422 implement dup3 and do some further code clean-ups.
7423 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7424 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7425
ecd0de9a
ST
74262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7427
cd9fa985
ST
7428 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7429
a4186cff
PT
7430 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7431 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7432 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7433 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7434 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7435 d->port.lock.
802ca5a5 7436
a4186cff
PT
7437 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7438 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7439 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 7440
bcf55240
TS
74412012-05-10 Thomas Schwinge <thomas@schwinge.name>
7442
6960eb42
TS
7443 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7444 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7445 definitions.
7446
eb43375f
TS
7447 accept4 for GNU Hurd.
7448 * include/sys/socket.h (__libc_accept4): New prototype.
7449 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7450 to implement __libc_accept4.
7451 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7452 __libc_accept4.
7453 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7454
bcf55240
TS
7455 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7456 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7457 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7458 signal-defines.sym.
7459
6178c55b
ST
74602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7461
a4186cff 7462 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 7463
6f080c2f
TS
74642012-05-10 Thomas Schwinge <thomas@schwinge.name>
7465
7466 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7467 assertion on O_CLOEXEC flag.
7468 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7469 * hurd/intern-fd.c: Likewise.
7470 * hurd/port2fd.c: Likewise.
7471
bcfe3a54
ST
74722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7473
7474 [BZ #3906]
7475 * bits/in.h (IPV6_PKTINFO): Define new macro.
7476 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7477
89c9aa49
AZ
74782012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7479
7480 [BZ #13954]
7481 [BZ #13955]
7482 [BZ #13956]
7483 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7484 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7485 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7486 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7488 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7489 * math/libm-test.inc (logb_test) : Additional logb tests.
7490
021db4be
AJ
74912012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7492 Andreas Jaeger <aj@suse.de>
7493
7494 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7495 * configure: Regenerated.
7496 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7497 * config.make.in (link-obsolete-rpc): New substituted variable.
7498 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7499 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7500 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7501 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7502 so that libc.a contains the symbols.
7503 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7504 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7505 * sunrpc/auth_none.c: Likewise.
7506 * sunrpc/auth_unix.c: Likewise.
7507 * sunrpc/authdes_prot.c: Likewise.
7508 * sunrpc/authuxprot.c: Likewise.
7509 * sunrpc/clnt_gen.c: Likewise.
7510 * sunrpc/clnt_perr.c: Likewise.
7511 * sunrpc/clnt_raw.c: Likewise.
7512 * sunrpc/clnt_simp.c: Likewise.
7513 * sunrpc/clnt_tcp.c: Likewise.
7514 * sunrpc/clnt_udp.c: Likewise.
7515 * sunrpc/clnt_unix.c: Likewise.
7516 * sunrpc/des_crypt.c: Likewise.
7517 * sunrpc/des_soft.c: Likewise.
7518 * sunrpc/get_myaddr.c: Likewise.
7519 * sunrpc/key_call.c: Likewise.
7520 * sunrpc/key_prot.c: Likewise.
7521 * sunrpc/netname.c: Likewise.
7522 * sunrpc/pm_getmaps.c: Likewise.
7523 * sunrpc/pm_getport.c: Likewise.
7524 * sunrpc/pmap_clnt.c: Likewise.
7525 * sunrpc/pmap_prot.c: Likewise.
7526 * sunrpc/pmap_prot2.c: Likewise.
7527 * sunrpc/pmap_rmt.c: Likewise.
7528 * sunrpc/publickey.c: Likewise.
7529 * sunrpc/rpc_cmsg.c: Likewise.
7530 * sunrpc/rpc_common.c: Likewise.
7531 * sunrpc/rpc_dtable.c: Likewise.
7532 * sunrpc/rpc_prot.c: Likewise.
7533 * sunrpc/rpc_thread.c: Likewise.
7534 * sunrpc/rtime.c: Likewise.
7535 * sunrpc/svc.c: Likewise.
7536 * sunrpc/svc_auth.c: Likewise.
7537 * sunrpc/svc_raw.c: Likewise.
7538 * sunrpc/svc_run.c: Likewise.
7539 * sunrpc/svc_tcp.c: Likewise.
7540 * sunrpc/svc_udp.c: Likewise.
7541 * sunrpc/svc_unix.c: Likewise.
7542 * sunrpc/svcauth_des.c: Likewise.
7543 * sunrpc/xcrypt.c: Likewise.
7544 * sunrpc/xdr.c: Likewise.
7545 * sunrpc/xdr_array.c: Likewise.
7546 * sunrpc/xdr_float.c: Likewise.
7547 * sunrpc/xdr_intXX_t.c: Likewise.
7548 * sunrpc/xdr_mem.c: Likewise.
7549 * sunrpc/xdr_rec.c: Likewise.
7550 * sunrpc/xdr_ref.c: Likewise.
7551 * sunrpc/xdr_sizeof.c: Likewise.
7552 * sunrpc/xdr_stdio.c: Likewise.
7553
b5c086a2
RM
75542012-05-10 Roland McGrath <roland@hack.frob.com>
7555
7556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7557 change. Update copyright years.
7558
6d74dd09
JM
75592012-05-10 Joseph Myers <joseph@codesourcery.com>
7560
7561 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7562
28e72501
MK
75632012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7564 Joseph Myers <joseph@codesourcery.com>
7565 Paul Pluzhnikov <ppluzhnikov@google.com>
7566
7567 [BZ #14012]
7568 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7569 requiring rpcgen.
7570 [cross-compiling] (extra-libs): Likewise.
7571 [cross-compiling] (extra-libs-others): Likewise.
7572 [cross-compiling] (librpcsvc-routines): Likewise.
7573 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7574 [cross-compiling] (omit-deps): Likewise.
7575 (sunrpc-CPPFLAGS): New variable.
7576 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7577 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7578 (cross-rpcgen-objs): New variable.
7579 (extra-objs): Append $(cross-rpcgen-objs).
7580 ($(cross-rpcgen-objs)): New rule.
7581 ($(objpfx)cross-rpcgen): Likewise.
7582 (rpcgen-cmd): Define to use $(built-program-file). Expand
7583 comment.
7584 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7585 ($(objpfx)x%.stmp): Likewise.
7586 * sunrpc/proto.h [IS_IN_build] (_): Define.
7587 [IS_IN_build] (_libc_intl_domainname): Likewise.
7588
c8c59454
L
75892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7590
7591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7592 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7593 and R_X86_64_TPOFF64.
7594
6f27cd16
JM
75952012-05-10 Joseph Myers <joseph@codesourcery.com>
7596
7597 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7598 sysdeps/unix/sysv/syscalls.list.
7599 (stime): Likewise.
7600 (utime): Likewise.
7601 * sysdeps/unix/sysv/syscalls.list: Remove file.
7602
02467e1c
PE
76032012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7604
7605 [BZ #3440]
7606 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7607 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7608 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7609 (__LC_IDENTIFICATION): Make these macros useful in #if
7610 expressions, as required by C99.
7611
da392631
AS
76122012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7613
7614 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7615 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7616 after this.
7617
8115f29b
L
76182012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7619
7620 * stdlib/longlong.h: Updated from GCC.
7621
bdd74070
AJ
76222012-05-09 Andreas Jaeger <aj@suse.de>
7623
edfe0dbe
AJ
7624 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7625 default is first entry.
7626 (run_mode): Set type.
7627 (main): Remove informal message about syslog.
7628 (options): Fix typo.
7629
bcfe3a54
ST
7630 [BZ #14053]
7631 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7632 to asm.
bcfe3a54
ST
7633 (lrint): Likewise.
7634 (llrintf): Likewise.
7635 (llrint): Likewise.
7636 (rint): Likewise.
7637 (rintf): Likewise.
7638 (nearbyint): Likewise.
7639 (nearbyintf): Likewise.
bdd74070 7640
91d8d69e
AJ
76412012-05-09 Andreas Jaeger <aj@suse.de>
7642 Pedro Alves <palves@redhat.com>
7643
7644 * nscd/nscd.c (run_mode): Use enum.
7645 (main): Cleanup coding style issue.
7646
bb90b80b
AJ
76472012-05-09 Alexandre Oliva <aoliva@redhat.com>
7648 Andreas Jaeger <aj@suse.de>
7649
bcfe3a54
ST
7650 * nscd/nscd.c (go_background): Replaced with...
7651 (run_mode): ... this.
bb90b80b 7652 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7653 (options): Add -F --foreground.
7654 (main): Implement it.
7655 (parse_opt): Parse it.
bb90b80b 7656
1a4b75a1
AJ
76572012-05-09 Andreas Jaeger <aj@suse.de>
7658
7659 [BZ #14083]
7660 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7661 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7662 -Wconversion warning.
7663 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7664 Likewise.
7665
b1cc2472
JM
76662012-05-09 Joseph Myers <joseph@codesourcery.com>
7667
7668 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7669 == 0.
7670 (LC_ALL): Use macro-int-constant.
7671 (LC_COLLATE): Likewise.
7672 (LC_CTYPE): Likewise.
7673 (LC_MESSAGES): Likewise.
7674 (LC_MONETARY): Likewise.
7675 (LC_NUMERIC): Likewise.
7676 (LC_TIME): Likewise.
7677 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7678 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7679 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7680 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7681 Specify type.
7682 [C99-based standards] (float_t): Expect type.
7683 [C99-based standards] (double_t): Expect type.
7684 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7685 type.
7686 [C99-based standards] (HUGE_VALL): Likewise.
7687 [C99-based standards] (INFINITY): Likewise.
7688 [C99-based standards] (NAN): Likewise.
7689 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7690 [C99-based standards] (FP_NAN): Likewise.
7691 [C99-based standards] (FP_NORMAL): Likewise.
7692 [C99-based standards] (FP_SUBNORMAL): Likewise.
7693 [C99-based standards] (FP_ZERO): Likewise.
7694 [C99-based standards] (FP_FAST_FMA): Use
7695 optional-macro-int-constant. Specify type. Require == 1.
7696 [C99-based standards] (FP_FAST_FMAF): Likewise.
7697 [C99-based standards] (FP_FAST_FMAL): Likewise.
7698 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7699 [C99-based standards] (FP_ILOGBNAN): Likewise.
7700 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7701 Specify type.
7702 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7703 [C99-based standards] (math_errhandling): Specify type.
7704 [ISO99 || ISO11] (signgam): Do not allow.
7705 [non-C99-based standards] (copysignf): Do not allow.
7706 [non-C99-based standards] (exp2f): Likewise.
7707 [non-C99-based standards] (log2f): Likewise.
7708 [non-C99-based standards] (modff): Allow.
7709 [non-C99-based standards] (erff): Do not allow.
7710 [non-C99-based standards] (erfcf): Likewise.
7711 [non-C99-based standards] (gammaf): Likewise.
7712 [non-C99-based standards] (hypotf): Likewise.
7713 [non-C99-based standards] (j0f): Likewise.
7714 [non-C99-based standards] (j1f): Likewise.
7715 [non-C99-based standards] (jnf): Likewise.
7716 [non-C99-based standards] (lgammaf): Likewise.
7717 [non-C99-based standards] (tgammaf): Likewise.
7718 [non-C99-based standards] (y0f): Likewise.
7719 [non-C99-based standards] (y1f): Likewise.
7720 [non-C99-based standards] (ynf): Likewise.
7721 [non-C99-based standards] (isnanf): Likewise.
7722 [non-C99-based standards] (acoshf): Likewise.
7723 [non-C99-based standards] (asinhf): Likewise.
7724 [non-C99-based standards] (atanhf): Likewise.
7725 [non-C99-based standards] (cbrtf): Likewise.
7726 [non-C99-based standards] (expm1f): Likewise.
7727 [non-C99-based standards] (ilogbf): Likewise.
7728 [non-C99-based standards] (log1pf): Likewise.
7729 [non-C99-based standards] (logbf): Likewise.
7730 [non-C99-based standards] (nextafterf): Likewise.
7731 [non-C99-based standards] (remainderf): Likewise.
7732 [non-C99-based standards] (rintf): Likewise.
7733 [non-C99-based standards] (scalbf): Likewise.
7734 [non-C99-based standards] (copysignl): Likewise.
7735 [non-C99-based standards] (exp2l): Likewise.
7736 [non-C99-based standards] (log2l): Likewise.
7737 [non-C99-based standards] (modfl): Allow.
7738 [non-C99-based standards] (erfl): Do not allow.
7739 [non-C99-based standards] (erfcl): Likewise.
7740 [non-C99-based standards] (gammal): Likewise.
7741 [non-C99-based standards] (hypotl): Likewise.
7742 [non-C99-based standards] (j0l): Likewise.
7743 [non-C99-based standards] (j1l): Likewise.
7744 [non-C99-based standards] (jnl): Likewise.
7745 [non-C99-based standards] (lgammal): Likewise.
7746 [non-C99-based standards] (tgammal): Likewise.
7747 [non-C99-based standards] (y0l): Likewise.
7748 [non-C99-based standards] (y1l): Likewise.
7749 [non-C99-based standards] (ynl): Likewise.
7750 [non-C99-based standards] (isnanl): Likewise.
7751 [non-C99-based standards] (acoshl): Likewise.
7752 [non-C99-based standards] (asinhl): Likewise.
7753 [non-C99-based standards] (atanhl): Likewise.
7754 [non-C99-based standards] (cbrtl): Likewise.
7755 [non-C99-based standards] (expm1l): Likewise.
7756 [non-C99-based standards] (ilogbl): Likewise.
7757 [non-C99-based standards] (log1pl): Likewise.
7758 [non-C99-based standards] (logbl): Likewise.
7759 [non-C99-based standards] (nextafterl): Likewise.
7760 [non-C99-based standards] (remainderl): Likewise.
7761 [non-C99-based standards] (rintl): Likewise.
7762 [non-C99-based standards] (scalbl): Likewise.
7763 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7764 [non-C99-based standards] (FP_*): Do not allow.
7765 [C99-based standards] (FP_*): Change to
7766 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7767 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7768 allow.
7769 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7770 (SIG_ERR): Likewise.
7771 [X/Open-based standards] (SIG_HOLD): Likewise.
7772 (SIG_IGN): Likewise.
7773 (SIGABRT): Use macro-int-constant. Specify type. Require
7774 positive value.
7775 (SIGFPE): Likewise.
7776 (SIGILL): Likewise.
7777 (SIGINT): Likewise.
7778 (SIGSEGV): Likewise.
7779 (SIGTER): Likewise.
7780 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7781 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7782 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7783 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7784 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7785 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7786 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7787 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7788 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7789 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7790 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7791 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7792 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7793 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7794 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7795 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7796 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7797 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7798 [X/Open-based standards] (SIGTRAP): Likewise.
7799 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7800 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7801 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7802 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7803 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7804 allow.
7805
b9f1922d
IW
78062012-05-08 Ian Wienand <ianw@vmware.com>
7807
7808 [BZ #14080]
7809 * time/tzset.c (__tzset_parse_tz): Update default rules for
7810 daylight time changes in the Energy Policy Act of 2005.
7811
1db86e88
AJ
78122012-05-09 Andreas Jaeger <aj@suse.de>
7813
7814 [BZ #13983]
7815 * elf/ldconfig.c (parse_conf): Change string to make clear that
7816 ldconfig only issued a warning if ld.so.conf does not exist.
7817
dee4a4e3
DM
78182012-05-08 David S. Miller <davem@davemloft.net>
7819
ee0db190
DM
7820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7821 movxtod instead of popping the value on the stack.
7822
dee4a4e3
DM
7823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7824
6a43ec98
CD
78252012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7826
7827 * config.h.in: Add HAVE_ARM_PCS_VFP.
7828
05c2c961
RMG
78292012-05-08 Roland Mc Grath <roland@hack.frob.com>
7830
bcfe3a54
ST
7831 [BZ #13979]
7832 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7833 checking but the checks are disabled for any reason.
05c2c961 7834
4b30f61a
L
78352012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7836
7837 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7838 and ELF64_R_TYPE with ELFW(R_TYPE).
7839
eee2bc67
JM
78402012-05-08 Joseph Myers <joseph@codesourcery.com>
7841
7ea5391a
JM
7842 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7843 (ulimit): Likewise.
7844
eee2bc67
JM
7845 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7846 (settimeofday): Likewise.
7847
abb66a67
MF
78482012-05-08 Mike Frysinger <vapier@gentoo.org>
7849
7850 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7851 a struct th_u2 inside the union, and move tu_block/tu_code into
7852 a new th_u3 union of tu_block/tu_code inside of that. Move
7853 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7854 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7855 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7856 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7857 (th_stuff): Change to th_u1.tu_stuff.
7858 (th_data): Define.
7859 (th_msg): Change to th_u1.th_u2.tu_data.
7860
7f18b530
DM
78612012-05-07 David S. Miller <davem@davemloft.net>
7862
05760585
DM
7863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7864
7f18b530
DM
7865 [BZ #14074]
7866 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7867 (SETUP_PIC_REG): Use it.
7868 (SETUP_PIC_REG_LEAF): Use it.
7869
495fd99f
JM
78702012-05-07 Joseph Myers <joseph@codesourcery.com>
7871
7872 [BZ #13885]
7873 [BZ #13923]
7874 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7875 USE_AS_EXPM1L.
7876 (EXPL_FINITE): Likewise.
7877 (FLDLOG): Likewise.
7878 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7879 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7880 e_expl.S.
7881 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7882 USE_AS_EXPM1L.
7883 (EXPL_FINITE): Likewise.
7884 (FLDLOG): Likewise.
7885 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7886 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7887 e_expl.S.
7888 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7889 test of -max_value argument for long double.
7890 * sysdeps/i386/fpu/libm-test-ulps: Update.
7891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7892
6693d694
DM
78932012-05-06 David S. Miller <davem@davemloft.net>
7894
7895 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7896 quad soft-float symbols whose references which are compiler
7897 generated.
7898 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7899
6c23e11c
JM
79002012-05-06 Joseph Myers <joseph@codesourcery.com>
7901
d8b82cad
JM
7902 [BZ #13884]
7903 [BZ #13914]
7904 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7905 USE_AS_EXP10L.
7906 (EXPL_FINITE): Likewise.
7907 (FLDLOG): Likewise.
7908 (c0): Likewise.
7909 (c1): Likewise.
7910 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7911 Adjust comments for base varying.
7912 (__expl_finite): Change alias to EXPL_FINITE.
7913 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7914 e_expl.S.
7915 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7916 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7917 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7918 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7919 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7920 USE_AS_EXP10L.
7921 (EXPL_FINITE): Likewise.
7922 (FLDLOG): Likewise.
7923 (c0): Likewise.
7924 (c1): Likewise.
7925 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7926 Adjust comments for base varying.
7927 (__expl_finite): Change alias to EXPL_FINITE.
7928 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7929 tests for bugs.
7930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7931
6c23e11c
JM
7932 [BZ #14064]
7933 * math/libm-test.inc (check_float_internal): Correct ulp
7934 calculation for subnormal expected results.
7935
29ba805c
AJ
79362012-05-06 Andreas Jaeger <aj@suse.de>
7937
7938 * Makeconfig (+math-flags): New, set to -frounding-math.
7939 (+cflags): Add +math-flags so that all of glibc gets compiled with
7940 it.
7941
7942 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7943
7b17aeda
JM
79442012-05-05 Joseph Myers <joseph@codesourcery.com>
7945
5779f134
JM
7946 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7947 Disable one test.
7948
41498f4d
JM
7949 [BZ #13787]
7950 [BZ #13922]
7951 [BZ #14036]
7952 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7953 (__ieee754_expl): Allow for and saturate large arguments.
7954 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7955 (u_threshold): Likewise.
7956 (__exp): Call __ieee754_exp before checking for overflow and
7957 underflow.
7958 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7959 (u_threshold): Likewise.
7960 (__expf): Call __ieee754_expf before checking for overflow and
7961 underflow.
7962 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7963 (u_threshold): Likewise.
7964 (__expl): Call __ieee754_expl before checking for overflow and
7965 underflow.
7966 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7967 (__ieee754_expl): Allow for and saturate large arguments.
7968 * math/libm-test.inc (exp_test): Add another test. Do not allow
7969 missing overflow exception on overflow.
7970 (expm1_test): Do not allow missing overflow exception on overflow.
7971
6698b8bf
JM
7972 * sysdeps/i386/fpu/e_expl.c: Move to ...
7973 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7974 rather than using inline asm.
7975 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7976 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7977 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7978
7b17aeda
JM
7979 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7980 (nice): Likewise.
7981 (poll): Likewise.
7982 (signal): Likewise.
7983 (time): Likewise.
7984 (times): Likewise.
7985
f7c85819
JM
79862012-05-04 Joseph Myers <joseph@codesourcery.com>
7987
7988 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7989 sysdeps/unix/common/syscalls.list.
7990 (fchmod): Likewise.
7991 (fchown): Likewise.
7992 (ftruncate): Likewise.
7993 (getrusage): Likewise.
7994 (gettimeofday): Likewise.
7995 (setpgid): Likewise.
7996 (setregid): Likewise.
7997 (setreuid): Likewise.
7998 (sigaction): Likewise.
7999 (truncate): Likewise.
8000 (vhangup): Likewise.
8001 * sysdeps/unix/common/syscalls.list: Remove file.
8002 * sysdeps/unix/bsd/Implies: Don't include unix/common.
8003 * sysdeps/unix/sysv/linux/Implies: Likewise.
8004
336270d0
L
80052012-05-04 H.J. Lu <hongjiu.lu@intel.com>
8006
8007 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
8008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
8009 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
8010 Moved to ...
8011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8012 Here.
8013 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8014 to ...
8015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8016 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8017 to ...
8018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8019 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8020 to ...
8021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8022 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8023 to ...
8024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8025 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8026 to ...
8027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8028 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8029 to ...
8030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8031 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8032 to ...
8033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8034 Here.
8035 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8036 to ...
8037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8038 Here.
8039 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8040 to ...
8041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8042 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8043 Moved to ...
8044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8045 Here.
8046 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8047 to ...
8048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8049
d128e450
JM
80502012-05-04 Joseph Myers <joseph@codesourcery.com>
8051
fa8ee516
JM
8052 * sysdeps/unix/common/bits/dirent.h: Remove file.
8053 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8054
d128e450
JM
8055 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8056 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8057 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8058 * sysdeps/unix/bsd/isatty.c: Likewise.
8059 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8060 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8061 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8062
ff8faaf0 80632012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 8064
62881be4 8065 [BZ #13563]
31dc8730
AZ
8066 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8067 long double comparison inaccuracies.
8068 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8070
6fef930c
AS
80712012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8072
8073 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8074 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8075
8f203e6c
JM
80762012-05-04 Joseph Myers <joseph@codesourcery.com>
8077
8078 [BZ #14049]
8079 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8080 nonzero digits before rounding a hex value.
8081 * stdlib/tst-strtod.c (tests): Add another test.
8082
5197d9c2
AK
80832012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8084
8085 * sysdeps/s390/fpu/libm-test-ulps: Update.
8086
f0c1dedf
AJ
80872012-05-03 Andreas Jaeger <aj@suse.de>
8088
8089 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8090 does not get optimized out.
8091 (malloc_opt_barrier): New.
8092
a65ef2ae 80932012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 8094 Roland McGrath <roland@hack.frob.com>
a65ef2ae 8095
2b942cb7 8096 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 8097 intermediate file deletion.
2b942cb7 8098 (generated): Add .symlist files.
a65ef2ae 8099
54b71e02
JM
81002012-05-03 Joseph Myers <joseph@codesourcery.com>
8101
8102 [BZ #13775]
8103 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8104 Redirect under this condition.
8105 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8106 [__USE_GNU] (__dprintf_chk): Not under this condition.
8107 [__USE_GNU] (__vdprintf_chk): Likewise.
8108 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8109 under this condition.
8110 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8111 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8112 [__USE_XOPEN2K8] (vdprintf): Likewise.
8113 [__USE_GNU] (__dprintf_chk): Not under this condition.
8114 [__USE_GNU] (__vdprintf_chk): Likewise.
8115 [__USE_GNU] (dprintf): Likewise.
8116 [__USE_GNU] (vdprintf): Likewise.
8117
d3dfcc41
RM
81182012-05-03 Roland McGrath <roland@hack.frob.com>
8119
8120 * elf/Makefile (common-generated): Set this instead of generated for
8121 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8122 $(all-built-dso)-derived lists.
8123
7ac30cc5
AJ
81242012-05-03 Andreas Jaeger <aj@suse.de>
8125
0c51e550
AJ
8126 * sysdeps/i386/fpu/libm-test-ulps: Update.
8127
7ac30cc5
AJ
8128 * FAQ: Removed.
8129 * FAQ.in: Likewise.
8130 * scripts/gen-FAQ.pl: Likewise.
8131 * manual/install.texi (Installation): Point to online location of
8132 FAQ.
8133 * Makefile (files-for-dist): Remove FAQ.
8134 (FAQ): Remove.
8135
d4c2917f
AM
81362012-05-02 Allan McRae <allan@archlinux.org>
8137
8138 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8139 (LDFLAGS-reldepmod5.so): Likewise.
8140 (LDFLAGS-reldep6mod1.so): Likewise.
8141 (LDFLAGS-reldep6mod4.so): Likewise.
8142 (LDFLAGS-reldep8mod3.so): Likewise.
8143 (LDFLAGS-unload4mod1.so): Likewise.
8144 (LDFLAGS-unload4mod2.so): Likewise.
8145 (LDFLAGS-tst-initorder): Likewise.
8146 (LDFLAGS-tst-initordera2.so): Likewise.
8147 (LDFLAGS-tst-initordera3.so): Likewise.
8148 (LDFLAGS-tst-initordera4.so): Likewise.
8149 (LDFLAGS-tst-initorderb2.so): Likewise.
8150 (LDFLAGS-noload): Likewise.
8151 (LDFLAGS-next): Likewise.
8152 (LDFLAGS-order2mod1.so): Likewise.
8153 (LDFLAGS-order2mod2.so): Likewise.
8154 (LDFLAGS-tst-initorder2): Likewise.
8155 (LDFLAGS-tst-initorder2a.so): Likewise.
8156 (LDFLAGS-tst-initorder2b.so): Likewise.
8157 (LDFLAGS-tst-initorder2c.so): Likewise.
8158 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8159
d77f993f
DM
81602012-05-02 David S. Miller <davem@davemloft.net>
8161
8162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8163
171a70b4
PP
81642012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8165
8166 [BZ #14055]
8167 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8168
0be196ad
AJ
81692012-05-02 Andreas Jaeger <aj@suse.de>
8170
8171 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8172 since we manipulate rounding mode.
8173 (CPPFLAGS-test-idouble.c): Likewise.
8174 (CPPFLAGS-test-ifloat.c): Likewise.
8175 (CFLAGS-test-ldouble.c): Likewise.
8176 (CFLAGS-test-double.c): Likewise.
8177 (CFLAGS-test-float.c): Likewise.
8178 (CFLAGS-test-misc.c): Likewise.
8179 (CFLAGS-test-test-fenv.c): Likewise.
8180
4f9d04aa
AZ
81812012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8182
2b942cb7
RM
8183 [BZ #2550]
8184 [BZ #2570]
8185 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8186 comparisons to determine direction to adjust input.
4f9d04aa 8187
82a79e7d
RM
81882012-05-01 Roland McGrath <roland@hack.frob.com>
8189
f5a01ca9
RM
8190 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8191 output to the target.
8192
90fe4186
RM
8193 * scripts/localplt.awk: New file.
8194 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8195 (check-localplt-CFLAGS): Variable removed.
8196 ($(all-built-dso:=.jmprel)): New static pattern rule.
8197 (generated): Add those targets.
8198 (localplt-built-dso): New variable.
8199 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8200
8201 * elf/check-localplt.c: File removed.
8202
82397ed6
RM
8203 * scripts/check-execstack.awk: New file.
8204 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8205 (check-execstack-CFLAGS): Variable removed.
8206 ($(objpfx)check-execstack.h): Target removed.
8207 ($(objpfx)execstack-default): New target.
8208 (generated): Add that instead of check-execstack.h.
8209 ($(all-built-dso:=.phdr)): New static pattern rule.
8210 (generated): Add those targets.
8211 * elf/check-execstack.c: File removed.
8212
82a79e7d
RM
8213 * scripts/check-textrel.awk: New file.
8214 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8215 (check-textrel-CFLAGS): Variable removed.
8216 (all-built-dso): Use := to define.o
8217 ($(all-built-dso:=.dyn)): New static pattern rule.
8218 (generated): Add those targets.
8219 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8220 * config.make.in (READELF): New substituted variable.
8221 * elf/check-textrel.c: File removed.
8222
62fde54f 82232012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 8224
615605c9
JM
8225 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8226 allow.
8227 * conform/data/ctype.h-data [C99-based standards] (isblank):
8228 Expect function.
8229 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8230 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8231 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8232 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8233 Specify type. Require positive value.
8234 (EILSEQ): Likewise.
8235 (ERANGE): Likewise.
8236 [ISO || POSIX] (EILSEQ): Do not expect.
8237 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8238 Specify type. Require positive value.
8239 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8240 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8241 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8242 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8243 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8244 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8245 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8246 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8247 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8248 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8249 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8250 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8251 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8252 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8253 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8254 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8255 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8256 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8257 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8258 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8259 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8260 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8261 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8262 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8263 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8264 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8265 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8266 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8267 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8268 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8269 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8270 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8271 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8272 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8273 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8274 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8275 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8276 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8277 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8278 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8279 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8280 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8281 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8282 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8283 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8284 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8285 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8286 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8287 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8288 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8289 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8290 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8291 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8292 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8293 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8294 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8295 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8296 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8297 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8298 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8299 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8300 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8301 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8302 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8303 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8304 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8305 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8306 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8307 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8308 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8309 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8310 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8311 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8312 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8313 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8314 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8315 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8316 Require >= 2.
8317 (FLT_ROUNDS): Expect as macro, not constant.
8318 (FLT_MANT_DIG): Use macro-int-constant.
8319 (DBL_MANT_DIG): Likewise.
8320 (LDBL_MANT_DIG): Likewise.
8321 (FLT_DIG): Likewise.
8322 (DBL_DIG): Likewise.
8323 (LDBL_DIG): Likewise.
8324 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8325 (DBL_MIN_EXP): Likewise.
8326 (LDBL_MIN_EXP): Likewise.
8327 (FLT_MAX_EXP): Use macro-int-constant.
8328 (DBL_MAX_EXP): Likewise.
8329 (LDBL_MAX_EXP): Likewise.
8330 (FLT_MAX_10_EXP): Likewise.
8331 (DBL_MAX_10_EXP): Likewise.
8332 (LDBL_MAX_10_EXP): Likewise.
8333 (FLT_MAX): Use macro-constant.
8334 (DBL_MAX): Likewise.
8335 (LDBL_MAX): Likewise.
8336 (FLT_EPSILON): Use macro-constant. Give upper bound.
8337 (DBL_EPSILON): Likewise.
8338 (LDBL_EPSILON): Likewise.
8339 (FLT_MIN): Likewise.
8340 (DBL_MIN): Likewise.
8341 (LDBL_MIN): Likewise.
8342 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8343 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8344 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8345 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8346 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8347 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8348 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8349 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8350 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8351 [ISO11] (FLT_TRUE_MIN): Likewise.
8352 [ISO11] (LDBL_TRUE_MIN): Likewise.
8353 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8354 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8355 (SCHAR_MIN): Use macro-int-constant. Specify type.
8356 (SCHAR_MAX): Likewise.
8357 (UCHAR_MAX): Likewise.
8358 (CHAR_MIN): Likewise.
8359 (CHAR_MAX): Likewise.
8360 (MB_LEN_MAX): Use macro-int-constant.
8361 (SHRT_MIN): Use macro-int-constant. Specify type.
8362 (SHRT_MAX): Likewise.
8363 (USHRT_MAX): Likewise.
8364 (INT_MAX): Likewise.
8365 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8366 bound negative.
8367 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8368 bound with "U".
8369 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8370 bound with "L".
8371 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8372 bound negative. Suffix upper bound with "L".
8373 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8374 bound with "UL".
8375 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8376 Specify type.
8377 [C99-based standards] (LLONG_MAX): Likewise.
8378 [C99-based standards] (ULLONG_MAX): Likewise.
8379 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8380 == 0.
8381 [ISO11] (max_align_t): Require type.
8382 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8383
c9140a62
JM
8384 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8385 from $CFLAGS, without defining away __attribute__ calls.
8386 (checknamespace): Use $CFLAGS_namespace.
8387
9af0bf29
JM
8388 * conform/conformtest.pl (@keywords): Only include C99 keywords
8389 for standards based on C99 or C11.
8390
343222a2
JM
8391 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8392 Disable tests.
8393 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8394 UNIX98]: Likewise.
8395
661f8cf0
JM
8396 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8397 usability of symbols in #if.
8398
ee74b9cb
JM
8399 * conform/conformtest.pl: If macro or constant types start
8400 "promoted:", expect the symbol to be of the following type
8401 promoted by the integer promotions.
62fde54f 8402
aafc49b3
JM
8403 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8404 in one place. Also handle "macro-constant".
8405
fefdf574
JM
8406 * conform/conformtest.pl: Only accept expected macro values with
8407 "==". Parse all "macro" lines in one place.
8408 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8409
f2d922fe
JM
8410 * conform/conformtest.pl: Handle braced types on "constant" lines
8411 instead of handling "typed-constant".
8412 * conform/data/signal.h-data: Use "constant" instead of
8413 "typed-constant".
8414
d22956c9
JM
8415 * conform/conformtest.pl: Handle "optional-" at start of lines in
8416 one place rather than duplicating several cases. Handle each
8417 format of "macro" line with initial "optional-".
8418
028e2e38
JM
8419 * conform/conformtest.pl: Only accept expected constant or
8420 optional-constant values with "==". Parse all "constant" lines in
8421 one place. Parse all "optional-constant" lines in one place.
8422 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8423 * conform/data/fmtmsg.h-data: Likewise.
8424 * conform/data/netinet/in.h-data: Likewise.
8425 * conform/data/tar.h-data: Likewise.
8426 * conform/data/limits.h-data: Use "==" form on "constant" and
8427 "optional-constant" lines.
8428
1b8f2850
JM
8429 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8430 Use -std=c99 for XOPEN2K.
8431 (@knownproblems): Remove.
8432 (newtoken): Don't check %isknown.
8433
a05a144b
JM
8434 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8435 Do not expect macro.
8436 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8437 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8438 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8439 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8440 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8441 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8442 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8443 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8444 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8445 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8446 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8447 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8448 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8449 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8450 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8451 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8452 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8453 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8454 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8455 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8456 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8457 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8458 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8459 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8460 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8461 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8462 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8463 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8464 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8465 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8466 [XPG3] (acosh): Likewise.
8467 [XPG3] (asinh): Likewise.
8468 [XPG3] (atanh): Likewise.
8469 [XPG3] (cbrt): Likewise.
8470 [XPG3] (expm1): Likewise.
8471 [XPG3] (ilogb): Likewise.
8472 [XPG3] (log1p): Likewise.
8473 [XPG3] (logb): Likewise.
8474 [XPG3] (nextafter): Likewise.
8475 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8476 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8477 [XPG3] (remainder): Likewise.
8478 [XPG3] (rint): Likewise.
8479 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8480 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8481 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8482 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8483 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8484 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8485 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8486 [UNIX98 || XOPEN2K] (scalb): Expect.
8487 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8488 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8489 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8490 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8491 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8492 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8493 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8494 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8495 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8496 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8497 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8498 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8499 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8500 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8501 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8502 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8503 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8504 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8505 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8506 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8507 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8508 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8509 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8510 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8511 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8512 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8513 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8514 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8515 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8516 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8517 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8518 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8519 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8520 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8521 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8522 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8523 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8524 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8525 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8526 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8527 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8528 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8529 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8530 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8531 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8532 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8533 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8534 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8535 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8536 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8537 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8538 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8539 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8540 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8541 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8542 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8543 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8544 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8545 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8546 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8547 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8548 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8549 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8550 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8551 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8552 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8553 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8554 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8555 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8556 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8557 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8558 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8559 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8560 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8561 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8562 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8563 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8564 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8565 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8566 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8567 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8568 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8569 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8570 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8571 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8572 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8573 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8574 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8575 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8576 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8577 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8578 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8579 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8580 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8581 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8582 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8583 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8584 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8585 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8586 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8587 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8588 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8589 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8590 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8591 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8592 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8593 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8594 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8595 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8596 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8597 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8598 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8599 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8600 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8601 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8602 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8603 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8604 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8605 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8606 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8607 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8608 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8609 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8610 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8611 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8612 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8613 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8614 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8615 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8616 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8617 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8618 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8619 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8620 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8621 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8622 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8623 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8624
73c5ebe3
JM
8625 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8626 _XOPEN_SOURCE_EXTENDED for XPG4.
8627
39c33b6c
JM
8628 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8629
62fde54f
JM
8630 * Makeconfig (localtime): Remove variable.
8631 (inst_localtime-file): Likewise.
8632
0741d64c
AS
86332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8634
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8636 Update.
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8638 Update.
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8640 Update.
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8642 Update.
8643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8644 Update.
8645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8646 Update.
8647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8648 Update.
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8650 Update.
8651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8652 Update.
8653
7cb029ee
JM
86542012-05-01 Joseph Myers <joseph@codesourcery.com>
8655
8656 [BZ #2550]
8657 [BZ #2570]
8658 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8659 comparisons to determine direction to adjust input.
8660 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8661 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8662 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8663 Likewise.
8664 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8665 Likewise.
8666 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8667 Likewise.
8668 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8669 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8670 Likewise.
8671 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8672 Likewise.
8673 * math/libm-test.inc (nexttoward_test): Add more tests.
8674
412bd966
AS
86752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8676
8677 [BZ #14040]
8678 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8679 in version GLIBC_2.1, not GLIBC_2.0.
8680 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8681 Likewise.
8682
9568c0c2
JM
86832012-04-30 Joseph Myers <joseph@codesourcery.com>
8684
adfbc8ac
JM
8685 [BZ #13942]
8686 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8687 (1 - x) * (1 + x).
8688 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8689 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8690 * math/libm-test.inc (acos_test): Add more tests.
8691 (asin_test): Likewise.
8692 * sysdeps/i386/fpu/libm-test-ulps: Update.
8693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8694
5ba3cc69
JM
8695 [BZ #14034]
8696 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8697 of square root.
8698 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8699 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8700 * math/libm-test.inc (acos_test_tonearest): New function.
8701 (acos_test_towardzero): Likewise.
8702 (acos_test_downward): Likewise.
8703 (acos_test_upward): Likewise.
8704 (asin_test_tonearest): Likewise.
8705 (asin_test_towardzero): Likewise.
8706 (asin_test_downward): Likewise.
8707 (asin_test_upward): Likewise.
8708 (main): Call the new functions.
8709 * sysdeps/i386/fpu/libm-test-ulps: Update.
8710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8711
9568c0c2
JM
8712 [BZ #13884]
8713 [BZ #13924]
8714 * math/e_exp10.c: Include <float.h>.
8715 (__ieee754_exp10): Handle underflow here rather than multiplying
8716 large negative argument by M_LN10.
8717 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8718 of __ieee754_expf.
8719 * math/e_exp10l.c: Include <float.h>.
8720 (__ieee754_exp10l): Handle underflow here rather than multiplying
8721 large negative argument by M_LN10l.
8722 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8723 spurious overflow exception on underflow.
8724
5ac3ea17
MP
87252012-04-29 Marek Polacek <polacek@redhat.com>
8726
8727 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8728 (__fortify_function): New macro.
8729 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8730 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8731 __extern_always_inline.
8732 * libio/bits/stdio2.h: Likewise.
8733 * libio/bits/stdio.h: Likewise.
8734 * string/string.h: Likewise.
8735 * string/bits/string3.h: Likewise.
8736 * include/stdio.h: Likewise.
8737 * stdlib/bits/stdlib.h: Likewise.
8738 * stdlib/stdlib.h: Likewise.
8739 * rt/bits/mqueue2.h: Likewise.
8740 * rt/mqueue.h: Likewise.
8741 * posix/bits/unistd.h: Likewise.
8742 * posix/unistd.h: Likewise.
8743 * io/bits/poll2.h: Likewise.
8744 * io/bits/fcntl2.h: Likewise.
8745 * io/fcntl.h: Likewise.
8746 * io/sys/poll.h: Likewise.
8747 * misc/bits/syslog.h: Likewise.
8748 * misc/bits/syslog-ldbl.h: Likewise.
8749 * misc/sys/syslog.h: Likewise.
8750 * socket/bits/socket2.h: Likewise.
8751 * socket/sys/socket.h: Likewise.
8752 * debug/tst-chk1.c: Likewise.
8753 * wcsmbs/bits/wchar2.h: Likewise.
8754 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8755 * wcsmbs/wchar.h: Likewise.
8756
ecf0ebfb
AJ
87572012-04-29 Andreas Jaeger <aj@suse.de>
8758
8759 * Makerules (tests): Remove enable-check-abi protection.
8760 (check-abi-warn): Remove.
8761 (check-abi-%): Remove check-abi-warn usage.
8762
8763 * configure.in: Remove check-abi configure option.
8764 * configure: Regenerated.
8765 * config.make.in (enable-check-abi): Remove.
8766
6d5c57fa
AS
87672012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8768
24c5d07e 8769 [BZ #14033]
ded5180a
AS
8770 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8771 double functions to double *_finite functions.
8772
7e0d315d
AS
8773 [BZ #13941]
8774 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8775 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8776 LDBL_MIN_EXP.
8777 * stdio-common/Makefile (tests): Add tst-sprintf3.
8778 * stdio-common/tst-sprintf3.c: New file.
8779
6d5c57fa
AS
8780 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8781 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8782
0749ff8b
JM
87832012-04-28 Joseph Myers <joseph@codesourcery.com>
8784
8785 * conform/conformtest.pl: Remove duplicate typed-constant
8786 handling.
8787
8dbd5d7b
DM
87882012-04-28 David S. Miller <davem@davemloft.net>
8789
8790 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8791 (check-abi-%): Remove AWK script prerequisite and explicit
8792 abilist directory.
8793 (check-abi): Rewrite to just diff the symlist with the abilist.
8794 (config-tls, config-abi-config): Delete, no longer used.
8795 (update-abi-%): Remove AWK script and explicit abilist directory.
8796 (update-abi): Rewrite to simply compare and conditionally copy the
8797 symlist and the sysdep abilist file. Remove update-abi-config
8798 checks.
8799 * abilist/ld.abilist: Remove.
8800 * abilist/libBrokenLocale.abilist: Remove.
8801 * abilist/libanl.abilist: Remove.
8802 * abilist/libcrypt.abilist: Remove.
8803 * abilist/libdl.abilist: Remove.
8804 * abilist/librt.abilist: Remove.
8805 * abilist/libthread_db.abilist: Remove.
8806 * abilist/libutil.abilist: Remove.
8807 * scripts/extract-abilist.awk: Remove.
8808 * scripts/merge-abilist.awk: Remove.
8809 * sysdeps/generic/libcidn.abilist: New file.
8810 * sysdeps/generic/libnss_compat.abilist: New file.
8811 * sysdeps/generic/libnss_db.abilist: New file.
8812 * sysdeps/generic/libnss_dns.abilist: New file.
8813 * sysdeps/generic/libnss_files.abilist: New file.
8814 * sysdeps/generic/libnss_hesiod.abilist: New file.
8815 * sysdeps/generic/libnss_nis.abilist: New file.
8816 * sysdeps/generic/libnss_nisplus.abilist: New file.
8817 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8818 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8819 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8820 file.
8821 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8822 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8823 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8824 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8825 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8826 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8827 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8828 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8829 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8830 file.
8831 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8832 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8833 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8834 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8835 file.
8836 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8837 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8838 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8839 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8840 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8841 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8842 file.
8843 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8844 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8845 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8846 file.
8847 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8849 New file.
8850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8851 New file.
8852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8853 New file.
8854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8855 New file.
8856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8857 New file.
8858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8859 New file.
8860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8861 New file.
8862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8863 New file.
8864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8865 New file.
8866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8867 New file.
8868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8869 New file.
8870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8871 New file.
8872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8873 New file.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8875 file.
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8877 New file.
8878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8879 New file.
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8881 file.
8882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8883 New file.
8884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8885 New file.
8886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8887 file.
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8889 New file.
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8891 New file.
8892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8893 New file.
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8895 New file.
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8897 New file.
8898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8899 New file.
8900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8902 file.
8903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8904 New file.
8905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8906 file.
8907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8908 file.
8909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8910 file.
8911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8912 file.
8913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8914 file.
8915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8916 New file.
8917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8918 file.
8919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8920 file.
8921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8922 New file.
8923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8924 file.
8925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8927 file.
8928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8929 New file.
8930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8931 file.
8932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8933 file.
8934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8935 file.
8936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8937 file.
8938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8939 file.
8940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8941 New file.
8942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8943 file.
8944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8945 file.
8946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8947 New file.
8948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8949 file.
8950 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8951 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8952 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8953 file.
8954 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8955 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8956 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8957 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8958 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8959 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8960 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8961 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8962 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8963 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8966 file.
8967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8968 New file.
8969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8970 file.
8971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8972 file.
8973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8974 file.
8975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8976 file.
8977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8978 file.
8979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8980 New file.
8981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8982 New file.
8983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8984 file.
8985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8986 New file.
8987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8988 file.
8989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8991 file.
8992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8993 New file.
8994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8995 file.
8996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8997 file.
8998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8999 file.
9000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
9001 file.
9002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
9003 file.
9004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9005 New file.
9006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9007 New file.
9008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
9009 file.
9010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9011 New file.
9012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9013 file.
9014
41d73a1b
JM
90152012-04-28 Joseph Myers <joseph@codesourcery.com>
9016
9017 * conform/conformtest.pl: Fix typo in handling typed-constant from
9018 allow-header.
9019
28aeeda4
JM
90202012-04-27 Joseph Myers <joseph@codesourcery.com>
9021
adae8f5e
JM
9022 * README: Cut down references to pre-2.6 Linux kernels and
9023 Linuxthreads. Update lists of configurations in libc and ports
9024 and sort alphabetically. Say "or newer" with Linux kernel version
9025 requirements.
9026
28aeeda4
JM
9027 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9028
a462cb63
RA
90292012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9030
9031 [BZ #887]
9032 * math/libm-test.inc (logb_test_downward): New test to expose
9033 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9034 rounding mode.
9035
6ad3493e
JM
90362012-04-27 Joseph Myers <joseph@codesourcery.com>
9037
9038 [BZ #14027]
9039 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9040 to be done.
9041 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9042 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9043
2ce4f015
JM
90442012-04-26 Joseph Myers <joseph@codesourcery.com>
9045
5aeb141a
JM
9046 * sysdeps/unix/i386/brk.S: Remove file.
9047 * sysdeps/unix/i386/dl-brk.S: Likewise.
9048 * sysdeps/unix/i386/pipe.S: Likewise.
9049 * sysdeps/unix/i386/sigreturn.S: Likewise.
9050 * sysdeps/unix/i386/syscall.S: Likewise.
9051 * sysdeps/unix/i386/vfork.S: Likewise.
9052 * sysdeps/unix/i386/wait.S: Likewise.
9053
7143acae
JM
9054 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9055 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9056
2ce4f015
JM
9057 * configure.in (arm*-none*): Do not allow without
9058 --enable-hacker-mode.
9059 (netbsd*): Remove case setting base_os.
9060 (386bsd*): Likewise.
9061 (freebsd*): Likewise.
9062 (bsdi*): Likewise.
9063 (osf*): Likewise.
9064 (sunos*): Likewise.
9065 (ultrix*): Likewise.
9066 (newsos*): Likewise.
9067 (dynix*): Likewise.
9068 (*bsd*): Likewise.
9069 (sysv*): Likewise.
9070 (isc*): Likewise.
9071 (esix*): Likewise.
9072 (sco*): Likewise.
9073 (minix*): Likewise.
9074 (irix4*): Likewise.
9075 (irix6*): Likewise.
9076 (solaris[2-9]*): Likewise.
9077 (none): Likewise.
9078 * configure: Regenerated.
9079
0ac229c8
AZ
90802012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9081
9082 [BZ #11521]
9083 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9084 overflow or cancellation in calculating denominator.
9085 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9086 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9087 down expression to avoid unexpected rounding in newer GCCs.
9088 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9089
33f244f4
DM
90902012-04-26 David S. Miller <davem@davemloft.net>
9091
9092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9093 long-double compat symbols.
9094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9107
cfa1f3e8
DM
91082012-04-25 David S. Miller <davem@davemloft.net>
9109
9110 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9111 HWCAP_* values only after the memory barriers have been defined.
9112 (atomic_full_barrier): Define.
9113 (atomic_read_barrier): Define.
9114 (atomic_write_barrier): Define.
9115
6e236b92
SP
91162012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9117
9118 * shlib-versions: Add libgcc_s version information.
9119 * sysdeps/generic/libgcc_s.h: Remove.
9120 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9121 libgcc_s.h.
9122 * sysdeps/gnu/unwind-resume.c: Likewise.
9123 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9124
aab39a09
DM
91252012-04-25 David S. Miller <davem@davemloft.net>
9126
9127 * sysdeps/unix/sparc/brk.S: Delete.
9128 * sysdeps/unix/sparc/dl-brk.S: Delete.
9129 * sysdeps/unix/sparc/pipe.S: Delete.
9130 * sysdeps/unix/sparc/sysdep.S: Delete.
9131 * sysdeps/unix/sparc/sysdep.h: Delete.
9132 * sysdeps/unix/sparc/vfork.S: Delete.
9133 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9134 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9135 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9136 ret_ERRVAL, r0, r1, MOVE): Define.
9137 (JUMPTARGET): Remove.
9138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9139 sysdeps/unix/sparc/sysdep.h
9140 (ENTRY, END): Remove.
9141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9142
a3cc4f48
JM
91432012-04-25 Joseph Myers <joseph@codesourcery.com>
9144
2ed8cda2
JM
9145 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9146 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9147 -DIS_IN_build.
9148
35d76d59
JM
9149 * timezone/README: Update upstream location and email address for
9150 tzcode and tzdata.
9151 * timezone/zdump.c: Update from tzcode 2012b.
9152 * timezone/zic.c: Likewise.
9153
a3cc4f48
JM
9154 * configure.in (libc_cv_as_needed): Remove test.
9155 * configure: Regenerated.
9156 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9157 conditional definition.
9158 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9159 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9160 * config.make.in (have-as-needed): Remove variable.
9161
ceab42c3
SP
91622012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9163 Paul Pluzhnikov <ppluzhnikov@google.com>
9164
9165 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9166 strings correctly.
9167
3ce2865f
CLT
91682012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9169
9170 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9171 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9172 * sysdeps/sh/strlen.S: Likewise.
9173
f37e0d68
JM
91742012-04-24 Joseph Myers <joseph@codesourcery.com>
9175
ae186e9a
JM
9176 * sysdeps/unix/fork.S: Remove file.
9177 * sysdeps/unix/i386/fork.S: Likewise.
9178 * sysdeps/unix/sparc/fork.S: Likewise.
9179
b96914af
JM
9180 * sysdeps/unix/system.c: Remove file.
9181 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9182
f37e0d68
JM
9183 * sysdeps/unix/getegid.S: Remove file.
9184 * sysdeps/unix/geteuid.S: Likewise.
9185
87ef29ca
RM
91862012-04-24 Roland McGrath <roland@hack.frob.com>
9187
83bcd236
RM
9188 * scripts/check-localplt.awk: New file.
9189 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9190 of diff.
9191 * scripts/data/localplt-generic.data: Add a comment.
9192
87ef29ca
RM
9193 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9194 NODE when __dir_mkfile failed.
9195 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9196 Reported by Ludovic Courtès <ludo@gnu.org>.
9197
e5a6e567
AJ
91982012-04-24 Andreas Jaeger <aj@suse.de>
9199
9200 * Makerules (common-clean): Also remove gen-as-const-headers
9201 files.
9202
c1820385
JM
92032012-04-24 Joseph Myers <joseph@codesourcery.com>
9204
9205 * Makerules (native-compile): Do not change working directory for
9206 build. Use $(OUTPUT_OPTION) in command.
9207 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9208
94e02fc4
AZ
92092012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9210
9211 [BZ #13886]
9212 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9213 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9214 * math/libm-test.inc (floor_test): Add more tests.
9215 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9216
3a533ca3
JM
92172012-04-24 Joseph Myers <joseph@codesourcery.com>
9218
940ab4b3
JM
9219 * sysdeps/unix/getdents.c: Remove file.
9220 * sysdeps/unix/sysv/getdents.c: Likewise.
9221 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9222
90e037bd
JM
9223 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9224 sysdeps/unix/mman/syscalls.list.
9225 (mmap): Likewise.
9226 (mprotect): Likewise.
9227 (msync): Likewise.
9228 (munmap): Likewise.
9229 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9230 * sysdeps/unix/mman/syscalls.list: Remove.
9231 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9232
3a533ca3
JM
9233 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9234 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9235 * configure: Regenerated.
9236 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9237 $(libgcc_s_suffix).
9238 * config.make.in (libgcc_s_suffix): Remove variable.
9239
1ad743de
JM
92402012-04-23 Joseph Myers <joseph@codesourcery.com>
9241
4ad451e2
JM
9242 * sysdeps/unix/sysv/gethostname.c: Move to ...
9243 * sysdeps/posix/gethostname.c: ... here.
9244
5e37ce39
JM
9245 * sysdeps/unix/execve.S: Remove file.
9246
1ad743de
JM
9247 * sysdeps/unix/_exit.S: Remove file.
9248
4e681b5b
AJ
92492012-04-23 Andreas Jaeger <aj@suse.de>
9250
9251 [BZ #13739]
9252 * manual/Makefile: Remove make dist support, there's no
9253 need for a stand-alone documentation tar ball.
9254 (TEXI2DVI): Define always, it's not in Makeconfig.
9255 (dist): Removed.
9256 (tar-it): Removed.
9257 (edition): Removed.
9258 (glibc-doc-$(edition).tar): Removed
9259 (%.Z): Removed.
9260 (%.gz): Removed.
9261 (%.uu): Removed.
9262 (ETAGS): Remove, it's in Makeconfig.
9263 (move-if-change): Remove, it's in Makeconfig.
9264
c0baea34
PE
92652013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9266
9267 [BZ #13970]
9268 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9269 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9270 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9271 (strtod_l, strtof_l, strtold_l): Remove __wur.
9272 It is not necessarily an error to ignore strtol's return value.
9273 One can reliably look at the stored endptr to decide whether
9274 the number had valid syntax.
9275
7c0616fa
AJ
92762012-04-21 Andreas Jaeger <aj@suse.de>
9277
803cb6b7 9278 [BZ #13739]
7c0616fa
AJ
9279 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9280
b0fe253f
JM
92812012-04-21 Joseph Myers <joseph@codesourcery.com>
9282
9283 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9284 * sysdeps/unix/sysv/Versions: Remove file.
9285
8280f22d
MT
92862012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9287
9288 [BZ #13927]
9289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9290
75ce411f 92912012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
9292
9293 [BZ #7064]
9294 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9295 version from __vm86.
9296
097d59fa
JM
92972012-04-20 Joseph Myers <joseph@codesourcery.com>
9298
a90f3bcb
JM
9299 * sysdeps/unix/common/lxstat.c: Remove file.
9300 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9301
edc7ea78
JM
9302 * sysdeps/unix/sysv/Makefile: Remove file.
9303
cb78c221
JM
9304 * sysdeps/unix/sysv/direct.h: Remove file.
9305
efa6a45f
JM
9306 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9307 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9308 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9309 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9310 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9311 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9312 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9313
9c9f2d0c
JM
9314 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9315
4541c83b
JM
9316 * sysdeps/unix/xmknod.c: Remove file.
9317 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9318
f5d153a0
JM
9319 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9320
aa746595
JM
9321 * sysdeps/unix/sysv/i386/time.S: Remove file.
9322
cce5905e
JM
9323 * sysdeps/unix/fxstat.c: Remove file.
9324 * sysdeps/unix/xstat.c: Likewise.
9325 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9326
37fa3841
JM
9327 * sysdeps/unix/sysv/sigaction.c: Remove file.
9328
ff1962a3
JM
9329 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9330 (sysdep_headers): Remove variable.
9331 [termio.h not in sysdep_headers] (generated): Likewise.
9332 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9333 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9334 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9335 * sysdeps/unix/sysv/tcflow.c: Likewise.
9336 * sysdeps/unix/sysv/tcflush.c: Likewise.
9337 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9338 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9339 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9340 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9341 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9342
e7740d31
JM
9343 * sysdeps/unix/siglist.c: Remove file.
9344
ee06f18b
JM
9345 * sysdeps/unix/getppid.S: Remove file.
9346
097d59fa
JM
9347 * sysdeps/unix/mkdir.c: Remove file.
9348 * sysdeps/unix/rmdir.c: Likewise.
9349
ff3d51ec
AS
93502012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9351
9352 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9353 ERR_MAX value.
9354 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9355 errlist-compat value.
9356
50f81fd7
DM
93572012-04-18 David S. Miller <davem@davemloft.net>
9358
9359 * sysdeps/generic/memcopy.h (reg_char): Delete.
9360 * debug/strcat_chk.c: Use char, not reg_char.
9361 * debug/strcpy_chk.c: Likewise.
9362 * debug/strncat_chk.c: Likewise.
9363 * debug/strncpy_chk.c: Likewise.
9364 * string/memchr.c: Likewise.
9365 * string/memrchr.c: Likewise.
9366 * string/rawmemchr.c: Likewise.
9367 * string/strcat.c: Likewise.
9368 * string/strchr.c: Likewise.
9369 * string/strchrnul.c: Likewise.
9370 * string/strcmp.c: Likewise.
9371 * string/strcpy.c: Likewise.
9372 * string/strncat.c: Likewise.
9373 * string/strncmp.c: Likewise.
9374 * string/strncpy.c: Likewise.
9375
8ff41c46
WS
93762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9377
9378 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9379 __builtin_memcopy is called when src and dest ranges are known to not
9380 overlap.
9381
6b652f46
WS
93822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9383
9384 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9385 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9386 fwd_align_merge macro call.
9387 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9388 bwd_align_merge macro call.
9389 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9390
b282631e
WS
93912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9392
9393 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9394 bwd_align_merge macros.
9395 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9396 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9397 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9398
95aa737c
DM
93992012-04-18 David S. Miller <davem@davemloft.net>
9400
9401 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9402
7a99a614
AJ
94032012-04-18 Andreas Jaeger <aj@suse.de>
9404
9405 [BZ# 6794]
9406 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9407 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9408 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9409
9410 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9411 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9412 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9413
9414 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9415 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9416 Adjust for changed ldbl-128 files.
9417
9418 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9419 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9420 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9421
e5270c23
DM
94222012-04-17 David S. Miller <davem@davemloft.net>
9423
9424 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9425
fb5e92c9
AS
94262012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9427
9428 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9429 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9430 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9431 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9432 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9433 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9434
76da7265
AZ
94352012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9436
9437 [BZ #6794]
9438 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9439 * math/libm-test.inc: Add ilogb errno and exception tests.
9440 * math/w_ilogb.c: New file: ilogb wrapper.
9441 * math/w_ilogbf.c: New file: ilogbf wrapper.
9442 * math/w_ilogbl.c: New file: ilogbl wrapper.
9443 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9444 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9445 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9446 exception being thrown with 0.0 as argument.
9447 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9448 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9449 exception being thrown with 0.0 as argument.
9450 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9451 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9452 exception being thrown with 0.0 as argument.
9453 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9454 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9455 exception being thrown with 0.0 as argument.
9456 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9457 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 9458 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
9459 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9460 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9461 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9462 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9463 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9464 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9465
0396e69d
PB
94662012-04-17 Petr Baudis <pasky@ucw.cz>
9467
9468 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9469 with altivec.
9470
750b5926
MP
94712012-04-16 Marek Polacek <polacek@redhat.com>
9472
9473 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9474
751728a1
MP
94752012-04-16 Marek Polacek <polacek@redhat.com>
9476
9477 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9478 operands of fdivp instruction.
9479
34a27407
L
94802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9481
9482 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9483 * elf/tst-auditmod3b.c: Likewise.
9484 * elf/tst-auditmod4b.c: Likewise.
9485 * elf/tst-auditmod5b.c: Likewise.
9486 * elf/tst-auditmod6b.c: Likewise.
9487 * elf/tst-auditmod6c.c: Likewise.
9488 * elf/tst-auditmod7b.c: Likewise.
9489 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9490 * sysdeps/x86_64/preconfigure.in: Likewise.
9491 * sysdeps/x86_64/preconfigure: Regenerated.
9492
7e73e17d
L
94932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9494
9495 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9496 __ILP32__.
9497
c7a6ab72
AB
94982012-04-13 Antoine Balestrat <merkil33@gmail.com>
9499
9500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9501 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9502
a9e8e0e0
CL
95032012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9504
9505 [BZ #13973]
9506 * locale/iso-639.def: Fix gl language name. Spotted by
9507 Yaron Shahrabani.
9508
ec98af7d
RM
95092012-04-12 Roland McGrath <roland@hack.frob.com>
9510
9511 [BZ #2074]
9512 * libio/libio.h (__io_write_fn): Update comment.
9513
247c3ede
PB
95142012-04-12 Petr Baudis <pasky@ucw.cz>
9515
9516 [BZ #2074]
9517 * stdio.texi (Hook Functions): The user provided writer function
9518 is not allowed to return -1.
9519
55939d6d
DM
95202012-04-11 David S. Miller <davem@davemloft.net>
9521
9522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9523
90020f5a
MF
95242012-04-11 Mike Frysinger <vapier@gentoo.org>
9525
9526 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9527 Add a leading slash to rtkaio.
9528
288f9098
JM
95292012-04-11 Jim Meyering <meyering@redhat.com>
9530
90020f5a
MF
9531 [BZ #11959]
9532 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9533 It is not necessarily an error to ignore fwrite's return
9534 value. One can reliably use ferror to test for errors after
9535 the fact.
288f9098 9536
4be2b570
L
95372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9538
9539 * bits/types.h (__snseconds_t): New type.
9540 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9541
9542 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9544 (__SNSECONDS_T_TYPE): Likewise.
9545 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9546 (__SNSECONDS_T_TYPE): Likewise.
9547 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9548 (__SNSECONDS_T_TYPE): Likewise.
9549
288f9098 95502012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9551
9552 [BZ #2636]
9553 * manual/time.texi (Processor Time): Return type of times is
9554 elapsed real time since an arbitrary point in the past.
9555 (CPU Time): Move CLK_TCK from here...
9556 (Processor Time): ...to here. Correct description.
9557 * manual/conf.texi (Constants for Sysconf): Correct description of
9558 _SC_CLK_TCK.
9559
d7dd4413
DM
95602012-04-10 David S. Miller <davem@davemloft.net>
9561
9562 [BZ #13967]
9563 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9564 where the is a gap between DT_REL(A) and DT_JMPREL.
9565
b46068fc
L
95662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9567
9568 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9569 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9570 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9571
73d65cc3
SP
95722012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9573
9574 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9575 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9576 (dl_main): Handle --inhibit-cache.
9577 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9578 _dl_inhibit_cache.
9579 * elf/dl-load.c (_dl_map_object): Use it.
9580 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9581
bcc8d661
JM
95822012-04-09 Joseph Myers <joseph@codesourcery.com>
9583
8f9a2fae
JM
9584 [BZ #13872]
9585 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9586 (__ieee754_powl): Saturate large exponents rather than testing for
9587 overflow of y*log2(x).
9588 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9589 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9590 exceptions.
9591
bcc8d661
JM
9592 [BZ #11521]
9593 * math/s_ctan.c: Include <float.h>.
9594 (__ctan): Avoid internal overflow or cancellation in calculating
9595 denominator.
9596 * math/s_ctanf.c: Likewise.
9597 * math/s_ctanl.c: Likewise.
9598 * math/s_ctanh.c: Likewise.
9599 * math/s_ctanhf.c: Likewise.
9600 * math/s_ctanhl.c: Likewise.
9601 * math/libm-test.inc (ctan_test): Add more tests.
9602 (ctanh_test): Likewise.
9603 * sysdeps/i386/fpu/libm-test-ulps: Update.
9604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9605
823fbbb4
AJ
96062012-04-09 Andreas Jaeger <aj@suse.de>
9607
03879793
AJ
9608 [BZ #6894]
9609 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9610 is an optional BSD extension.
9611
823fbbb4
AJ
9612 [BZ #10254]
9613 * manual/stdio.texi (Opening Streams): Document additional fopen
9614 parameters.
9615
8de131cb
RM
96162012-04-09 Roland McGrath <roland@hack.frob.com>
9617
9618 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9619 %eax without telling the compiler.
9620
c0ed9d7d
CD
96212012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9622
9623 [BZ # 13963]
9624 * manual/install.texi: Use sourceware.org.
9625
c483f6b4
JM
96262012-04-09 Joseph Myers <joseph@codesourcery.com>
9627
d7dd9453
JM
9628 [BZ #13873]
9629 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9630 (__ieee754_pow): Generate overflow and underflow using huge*huge
9631 and tiny*tiny rather than just returning constant infinity or zero
9632 for large exponents.
9633 * math/libm-test.inc (pow_test): Require overflow exceptions for
9634 applicable cases of large exponents.
9635
c483f6b4
JM
9636 [BZ #706]
9637 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9638 (__ieee754_pow): Use iterative multiplication algorithm only for
9639 integer exponents with absolute value below 1024. Check for odd
9640 integer exponents when using algorithm for real exponents.
9641 * math/libm-test.inc (pow_test): Add more tests.
9642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9643
d2de7579
JM
96442012-04-08 Joseph Myers <joseph@codesourcery.com>
9645
9646 [BZ #13705]
9647 * math/libm-test.inc (exp_test): Do not allow overflow exception
9648 on underflow test.
9649
f77f1232
AJ
96502012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9651
9652 [BZ #13705]
9653 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9654 instead of __kernel_standard_f.
9655
3884932b
MF
96562012-04-08 Mike Frysinger <vapier@gentoo.org>
9657
9658 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9659 * sysdeps/x86_64/memset_chk.S: Likewise.
9660
54472e9c
AJ
96612012-04-08 Andreas Jaeger <aj@suse.de>
9662
6ab0fbfc
AJ
9663 [BZ #10153]
9664 * manual/startup.texi (Environment Access): Describe return value
9665 for putenv and setenv.
9666
61efba8c
AJ
9667 [BZ #6895]
9668 * manual/filesys.texi (Directory Entries): Add description for
9669 DT_LNK.
9670
95c3f29a
AJ
9671 [BZ #6890]
9672 * manual/filesys.texi (Directory Entries): Clarify that it's file
9673 system not operating system in the description of DT_UNKNOWN.
9674
54472e9c
AJ
9675 [BZ #6578]
9676 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9677
624254b1
SC
96782012-04-08 Stephen Compall <s11@member.fsf.org>
9679
9680 [BZ #6649]
9681 * manual/llio.texi (Opening and Closing Files): Add cross
9682 reference to explain mode argument.
9683
1e4920e0
MF
96842012-04-07 Mike Frysinger <vapier@gentoo.org>
9685
9686 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9687 * sysdeps/x86_64/memset_chk.S: Likewise.
9688
5ed848f3
DM
96892012-04-07 David S. Miller <davem@davemloft.net>
9690
9691 * elf/elf.h (R_SPARC_WDISP10): Define.
9692 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9693 R_SPARC_SIZE32.
9694 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9695 R_SPARC_SIZE64 and R_SPARC_H34.
9696
96154cd8
CD
96972012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9698
9699 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9700 conditions and remove no longer applicable assertion.
9701
9904dc47
L
97022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9703
9704 * bits/byteswap.h: Include <features.h>.
9705 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9706 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9707
f8887d0a
L
97082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9709
9710 * bits/byteswap.h (__bswap_16): Removed.
9711 Include <bits/byteswap-16.h> to get __bswap_16.
9712 * sysdeps/i386/bits/byteswap.h: Likewise.
9713 * sysdeps/s390/bits/byteswap.h: Likewise.
9714 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9715 * bits/byteswap-16.h: New file.
9716 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9717 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9718 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9719 * string/Makefile (headers): Add bits/byteswap-16.h.
9720
62470f60
PP
97212012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9722
9723 [BZ #13895]
9724 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9725 extra indirection.
9726 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9727 * nss/tst-nss-static.c: New.
9728
4dad7bab
RM
97292012-04-06 Robert Millan <rmh@gnu.org>
9730
9731 [BZ #6486]
9732 * manual/llio.texi (File Position Primitive): lseek
9733 refers to WHENCE when it really means OFFSET.
9734
e9142a17
AJ
97352012-04-06 Andreas Jaeger <aj@suse.de>
9736
2c040eff
AJ
9737 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9738 strncmp declarations.
9739
e9142a17
AJ
9740 * abilist/libc.abilist: Add __poll and __ppoll.
9741
ff9f1c5f
DM
97422012-04-05 David S. Miller <davem@davemloft.net>
9743
dcd2ae90
DM
9744 * scripts/check-local-headers.sh: Accept a host triplet in the
9745 path matched by the exclude regexp.
9746
993eb054
DM
9747 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9748 definition.
9749 * sysdeps/powerpc/powerpc32/dl-machine.h
9750 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9751 * sysdeps/s390/s390-32/dl-machine.h
9752 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9753 * sysdeps/sparc/sparc32/dl-machine.h
9754 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9755 * sysdeps/sparc/sparc64/dl-machine.h
9756 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9757
ff9f1c5f
DM
9758 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9759 lazy binding.
48e2e132 9760 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9761 undefined symbol errors.
9762
48e2e132 9763 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9764 DT_NEEDED entries.
9765
e80d6f94
MM
97662012-04-05 Michael Matz <matz@suse.de>
9767
9768 [BZ #13592]
9769 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9770
349fa79f
AJ
97712012-04-05 Andreas Jaeger <aj@suse.de>
9772
9773 [BZ #13908]
9774 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9775 comment.
9776
f402708f
KK
97772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9778
9779 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9780 which ROUND is no valid rounding mode.
9781
2ecccfc9
KK
97822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9783
9784 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9785 read again.
9786 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9787
8a53f50f
KK
97882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9789
9790 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9791 an exception using FPU order intentionally.
9792
97932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9794
9795 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9796 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9797 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9798 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9799
d653abb7
SJ
98002012-04-05 Simon Josefsson <simon@josefsson.org>
9801
9802 [BZ #12340]
9803 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9804 EINVAL when BUFLEN is too smal.
9805
c3b1bf7d
TS
98062012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9807
9808 [BZ #13553]
9809 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9810 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9811
b1aa60f3
AJ
98122012-04-03 Andreas Jaeger <aj@suse.de>
9813
c3b1bf7d 9814 [BZ #13938]
67f60a26
AJ
9815 * manual/setjmp.texi (System V contexts): Fix sentence.
9816
b1aa60f3
AJ
9817 [BZ #13926]
9818 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9819 New macro for this case.
9820 [!__GNUC__] (__bswap_64): New inline function for this case.
9821 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9822 * bits/byteswap.h: Likewise.
9823 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9824 ull, guard with __GLIBC_HAVE_LONG_LONG.
9825
9826 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9827 __GLIBC_HAVE_LONG_LONG.
9828
9829 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9830 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9831
39c59c35
TMQMF
98322012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9833
9834 [BZ #13691]
9835 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9836 inptr and inend, rather than using last_ch.
9837
135ffda8
DM
98382012-04-02 David S. Miller <davem@davemloft.net>
9839
9840 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9841 * stdio-common/printf-parse.h (read_int): Change return type to
9842 'int', return -1 on INT_MAX overflow.
9843 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9844 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9845 overflows INT_MAX. Check for overflow of in-format-string precision
9846 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9847 SIZE_MAX not INT_MAX for integer overflow test.
9848 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9849 skip the construct in the format string but do not record anything.
9850 * stdio-common/bug22.c: Adjust to test both width/prevision
9851 INT_MAX overflow as well as total length INT_MAX overflow. Check
9852 explicitly for proper errno values.
9853
228c019e
TS
98542012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9855
302cadd3
TS
9856 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9857 CHAR_MAX.
9858 * string/test-strcmp.c [! WIDE]: Likewise.
9859 * time/tst-mktime2.c: Likewise for INT_MAX.
9860 * string/test-string.h: #include <sys/param.h> for MIN.
9861
228c019e
TS
9862 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9863 * sysdeps/i386/init-first.c (init): Likewise.
9864 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9865 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9866 * sysdeps/sh/init-first.c (init): Likewise.
9867
cfa633f5
UD
98682012-04-01 Ulrich Drepper <drepper@gmail.com>
9869
9870 * po/ru.po: Update from translation team.
d1635ef8 9871 * po/vi.po: Likewise.
cfa633f5 9872
6cd0a5ea
SP
98732012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9874
9875 * resolv/nss_dns/dns-host.c: Merge copyright years.
9876
4b43400f
LD
98772012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9878
9879 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9880 Optimize memcpy with prefetch if
9881 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9882 src, dst pointers have unequal 16 byte alignments.
9883
48c41d04
SP
98842012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9885
9886 [BZ #13928]
9887 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9888 from a CNAME entry and return the minimum ttl for the query.
9889 (gaih_getanswer_slice): Likewise.
9890
b8dc394d
JL
98912012-03-30 Jeff Law <law@redhat.com>
9892
9893 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9894 due to long keys.
9895 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9896 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9897
2f5a5ed0
JL
9898 * resolv/nss_dns/dns-host.c: Update copyright year.
9899
1d39e359
UD
99002012-03-30 Ulrich Drepper <drepper@gmail.com>
9901
c030f70c 9902 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9903 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9904
1d39e359
UD
9905 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9906 comments for sendmmsg.
9907
99082012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9909
9910 [BZ #13691]
9911 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9912 with only 1 character between 0x0041 and 0x01b0.
9913 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9914 * wcsmbs/tst-mbsnrtowcs.c: New file.
9915
20fde227
DM
99162012-03-29 David S. Miller <davem@davemloft.net>
9917
9918 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9919 small copies by hand.
9920
984a4237
JL
99212012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9922
9923 [BZ #13761]
9924 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9925 _nss_compat_initgroups_dyn): Fall back to malloc/free
9926 for large group memberships.
9927
18c9d62b
DM
99282012-03-28 David S. Miller <davem@davemloft.net>
9929
88d85d4f
DM
9930 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9931 that branches into memcpy.
9932 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9933 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9934 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9935 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9937 bits.
9938 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9939 implementation too.
9940 * sysdeps/sparc/mempcpy.S: New file.
9941
e5aa83e1
DM
9942 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9943 the IFUNC routine in the libc case.
9944 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9945
88570753
DM
9946 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9947 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9948 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9949 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9950 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9951 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9952 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9953 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9954
249d7567
DM
9955 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9956 loop to 256 bytes instead of 64 bytes and fix test signedness.
9957
18c9d62b
DM
9958 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9959 * sysdeps/sparc/sparc32/Makefile: rather than here...
9960 * sysdeps/sparc/sparc64/Makefile: and here.
9961
05f3d1f6
UD
99622012-03-28 Ulrich Drepper <drepper@gmail.com>
9963
9964 * malloc/mallocbug.c: Avoid warnings about unused variables.
9965
86ae07a8
JL
99662012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9967
9968 [BZ #13760]
9969 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9970 in the right place. Discard and retry query if response is
9971 larger than input buffer size.
9972
41bf21a1
JM
99732012-03-28 Joseph Myers <joseph@codesourcery.com>
9974
d6270972
JM
9975 [BZ #369]
9976 [BZ #2678]
9977 [BZ #3866]
9978 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9979 x for large integer exponent.
9980 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9981 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9982 sign of result as needed afterwards.
9983 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9984 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9985 result for underflowing pow the same as for overflow.
9986 (__kernel_standard_l): Handle powl overflow and underflow here
9987 rather than calling __kernel_standard.
9988 * math/libm-test.inc (pow_test): Add more tests.
9989
414fca03 9990 [BZ #3868]
41bf21a1
JM
9991 [BZ #13879]
9992 [BZ #13910]
9993 [BZ #13911]
9994 [BZ #13912]
9995 [BZ #13913]
9996 [BZ #13915]
9997 [BZ #13916]
9998 [BZ #13917]
9999 [BZ #13918]
10000 [BZ #13919]
10001 [BZ #13920]
10002 [BZ #13921]
10003 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
10004 * sysdeps/ieee754/k_standard.c: Include <float.h>.
10005 (__kernel_standard_l): New function.
10006 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
10007 __kernel_standard.
10008 * math/w_acosl.c (__acosl): Likewise.
10009 * math/w_asinl.c (__asinl): Likewise.
10010 * math/w_atan2l.c (__atan2l): Likewise.
10011 * math/w_atanhl.c (__atanhl): Likewise.
10012 * math/w_coshl.c (__coshl): Likewise.
10013 * math/w_exp10l.c (__exp10l): Likewise.
10014 * math/w_exp2l.c (__exp2l): Likewise.
10015 * math/w_fmodl.c (__fmodl): Likewise.
10016 * math/w_hypotl.c (__hypotl): Likewise.
10017 * math/w_j0l.c (__j0l, __y0l): Likewise.
10018 * math/w_j1l.c (__j1l, __y1l): Likewise.
10019 * math/w_jnl.c (__jnl, __ynl): Likewise.
10020 * math/w_lgammal.c (__lgammal): Likewise.
10021 * math/w_log10l.c (__log10l): Likewise.
10022 * math/w_log2l.c (__log2l): Likewise.
10023 * math/w_logl.c (__logl): Likewise.
10024 * math/w_powl.c (__powl): Likewise.
10025 * math/w_remainderl.c (__remainderl): Likewise.
10026 * math/w_scalbl.c (sysv_scalbl): Likewise.
10027 * math/w_sinhl.c (__sinhl): Likewise.
10028 * math/w_sqrtl.c (__sqrtl): Likewise.
10029 * math/w_tgammal.c (__tgammal): Likewise.
10030 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10031 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10032 * math/libm-test.inc (acos_test): Add more tests.
10033 (acosh_test): Likewise.
10034 (asin_test): Likewise.
10035 (atanh_test): Likewise.
10036 (exp_test): Likewise.
10037 (exp10_test): Likewise.
10038 (exp2_test): Likewise.
10039 (expm1_test): Likewise.
10040 (lgamma_test): Likewise.
10041 (log_test): Likewise.
10042 (log10_test): Likewise.
10043 (log1p_test): Likewise.
10044 (log2_test): Likewise.
10045 (pow_test): Do not allow some spurious overflow exceptions.
10046 (sqrt_test): Add more tests.
10047 (tgamma_test): Likewise.
10048 (y0_test): Likewise.
10049 (y1_test): Likewise.
10050 (yn_test): Likewise.
10051
dd62fda6
AB
100522012-03-27 Anton Blanchard <anton@samba.org>
10053
10054 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10055 MAP_HUGETLB.
10056 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10057 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10058 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10059
1e3cdfda
AJ
100602012-03-27 David S. Miller <davem@davemloft.net>
10061
b855ab85
DM
10062 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10063
1e3cdfda
AJ
10064 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10065 have-as-vis3 check.
10066
100672012-03-27 Andreas Jaeger <aj@suse.de>
10068
10069 * sysdeps/x86_64/elf/configure.in: Moved to ...
10070 * sysdeps/x86_64/configure.in: ... here.
10071 * sysdeps/x86_64/elf/start.S: Moved to ...
10072 * sysdeps/x86_64/start.S: ... here.
10073 * sysdeps/x86_64/elf/configure: Delete.
10074
10075 * sysdeps/x86_64/configure.in: Merge contents from
10076 sysdeps/i386/configure.in (without i686 check).
10077
10078 * sysdeps/i386/elf/Versions: Merge into ...
10079 * sysdeps/i386/Versions: ... this.
10080 * sysdeps/i386/elf/Versions: Delete file.
10081 * sysdeps/i386/elf/start.S: Moved to ...
10082 * sysdeps/i386/start.S: ...here.
10083 * sysdeps/i386/elf/configure.in: Merge into...
10084 * sysdeps/i386/configure.in: ...here.
10085 * sysdeps/i386/elf/configure.in: Delete file.
10086 * sysdeps/i386/elf/configure: Delete file.
10087
10088 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10089 * debug/backtracesyms.c: ... here.
10090 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10091 * debug/backtracesymsfd.c: ... here.
10092 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10093 * sysdeps/generic/ifunc-sel.h: ... here.
10094
10095 * sysdeps/unix/i386/start.c: Delete file.
10096 * sysdeps/unix/sparc/start.c: Delete file.
10097 * sysdeps/unix/start.c: Delete file.
10098
10099 * sysdeps/sh/elf/configure.in: Moved to ...
10100 * sysdeps/sh/configure.in: ... here.
10101 * sysdeps/sh/elf/start.S: Moved to ...
10102 * sysdeps/sh/start.S: ... here.
10103 * sysdeps/sh/elf/configure: Delete file.
10104
10105 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10106 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10107 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10108 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10109 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10110 * sysdeps/powerpc/powerpc64/start.S: here.
10111 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10112 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10113 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10114 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10115 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10116
10117 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10118 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10119 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10120 * sysdeps/powerpc/powerpc32/start.S: ... here.
10121 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10122 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10123 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10124
10125 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10126 * sysdeps/powerpc/ifunc-sel.h: ... here.
10127 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10128 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10129
10130 * sysdeps/sparc/elf/configure.in: Moved to ...
10131 * sysdeps/sparc/configure.in: ... here.
10132 * sysdeps/sparc/elf/configure: Delete file.
10133 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10134 * sysdeps/sparc/sparc32/start.S: ... here.
10135 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10136 * sysdeps/sparc/sparc64/start.S: ... here.
10137 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10138 * sysdeps/sparc/sparc32/Makefile: ... this.
10139 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10140 * sysdeps/sparc/sparc64/Makefile: ... this.
10141
10142 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10143 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10144 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10145 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10146 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10147 * sysdeps/s390/s390-32/setjmp.S: ... here.
10148 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10149 * sysdeps/s390/s390-32/configure.in: ... here.
10150 * sysdeps/s390/s390-32/elf/configure: Delete file.
10151 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10152 * sysdeps/s390/s390-32/start.S: ... here.
10153
10154 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10155 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10156 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10157 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10158 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10159 * sysdeps/s390/s390-64/setjmp.S: ... here.
10160 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10161 * sysdeps/s390/s390-64/configure.in: ... here
10162 * sysdeps/s390/s390-64/elf/configure: Delete file.
10163 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10164 * sysdeps/s390/s390-64/start.S: ... here.
10165 * sysdeps/s390/s390-64/elf/configure: Delete.
10166
10167 * configure.in: Remove support for elf directories in sysdeps.
10168
10169 * configure: Regenerated.
10170 * sysdeps/i386/configure: Regenerated.
10171 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10172 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10173 * sysdeps/s390/s390-32/configure: Regenerated.
10174 * sysdeps/s390/s390-64/configure: Regenerated.
10175 * sysdeps/sh/configure: Regenerated.
10176 * sysdeps/sparc/configure: Regenerated.
10177 * sysdeps/x86_64/configure: Regenerated.
10178
a3f61311
AS
101792012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10180
c876e002
AS
10181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10182
a3f61311
AS
10183 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10184 denormal result into account.
10185
ac4c54f0
RM
101862012-03-25 Roland McGrath <roland@hack.frob.com>
10187
10188 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10189 Reported by Allan McRae <allan@archlinux.org>.
10190
6a9b9c02
JL
101912012-03-23 Jeff Law <law@redhat.com>
10192
10193 * nss/getnssent.c (__nss_getent): Fix typo.
10194
4c42a0c1
DM
101952012-03-23 David S. Miller <davem@davemloft.net>
10196
10197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10198
1532c7ac
L
101992012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10200
10201 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10202 to pad to uint64_t for each field.
10203 (dl_tls_index): Replace unsigned long with uint64_t.
10204
3ff42526
PP
102052012-03-23 Daniel Jacobowitz <dmj@google.com>
10206 Paul Pluzhnikov <ppluzhnikov@google.com>
10207
10208 [BZ #6528]
10209 * grp/Makefile (otherlibs): Don't set it.
10210 * inet/Makefile (otherlibs): Likewise.
10211 * login/Makefile (otherlibs): Likewise.
10212 * nscd/Makefile (otherlibs): Likewise.
10213 * posix/Makefile (otherlibs): Likewise.
10214 * pwd/Makefile (otherlibs): Likewise.
10215 * rt/Makefile (otherlibs): Likewise.
10216 * sunrpc/Makefile (otherlibs): Likewise.
10217 * nss/Makefile (otherlibs): Likewise.
10218 Add libnss_files to routines and static-only-routines.
10219 ($(objpfx)getent): Remove rule.
10220 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10221 static-only-routines.
10222
7c69cd14
JM
102232012-03-22 Joseph Myers <joseph@codesourcery.com>
10224
10225 [BZ #13892]
10226 * math/s_cexp.c: Include <float.h>.
10227 (__cexp): Handle exp result overflowing not necessarily
10228 overflowing both real and imaginary parts of result.
10229 * math/s_cexpf.c: Likewise.
10230 * math/s_cexpl.c: Likewise.
10231 * math/libm-test.inc (cexp_test): Add more tests.
10232 * sysdeps/i386/fpu/libm-test-ulps: Update.
10233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10234
81b035fe
L
102352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10236
10237 * include/link.h (ELFW): New macro.
10238 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10239 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10240
1da7940c
L
102412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10242
10243 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10244 with uint64_t.
10245
b749dbb9
L
102462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10247
10248 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10249 declaration.
10250 (struct La_x32_retval): Likewise.
10251
2ff87f3f
L
102522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10253
10254 * sysdeps/x86_64/preconfigure.in: New file.
10255 * sysdeps/x86_64/preconfigure: New generated file.
10256
c0df8e69
JM
102572012-03-22 Joseph Myers <joseph@codesourcery.com>
10258
48e44791
JM
10259 [BZ #13824]
10260 * math/e_exp2l.c: Include <float.h>.
10261 (__ieee754_exp2l): Handle overflow and underflow cases
10262 separately. Only pass fractional part of argument to
10263 __ieee754_expl.
10264 * math/libm-test.inc (exp2_test): Add more tests.
10265
c0df8e69
JM
10266 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10267 negating x to take absolute value.
10268 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10269 Likewise.
10270 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10271 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10272 Likewise.
10273 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10274 computing low part if x was negated.
10275 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10276
c8e43ba7
L
102772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10278
10279 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10280 la_x32_gnu_pltexit.
10281 (pltexit): Cast int_retval to ptrdiff_t.
10282 * elf/tst-auditmod3b.c: Likewise.
10283 * elf/tst-auditmod4b.c: Likewise.
10284 * elf/tst-auditmod5b.c: Likewise.
10285 * elf/tst-auditmod6b.c: Likewise.
10286 * elf/tst-auditmod6c.c: Likewise.
10287 * elf/tst-auditmod7b.c: Likewise.
10288
10289 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10290 and x32_gnu_pltexit.
10291
10292 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10293 __ELF_NATIVE_CLASS.
10294 (La_x32_regs): New macro.
10295 (La_x32_retval): Likewise.
10296 (la_x32_gnu_pltenter): New function prototype.
10297 (la_x32_gnu_pltexit): Likewise.
10298
7998fa78
AS
102992012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10300
dcb33988
AS
10301 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10302 exponent.
10303
233fc563
AS
10304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10305
7998fa78
AS
10306 * configure.in (libc_cv_cc_nofma): Check for option to disable
10307 generation of FMA instructions.
10308 * configure: Regenerate.
10309 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10310 * sysdeps/ieee754/dbl-64/Makefile: New file.
10311 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10312 Remove brandred-fma4.
10313 (CFLAGS-brandred-fma4.c): Remove.
10314 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10315 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10316 define.
10317 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10318 define.
10319
8e95c99a
L
103202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10321
10322 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10323 LLONG_MAX != LONG_MAX.
10324 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10325 (_fitoa_word): Likewise.
10326 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10327 LLONG_MAX != LONG_MAX.
10328 * stdio-common/_itowa.h: Include <_itoa.h>.
10329 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10330 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10331 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10332 only if not defined.
10333 (_ITOA_WORD_TYPE): Likewise.
10334 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10335 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10336
6f4db457
DM
103372012-03-21 David S. Miller <davem@davemloft.net>
10338
10339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10340
7785fe5a
L
103412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10342
10343 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10344 of x86_64 when setting libc_cv_slibdir, libdir and
10345 libc_cv_localedir.
10346 * sysdeps/unix/sysv/linux/configure: Regenerated.
10347
4535cd55
JM
103482012-03-21 Joseph Myers <joseph@codesourcery.com>
10349
10350 * manual/lang.texi (Old Varargs): Remove section.
10351 (How Variadic): Update menu.
10352 (va_start): Do not mention varargs.h.
10353
17228132
TS
103542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10355 Joseph Myers <joseph@codesourcery.com>
10356
10357 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10358 link test.
10359 * configure: Regenerated.
10360
8149f976
TS
103612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10362
05f3d1f6
UD
10363 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10364 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10365 conformtest.pl
8149f976 10366
1a4ac776
JM
103672012-03-21 Joseph Myers <joseph@codesourcery.com>
10368
be22ce65
JM
10369 * NOTES: Remove.
10370 * Makefile (files-for-dist): Remove NOTES.
10371 (NOTES): Remove rule.
10372 * README: Don't refer to NOTES.
10373 * manual/creature.texi: Don't include macros.texi.
10374 * manual/intro.texi (creature.texi): Remove comment referring to
10375 NOTES.
10376
40b601fb
JM
10377 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10378 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10379 * configure: Regenerated.
10380 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10381 LIBC_TRY_CC_OPTION.
10382 (libc_cv_as_i686): Likewise.
10383 (libc_cv_cc_avx): Likewise.
10384 (libc_cv_cc_sse2avx): Likewise.
10385 (libc_cv_cc_fma4): Likewise.
10386 (libc_cv_cc_novzeroupper): Likewise.
10387 * sysdeps/i386/configure: Regenerated.
10388
1a4ac776
JM
10389 [BZ #13883]
10390 * sysdeps/i386/fpu/s_cexp.S: Remove.
10391 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10392 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10393 * math/libm-test.inc (cexp_test): Add more tests.
10394 * sysdeps/i386/fpu/libm-test-ulps: Update.
10395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10396
a458e7fe
AM
103972012-03-21 Allan McRae <allan@archlinux.org>
10398
10399 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10400
0cb7efc5
JM
104012012-03-21 Joseph Myers <joseph@codesourcery.com>
10402
10403 [BZ #13871]
10404 * math/w_exp2.c: Do not include <float.h>.
10405 (o_threshold, u_threshold): Remove.
10406 (__exp2): Calculate result before checking finiteness and calling
10407 __kernel_standard.
10408 * math/w_exp2f.c: Likewise.
10409 * math/w_exp2l.c: Likewise.
10410 * math/libm-test.inc (exp2_test): Require overflow exception for
10411 1e6 input.
2460d3aa
JM
10412
10413 [BZ #3866]
10414 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10415 range of signed 64-bit integers before using fistpll. Remove
10416 checks for whether integers fit in mantissa bits.
10417 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10418 the range of signed 32-bit integers before using fistpl. Remove
10419 checks for whether integers fit in mantissa bits.
10420 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10421 (__ieee754_powl): Test for y outside the range of signed 64-bit
10422 integers before using fistpll. Reduce 64-bit values to 63-bit
10423 ones as needed.
10424 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10425 divide-by-zero is raised for zero to large negative powers.
10426 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10427 (__ieee754_powl): Test for y outside the range of signed 64-bit
10428 integers before using fistpll. Reduce 64-bit values to 63-bit
10429 ones as needed.
10430 * math/libm-test.inc (pow_test): Add more tests.
10431
eb96ffb0
L
104322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10433
10434 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10435 <stdio-common/_itoa.h>.
10436 * debug/segfault.c: Likewise.
10437 * elf/dl-cache.c: Likewise.
10438 * elf/dl-minimal.c: Likewise.
10439 * elf/dl-misc.c: Likewise.
10440 * elf/dl-sysdep.c: Likewise.
10441 * elf/dl-version.c: Likewise.
10442 * elf/rtld.c: Likewise.
10443 * hurd/hurdsock.c: Likewise.
10444 * hurd/lookup-retry.c: Likewise.
10445 * malloc/malloc.c: Likewise.
10446 * malloc/mtrace.c: Likewise.
10447 * nscd/nscd_getgr_r.c: Likewise.
10448 * nscd/nscd_getpw_r.c: Likewise.
10449 * nscd/nscd_getserv_r.c: Likewise.
10450 * posix/getopt_init.c: Likewise.
10451 * posix/wordexp.c: Likewise.
10452 * stdio-common/_itoa.c: Likewise.
10453 * stdio-common/printf_fphex.c: Likewise.
10454 * stdio-common/vfprintf.c: Likewise.
10455 * string/_strerror.c: Likewise.
10456 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10457 * sysdeps/i386/i686/hp-timing.h: Likewise.
10458 * sysdeps/mach/_strerror.c: Likewise.
10459 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10460 * sysdeps/mach/hurd/sethostid.c: Likewise.
10461 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10462 * sysdeps/mach/xpg-strerror.c: Likewise.
10463 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10464 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10465 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10466 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10467 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10468 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10469 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10470 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10471 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10472 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10473 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10474 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10475 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10476 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10477 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10478 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10479 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10480 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10481 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10482 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10483 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10484
10485 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10486
10487 * stdio-common/_itoa.h: Moved to ...
10488 * sysdeps/generic/_itoa.h: Here.
10489
10490 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10491
10492 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10493 instead of "_itoa.h" and "_itowa.h".
10494 * stdio-common/vfprintf.: Likewise.
10495
d1af992d
L
104962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10497
10498 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10499 <bits/wordsize.h>.
10500 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10501 (__signbit): Likwise.
10502 (llrintf): Likwise.
10503 (llrint): Likwise.
10504
114883e0
L
105052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10506
10507 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10508 __WORDSIZE != 64.
10509
c135cc1b
JM
105102012-03-20 Joseph Myers <joseph@codesourcery.com>
10511
10512 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10513 OVERFLOW_EXCEPTION_OK.
10514 * math/libm-test.inc ("Philosophy"): Update comment about
10515 exception testing.
10516 (OVERFLOW_EXCEPTION): Define.
10517 (OVERFLOW_EXCEPTION_OK): Likewise.
10518 (INVALID_EXCEPTION_OK): Renumber.
10519 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10520 (IGNORE_ZERO_INF_SIGN): Likewise.
10521 (test_exceptions): Handle FE_OVERFLOW.
10522 (exp10_test): Expect overflow exceptions.
10523 (exp2_test): Likewise.
10524 (expm1_test): Likewise.
10525 (nextafter_test): Likewise.
10526 (pow_test): Likewise.
10527 (scalbn_test): Likewise.
10528 (scalbln_test): Likewise.
10529
95443d88
L
105302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10531
10532 * sysdeps/x86_64/bits/atomic.h
10533 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10534 64bit integer.
10535 (atomic_exchange_acq): Likewise.
10536 (__arch_exchange_and_add_body): Likewise.
10537 (__arch_add_body): Likewise.
10538 (atomic_add_negative): Likewise.
10539 (atomic_add_zero): Likewise.
10540
490df6c4
L
105412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10542
c2722551 10543 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10544 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10545
5e52b189
L
105462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10547
10548 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10549 Check __x86_64__ instead of __WORDSIZE.
10550
a9879d4c
L
105512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10552
10553 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10554
5df98260
DM
105552012-03-19 David S. Miller <davem@davemloft.net>
10556
e1497744
DM
10557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10558
5df98260
DM
10559 * sysdeps/sparc/fpu/fenv_private.h: New file.
10560 * sysdeps/sparc/fpu/math_private.h: Use it.
10561 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10562 Remove.
10563 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10564 (libc_feholdexcept_setroundl): Remove.
10565 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10566 Remove.
10567 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10568 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10569
b4c35121
L
105702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10571
10572 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10573 int64_t instead of long int.
10574 (INSERT_WORDS64): Likwise.
10575
56965fd7
L
105762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10577
10578 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10579 _Unwind_GetCFA return to _Unwind_Ptr first.
10580
83d1aec8
JM
105812012-03-19 Joseph Myers <joseph@codesourcery.com>
10582
1897ad44
JM
10583 [BZ #13629]
10584 * math/s_clog.c: Include <float.h>.
10585 (__clog): Scale large or subnormal inputs.
10586 * math/s_clogf.c: Likewise.
10587 * math/s_clogl.c: Likewise.
10588 * math/s_clog10.c: Include <float.h>.
10589 (M_LOG10_2): Define.
10590 (__clog10): Scale large or subnormal inputs.
10591 * math/s_clog10f.c: Likewise.
10592 * math/s_clog10l.c: Likewise.
10593 * math/libm-test.inc (clog_test): Add more tests.
10594 (clog10_test): Likewise.
10595 * sysdeps/i386/fpu/libm-test-ulps: Update.
10596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10597
7726d6a9
JM
10598 [BZ #11451]
10599 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10600 x and y.
10601 * math/libm-test.inc (atan2_test): Add another test.
10602
83d1aec8
JM
10603 * Makerules (common-objdir-compile): Remove.
10604 * sysdeps/unix/Makefile (config-generated): Do not add
10605 $(unix-generated) to variable.
10606 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10607 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10608 Remove rule.
10609 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10610 Likewise.
10611 [generic bits/local_lim.h] (before-compile): Do not append to
10612 variable.
10613 [generic bits/local_lim.h] (common-generated): Likewise.
10614 [generic sys/param.h] (before-compile): Do not append to variable.
10615 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10616 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10617 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10618 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10619 include.
10620 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10621 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10622 [generic sys/param.h] ($(addprefix
10623 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10624 [generic sys/param.h] (common-generated): Do not append to
10625 variable.
10626 [generic sys/param.h] (sysdep_headers): Likewise.
10627 [generic bits/errno.h] (before-compile): Do not append to
10628 variable.
10629 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10630 rule.
10631 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10632 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10633 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10634 [generic bits/errno.h] (common-generated): Do not append to
10635 variable.
10636 [generic bits/ioctls.h] (before-compile): Do not append to
10637 variable.
10638 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10639 rule.
10640 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10641 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10642 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10643 rule.
10644 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10645 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10646 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10647 [generic bits/ioctls.h] (common-generated): Do not append to
10648 variable.
10649 [generic sys/syscall.h] (syscall.h): Remove variable.
10650 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10651 rule.
10652 [generic sys/syscall.h] (before-compile): Do not append to
10653 variable.
10654 [generic sys/syscall.h] (common-generated): Likewise.
10655 * sysdeps/unix/errnos-tmpl.c: Remove file.
10656 * sysdeps/unix/errnos.awk: Likewise.
10657 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10658 * sysdeps/unix/ioctls.awk: Likewise.
10659 * sysdeps/unix/mk-local_lim.c: Likewise.
10660 * sysdeps/unix/snarf-ioctls: Likewise.
10661
4851a949
RH
106622012-03-19 Richard Henderson <rth@twiddle.net>
10663
bd37f2ee
RH
10664 * sysdeps/i386/fpu/fenv_private.h: New file.
10665 * sysdeps/i386/fpu/math_private.h: Use it.
10666 (math_opt_barrier, math_force_eval): Remove.
10667 (libc_feholdexcept_setround_53bit): Remove.
10668 (libc_feupdateenv_53bit): Remove.
10669 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10670 (math_opt_barrier, math_force_eval): Remove.
10671 (libc_feholdexcept): Remove.
10672 (libc_feholdexcept_setround): Remove.
10673 (libc_fetestexcept, libc_fesetenv): Remove.
10674 (libc_feupdateenv_test): Remove.
10675 (libc_feupdateenv, libc_feholdsetround): Remove.
10676 (libc_feresetround): Remove.
10677
d0adc922
RH
10678 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10679 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10680
0fe0f1f8
RH
10681 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10682 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10683 (libc_feupdateenv_testl): New.
10684 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10685 (libc_feupdateenv_testf): New.
10686 (libc_feupdateenv): Use libc_feupdateenv_test.
10687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10688 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10689
eb92c487
RH
10690 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10691 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10692 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10693 (libc_feresetround_noex): New.
10694 (libc_feresetround_noexf): New.
10695 (libc_feresetround_noexl): New.
10696 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10697 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10698 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10699 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10700 SET_RESTORE_ROUND.
10701 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10702 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10703 (__cos): Likewise.
10704 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10705 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10706 SET_RESTORE_ROUND_NOEX.
10707 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10708 SET_RESTORE_ROUND_NOEXF.
10709 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10710 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10711 (libc_feholdsetroundf): New.
10712 (libc_feresetround, libc_feresetroundf): New.
10713
7d2e8012
RH
10714 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10715 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10716 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10717
b4dabbb4
RH
10718 * sysdeps/generic/math_private.h: Include <fenv.h>.
10719 (default_libc_feholdexcept): New.
10720 (default_libc_feholdexcept_setround): New.
10721 (default_libc_fesetenv, default_libc_feupdateenv): New.
10722 (libc_feholdexcept): Only define if undefined.
10723 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10724 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10725 (libc_feholdexcept_setroundl): Likewise.
10726 (libc_feholdexcept_setround_53bit): Likewise.
10727 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10728 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10729 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10730 (libc_feupdateenv_53bit): Likewise.
10731 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10732 (libc_feholdexcept): Convert from macro to inline function.
10733 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10734 (libc_fesetenv, libc_feupdateenv): Likewise.
10735
4851a949
RH
10736 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10737 not previously defined.
10738 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10739 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10740 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10741 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10742 * sysdeps/ieee754/flt-32/math_private.h: New file.
10743 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10744 math_private.h below SET_FLOAT_WORD.
10745 (__isnan, __isinf_ns, __finite): Remove.
10746 (__isnanf, __isinf_nsf, __finitef): Remove.
10747
e79d442e
AS
107482012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10749
10750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10751
90b80344
DM
107522012-03-17 David S. Miller <davem@davemloft.net>
10753
10754 [BZ #6471]
10755 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10756 for 2.16.
10757
edc21804
DM
107582012-03-16 David S. Miller <davem@davemloft.net>
10759
77e927af
DM
10760 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10761 warnings.
10762
374976dd
DM
10763 [BZ #6471]
10764 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10765 properly.
10766 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10767 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10768 sysdep_routines when subdir is sysvipc.
10769 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10770 __getshmlba helper.
10771
edc21804
DM
10772 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10773
473c3ef3
L
107742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10775
10776 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10777 [__LP64__].
10778
eb0f39b6
L
107792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10780
10781 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10782 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10783 (__lround): Renamed to ...
10784 (__llround): This. Replace long int with long long int.
10785 Define lround functions as aliases of llround functions.
10786 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10787
6b6cd74b
L
107882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10789
10790 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10791 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10792 adresses to uintptr_t. Replace "long int" and "unsigned long
10793 int" with "greg_t" on va_arg.
10794
f1a77b01
L
107952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10796
10797 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10798 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10799
10800 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10801 Move e_machine check before EI_CLASS check. Handle x32
10802 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10803 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10804 SKIP_EM_IA_64 and include
10805 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10806
10807 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10808 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10809 (add_system_dir): New macro.
10810
10811 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10812 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10813
11b90b9f
JM
108142012-03-16 Joseph Myers <joseph@codesourcery.com>
10815
c36e1d23
JM
10816 [BZ #2551]
10817 [BZ #2552]
10818 [BZ #2553]
10819 [BZ #2554]
10820 [BZ #2562]
10821 [BZ #2563]
10822 [BZ #2565]
10823 [BZ #2566]
10824 [BZ #2576]
10825 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10826 (y0): Likewise.
10827 * math/w_j0f.c (j0f): Likewise.
10828 (y0f): Likewise.
10829 * math/w_j0l.c (__j0l): Likewise.
10830 (__y0l): Likewise.
10831 * math/w_j1.c (j1): Likewise.
10832 (y1): Likewise.
10833 * math/w_j1f.c (j1f): Likewise.
10834 (y1f): Likewise.
10835 * math/w_j1l.c (__j1l): Likewise.
10836 (__y1l): Likewise.
10837 * math/w_jn.c (jn): Likewise.
10838 (yn): Likewise.
10839 * math/w_jnf.c (jnf): Likewise.
10840 (ynf): Likewise.
10841 * math/w_jnl.c (__jnl): Likewise.
10842 (__ynl): Likewise.
10843 * math/libm-test.inc (j0_test): Add more tests.
10844 (j1_test): Likewise.
10845 (jn_test): Likewise. Add trailing semicolon to existing test.
10846 (y0_test): Likewise.
10847 (y1_test): Likewise.
10848 * sysdeps/i386/fpu/libm-test-ulps: Update.
10849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10850
11b90b9f
JM
10851 [BZ #13851]
10852 [BZ #13854]
10853 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10854 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10855 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10856 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10857 (__tanl): Set errno for infinite argument.
10858 * sysdeps/i386/fpu/mptan.c: Remove.
10859 * sysdeps/i386/fpu/s_tan.S: Likewise.
10860 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10861 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10862 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10863 * math/libm-test.inc (tan_test): Add more tests and enable more
10864 tests for double and long double.
10865 * sysdeps/i386/fpu/libm-test-ulps: Update.
10866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10867
6a1bd2a1
JK
108682012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10869
10870 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10871 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10872
10a803e0
RM
108732012-03-16 Roland McGrath <roland@hack.frob.com>
10874
10875 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10876 * configure.in: Use it for both main tree and add-ons.
10877 * configure: Regenerated.
10878
f196c7f7
L
108792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10880
10881 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10882
8848d99d
JM
108832012-03-16 Joseph Myers <joseph@codesourcery.com>
10884
96cbe7f4
JM
10885 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10886 in comment.
10887
8848d99d
JM
10888 [BZ #13851]
10889 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10890 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10891 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10892 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10893 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10894 infinite argument.
10895 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10896 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10897 != 0 for prec == 2.
10898 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10899 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10900 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10901 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10902 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10903 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10904 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10905 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10906 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10907 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10908 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10909 * math/libm-test.inc (cos_test): Add more tests and enable more
10910 tests for long double.
10911 (sin_test): Likewise.
10912 (sincos_test): Likewise.
10913 * sysdeps/i386/fpu/libm-test-ulps: Update.
10914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10915
dd7f4703
DM
109162012-03-16 David S. Miller <davem@davemloft.net>
10917
10918 * sysdeps/sparc/fpu/math_private.h: New file.
10919
006f1daa
DM
109202012-03-15 David S. Miller <davem@davemloft.net>
10921
c0c83bc8
DM
10922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10923 file.
e6a62e18 10924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10926 file.
e6a62e18
DM
10927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10932 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10933 sysdep routines.
10934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10935
88cb87d9
DM
10936 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10937 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10938
006f1daa 10939 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10941 sparc-ifunc.h
006f1daa 10942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10944 Likewise.
10945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10946 Likewise.
006f1daa
DM
10947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10951 Likewise.
006f1daa
DM
10952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10957 Likewise.
10958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10959 Likewise.
006f1daa
DM
10960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10965 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10966 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10967 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10979 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10980 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10981 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10982 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10983 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10984
11e0098e
AS
109852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10986
10987 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10988 scaling.
10989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10990
e85b09d0
AJ
109912012-03-15 Andreas Jaeger <aj@suse.de>
10992
10993 [BZ #13852]
10994 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10995 ieee754/flt-32 implementation for sin, cos and sincos.
10996 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10997 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10998 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10999 * sysdeps/i386/fpu/s_sinf.S: Likewise.
11000 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
11001 ieee754/flt-32 implementation for tan.
11002
11003 * math/libm-test.inc (cos_test): Enable some large input tests for
11004 float as well
11005 (sin_test): Likewise.
11006 (sincos_test): Likewise.
11007 (tan_test): Add tests for large input.
11008
11009 * sysdeps/i386/fpu/libm-test-ulps: Update.
11010
81c64153
AJ
110112012-03-15 Andreas Jaeger <aj@suse.de>
11012
11013 [BZ #13658]
11014 * math/libm-test.inc (cos_test): Add more test cases.
11015 (sin_test): Likewise.
11016 (sincos_test): Likewise.
11017
7bbfa5c6
AJ
110182012-03-15 Andreas Jaeger <aj@suse.de>
11019
11020 [BZ #13837]
11021 * math/libm-test.inc (cos_test): Add a test case for large input
11022 value.
11023 (sin_test): Likewise.
11024 (sincos_test): Likewise.
11025
110262012-03-15 Andreas Jaeger <aj@suse.de>,
11027 Joseph Myers <joseph@codesourcery.com>
11028
11029 [BZ #13658]
0671f479 11030 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
11031 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11032 * sysdeps/i386/fpu/branred.c: Likewise.
11033 * sysdeps/i386/fpu/dosincos.c: Likewise.
11034 * sysdeps/i386/fpu/mpa.c: Likewise.
11035 * sysdeps/i386/fpu/s_cos.S: Likewise.
11036 * sysdeps/i386/fpu/s_sin.S: Likewise.
11037 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11038 * sysdeps/i386/fpu/sincos32.c: Likewise.
11039
11040 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11041 Define.
11042 (libc_feupdateenv_53bit): Define.
11043 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11044 Define.
11045 (libc_feupdateenv_53bit): Define.
11046
11047 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11048 53 bit (without extend i386 double precision).
11049
11050 * math/libm-test.inc (sincos_test): Add tests for large input.
11051 (sin): Likewise.
11052 (cos): Likewise.
11053
11054 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11055
9cad04ea
AS
110562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11057
11058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11059
f7062b9a
DM
110602012-03-15 David S. Miller <davem@davemloft.net>
11061
11062 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11063 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11064 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11065 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
11077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11078 file.
f7062b9a 11079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
11080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11081 file.
f7062b9a 11082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
11083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11084 file.
f7062b9a 11085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
11086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11087 file.
f7062b9a
DM
11088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11089 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11090 fmin/fmax sysdep routines.
11091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11092
7bd951ff
DM
110932012-03-14 David S. Miller <davem@davemloft.net>
11094
559398ab
DM
11095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11100 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11101 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11102 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11115 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11118 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11123 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11124 routines.
11125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11126 file.
559398ab 11127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
11128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11129 file.
559398ab 11130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
11131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11132 file.
559398ab 11133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
11134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11135 file.
559398ab 11136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
11137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11138 file.
559398ab 11139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
11140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11141 file.
11142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11143 file.
11144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11145 file.
11146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11147 file.
11148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11149 New file.
11150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11151 file.
11152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11153 file.
559398ab 11154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
11155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11156 file.
559398ab 11157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11159 file.
559398ab 11160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
11161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11162 file.
559398ab 11163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
11164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11165 VIS3 routines.
559398ab
DM
11166
11167 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11168 New file.
11169
5a1c1e32
DM
11170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11171
eae47a36
DM
11172 * sysdeps/sparc/configure.in: New file.
11173 * sysdeps/sparc/configure: Generate.
11174 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11175 * configure: Regenerate.
11176 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11177 * config.make.in (have-as-vis3): New.
11178 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11179 available use -Av9d instead of -Av9a.
11180 * sysdeps/sparc/sparc64/Makefile: Likewise.
11181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
11182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11183 New file.
11184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11185 file.
11186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11187 New file.
11188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11189 file.
eae47a36
DM
11190 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11192 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11193 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11194 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11195
c0c83bc8
DM
11196 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11197 fzeros/fnegs to load 0x80000000 into a float register instead of
11198 using the stack.
7bd951ff
DM
11199 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11200
bd951ccb
JM
112012012-03-14 Joseph Myers <joseph@codesourcery.com>
11202
11203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11204 bits/syscall.h.
11205 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11206 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11207 ($(inst_includedir)/bits/syscall.h): Remove rule.
11208 ($(objpfx)bits/syscall.d): Include instead of
11209 $(objpfx)syscall-list.d.
11210 (generated): Change syscall-list.h and syscall-list.d to
11211 bits/syscall.h and bits/syscall.d.
11212
bb4e6db2
RM
112132012-03-14 Roland McGrath <roland@hack.frob.com>
11214
11215 [BZ #13846]
11216 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11217
aa4a2ae1
JM
112182012-03-14 Joseph Myers <joseph@codesourcery.com>
11219
e456826d
JM
11220 [BZ #13841]
11221 * math/s_csqrt.c: Include <float.h>.
11222 (__csqrt): Scale large or subnormal inputs.
11223 * math/s_csqrtf.c: Likewise.
11224 * math/s_csqrtl.c: Likewise.
11225 * math/libm-test.inc (csqrt_test): Add more tests.
11226 * sysdeps/i386/fpu/libm-test-ulps: Update.
11227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11228
aa4a2ae1
JM
11229 [BZ #13840]
11230 * math/libm-test.inc (hypot_test): Add more tests.
11231
7c10fd35
DM
112322012-03-13 David S. Miller <davem@davemloft.net>
11233
11234 [BZ #13840]
11235 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11236 double-precision for the calculation instead of scaling.
11237
f453b98b
JM
112382012-03-13 Joseph Myers <joseph@codesourcery.com>
11239
11240 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11241 manipulate bits before adding and subtracting TWO52[sx].
11242 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11243 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11244 Likewise.
11245 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11246
09a3453f
DM
112472012-03-13 David S. Miller <davem@davemloft.net>
11248
8e59da90
DM
11249 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11250 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11252 rtld-global-offsets.h
11253 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11254
2a8ab7f2
DM
11255 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11256 large parameters.
11257
10f62770
DM
11258 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11259
5f0bdb18
DM
11260 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11261 'err' in the ifdef scope in which it is actually used.
11262
09a3453f
DM
11263 * nss/nss_db/db-init.c: Include string.h
11264
b4b2eb5e
DM
112652012-03-12 David S. Miller <davem@davemloft.net>
11266
98bb2f1c
DM
11267 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11268 masking out of the most significant byte of random value used.
11269 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11270 Fix coding style in previous change.
11271
b4b2eb5e
DM
11272 * sysdeps/unix/sysv/linux/kernel-features.h
11273 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11274 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11275 expression.
11276 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11277 later.
11278
6e226b09
DM
112792012-03-11 David S. Miller <davem@davemloft.net>
11280
a1bcbd40
DM
11281 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11282 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11283 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11284 for 'resultvar' otherwise things get truncated on 64-bit.
11285
cb9d6174
DM
11286 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11287 Fix masking out of the most significant byte of random value used.
11288
6e226b09
DM
11289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11290
058c132d
AS
112912012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11292
11293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11294
2d2cd515
DM
112952012-03-09 David S. Miller <davem@davemloft.net>
11296
11297 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11298 variables with appropriate CPP guards.
11299 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11300 frame pointer, not the stack pointer. Correct layout comments. Fix test
11301 on resulting framesize and the management of the outregs buffer for pltexit.
11302 Preserve floating point return values across _dl_call_pltexit call.
11303 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11304 framesize and the management of the outregs buffer for pltexit.
11305 Preserve floating point return values across _dl_call_pltexit
11306 call.
11307 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11308 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11309 (print_exit): Fix format string for return register value.
11310
9a07f9d0
JM
113112012-03-10 Joseph Myers <joseph@codesourcery.com>
11312
11313 * sunrpc/Makefile (others): Add rpcgen.
11314 ($(objpfx)rpcgen): Remove special build rule and dependency on
11315 libc.
11316 * sunrpc/rpcgen.c: New file.
11317
547b5e30
PE
113182012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11319
c524201a
PE
11320 [BZ #13673]
11321 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11322 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11323 * sysdeps/i386/crti.S: Likewise.
11324 * sysdeps/i386/crtn.S: Likewise.
11325 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11326 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11327 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11328 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11329 * sysdeps/sh/crti.S: Likewise.
11330 * sysdeps/sh/crtn.S: Likewise.
11331 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11332
7b6235f2
PE
11333 [BZ #13673]
11334 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11335 with URL.
11336 * locale/programs/locfile-kw.gperf: Likewise.
11337 * locale/programs/charmap-kw.h: Regenerated.
11338 * locale/programs/locfile-kw.h: Likewise.
11339
547b5e30
PE
11340 [BZ #13673]
11341 * intl/plural.y: Replace FSF snail mail address with URL.
11342 * intl/plural.c: Regenerated.
11343
5f0a5dae
RH
113442012-03-09 Richard Henderson <rth@twiddle.net>
11345
11346 * include/math_private.h: Remove file.
11347 * math/math_private.h: Move file ...
11348 * sysdeps/generic/math_private.h: ... here.
11349
b8c03620
RH
11350 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11351 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11352 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11353
4e234f5d 11354 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
11355 and <math_private.h>.
11356 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11357 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11358 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11359 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11360 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11367 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11368 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11369 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11370 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11371 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11372 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11373 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11374 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11375 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11377 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11378 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11380 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11381 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11382 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11383 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11384 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11386 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11387 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11388 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11390 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11391 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11392 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11393 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11394 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11395 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11396 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11397 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11398 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11399 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11400 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11401 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11402 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11403 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11404 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11405 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11406 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11407 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11408 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11409 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11410 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11411 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11412 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11416 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11417 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11419 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11420 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11421 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11422 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11423 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11424 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11425 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11426 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11427 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11428 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11429 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11430 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11433 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11434 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11435 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11436 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11437 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11438 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11439 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11440 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11442 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11443 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11444 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11445 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11446 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11447 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11448 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11449 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11450 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11451 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11452 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11453 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11454 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11455 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11456 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11457 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11458 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11459 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11460 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11461 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11462 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11463 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11464 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11465 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11466 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11467 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11468 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11469 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11470 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11471 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11472 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11473 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11474 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11475 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11476 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11477 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11478 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11479 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11480 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11481 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11482 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11483 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11484 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11485 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11486 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11487 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11488 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11489 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11490 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11491 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11492 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11493 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11494 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11495 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11496 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11497 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11498 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11499 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11500 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11501 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11502 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11503 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11504 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11505 * sysdeps/ieee754/k_standard.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11556 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11557 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11558 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11559 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11560 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11561 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11573 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11575 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11580 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11581 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11583 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11584 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11585 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11586 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11587 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11590 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11591 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11593 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11596 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11597 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11598 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11599 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11600 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11602 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11604 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11605 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11607 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11609 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11610 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11611 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11614 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11619 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11621 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11622 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11625 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11626 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11628 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11632 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11633 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11635 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11638 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11645 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11647 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11648 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11649 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11650 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11652 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11653 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11654 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11655 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11656 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11657 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11662 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11666 * sysdeps/ieee754/s_lib_version.c: Likewise.
11667 * sysdeps/ieee754/s_matherr.c: Likewise.
11668 * sysdeps/ieee754/s_signgam.c: Likewise.
11669 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11670 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11671 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11672 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11673 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11674 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11675 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11676 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11677 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11678 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11679 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11680 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11681 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11682 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11683 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11684 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11685 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11686 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11687 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11688 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11689 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11690
1991fa03
JM
116912012-03-09 Joseph Myers <joseph@codesourcery.com>
11692
11693 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11694 * sunrpc/rpc_main.c: Likewise.
11695 * sunrpc/rpc_svcout.c: Likewise.
11696
60d6f5a6
DM
116972012-03-09 David S. Miller <davem@davemloft.net>
11698
11699 * include/math_private.h: New file.
11700
4962050e
JM
117012012-03-09 Joseph Myers <joseph@codesourcery.com>
11702
02a6f887
JM
11703 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11704 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11705 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11706 from <bits/socket_type.h>.
11707 (enum __socket_type): Don't define here.
11708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11710 bits/socket_type.h.
11711
c6e013c1
JM
11712 [BZ #13566]
11713 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11714 checking __USE_GNU.
11715
4962050e
JM
11716 * Makerules ($(inst_includedir)/%.h): New rule.
11717 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11718 (install-others): Remove variable setting.
11719 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11720
38842f45
RH
117212012-03-08 Richard Henderson <rth@twiddle.net>
11722
67bb6da6
RH
11723 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11724 from macro to inline function; merge with the
11725 !__LIBC_INTERNAL_MATH_INLINES version.
11726 (__ieee754_sqrtf): Likewise.
11727
15194b4b
RH
11728 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11729 to inline function.
11730 (__rintf, __floor, __floorf): Likewise.
11731
64e21ede
RH
11732 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11733 macro to inline function.
11734 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11735
38842f45
RH
11736 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11737 not <math/math_private.h>.
11738
c64bf5fe
DM
117392012-03-08 David S. Miller <davem@davemloft.net>
11740
11741 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11742 copyright year.
11743 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11744
82d86f28
TS
117452012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11746
11747 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11748 normalization.
11749 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11750 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11751
aea5d727
UD
117522012-03-08 Ulrich Drepper <drepper@gmail.com>
11753
11754 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11755 be defined individually, they must be defined as a block. Define
11756 S for printing a string instead of hidint the different by using a
11757 macro for adding the 'l'.
11758 * stdio-common/tst-fphex-wide.c: Adjust.
11759
70bca0a3
MP
117602012-03-07 Marek Polacek <polacek@redhat.com>
11761
11762 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11763
65b81130
MP
117642012-03-08 Marek Polacek <polacek@redhat.com>
11765
11766 [BZ #13806]
11767 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11768 * stdio-common/tst-fphex.c: Define a few macros to make the
11769 test reusable. Use them.
11770 * stdio-common/tst-fphex-wide.c: New file.
11771
07037eeb
JM
117722012-03-08 Joseph Myers <joseph@codesourcery.com>
11773
a7a93d50
JM
11774 [BZ #6911]
11775 * manual/macros.texi (gnusystems): New macro.
11776 (nongnusystems): Likewise.
11777 (gnulinuxhurdsystems): Likewise.
11778 (gnuhurdsystems): Likewise..
11779 (gnulinuxsystems): Likewise.
11780 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11781 variants of the GNU system, not "GNU system".
11782 * manual/conf.texi: Likewise.
11783 * manual/errno.texi: Likewise. Update example of errno macro
11784 expansion.
11785 * manual/filesys.texi: Likewise.
11786 (getumask): Document as specific to GNU/Hurd.
11787 * manual/install.texi: Likewise. Reword some references to
11788 GNU/Linux.
11789 * manual/intro.texi: Likewise.
11790 * manual/io.texi: Likewise.
11791 (File Name Portability): Detail which constraints are inapplicable
11792 to all GNU systems and which are only inapplicable to GNU/Hurd.
11793 * manual/job.texi: Likewise.
11794 * manual/llio.texi: Likewise.
11795 (O_NOCTTY): Document as present on GNU/Linux.
11796 * manual/maint.texi: Likewise.
11797 * manual/memory.texi: Likewise.
11798 * manual/pattern.texi: Likewise.
11799 * manual/pipe.texi: Likewise.
11800 * manual/process.texi: Likewise.
11801 * manual/resource.texi: Likewise.
11802 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11803 child on GNU/Hurd.
11804 * manual/setjmp.texi: Likewise.
11805 * manual/signal.texi: Likewise.
11806 * manual/startup.texi: Likewise.
11807 * manual/stdio.texi: Likewise.
11808 * manual/terminal.texi: Likewise.
11809 (ONLCR): Document as POSIX.
11810 (OXTABS): Document availability on GNU/Linux as XTABS.
11811 (ONOEOT): Document availability separately from other bits.
11812 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11813 * manual/time.texi: Likewise.
11814 * manual/users.texi: Likewise.
11815 * INSTALL: Regenerated.
11816 * sysdeps/gnu/errlist.c: Regenerated.
11817
07037eeb
JM
11818 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11819 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11820 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11821 puts.
11822 * configure: Regenerated.
11823
d1d3431a
JM
118242012-03-07 Joseph Myers <joseph@codesourcery.com>
11825
af6a1e37
JM
11826 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11827 default includes instead of AC_HEADER_CHECK.
11828 * sysdeps/i386/configure: Regenerated.
11829
d1d3431a
JM
11830 [BZ #10716]
11831 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11832 * math/s_cacoshf.c (__cacoshf): Likewise.
11833 * math/s_cacoshl.c (__cacoshl): Likewise.
11834 * math/s_casinh.c (__casinh): Set signs of result from argument.
11835 * math/s_casinhf.c (__casinhf): Likewise.
11836 * math/s_casinhl.c (__casinhl): Likewise.
11837 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11838 (casinh_test): Add more tests.
11839 * sysdeps/i386/fpu/libm-test-ulps: Update.
11840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11841
482ff4da
UD
118422012-03-07 Ulrich Drepper <drepper@gmail.com>
11843
872fda05
UD
11844 * po/zh_TW.po: Update from translation team.
11845
a4300c7a
UD
11846 * login/Makefile (distribute): Remove variable.
11847 * catgets/Makefile: Likewise.
11848 * mach/Makefile: Likewise.
11849 * malloc/Makefile: Likewise.
11850 * misc/Makefile: Likewise.
11851 * iconv/Makefile: Likewise.
11852 * nscd/Makefile: Likewise.
11853 * hurd/Makefile: Likewise.
11854 * manual/Makefile: Likewise.
11855 * locale/Makefile: Likewise.
11856 * intl/Makefile: Likewise.
11857 * conform/Makefile: Likewise.
11858 * nss/Makefile: Likewise.
11859 * time/Makefile: Likewise.
11860 * soft-fp/Makefile: Likewise.
11861 * dirent/Makefile: Likewise.
11862 * gmon/Makefile: Likewise.
11863 * po/Makefile: Likewise.
11864 * rt/Makefile: Likewise.
11865 * socket/Makefile: Likewise.
11866 * math/Makefile: Likewise.
11867 * signal/Makefile: Likewise.
11868 * debug/Makefile: Likewise.
11869 * elf/Makefile: Likewise.
11870 * timezone/Makefile: Likewise.
11871 * stdlib/Makefile: Likewise.
11872 * iconvdata/Makefile: Likewise.
11873 * sunrpc/Makefile: Likewise.
11874 * io/Makefile: Likewise.
11875 * argp/Makefile: Likewise.
11876 * inet/Makefile: Likewise.
11877 * hesiod/Makefile: Likewise.
11878 * grp/Makefile: Likewise.
11879 * csu/Makefile: Likewise.
11880 * wctype/Makefile: Likewise.
11881 * crypt/Makefile: Likewise.
11882 * libio/Makefile: Likewise.
11883 * string/Makefile: Likewise.
11884 * nis/Makefile: Likewise.
11885 * resolv/Makefile: Likewise.
11886 * stdio-common/Makefile: Likewise.
11887 * wcsmbs/Makefile: Likewise.
11888 * dlfcn/Makefile: Likewise.
11889 * posix/Makefile: Likewise.
11890
3b7c4e74 11891 [BZ #6959]
482ff4da
UD
11892 * timezone/Makefile: Don't install timezone files, just the programs
11893 and scripts.
11894
f72ed77d
UD
118952012-03-06 Ulrich Drepper <drepper@gmail.com>
11896
a000466f
UD
11897 * nss/databases.def: Add missing gshadow entry.
11898
f72ed77d
UD
11899 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11900
a53b7a4e
MP
119012012-03-06 Marek Polacek <polacek@redhat.com>
11902
11903 [BZ #13726]
11904 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11905 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11906 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11907 * stdio-common/tst-long-dbl-fphex.c: New file.
11908
e9258400
DM
119092012-03-06 David S. Miller <davem@davemloft.net>
11910
11911 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11912 (set_obp_int): New function.
11913 (get_obp_int): New function.
11914 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11915 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11916 Avoid unused variable warnings on 'val' and use builtin_expect.
11917 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11918 __builtin_expect.
e9258400
DM
11919 (INLINE_CLONE_SYSCALL): Likewise.
11920
3bd2c723
DM
119212012-03-05 David S. Miller <davem@davemloft.net>
11922
11923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11924
bbb78d03
AS
119252012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11926
884c5db4
AS
11927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11928
bbb78d03
AS
11929 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11930 only for |x| >= 40.
11931 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11932
1c9f702a 119332012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11934
11935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11936 Replace gettimeofday with __vdso_gettimeofday.
11937
7be16f82
RM
11938 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11939 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11940 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11941
11942 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11943 time with __vdso_time.
11944
ed58a00f
JM
119452012-03-05 Joseph Myers <joseph@codesourcery.com>
11946
11947 * manual/lang.texi (size_t): Note types to which size_t may be
11948 equivalent with the GNU C Library, but do not describe when
11949 differences between them are significant.
11950
30ee4ced
AJ
119512012-03-05 Andreas Jaeger <aj@suse.de>
11952
11953 * sysdeps/i386/fpu/libm-test-ulps: Update.
11954
b7cd39e8
JM
119552012-03-05 Joseph Myers <joseph@codesourcery.com>
11956
11957 [BZ #3976]
11958 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11959 (__ieee754_pow): Save and restore rounding mode and use
11960 round-to-nearest for main computations.
11961 * math/libm-test.inc (pow_test_tonearest): New function.
11962 (pow_test_towardzero): Likewise.
11963 (pow_test_downward): Likewise.
11964 (pow_test_upward): Likewise.
11965 (main): Call the new functions.
11966 * sysdeps/i386/fpu/libm-test-ulps: Update.
11967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11968
11969 [BZ #3976]
11970 * math/libm-test.inc (cosh_test_tonearest): New function.
11971 (cosh_test_towardzero): Likewise.
11972 (cosh_test_downward): Likewise.
11973 (cosh_test_upward): Likewise.
11974 (sinh_test_tonearest): Likewise.
11975 (sinh_test_towardzero): Likewise.
11976 (sinh_test_downward): Likewise.
11977 (sinh_test_upward): Likewise.
11978 (main): Call the new functions.
11979 * sysdeps/i386/fpu/libm-test-ulps: Update.
11980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11981
6c6a98c9
TV
119822012-03-05 Tom de Vries <tom@codesourcery.com>
11983
11984 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11985 default stack guard is set in last bytes.
11986 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11987
21bb2d2e 119882012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11989
21bb2d2e 11990 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11991
21bb2d2e
AJ
11992 [BZ #13656]
11993 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11994 possibly allocate from heap instead of stack.
11995 * stdio-common/bug-vfprintf-nargs.c: New file.
11996 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11997
c6922934
AS
119982012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11999
12000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12001
bc957d53
MP
120022012-03-03 Marek Polacek <polacek@redhat.com>
12003
12004 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
12005 * math/math_private.h: Likewise.
12006 * stdlib/tst-strtod.c: Likewise.
12007 * sysdeps/i386/i486/bits/atomic.h: Likewise.
12008 * sysdeps/x86_64/bits/atomic.h: Likewise.
12009
6358490d
DM
120102012-03-02 David S. Miller <davem@davemloft.net>
12011
12012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12016 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12017 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12018 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12019 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12020
01ae168d
RM
120212012-03-02 Roland McGrath <roland@hack.frob.com>
12022
d9a17c07
RM
12023 [BZ #13792]
12024 * manual/examples/README: New file, says the example source files
12025 can be used under GPL>=2.
12026 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12027 line containing just "*/".
12028 * manual/examples/add.c: Add copyright header (GPL>=2).
12029 * manual/examples/argp-ex1.c: Likewise.
12030 * manual/examples/argp-ex2.c: Likewise.
12031 * manual/examples/argp-ex3.c: Likewise.
12032 * manual/examples/argp-ex4.c: Likewise.
12033 * manual/examples/atexit.c: Likewise.
12034 * manual/examples/db.c: Likewise.
12035 * manual/examples/dir.c: Likewise.
12036 * manual/examples/dir2.c: Likewise.
12037 * manual/examples/execinfo.c: Likewise.
12038 * manual/examples/filecli.c: Likewise.
12039 * manual/examples/filesrv.c: Likewise.
12040 * manual/examples/fmtmsgexpl.c: Likewise.
12041 * manual/examples/genpass.c: Likewise.
12042 * manual/examples/inetcli.c: Likewise.
12043 * manual/examples/inetsrv.c: Likewise.
12044 * manual/examples/isockad.c: Likewise.
12045 * manual/examples/longopt.c: Likewise.
12046 * manual/examples/memopen.c: Likewise.
12047 * manual/examples/memstrm.c: Likewise.
12048 * manual/examples/mkfsock.c: Likewise.
12049 * manual/examples/mkisock.c: Likewise.
12050 * manual/examples/mygetpass.c: Likewise.
12051 * manual/examples/pipe.c: Likewise.
12052 * manual/examples/popen.c: Likewise.
12053 * manual/examples/rprintf.c: Likewise.
12054 * manual/examples/search.c: Likewise.
12055 * manual/examples/select.c: Likewise.
12056 * manual/examples/setjmp.c: Likewise.
12057 * manual/examples/sigh1.c: Likewise.
12058 * manual/examples/sigusr.c: Likewise.
12059 * manual/examples/stpcpy.c: Likewise.
12060 * manual/examples/strdupa.c: Likewise.
12061 * manual/examples/strftim.c: Likewise.
12062 * manual/examples/strncat.c: Likewise.
12063 * manual/examples/subopt.c: Likewise.
12064 * manual/examples/swapcontext.c: Likewise.
12065 * manual/examples/termios.c: Likewise.
12066 * manual/examples/testopt.c: Likewise.
12067 * manual/examples/testpass.c: Likewise.
12068 * manual/examples/timeval_subtract.c: Likewise.
12069
01ae168d
RM
12070 [BZ #13792]
12071 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12072 function to ...
12073 * manual/timeval_subtract.c.texi: ... here, new file.
12074
49efa33d
DM
120752012-03-02 David S. Miller <davem@davemloft.net>
12076
12077 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12078
28afd92d
JM
120792012-03-02 Joseph Myers <joseph@codesourcery.com>
12080
804360ed
JM
12081 [BZ #3976]
12082 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12083 (__sin): Save and restore rounding mode and use round-to-nearest
12084 for all computations.
12085 (__cos): Save and restore rounding mode and use round-to-nearest
12086 for all computations.
12087 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12088 <fenv.h>.
12089 (tan): Save and restore rounding mode and use round-to-nearest for
12090 all computations.
12091 * math/libm-test.inc (cos_test_tonearest): New function.
12092 (cos_test_towardzero): Likewise.
12093 (cos_test_downward): Likewise.
12094 (cos_test_upward): Likewise.
12095 (sin_test_tonearest): Likewise.
12096 (sin_test_towardzero): Likewise.
12097 (sin_test_downward): Likewise.
12098 (sin_test_upward): Likewise.
12099 (tan_test_tonearest): Likewise.
12100 (tan_test_towardzero): Likewise.
12101 (tan_test_downward): Likewise.
12102 (tan_test_upward): Likewise.
12103 (main): Call the new functions.
12104 * sysdeps/i386/fpu/libm-test-ulps: Update.
12105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12106
a6d06d7b
JM
12107 [BZ #10135]
12108 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12109 small n, then large n, before computing and testing k+n.
12110 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12112 Likewise.
12113 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12114 Likewise.
12115 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12116 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12117 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12118 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12119 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12120 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12121 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12122 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12123 * math/libm-test.inc (scalbn_test): Add more tests.
12124 (scalbln_test): Likewise.
12125
07e12bb3
JM
12126 * manual/filesys.texi (mode_t): Describe constraints on size and
12127 signedness, not exact equivalence to a particular type.
12128 (ino_t): Likewise.
12129 (ino64_t): Likewise.
12130 (dev_t): Likewise.
12131 (nlink_t): Likewise.
12132 (blkcnt_t): Likewise.
12133 (blkcnt64_t): Likewise.
12134 * manual/llio.texi (off_t): Likewise.
12135
28afd92d
JM
12136 [BZ #3976]
12137 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12138 (__ieee754_exp): Save and restore rounding mode and use
12139 round-to-nearest for all computations.
12140 * math/libm-test.inc (exp_test_tonearest): New function.
12141 (exp_test_towardzero): Likewise.
12142 (exp_test_downward): Likewise.
12143 (exp_test_upward): Likewise.
12144 (main): Call the new functions.
12145 * sysdeps/i386/fpu/libm-test-ulps: Update.
12146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12147
b1eeb65d
CD
121482012-03-01 Chris Demetriou <cgd@google.com>
12149
12150 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12151 have predictable order.
12152
53362a4b
DM
121532012-03-01 David S. Miller <davem@davemloft.net>
12154
3c969083
DM
12155 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12156
759707de
DM
12157 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12158 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12159 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12160 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12161
dfdb8ff2
DM
12162 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12163 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12164 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12166 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12167 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12168 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12169 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12170 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12171
ead89f96
DM
12172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12173
7f66bd07
DM
12174 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12175 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12176 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12177
53362a4b
DM
12178 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12179 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12180 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12181 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12182 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12183 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12184 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12185 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12186 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12187 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12188 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12189 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12191 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12192 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12194 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12195 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12196 * sysdeps/sparc/elf/configure: Regenerated.
12197
7b1902cb
JM
121982012-03-01 Joseph Myers <joseph@codesourcery.com>
12199
bec039bc
JM
12200 * configure.in (AS, LD): Require binutils 2.20 or later.
12201 * configure: Regenerated.
12202 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12203 as required minimum version.
12204 * INSTALL: Regenerated.
12205
7b1902cb
JM
12206 [BZ #2541]
12207 [BZ #4108]
12208 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12209 before squaring exponent.
12210 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12211 bottom long double and 27 bits of top long double before squaring
12212 exponent.
12213 * math/libm-test.inc (erfc_test): Add more tests.
12214 * sysdeps/i386/fpu/libm-test-ulps: Update.
12215 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12217
f775c276
KT
122182012-03-01 Kai Tietz <ktietz@redhat.com>
12219
12220 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12221 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12222 containing bit-fields.
12223 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12224 * soft-fp/single.h (_FP_UNION_S): Likewise.
12225 * soft-fp/double.h (_FP_UNION_D): Likewise.
12226
5b8a4d4a
JM
122272012-02-29 Joseph Myers <joseph@codesourcery.com>
12228
0bab47b6
JM
12229 [BZ #13786]
12230 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12231 not include ../strcmp.S.
12232 [USE_AS_STRNCASECMP_L]: Likewise.
12233 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12234 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12235 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12236 (__strncasecmp_l_ia32): Define as alias to
12237 __strncasecmp_l_nonascii.
12238
0fcad3e2
JM
12239 [BZ #5794]
12240 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12241 * sysdeps/i386/fpu/libm-test-ulps: Update.
12242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12243
5b8a4d4a
JM
12244 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12246
8fdceb2e
JL
122472012-02-29 Jeff Law <law@redhat.com>
12248
12249 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12250 out of bounds read.
12251
1f393a11
MP
122522012-02-29 Marek Polacek <polacek@redhat.com>
12253
12254 [BZ #13706]
12255 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12256 * elf/Makefile: Add rules to run tst-unused-dep.out.
12257
8847f037
DM
122582012-02-28 David S. Miller <davem@davemloft.net>
12259
12260 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12261 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12262 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12263 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12264 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12265 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12266
169d7f11
JM
122672012-02-29 Joseph Myers <joseph@codesourcery.com>
12268
12269 * math/libm-test.inc (llround_test): Move one test from
12270 lround_test. Use TEST_f_L in moved test.
12271 (lround_test): Move misplaced test to llround_test. Add testcase
12272 from bug 2561.
12273
39adf059
UD
122742012-02-28 Ulrich Drepper <drepper@gmail.com>
12275
12276 * sysdeps/x86_64/fpu/e_expf.S: New file.
12277 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12278
71b5d1c5
SB
122792012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12280
12281 [BZ #13637]
12282 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12283 of remain_len that may cause incomplete multi-byte character and
12284 false match.
12285 * posix/bug-regex33.c: New file.
12286 * posix/Makefile (tests): Add bug-regex33.
12287
1f77f049
JM
122882012-02-28 Joseph Myers <joseph@codesourcery.com>
12289
12290 * manual/macros.texi: New file.
12291 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12292 * manual/libc.texinfo: Include macros.texi.
12293 * manual/creatute.texi: Likewise.
12294 * manual/install.texi: Likewise.
12295 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12296 @glibcadj{} in references to the GNU C Library.
12297 * manual/charset.texi: Likewise.
12298 * manual/conf.texi: Likewise.
12299 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12300 when not using those macros.
12301 * manual/creature.texi: Likewise.
12302 * manual/crypt.texi: Likewise.
12303 * manual/errno.texi: Likewise.
12304 * manual/filesys.texi: Likewise.
12305 * manual/header.texi: Likewise.
12306 * manual/install.texi: Likewise.
12307 * manual/intro.texi: Likewise.
12308 * manual/io.texi: Likewise.
12309 * manual/job.texi: Likewise.
12310 * manual/lang.texi: Likewise.
12311 * manual/libc.texiinfo: Likewise.
12312 * manual/llio.texi: Likewise.
12313 * manual/locale.texi: Likewise.
12314 * manual/maint.texi: Likewise.
12315 * manual/math.texi: Likewise.
12316 * manual/memory.texi: Likewise.
12317 * manual/message.texi: Likewise.
12318 * manual/nss.texi: Likewise.
12319 * manual/pattern.texi: Likewise.
12320 * manual/process.texi: Likewise.
12321 * manual/resource.texi: Likewise.
12322 * manual/search.texi: Likewise.
12323 * manual/setjmp.texi: Likewise.
12324 * manual/signal.texi: Likewise.
12325 * manual/socket.texi: Likewise.
12326 * manual/startup.texi: Likewise.
12327 * manual/stdio.texi: Likewise.
12328 * manual/string.texi: Likewise.
12329 * manual/sysinfo.texi: Likewise.
12330 * manual/syslog.texi: Likewise.
12331 * manual/terminal.texi: Likewise.
12332 * manual/time.texi: Likewise.
12333 * manual/users.texi: Likewise.
12334 * INSTALL: Regenerated.
12335 * NOTES: Regenerated.
d40c5d54 12336 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 12337
450bf206
AS
123382012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12339
12340 * include/dirent.h: Include <dirstream.h> before
12341 <dirent/dirent.h>.
12342
741a235b
DM
123432012-02-28 David S. Miller <davem@davemloft.net>
12344
12345 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12346 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12347 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12348 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12349
d6b5aa58
DM
123502012-02-27 David S. Miller <davem@davemloft.net>
12351
1aff59a3
DM
12352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12354 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12355 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12356
d6b5aa58
DM
12357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12358 frame pointer instead of stack pointer relative arg slot.
12359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12360 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12361 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12362
433f48bf
CD
123632012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12364
12365 [BZ #3992]
12366 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12367
d674b76d
DM
123682012-02-27 David S. Miller <davem@davemloft.net>
12369
12370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12374 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12375 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12376 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12377 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12378
0e7727f7
JM
123792012-02-27 Joseph Myers <joseph@codesourcery.com>
12380
12381 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12382 later. Allow versions 5-9.
43be4ca2 12383 * configure: Regenerated.
0e7727f7
JM
12384 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12385 required minimum version and 4.6 as recommended version. Do not
12386 mention bugs in GCC 2.7 and 2.8.
43be4ca2 12387 * INSTALL: Regenerated.
0e7727f7 12388
a78bc654
DM
123892012-02-27 David S. Miller <davem@davemloft.net>
12390
428d5830
DM
12391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12395 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12396 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12397 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12398 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12399
a78bc654
DM
12400 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12401 manipulate bits before adding and subtracting TWO112[sx].
12402 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12403
4579f81c
RM
124042012-02-27 Roland McGrath <roland@hack.frob.com>
12405
36c8acb4
RM
12406 [BZ #13775]
12407 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12408 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12409 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12410 being in POSIX, because they are in 1003.1-2008.
12411
84ad622b
RM
12412 * rt/tst-aio.c: Include <fcntl.h>.
12413 * rt/tst-aio7.c: Likewise.
12414 * rt/tst-aio64.c: Likewise.
12415
4579f81c
RM
12416 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12417
abd923db
JM
124182012-02-27 Joseph Myers <joseph@codesourcery.com>
12419
12420 * manual/install.texi (--with-headers): Describe headers as
12421 interface headers, not private headers.
12422 (Specific advice for GNU/Linux systems): Describe use of headers
12423 from "make headers_install", not private headers from older
12424 kernels.
43be4ca2 12425 * INSTALL: Regenerated.
abd923db
JM
12426 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12427 Change to 2.6.19.
12428 * sysdeps/unix/sysv/linux/configure: Regenerated.
12429
6664049b
JM
12430 * manual/llio.texi (fclean): Remove documentation.
12431
bb8b6697
JM
12432 * manual/Makefile (libc-texi-generated): New variable. Include
12433 version.texi.
12434 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12435 $(libc-texi-generated), not duplicated list of files.
12436 (version.texi, stamp-version): New rules.
12437 (realclean): Remove $(libc-texi-generated), not individual files
12438 from that list. Do not remove dir-add.texinfo.
12439 * manual/libc.texinfo: Comment out uses of edition numbers and
12440 references to printed manual. Remove last-updated dates.
12441 (EDITION): Comment out.
12442 (ISBN): Likewise.
12443 (VERSION, UPDATED): Remove.
12444 (version.texi): Include.
12445
12e5c3b9
AS
124462012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12447
12448 * sysdeps/posix/spawni.c: Include <signal.h>.
12449 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12450 * sysdeps/pthread/aio_fsync.c: Likewise.
12451
4efeffc1 124522012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 12453
ba63ba08
UD
12454 * conform/Makefile (tests): Run only when not cross-compiling and
12455 when fast-check is not defined.
12456
d94a4670
UD
12457 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12458 * conform/data/limits.h-data: Fixes for POSIX2008.
12459 * conform/run-conformtest.sh: Run all tests.
12460 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12461 headers.
12462 * include/bits/dlfcn.h: Likewise.
12463 * include/langinfo.h: Likewise.
12464 * include/monetary.h: Likewise.
12465 * include/sys/poll.h: Likewise.
12466
12467 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12468 for __USE_GNU.
12469 * posix/spawn.h: Define __need_sigset_t.
12470 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12471 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12472 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12473 to get sigevent_t only.
12474 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12475 only for __USE_GNU.
12476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12477 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12478 process_vm_writev only for __USE_GNU.
12479 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12480
12481 * conform/Makefile: For now ignore errors from run-conformtest.
12482 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12483 POSIX to avoid namespace pollution. Don't prepend headers.
12484 * conform/data/aio.h-data: Fixes for POSIX testing.
12485 * conform/data/fcntl.h-data: Likewise.
12486 * conform/data/glob.h-data: Likewise.
12487 * conform/data/grp.h-data: Likewise.
12488 * conform/data/pthread.h-data: Likewise.
12489 * conform/data/pwd.h-data: Likewise.
12490 * conform/data/signal.h-data: Likewise.
12491 * conform/data/spawn.h-data: Likewise.
12492 * conform/data/stdio.h-data: Likewise.
12493 * conform/data/stdlib.h-data: Likewise.
12494 * conform/data/stropts.h-data: Likewise.
12495 * conform/data/sys/mman.h-data: Likewise.
12496 * conform/data/sys/stat.h-data: Likewise.
12497 * conform/data/sys/types.h-data: Likewise.
12498 * conform/data/sys/wait.h-data: Likewise.
12499 * conform/data/time.h-data: Likewise.
12500 * conform/data/unistd.h-data: Likewise.
12501 * conform/data/utime.h-data: Likewise.
12502
12503 * io/sys/stat.h: fchmod was always in POSIX.
12504 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12505 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12506 * rt/aio.h: Define __need_timespec before including <time.h>.
12507 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12508 struct. Add forward declaration of pthread_attr_t and use it in
12509 sigevent.
12510 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12511 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12512 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12513 always remove CLK_TCK definition.
12514
c20105c3
AS
125152012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12516
12517 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12518
7a270350
UD
125192012-02-25 Ulrich Drepper <drepper@gmail.com>
12520
31341567
UD
12521 * conform/run-conformtest.sh: New file.
12522 * conform/Makefile: Run run-conformtest for tests.
12523 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12524 support.
12525
12526 * conform/data/uchar.h-data: New file.
12527 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12528 * conform/data/arpa/inet.h-data: Likewise.
12529 * conform/data/assert.h-data: Likewise.
12530 * conform/data/complex.h-data: Likewise.
12531 * conform/data/cpio.h-data: Likewise.
12532 * conform/data/ctype.h-data: Likewise.
12533 * conform/data/dirent.h-data: Likewise.
12534 * conform/data/dlfcn.h-data: Likewise.
12535 * conform/data/errno.h-data: Likewise.
12536 * conform/data/fcntl.h-data: Likewise.
12537 * conform/data/float.h-data: Likewise.
12538 * conform/data/fmtmsg.h-data: Likewise.
12539 * conform/data/fnmatch.h-data: Likewise.
12540 * conform/data/ftw.h-data: Likewise.
12541 * conform/data/glob.h-data: Likewise.
12542 * conform/data/grp.h-data: Likewise.
12543 * conform/data/iconv.h-data: Likewise.
12544 * conform/data/inttypes.h-data: Likewise.
12545 * conform/data/langinfo.h-data: Likewise.
12546 * conform/data/libgen.h-data: Likewise.
12547 * conform/data/limits.h-data: Likewise.
12548 * conform/data/locale.h-data: Likewise.
12549 * conform/data/math.h-data: Likewise.
12550 * conform/data/monetary.h-data: Likewise.
12551 * conform/data/mqueue.h-data: Likewise.
12552 * conform/data/ndbm.h-data: Likewise.
12553 * conform/data/net/if.h-data: Likewise.
12554 * conform/data/netdb.h-data: Likewise.
12555 * conform/data/netinet/in.h-data: Likewise.
12556 * conform/data/nl_types.h-data: Likewise.
12557 * conform/data/poll.h-data: Likewise.
12558 * conform/data/pthread.h-data: Likewise.
12559 * conform/data/pwd.h-data: Likewise.
12560 * conform/data/regex.h-data: Likewise.
12561 * conform/data/sched.h-data: Likewise.
12562 * conform/data/search.h-data: Likewise.
12563 * conform/data/semaphore.h-data: Likewise.
12564 * conform/data/setjmp.h-data: Likewise.
12565 * conform/data/signal.h-data: Likewise.
12566 * conform/data/spawn.h-data: Likewise.
12567 * conform/data/stdarg.h-data: Likewise.
12568 * conform/data/stdio.h-data: Likewise.
12569 * conform/data/stdlib.h-data: Likewise.
12570 * conform/data/string.h-data: Likewise.
12571 * conform/data/strings.h-data: Likewise.
12572 * conform/data/stropts.h-data: Likewise.
12573 * conform/data/sys/ipc.h-data: Likewise.
12574 * conform/data/sys/mman.h-data: Likewise.
12575 * conform/data/sys/msg.h-data: Likewise.
12576 * conform/data/sys/resource.h-data: Likewise.
12577 * conform/data/sys/select.h-data: Likewise.
12578 * conform/data/sys/sem.h-data: Likewise.
12579 * conform/data/sys/shm.h-data: Likewise.
12580 * conform/data/sys/socket.h-data: Likewise.
12581 * conform/data/sys/stat.h-data: Likewise.
12582 * conform/data/sys/statvfs.h-data: Likewise.
12583 * conform/data/sys/time.h-data: Likewise.
12584 * conform/data/sys/timeb.h-data: Likewise.
12585 * conform/data/sys/times.h-data: Likewise.
12586 * conform/data/sys/types.h-data: Likewise.
12587 * conform/data/sys/uio.h-data: Likewise.
12588 * conform/data/sys/un.h-data: Likewise.
12589 * conform/data/sys/utsname.h-data: Likewise.
12590 * conform/data/sys/wait.h-data: Likewise.
12591 * conform/data/syslog.h-data: Likewise.
12592 * conform/data/tar.h-data: Likewise.
12593 * conform/data/termios.h-data: Likewise.
12594 * conform/data/utime.h-data: Likewise.
12595 * conform/data/utmpx.h-data: Likewise.
12596 * conform/data/varargs.h-data: Likewise.
12597 * conform/data/wchar.h-data: Likewise.
12598 * conform/data/wctype.h-data: Likewise.
12599 * conform/data/wordexp.h-data: Likewise.
12600
12601 * include/stropts.h: New file.
12602 * include/uchar.h: New file.
12603 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12604 * include/assert.h: Likewise.
12605 * include/ctype.h: Likewise.
12606 * include/dirent.h: Likewise.
12607 * include/dlfcn.h: Likewise.
12608 * include/fcntl.h: Likewise.
12609 * include/fnmatch.h: Likewise.
12610 * include/glob.h: Likewise.
12611 * include/grp.h: Likewise.
12612 * include/libio.h: Likewise.
12613 * include/locale.h: Likewise.
12614 * include/math.h: Likewise.
12615 * include/net/if.h: Likewise.
12616 * include/netdb.h: Likewise.
12617 * include/netinet/in.h: Likewise.
12618 * include/pthread.h: Likewise.
12619 * include/pwd.h: Likewise.
12620 * include/regex.h: Likewise.
12621 * include/sched.h: Likewise.
12622 * include/search.h: Likewise.
12623 * include/setjmp.h: Likewise.
12624 * include/signal.h: Likewise.
12625 * include/stdio.h: Likewise.
12626 * include/stdlib.h: Likewise.
12627 * include/string.h: Likewise.
12628 * include/sys/cdefs.h: Likewise.
12629 * include/sys/mman.h: Likewise.
12630 * include/sys/msg.h: Likewise.
12631 * include/sys/resource.h: Likewise.
12632 * include/sys/select.h: Likewise.
12633 * include/sys/socket.h: Likewise.
12634 * include/sys/stat.h: Likewise.
12635 * include/sys/statvfs.h: Likewise.
12636 * include/sys/time.h: Likewise.
12637 * include/sys/times.h: Likewise.
12638 * include/sys/uio.h: Likewise.
12639 * include/sys/utsname.h: Likewise.
12640 * include/sys/wait.h: Likewise.
12641 * include/termios.h: Likewise.
12642 * include/time.h: Likewise.
12643 * include/ulimit.h: Likewise.
12644 * include/unistd.h: Likewise.
12645 * include/utime.h: Likewise.
12646 * include/wchar.h: Likewise.
12647 * include/wctype.h: Likewise.
12648 * include/wordexp.h: Likewise.
12649
12650 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12651
7a270350
UD
12652 * time/time.h: TIME_UTC must be a macro.
12653 Make timespec_get available for ISO C11 only as well.
12654
7724defc
UD
126552012-02-24 Ulrich Drepper <drepper@gmail.com>
12656
12657 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12658 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12659
6b1d1d46
JM
126602012-02-24 Joseph Myers <joseph@codesourcery.com>
12661
12662 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12663
0f8bbd69
JM
126642012-02-24 Joseph Myers <joseph@codesourcery.com>
12665
12666 * manual/texinfo.tex: Update to version 2012-01-19.16.
12667
66ab80bc
JM
126682012-02-24 Joseph Myers <joseph@codesourcery.com>
12669
12670 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12671
74981cc5
RM
126722012-02-24 Roland McGrath <roland@hack.frob.com>
12673
ee968201
RM
12674 [BZ #13738]
12675 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12676 * manual/fdl-1.3.texi: New file.
12677 * manual/fdl-1.1.texi: File removed.
12678
74981cc5
RM
12679 [BZ #13738]
12680 * manual/libc.texinfo (FDL_VERSION): New @set.
12681 Use it for mention of FDL in cover text.
12682 (Documentation License): Use it in @include file name.
12683
7bb764bc
JM
126842012-02-22 Joseph Myers <joseph@codesourcery.com>
12685 Roland McGrath <roland@hack.frob.com>
12686
12687 [BZ #5461]
12688 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12689 not LONG_LONG_MAX and LONG_LONG_MIN.
12690 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12691 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12692 name.
12693 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12694
6cbeae47
JM
126952012-02-22 Joseph Myers <joseph@codesourcery.com>
12696
12697 [BZ #2547]
12698 [BZ #11365]
12699 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12700 manipulate bits before adding and subtracting TWO23[sx].
12701 * math/libm-test.inc (nearbyint_test): Add more tests.
12702
fe45ce09
JM
127032012-02-22 Joseph Myers <joseph@codesourcery.com>
12704
12705 [BZ #2548]
12706 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12707 bits before adding and subtracting TWO23[sx].
12708 * math/libm-test.inc (rint_test): Add more tests.
12709 (rint_test_tonearest): Likewise.
12710 (rint_test_towardzero): Likewise.
12711 (rint_test_downward): Likewise.
12712 (rint_test_upward: Likewise.
12713
ff3b3d82
JM
127142012-02-22 Joseph Myers <joseph@codesourcery.com>
12715
12716 [BZ #10110]
12717 * include/stdc-predef.h: New file. Extracted from features.h.
12718 * include/features.h: Include stdc-predef.h.
12719 * Makefile (headers): Add stdc-predef.h.
12720 * CONFORMANCE (Compiler limitations): Update.
12721
ef0aab35
JM
127222012-02-22 Joseph Myers <joseph@codesourcery.com>
12723
12724 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12725
58639409
DM
127262012-02-21 David S. Miller <davem@davemloft.net>
12727
12728 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12729 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12730
c0e70b25
DM
127312012-02-20 David S. Miller <davem@davemloft.net>
12732
12733 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12734 using a normal save/restore sequence, rather than allocating a
12735 dummy stack frame just to store a frame pointer and restore.
12736 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12737
fb06851d
JM
127382012-02-21 Joseph Myers <joseph@codesourcery.com>
12739
12740 * manual/install.texi: Fix stray word in line-wrapped comment.
12741
7a8b71c3
DM
127422012-02-20 David S. Miller <davem@davemloft.net>
12743
d510c123
DM
12744 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12745 both binutils and gcc support GOTDATA.
12746
0722d7c2
DM
12747 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12748 "rd %pc" in the PIC register setup sequences.
12749
3d2b3019
DM
12750 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12751 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12752 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12753 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12754 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12755 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12756 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12757 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12758 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12759 (SYSCALL_ERROR_HANDLER): Likewise.
12760 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12761 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12762 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12763 (SYSCALL_ERROR_HANDLER): Likewise.
12764
c80098a9
DM
12765 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12766 (HAVE_GCC_GOTDATA): New.
12767 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12768 relocation support in both binutils and gcc.
12769 * sysdeps/sparc/elf/configure: Regenerate.
12770
3a2545a0
DM
12771 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12772 * sysdeps/sparc/sparc32/elf/configure: Delete.
12773 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12774 * sysdeps/sparc/sparc64/elf/configure: Delete.
12775 * sysdeps/sparc/elf/configure.in: New file.
12776 * sysdeps/sparc/elf/configure: Generate.
12777
7a8b71c3
DM
12778 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12779 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12780 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12781 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12782 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12783
f1e86fca
JM
127842012-02-21 Joseph Myers <joseph@codesourcery.com>
12785
12786 * manual/install.texi: Do not mention specific glibc version
12787 numbers.
12788 * manual/libc.texinfo (VERSION, UPDATED): Update.
12789 (@copying): Use @copyright{} and range of years.
12790
0e7dfaef
JM
127912012-02-21 Joseph Myers <joseph@codesourcery.com>
12792
12793 [BZ #13695]
12794 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12795 [crti.S not in sysdirs] (generated): Do not append.
12796 [crti.S not in sysdirs] (omit-deps): Likewise.
12797 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12798 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12799 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12800 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12801 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12802 Likewise.
12803 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12804 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12805 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12806 * csu/defs.awk: Remove file.
12807 * sysdeps/generic/initfini.c: Likewise.
12808 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12809 variable.
12810 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12811 Likewise.
12812
599af3ca
JM
128132012-02-20 Joseph Myers <joseph@codesourcery.com>
12814
12815 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12816 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12817 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12818 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12819 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12820 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12821 <bits/epoll.h>.
12822 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12823 (__EPOLL_PACKED): Define to empty if not defined by
12824 <bits/epoll.h>.
12825 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12826 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12827 bits/epoll.h.
12828
0e499750
JM
128292012-02-20 Joseph Myers <joseph@codesourcery.com>
12830
12831 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12832 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12833 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12834 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12835 <bits/timerfd.h>.
12836 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12838 bits/timerfd.h.
12839
5ad91f6e
JM
128402012-02-20 Joseph Myers <joseph@codesourcery.com>
12841
12842 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12843 in C locale.
12844 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12845 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12846 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12848
06b99b02
AJ
128492012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12850
12851 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12852 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12853
7638c0fd
AS
128542012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12855
12856 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12857 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12858 defined.
12859 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12860 Likewise.
12861 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12862 entry for 2.16.
12863
92221550
AJ
128642012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12865
12866 * math/w_acos.c: Use non-signaling floating-point comparisons.
12867 * math/w_acosf.c: Likewise.
12868 * math/w_acosh.c: Likewise.
12869 * math/w_acoshf.c: Likewise.
12870 * math/w_acoshl.c: Likewise.
12871 * math/w_acosl.c: Likewise.
12872 * math/w_asin.c: Likewise.
12873 * math/w_asinf.c: Likewise.
12874 * math/w_asinl.c: Likewise.
12875 * math/w_atanh.c: Likewise.
12876 * math/w_atanhf.c: Likewise.
12877 * math/w_atanhl.c: Likewise.
12878 * math/w_exp2.c: Likewise.
12879 * math/w_exp2f.c: Likewise.
12880 * math/w_exp2l.c: Likewise.
12881 * math/w_j0.c: Likewise.
12882 * math/w_j0f.c: Likewise.
12883 * math/w_j0l.c: Likewise.
12884 * math/w_j1.c: Likewise.
12885 * math/w_j1f.c: Likewise.
12886 * math/w_j1l.c: Likewise.
12887 * math/w_jn.c: Likewise.
12888 * math/w_jnf.c: Likewise.
12889 * math/w_log.c: Likewise.
12890 * math/w_log10.c: Likewise.
12891 * math/w_log10f.c: Likewise.
12892 * math/w_log10l.c: Likewise.
12893 * math/w_log2.c: Likewise.
12894 * math/w_log2f.c: Likewise.
12895 * math/w_log2l.c: Likewise.
12896 * math/w_logf.c: Likewise.
12897 * math/w_logl.c: Likewise.
12898 * math/w_sqrt.c: Likewise.
12899 * math/w_sqrtf.c: Likewise.
12900 * math/w_sqrtl.c: Likewise.
12901 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12902 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12903 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12904 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12905 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12906
ebaf36eb
JM
129072012-02-19 Joseph Myers <joseph@codesourcery.com>
12908
12909 [BZ #9739]
12910 * manual/string.texi (strnlen): Use correct parameter name in
12911 equivalent expression.
12912
71c254a6
JM
129132012-02-19 Joseph Myers <joseph@codesourcery.com>
12914
12915 [BZ #11174]
12916 * manual/users.texi (seteuid): Consistently use neweuid for
12917 argument name.
12918
16d2c631
JM
129192012-02-19 Joseph Myers <joseph@codesourcery.com>
12920
12921 [BZ #13704]
12922 * manual/nss.texi (Services in the NSS configuration): Correct
12923 list of services in example configuration file.
12924
cd837b09
NB
129252012-02-19 Nick Bowler <nbowler@draconx.ca>
12926
12927 [BZ #11322]
12928 * manual/arith.texi: Remove statements about negative zero
12929 behaving identically to zero.
12930
02c4bbad
JM
129312012-02-18 Joseph Myers <joseph@codesourcery.com>
12932
12933 [BZ #5993]
12934 * manual/install.texi: Do not document upgrading from libc5.
12935
366842e7
JM
129362012-02-18 Joseph Myers <joseph@codesourcery.com>
12937
12938 [BZ #4596]
12939 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12940
dd54084d
DM
129412012-02-18 David S. Miller <davem@davemloft.net>
12942
12943 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12944 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12945 %o7 across the call.
12946 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12947 instead.
12948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12949 SETUP_PIC_REG_LEAF.
12950 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12951 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12952 * sysdeps/sparc/crtn.S: Likewise.
12953
2bcc53a3
UD
129542012-02-17 Ulrich Drepper <drepper@gmail.com>
12955
12956 * aout/Makefile: Remove.
12957
09c093b5
RK
129582012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12959
12960 [BZ #13058]
12961 * manual/examples/argp-ex1.c (main): Format definition in GNU
12962 style.
12963 * manual/examples/argp-ex2.c (main): Likewise.
12964 * manual/examples/argp-ex3.c (main): Likewise.
12965 * manual/examples/argp-ex4.c (main): Likewise.
12966 * manual/examples/longopt.c (main): Use new-style prototype
12967 definition.
12968 * manual/examples/strncat.c (main): Specify return type and use
12969 (void) for arguments.
12970 * manual/examples/subopt.c (main): Use char **argv argument.
12971
2ee633a2
JM
129722012-02-17 Joseph Myers <joseph@codesourcery.com>
12973
12974 [BZ #5077]
12975 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12976 rounding modes.
12977
0520adde
FB
129782012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12979
12980 [BZ #6907]
12981 * manual/string.texi (strchr): Change when strchrnul is
12982 recommended.
12983
3f4081cd
DGM
129842012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12985
12986 [BZ #174]
12987 * manual/locale.texi (setlocale): Document LOCPATH.
12988
d1b10e78
JM
129892012-02-17 Joseph Myers <joseph@codesourcery.com>
12990
12991 [BZ #10210]
12992 * manual/process.texi (execle): Move @dots{} before last argument.
12993
79c6869c
PB
129942012-02-17 Paul Bolle <pebolle@tiscali.nl>
12995
12996 [BZ #12047]
12997 * manual/charset.texi (Generic Charset Conversion): Fix typo
12998 (LC_TYPE -> LC_CTYPE).
12999
cc6e48bc
NB
130002012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
13001
13002 [BZ #5805]
13003 * manual/arith.texi (scalbn): Use @var{} on parameter names.
13004 (scalbnf): Likewise.
13005 (scalbnl): Likewise.
13006 (scalbln): Likewise.
13007 (scalblnf): Likewise.
13008 (scalblnl): Likewise.
13009 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
13010 (vwarnx): Likewise.
13011 (verr): Likewise.
13012 (verrx): Likewise.
13013 * manual/filesys.texi (telldir): Use braces around return type.
13014 * manual/llio.texi (mmap): Add space after comma.
13015 (mmap64): Likewise.
13016 * manual/math.texi (jn): Use @var{} on parameter names.
13017 (jnf): Likewise.
13018 (jnl): Likewise.
13019 (yn): Likewise.
13020 (ynf): Likewise.
13021 (ynl): Likewise.
13022 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13023 line.
13024 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13025 "...".
13026 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13027 (sched_get_priority_max): Likewise.
13028 * manual/signal.texi (sigvec): Add space after comma.
13029 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13030 names.
13031 (if_indextoname): Likewise.
13032 (if_freenameindex): Likewise.
13033 (sendto): Use ',' instead of '.' in prototype.
13034 * manual/startup.texi (syscall): Use @dots{} instead of literal
13035 "...".
13036 * manual/stdio.texi (__fpending): Separate initial words of
13037 paragraph from @deftypefun line.
13038 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13039 "...".
13040 (vsyslog): Use @var{} on parameter names.
13041 * manual/terminal.texi (stty): Use @var{} on parameter names.
13042 * manual/users.texi (getutmp): Use @var{} on parameter names.
13043 (getutmpx): Likewise.
13044
5b23062f
JM
130452012-02-17 Joseph Myers <joseph@codesourcery.com>
13046
13047 [BZ #6884]
13048 * manual/stdio.texi (fopen): Fix typos in description of
13049 ",ccs=STRING".
13050
8dee4833
AJ
130512012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13052
13053 [BZ #4026]
13054 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13055 get clock_id definition.
13056
9078ce93
TS
130572012-02-17 Thomas Schwinge <thomas@schwinge.name>
13058
13059 [BZ #4822]
13060 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13061 (madvise): Cast every argument to void on its own.
13062
3835c55f
JM
130632012-02-17 Joseph Myers <joseph@codesourcery.com>
13064
13065 [BZ #9902]
13066 * manual/startup.texi (Exit Status): Fix typo.
13067
35c47e37
JM
130682012-02-17 Joseph Myers <joseph@codesourcery.com>
13069
13070 [BZ #10140]
13071 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13072 * manual/examples/argp-ex2.c: Likewise.
13073 * manual/examples/argp-ex3.c: Likewise.
13074
e3b69ca7
RH
130752012-02-16 Richard Henderson <rth@redhat.com>
13076
13077 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13078 * sysdeps/s390/s390-32/initfini.c: Remove.
13079 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13080 * sysdeps/s390/s390-64/initfini.c: Remove.
13081
df83af67
KK
130822012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13083
13084 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13085 compiler output for sysdeps/generic/initfini.c.
13086 * sysdeps/sh/elf/initfini.c: Remove file.
13087
f63f3380
DM
130882012-02-16 David S. Miller <davem@davemloft.net>
13089
fb59b3a4
DM
13090 [BZ #11494]
13091 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13092
f63f3380
DM
13093 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13094 * sysdeps/sparc/crti.S: New file.
13095 * sysdeps/sparc/crtn.S: New file.
13096 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13097 * sysdeps/sparc/sparc64/Makefile: Likewise.
13098
df6a4a4a
MF
130992012-02-15 Mike Frysinger <vapier@gentoo.org>
13100
6dd8f3dc 13101 [BZ #3335]
df6a4a4a
MF
13102 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13103
1cac7236
RM
131042012-02-15 Roland McGrath <roland@hack.frob.com>
13105
d2c736f8
RM
13106 [BZ #4822]
13107 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13108
1cac7236
RM
13109 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13110 (write, read, close): Likewise.
13111 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13112
8e475601
JM
131132012-02-15 Joseph Myers <joseph@codesourcery.com>
13114
13115 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13116 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13117 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13118 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13119 <bits/signalfd.h>.
13120 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13122 bits/signalfd.h.
13123
ed656b40
MP
131242012-02-14 Marek Polacek <polacek@redhat.com>
13125
13126 * sysdeps/x86_64/crti.S: New file.
13127 * sysdeps/x86_64/crtn.S: New file.
13128 * sysdeps/x86_64/elf/initfini.c: Remove file.
13129
2a979d3a
JM
131302012-02-13 Joseph Myers <joseph@codesourcery.com>
13131
13132 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13133 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13134 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13135 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13136 <bits/inotify.h>.
13137 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13139 bits/inotify.h.
13140
2a418ac3
JM
131412012-02-13 Joseph Myers <joseph@codesourcery.com>
13142
13143 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13144 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13145 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13146 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13147 <bits/eventfd.h>.
13148 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13150 bits/eventfd.h.
13151
fb779be7
TS
131522012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13153
e19e83c5
RM
13154 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13155 __feraiseexcept instead of feraiseexcept.
7c35ffed 13156
fb779be7
TS
13157 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13158 nanosleep invocations.
13159 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13160 strings, and add error checking for a nanosleep invocations.
13161
59ba27a6
PE
131622012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13163
13164 Replace FSF snail mail address with URLs, as per GNU coding standards.
13165 Most of the snail mail addresses were wrong anyway, and omitting
13166 them makes the source code easier to maintain. Almost all of the
13167 changes are to license notices and to locale LC_IDENTIFICATION
13168 addresses, except for this one:
13169 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13170 not its snail mail address.
13171
57b957eb
RH
131722012-02-09 Richard Henderson <rth@twiddle.net>
13173
af850b1c
RH
13174 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13175 of kernel-features.h.
13176
57b957eb
RH
13177 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13178
6b73181a
MP
131792012-02-08 Marek Polacek <polacek@redhat.com>
13180
13181 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13182 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13183 * sysdeps/gnu/_G_config.h: Likewise.
13184 * sysdeps/generic/_G_config.h: Likewise.
13185
26ecc33a
AS
131862012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13187
6c6dbc63
AS
13188 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13189 tests.
13190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13191
e216c012
AS
13192 * sysdeps/powerpc/powerpc32/crti.S: New file.
13193 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13194 * sysdeps/powerpc/powerpc64/crti.S: New file.
13195 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13196
26ecc33a
AS
13197 * Makeconfig (have-initfini): Don't set.
13198 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13199 * configure.in (nopic_initfini): Don't substitute.
13200 * config.h.in (HAVE_INITFINI): Don't #undef.
13201 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13202 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13203
3add8e13
JM
132042012-02-08 Joseph Myers <joseph@codesourcery.com>
13205
13206 Support crti.S and crtn.S provided directly by architectures.
13207 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13208 [crti.S in sysdirs] (omit-deps): Likewise.
13209 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13210 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13211 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13212 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13213 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13214 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13215 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13216 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13217 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13218 compiler output for sysdeps/generic/initfini.c.
13219 * sysdeps/i386/elf/Makefile: Remove file.
13220 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13221
a22f12b4
MP
132222012-02-07 Marek Polacek <polacek@redhat.com>
13223
13224 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13225 * sysdeps/gnu/_G_config.h: Likewise.
13226 * sysdeps/mach/hurd/_G_config.h: Likewise.
13227
148cf100
MP
132282012-02-07 Marek Polacek <polacek@redhat.com>
13229
13230 * math/Makefile (tests): Add tst-CMPLX2.
13231 * math/tst-CMPLX2.c: New file.
13232
cfdc0dd7
AS
132332012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13234
84ba42c4
AS
13235 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13236
cfdc0dd7
AS
13237 * math/libm-test.inc (jn_test): Add missing L suffix.
13238
622c86f4
MP
132392012-02-06 Marek Polacek <polacek@redhat.com>
13240
13241 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13242 * sysdeps/i386/fpu/e_powf.S: Likewise.
13243 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13244 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13245 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13246 * sysdeps/i386/fpu/e_pow.S: Likewise.
13247 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13248 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13249 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13250 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13251 * sysdeps/i386/fpu/e_log2.S: Likewise.
13252 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13253 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13254 * sysdeps/i386/fpu/e_powl.S: Likewise.
13255 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13256 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13257 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13258 * sysdeps/i386/fpu/e_logl.S: Likewise.
13259 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13260 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13261 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13262 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13263 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13264 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13265 * sysdeps/i386/fpu/e_log.S: Likewise.
13266 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13267 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13268 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13269 * sysdeps/i386/fpu/e_logf.S: Likewise.
13270 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13271 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13272 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13273 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13274 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13275 * sysdeps/i386/fpu/e_log10.S: Likewise.
13276 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13277 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13278 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13279 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13280 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13281 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13282 * sysdeps/i386/asm-syntax.h: Likewise.
13283 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13284 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13285 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13286 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13287 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13288 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13289 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13290 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13291 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13292 * sysdeps/powerpc/sysdep.h: Likewise.
13293 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13294 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13295
d4a54ac6
JM
132962012-02-06 Joseph Myers <joseph@codesourcery.com>
13297
13298 [BZ #411]
13299 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13300
314054ea
JM
133012012-02-06 Joseph Myers <joseph@codesourcery.com>
13302
13303 * sysdeps/i386/sysdep.h: Include <features.h>.
13304 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13305 version.
13306
d8e0ca50
JM
133072012-02-05 Joseph Myers <joseph@codesourcery.com>
13308
13309 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13310 Define.
13311 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13312 LOAD_PIC_REG_STR.
13313
b1da7dd9
JM
133142012-02-03 Joseph Myers <joseph@codesourcery.com>
13315
13316 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13317 (SETUP_PIC_REG): Use GET_PC_THUNK.
13318 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13319 macro.
13320
9a1d9254
JM
133212012-02-03 Joseph Myers <joseph@codesourcery.com>
13322
13323 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13324 for non-PIC compilation.
13325 (SETUP_PIC_REG): Add .p2align directive.
13326 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13327 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13328 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13329 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13330 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13331 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13332 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13333 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13334 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13335 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13336 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13337 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13338 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13339 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13340 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13341 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13342 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13343 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13344 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13345 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13346 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13347 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13348 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13349 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13350 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13351 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13352 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13353 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13354 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13355 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13356 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13357 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13358 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13359 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13360 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13361 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13362 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13363 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13364 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13365 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13366 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13367
65dc3b75
JM
133682012-02-03 Joseph Myers <joseph@codesourcery.com>
13369
13370 * math/tst-CMPLX.c: Include <stdio.h>.
13371
d55bf177
JM
133722012-01-31 Joseph Myers <joseph@codesourcery.com>
13373
13374 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13375 float.
13376 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13377 * sysdeps/sparc/bits/mathdef.h: Likewise.
13378
69db4f8f
MP
133792012-01-31 Marek Polacek <polacek@redhat.com>
13380
13381 * libio/libio.h: Don't define _PARAMS.
13382 * locale/programs/config.h: Don't define PARAMS.
13383 * stdlib/strtol_l.c: Likewise.
13384 (__strtol_l): Remove PARAMS from the prototype.
13385
41b81892
UD
133862012-01-31 Ulrich Drepper <drepper@gmail.com>
13387
3b49edc0
UD
13388 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13389 names. Just use the correct names. Remove unnecessary wrapper
13390 functions.
13391 * malloc/arena.c: Likewise.
13392 * malloc/hooks.c: Likewise.
13393
41b81892
UD
13394 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13395 ARENA_TEST says not to. Simplify test for creation of a new arena.
13396 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13397
27a25b6e
UD
133982012-01-30 Ulrich Drepper <drepper@gmail.com>
13399
13400 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13401 into tail calls.
13402 (update_get_addr): New function.
13403 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13404 GET_ADDR_MODULE parameter.
13405
c8a89e7d
JM
134062012-01-30 Joseph Myers <joseph@codesourcery.com>
13407
13408 * crypt/cert.c: Remove __STDC__ conditionals.
13409 * crypt/crypt-entry.c: Likewise.
13410 * crypt/crypt_util.c: Likewise.
13411 * libio/filedoalloc.c: Likewise.
13412 * libio/fileops.c: Likewise.
13413 * libio/genops.c: Likewise.
13414 * libio/iofclose.c: Likewise.
13415 * libio/iofdopen.c: Likewise.
13416 * libio/iofopen.c: Likewise.
13417 * libio/iofopen64.c: Likewise.
13418 * libio/iogetdelim.c: Likewise.
13419 * libio/iopopen.c: Likewise.
13420 * libio/obprintf.c: Likewise.
13421 * libio/oldfileops.c: Likewise.
13422 * libio/oldiofclose.c: Likewise.
13423 * libio/oldiofdopen.c: Likewise.
13424 * libio/oldiofopen.c: Likewise.
13425 * libio/oldiopopen.c: Likewise.
13426 * libio/wfiledoalloc.c: Likewise.
13427 * libio/wgenops.c: Likewise.
13428 * locale/programs/xmalloc.c: Likewise.
13429 * misc/syslog.c: Likewise.
13430 * stdio-common/xbug.c: Likewise.
13431 * string/memchr.c: Likewise.
13432 * string/memcmp.c: Likewise.
13433 * string/memrchr.c: Likewise.
13434 * string/rawmemchr.c: Likewise.
13435 * sysdeps/posix/getcwd.c: Likewise.
13436 * time/strftime_l.c: Likewise.
13437
3b100462
JM
134382012-01-30 Joseph Myers <joseph@codesourcery.com>
13439
13440 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
13441 * config.make.in (config-cflags-sse2avx): Define.
13442 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13443 Fix typo.
13444
607998af
CM
134452012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13446
13447 * scripts/config.guess: Update from upstream config git repository.
13448 * scripts/config.sub: Likewise.
13449
3601428f
CM
134502012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13451
3ac8b282
CM
13452 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13453 (EM_NUM): Update.
13454 (R_TILEPRO_*, R_TILEGX_*): New macros.
13455
e034841e
CM
13456 * scripts/firstversions.awk: Fix bug in version range handling.
13457
540d7568
CM
13458 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13459
3601428f
CM
13460 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13461
463de862
CM
13462 * include/sys/epoll.h: New file.
13463 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13464 libc_hidden_def.
13465
73139a76
UD
134662012-01-28 Ulrich Drepper <drepper@gmail.com>
13467
96bc5b45
UD
13468 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13469 Avoid unnecessary __WORDSIZE == 64 test.
13470 (fmaxf): Use VEX format if possible.
13471 (fmax): Likewise.
13472 (fminf): Likewise.
13473 (fmin): Likewise.
13474
56f6f6a2
UD
13475 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13476 * math/math_private.h: Remove libc_fegetround* and
13477 libc_fesetround*.
13478 * sysdeps/i386/configure.in: Check for -msse2avx.
13479 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13480 also if SSE2AVX is defined.
13481 Remove libc_fegetround* and libc_fesetround*.
13482 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13483 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13484 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13485 of HAS_YMM_USABLE.
13486 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13487 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13488 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13489 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13490 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13491
73139a76
UD
13492 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13493
d73f93a4
AZ
134942012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13495
13496 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13497 size is not set.
13498 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13499
6ee65ed6
UD
135002012-01-27 Ulrich Drepper <drepper@gmail.com>
13501
13502 [BZ #13618]
13503 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13504 relocation.
13505 * Makeconfig (libm): Define.
13506 * elf/Makefile: Add rules to build and run tst-relsort1.
13507 * elf/tst-relsort1.c: New file.
13508 * elf/tst-relsort1mod1.c: New file.
13509 * elf/tst-relsort1mod2.c: New file.
13510
8db21882
JM
135112012-01-27 Joseph Myers <joseph@codesourcery.com>
13512
13513 * math/s_ldexp.c: Remove __STDC__ conditionals.
13514 * math/s_ldexpf.c: Likewise.
13515 * math/s_ldexpl.c: Likewise.
13516 * math/s_nextafter.c: Likewise.
13517 * math/s_nexttowardf.c: Likewise.
13518 * math/s_significand.c: Likewise.
13519 * math/s_significandf.c: Likewise.
13520 * math/s_significandl.c: Likewise.
13521 * math/w_jnl.c: Likewise.
13522 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13523 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13524 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13525 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13526 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13530 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13539 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13540 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13541 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13542 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13543 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13544 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13545 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13546 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13547 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13548 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13549 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13550 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13551 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13552 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13553 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13554 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13555 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13556 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13557 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13558 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13559 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13560 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13561 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13562 * sysdeps/ieee754/k_standard.c: Likewise.
13563 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13566 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13567 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13568 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13569 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13580 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13581 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13582 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13588 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13589 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13591 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13593 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13595 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13600 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13601 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13602 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13603 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13604 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13605 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13606 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13607 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13608 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13610 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13611 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13612 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13613 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13614 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13615 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13616 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13619 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13623 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13624 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13627 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13628 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13629 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13630 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13631 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13632 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13633 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13634 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13635 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13636 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13637 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13638 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13639 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13640 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13641 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13642 * sysdeps/ieee754/s_matherr.c: Likewise.
13643 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13644 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13645 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13646 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13647
965a54a4
JM
136482012-01-26 Joseph Myers <joseph@codesourcery.com>
13649
13650 * crypt/md5.h: Remove __STDC__ conditionals.
13651 * libio/libioP.h: Likewise.
13652 * locale/programs/config.h: Likewise.
13653 * sysdeps/generic/sysdep.h: Likewise.
13654 * sysdeps/i386/asm-syntax.h: Likewise.
13655 * sysdeps/s390/asm-syntax.h: Likewise.
13656 * sysdeps/unix/sysdep.h: Likewise.
13657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13659
7071ad79
JM
136602012-01-26 Joseph Myers <joseph@codesourcery.com>
13661
13662 * libio/libio.h: Remove __STDC__ conditionals.
13663 * malloc/obstack.h: Likewise.
13664 * math/complex.h: Likewise.
13665 * math/math.h: Likewise.
13666 * sysdeps/generic/_G_config.h: Likewise.
13667 * sysdeps/gnu/_G_config.h: Likewise.
13668 * sysdeps/mach/hurd/_G_config.h: Likewise.
13669 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13670 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13671 * sysdeps/sparc/bits/mathdef.h: Likewise.
13672
afc5ed09
UD
136732012-01-26 Ulrich Drepper <drepper@gmail.com>
13674
13675 [BZ #13583]
13676 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13677 Clean up HAS_* macros.
afc5ed09 13678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13679 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13680 possible.
13681 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13682 HAS_AVX.
13683 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13684 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13685 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13686 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13687 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13688
bdb6de1d
JM
136892012-01-25 Joseph Myers <joseph@codesourcery.com>
13690
13691 * elf/tst-unique3.cc (gets): Remove declaration.
13692 * elf/tst-unique3lib.cc (gets): Likewise.
13693 * elf/tst-unique3lib2.cc (gets): Likewise.
13694 * elf/tst-unique4.cc (gets): Likewise.
13695
b15549e6
UD
136962012-01-24 Ulrich Drepper <drepper@gmail.com>
13697
13698 * include/stdio.h: Add C++ protection. Add gets declarations and
13699 definitions.
13700 * debug/tst-chk1.c: Don't declare gets here.
13701 * stdio-common/tst-gets.c: Likewise.
13702
a037381f
JM
137032012-01-24 Joseph Myers <joseph@codesourcery.com>
13704
13705 * posix/glob: Remove directory.
13706
f1d4aa75
JM
137072012-01-24 Joseph Myers <joseph@codesourcery.com>
13708
13709 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13710
81c0c964
PT
137112012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13712
13713 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13714 of the non-standard EPFNOSUPPORT.
13715
0ea698ae
ST
137162011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13717
13718 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13719 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13720 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13721
d220b117
UD
137222012-01-21 Ulrich Drepper <drepper@gmail.com>
13723
13724 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13725
3e1aa84e
UD
137262012-01-20 Ulrich Drepper <drepper@gmail.com>
13727
13728 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13729 transient errors.
13730 * nscd/grpcache.c (cache_addgr): Likewise.
13731 * nscd/hstcache.c (cache_addhst): Likewise.
13732 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13733 * nscd/pwdcache.c (cache_addpw): Likewise.
13734 * nscd/servicescache.c (cache_addserv): Likewise.
13735
400aa020
UD
137362012-01-16 Ulrich Drepper <drepper@gmail.com>
13737
d77e7869
UD
13738 * malloc/malloc.c: Various cleanups.
13739 * malloc/hooks.c: Likewise.
13740
400aa020
UD
13741 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13742 * stdlib/bug-fmtmsg1.c: New file.
13743
13744 * stdlib/fmtmsg.c (init): Add missing unlock.
13745 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13746
e0a309cf
MP
137472012-01-12 Marek Polacek <polacek@redhat.com>
13748
13749 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13750 and _GNU_SOURCE.
13751
929d11c7
WS
137522012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13753
13754 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13755 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13756 macro to ensure uniqueness of label name.
13757 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13758 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13759
41d0e869
UD
137602012-01-11 Ulrich Drepper <drepper@gmail.com>
13761
0cc5ed3b
UD
13762 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13763
41d0e869
UD
13764 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13765 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13766 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13768
a47a831a
UD
137692012-01-10 Ulrich Drepper <drepper@gmail.com>
13770
daa891c0
UD
13771 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13772
13773 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13774 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13775 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13776
e58ef0f2
UD
13777 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13778
a47a831a 13779 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13780 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13781 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13782 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13783
13784 * math/bits/math-finite.h: Add ldexp support.
13785
a0bfc9c7
MP
137862012-01-10 Marek Polacek <polacek@redhat.com>
13787
13788 * locale/programs/localedef.h (show_archive_content): Add noreturn
13789 attribute.
13790
d6e97a1d
UD
137912012-01-09 Ulrich Drepper <drepper@gmail.com>
13792
13793 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13794
d5835c26
UD
137952012-01-08 Ulrich Drepper <drepper@gmail.com>
13796
e5f484c6
UD
13797 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13798
d5835c26
UD
13799 * io/Makefile (headers): Add bits/poll2.h.
13800
d1f741e9
WS
138012011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13802
13803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13804 typo #include statement.
13805
ec09c1c4
UD
138062012-01-08 Ulrich Drepper <drepper@gmail.com>
13807
13808 * include/sys/cdefs.h: Define __attribute_alloc_size.
13809 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13810 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13811 * elf/pldd.c: Likewise.
13812 * iconv/iconv_charmap.c: Likewise.
13813 * iconv/iconvconfig.c: Likewise.
13814 * iconv/strtab.c: Likewise.
13815 * locale/programs/locale.c: Likewise.
13816 * locale/programs/localedef.h: Likewise.
13817 * locale/programs/simple-hash.c: Likewise.
13818 * nscd/nscd.h: Likewise.
13819 * nss/makedb.c: Likewise.
13820 * sysdeps/generic/ldconfig.h: Likewise.
13821 * locale/programs/localedef.c: Remove xmalloc prototype.
13822 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13823
20b38e03
PP
138242012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13825
13826 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13827 appropriate.
13828
a0da5fe1
UD
138292012-01-08 Ulrich Drepper <drepper@gmail.com>
13830
1d5a644a 13831 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13832 * math/tst-CMPLX.c: New file.
1d5a644a 13833
8784a6db
UD
13834 * math/complex.h (CMPLXL): Fix typo.
13835
d9a216c0
UD
13836 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13837 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13838 GLIBC_2.16.
13839 * debug/tst-chk1.c: Add poll and ppoll tests.
13840 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13841 * include/sys/poll.h: Add hidden proto for ppoll.
13842 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13843 * sysdeps/mach/hurd/ppoll.c: Likewise.
13844 * io/ppoll.c: Likewise.
13845 * debug/poll_chk.c: New file.
13846 * debug/ppoll_chk.c: New file.
13847 * include/bits/poll2.h: New file.
13848 * io/bits/poll2.h: New file.
13849
ac097f5c
UD
13850 [BZ #1350]
13851 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13852
2119dcfa
UD
13853 * configure.in: static is always set to yes. Remove.
13854 * config.make.in: Don't set build-static.
13855 * Makeconfig: Remove use of build-static.
13856 * dlfcn/Makefile: Likewise.
13857 * elf/Makefile: Likewise.
13858 * math/Makefile: Likewise.
13859 * misc/Makefile: Likewise.
13860 * nptl/Makefile: Likewise.
13861 * sysdeps/mach/hurd/Makefile: Likewise.
13862
121766a9
UD
13863 * configure.in: PWD_P is not used anymore.
13864 * config.make.in: Remove PWD_P entry.
13865
51a1d39c 13866 * configure.in: Remove last remnants of RANLIB.
8720d066 13867 No need to check for signed size_t anymore.
215f4bdc
UD
13868 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13869 and IA-64.
3857022a 13870 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13871 * aclocal.m4: Likewise.
13872
d3ed7225
UD
13873 * wcsmbs/mbrtoc16.c: Implement using towc function.
13874 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13875 * wcsmbs/wcsmbsload.c: Likewise.
13876 * iconv/gconv_simple.c: Likewise.
13877 * iconv/gconv_int.h: Likewise.
13878 * iconv/gconv_builtin.h: Likewise.
13879 * iconv/iconv_prog.c: Remove CHAR16 handling.
13880
13881 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13882
13883 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13884
a0da5fe1
UD
13885 * configure.in: Remove --with-elf and --enable-bounded options.
13886 Dont set base_machine for ia64. More non-ELF conditions removed.
13887 Remove testing and setting of leading underscore information.
13888 * config.make.in (build-bounded): Set to no.
13889 * config.h.in: Remove NO_UNDERSCORES entry.
13890 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13891 them.
13892 * csu/start.c: Remove !NO_UNDERSCORE code.
13893 * locale/localeinfo.h: Likewise.
13894 * sysdeps/generic/machine-gmon.h: Likewise.
13895 * sysdeps/generic/sysdep.h: Likewise.
13896 * sysdeps/i386/sysdep.h: Likewise.
13897 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13898 * sysdeps/mach/sysdep.h: Likewise.
13899 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13900 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13901 * sysdeps/sh/sysdep.h: Likewise.
13902 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13903 * sysdeps/unix/i386/sysdep.S: Likewise.
13904 * sysdeps/unix/sparc/start.c: Likewise.
13905 * sysdeps/unix/sparc/sysdep.S: Likewise.
13906 * sysdeps/unix/sparc/sysdep.h: Likewise.
13907 * sysdeps/unix/start.c: Likewise.
13908 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13909 * sysdeps/x86_64/sysdep.h: Likewise.
13910
df78418a
UD
139112012-01-07 Ulrich Drepper <drepper@gmail.com>
13912
a784e502
UD
13913 [BZ #13553]
13914 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13915 for non-gcc.
13916 * argp/argp-fmtstream.h: Use const instead __const.
13917 * argp/argp.h: Likewise.
13918 * assert/assert.h: Likewise.
13919 * bits/fenv.h: Likewise.
13920 * bits/sched.h: Likewise.
13921 * bits/sigset.h: Likewise.
13922 * bits/sigthread.h: Likewise.
13923 * catgets/nl_types.h: Likewise.
13924 * conform/data/pthread.h-data: Likewise.
13925 * crypt/crypt-private.h: Likewise.
13926 * crypt/crypt.h: Likewise.
13927 * crypt/crypt_util.c: Likewise.
13928 * ctype/ctype.h: Likewise.
13929 * debug/execinfo.h: Likewise.
13930 * debug/mbsnrtowcs_chk.c: Likewise.
13931 * debug/mbsrtowcs_chk.c: Likewise.
13932 * debug/wcsnrtombs_chk.c: Likewise.
13933 * debug/wcsrtombs_chk.c: Likewise.
13934 * debug/wcstombs_chk.c: Likewise.
13935 * dirent/dirent.h: Likewise.
13936 * dlfcn/dlfcn.h: Likewise.
13937 * elf/neededtest4.c: Likewise.
13938 * grp/grp.h: Likewise.
13939 * gshadow/gshadow.h: Likewise.
13940 * iconv/gconv.h: Likewise.
13941 * iconv/gconv_int.h: Likewise.
13942 * iconv/gconv_simple.c: Likewise.
13943 * iconv/iconv.h: Likewise.
13944 * iconv/loop.c: Likewise.
13945 * iconv/skeleton.c: Likewise.
13946 * include/aio.h: Likewise.
13947 * include/aliases.h: Likewise.
13948 * include/argz.h: Likewise.
13949 * include/arpa/inet.h: Likewise.
13950 * include/assert.h: Likewise.
13951 * include/dirent.h: Likewise.
13952 * include/dlfcn.h: Likewise.
13953 * include/execinfo.h: Likewise.
13954 * include/fcntl.h: Likewise.
13955 * include/fenv.h: Likewise.
13956 * include/glob.h: Likewise.
13957 * include/grp.h: Likewise.
13958 * include/libintl.h: Likewise.
13959 * include/mntent.h: Likewise.
13960 * include/netdb.h: Likewise.
13961 * include/pwd.h: Likewise.
13962 * include/rpc/netdb.h: Likewise.
13963 * include/sched.h: Likewise.
13964 * include/search.h: Likewise.
13965 * include/shadow.h: Likewise.
13966 * include/signal.h: Likewise.
13967 * include/stdio.h: Likewise.
13968 * include/stdlib.h: Likewise.
13969 * include/string.h: Likewise.
13970 * include/sys/socket.h: Likewise.
13971 * include/sys/stat.h: Likewise.
13972 * include/sys/statfs.h: Likewise.
13973 * include/sys/statvfs.h: Likewise.
13974 * include/sys/syslog.h: Likewise.
13975 * include/sys/time.h: Likewise.
13976 * include/sys/uio.h: Likewise.
13977 * include/time.h: Likewise.
13978 * include/unistd.h: Likewise.
13979 * include/utmp.h: Likewise.
13980 * include/wchar.h: Likewise.
13981 * include/wctype.h: Likewise.
13982 * inet/aliases.h: Likewise.
13983 * inet/arpa/inet.h: Likewise.
13984 * inet/netinet/ether.h: Likewise.
13985 * inet/netinet/in.h: Likewise.
13986 * intl/libintl.h: Likewise.
13987 * io/bits/fcntl2.h: Likewise.
13988 * io/fcntl.h: Likewise.
13989 * io/ftw.h: Likewise.
13990 * io/sys/poll.h: Likewise.
13991 * io/sys/stat.h: Likewise.
13992 * io/sys/statfs.h: Likewise.
13993 * io/sys/statvfs.h: Likewise.
13994 * io/utime.h: Likewise.
13995 * libio/bits/stdio.h: Likewise.
13996 * libio/bits/stdio2.h: Likewise.
13997 * libio/libio.h: Likewise.
13998 * libio/libioP.h: Likewise.
13999 * libio/stdio.h: Likewise.
14000 * locale/lc-ctype.c: Likewise.
14001 * locale/locale.h: Likewise.
14002 * login/utmp.h: Likewise.
14003 * malloc/arena.c: Likewise.
14004 * malloc/malloc.c: Likewise.
14005 * malloc/malloc.h: Likewise.
14006 * malloc/mcheck.c: Likewise.
14007 * malloc/mtrace.c: Likewise.
14008 * math/bits/mathcalls.h: Likewise.
14009 * math/fenv.h: Likewise.
14010 * math/math_private.h: Likewise.
14011 * misc/bits/error.h: Likewise.
14012 * misc/bits/syslog.h: Likewise.
14013 * misc/err.h: Likewise.
14014 * misc/error.h: Likewise.
14015 * misc/fstab.h: Likewise.
14016 * misc/mntent.h: Likewise.
14017 * misc/regexp.h: Likewise.
14018 * misc/search.h: Likewise.
14019 * misc/sgtty.h: Likewise.
14020 * misc/sys/mman.h: Likewise.
14021 * misc/sys/syslog.h: Likewise.
14022 * misc/sys/uio.h: Likewise.
14023 * misc/sys/xattr.h: Likewise.
14024 * misc/ttyent.h: Likewise.
14025 * nis/rpcsvc/ypclnt.h: Likewise.
14026 * nss/nss.h: Likewise.
14027 * posix/bits/unistd.h: Likewise.
14028 * posix/fnmatch.h: Likewise.
14029 * posix/glob.h: Likewise.
14030 * posix/sched.h: Likewise.
14031 * posix/spawn.h: Likewise.
14032 * posix/sys/wait.h: Likewise.
14033 * posix/unistd.h: Likewise.
14034 * posix/wordexp.h: Likewise.
14035 * pwd/pwd.h: Likewise.
14036 * resolv/netdb.h: Likewise.
14037 * resource/sys/resource.h: Likewise.
14038 * rt/aio.h: Likewise.
14039 * rt/bits/mqueue2.h: Likewise.
14040 * rt/mqueue.h: Likewise.
14041 * shadow/shadow.h: Likewise.
14042 * signal/signal.h: Likewise.
14043 * socket/send.c: Likewise.
14044 * socket/sendto.c: Likewise.
14045 * socket/sys/socket.h: Likewise.
14046 * stdio-common/printf.h: Likewise.
14047 * stdlib/bits/stdlib.h: Likewise.
14048 * stdlib/fmtmsg.h: Likewise.
14049 * stdlib/monetary.h: Likewise.
14050 * stdlib/stdlib.h: Likewise.
14051 * stdlib/ucontext.h: Likewise.
14052 * streams/stropts.h: Likewise.
14053 * string/argz.h: Likewise.
14054 * string/bits/string2.h: Likewise.
14055 * string/string.h: Likewise.
14056 * string/strings.h: Likewise.
14057 * sunrpc/rpc/auth.h: Likewise.
14058 * sunrpc/rpc/auth_des.h: Likewise.
14059 * sunrpc/rpc/clnt.h: Likewise.
14060 * sunrpc/rpc/netdb.h: Likewise.
14061 * sunrpc/rpc/pmap_clnt.h: Likewise.
14062 * sunrpc/rpc/xdr.h: Likewise.
14063 * sysdeps/generic/inttypes.h: Likewise.
14064 * sysdeps/generic/net/if.h: Likewise.
14065 * sysdeps/generic/sys/swap.h: Likewise.
14066 * sysdeps/gnu/net/if.h: Likewise.
14067 * sysdeps/gnu/utmpx.h: Likewise.
14068 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14069 * sysdeps/i386/i486/bits/string.h: Likewise.
14070 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14071 * sysdeps/s390/bits/string.h: Likewise.
14072 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14073 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14074 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14075 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14076 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14077 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14078 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14079 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14080 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14081 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14082 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14083 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14084 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14085 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14086 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14087 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14088 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14089 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14090 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14091 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14092 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14093 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14094 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14095 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14096 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14097 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14098 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14099 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14100 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14101 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14102 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14103 * sysvipc/sys/ipc.h: Likewise.
14104 * sysvipc/sys/msg.h: Likewise.
14105 * sysvipc/sys/sem.h: Likewise.
14106 * sysvipc/sys/shm.h: Likewise.
14107 * termios/termios.h: Likewise.
14108 * time/sys/time.h: Likewise.
14109 * time/time.h: Likewise.
14110 * wcsmbs/bits/wchar2.h: Likewise.
14111 * wcsmbs/uchar.h: Likewise.
14112 * wcsmbs/wchar.h: Likewise.
14113 * wctype/wctype.h: Likewise.
14114
0269750c
UD
14115 [BZ #13551]
14116 * Makeconfig: Remove all but ELF support including AIX support.
14117 * Makerules: Likewise.
14118 * config.h.in: Likewise.
14119 * config.make.in: Likewise.
14120 * configure: Likewise.
14121 * configure.in: Likewise.
14122 * csu/Makefile: Likewise.
14123 * csu/version.c: Likewise.
14124 * debug/Makefile: Likewise.
14125 * dlfcn/Makefile: Likewise.
14126 * elf/Makefile: Likewise.
14127 * extra-lib.mk: Likewise.
14128 * iconv/Makefile: Likewise.
14129 * include/libc-symbols.h: Likewise.
14130 * include/shlib-compat.h: Likewise.
14131 * resolv/Makefile: Likewise.
14132 * resolv/res_libc.c: Likewise.
14133 * rt/Makefile: Likewise.
14134 * sysdeps/i386/asm-syntax.h: Likewise.
14135 * sysdeps/i386/sysdep.h: Likewise.
14136 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14137 * sysdeps/mach/sysdep.h: Likewise.
14138 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14139 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14140 * sysdeps/s390/asm-syntax.h: Likewise.
14141 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14142 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14143 * sysdeps/sh/sysdep.h: Likewise.
14144 * sysdeps/unix/sparc/sysdep.h: Likewise.
14145 * sysdeps/wordsize-32/divdi3.c: Likewise.
14146 * sysdeps/x86_64/sysdep.h: Likewise.
14147
00bbd29b
UD
14148 * argp/Versions: Remove _argp_unlock_xxx.
14149
14150 [BZ #13559]
14151 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14152 * abilist/libBrokenLocale.abilist: Likewise.
14153 * abilist/libanl.abilist: Likewise.
14154 * abilist/libc.abilist: Likewise.
14155 * abilist/libcrypt.abilist: Likewise.
14156 * abilist/libdl.abilist: Likewise.
14157 * abilist/libm.abilist: Likewise.
14158 * abilist/libnsl.abilist: Likewise.
14159 * abilist/libpthread.abilist: Likewise.
14160 * abilist/libresolv.abilist: Likewise.
14161 * abilist/librt.abilist: Likewise.
14162 * abilist/libthread_db.abilist: Likewise.
14163 * abilist/libutil.abilist: Likewise.
14164 * abilist/libnss_db.abilist: New file.
14165
14166 * scripts/abilist.awk: Add support for indirect functions.
14167
a2693a0e
UD
14168 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14169
3f05895f
UD
14170 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14171
ecb6fb48
UD
14172 * shlib-versions: Remove entries for ports architectures.
14173
664f8cb9
UD
14174 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14175 files in ports.
14176 * elf/stackguard-macros.h: Remove support for IA-64.
14177 * elf/tst-auditmod1.c: Likewise.
14178 * sysdeps/generic/ldsodefs.h: Likewise.
14179
7ae81d88
UD
14180 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14181 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14182 configure files.
14183
bdeba135
UD
14184 [BZ #13552]
14185 * configure.in: Remove --enable-omitfp support.
14186 * FAQ.in: Adjust.
14187 * config.make.in: Likewise.
14188 * Makeconfig: Likewise.
14189 * manual/install.texi: Likewise.
14190
d75a0a62
UD
14191 In case anyone cares, the IA-64 architecture could move to ports.
14192 * sysdeps/ia64/*: Removed.
14193 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 14194 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 14195
dcc9756b
UD
14196 [BZ #13555]
14197 * configure.in: Remove entries for unsupported architectures.
14198
d3761ebc 14199 [BZ #13533]
9954432e
UD
14200 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14201 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14202 routines.
14203 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14204 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14205 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14206 fall back to using wcrtomb.
14207 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14208 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14209 renaming.
14210 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14211 * wcsmbs/tst-c16c32-1.c: New file.
14212
14213 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14214 local variable.
14215
c3a87236
UD
14216 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14217
28926a1b
UD
14218 * elf/tst-unique3.cc: Add explicit declaration of gets.
14219 * elf/tst-unique3lib.cc: Likewise.
14220 * elf/tst-unique3lib2.cc: Likewise.
14221 * elf/tst-unique4.cc: Likewise.
14222
df78418a
UD
14223 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14224
8ecd6b2a
JM
142252012-01-06 Joseph Myers <joseph@codesourcery.com>
14226
14227 [BZ #13566]
14228 * assert/assert.h (static_assert): Don't define for C++.
14229 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14230 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14231
9f115170
UD
142322012-01-03 Ulrich Drepper <drepper@gmail.com>
14233
5e0d0300
UD
14234 * iconv/loop.c (single loop): Fix assertion in storing of
14235 remaining bytes.
14236
9f115170
UD
14237 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14238
81fb02b0
UD
142392012-01-01 Ulrich Drepper <drepper@gmail.com>
14240
14241 * posix/getconf.c: Update copyright year.
14242 * nss/getent.c: Likewise.
a316c1f6 14243 * nss/makedb.c: Likewise.
81fb02b0
UD
14244 * iconv/iconvconfig.c: Likewise.
14245 * iconv/iconv_prog.c: Likewise.
14246 * elf/ldconfig.c: Likewise.
a316c1f6
UD
14247 * elf/pldd.c: Likewise.
14248 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
14249 * catgets/gencat.c: Likewise.
14250 * csu/version.c: Likewise.
14251 * elf/ldd.bash.in: Likewise.
14252 * elf/sprof.c (print_version): Likewise.
14253 * locale/programs/locale.c: Likewise.
14254 * locale/programs/localedef.c: Likewise.
a316c1f6 14255 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
14256 * nscd/nscd.c (print_version): Likewise.
14257 * debug/xtrace.sh: Likewise.
14258 * malloc/memusage.sh: Likewise.
14259 * malloc/mtrace.pl: Likewise.
14260 * debug/catchsegv.sh: Likewise.
14261
2ba92745
JJ
142622011-12-30 Jakub Jelinek <jakub@redhat.com>
14263
14264 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14265 pure attribute.
14266
dadebdae
UD
142672011-12-24 Ulrich Drepper <drepper@gmail.com>
14268
d3761ebc 14269 [BZ #13533]
db6af3eb
UD
14270 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14271 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14272 transformations.
14273 * iconv/gconv_int.h: Likewise.
14274 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14275 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14276 from libc for GLIBC_2.16.
14277 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14278 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14279 * wcsmbs/uchar.h: Really define mbstate_t.
14280 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14281 * wcsmbs/c16rtomb.c: New file.
14282 * wcsmbs/mbrtoc16.c: New file.
14283 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14284 for C/POSIX locale.
14285 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14286 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14287
dadebdae
UD
14288 * wcsmbs/wchar.h: Add missing __restrict.
14289
67371b56
UD
142902011-12-23 Ulrich Drepper <drepper@gmail.com>
14291
74033a25
UD
14292 [BZ #13532]
14293 * time/Makefile (routines): Add timespec_get.
14294 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14295 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14296 timespec for ISO C11.
14297 * time/timespec_get.c: New file.
14298 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14299 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14300
380d7e87
UD
14301 [BZ #13531]
14302 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14303 * stdlib/stdlib.h: Declare aligned_alloc.
14304 * Versions.def: Add GLIBC_2.16 for libc.
14305 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14306
4e9e7a35
UD
14307 [BZ 13527]
14308 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14309 ISO C11.
14310
380d7e87 14311 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
14312 code.
14313
03a71829
UD
14314 [BZ #13528]
14315 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14316
839e283e
UD
14317 [BZ #13529]
14318 * assert/assert.h (static_assert): Define.
14319
ce5294e2 14320 * version.h: Update for 2.16 development version.
90fa7312 14321
8d44e150 14322 [BZ #13526]
d7809905
UD
14323 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14324 _ISOC11_SOURCE.
14325
c0da14cd
UD
14326 * version.h (RELEASE): Bump for 2.15 release.
14327 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14328
530a3249
MP
14329 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14330 Patch by Marek Polacek <mpolacek@redhat.com>.
14331
67371b56
UD
14332 * bits/byteswap.h: Protect long long constants with __extension__.
14333 * sysdeps/i386/bits/byteswap.h: Likewise.
14334 * sysdeps/ia64/bits/byteswap.h: Likewise.
14335 * sysdeps/s390/bits/byteswap.h: Likewise.
14336 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14337
15db4de1
LD
143382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14339
14340 [BZ #13540]
bbe315ea
LD
14341 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14342 destination buffer.
15db4de1
LD
14343 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14344
2b2596b1
MP
143452011-12-23 Marek Polacek <polacek@redhat.com>
14346
14347 * elf/dl-addr.c (determine_info): Add inline keyword.
14348 * elf/tst-auditmod4b.c (check_avx): Likewise.
14349 * elf/tst-auditmod6b.c (check_avx): Likewise.
14350 * elf/tst-auditmod6c.c (check_avx): Likewise.
14351 * elf/tst-auditmod7b.c (check_avx): Likewise.
14352
70c6c246
UD
143532011-12-23 Ulrich Drepper <drepper@gmail.com>
14354
14355 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14356 !__SSE_MATH__.
14357
c044cf14
LD
143582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14359
15db4de1 14360 [BZ #13540]
c044cf14
LD
14361 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14362 processing for last bytes.
14363
6b13d9d9
BH
143642011-08-06 Bruno Haible <bruno@clisp.org>
14365
d455f537
BH
14366 [BZ #13061]
14367 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14368 U+0385, not to U+1FEE.
14369
6b13d9d9
BH
14370 [BZ #13062]
14371 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14372 entry for U+00A5 U+0301.
14373
db910efd
UD
143742011-12-22 Ulrich Drepper <drepper@gmail.com>
14375
27deeafc
UD
14376 [BZ #13166]
14377 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14378 buffer for the output is too small.
14379
aed9d171
UD
14380 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14381 optimization.
14382
db910efd
UD
14383 [BZ #13185]
14384 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14385 SSE flags if possible.
14386
2bd779ae
LD
143872011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14388
e7f9dac3 14389 [BZ #13540]
2bd779ae
LD
14390 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14391 processing for last bytes.
14392
154bfc16
JM
143932011-12-22 Joseph Myers <joseph@codesourcery.com>
14394
14395 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14396 (syscall-list-default-options, syscall-list-default-condition)
14397 (syscall-list-includes): Define.
14398 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14399 list of ABIs and options and #if conditions for each ABI. Do not
14400 handle common syscalls between ABIs specially.
14401 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14402 Remove.
14403 (syscall-list-variants, syscall-list-32bit-options)
14404 (syscall-list-32bit-condition, syscall-list-64bit-options)
14405 (syscall-list-64bit-condition): Define.
14406 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14407 (syscall-list-variants, syscall-list-32bit-options)
14408 (syscall-list-32bit-condition, syscall-list-64bit-options)
14409 (syscall-list-64bit-condition): Define.
14410 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14411 Remove.
14412 (syscall-list-variants, syscall-list-32bit-options)
14413 (syscall-list-32bit-condition, syscall-list-64bit-options)
14414 (syscall-list-64bit-condition): Define.
14415 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14416 Remove.
14417 (syscall-list-variants, syscall-list-32bit-options)
14418 (syscall-list-32bit-condition, syscall-list-64bit-options)
14419 (syscall-list-64bit-condition): Define.
14420
21eaf3a5
UD
144212011-12-22 Ulrich Drepper <drepper@gmail.com>
14422
16c6f992
UD
14423 * locale/iso-639.def: Add brx entry.
14424
41043168
UD
14425 [BZ #13328]
14426 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14427 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14428
21eaf3a5
UD
14429 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14430 __feraiseexcept_renamed.
14431
e3a851a2
UD
144322011-12-21 Ulrich Drepper <drepper@gmail.com>
14433
4920765e
UD
14434 [BZ #13538]
14435 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14436 EPOLLET with unsigned values.
14437 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14438 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14439
e3a851a2
UD
14440 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14441 to large cancellation.
14442 * math/s_cacoshf.c: Likewise.
14443 * math/s_cacoshl.c: Likewise.
14444
b27e24b8
RK
144452011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14446
14447 [BZ #13305]
aebefeee 14448 [BZ #12786]
b27e24b8
RK
14449 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14450 * math/s_cacoshf.c: Likewise.
14451 * math/s_cacoshl.c: Likewise.
14452
ee190f67
UD
144532011-12-21 Ulrich Drepper <drepper@gmail.com>
14454
14455 [BZ #13439]
14456 * iconv/gconv.h: Define __GCONV_SWAP.
14457 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14458 * iconvdata/utf-16.c: Likewise.
14459 * iconvdata/utf-32.c: Likewise.
14460
707f25df
AS
144612011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14462
14463 [BZ #13524]
14464 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14465 numerator after shifting it by one limb.
14466
d2daaa1e
RÁE
144672011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14468
14469 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14470 under [__USE_EXTERN_INLINES].
14471
a4647e72
UD
144722011-12-17 Ulrich Drepper <drepper@gmail.com>
14473
14474 [BZ #13446]
14475 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14476
f0b264f1
AZ
144772011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14478
14479 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14480 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14481 optimized code.
14482 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14483 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14484 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14485 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14486 for strncasecmp/strncasecmp_l compilation.
14487 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14488 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14489
8ef4f244
MP
144902011-12-08 Marek Polacek <mpolacek@redhat.com>
14491
14492 [BZ #13484]
14493 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14494 of __asm__.
14495
97ac2654
UD
144962011-12-17 Ulrich Drepper <drepper@gmail.com>
14497
14498 [BZ #13506]
14499 * time/tzfile.c (__tzfile_read): Check values from file header.
14500
91d2a845
WS
145012011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14502
14503 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14504 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14505 * powerpc/powerpc32/dl-start.S: Likewise.
14506 * powerpc/powerpc32/elf/start.S: Likewise.
14507 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14508 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14509 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14510 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14511 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14512 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14513 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14514 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14515 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14516 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14517 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14518 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14519 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14520 * powerpc/powerpc32/memset.S: Likewise.
14521 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14522 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14523 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14524 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14525 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14526 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14527 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14528 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14529 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14530 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14531 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14532 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14533 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14534
a1267ba1
AZ
145352011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14536
14537 * math/libm-test.inc: Added more nearbyint tests.
14538 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14539 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14540 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14541 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14542
ad8ac1bd
RL
145432011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14544
14545 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14546 FD_CLOEXEC.
14547
1d3e4b61
UD
145482011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14549
14550 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14551 Add wcscpy-ssse3 wcscpy-c.
14552 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14553 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14554 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14555 * sysdeps/x86_64/wcschr.S: New file.
14556 * sysdeps/x86_64/wcsrchr.S: New file.
14557 * string/test-strcmp.c: Remove checking of wcscmp function for
14558 wrong alignments.
14559 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14560 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14561 wcsrchr-sse2 wcsrchr-c.
14562 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14563 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14564 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14565 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14566 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14567 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14568 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14569 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14570 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14571 * wcsmbc/wcschr.c (WCSCHR): New macro.
14572
5b330a2d
UD
145732011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14574
14575 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14576 * wcsmbs/test-wcsrchr.c: New file.
14577 * string/test-strrchr.c: Add wcsrchr support.
14578 (WIDE): New macro.
14579 * wcsmbs/test-wcscpy.c: New file.
14580 * string/test-strcpy.c: Add wcscpy support.
14581 (WIDE): New macro.
26428b7c 14582
f039c043
UD
145832011-12-10 Ulrich Drepper <drepper@gmail.com>
14584
14585 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14586 the inner loop.
14587
850fb039
AS
145882011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14589
14590 [BZ #13472]
14591 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14592
4efbd5cb
UD
145932011-12-04 Ulrich Drepper <drepper@gmail.com>
14594
52ff5dd0 14595 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14596 Minor optimizations.
52ff5dd0 14597
4efbd5cb
UD
14598 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14599 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14600 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14601
8a426e12
UD
146022011-12-03 Ulrich Drepper <drepper@gmail.com>
14603
aff2453d
UD
14604 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14605 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14606 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14607 for gcc to avoid warnings.
14608 * inet/Makefile (tests): Add tst-checks.
14609 * inet/tst-checks.c: New file.
14610
14611 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14612 warning.
14613
14614 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14615 __wmemcmp_sse2.
14616
14617 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14618 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14619
8a426e12
UD
14620 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14621
9bea3473
UD
146222011-12-02 Ulrich Drepper <drepper@gmail.com>
14623
3a965496
UD
14624 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14625 problem.
14626
9bea3473
UD
14627 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14628
f101631b
UD
146292011-11-29 Joseph Myers <joseph@codesourcery.com>
14630
14631 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14632 conditional on GCC version.
14633 (__arch_compare_and_exchange_val_8_acq)
14634 (__arch_compare_and_exchange_val_16_acq)
14635 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14636 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14637 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14638
a98275aa
UD
146392011-12-02 Joseph Myers <joseph@codesourcery.com>
14640
14641 * sysdeps/sh/backtrace.c: New file.
14642
d4cc29a2
AS
146432011-12-02 Andreas Schwab <schwab@redhat.com>
14644
14645 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14646 parenthesis.
14647
6257af2d
AS
146482011-12-01 Andreas Schwab <schwab@redhat.com>
14649
14650 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14651 falling back to utime.
14652
b5f44c1a
AS
146532011-11-30 Andreas Schwab <schwab@redhat.com>
14654
14655 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14656 expectations for float.
14657
f3a6cc0a
AS
146582011-11-29 Andreas Schwab <schwab@redhat.com>
14659
14660 * locale/weight.h (findidx): Add parameter len.
14661 * locale/weightwc.h (findidx): Likewise.
14662 * posix/fnmatch_loop.c (FCT): Adjust caller.
14663 * posix/regcomp.c (build_equiv_class): Likewise.
14664 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14665 * posix/regexec.c (check_node_accept_bytes): Likewise.
14666 * string/strcoll_l.c (STRCOLL): Likewise.
14667 * string/strxfrm_l.c (STRXFRM): Likewise.
14668
9d65ea3a
UD
146692011-11-17 Ulrich Drepper <drepper@gmail.com>
14670
14671 * Makefile.in: Remove CVSOPT handling.
14672 * configure.in: Remove use of AC_REVISION.
14673 * iconvdata/Makefile (distribute): No need to filter out CVS.
14674 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14675 handling.
14676
5583a086
AS
146772011-11-16 Andreas Schwab <schwab@redhat.com>
14678
14679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14680 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14681 [USE_AS_STRNCASECMP_L]: Likewise.
14682 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14683 NO_TLS_DIRECT_SEG_REFS.
14684 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14685 Fix argument offsets for non-PIC.
14686 [USE_AS_STRNCASECMP_L]: Likewise.
14687 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14688 NO_TLS_DIRECT_SEG_REFS.
14689
d62a8200
UD
146902011-11-15 Ulrich Drepper <drepper@gmail.com>
14691
9d65ea3a 14692 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14693 O_CLOEXEC.
14694 * locale/loadlocale.c (_nl_load_locale): Likewise.
14695
09f93bd3
AS
146962011-11-15 Andreas Schwab <schwab@redhat.com>
14697
446514f9
AS
14698 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14699 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14700 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14701 (SYSCALL_GETTIME): Set errno on error.
14702
09f93bd3
AS
14703 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14704 count references to noai6ai_cached.
14705
312be3f9
UD
147062011-11-15 Ulrich Drepper <drepper@gmail.com>
14707
14708 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14709
14710 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14711 FD_CLOEXEC for /proc/self/maps.
14712
14713 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14714 FD_CLOEXEC for /proc/meminfo.
14715
14716 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14717 gai.conf.
14718
14719 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14720 FD_CLOEXEC for given file.
14721
14722 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14723
14724 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14725 FD_CLOEXEC for /etc/hosts.
14726 (_gethtent): Likewise.
14727
14728 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14729
14730 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14731 cancellation and set FD_CLOEXEC for /etc/netgroup.
14732
14733 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14734 reading /etc/publickey.
14735
14736 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14737 allow cancellation when reading /etc/group.
14738
14739 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14740 cancellation.
14741 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14742
14743 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14744 when using data file.
14745
14746 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14747
14748 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14749 (write_nis_obj): Use "c" and "e" in fopen.
14750
14751 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14752
14753 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14754
14755 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14756
14757 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14758
14759 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14760 locale.alias.
14761
14762 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14763
14764 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14765
14766 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14767
14768 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14769 file parsing and set FD_CLOEXEC.
14770
82af0fa8
UD
147712011-11-14 Ulrich Drepper <drepper@gmail.com>
14772
14773 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14774
a5fb313c
AS
147752011-11-14 Andreas Schwab <schwab@redhat.com>
14776
14777 * malloc/arena.c (arena_get2): Don't call reused_arena when
14778 _int_new_arena failed.
14779
6abf3465
UD
147802011-11-14 Ulrich Drepper <drepper@gmail.com>
14781
14782 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14783 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14784 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14785 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14786 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14787 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14788 to compile strcasecmp and strncasecmp.
14789 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14790 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14791
14792 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14793
76e3966e
UD
147942011-11-13 Ulrich Drepper <drepper@gmail.com>
14795
14796 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14797 locale-defines.sym to gen-as-const-headers.
14798 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14799 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14800 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14801 to compile strcasecmp and strncasecmp.
14802 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14803 strcasecmp_l and strncasecmp_l.
14804 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14805 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14806 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14807 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14808 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14809 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14810 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14811 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14812 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14813 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14814 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14815
ab26144e
UD
148162011-11-12 Ulrich Drepper <drepper@gmail.com>
14817
7edb22ef
UD
14818 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14819 result of SYSDEP_GETTIME_CPU to retval.
14820 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14821 parameter list to macro. Remove trailing semicolon. Adjust users.
14822
9694fc44
UD
14823 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14824 variable.
14825
8ad89ef8
UD
14826 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14827 mantissa words.
14828 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14829
0c822ef9
UD
14830 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14831 from unused variable.
14832
874e0564
UD
14833 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14834 DWARF definitions.
14835 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14836 for assembling.
14837
3a2edc79
UD
14838 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14839 over namespaces.
14840
f3c2577f
UD
14841 * sunrpc/rpc_prot.c (rejected): Fix case value.
14842
294ce126
UD
14843 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14844 unsigned long long int to avoid warnings in shift.
14845
5e2b63c6
UD
14846 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14847 of use of trans.
14848 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14849 variable tmp.
14850
e7f4b08e
UD
14851 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14852 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14853 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14854
ab26144e
UD
14855 * nis/nis_table.c (nis_list): Use variable of correct type for
14856 result of __follow_path call.
14857
8a6d5255
AZ
148582011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14859
14860 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14861 of math functions ceil, trunc, floor, round, and sqrt, when
14862 avaliable on the platform.
14863 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14864 name clash.
14865 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14866 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14867 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14868
aaddc98c
MP
148692011-10-30 Marek Polacek <mpolacek@redhat.com>
14870
14871 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14872 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14873
95b7042b
RM
148742011-11-11 Roland McGrath <roland@hack.frob.com>
14875
14876 * include/unistd.h: Fix __readlink return type.
14877 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14878
57769839
UD
148792011-11-11 Ulrich Drepper <drepper@gmail.com>
14880
14881 * stdlib/ucontext.h: Undo last change for makecontext.
14882
edc5984d
AS
148832011-11-11 Andreas Schwab <schwab@redhat.com>
14884
98591e58
AS
14885 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14886
edc5984d
AS
14887 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14888 * setjmp/setjmp.h: Mark functions as non-leaf.
14889 * setjmp/bits/setjmp2.h: Likewise.
14890 * stdlib/ucontext.h: Likewise.
14891
77cdc054
AS
148922011-11-10 Andreas Schwab <schwab@redhat.com>
14893
14894 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14895 (reused_arena): Don't check arena limit.
14896 (arena_get2): Atomically check arena limit.
14897
fe72eebd
UD
148982011-11-08 Ulrich Drepper <drepper@gmail.com>
14899
5f078c32
UD
14900 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14901 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14902
fe72eebd
UD
14903 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14904 instructions.
14905
ae1bc2fa
AS
149062011-11-07 Andreas Schwab <schwab@redhat.com>
14907
7583a88d
AS
14908 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14909 handler when locking.
14910
ae1bc2fa
AS
14911 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14912 Fix size of allocated buffer.
14913
10fb0bfa
AS
149142011-11-04 Andreas Schwab <schwab@redhat.com>
14915
998832a4
AS
14916 [BZ #10103]
14917 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14918 declarations for long double functions.
14919 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14920
10fb0bfa
AS
14921 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14922
3d7ba52b
AS
149232011-11-03 Andreas Schwab <schwab@redhat.com>
14924
a9ae54a1
AS
14925 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14926 installed.
14927
3d7ba52b
AS
14928 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14929 is disabled.
14930
bc8db248
ST
149312011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14932
14933 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14934
45b96dd6
AS
149352011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14936
647776f6
AS
14937 * include/alloca.h (stackinfo_alloca_round): Define.
14938 (extend_alloca): Use it.
14939 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14940 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14941 here.
14942
d91a8b93
AS
14943 * scripts/check-local-headers.sh: Ignore libaudit.h.
14944
45b96dd6
AS
14945 * nscd/Makefile (extra-objs): Make recursively expanded.
14946
432d41ce
UD
149472011-11-01 Ulrich Drepper <drepper@gmail.com>
14948
34372fc6
UD
14949 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14950 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14951
fadb59f8
UD
14952 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14953 * posix/tst-rfc3484-2.c: Likewise.
14954 * posix/tst-rfc3484-3.c: Likewise.
14955
78239589
UD
14956 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14957 process_vm_writev.
14958 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14959 process_vm_writev.
14960 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14961 process_vm_writev from libc using GLIBC_2.15 version.
14962
432d41ce
UD
14963 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14964
02f9c6cf
PP
149652011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14966
14967 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14968 stack usage.
14969
3a2c0242
UD
149702011-10-31 Ulrich Drepper <drepper@gmail.com>
14971
f4ec4833
UD
14972 [BZ #13367]
14973 * nss/getent.c (initgroups_keys): Show error message in case no group
14974 names are given.
14975
3a2c0242
UD
14976 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14977 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14978 __bump_nl_timestamp.
14979 * nscd/connections (nscd_init): When host database is served open
14980 netlink socket and request notification about configuration changes.
14981 (main_loop_poll): Track netlink file descriptor and bump timestamp
14982 in case data becomes available.
14983 (main_loop_epoll): Likewise.
14984 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14985 (database_pers_head): Add extra_data fileds.
14986 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14987 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14988 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14989 Adjust caller.
14990 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14991 in6ai data, call __free_in6ai.
14992 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14993 Add -DHAVE_NETLINK.
14994 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14995 interface information. Reuse previous data if netlink timestamp
14996 is not changed.
14997 (__bump_nl_timestamp): New function.
14998 (__free_in6ai): New function.
14999
636064eb
UD
150002011-10-30 Ulrich Drepper <drepper@gmail.com>
15001
15002 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
15003 close_not_cancel_no_status here.
15004 (__check_pf): Reorganize code a bit to not call close twice if OOM.
15005
9beb2334
UD
150062011-10-29 Ulrich Drepper <drepper@gmail.com>
15007
6ef76f3b
UD
15008 [BZ #13276]
15009 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
15010 return value.
15011
0ffc4f3e 15012 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
15013 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15014 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15015
cb95113e
UD
150162011-07-03 Andreas Jaeger <aj@suse.de>
15017
15018 [BZ #10709]
15019 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15020 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15021 * math/libm-test.inc (sin_test): Add test case.
15022
a1b560ff
UD
150232011-10-29 Ulrich Drepper <drepper@gmail.com>
15024
c9aaface
UD
15025 [BZ #13337]
15026 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15027 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15028
d272e7f1
UD
15029 * elf/chroot_canon.c (chroot_canon): Cleanups.
15030
1bc33071
UD
15031 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15032
1760874d
TJ
15033 [BZ #13335]
15034 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15035 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15036
51d91b18
UD
15037 * string/test-strchr.c: Make usable for strchrnul testing.
15038 * string/test-strchrnul.c: New file.
15039 * string/Makefile (strop-tests): Add strchrnul.
15040
a1b560ff 15041 * po/it.po: Update from translation team.
b611fb81 15042 * po/es.po: Likewise.
a1b560ff 15043
a5b81e1f
UD
150442011-10-28 Ulrich Drepper <drepper@gmail.com>
15045
fd52bc6d
UD
15046 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15047 the three constants needed as parameters. Drop the others.
15048 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15049 __m128i_strloadu_tolower.
52e4b9eb
UD
15050 Create and initialize variable zero and use it in all the places
15051 where _mm_setzero_si128 was used.
fd52bc6d 15052
a5b81e1f
UD
15053 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15054 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15055 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15056 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15057 anymore.
15058 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15059 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15060 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15061 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15062 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15063 __mpranred, __mptan.
15064 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15065 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15066 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15067 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15068 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15069 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15070 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15071 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15072 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15073
b4343346
AS
150742011-10-28 Andreas Schwab <schwab@redhat.com>
15075
0c92d8a8
AS
15076 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15077 redefine if SHARED.
15078 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15079
b4343346
AS
15080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15081 wide char related routines to wcsmbs subdir.
15082
3871f58f
AS
150832011-10-27 Andreas Schwab <schwab@redhat.com>
15084
15085 [BZ #13344]
15086 * misc/sys/cdefs.h (__THROWNL): Define.
15087 * posix/unistd.h: Use __THREADNL instead of __THREAD
15088 for memory synchronization functions.
15089
94d44d9f
RM
150902011-10-26 Roland McGrath <roland@hack.frob.com>
15091
21b64b15 15092 [BZ #13349]
94d44d9f
RM
15093 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15094 doesn't exist.
15095 * manual/stdio.texi (Obstack Streams): Node removed.
15096
f6ce9294
AS
150972011-10-26 Andreas Schwab <schwab@redhat.com>
15098
80479147
AS
15099 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15100 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15101 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15102
f6ce9294
AS
15103 * math/math_private.h (math_force_eval): Allow non-addressable
15104 arguments.
15105 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15106
618280a1
UD
151072011-10-25 Ulrich Drepper <drepper@gmail.com>
15108
e0016b11
UD
15109 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15110 file is not needed.
15111
15112 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15113 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15114 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15115 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15116 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15117 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15118 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15119 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15120 Add AVX variants.
15121 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15122 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15123 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15124 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15125 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15126 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15127 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15128 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15129 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15130 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15131 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15132 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15133 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15134 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15135 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15136 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15137 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15138 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15139 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15140
15141 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15142 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15143
618280a1
UD
15144 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15145 place. Use VEX encoding when compiling for AVX.
15146
37822576
AS
151472011-10-25 Andreas Schwab <schwab@redhat.com>
15148
1f1e1947
AS
15149 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15150 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15151
37822576
AS
15152 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15153
31ea014d
UD
151542011-10-25 Ulrich Drepper <drepper@gmail.com>
15155
d7826aa1 15156 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 15157 useless if() expression.
d7826aa1
UD
15158 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15159 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15160 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15161 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15162 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15163 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15164 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15165 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15166 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15167 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15168 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15169 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15170 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15171 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15172 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15173 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15174 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15175 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15176 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15177
31ea014d
UD
15178 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15179
16437fec
AS
151802011-10-25 Andreas Schwab <schwab@redhat.com>
15181
15182 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15183 condition.
15184 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15185
31d3cc00
UD
151862011-10-25 Ulrich Drepper <drepper@gmail.com>
15187
15188 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15189 .text section. Avoid duplicate constants.
15190 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15192 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15194 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15195 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15197 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15198 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15199 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15200 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15201 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15202 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15203 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15204 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15205 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15206 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15207 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15213 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15214 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15215 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15216 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15217 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15218 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15219 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15220 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15221 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15222 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15223 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15224 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15225 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15226 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15227 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15228 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15229 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15230 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15231 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15232 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15233 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15234 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15235
58985aa9
UD
152362011-10-24 Ulrich Drepper <drepper@gmail.com>
15237
202c9deb
UD
15238 * sysdeps/x86_64/dla.h: Move to ...
15239 * sysdeps/x86_64/fpu/dla.h: ...here.
15240 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15241 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 15242
af968f62
UD
15243 * config.make.in: Add have-mfma4 entry.
15244 * configure.in: Substitute libc_cv_cc_fma4.
15245 * math/Makefile (dbl-only-routines): Add sincostab.
15246 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15247 Use __sincostab not sincos.
15248 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15249 name is a macro.
15250 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15251 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15252 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15254 using __copysign.
15255 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15256 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15257 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15258 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15259 and __inv.
15260 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15261 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15262 __copysign.
15263 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15264 define aliases when function name is a macro.
15265 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15266 sysdeps/ieee754/dbl-64/sincos.tbl.
15267 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15268 fma4-enabled routines.
15269 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15270 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15271 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15272 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15273 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15274 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15275 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15276 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15277 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15278 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15279 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15280 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15281 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15282 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15283 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15284 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15285 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15286 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15287 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15288 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15289 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15290 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15291 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15292 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15293 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15294 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15295 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15296 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15297 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15298 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15299
58985aa9
UD
15300 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15301 rename.
15302 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15303 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15304 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15305 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15306 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15307 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15308 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15309 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15310
a201fbcf
AS
153112011-10-24 Andreas Schwab <schwab@redhat.com>
15312
15313 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15314
fc2ee42a
LD
153152011-10-23 Ulrich Drepper <drepper@gmail.com>
15316
bb3129bd
UD
15317 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15318
0275fff8
UD
15319 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15320 prediction.
15321 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15322
2fa2ae85
UD
15323 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15324 Remove unused variable magic_bits.
15325 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15326
fc2ee42a
LD
15327 * string/strnlen.c: Define and use STRNLEN macro.
15328 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15329 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15331 * wcsmbs/wcslen.c: Define and use WCSLEN.
15332 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15333 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15334 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15335 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15336 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15337 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15338 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15339
ce7dd29f
LD
153402011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15341
15342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15343 strnlen-sse2-no-bsf.
15344 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15345 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15346 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15347 Add strnlen support.
15348 (USE_AS_STRNLEN): New macro.
15349 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15350 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15351 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15352 * sysdeps/x86_64/wcslen.S: New file.
15353
979c70a3
MZ
153542011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15355
15356 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15357 XMM-moves are used for copying on small sizes.
15358
2d09f82f
LD
153592011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15360
15361 * wcsmbs/Makefile (strop-tests): Add wcschr.
15362 * wcsmbs/test-wcschr.c: New file.
15363 * string/test-strchr.c: Update.
15364 Add wcschr support.
15365 (WIDE): New macro.
15366
619fccca
LD
153672011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15368
2d09f82f 15369 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
15370 * wcsmbs/test-wcslen.c: New file.
15371 * string/test-strlen.c: Update.
15372 Add wcslen support.
15373 (WIDE): New macro.
15374
09f699ea
UD
153752011-10-23 Ulrich Drepper <drepper@gmail.com>
15376
15377 * po/it.po: Update from translation team.
15378
95584d3b
LD
153792011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15380
15381 * sysdeps/x86_64/wcscmp.S: Update.
15382 Fix wrong comparison semantics.
15383 wcscmp shall use signed comparison not unsigned.
15384 Don't use substraction to avoid overflow bug.
15385 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15386 * wcsmbc/wcscmp.c: Likewise.
15387 * string/test-strcmp.c: Likewise.
15388 Add new tests to check cases with negative values.
15389
c8b3296b
UD
153902011-10-23 Ulrich Drepper <drepper@gmail.com>
15391
15392 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15393 * sysdeps/x86_64/dla.h: ...here. New file.
15394 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15395 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15397 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15398 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15399 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15401 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15402 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15403
246ad57a
AS
154042011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15405
15406 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15407 __ynl_finite aliases.
15408
a1a87169
UD
154092011-10-22 Ulrich Drepper <drepper@gmail.com>
15410
0d355eb7
UD
15411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15412
a1a87169
UD
15413 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15414 define DLA_FMA.
15415 [DLA_FMA] (EMULV): Use DLA_FMA.
15416 [DLA_FMA] (MUL12): Use EMULV.
15417 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15418 that are not needed.
15419 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15420 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15421 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15424 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15425 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15426
ee2aafe0
AS
154272011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15428
15429 * math/s_nan.c: Undef __nan.
15430 * math/s_nanf.c: Undef __nanf.
15431 * math/s_nanl.c: Undef __nanl.
15432 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15433 "math_private.h".
15434
bc62c2fb
UD
154352011-10-22 Ulrich Drepper <drepper@gmail.com>
15436
77425c63
UD
15437 * math/s_catan.c: Add branch predictions.
15438 * math/s_catanf.c: Likewise.
15439 * math/s_catanh.c: Likewise.
15440 * math/s_catanhf.c: Likewise.
15441 * math/s_catanhl.c: Likewise.
15442 * math/s_catanl.c: Likewise.
15443 * math/s_cexp.c: Likewise.
15444 * math/s_cexpf.c: Likewise.
15445 * math/s_cexpl.c: Likewise.
15446 * math/s_clog.c: Likewise.
15447 * math/s_clog10.c: Likewise.
15448 * math/s_clog10f.c: Likewise.
15449 * math/s_clog10l.c: Likewise.
15450 * math/s_clogf.c: Likewise.
15451 * math/s_clogl.c: Likewise.
15452 * math/s_csqrt.c: Likewise.
15453 * math/s_csqrtf.c: Likewise.
15454 * math/s_csqrtl.c: Likewise.
15455 * math/s_ctanf.c: Likewise.
15456 * math/s_ctanh.c: Likewise.
15457 * math/s_ctanhf.c: Likewise.
15458 * math/s_ctanhl.c: Likewise.
15459 * math/s_ctanl.c: Likewise.
15460
bc62c2fb
UD
15461 * math/math_private.h: Define __nan, __nanf, __nanl.
15462 * math/s_cacosh.c: Include <math_private.h>.
15463 * math/s_cacoshl.c: Likewise.
15464 * math/s_casinh.c: Likewise.
15465 * math/s_casinhf.c: Likewise.
15466 * math/s_casinhl.c: Likewise.
15467 * math/s_ccos.c: Rely entire on ccosh.
15468 * math/s_ccosf.c: Rely entire on ccoshf.
15469 * math/s_ccosl.c: Rely entirely on ccoshl.
15470 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15471 Remove tests for FE_INVALID.
15472 * math/s_ccoshf.c: Likewise.
15473 * math/s_ccoshl.c: Likewise.
15474 * math/s_csin.c: Likewise.
15475 * math/s_csinf.c: Likewise.
15476 * math/s_csinh.c Likewise.
15477 * math/s_csinhf.c: Likewise.
15478 * math/s_csinhl.c: Likewise.
15479 * math/s_csinl.c: Likewise.
15480 * math/s_ctan.c: Likewise.
15481 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15482 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15483 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15484
8ec250a4
UD
154852011-10-21 Ulrich Drepper <drepper@gmail.com>
15486
c196fed8
UD
15487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15488 compilation problems.
15489
8ec250a4
UD
15490 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15491 __builtin_expect.
15492
8d4f46c6
UD
154932011-10-20 Ulrich Drepper <drepper@gmail.com>
15494
ed72b654
UD
15495 * sysdeps/i386/configure.in: Test for -mfma4 option.
15496 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15497 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15498 COMMON_CPUID_INDEX_80000001.
15499 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15500 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15501 use it if FMA3 is not supported.
15502 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15503
8d4f46c6
UD
15504 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15505 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15506
d45c60c2
AS
155072011-10-20 Andreas Schwab <schwab@redhat.com>
15508
15509 [BZ #12892]
15510 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15511 it would create a cycle with a link time dependency.
15512
d9a4d2ab
UD
155132011-10-19 Ulrich Drepper <drepper@gmail.com>
15514
855d1560
UD
15515 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15516 instruction.
15517 * string/Makefile (strop-tests): Add rawmemchr.
15518 * string/test-rawmemchr.c: New file.
15519
d9a4d2ab
UD
15520 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15521 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15522 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15523 when compiling str{,n}casecmp and when AVX is available. Hook up
15524 new optimized code in initializers.
15525
8f3b1ffe
AS
155262011-10-19 Andreas Schwab <schwab@redhat.com>
15527
15528 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15529 __feraiseexcept instead of feraiseexcept.
15530
d38f1dba
UD
155312011-10-18 Ulrich Drepper <drepper@gmail.com>
15532
d9a8d0ab
UD
15533 * math/math_private.h: Define defaults for libc_fetestexcept and
15534 libc_feupdateenv.
15535 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15536 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15537 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15538 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15539 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15540 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15541 libc_fetestexcept and libc_feupdateenv.
15542
4855e3dd
UD
15543 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15544 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15545 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15546 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15547 libc_feholdexcept_setround.
15548
581d30e3
UD
15549 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15550 Add s_nearbyint-c and s_nearbyintf-c.
15551 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15552 nearbyintf inlines.
15553 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15554 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15555 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15556 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15557
d38f1dba
UD
15558 * math/math_private.h: Define defaults for libc_fegetround,
15559 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15560 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15561 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15562 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15563 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15564 standard functions.
15565 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15566 Remove comments and hacks for old compiler versions.
15567 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15568 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15569 libc_feholdexceptl.
15570
caa6c9d8
AS
155712011-10-18 Andreas Schwab <schwab@redhat.com>
15572
15573 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15574 (__feraiseexcept_renamed): Add __NTH.
15575 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15576 namespace violations.
15577
97c066e6
UD
155782011-10-17 Ulrich Drepper <drepper@gmail.com>
15579
99ce7b04
UD
15580 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15581
1004d182
UD
15582 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15583
228a984d
UD
15584 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15585 recently added interfaces.
15586 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15587
c8553a6a
UD
15588 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15589 about macro parameter expansion.
15590
ed22dcf6
UD
15591 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15592 __NO_MATH_INLINES is defined. Cleanups.
15593
15594 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15595 and __floorf is target has SSE4.1.
15596 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15597 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15598 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15599 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15600
b171c137
UD
15601 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15602 name.
15603 (floorf): Likewise.
15604
97c066e6
UD
15605 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15606
629f62ef
AS
156072011-10-17 Andreas Schwab <schwab@redhat.com>
15608
49a43d80
AS
15609 * misc/sys/cdefs.h: Fix last change.
15610
629f62ef
AS
15611 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15612 database lookup.
15613
e453f6cd
UD
156142011-10-16 Ulrich Drepper <drepper@gmail.com>
15615
aa78043a
UD
15616 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15617
ad0f5cad
UD
15618 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15619 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15620 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15621 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15622 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15623 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15624 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15625 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15626 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15627 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15628 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15629 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15630 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15631 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15632 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15633 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15634 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15635 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15636 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15637 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15638 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15639 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15640
15641 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15642 ceil, ceilf, floor, floorf.
15643
15644 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15645 Perform IRELATIVE relocations last.
15646
e453f6cd
UD
15647 * elf/do-rel.h: Add another parameter nrelative, replacing the
15648 local variable with the same name. Change name of the function
15649 to end in Rel or Rela (uppercase).
15650 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15651 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15652 elf_dynamic_do_##reloc function.
15653
fd5bdc09
UD
156542011-10-15 Ulrich Drepper <drepper@gmail.com>
15655
79b195b5
UD
15656 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15657 is sufficient, at least on modern CPUs.
15658
d4a28569
UD
15659 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15660
b61099b5
UD
15661 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15662 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15663
bcf01e6d
UD
15664 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15665 __expl_finite.
15666 * math/bits/math-finite.h: Add entries for exp.
15667 * math/e_expl.c: Add __*_finite alias.
15668 * sysdeps/i386/fpu/e_exp.S: Likewise.
15669 * sysdeps/i386/fpu/e_expf.S: Likewise.
15670 * sysdeps/i386/fpu/e_expl.c: Likewise.
15671 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15672 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15673 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15674 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15675 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15676 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15677 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15678
ba1a0d59
UD
15679 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15680 is sufficient, at least on modern CPUs.
15681
fd5bdc09
UD
15682 * ctype/ctype-info.c (__ctype_init): Define.
15683 * include/ctype.h (__ctype_init): Declare.
15684 (__ctype_b_loc): The variable is always initialized.
15685 (__ctype_toupper_loc): Likewise.
15686 (__ctype_tolower_loc): Likewise.
15687 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15688 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15689
7872cfb0
AS
156902011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15691
b468825a
AS
15692 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15693
7872cfb0
AS
15694 * configure.in: Also look in $cxxmachine/include for C++ system
15695 headers.
15696
be13f7bf
LD
156972011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15698
15699 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15700 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15701 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15702 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15703 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15704 (USE_AS_WMEMCMP): New macro.
15705 Fixing indents.
15706 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15707 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15708 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15709 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15711 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15712 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15713 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15714 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15715 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15716 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15717 (USE_AS_WMEMCMP): New macro.
15718 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15719 * sysdeps/string/test-memcmp.c: Update.
15720 Fix simple_wmemcmp.
15721 Add new tests.
15722 * wcsmbs/wmemcmp.c: Update.
15723 (WMEMCMP): New macro.
15724 Fix overflow bug.
15725
556a2007
AJ
157262011-10-12 Andreas Jaeger <aj@suse.de>
15727
15728 [BZ #13268]
15729 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15730
538faaa7
UD
157312011-10-15 Ulrich Drepper <drepper@gmail.com>
15732
ab6737ff
UD
15733 * libio/iofwide.c (do_length): Avoid warning.
15734
538faaa7
UD
15735 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15736
396a21b1
UD
157372011-10-14 Ulrich Drepper <drepper@gmail.com>
15738
cdf2901f
UD
15739 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15740
38ad40ce
UD
15741 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15742 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15743 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15744 * sysdeps/i386/i686/fpu/e_log.S: New file.
15745 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15746 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15747
396a21b1
UD
15748 * ctype/ctype.h: Add support for inlined isXXX functions when
15749 compiling C++ code.
15750
6b1f68c9
AS
157512011-10-14 Andreas Schwab <schwab@redhat.com>
15752
349290c0
AS
15753 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15754
6b1f68c9
AS
15755 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15756
f2282d42
RM
157572011-10-13 Roland McGrath <roland@hack.frob.com>
15758
15759 [BZ #13291]
15760 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15761
5298ffa8
AS
157622011-10-13 Andreas Schwab <schwab@redhat.com>
15763
714fad23
AS
15764 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15765 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15766 feraiseexcept.
15767
81dcc7fb
AS
15768 * sysdeps/x86_64/memrchr.S: Check for zero size.
15769
5298ffa8
AS
15770 * string/stratcliff.c: Add memrchr tests.
15771
951fbcec
LD
157722011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15773
15774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15775 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15776 rawmemchr-sse2 rawmemchr-sse2-bsf.
15777 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15778 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15779 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15780 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15781 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15782 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15783 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15784 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15785 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15786 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15787 * string/memrchr.c (MEMRCHR): New macro.
15788
0ac5ae23
UD
157892011-10-12 Ulrich Drepper <drepper@gmail.com>
15790
15791 Add integration with gcc's -ffinite-math-only and optimize wrapper
15792 functions in libm.
15793 * Versions.def: Define GLIBC_2.15 version for libm.
15794 * math/Makefile (headers): Add bits/math-finite.h.
15795 * math/bits/math-finite.h: New file.
15796 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15797 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15798 * math/e_acoshl.c: Add __*_finite alias.
15799 * math/e_acosl.c: Likewise.
15800 * math/e_asinl.c: Likewise.
15801 * math/e_atan2l.c: Likewise.
15802 * math/e_atanhl.c: Likewise.
15803 * math/e_coshl.c: Likewise.
15804 * math/e_exp10.c: Likewise.
15805 * math/e_exp10f.c: Likewise.
15806 * math/e_exp10l.c: Likewise.
15807 * math/e_exp2l.c: Likewise.
15808 * math/e_fmodl.c: Likewise.
15809 * math/e_gammal_r.c: Likewise.
15810 * math/e_hypotl.c: Likewise.
15811 * math/e_j0l.c: Likewise.
15812 * math/e_j1l.c: Likewise.
15813 * math/e_jnl.c: Likewise.
15814 * math/e_lgammal_r.c: Likewise.
15815 * math/e_log10l.c: Likewise.
15816 * math/e_log2l.c: Likewise.
15817 * math/e_logl.c: Likewise.
15818 * math/e_powl.c: Likewise.
15819 * math/e_sinhl.c: Likewise.
15820 * math/e_sqrtl.c: Likewise.
15821 * math/e_scalb.c: Completely rewritten and optimized.
15822 * math/e_scalbf.c: Likewise.
15823 * math/e_scalbl.c: Likewise.
15824 * math/w_acos.c: Likewise.
15825 * math/w_acosf.c: Likewise.
15826 * math/w_acosl.c: Likewise.
15827 * math/w_acosh.c: Likewise.
15828 * math/w_acoshf.c: Likewise.
15829 * math/w_acoshl.c: Likewise.
15830 * math/w_asin.c: Likewise.
15831 * math/w_asinf.c: Likewise.
15832 * math/w_asinl.c: Likewise.
15833 * math/w_atan2.c: Likewise.
15834 * math/w_atan2f.c: Likewise.
15835 * math/w_atan2l.c: Likewise.
15836 * math/w_atanh.c: Likewise.
15837 * math/w_atanhf.c: Likewise.
15838 * math/w_atanhl.c: Likewise.
15839 * math/w_exp10.c: Likewise.
15840 * math/w_exp10f.c: Likewise.
15841 * math/w_exp10l.c: Likewise.
15842 * math/w_fmod.c: Likewise.
15843 * math/w_fmodf.c: Likewise.
15844 * math/w_fmodl.c: Likewise.
15845 * math/w_j0.c: Likewise.
15846 * math/w_j0f.c: Likewise.
15847 * math/w_j0l.c: Likewise.
15848 * math/w_j1.c: Likewise.
15849 * math/w_j1f.c: Likewise.
15850 * math/w_j1l.c: Likewise.
15851 * math/w_jn.c: Likewise.
15852 * math/w_jnf.c: Likewise.
15853 * math/w_log.c: Likewise.
15854 * math/w_logf.c: Likewise.
15855 * math/w_logl.c: Likewise.
15856 * math/w_log10.c: Likewise.
15857 * math/w_log10f.c: Likewise.
15858 * math/w_log10l.c: Likewise.
15859 * math/w_log2.c: Likewise.
15860 * math/w_log2f.c: Likewise.
15861 * math/w_log2l.c: Likewise.
15862 * math/w_pow.c: Likewise.
15863 * math/w_powf.c: Likewise.
15864 * math/w_powl.c: Likewise.
15865 * math/w_remainder.c: Likewise.
15866 * math/w_remainderf.c: Likewise.
15867 * math/w_remainderl.c: Likewise.
15868 * math/w_scalb.c: Likewise.
15869 * math/w_scalbf.c: Likewise.
15870 * math/w_scalbl.c: Likewise.
15871 * math/w_sqrt.c: Likewise.
15872 * math/w_sqrtf.c: Likewise.
15873 * math/w_sqrtl.c: Likewise.
15874 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15875 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15876 used.
15877 * math/math_private.h: Declare __kernel_standard_f.
15878 * math/w_cosh.c: Remove cruft and optimize a bit.
15879 * math/w_coshf.c: Likewise.
15880 * math/w_coshl.c: Likewise.
15881 * math/w_exp2.c: Likewise.
15882 * math/w_exp2f.c: Likewise.
15883 * math/w_exp2l.c: Likewise.
15884 * math/w_hypot.c: Likewise.
15885 * math/w_hypotf.c: Likewise.
15886 * math/w_hypotl.c: Likewise.
15887 * math/w_lgamma.c: Likewise.
15888 * math/w_lgamma_r.c: Likewise.
15889 * math/w_lgammaf.c: Likewise.
15890 * math/w_lgammaf_r.c: Likewise.
15891 * math/w_lgammal.c: Likewise.
15892 * math/w_lgammal_r.c: Likewise.
15893 * math/w_sinh.c: Likewise.
15894 * math/w_sinhf.c: Likewise.
15895 * math/w_sinhl.c: Likewise.
15896 * math/w_tgamma.c: Likewise.
15897 * math/w_tgammaf.c: Likewise.
15898 * math/w_tgammal.c: Likewise.
15899 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15900 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15901 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15902 Minor optimizations. Pretty printing. Remove cruft.
15903 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15904 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15905 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15906 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15907 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15908 * sysdeps/i386/fpu/e_asin.S: Likewise.
15909 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15910 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15911 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15912 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15913 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15914 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15915 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15916 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15917 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15918 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15919 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15920 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15921 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15922 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15923 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15924 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15925 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15926 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15927 * sysdeps/i386/fpu/e_log.S: Likewise.
15928 * sysdeps/i386/fpu/e_log10.S: Likewise.
15929 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15930 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15931 * sysdeps/i386/fpu/e_log2.S: Likewise.
15932 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15933 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15934 * sysdeps/i386/fpu/e_logf.S: Likewise.
15935 * sysdeps/i386/fpu/e_logl.S: Likewise.
15936 * sysdeps/i386/fpu/e_pow.S: Likewise.
15937 * sysdeps/i386/fpu/e_powf.S: Likewise.
15938 * sysdeps/i386/fpu/e_powl.S: Likewise.
15939 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15940 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15941 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15942 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15943 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15944 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15945 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15946 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15947 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15948 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15949 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15951 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15952 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15953 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15954 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15955 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15956 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15957 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15958 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15959 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15961 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15962 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15964 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15965 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15966 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15967 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15968 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15969 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15970 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15971 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15972 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15973 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15974 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15975 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15976 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15977 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15978 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15979 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15980 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15981 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15982 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15983 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15984 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15985 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15986 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15987 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15988 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15989 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15995 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15998 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16001 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16002 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16003 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16004 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16005 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16006 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16007 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16008 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16009 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16010 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16011 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16012 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16013 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16014 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16015 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16016 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16017 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16018 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16019 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16020 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16021 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16022 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16023 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16024 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16025 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16026 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16027 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16028 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16029 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16030 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16031 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16032 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16033 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16034 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16035 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16036 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16037 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16038 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16039 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16040 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16041 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16042 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16043 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16044 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16045 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16046 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16047 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16048 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16049 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16050 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16051 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16052 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16053 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16054 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16055 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16056 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16057 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16058 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16059 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16060 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16061 (__isnanf): Likewise.
16062 (__isinf_ns): Likewise.
16063 (__isinf_nsf): Likewise.
16064 (__finite): Likewise.
16065 (__finitef): Likewise.
16066 (__ieee754_sqrt): Define as macro.
16067 (__ieee754_sqrtf): Define as macro.
16068 (__ieee754_sqrtl): Define as macro.
16069 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16070 inlined copy.
16071 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16072 __FINITE_MATH_ONLY__ consistent.
16073 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16074
12cc2fcd
AS
160752011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16076
a843a204
AS
16077 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16078 of rawmemchr.
16079
12cc2fcd
AS
16080 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16081
c853acd5
UD
160822011-10-09 Ulrich Drepper <drepper@gmail.com>
16083
16084 * po/ja.po: Update from translation team.
16085
c658d255
RM
160862011-10-08 Roland McGrath <roland@hack.frob.com>
16087
110946e4
RM
16088 * locale/programs/locarchive.c (prepare_address_space): New function.
16089 (create_archive, enlarge_archive, open_archive): Use it.
16090
50604220
RM
16091 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16092 inside [SHARED], where it is used.
16093
c658d255
RM
16094 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16095
16096 * nss/getent.c (netgroup_keys): Remove unused variable.
16097 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16098
6a621eb7
UD
160992011-10-08 Ulrich Drepper <drepper@gmail.com>
16100
7edb55ce
UD
16101 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16102 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16103 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16104 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16105 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16106 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16107 * math/Makefile (libm-calls): Add s_isinf_ns.
16108 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16109 * math/multc3.c: Likewise.
16110 * math/s_casin.c: Likewise.
16111 * math/s_casinf.c: Likewise.
16112 * math/s_casinl.c: Likewise.
16113 * math/s_ccos.c: Likewise.
16114 * math/s_ccosf.c: Likewise.
16115 * math/s_ccosl.c: Likewise.
16116 * math/s_ctan.c: Likewise.
16117 * math/s_ctanf.c: Likewise.
16118 * math/s_ctanh.c: Likewise.
16119 * math/s_ctanhf.c: Likewise.
16120 * math/s_ctanhl.c: Likewise.
16121 * math/s_ctanl.c: Likewise.
16122 * math/w_fmod.c: Likewise.
16123 * math/w_fmodf.c: Likewise.
16124 * math/w_fmodl.c: Likewise.
16125 * math/w_remainder.c: Likewise.
16126 * math/w_remainderf.c: Likewise.
16127 * math/w_remainderl.c: Likewise.
16128 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16129 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16130 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16132 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16133 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16134 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16135 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16136
187da0ae
UD
16137 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16138 of the number.
16139 * stdio-common/printf_fphex.c: Likewise.
16140 * stdio-common/printf_size.c: Likewise.
16141
9277c064
UD
16142 * math/e_exp10.c: Include math_private.h using <...> not "...".
16143 * math/e_exp10f.c: Likewise.
16144 * math/e_exp10l.c: Likewise.
16145 * math/e_exp2l.c: Likewise.
16146 * math/e_j0l.c: Likewise.
16147 * math/e_j1l.c: Likewise.
16148 * math/e_jnl.c: Likewise.
16149 * math/e_lgammal_r.c: Likewise.
16150 * math/e_rem_pio2l.c: Likewise.
16151 * math/e_scalb.c: Likewise.
16152 * math/e_scalbf.c: Likewise.
16153 * math/e_scalbl.c: Likewise.
16154 * math/k_cosl.c: Likewise.
16155 * math/k_sinl.c: Likewise.
16156 * math/k_tanl.c: Likewise.
16157 * math/s_cacoshf.c: Likewise.
16158 * math/s_catan.c: Likewise.
16159 * math/s_catanf.c: Likewise.
16160 * math/s_catanh.c: Likewise.
16161 * math/s_catanhf.c: Likewise.
16162 * math/s_catanhl.c: Likewise.
16163 * math/s_catanl.c: Likewise.
16164 * math/s_ccosh.c: Likewise.
16165 * math/s_ccoshf.c: Likewise.
16166 * math/s_ccoshl.c: Likewise.
16167 * math/s_cexp.c: Likewise.
16168 * math/s_cexpf.c: Likewise.
16169 * math/s_cexpl.c: Likewise.
16170 * math/s_clog.c: Likewise.
16171 * math/s_clog10.c: Likewise.
16172 * math/s_clog10f.c: Likewise.
16173 * math/s_clog10l.c: Likewise.
16174 * math/s_clogf.c: Likewise.
16175 * math/s_clogl.c: Likewise.
16176 * math/s_csin.c: Likewise.
16177 * math/s_csinf.c: Likewise.
16178 * math/s_csinh.c: Likewise.
16179 * math/s_csinhf.c: Likewise.
16180 * math/s_csinhl.c: Likewise.
16181 * math/s_csinl.c: Likewise.
16182 * math/s_csqrt.c: Likewise.
16183 * math/s_csqrtf.c: Likewise.
16184 * math/s_csqrtl.c: Likewise.
16185 * math/s_ctan.c: Likewise.
16186 * math/s_ctanf.c: Likewise.
16187 * math/s_ctanh.c: Likewise.
16188 * math/s_ctanhf.c: Likewise.
16189 * math/s_ctanhl.c: Likewise.
16190 * math/s_ctanl.c: Likewise.
16191 * math/s_ldexp.c: Likewise.
16192 * math/s_ldexpf.c: Likewise.
16193 * math/s_ldexpl.c: Likewise.
16194 * math/s_significand.c: Likewise.
16195 * math/s_significandf.c: Likewise.
16196 * math/s_significandl.c: Likewise.
16197 * math/w_acos.c: Likewise.
16198 * math/w_acosf.c: Likewise.
16199 * math/w_acosh.c: Likewise.
16200 * math/w_acoshf.c: Likewise.
16201 * math/w_acoshl.c: Likewise.
16202 * math/w_acosl.c: Likewise.
16203 * math/w_asin.c: Likewise.
16204 * math/w_asinf.c: Likewise.
16205 * math/w_asinl.c: Likewise.
16206 * math/w_atan2.c: Likewise.
16207 * math/w_atan2f.c: Likewise.
16208 * math/w_atan2l.c: Likewise.
16209 * math/w_atanh.c: Likewise.
16210 * math/w_atanhf.c: Likewise.
16211 * math/w_atanhl.c: Likewise.
16212 * math/w_cosh.c: Likewise.
16213 * math/w_coshf.c: Likewise.
16214 * math/w_coshl.c: Likewise.
16215 * math/w_dremf.c: Likewise.
16216 * math/w_exp10.c: Likewise.
16217 * math/w_exp10f.c: Likewise.
16218 * math/w_exp10l.c: Likewise.
16219 * math/w_exp2.c: Likewise.
16220 * math/w_exp2f.c: Likewise.
16221 * math/w_fmod.c: Likewise.
16222 * math/w_fmodf.c: Likewise.
16223 * math/w_fmodl.c: Likewise.
16224 * math/w_hypot.c: Likewise.
16225 * math/w_hypotf.c: Likewise.
16226 * math/w_hypotl.c: Likewise.
16227 * math/w_j0.c: Likewise.
16228 * math/w_j0f.c: Likewise.
16229 * math/w_j0l.c: Likewise.
16230 * math/w_j1.c: Likewise.
16231 * math/w_j1f.c: Likewise.
16232 * math/w_j1l.c: Likewise.
16233 * math/w_jn.c: Likewise.
16234 * math/w_jnf.c: Likewise.
16235 * math/w_jnl.c: Likewise.
16236 * math/w_lgamma.c: Likewise.
16237 * math/w_lgamma_r.c: Likewise.
16238 * math/w_lgammaf.c: Likewise.
16239 * math/w_lgammaf_r.c: Likewise.
16240 * math/w_lgammal.c: Likewise.
16241 * math/w_lgammal_r.c: Likewise.
16242 * math/w_log.c: Likewise.
16243 * math/w_log10.c: Likewise.
16244 * math/w_log10f.c: Likewise.
16245 * math/w_log10l.c: Likewise.
16246 * math/w_log2.c: Likewise.
16247 * math/w_log2f.c: Likewise.
16248 * math/w_log2l.c: Likewise.
16249 * math/w_logf.c: Likewise.
16250 * math/w_logl.c: Likewise.
16251 * math/w_pow.c: Likewise.
16252 * math/w_powf.c: Likewise.
16253 * math/w_powl.c: Likewise.
16254 * math/w_remainder.c: Likewise.
16255 * math/w_remainderf.c: Likewise.
16256 * math/w_remainderl.c: Likewise.
16257 * math/w_scalb.c: Likewise.
16258 * math/w_scalbf.c: Likewise.
16259 * math/w_scalbl.c: Likewise.
16260 * math/w_sinh.c: Likewise.
16261 * math/w_sinhf.c: Likewise.
16262 * math/w_sinhl.c: Likewise.
16263 * math/w_sqrt.c: Likewise.
16264 * math/w_sqrtf.c: Likewise.
16265 * math/w_sqrtl.c: Likewise.
16266 * math/w_tgamma.c: Likewise.
16267 * math/w_tgammaf.c: Likewise.
16268 * math/w_tgammal.c: Likewise.
16269
6a621eb7
UD
16270 * po/ja.po: Update from translation team.
16271
bf582445
AJ
162722011-09-29 Andreas Jaeger <aj@suse.de>
16273
f9efbf3a
AJ
16274 [BZ #13179]
16275 * sunrpc/netname.c (netname2host): Fix logic.
16276
bf582445
AJ
16277 [BZ #6779]
16278 [BZ #6783]
16279 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16280 correctly.
16281 * math/w_remainder.c (__remainder): Likewise.
16282 * math/w_remainderf.c (__remainderf): Likewise.
16283 * math/libm-test.inc (remainder_test): Add test cases.
16284
48693bea
AK
162852011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16286
16287 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16288 sdiv_qrnnd.
16289
42622229
LD
162902011-10-07 Ulrich Drepper <drepper@gmail.com>
16291
16292 * string/test-memcmp.c: Avoid unncessary #defines.
16293 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16294
093ecf92
LD
162952011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16296
16297 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16298 Use new sse2 version for core i3 - i7 as it's faster
16299 than sse42 version.
16300 (bit_Prefer_PMINUB_for_stringop): New.
16301 * sysdeps/x86_64/rawmemchr.S: Update.
16302 Replace with faster SSE2 version.
16303 * sysdeps/x86_64/memrchr.S: New file.
16304 * sysdeps/x86_64/memchr.S: Update.
16305 Replace with faster SSE2 version.
16306
fde56e5c
MP
163072011-09-12 Marek Polacek <mpolacek@redhat.com>
16308
16309 * elf/dl-load.c (lose): Add cast to avoid warning.
16310
21fd49a9
UD
163112011-10-07 Ulrich Drepper <drepper@gmail.com>
16312
5a06e643
UD
16313 * po/ca.po: Update from translation team.
16314
684ae515
UD
16315 * inet/getnetgrent_r.c: Hook up nscd.
16316 * nscd/Makefile (routines): Add nscd_netgroup.
16317 (nscd-modules): Add netgroupcache.
16318 (CFLAGS-netgroupcache.c): Define.
16319 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16320 (cache_search): Add const to second parameter.
16321 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16322 INNETGR.
16323 (dbs): Add netgrdb entry.
16324 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16325 (verify_persistent_db): Handle netgrdb.
16326 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16327 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16328 GETFDNETGR.
16329 (netgroup_response_header): Define.
16330 (innetgroup_response_header): Define.
16331 (datahead): Add netgroup_response_header and innetgroup_response_header
16332 elements.
16333 * nscd/nscd.conf: Add entries for netgroup cache.
16334 * nscd/nscd.h (dbtype): Add netgrdb.
16335 (_PATH_NSCD_NETGROUP_DB): Define.
16336 (netgroup_iov_disabled): Declare.
16337 (xmalloc, xcalloc, xrealloc): Move declarations here.
16338 (cache_search): Adjust prototype.
16339 Add netgroup-related prototypes.
16340 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16341 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16342 (__nscd_innetgr): Declare.
16343 * nscd/selinux.c (perms): Use access_vector_t as element type and
16344 add netgroup-related initializers.
16345 * nscd/netgroupcache.c: New file.
16346 * nscd/nscd_netgroup.c: New file.
16347 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16348 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16349 For four parameters use innetgr.
16350 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16351 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16352 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16353 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16354
21fd49a9
UD
16355 * nscd/connections.c (register_traced_file): Don't register file
16356 for disabled databases.
16357
054c0457
UD
163582011-10-06 Ulrich Drepper <drepper@gmail.com>
16359
32b63198
UD
16360 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16361
054c0457
UD
16362 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16363 from tree and freeing node.
16364
64031225
JO
163652011-09-25 Jiri Olsa <jolsa@redhat.com>
16366
16367 * nss/nsswitch.c (__nss_database_lookup): Handle
16368 nss_parse_service_list out of memory case.
16369
0490345c
JO
163702011-09-15 Jiri Olsa <jolsa@redhat.com>
16371
16372 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16373 out of memory case.
16374
3a62d00d
AS
163752011-10-04 Andreas Schwab <schwab@redhat.com>
16376
16377 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16378 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16379 pass it down.
16380 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16381 elf_machine_rela, elf_machine_lazy_rel.
16382 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16383 (ELF_DYNAMIC_DO_REL): Likewise.
16384 (ELF_DYNAMIC_DO_RELA): Likewise.
16385 (ELF_DYNAMIC_RELOCATE): Likewise.
16386 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16387 to ELF_DYNAMIC_DO_REL.
16388 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16389 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16390 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16391 elf_machine_rela.
16392 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16393 skip_ifunc, don't call ifunc function if non-zero.
16394 (elf_machine_rela): Likewise.
16395 (elf_machine_lazy_rel): Likewise.
16396 (elf_machine_lazy_rela): Likewise.
16397 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16398 (elf_machine_lazy_rel): Likewise.
16399 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16400 Likewise.
16401 (elf_machine_lazy_rel): Likewise.
16402 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16403 Likewise.
16404 (elf_machine_lazy_rel): Likewise.
16405 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16406 (elf_machine_lazy_rel): Likewise.
16407 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16408 (elf_machine_lazy_rel): Likewise.
16409 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16410 (elf_machine_lazy_rel): Likewise.
16411 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16412 (elf_machine_lazy_rel): Likewise.
16413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16414 (elf_machine_lazy_rel): Likewise.
16415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16416 (elf_machine_lazy_rel): Likewise.
16417
68577918
UD
164182011-09-28 Ulrich Drepper <drepper@gmail.com>
16419
16420 * nss/nss_files/files-init.c (_nss_files_init): Use static
16421 initialization for all the *_traced_file variables.
16422
68822d74
AS
164232011-09-28 Andreas Schwab <schwab@redhat.com>
16424
16425 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16426
2056100b
RM
164272011-09-27 Roland McGrath <roland@hack.frob.com>
16428
16429 [BZ #13226]
16430 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16431
32c76b63
AS
164322011-09-27 Andreas Schwab <schwab@redhat.com>
16433
16434 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16435 Reread the line before reparsing it.
16436
bf972c9d
AS
164372011-09-26 Andreas Schwab <schwab@redhat.com>
16438
16439 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16440
e057a1b5
JM
164412011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16442 Maxim Kuvyrkov <maxim@codesourcery.com>
16443 Joseph Myers <joseph@codesourcery.com>
16444
16445 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16446 if needed for __stack_chk_guard.
16447
bc7e1c36
RM
164482011-09-19 Roland McGrath <roland@hack.frob.com>
16449
ecb1482f
RM
16450 * sysdeps/posix/spawni.c (script_execute): Always define it.
16451 It will be optimized away if unused.
16452 (maybe_script_execute): New function.
16453 (__spawni): Call it.
16454
bc7e1c36
RM
16455 * Makerules: Don't include tls.make.
16456 (config-tls): Always set to thread.
16457 * tls.make.c: File removed.
16458
1c3b002b
MF
164592011-09-19 Mike Frysinger <vapier@gentoo.org>
16460
16461 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16462 * config.make.in (CPPFLAGS-config): New substituted variable.
16463
2840865d
UD
164642011-09-15 Ulrich Drepper <drepper@gmail.com>
16465
88738eb6
UD
16466 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16467
cbf645a6 16468 [BZ #13192]
2840865d
UD
16469 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16470 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16471
b402e91a
RM
164722011-09-15 Roland McGrath <roland@hack.frob.com>
16473
16474 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16475 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16476 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16477 (CALL_FAIL): Likewise.
16478 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16479 (CALL_FAIL): Macro removed.
16480 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16481
4c1a1f71
UD
164822011-09-15 Ulrich Drepper <drepper@gmail.com>
16483
16484 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16485 for __FINITE_MATH_ONLY__ == 1.
16486
edc121be
AS
164872011-09-15 Andreas Schwab <schwab@redhat.com>
16488
16489 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16490 __ieee754_sqrt instead of sqrt.
16491 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16492 __ieee754_sqrtf instead of sqrtf.
16493 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16494 __floorf instead of floorf.
16495 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16496 __floorf, __truncf instead of floorf, truncf.
16497
cd205654
UD
164982011-09-14 Ulrich Drepper <drepper@gmail.com>
16499
ee4d0315
UD
16500 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16501
cd205654
UD
16502 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16503 __extern_always_inline.
16504 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16505 32-bit.
16506
48b67d71
AS
165072011-09-14 Andreas Schwab <schwab@redhat.com>
16508
16509 * elf/rtld.c (dl_main): Also relocate in dependency order when
16510 doing symbol dependency testing.
16511
1ae12c75
AS
165122011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16513
16514 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16515 Always define `refsym'.
16516
995a80df
AS
165172011-09-13 Andreas Schwab <schwab@redhat.com>
16518
e529793b
AS
16519 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16520 (__FD_ELT): Renamed from __FDELT.
16521 * misc/bits/select2.h (__FD_ELT): Likewise.
16522 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16523 __FD_MASK instead of __FDELT, __FDMASK.
16524 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16525 Likewise.
16526 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16527 Likewise.
16528
52d4fef8
AS
16529 * elf/Makefile (gen-ldd): Fix pattern.
16530
995a80df
AS
16531 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16532 (init_tls): Likewise.
16533
8682f8b0
UD
165342011-09-12 Ulrich Drepper <drepper@gmail.com>
16535
16536 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16537
de82006d
AS
165382011-09-12 Andreas Schwab <schwab@redhat.com>
16539
a7c8e6a1
AS
16540 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16541 `struct cmsghdr *' instead of `void *'.
16542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16543 Likewise.
16544
0f31fe77
AS
165452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16546
16547 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16548 if non-absolute.
16549 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16550 ldd_rewrite_script.
0f31fe77 16551
32b4c839
UD
165522011-09-11 Ulrich Drepper <drepper@gmail.com>
16553
83cd1420
UD
16554 * configure.in: Remove --with-tls option.
16555 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16556 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16557 out in case it is missing.
16558 * sysdeps/ia64/elf/configure.in: Likewise.
16559 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16560 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16561 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16562 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16563 * sysdeps/sh/elf/configure.in: Likewise.
16564 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16565 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16566 * sysdeps/x86_64/elf/configure.in: Likewise.
16567 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16568 * sysdeps/mach/hurd/tls.h: Likewise.
16569
633f745d
UD
16570 [BZ #13067]
16571 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16572
f318beb8
UD
16573 [BZ #13090]
16574 * configure.in: Fix use of AC_INIT.
16575
32b4c839
UD
16576 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16577
3ce1f295
UD
165782011-09-10 Ulrich Drepper <drepper@gmail.com>
16579
bb016596
UD
16580 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16581 __set_errno.
8e58439c
UD
16582 * malloc/hooks.c: Likewise.
16583
aebae053 16584 [BZ #11929]
02d46fc4
UD
16585 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16586 variables statically.
16587 (narenas): Initialize.
16588 (list_lock): Initialize.
bb016596
UD
16589 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16590 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16591 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16592 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16593 Add initializers to main_arena and mp_.
16594 (malloc_state): Remove pagesize member. Change all users to use
16595 GLRO(dl_pagesize).
16596
16597 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16598 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16599 is always initialized.
16600
22a89187
UD
16601 * malloc/malloc.c: Removed unused configurations and dead code.
16602 * malloc/arena.c: Likewise.
16603 * malloc/hooks.c: Likewise.
02d46fc4 16604 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16605
d063d164
UD
16606 * include/tls.h: Removed. USE___THREAD must always be defined.
16607 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16608 * elf/dl-libc.c: Likewise.
16609 * elf/dl-tsd.c: Likewise.
16610 * include/errno.h: Likewise.
16611 * include/netdb.h: Likewise.
16612 * include/resolv.h: Likewise.
16613 * inet/herrno-loc.c: Likewise.
16614 * inet/herrno.c: Likewise.
16615 * malloc/arena.c: Likewise.
16616 * malloc/hooks.c: Likewise.
16617 * malloc/malloc.c: Likewise.
16618 * resolv/res-state.c: Likewise.
16619 * resolv/res_libc.c: Likewise.
16620 * sysdeps/i386/dl-machine.h: Likewise.
16621 * sysdeps/ia64/dl-machine.h: Likewise.
16622 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16623 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16624 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16625 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16626 * sysdeps/sh/dl-machine.h: Likewise.
16627 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16628 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16629 * sysdeps/unix/i386/sysdep.S: Likewise.
16630 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16631 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16632 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16633 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16634 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16635 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16636 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16637 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16638 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16639 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16640 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16641 * sysdeps/x86_64/dl-machine.h: Likewise.
16642 * tls.make.c: Likewise.
16643
3ce1f295
UD
16644 * configure.in: Remove --with-__thread option. Make tests for
16645 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16646 tls_model attribute fail if no support is available. Remove
16647 USE_IN_LIBIO.
16648 * Makeconfig: Adjust for dropped configure option. All features are
16649 now mandatory.
16650 * Makerules: Likewise.
16651 * Versions.def: Likewise.
16652 * argp/argp-fmtstream.c: Likewise.
16653 * argp/argp-fmtstream.h: Likewise.
16654 * argp/argp-help.c: Likewise.
16655 * assert/assert.c: Likewise.
16656 * config.h.in: Likewise.
16657 * config.make.in: Likewise.
16658 * configure: Likewise.
16659 * configure.in: Likewise.
16660 * csu/Versions: Likewise.
16661 * csu/init.c: Likewise.
16662 * elf/tst-audit2.c: Likewise.
16663 * elf/tst-tls10.c: Likewise.
16664 * elf/tst-tls10.h: Likewise.
16665 * elf/tst-tls11.c: Likewise.
16666 * elf/tst-tls12.c: Likewise.
16667 * elf/tst-tls14.c: Likewise.
16668 * elf/tst-tlsmod11.c: Likewise.
16669 * elf/tst-tlsmod12.c: Likewise.
16670 * elf/tst-tlsmod13.c: Likewise.
16671 * elf/tst-tlsmod13a.c: Likewise.
16672 * elf/tst-tlsmod14a.c: Likewise.
16673 * elf/tst-tlsmod15b.c: Likewise.
16674 * elf/tst-tlsmod16a.c: Likewise.
16675 * elf/tst-tlsmod16b.c: Likewise.
16676 * elf/tst-tlsmod7.c: Likewise.
16677 * elf/tst-tlsmod8.c: Likewise.
16678 * elf/tst-tlsmod9.c: Likewise.
16679 * gmon/gmon.c: Likewise.
16680 * grp/fgetgrent_r.c: Likewise.
16681 * grp/putgrent.c: Likewise.
16682 * hurd/fopenport.c: Likewise.
16683 * include/libc-symbols.h: Likewise.
16684 * include/tls.h: Likewise.
16685 * intl/gettextP.h: Likewise.
16686 * intl/loadinfo.h: Likewise.
16687 * locale/global-locale.c: Likewise.
16688 * locale/localeinfo.h: Likewise.
16689 * mach/devstream.c: Likewise.
16690 * malloc/arena.c: Likewise.
16691 * malloc/set-freeres.c: Likewise.
16692 * misc/err.c: Likewise.
16693 * misc/getttyent.c: Likewise.
16694 * misc/mntent_r.c: Likewise.
16695 * posix/getopt.c: Likewise.
16696 * posix/wordexp.c: Likewise.
16697 * pwd/fgetpwent_r.c: Likewise.
16698 * resolv/Versions: Likewise.
16699 * resolv/res_hconf.c: Likewise.
16700 * shadow/fgetspent_r.c: Likewise.
16701 * shadow/putspent.c: Likewise.
16702 * stdio-common/printf_fphex.c: Likewise.
16703 * stdio-common/tmpfile.c: Likewise.
16704 * stdlib/abort.c: Likewise.
16705 * stdlib/fmtmsg.c: Likewise.
16706 * sunrpc/auth_unix.c: Likewise.
16707 * sunrpc/clnt_perr.c: Likewise.
16708 * sunrpc/clnt_tcp.c: Likewise.
16709 * sunrpc/clnt_udp.c: Likewise.
16710 * sunrpc/clnt_unix.c: Likewise.
16711 * sunrpc/openchild.c: Likewise.
16712 * sunrpc/svc_simple.c: Likewise.
16713 * sunrpc/svc_tcp.c: Likewise.
16714 * sunrpc/svc_udp.c: Likewise.
16715 * sunrpc/svc_unix.c: Likewise.
16716 * sunrpc/xdr.c: Likewise.
16717 * sunrpc/xdr_array.c: Likewise.
16718 * sunrpc/xdr_rec.c: Likewise.
16719 * sunrpc/xdr_ref.c: Likewise.
16720 * sunrpc/xdr_stdio.c: Likewise.
16721
1248c1c4
PB
167222011-09-09 Ulrich Drepper <drepper@gmail.com>
16723
16724 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16725
167262011-07-03 Andreas Jaeger <aj@suse.de>
16727
16728 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16729 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16730 regenerate with gen-libm-tests.pl.
16731
167322010-05-12 Petr Baudis <pasky@suse.cz>
16733
16734 [BZ #11589]
16735 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16736 around j0() zero points by switching to j1().
16737 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16741
f22e1074
UD
167422011-09-09 Ulrich Drepper <drepper@gmail.com>
16743
f19009c1
UD
16744 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16745 instead of 0.
16746 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16747 instead of 0. .
16748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16749 Patch in part by Pavel Roskin <proski@gnu.org>.
16750
3f8cc204
UD
16751 [BZ #13138]
16752 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16753 realloc.
16754 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16755 Free memory block if necessary.
16756
f22e1074
UD
16757 [BZ #12847]
16758 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16759 be NULL. Don't lock in this case.
16760
0a2349f9
RM
167612011-09-09 Roland McGrath <roland@hack.frob.com>
16762
16763 * elf/elf.h (ELFOSABI_GNU): New macro.
16764 (ELFOSABI_LINUX): Define to that.
16765
f3cdd467
DZ
167662011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16767
16768 * string/strncat.c (strncat): Undef the symbol in case it has been
16769 defined in bits/string.h.
16770
74718d13
UD
167712011-09-09 Ulrich Drepper <drepper@gmail.com>
16772
633e9e0f
UD
16773 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16774
0a2349f9 16775 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16776 link map.
16777
f9924780
AJ
167782011-08-17 Andreas Jaeger <aj@suse.de>
16779
16780 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16781
7f5517aa
PP
167822011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16783 Ian Lance Taylor <iant@google.com>
16784
16785 * math/libm-test.inc (lround_test): New testcase.
16786 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16787
762011fe
UD
167882011-09-08 Ulrich Drepper <drepper@gmail.com>
16789
92963737
UD
16790 * Makefile: Remove support for automatic cvs check-ins.
16791 * Makerules: Likewise.
16792 * config.make.in: Likewise.
16793 * configure.in: Likewise.
16794 * intl/Makefile: Likewise.
16795 * locale/Makefile: Likewise.
16796 * po/Makefile: Likewise.
16797 * posix/Makefile: Likewise.
16798 * sysdeps/gnu/Makefile: Likewise.
16799 * sysdeps/mach/hurd/Makefile: Likewise.
16800 * sysdeps/sparc/sparc32/Makefile: Likewise.
16801
b0727fd8
JS
16802 [BZ #13118]
16803 * posix/Makefile (bug-regex32-ENV): Define.
16804 Patch by John Stanley <jpsinthemix@verizon.net>.
16805
a0f33f99
UD
16806 * misc/Makefile (headers): Add bits/select2.h.
16807 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16808 * misc/bits/select2.h: New file.
16809 * include/bits/select2.h: New file.
16810 * debug/Makefile (routines): Add fdelt_chk.
16811 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16812 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16813 FD_ISSET.
16814 * debug/fdelt_chk.c: New file.
16815
762011fe
UD
16816 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16817 * wcsmbs/test-wmemcmp.c: Likewise.
16818 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16819 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16820
168212011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16822
16823 * string/Makefile (strop-tests): Add memcmp.
16824 * string/test-wmemcmp.c: New file.
16825 * string/test-memcmp.c: Add wmemcmp support.
16826
7f513ec8
RM
168272011-09-08 Roland McGrath <roland@hack.frob.com>
16828
0442afb4
RM
16829 [BZ #13153]
16830 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16831 2011-07-19 change.
16832
7f513ec8
RM
16833 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16834 garbage value in a __mach_port_mod_refs call in the cases of the
16835 task-self and thread-self ports.
16836
a12b2239
ST
168372011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16838
16839 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16840
610f9ab4
AS
168412011-09-08 Andreas Schwab <schwab@redhat.com>
16842
7f513ec8 16843 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16844
48882a1a
LD
168452011-09-07 Ulrich Drepper <drepper@gmail.com>
16846
b49865be
UD
16847 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16848
fdc86bc9
UD
16849 * elf/dl-libc.c (dlerror_run): Pass back error code from
16850 dl_catch_error.
16851
c966526a
UD
16852 [BZ #13123]
16853 * elf/dl-load.c (lose): Free l_origin if it is valid.
16854
48882a1a
LD
16855 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16856 names.
16857 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16858 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16859 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16860 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16861 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16862 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16863
77a2a8b4
AZ
168642011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16865
16866 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16867 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16868 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16869 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16870 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16871 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16872 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16873 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16874 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16875 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16876
24f579d8
AM
168772011-08-15 Alan Modra <amodra@gmail.com>
16878
16879 [BZ #13092]
16880 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16881 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16882 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16883 ppc_mcount to static-only-routines.
16884 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16885 __mcount_internal.
16886 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16887 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16888
3d4837df
UD
168892011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16890
16891 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16892 for finite and infinity parameters.
16893
22700377
WS
168942011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16895
16896 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16897 and add nop instructions for throughput optimization.
16898 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16899
5025581e
WS
169002011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16901
16902 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16903 aligned copy for power7 with vector-scalar instructions.
16904 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16905
08a300c9
L
169062011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16907
16908 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16909 AVX check.
16910
59178ef9
AS
169112011-09-07 Andreas Schwab <schwab@redhat.com>
16912
16913 [BZ #13144]
16914 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16915 last change.
16916
e38ba7ab
UD
169172011-09-07 Ulrich Drepper <drepper@gmail.com>
16918
16919 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16920 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16921 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16922 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16923 clock_gettime.
16924
d53a73ac
UD
169252011-09-06 Ulrich Drepper <drepper@gmail.com>
16926
fc8bffcc
UD
16927 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16928 Forgot to demangle the pointer.
16929
ceaa0c5d
UD
16930 * sysdeps/i386/sysdep.h: Define atom_text_section.
16931 * sysdeps/x86_64/sysdep.h: Likewise.
16932 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16933 section with atom_text_section.
16934 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16935 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16936 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16937 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16938 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16939
a77d3c17
UD
16940 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16941 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16942 already be defined. Change to take two parameters and don't assign
16943 result to variable. Adjust all users.
16944 Define INTERNAL_GETTIME if not already defined.
16945 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16946 call.
16947 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16948 HAVE_CLOCK_GETTIME_VSYSCALL.
16949 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16950
d53a73ac
UD
16951 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16952 gettimeofday vsyscall, just use time.
16953
a8f84144
AS
169542011-09-06 Andreas Schwab <schwab@redhat.com>
16955
16956 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16957 <errno.h>.
16958
ef606249
UD
169592011-09-06 Ulrich Drepper <drepper@gmail.com>
16960
16961 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16962 syscall on x86-64.
16963 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16964 syscall.
16965 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16966 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16967 syscall if possible.
16968
6585cb60
UD
169692011-09-05 Ulrich Drepper <drepper@gmail.com>
16970
16971 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16972 e_ident. Don't pass to find_mapsXX.
16973 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16974
a5f524e4
LD
169752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16976
16977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16978 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16979 * sysdeps/x86_64/multiarch/strchr.S: Update.
16980 Check bit_slow_BSF bit.
16981 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16982 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16983 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16984
554881ef
UD
169852011-09-05 Ulrich Drepper <drepper@gmail.com>
16986
d96de963
UD
16987 [BZ #13134]
16988 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16989 before glibc 2.15.
16990 (tryshell): Define.
16991 (__spawni): Change last parameter to be flag. Test
16992 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16993 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16994 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16995 * posix/spawni.c: Likewise.
16996 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16997 * posix/spawnp.c: Likewise. Change normal version to use
16998 SPAWN_XFLAGS_USE_PATH.
16999 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
17000 SPAWN_XFLAGS_TRY_SHELL.
17001
d48e5868
UD
17002 [BZ #13150]
17003 * posix/glob.h: Remove gcc 1.x support.
17004
554881ef
UD
17005 [BZ #13068]
17006 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
17007
693fb948
LD
170082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17009
17010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17011 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
17012 strrchr-sse2-bsf
17013 * sysdeps/i386/i686/multiarch/strchr.S: New file.
17014 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17015 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17016 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17017 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17018 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17019
1b48c537
UD
170202011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17021
49d42c37
UD
17022 * sysdeps/x86_64/wcscmp.S: New file.
17023
1b48c537
UD
17024 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17025 wcscmp-c wcscmp-sse2
17026 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17027 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17028 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17029 * wcsmbs/wcscmp.c: Allow renaming.
17030
15c95c5d
DM
170312011-09-05 David S. Miller <davem@davemloft.net>
17032
17033 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17034 stack slot, rather than the struct return pointer slot.
17035 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17036 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17038 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17039
2f0ad8f3
UD
170402011-09-05 Ulrich Drepper <drepper@gmail.com>
17041
d88ae418
UD
17042 * po/ja.po: Update from translation team.
17043
2f0ad8f3
UD
17044 [BZ #13144]
17045 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17046 kernel in 64-bit binaries.
17047
5f4318d1
DM
170482011-09-01 David S. Miller <davem@davemloft.net>
17049
17050 * elf/elf.h (HWCAP_SPARC_*): Move to..
17051 * sysdeps/sparc/sysdep.h: this new file and add new values.
17052 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17053 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17054 _DL_HWCAP_COUNT to 24.
17055 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17056 entries.
17057 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17058 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17059 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17060 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17061 instead of magic constants.
17062 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17063
3ba57516
DM
170642011-08-31 David S. Miller <davem@davemloft.net>
17065
17066 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17068 Reimplement to do errno handling inline.
17069 (SYSCALL_ERROR_HANDLER): New macro.
17070 (__SYSCALL_STRING): Do not do errno handling in asm.
17071 (__CLONE_SYSCALL_STRING): Delete.
17072 (__INTERNAL_SYSCALL_STRING): Delete.
17073 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17074 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17075 (PSEUDO): Reimplement to do errno handling inline.
17076 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17077 (SYSCALL_ERROR_HANDLER): New macro.
17078 (__SYSCALL_STRING): Do not do errno handling in asm.
17079 (__CLONE_SYSCALL_STRING): Delete.
17080 (__INTERNAL_SYSCALL_STRING): Delete.
17081 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17082 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17083 i386.
17084 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17085 (inline_syscall*): Add 'err' argument.
17086 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17087 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17088 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17089 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17090
17091 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17092 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17093
2bc17433
AS
170942011-08-30 Andreas Schwab <schwab@redhat.com>
17095
17096 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17097
fbeb5f4d
JO
170982011-08-29 Jiri Olsa <jolsa@redhat.com>
17099
17100 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17101 directive.
17102
ad69cc26
DM
171032011-08-24 David S. Miller <davem@davemloft.net>
17104
17105 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17106
39dd69df
AS
171072011-08-24 Andreas Schwab <schwab@redhat.com>
17108
17109 * elf/Makefile: Add rules to build and run unload8 test.
17110 * elf/unload8.c: New file.
17111 * elf/unload8mod1.c: New file.
17112 * elf/unload8mod1x.c: New file.
17113 * elf/unload8mod2.c: New file.
17114 * elf/unload8mod3.c: New file.
17115
17116 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17117 it wasn't used.
17118
2c0b250a
DM
171192011-08-23 David S. Miller <davem@davemloft.net>
17120
17121 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17122 subtract stack bias.
17123 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17124 %sp not %fp in calculations.
17125 (_JMPBUF_UNWINDS_ADJ): Likewise.
17126
22044b48
DM
17127 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17128 (aio_suspend): Call it to force an exception region around the
17129 AIO_MISC_WAIT() invocation.
17130
2cae4995
AS
171312011-08-23 Andreas Schwab <schwab@redhat.com>
17132
17133 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17134 backslash.
17135
873a772e
AJ
171362011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17137
17138 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17139 protection macro.
17140 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17141 and <dl-machine.h>.
17142 (Elf64_FuncDesc): Remove.
17143
25ad0df1
DM
171442011-08-22 David S. Miller <davem@davemloft.net>
17145
17146 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17147 sigaltstack check, add missing cfi directives.
17148 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17149 missing cfi directives, and sigaltstack handling.
17150
e888bcbe
AS
171512011-08-16 Andreas Schwab <schwab@redhat.com>
17152
17153 [BZ #11724]
17154 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17155 object is seen twice.
17156 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17157
17158 * elf/Makefile (distribute): Add tst-initorder2.c.
17159 (tests): Add tst-initorder2.
17160 (modules-names): Add tst-initorder2a tst-initorder2b
17161 tst-initorder2c tst-initorder2d. Add rules to build them.
17162 ($(objpfx)tst-initorder2.out): New rule.
17163 * elf/tst-initorder2.c: New file.
17164 * elf/tst-initorder2.exp: New file.
17165
87162f46
AS
171662011-08-22 Andreas Schwab <schwab@redhat.com>
17167
70538b7f
AS
17168 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17169
f55ffe58
AS
17170 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17171 dependencies back to end of function.
17172
87162f46
AS
17173 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17174 $(elfobjdir)/ld.so.
17175
91b392a4
UD
171762011-08-21 Ulrich Drepper <drepper@gmail.com>
17177
17178 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17179 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17180 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17181 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17182 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17183 of __vdso_gettimeofday.
17184 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17185 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17186 attribute_hidden.
17187 (_libc_vdso_platform_setup): Remove initialization of
17188 __vdso_gettimeofday and __vdso_time.
17189
5c43483f
UD
171902011-08-20 Ulrich Drepper <drepper@gmail.com>
17191
775a77e7
UD
17192 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17193 and fgetc_unlocked.
17194 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17195 getc_unlocked.
89f447ed 17196
49c74ba9
UD
17197 * elf/dl-open.c (add_to_global): Report additions to the global scope
17198 for LD_DEBUG=scopes.
17199 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 17200 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 17201
5c43483f
UD
17202 [BZ #13114]
17203 * stdio-common/Makefile (tests): Add bug24.
17204 * stdio-common/bug24.c: New file.
17205
a101b025
AJ
172062011-08-19 Andreas Jaeger <aj@suse.de>
17207
17208 [BZ #13114]
17209 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17210 non-existant file when using close-on-exec mode.
17211
c88f1766
UD
172122011-08-20 Ulrich Drepper <drepper@gmail.com>
17213
0276a718
UD
17214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17215 the very first instruction.
17216
c88f1766
UD
17217 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17218 the CFI state in the end.
17219 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17220 inclusion of dl-trampoline.h.
17221 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17222
51ccffa0
AS
172232011-08-19 Andreas Schwab <schwab@redhat.com>
17224
94d7165f
AS
17225 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17226 expectations for long double.
17227
51ccffa0
AS
17228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17229 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17230
fd708658 172312011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
17232
17233 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17234 artificual limit depends upon the system page size.
17235
44f0a71e
UD
172362011-08-17 Ulrich Drepper <drepper@gmail.com>
17237
17238 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17239 * resolv/Makefile: Define CFLAGS-libresolv.
17240
8de79a24
AS
172412011-08-17 Andreas Schwab <schwab@redhat.com>
17242
17243 * nss/makedb.c (compute_tables): Make variables used in nested
17244 function static.
17245
27724598
UD
172462011-08-17 Ulrich Drepper <drepper@gmail.com>
17247
c5305d88
UD
17248 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17249 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17250 if buffer was too small.
17251
27724598
UD
17252 * elf/pldd.c (main): Attach to all threads in the process.
17253 Rewrite /proc handling to use *at functions.
17254
076fe015
UD
172552011-08-16 Ulrich Drepper <drepper@gmail.com>
17256
174baab3
UD
17257 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17258 specifies first scope to show.
17259 (dl_open_worker): Update callers. Move printing scope of new
17260 object to before the relocation.
44f0a71e 17261 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
17262 * sysdeps/generic/ldsodefs.h: Update declaration.
17263
076fe015
UD
17264 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17265 string for the scope number.
17266
a60df2c3
UD
172672011-08-14 Ulrich Drepper <drepper@gmail.com>
17268
17269 * nscd/servicescache.c (cache_addserv): Make sure written is always
17270 initialized.
17271
5e4287d1
RM
172722011-08-14 Roland McGrath <roland@hack.frob.com>
17273
85ae0589
RM
17274 * sysdeps/i386/i486/bits/atomic.h
17275 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17276 statement expression, so as to suppress "set but not used" warning.
17277 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17278
69f63097
RM
17279 * string/strncat.c (STRNCAT): Use prototype definition.
17280
675456ef
RM
17281 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17282 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17283 -Iprograms here.
17284 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17285 (localedef-modules): Add localedef.
17286 (locale-modules): Add locale.
17287
5e4287d1
RM
17288 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17289 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17290 to avoid a warning.
17291
9c96ff23
DM
172922011-08-14 David S. Miller <davem@davemloft.net>
17293
17294 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17295 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17296
f9ddf089
UD
172972011-08-13 Ulrich Drepper <drepper@gmail.com>
17298
44f0a71e 17299 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
17300 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17301 * elf/rtld.c (dl_main): Set l_name of vDSO.
17302 Call _dl_show_scope when DL_DEBUG_SCOPES.
17303 (process_dl_debug): Recognize scopes flag and also set it for all.
17304 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17305 Declare _dl_show_scope.
17306
1dc27704
UD
17307 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17308 (do_dlopen): Pass caller_dlopen to dl_open.
17309 (__libc_dlopen_mode): Initialize caller_dlopen.
17310
f9ddf089
UD
17311 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17312 of libc. Make tolower call locale-independent. Optimize a bit by
17313 using isdigit instead of isalnum.
17314 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17315
9ac533d3
UD
173162011-08-12 Ulrich Drepper <drepper@gmail.com>
17317
17318 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17319 was a dependency or dynamically loaded.
17320
89edf2e9
UD
173212011-08-11 Ulrich Drepper <drepper@gmail.com>
17322
8e999d29
UD
17323 * intl/l10nflist.c: Allow architecture-specific pop function.
17324 * sysdeps/x86_64/l10nflist.c: New file.
17325
89edf2e9
UD
17326 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17327 classification.
17328
14d96785
AS
173292011-08-10 Andreas Schwab <schwab@redhat.com>
17330
17331 * include/dirent.h: Add libc_hidden_proto for scandirat and
17332 scandirat64. Don't declare __scandirat64.
17333 * dirent/scandirat.c: Add libc_hidden_def.
17334 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17335 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17336
6761ac04
DM
173372011-08-10 David S. Miller <davem@davemloft.net>
17338
17339 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17340 enum.
17341 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17342 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17343 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17344
c55fbd1e
UD
173452011-08-09 Ulrich Drepper <drepper@gmail.com>
17346
17347 * Versions.def [libc]: Add GLIBC_2.15.
17348 * dirent/Makefile (routines): Add scandirat and scandirat64.
17349 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17350 GLIBC_2.15.
17351 * dirent/dirent.h: Declare scandirat and scandirat64.
17352 * dirent/scandirat.c: New file.
17353 * dirent/scandirat64.c: New file.
17354 * sysdeps/wordsize-64/scandirat.c: New file.
17355 * sysdeps/wordsize-64/scandirat64.c: New file.
17356 * dirent/opendir.c: Define opendirat.
17357 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17358 using scandirat.
17359 * dirent/scandir64.c: Adjust for scandir.c change.
17360 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17361 __scandirat64, and __scandir_cancel_handler.
17362 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17363 additional parameter and use openat instead of open (outside of ld.so).
17364 Add new __opendir as wrapper around __opendirat.
17365 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17366 here without requiring old scandirat implementation.
17367
879165f2
UD
173682011-08-08 Ulrich Drepper <drepper@gmail.com>
17369
17370 * dirent/scandir.c (cancel_handler): Renamed to
17371 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17372 defined. Adjust users.
17373 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17374 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17375
cb7e923b
UD
173762011-08-04 Ulrich Drepper <drepper@gmail.com>
17377
16292edd
UD
17378 * string/test-string.h (IMPL): Use __STRING to expand name and then
17379 stringify it.
17380
cb7e923b
UD
17381 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17382 of cleanups.
17383
cff82933
LD
173842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17385
17386 * string/Makefile: Update.
17387 (strop-tests): Append strncat.
17388 * string/test-wcscmp.c: New file.
17389 New comprehensive test for wcscmp.
17390 * string/test-strcmp.c: Update.
17391 (WIDE): New define.
17392
9be9bfcc
AS
173932011-07-22 Andreas Schwab <schwab@redhat.com>
17394
17395 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17396 line.
17397
2e96f1c7
AS
173982011-07-26 Andreas Schwab <schwab@redhat.com>
17399
17400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17401 encoding to ACE if AI_IDN.
17402
85188888
JJ
174032011-08-01 Jakub Jelinek <jakub@redhat.com>
17404
17405 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17406 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17407
5fa16e9b
LD
174082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17409
17410 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17411 Fix overflow bug in strncat.
17412 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17413
17414 * string/test-strncat.c: Update.
17415 Add new tests for checking overflow bugs.
17416
174172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17418
17419 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17420 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17421 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17422 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17423 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17424 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17425 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17426 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17427 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17428
17429 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17430 (USE_AS_STRCAT): Define.
17431 Add strcat and strncat support.
17432 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17433
8c1a459f
AS
174342011-07-25 Andreas Schwab <schwab@redhat.com>
17435
17436 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17437 __n bigger than INT_MAX+1.
17438 (__strncmp_g): Likewise.
17439
bba33c28
UD
174402011-07-23 Ulrich Drepper <drepper@gmail.com>
17441
798be72d
UD
17442 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17443 * libio/stido.h: Likewise.
17444
8accd4dc
UD
17445 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17446 (AF_NFC): Define.
17447 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17448 (AF_NFC): Define.
17449
cbff0d96
UD
17450 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17451 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17452 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17453 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17454 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17455
9191c04a
UD
17456 [BZ #13021]
17457 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17458 installed.
17459
bba33c28
UD
17460 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17461 typo.
17462 (_dl_x86_64_save_sse): Likewise.
17463
90f139dd
UD
174642011-07-22 Ulrich Drepper <drepper@gmail.com>
17465
1aae088a
UD
17466 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17467 OSXSAVE.
17468 (_dl_x86_64_save_sse): Likewise.
17469
8e2045f5
UD
17470 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17471
90f139dd
UD
17472 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17473
1d002f25
AS
174742011-07-21 Andreas Schwab <schwab@redhat.com>
17475
17476 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17477 change.
17478 (_dl_x86_64_save_sse): Use correct AVX check.
17479
21137f89
UD
174802011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17481
17482 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17483 bug in strncpy/strncat.
17484 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17485
a65c0b7a
UD
174862011-07-21 Ulrich Drepper <drepper@gmail.com>
17487
17488 * string/tester.c (test_strcat): Add tests for different alignments
17489 of source and destination.
17490 (test_strncat): Likewise.
17491
6986b98a
UD
174922011-07-20 Ulrich Drepper <drepper@gmail.com>
17493
90bb2039
UD
17494 [BZ #12852]
17495 * posix/glob.c (glob): Check passed in values before using them in
17496 expressions to avoid some overflows.
17497 (glob_in_dir): Likewise.
17498
5644ef54
UD
17499 [BZ #13007]
17500 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17501 check for AVX enablement so that we don't crash with old kernels and
17502 new hardware.
17503 * elf/tst-audit4.c: Add same checks here.
17504 * elf/tst-audit6.c: Likewise.
17505
17506 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17507
bfc9dc9b
AS
175082011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17509
17510 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17511
702e64bb
UD
175122011-07-20 Ulrich Drepper <drepper@gmail.com>
17513
17514 * po/cs.po: Update from translation team.
17515 * po/bg.po: Likewise.
17516
295e904f
MP
175172011-07-12 Marek Polacek <mpolacek@redhat.com>
17518
17519 * misc/sys/cdefs.h: Add support for const attribute.
17520 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17521 to gnu_dev_{major,minor,makedev} functions.
17522
3ff94596
MP
175232011-07-20 Marek Polacek <mpolacek@redhat.com>
17524
17525 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17526
28b59fca
AS
175272011-07-20 Andreas Schwab <schwab@redhat.com>
17528
17529 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17530 strlen results.
17531
19df733e
AK
175322011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17533
17534 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17535 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17536 register in order to avoid conflicts with the soft frame pointer
17537 being held in r11 when necessary.
17538 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17539 (INTERNAL_VSYSCALL_NCS): Likewise.
17540
c8835729
MP
175412011-07-14 Marek Polacek <mpolacek@redhat.com>
17542
17543 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17544 * elf/dl-fini.c (_dl_fini): Adjust caller.
17545 * elf/dl-close.c (_dl_close_worker): Likewise.
17546 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17547
b902330c
MP
175482011-07-15 Marek Polacek <mpolacek@redhat.com>
17549
8991e135
MP
17550 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17551 "aux_cache->nlibs < 0".
17552
b902330c
MP
17553 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17554 in the reload-count case.
17555
99710781
LD
175562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17557
17558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17559 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17560 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17561 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17562 * sysdeps/x86_64/multiarch/strcat.S: New file.
17563 * sysdeps/x86_64/multiarch/strncat.S: New file.
17564 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17565 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17566 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17567 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17568 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17569 (USE_AS_STRCAT): Define.
17570 Add strcat and strncat support.
17571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17572 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17573 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17574 * string/strncat.c: Update.
17575 (USE_AS_STRNCAT): Define.
17576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17577 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17578 and i7.
17579 * sysdeps/x86_64/multiarch/init-arch.h
17580 (bit_Prefer_PMINUB_for_stringop): New.
17581 (index_Prefer_PMINUB_for_stringop): Likewise.
17582 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17583 bit_Prefer_PMINUB_for_stringop.
17584
7dc6bd90
UD
175852011-07-19 Ulrich Drepper <drepper@gmail.com>
17586
17587 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17588 buffer64.
17589 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17590 of casting of buffer.
17591 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17592 buffer32 and buffer64.
17593 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17594 writes instead of casting of buffer.
17595 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17596 buffer32.
17597 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17598 casting of buffer.
17599
e0e72284
AS
176002011-07-19 Andreas Schwab <schwab@redhat.com>
17601
17602 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17603
feb1eb0b
UD
176042011-07-19 Ulrich Drepper <drepper@gmail.com>
17605
17606 * nscd/nscd.c (termination_handler): Don't do anything for a database
17607 if it has not yet been initialized.
17608
298711ff
UD
176092011-07-18 Ulrich Drepper <drepper@gmail.com>
17610
17611 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17612
176132011-07-15 Marek Polacek <mpolacek@redhat.com>
17614
17615 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17616
f9d68389
UD
176172011-07-18 Ulrich Drepper <drepper@gmail.com>
17618
17619 * po/nl.po: Update from translation team.
17620 * po/sv.po: Likewise.
17621
db290cf5
RM
176222011-07-16 Roland McGrath <roland@hack.frob.com>
17623
17624 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17625 now disallowed by GCC.
5c550700 17626
fd5e21c7
RM
17627 * configure.in (use-default-link): Default to yes if a test -shared
17628 link meets our qualifications.
17629 * configure: Regenerated.
17630
5c550700
RM
17631 * config.make.in (output-format): New variable.
17632 * configure.in: Check for ld --print-output-format support.
17633 * configure: Regenerated.
17634 * Makerules ($(common-objpfx)format.lds)
17635 [$(output-format) != unknown]: Just use $(output-format),
17636 instead of the linker-script munging.
17637
9fa2c032
RM
176382011-07-14 Roland McGrath <roland@hack.frob.com>
17639
a6928d51
RM
17640 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17641 of $(common-objpfx)shlib.lds.
17642 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17643
661607b3
RM
17644 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17645 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17646
9fa2c032
RM
17647 * configure.in (-z relro check): Adjust test code to add a large
17648 writable data section after it.
17649 * configure: Regenerated.
17650
defe9061
RM
176512011-07-11 Roland McGrath <roland@hack.frob.com>
17652
17653 * configure.in (-z relro check): Fix test code to make the variable
17654 truly const.
17655 * configure: Regenerated.
17656
319b9ad4
UD
176572011-07-11 Ulrich Drepper <drepper@gmail.com>
17658
17659 * nscd/nscd.h (struct traced_file): Define.
17660 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17661 elements. Add traced_files.
17662 (inotify_fd): Declare.
17663 (register_traced_file): Declare.
17664 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17665 (inotify_fd): Export.
17666 (resolv_conf_descr): Remove.
17667 (nscd_init): Move inotify descriptor creation to main.
17668 Don't register files for notification here.
17669 (register_traced_file): New function.
17670 (invalidate_cache): Don't use reset_res to determine whether to call
17671 res_init, go through the list of registered files.
17672 (main_loop_poll): The inotify descriptors are now stored in the
17673 structures for the traced files.
17674 (main_loop_epoll): Likewise
17675 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17676 to __nss_disable_nscd.
17677 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17678 for a database anymore. Check the records for all the registered
17679 files instead.
17680 * nss/Makefile (libnss_files-routines): Add files-init.
17681 (libnss_db-routines): Add db-init.
17682 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17683 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17684 * nss/nss_db/db-init.c: New file.
17685 * nss/nss_files/files-init.c: New file.
17686 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17687 __nss_lookup_function.
17688 (__nss_lookup_function): Call nss_load_library.
17689 (nss_load_all_libraries): New function.
17690 (__nss_disable_nscd): Take parameter with callback function for files
17691 to register. Set is_nscd. Load all the DSOs for the NSS modules
17692 used for the cached services.
17693 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17694 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17695 options for features to all the files in nscd.
17696
17697 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17698
23bee3e8
RM
176992011-07-10 Roland McGrath <roland@hack.frob.com>
17700
17701 * csu/elf-init.c (__libc_csu_init): Comment typo.
17702
46a5b7f0
UD
177032011-07-09 Ulrich Drepper <drepper@gmail.com>
17704
17705 * po/pl.po: Update from translation team.
17706 * po/ja.po: Likewise.
17707 * po/ru.po: Likewise.
17708 * po/ko.po: Likewise.
17709 * po/fr.po: Likewise.
17710
d30cf5bb
RM
177112011-07-09 Roland McGrath <roland@hack.frob.com>
17712
113ddea4
RM
17713 * configure.in (.ctors/.dtors header and trailer check):
17714 Use an empirical test on a built program.
17715 * configure: Regenerated.
17716
574920b4
RM
17717 * configure.in (-z relro check): Use an empirical test on a built DSO.
17718 Detect, but do not require, on ia64.
17719 * configure: Regenerated.
17720
d30cf5bb
RM
17721 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17722 Update tests that use readelf to use $READELF instead.
17723 * configure: Regenerated.
17724
8538fdb3
UD
177252011-07-08 Ulrich Drepper <drepper@gmail.com>
17726
17727 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17728 if the result is not used.
17729
04d08991
AJ
177302011-07-05 Andreas Jaeger <aj@suse.de>
17731
17732 [BZ#9696]
17733 * stdlib/tst-strtod.c: Add testcase.
17734
de283087
AD
177352011-07-07 Ulrich Drepper <drepper@gmail.com>
17736
4e5f31c8 17737 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17738 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17739 The latter has a higher limit. Take additional parameter to pass to
17740 the new function.
17741 (__pathconf): Pass file to __statfs_link_max.
17742 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17743 __statfs_link_max.
17744 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17745 __statfs_link_max.
17746
de283087
AD
17747 [BZ #12868]
17748 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17749 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17750 Handle Lustre.
17751 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17752 (__statfs_filesize_max): Likewise.
17753 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17754
c75fa153
AJ
177552011-07-05 Andreas Jaeger <aj@suse.de>
17756
17757 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17758
1a544854
UD
177592011-07-06 Marek Polacek <mpolacek@redhat.com>
17760
17761 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17762 `status' variable.
17763 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17764 Likewise.
17765
6f0eec67
UD
177662011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17767
17768 * Makefile (strop-tests): Add strncat.
17769 * string/test-strncat.c: New file.
17770
aae30307
UD
177712011-06-30 Marek Polacek <mpolacek@redhat.com>
17772
17773 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17774
c0cfb5eb
UD
177752011-06-21 Andreas Jaeger <aj@suse.de>
17776
17777 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17778 Copy rule from iconvdata/Makefile.
17779
01636b21
UD
177802011-07-06 Ulrich Drepper <drepper@gmail.com>
17781
17782 [BZ #12922]
17783 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17784 but no long options are defined, just return 'W'.
17785
9895c8bc
UD
177862011-06-22 Marek Polacek <mpolacek@redhat.com>
17787
17788 [BZ #9696]
17789 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17790
5d4cf042
UD
177912011-07-06 Ulrich Drepper <drepper@gmail.com>
17792
17793 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17794 netgroups to read.
960e5535 17795 (innetgr): Likewise.
5d4cf042 17796
751eb97e
RM
177972011-07-05 Roland McGrath <roland@hack.frob.com>
17798
17799 * config.make.in (install_root): Default to $(DESTDIR).
17800
f15f1e45
UD
178012011-07-05 Ulrich Drepper <drepper@gmail.com>
17802
17803 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17804
4e34ac6a
RM
178052011-07-02 Roland McGrath <roland@hack.frob.com>
17806
5e9b6af4
RM
17807 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17808
84f9ea0f
RM
17809 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17810 containing directory rather than embedding absolute directory names.
17811
ea5ee9f7
RM
17812 * scripts/check-local-headers.sh: Rewritten using awk.
17813 Match by word, not by line. Print error messages for matches.
17814 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17815
1b74661a
RM
17816 * Makerules [shlib-lds-flags empty]:
17817 ($(common-objpfx)libc_pic.opts): New target.
17818 ($(common-objpfx)libc_pic.os.clean): New target.
17819 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17820
17821 * config.make.in (OBJCOPY): New variable.
17822 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17823 * configure: Regenerated.
17824
f781ef40
RM
17825 * config.make.in (use-default-link): New variable.
17826 * configure.in (use_default_link): Grok --with-default-link to set it.
17827 * configure: Regenerated.
17828 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17829 (shlib-lds, shlib-lds-flags): Define to empty.
17830
2d4fa81e
RM
17831 * Makerules (shlib-lds): New variable.
17832 (shlib-lds-flags): New variable.
17833 (build-shlib, build-moduile, build-module-asneeded): Use it.
17834 ($(common-objpfx)libc.so): Use $(shlib-lds).
17835 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17836 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17837
31fffa6b
RM
17838 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17839 DT_FLAGS/DT_FLAGS_1 with zero flags.
17840
4e34ac6a
RM
17841 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17842 linker script munging.
17843
fcfc776b
UD
178442011-07-02 Ulrich Drepper <drepper@gmail.com>
17845
17846 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17847 as 128-bit value.
17848 * crypt/sha512.c (sha512_process_block): Perform total addition using
17849 128-bit if possible.
17850 (__sha512_finish_ctx): Likewise.
17851 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17852 as 64-bit value.
17853 * crypt/sha256.c (SWAP64): Define.
17854 (sha256_process_block): Perform total addition using 64-bit if
17855 possible.
17856 (__sha256_finish_ctx): Likewise.
17857
99231d9a
UD
178582011-07-01 Ulrich Drepper <drepper@gmail.com>
17859
17860 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17861 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17862 * nscd/hstcache.c (cache_addhst): Likewise.
17863 * nscd/grpcache.c (cache_addgr): Likewise.
17864 * nscd/aicache.c (addhstaiX): Likewise
17865 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17866
445b4a53
TK
178672011-07-01 Thorsten Kukuk <kukuk@suse.de>
17868
17869 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17871 * nscd/hstcache.c (cache_addhst): Likewise.
17872 * nscd/grpcache.c (cache_addgr): Likewise.
17873 * nscd/aicache.c (addhstaiX): Likewise
17874
6d4d8e8e
AS
178752011-07-01 Andreas Schwab <schwab@redhat.com>
17876
17877 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17878 domain only when needed.
17879
89f654c5
AS
178802011-06-30 Andreas Schwab <schwab@redhat.com>
17881
17882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17883 is always restored.
17884
cf3b23ff
UD
178852011-06-29 Ulrich Drepper <drepper@gmail.com>
17886
17887 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17888 are re-adding the entry.
17889 * nscd/servicescache.c (cache_addserv): Likewise.
17890
751626f9
AJ
178912011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17892
17893 * sysdeps/generic/dl-irel.h: fix protection against multiple
17894 inclusions.
17895 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17896
9113ea1f
UD
178972011-06-28 Ulrich Drepper <drepper@gmail.com>
17898
5c0b8d90
UD
17899 [BZ #12935]
17900 * malloc/memusage.sh: Fix quoting in message.
17901 * debug/xtrace.sh: Likewise.
17902
9113ea1f
UD
17903 * configure.in: Remove support for --experimental-malloc option, make
17904 it the default.
17905 * config.make.in: Likewise.
17906 * malloc/Makefile: Likewise.
17907
a4172181
AS
179082011-06-27 Andreas Schwab <schwab@redhat.com>
17909
17910 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17911 two-byte characters.
17912
78a7eee7
RM
179132011-06-27 Roland McGrath <roland@hack.frob.com>
17914
62bede13
RM
17915 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17916 AC_CACHE_CHECK invocation.
17917 * configure: Regenerated.
17918
78a7eee7
RM
17919 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17920
5ce33a62
UD
179212011-06-27 Ulrich Drepper <drepper@gmail.com>
17922
034807a9
UD
17923 [BZ #12350]
17924 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17925 bit from old_res_options.
17926
4902da17
UD
17927 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17928
5ce33a62
UD
17929 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17930 value type for setfct.
17931
c2344f56
L
179322011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17933
17934 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17935 __gettimeofday instead of gettimeofday.
17936
68468076
UD
179372011-06-26 Ulrich Drepper <drepper@gmail.com>
17938
17939 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17940
acb0d739
L
179412011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17942
17943 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17944
17945 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17946 info.
17947
8912479f
L
179482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17949
17950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17951 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17952 strcpy-sse2-unaligned strncpy-sse2-unaligned
17953 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17954 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17955 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17956 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17957 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17958 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17959 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17960 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17961 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17962 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17963 (STRCPY): Support SSE2 and SSSE3 versions.
17964
d5495a11
UD
179652011-06-24 Ulrich Drepper <drepper@gmail.com>
17966
17967 [BZ #12874]
17968 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17969 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17970 kernels which artificially limit size of requests.
17971
0b1cbaae
L
179722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17973
17974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17975 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17976 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17977 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17978 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17979 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17980 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17981 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17982 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17983 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17984 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17985 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17986 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17987 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17988 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17990 Enable unaligned load optimization for Intel Core i3, i5 and i7
17991 processors.
17992 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17993 Define.
17994 (index_Fast_Unaligned_Load): Define.
17995 (HAS_FAST_UNALIGNED_LOAD): Define.
17996
07f494a0
MP
179972011-06-23 Marek Polacek <mpolacek@redhat.com>
17998
17999 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
18000
fa3fc0fe
UD
180012011-06-22 Ulrich Drepper <drepper@gmail.com>
18002
18003 [BZ #12907]
18004 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
18005 until it is clear that the information is realy needed.
18006 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
18007
e12df166
AS
180082011-06-22 Andreas Schwab <schwab@redhat.com>
18009
18010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
18011
852eb34d
UD
180122011-06-22 Ulrich Drepper <drepper@gmail.com>
18013
84e2a551
UD
18014 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18015 /sys/devices/system/cpu/online if it is usable.
18016
852eb34d
UD
18017 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18018 reading the information from the /proc filesystem to once a second.
18019
6e502e19
UD
180202011-06-21 Andreas Jaeger <aj@suse.de>
18021
18022 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18023 NULL after inclusion of kernel headers.
18024
75d39ff2
UD
180252011-06-21 Ulrich Drepper <drepper@gmail.com>
18026
51f9aa6a
UD
18027 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18028 calls to internal_setent.
18029
c0244a9d
UD
18030 [BZ #12885]
18031 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18032 addresses using gethostbyname4_r ignore IPv4 addresses.
18033
c5e3c2ae
UD
18034 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18035 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18036
75d39ff2
UD
18037 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18038
42675c6f
DM
180392011-06-20 David S. Miller <davem@davemloft.net>
18040
18041 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18042 inclusions.
18043 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18044
18045 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18046 (elf_irel): Use it.
18047 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18048 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18049 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18050 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18051 * sysdeps/x86_64/dl-irel.h: Likewise.
18052
18053 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18054 * elf/dl-sym.c: Likewise.
18055
57912a71
UD
180562011-06-15 Ulrich Drepper <drepper@gmail.com>
18057
18058 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18059 need to dereference resplen2.
18060
ee22793d
AS
180612011-06-14 Andreas Schwab <schwab@redhat.com>
18062
18063 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18064
a9e836b0
UD
180652011-06-15 Ulrich Drepper <drepper@gmail.com>
18066
77fb9117
UD
18067 * Makeconfig: Define vardbdir and inst_vardbdir.
18068 * nss/Makefile: Add rules to install db-Makefile.
18069
40c1b22c
UD
18070 * nss/nss_db/db-XXX.c: Cleanup.
18071
9f2da732
UD
18072 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18073 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18074 GLIBC_PRIVATE.
18075 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18076 * nss/makedb.c: Implement -g option to specify that value strings
18077 are generated and should not be added to table iterated over for
18078 get*ent calls.
18079 * nss/nss_db/db-initgroups.c: New file.
18080
82e9a1f7
UD
18081 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18082 interface.
18083
c41af17e
UD
18084 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18085 (internal_getgrouplist): Adjust to name change.
18086 Update use_initgroups_entry if this is not the first call.
18087 * nss/databases.def: Add initgroups entry.
18088
a9e836b0
UD
18089 * nss/makedb.c (compute_tables): Check result of multiple hash table
18090 sizes to minimize maximum chain length.
18091
2666d441
UD
180922011-06-14 Ulrich Drepper <drepper@gmail.com>
18093
18094 * Versions.def: Add entry for libnss_db.
18095 * shlib-versions: Likewise.
18096 * nss/Makefile: Add rules to build libnss_db.
18097 * nss/Versions: Add libnss_db information. Organize libnss_files
18098 entries better.
18099 * nss/db-Makefile: Add gshadow support. Change rules for the new
18100 makedb progra. Some minor improvements to generate smaller files.
18101 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18102 here from...
18103 * nss/makedb.c: ...here.
18104 Improve database format to be smaller and require less memory at
18105 runtime.
18106 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18107 db anymore.
18108 * nss/nss_db/db-netgrp.c: Likewise.
18109 * nss/nss_db/db-open.c: Likewise.
18110 * nss/nss_files/flies-XXX.x: Adjust comments.
18111 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18112 * nss/nss_files/files-grp.c: Likewise.
18113 * nss/nss_files/files-hosts.c: Likewise.
18114 * nss/nss_files/files-network.c: Likewise.
18115 * nss/nss_files/files-proto.c: Likewise.
18116 * nss/nss_files/files-pwd.c: Likewise.
18117 * nss/nss_files/files-rpc.c: Likewise.
18118 * nss/nss_files/files-service.c: Likewise.
18119 * nss/nss_files/files-sgrp.c: Likewise.
18120 * nss/nss_files/files-spwd.c: Likewise.
18121 * nss/nss_db/db-alias.c: Removed.
18122 * nss/nss_db/dummy-db.h: Removed.
18123
9ee76b5a
UD
181242011-06-02 Ulrich Drepper <drepper@gmail.com>
18125
18126 * nss/makedb.c: Rewritten to not use database library.
18127 * nss/Makefile: Update to build new makedb program.
18128
c71ca1f8
AJ
181292011-06-14 Andreas Jaeger <aj@suse.de>
18130
18131 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18132 memset declaration.
18133
3154bfb8
UD
181342011-06-10 Andreas Schwab <schwab@redhat.com>
18135
18136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18137 tmpbuf.
18138
b350afab
RM
181392011-06-10 Roland McGrath <roland@hack.frob.com>
18140
decd4e50
RM
18141 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18142 * elf/Makefile ($(objpfx)ld.so): Likewise.
18143
5615eaf2
RM
18144 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18145 Don't list ld.so twice in dependencies.
18146
18147 * posix/bug-regex31.c: Include <stdlib.h>.
18148
18149 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18150
18151 * nis/nss_compat/compat-spwd.c
18152 (getspent_next_nss_netgr): Remove unused variable.
18153 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18154
18155 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18156 nonmembers" output to use the right array.
18157
18158 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18159
18160 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18161
18162 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18163 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18164 * catgets/gencat.c (read_input_file): Likewise.
18165 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18166
18167 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18168 variable definition inside #if's controlling its use.
18169
18170 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18171
18172 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18173
18174 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18175
18176 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18177 unreachable code.
18178
18179 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18180
b68e08db
RM
18181 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18182 * configure: Regenerated.
18183
b350afab
RM
18184 * Makerules: Revert last change.
18185 * elf/Makefile: Likewise.
18186
28368601
RM
181872011-06-09 Roland McGrath <roland@hack.frob.com>
18188
18189 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18190 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18191 (reloc-link): Likewise.
18192
11988f8f
UD
181932011-06-09 Ulrich Drepper <drepper@gmail.com>
18194
18195 * elf/Makefile: Add rules to build pldd.
18196 * elf/pldd.c: New file.
18197 * elf/pldd-xx.c: New file.
18198
e80fab37
UD
181992011-06-07 Ulrich Drepper <drepper@gmail.com>
18200
18201 * version.h: Update for 2.15 development version.
18202
9b849836
DM
182032011-06-07 David S. Miller <davem@davemloft.net>
18204
18205 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18206 ifuncs.
18207 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18208 elf_machine_lazy_rel): Likewise.
18209 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18210 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18211 elf_machine_lazy_rel): Likewise.
18212 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18213 dl_hwcap via passed in argument.
18214 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18215 Likewise.
18216
5a31b283
AK
182172011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18218
18219 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18220
069e52f8
RM
182212011-06-06 Roland McGrath <roland@hack.frob.com>
18222
18223 [BZ #12849]
18224 * manual/fdl-1.1.texi: New file, verbatim from:
18225 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18226 * manual/lgpl-2.1.texi: New file, verbatim from:
18227 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18228 * manual/Makefile (licenses): New variable, list those new file names.
18229 (texis): Use it.
18230 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18231
18232 * manual/fdl.texi: File removed.
18233 * manual/lesser.texi: File removed.
18234 * manual/libc.texinfo (Copying, Documentation License):
18235 Use new @include file names, put @appendix directive before @include.
18236
f16846a5
JJ
182372011-06-04 Jakub Jelinek <jakub@redhat.com>
18238
18239 [BZ #12841]
18240 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18241 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18242 (mq_open): Add __NTH.
18243
3d29045b
L
182442011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18245
18246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18247 Assume Intel Core i3/i5/i7 processor if AVX is available.
18248
8c297311
UD
182492011-05-31 Ulrich Drepper <drepper@gmail.com>
18250
18251 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18252 typo.
18253
c8fc0c91
UD
182542011-05-31 Andreas Schwab <schwab@redhat.com>
18255
18256 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18257 memory. Use alloca_account. Fix memory leak when retrying.
18258
5b27a807
UD
182592011-05-31 Ulrich Drepper <drepper@gmail.com>
18260
356f8bc6
UD
18261 * version.h (RELEASE): Bump for 2.14 release.
18262 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18263
5b27a807
UD
18264 * config.make.in (RANLIB): Remove entry.
18265
01f16ab0
UD
182662011-05-30 Ulrich Drepper <drepper@gmail.com>
18267
41fce8bd
UD
18268 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18269 (libc.pot): Work around missing support for .ksh extension in xgettext.
18270
4769ae77
UD
18271 [BZ #12684]
18272 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18273 if both request failed.
18274 (send_dg): In case of server errors clear resplen or *resplen2.
18275
6b1e7d19
UD
18276 [BZ #12454]
18277 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18278 when there are multiple maps.
18279 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18280 (_dl_fini): Remove test here.
18281
01f16ab0
UD
18282 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18283
b1ebd700
UD
182842011-05-29 Ulrich Drepper <drepper@gmail.com>
18285
7ae22829
UD
18286 [BZ #12350]
18287 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18288 bit from old_res_options.
18289 (gaih_inet): Likewise.
18290
553149f6 18291 [BZ #11099]
18a84741 18292 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
18293 as signed.
18294
652ffab1
UD
18295 * resolv/res_init.c (res_setoptions): Make the code more compact.
18296
16985fd0
UD
18297 [BZ #11558]
18298 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18299 set RES_USEVC.
18300
0464f746
UD
18301 [BZ #11634]
18302 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18303
7d17596c
UD
18304 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18305
cf6bbbd7
UD
18306 [BZ #11781]
18307 * malloc/malloc.h: Declare malloc hook variables as volatile.
18308
13f1ab36
UD
18309 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18310 in last patch.
18311
b1ebd700
UD
18312 [BZ #11799]
18313 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 18314 raise in the comment.
80e2212d
UD
18315 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18316 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18317 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 18318
ce67228d
UD
183192011-05-28 Ulrich Drepper <drepper@gmail.com>
18320
8887a920
UD
18321 [BZ #12811]
18322 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18323 grow the buffers more if it already has to be sufficient.
18324 (build_wcs_upper_buffer): Likewise.
18325 * posix/regexec.c (check_matching): Likewise.
18326 (clean_state_log_if_needed): Likewise.
18327 (extend_buffers): Don't enlarge buffers beyond size of the input
18328 buffer.
18329 Patches mostly by Emil Wojak <emil@wojak.eu>.
18330 * posix/bug-regex32.c: New file.
18331 * posix/Makefile (tests): Add bug-regex32.
18332
4f031072
UD
18333 * locale/findlocale.c (_nl_find_locale): Return right away if
18334 _nl_explode_name failed.
18335 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18336
d0478f0c
UD
18337 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18338
de81b246
UD
18339 * debug/xtrace.sh: Unify messages.
18340 * malloc/memusage.sh: Likewise.
18341
c738465a
UD
18342 [BZ #12813]
18343 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18344 time symbol from vDSO. Substitute with vsyscall if not available.
18345 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18346 __vdso_time.
18347
f1f929d7
UD
18348 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18349 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18350 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18351 Add sendmmsg and internal_sendmmsg.
18352 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18353 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18354 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18355
ce67228d
UD
18356 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18357 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18358 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18359
e57420c6
UD
183602011-05-27 Ulrich Drepper <drepper@gmail.com>
18361
a8509ca5
UD
18362 [BZ #12813]
18363 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18364 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18365 available.
18366 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18367 __vdso_getcpu.
18368
e57420c6
UD
18369 [BZ #12814]
18370 * iconvdata/Makefile (tests): Add bug-iconv9.
18371 * iconvdata/bug-iconv9.c: New file.
18372
4d07db15
AS
183732011-05-27 Andreas Schwab <schwab@redhat.com>
18374
18375 [BZ #12814]
18376 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18377
ea486f69
JJ
183782011-05-25 Jakub Jelinek <jakub@redhat.com>
18379
18380 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18381 (struct user_regs_struct): Change intcs field back to cs.
18382
6f038433
UD
183832011-05-25 Ulrich Drepper <drepper@gmail.com>
18384
18385 * po/ja.po: Update from translation team.
18386
67f86a25
UD
183872011-05-23 Ulrich Drepper <drepper@gmail.com>
18388
18389 [BZ #12795]
18390 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18391 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18392
def7fbd6
AS
183932011-05-20 Andreas Schwab <schwab@redhat.com>
18394
18395 * stdlib/longlong.h: Update from GCC.
18396
f50ef8f1
AS
183972011-05-23 Andreas Schwab <schwab@redhat.com>
18398
18399 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18400 parameter name.
18401 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18402 Add parameter name.
18403 (__sysconf): Pass it down.
18404
de7ce8f1
UD
184052011-05-22 Ulrich Drepper <drepper@gmail.com>
18406
f2962a71
UD
18407 [BZ #12671]
18408 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18409 some situations.
18410 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18411 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18412 add in in __libc_use_alloca calls. Adjust callers.
18413 (glob): Use malloc in some situations.
18414
de7ce8f1
UD
18415 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18416 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18417 pltexit.
18418
aec84f53
UD
184192011-05-21 Ulrich Drepper <drepper@gmail.com>
18420
05bb4a68
UD
18421 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18422 and CLOCK_BOOTTIME_ALARM.
18423
7ea72f99
UD
18424 [BZ #12782]
18425 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18426 is returned.
18427
7e4afad5
UD
18428 * string/_strerror.c (__strerror_r): Print negative errors as signed
18429 numbers.
18430
8e211fec
UD
18431 [BZ #12777]
18432 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18433 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18434 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18435
f7d82dc9
UD
18436 * configure.in: Fix typo in redirection and correct removal of test
18437 files in two cases.
18438
cc9e536d
UD
18439 [BZ #12788]
18440 * locale/setlocale.c (new_composite_name): Fix test to check for
18441 identical name of all categories.
18442
aec84f53
UD
18443 [BZ #12792]
18444 * libio/filedoalloc.c (local_isatty): New function.
18445 (_IO_file_doallocate): Use local_isatty.
18446 * stdio-common/perror.c (perror): In case a new stream is used
18447 forward the stream error.
18448 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18449 error flag.
18450
78e64fdc
RT
184512011-05-20 Ulrich Drepper <drepper@gmail.com>
18452
34a9094f
UD
18453 [BZ #11869]
18454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18455 alloca.
18456 * include/alloca.h (extend_alloca_account): Define.
18457
78e64fdc
RT
18458 [BZ #11857]
18459 * posix/regex.h: Fix comments with documentation of user-accessible
18460 fields after compilation and describe correct free'ing of pattern
18461 after re_compile_pattern.
18462 Patch by Reuben Thomas <rrt@sc3d.org>.
18463
457bddfc
RA
184642011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18465
18466 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18467 and -mno-altivec to prevent the compiler from using Altivec and/or
18468 VSX instructions when the corresponding registers are not available.
18469
a4527b51
AS
184702011-05-19 Andreas Schwab <schwab@redhat.com>
18471
18472 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18473
ed690b2f
UD
184742011-05-19 Ulrich Drepper <drepper@gmail.com>
18475
18476 * libio/freopen.c (freopen): Use __dup2, not dup2.
18477 * libio/freopen64.c (freopen64): Likewise.
18478
8db73634
L
184792011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18480
18481 [BZ #12775]
18482 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18483 * math/Makefile (tests): Add test-powl.
18484 (CFLAGS-test-powl.c): Define.
18485 * math/test-powl.c: New file.
18486
0a197a9d
L
184872011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18488
18489 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18490
ee30c380
UD
184912011-05-17 Ulrich Drepper <drepper@gmail.com>
18492
18493 [BZ #11837]
18494 * iconvdata/gb18030.c: Update to GB18020-2005.
18495
6ce75379
UD
184962011-05-16 Ulrich Drepper <drepper@gmail.com>
18497
a4b89fd8
AR
18498 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18499 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18500 Patch by Aharon Robbins <arnold@skeeve.com>.
18501
ea389b12
UD
18502 [BZ #11892]
18503 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18504 on the stack.
18505
68a3f91f
UD
18506 [BZ #11895]
18507 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18508 through underflows.
18509
15cc7dd1
UD
18510 [BZ #12766]
18511 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18512 point to strings before performing equality test for error_one_per_line
18513 mode.
18514
f3799213
UD
18515 [BZ #11697]
18516 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18517
d79a9c94
UD
18518 [BZ #11820]
18519 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18520 (struct user_fpregs_struct): Avoid __uint*_t types.
18521
56e5eb46
UD
18522 [BZ #6420]
18523 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18524 symbol info. Use it instead of calling _dl_addr locally.
18525 (lock_and_info): New function.
18526 (tr_freehook): Call lock_and_info and pass symbol info as additional
18527 parameter to tr_where.
18528 (tr_mallochook): Likewise.
18529 (tr_reallochook): Likewise.
18530 (tr_memalignhook): Likewise.
18531
6ce75379
UD
18532 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18533 used and couldn't be at all thread-safe.
18534
f8a3b5bf
UD
185352011-05-15 Ulrich Drepper <drepper@gmail.com>
18536
94b7cc37
UD
18537 * libio/freopen.c (freopen): Don't close old file descriptor
18538 before the new one is opened. Instead dup the new file descriptor
18539 to the old one after the new stream is created.
18540 * libio/freopen64.c (freopen64): Likewise.
18541 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18542 * libio/fileops.c (_IO_new_file_close_it): Handle new
18543 _IO_FLAGS2_NOCLOSE flag.
18544 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18545 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18546 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18547 _IO_FLAGS2_NOCLOSE flag.
18548 * include/unistd.h: Add hidden_proto for dup3.
18549 Define __have_dup3.
18550 * io/dup3.c: Define hidden symbol.
18551 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18552
bd25564e
UD
18553 [BZ #7101]
18554 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18555 when an incomplete long option is used.
18556 * posix/tst-getopt_long1.c: New file.
18557 * posix/Makefile (tests): Add tst-getopt_long1.
18558
c84cfef4
UD
18559 [BZ #10138]
18560 * scripts/config.guess: Update from autoconf-2.68.
18561 * scripts/config.sub: Likewise.
18562
3b85df27
UD
18563 [BZ #10157]
18564 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18565 tests into ...
18566 (has_cpuclock): ...this. New function.
18567 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18568 macro here based on has_cpuclock code.
18569
15a856b1
UD
18570 [BZ #10149]
18571 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18572 First byte (not low byte) is now always NUL.
18573 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18574
05f399e6
UD
18575 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18576 Use non-cancelable interfaces.
18577
10a52685 18578 [BZ #9809]
94ecc67d
UD
18579 * locale/iso-639.def: Add entry for Sorani.
18580
f8a3b5bf
UD
18581 [BZ #11901]
18582 * include/stdlib.h: Move include protection to the right place.
18583 Define abort_msg_s. Declare __abort_msg with it.
18584 * stdlib/abort.c (__abort_msg): Adjust type.
18585 * assert/assert.c (__assert_fail_base): New function. Majority
18586 of code from __assert_fail. Allocate memory for __abort_msg with
18587 mmap.
18588 (__assert_fail): Now call __assert_fail_base.
18589 * assert/assert-perr.c: Remove bulk of implementation. Use
18590 __assert_fail_base.
18591 * include/assert.hL Declare __assert_fail_base.
18592 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18593 mmap.
18594 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18595
1af4e298
UD
185962011-05-14 Ulrich Drepper <drepper@gmail.com>
18597
f8a3b5bf 18598 [BZ #11952]
d26dfc60
MG
18599 [BZ #12453]
18600 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18601 until all modules are registered in the DTV.
18602 * elf/Makefile: Add rules to build and run tst-tls19.
18603 * elf/tst-tls19.c: New file.
18604 * elf/tst-tls19mod1.c: New file.
18605 * elf/tst-tls19mod2.c: New file.
18606 * elf/tst-tls19mod3.c: New file.
18607 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18608
2fc54d6f
UD
18609 [BZ #12083]
18610 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18611 correctly.
18612
98d76b46
UD
18613 [BZ #12601]
18614 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18615 two-byte sequence errors.
18616 * iconvdata/Makefile (tests): Add bug-iconv8.
18617 * iconvdata/bug-iconv8.c: New file.
18618
da3c19ef
UD
18619 [BZ #12626]
18620 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18621 buf2 definition.
18622
ca408c15
UD
18623 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18624
d6f67f7d
UD
18625 [BZ #12432]
18626 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18627 (dummy_getcfa): New function.
18628 (init): Get _Unwind_GetCFA address, use dummy if not found.
18629 (backtrace_helper): In recursion check, also check whether CFA changes.
18630 (__backtrace): Completely initialize arg.
18631
1af4e298 18632 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18633 storing incomplete byte sequence in state object. Avoid testing for
18634 guaranteed too small input if we know there is enough data available.
1af4e298 18635
da62f81b
AS
186362011-05-11 Andreas Schwab <schwab@redhat.com>
18637
18638 * Makeconfig (+link-pie): Indent.
18639 * Rules (binaries-pie): Define if $(have-fpie) and
18640 $(build-shared).
18641 (binaries-shared): Also filter out $(binaries-pie).
18642 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18643 * nscd/Makefile (others-pie): Add nscd.
18644 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18645 ($(objpfx)nscd): Remove command override.
18646 * login/Makefile (others-pie): Add pt_chown.
18647 ($(objpfx)pt_chown): Remove command override.
18648 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18649 remove command overrides.
18650
fcabc0f8
UD
186512011-05-13 Ulrich Drepper <drepper@gmail.com>
18652
20030ae6
UD
18653 * libio/tst_putwc.c: Fix error messages.
18654
fcabc0f8
UD
18655 [BZ #12724]
18656 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18657 currently writing and seek to current position when not.
18658 * libio/Makefile (tests): Add bug-fclose1.
18659 * libio/bug-fclose1.c: New file.
18660
320a5dc0
PB
186612011-05-12 Ulrich Drepper <drepper@gmail.com>
18662
18663 [BZ #12511]
18664 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18665 don't set DF_1_NODELETE here.
18666 (do_lookup_x): When entering new entry test for copy relocation
18667 and if necessary set DF_1_NODELETE flag.
18668 * elf/tst-unique4.cc: New file.
18669 * elf/tst-unique4.h: New file.
18670 * elf/tst-unique4lib.cc: New file.
18671 * elf/Makefile: Add rules to build and run tst-unique4.
18672 Patch by Piotr Bury <pbury@goahead.com>.
18673
22836f52
UD
186742011-05-11 Ulrich Drepper <drepper@gmail.com>
18675
f574184a
UD
18676 [BZ #12052]
18677 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18678
e1fb097f
UD
18679 [BZ #12625]
18680 * misc/mntent_r.c (addmntent): Flush the stream after the output
18681
22836f52
UD
18682 [BZ #12393]
18683 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18684 (is_trusted_path_normalize): Skip initial colon. Append slash
18685 to empty buffer. Duplicate is_trusted_path code but allow
18686 constructed patch to be prefix.
18687 (is_dst): Allow $ORIGIN followed by /.
18688 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18689 Correct testing of result of is_trusted_path_normalize
18690 (decompose_rpath): Fix warning.
18691
7b3b0b2a
UD
186922011-05-10 Ulrich Drepper <drepper@gmail.com>
18693
18694 [BZ #11257]
18695 * grp/initgroups.c (internal_getgrouplist): When we found the service
18696 list through the initgroups entry in nsswitch.conf do not always
18697 continue on a successful lookup. Don't always use the
eac80ce2 18698 __nss_group_database value if it is set.
7b3b0b2a
UD
18699 * nss/nsswitch.conf (initgroups): Change action for successful db
18700 lookup to continue for compatibility.
18701
2a81eaa5
UD
187022011-05-09 Ulrich Drepper <drepper@gmail.com>
18703
be97a69e
UD
18704 [BZ #11532]
18705 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18706 and CP774 modules.
18707 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18708 and CP774 modules.
18709 * iconvdata/tst-tables.sh: Likewise.
18710 * iconvdata/cp770.c: New file.
18711 * iconvdata/cp771.c: New file.
18712 * iconvdata/cp772.c: New file.
18713 * iconvdata/cp773.c: New file.
18714 * iconvdata/cp774.c: New file.
18715 * iconvdata/testdata/CP770: New file.
18716 * iconvdata/testdata/CP770..UTF8: New file.
18717 * iconvdata/testdata/CP771: New file.
18718 * iconvdata/testdata/CP771..UTF8: New file.
18719 * iconvdata/testdata/CP772: New file.
18720 * iconvdata/testdata/CP772..UTF8: New file.
18721 * iconvdata/testdata/CP773: New file.
18722 * iconvdata/testdata/CP773..UTF8: New file.
18723 * iconvdata/testdata/CP774: New file.
18724 * iconvdata/testdata/CP774..UTF8: New file.
18725
18726 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18727 END CHARMAP line.
18728 * iconvdata/gen-8bit-gap.sh: Likewise.
18729 * iconvdata/gen-8bit.sh: Likewise.
18730
c1e9e399
UD
18731 * locale/iso-639.def: Add ary entry.
18732
24c55fb3 18733 [BZ #11258]
96b4b1b0
UD
18734 * locale/C-translit.h.in: Add U20A1 transliteration.
18735
bdc2f971
KB
18736 [BZ #12178]
18737 * locale/iso-639.def: Add wae entry.
18738 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18739
2952b117
UD
18740 [BZ #12545]
18741 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18742 for n.
18743
2a81eaa5
UD
18744 [BZ #12711]
18745 * locale/C-translit.h.in: Add entry for U20B9.
18746 Patch by pravin.d.s@gmail.com.
18747
28377d1b
UD
187482011-05-08 Ulrich Drepper <drepper@gmail.com>
18749
7fb90fb8
UD
18750 [BZ #12713]
18751 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18752 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18753 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18754 in rtld. Use *stat64.
7fb90fb8 18755 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18756 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18757 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18758 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18759 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18760 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18761 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18762 __fstatat64 macros.
7fb90fb8
UD
18763 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18764 * dirent/rewinddir.c: Add libc_hidden_def.
18765 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18766 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18767
28377d1b
UD
18768 * include/dirent.h (__alloc_dir): Add flags parameter.
18769 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18770 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18771 __alloc_dir.
18772 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18773 from fdopendir if O_CLOEXEC is already set.
18774
66bdbaa4
AM
187752011-03-15 Alan Modra <amodra@gmail.com>
18776
18777 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18778 l_tls_firstbyte_offset non-zero. Save padding offset in
18779 l_tls_firstbyte_offset for later use.
18780 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18781 freeing static tls block.
18782
95721191
JN
187832011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18784
18785 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18786 where #ifdef was intended. The intent is to prevent ARG_MAX from
18787 being defined by the kernel headers.
18788
f87dfb1f
UD
187892011-05-07 Ulrich Drepper <drepper@gmail.com>
18790
18791 [BZ #12734]
18792 * resolv/resolv.h: Define RES_NOTLDQUERY.
18793 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18794 no-tld-query and set RES_NOTLDQUERY.
18795 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18796 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18797 modern BIND to search name as TLD unless forbidden.
18798
47c3cd7a
UD
187992011-05-07 Petr Baudis <pasky@suse.cz>
18800 Ulrich Drepper <drepper@gmail.com>
18801
18802 [BZ #12393]
18803 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18804 (is_trusted_path): ...to here.
c1e9ea35 18805 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18806 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18807 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18808
8a35c912
PP
188092011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18810
18811 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18812 __BEGIN/__END_DECLS.
18813
acd41f47
UD
188142011-05-06 Ulrich Drepper <drepper@gmail.com>
18815
18816 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18817 NSS_STATUS_NOTFOUND if no record was found.
18818
597df647
AS
188192011-05-05 Andreas Schwab <schwab@redhat.com>
18820
18821 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18822 (headers-not-in-tirpc): Remove rpc/netdb.h
18823 * resolv/netdb.h: Revert last change.
18824
b9af1301
PP
188252011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18826
18827 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18828 circular dependency between libgcc.a and libc.a.
18829
4e34d5f5
AS
188302011-05-05 Andreas Schwab <schwab@redhat.com>
18831
18832 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18833 * nis/Makefile: Don't install rpcsvc/*.
18834 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18835 instead of <rpc/types.h>.
18836 (MAXHOSTNAMELEN): Define.
18837
00ee369c
AS
188382011-05-03 Andreas Schwab <schwab@redhat.com>
18839
18840 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18841
0b592a30
MB
188422011-04-28 Maciej Babinski <mbabinski@google.com>
18843
18844 [BZ #12714]
18845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18846 gethostbyname4_r when IPv6 results are possible.
18847
6e04cbbe
UD
188482011-05-02 Ulrich Drepper <drepper@gmail.com>
18849
18850 [BZ #12723]
18851 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18852 _PC_PIPE_BUF handling.
18853
e4ecafe0
BH
188542011-04-30 Bruno Haible <bruno@clisp.org>
18855
18856 [BZ #12717]
18857 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18858 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18859 to 'int'.
18860 * inet/getnameinfo.c (getnameinfo): Likewise.
18861
125ee683
UD
188622011-04-29 Ulrich Drepper <drepper@gmail.com>
18863
18864 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18865 to groups setting in database lookup.
18866 * nss/nsswitch.conf: Add initgroups entry.
18867
b722481a
EB
188682011-04-22 Ulrich Drepper <drepper@gmail.com>
18869
18870 [BZ #12685]
18871 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18872 mode string.
18873 Patch by Eric Blake <eblake@redhat.com>.
18874
4df46dbd
L
188752011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18876
18877 * sunrpc/Makefile (need-export-routines): Add svc_run.
18878 (routines): Remove svc_run.
18879 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18880 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18881 * sunrpc/svc_run.c (svc_run): Likewise.
18882 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18883
e84142d2
UD
188842011-04-21 Ulrich Drepper <drepper@gmail.com>
18885
18886 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18887 problem in reallocation in last patch.
18888
877175d8
UD
188892011-04-20 Ulrich Drepper <drepper@gmail.com>
18890
18891 * sunrpc/Makefile: Move inclusion of Rules.
18892
ab8eed78
UD
188932011-04-19 Ulrich Drepper <drepper@gmail.com>
18894
18895 * nss/nss_files/files-initgroups.c: New file.
18896 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18897 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18898 _nss_files_initgroups_dyn.
18899
e3d8f584
RS
189002011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18901
18902 * elf/elf.h (R_ARM_IRELATIVE): Define.
18903
af190f45
UD
189042011-04-19 Ulrich Drepper <drepper@gmail.com>
18905
18906 * po/ru.po: Update from translation team.
18907
53cf59ef
UD
189082011-04-17 Ulrich Drepper <drepper@gmail.com>
18909
18910 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18911 dependencies.
18912
4c559bcd
MF
189132011-02-06 Mike Frysinger <vapier@gentoo.org>
18914
18915 [BZ #12653]
18916 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18917 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18918 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18919 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18920 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18921
4420675c
AS
189222011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18923
18924 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18925 differing bytes.
18926 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18927 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18928 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18929
75ea32ab
UD
189302011-04-17 Ulrich Drepper <drepper@gmail.com>
18931
18932 [BZ #12420]
18933 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18934 storing it.
18935 * stdlib/bug-getcontext.c: New file.
18936 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18937
27390476
AK
189382011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18939
18940 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18941 instructions into .machine "z9-109".
18942 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18943 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18944
10442705
AK
189452011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18946
18947 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18948 between environment variables and auxiliary vector.
18949
7b57bfe5
UD
189502011-04-16 Ulrich Drepper <drepper@gmail.com>
18951
18952 * Makefile: Add rules to build linkobj/libc.so.
18953 * include/libc-symbols.h: Define libc_hidden_nolink.
18954 * include/rpc/auth.h: Mark functions which are to be hidden.
18955 * include/rpc/auth_des.h: Likewise.
18956 * include/rpc/auth_unix.h: Likewise.
18957 * include/rpc/clnt.h: Likewise.
18958 * include/rpc/des_crypt.h: Likewise.
18959 * include/rpc/key_prot.h: Likewise.
18960 * include/rpc/pmap_clnt.h: Likewise.
18961 * include/rpc/pmap_prot.h: Likewise.
18962 * include/rpc/pmap_rmt.h: Likewise.
18963 * include/rpc/rpc_msg.h: Likewise.
18964 * include/rpc/svc.h: Likewise.
18965 * include/rpc/svc_auth.h: Likewise.
18966 * include/rpc/xdr.h: Likewise.
18967 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18968 * nss/Makefile: Likewise.
18969 * sunrpc/Makefile: Don't install headers. Build library with normal
18970 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18971 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18972 for the compat linking library. Remove use of INTDEF/INTUSE.
18973 * sunrpc/auth_none.c: Likewise.
18974 * sunrpc/auth_unix.c: Likewise.
18975 * sunrpc/authdes_prot.c: Likewise.
18976 * sunrpc/authuxprot.c: Likewise.
18977 * sunrpc/clnt_gen.c: Likewise.
18978 * sunrpc/clnt_perr.c: Likewise.
18979 * sunrpc/clnt_raw.c: Likewise.
18980 * sunrpc/clnt_simp.c: Likewise.
18981 * sunrpc/clnt_tcp.c: Likewise.
18982 * sunrpc/clnt_udp.c: Likewise.
18983 * sunrpc/clnt_unix.c: Likewise.
18984 * sunrpc/des_crypt.c: Likewise.
18985 * sunrpc/des_soft.c: Likewise.
18986 * sunrpc/get_myaddr.c: Likewise.
18987 * sunrpc/key_call.c: Likewise.
18988 * sunrpc/key_prot.c: Likewise.
18989 * sunrpc/netname.c: Likewise.
18990 * sunrpc/pm_getmaps.c: Likewise.
18991 * sunrpc/pm_getport.c: Likewise.
18992 * sunrpc/pmap_clnt.c: Likewise.
18993 * sunrpc/pmap_prot.c: Likewise.
18994 * sunrpc/pmap_prot2.c: Likewise.
18995 * sunrpc/pmap_rmt.c: Likewise.
18996 * sunrpc/publickey.c: Likewise.
18997 * sunrpc/rpc_cmsg.c: Likewise.
18998 * sunrpc/rpc_common.c: Likewise.
18999 * sunrpc/rpc_dtable.c: Likewise.
19000 * sunrpc/rpc_prot.c: Likewise.
19001 * sunrpc/rpc_thread.c: Likewise.
19002 * sunrpc/rtime.c: Likewise.
19003 * sunrpc/svc.c: Likewise.
19004 * sunrpc/svc_auth.c: Likewise.
19005 * sunrpc/svc_authux.c: Likewise.
19006 * sunrpc/svc_raw.c: Likewise.
19007 * sunrpc/svc_run.c: Likewise.
19008 * sunrpc/svc_simple.c: Likewise.
19009 * sunrpc/svc_tcp.c: Likewise.
19010 * sunrpc/svc_udp.c: Likewise.
19011 * sunrpc/svc_unix.c: Likewise.
19012 * sunrpc/svcauth_des.c: Likewise.
19013 * sunrpc/xcrypt.c: Likewise.
19014 * sunrpc/xdr.c: Likewise.
19015 * sunrpc/xdr_array.c: Likewise.
19016 * sunrpc/xdr_float.c: Likewise.
19017 * sunrpc/xdr_intXX_t.c: Likewise.
19018 * sunrpc/xdr_mem.c: Likewise.
19019 * sunrpc/xdr_rec.c: Likewise.
19020 * sunrpc/xdr_ref.c: Likewise.
19021 * sunrpc/xdr_sizeof.c: Likewise.
19022 * sunrpc/xdr_stdio.c: Likewise.
19023
e6c61494
UD
190242011-04-10 Ulrich Drepper <drepper@gmail.com>
19025
19026 [BZ #12650]
19027 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19028 * sysdeps/ia64/dl-tls.h: Likewise.
19029 * sysdeps/powerpc/dl-tls.h: Likewise.
19030 * sysdeps/s390/dl-tls.h: Likewise.
19031 * sysdeps/sh/dl-tls.h: Likewise.
19032 * sysdeps/sparc/dl-tls.h: Likewise.
19033 * sysdeps/x86_64/dl-tls.h: Likewise.
19034 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19035
34fe483e
AS
190362011-03-14 Andreas Schwab <schwab@redhat.com>
19037
19038 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19039 rpath element also skip the following colon.
19040 (expand_dynamic_string_token): Add is_path parameter and pass
19041 down to DL_DST_REQUIRED and _dl_dst_substitute.
19042 (decompose_rpath): Call expand_dynamic_string_token with
19043 non-zero is_path. Ignore empty rpaths.
19044 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19045 with zero is_path.
19046
f12a32e6
AS
190472011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19048
19049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19050 Make cancelable.
19051
38a7d692
UD
190522011-04-09 Ulrich Drepper <drepper@gmail.com>
19053
19054 [BZ #12655]
19055 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19056 Patch by Filipe David Manana <fdmanana@apache.org>.
19057
e451d22b
AS
190582011-04-07 Andreas Schwab <schwab@redhat.com>
19059
19060 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19061 Maintain aligned stack.
19062 (CHECK_RSP): Remove unused macro.
19063
dedc7c7b
UD
190642011-04-03 Ulrich Drepper <drepper@gmail.com>
19065
19066 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19067 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19068
94521213
UD
190692011-04-02 Ulrich Drepper <drepper@gmail.com>
19070
19071 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19072
8cb700c0 19073 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 19074
0354e355
L
190752011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19076
19077 [BZ #12518]
19078 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19079 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19080 * sysdeps/x86_64/memmove.c: New file.
19081 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19082 (memcpy): Renamed to ...
19083 (__new_memcpy): This.
19084 (memcpy): Provide GLIBC_2_14 memcpy.
19085 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19086 (memcpy): Provide GLIBC_2_2_5 memcpy.
19087
8593482f
UD
190882011-04-01 Ulrich Drepper <drepper@gmail.com>
19089
19090 [BZ #12631]
19091 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19092
81a5726b
AS
190932011-03-30 Andreas Schwab <schwab@redhat.com>
19094
19095 * misc/syncfs.c: New file.
19096 * misc/Makefile (routines): Add syncfs.
19097 * posix/unistd.h: Declare syncfs.
19098 * sysdeps/unix/syscalls.list: Add syncfs.
19099
00e5419f
AS
191002011-04-01 Andreas Schwab <schwab@redhat.com>
19101
19102 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19103 open_by_handle_at.
19104 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19105 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19107 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19109 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19110 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19111
748876bf
UD
191122011-04-01 Ulrich Drepper <drepper@gmail.com>
19113
658e451d
UD
19114 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19115 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19116 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19118 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19119 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19121
748876bf
UD
19122 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19123 sync_file_range.c with -fexceptions.
19124 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19125 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19126 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19127 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19128 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19129 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19130 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
19131 sync_file_range as cancellation point
19132 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19133 now a wrapper around __call_sync_file_range with cancellation handling.
19134 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19135 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19136 function name to __call_sync_file_range.
19137 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19138 Add call_sync_file_range.
748876bf 19139
6e63d5e1
AS
191402011-04-01 Andreas Schwab <schwab@redhat.com>
19141
19142 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 19143 bits/timex.h.
6e63d5e1 19144
46998f74
UD
191452011-04-01 Ulrich Drepper <drepper@gmail.com>
19146
4c1423ed
UD
19147 * iconv/iconv.h: Fix typo in comment.
19148 * io/fcntl.h: Likewise.
19149 * libio/stdio.h: Likewise.
19150 * posix/spawn.h: Likewise.
19151 * posix/unistd.h: Likewise.
19152 * stdlib/stdlib.h: Likewise.
19153 * time/time.h: Likewise.
19154 * wcsmbs/wchar.h: Likewise.
19155
158648c0
UD
19156 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19157 open_by_handle): Add.
19158 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19159 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19160 Augment a few comments.
19161 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19163 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19165 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19166 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19167 open_by_handle.
19168
46998f74
UD
19169 * io/fcntl.h (AT_EMPTY_PATH): Define.
19170
83fe108b
UD
191712011-03-30 Ulrich Drepper <drepper@gmail.com>
19172
19173 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19174 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19175 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19176 to...
19177 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
19178 * Versions.def: Add GLIBC_2.14.
19179 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19180 Export.
83fe108b 19181
bb242059
UD
191822011-03-22 Ulrich Drepper <drepper@gmail.com>
19183
19184 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19185 round counter.
19186 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19187
c97a1282
L
191882011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19189
19190 [BZ #12597]
19191 * string/test-strncmp.c (do_page_test): New function.
19192 (check2): Likewise.
19193 (test_main): Call check2.
19194 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19195
2a115601
UD
191962011-03-20 Ulrich Drepper <drepper@gmail.com>
19197
19198 [BZ #12587]
19199 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19200 Handle cache information in CPU leaf 4.
19201 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19202
8126d904
UD
192032011-03-18 Ulrich Drepper <drepper@gmail.com>
19204
042c49c6 19205 [BZ #12583]
8126d904
UD
19206 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19207 character representation.
19208 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19209
ccfe366e
RA
192102011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19211
19212 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19213 END(__isnan) to END(__isnanf) to match function entry point/label
19214 EALIGN(__isnanf,...).
19215
c6e13027
JJ
192162011-03-10 Jakub Jelinek <jakub@redhat.com>
19217
19218 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19219
33f85a3f
UD
192202011-03-10 Ulrich Drepper <drepper@gmail.com>
19221
028478fa
UD
19222 [BZ #12510]
19223 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19224 copy from the symbol referenced in the relocation to initialize the
19225 used variable.
19226 Patch by Piotr Bury <pbury@goahead.com>.
19227 * elf/Makefile: Add rules to build and tst-unique3.
19228 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19229 * elf/tst-unique3.cc: New file.
19230 * elf/tst-unique3.h: New file.
19231 * elf/tst-unique3lib.cc: New file.
19232 * elf/tst-unique3lib2.cc: New file.
19233
33f85a3f
UD
19234 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19235
03592fc7
MF
192362011-03-10 Mike Frysinger <vapier@gentoo.org>
19237
19238 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19239 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19240 to _start.
03592fc7 19241
6a5ee102
UD
192422011-03-06 Ulrich Drepper <drepper@gmail.com>
19243
19244 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19245 to-be-loaded object along a path to loader is ld.so.
19246
7e4ba49c
HJ
192472011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19248 Ulrich Drepper <drepper@gmail.com>
19249
19250 * sysdeps/x86_64/memset.S: After aligning destination, code
19251 branches to different locations depending on the value of
19252 misalignment, when multiarch is enabled. Fix this.
19253
192542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19255
19256 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19257 Set _x86_64_preferred_memory_instruction for AMD processsors.
19258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19259 Set bit_Prefer_SSE_for_memop for AMD processors.
19260
13a804de
UD
192612011-03-04 Ulrich Drepper <drepper@gmail.com>
19262
19263 * libio/fmemopen.c (fmemopen): Optimize a bit.
19264
9d25c392
AS
192652011-03-03 Andreas Schwab <schwab@redhat.com>
19266
19267 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19268
a5543c6a
RM
192692011-03-03 Roland McGrath <roland@redhat.com>
19270
19271 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19272
012d35f7
DM
192732011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19274
7e4ba49c 19275 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
19276 __bzero_ultra1 instead of __memset_ultra1.
19277
4bff6e01
AS
192782011-02-23 Andreas Schwab <schwab@redhat.com>
19279 Ulrich Drepper <drepper@gmail.com>
19280
19281 [BZ #12509]
19282 * include/link.h (struct link_map): Add l_orig_initfini.
19283 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19284 returning unsuccessfully.
19285 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19286 close of a file loaded at startup, restore the original l_initfini
19287 list.
19288 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19289 list, store the pointer.
19290 * elf/Makefile ($(objpfx)noload-mem): New rule.
19291 (noload-ENV): Define.
19292 (tests): Add $(objpfx)noload-mem.
19293 * elf/noload.c: Include <memcheck.h>.
19294 (main): Call mtrace. Close all opened handles.
19295
f2092faf
AS
192962011-02-17 Andreas Schwab <schwab@redhat.com>
19297
19298 [BZ #12454]
19299 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19300 dependencies are missing.
19301
6c8a2e88
ST
193022011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19303
f2092faf 19304 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
19305 Hurd needs munmap.
19306 * sysdeps/mach/hurd/ifreq.h: New file.
19307
84a42118
PB
193082011-01-27 Petr Baudis <pasky@suse.cz>
19309 Ulrich Drepper <drepper@gmail.com>
19310
071f805e 19311 [BZ 12445]#
84a42118
PB
19312 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19313 to extend_alloca().
19314 * stdio-common/bug23.c: New file.
19315 * stdio-common/Makefile (tests): Add bug23.
19316
e23fe25b
AS
193172010-09-28 Andreas Schwab <schwab@redhat.com>
19318 Ulrich Drepper <drepper@gmail.com>
19319
19320 [BZ #12489]
19321 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19322 before performing relro protection. At old place add assertion
19323 to make sure nothing changed.
19324
d3f02e10
NS
193252011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19326 Glauber de Oliveira Costa <glommer@gmail.com>
19327
19328 * elf/elf.h: Add new ARM TLS relocs.
19329
d55fd7a5
RA
193302011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19331
19332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19333 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19334 cast from r3.
19335 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19336 'tests' variable.
19337 * sysdeps/wordsize-64/tst-writev.c: New file.
19338
2206397e
RA
193392011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19340
19341 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19342 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19343 insns in _dl_start to prevent a TOC reference before relocs are
19344 resolved.
19345
e9433893
UD
193462011-02-15 Ulrich Drepper <drepper@gmail.com>
19347
19348 [BZ #12469]
19349 * Makeconfig: Remove RANLIB definition.
19350 * Makerules: Don't use RANLIB.
19351 * aclocal.m4: Remove ranlib test.
19352 * configure.in: No need to check for ranlib.
19353 * elf/rtld-Rules: Don't use RANLIB.
19354
f75286c6
ST
193552011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19356
8e31c82d
ST
19357 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19358 protection macro.
19359 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19360 inclusion protection macro.
19361
f75286c6
ST
19362 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19363 SIGRTMIN and SIGRTMAX and print information in that case only when
19364 SIGRTMIN is defined.
19365
c1d0e639
JJ
193662011-02-11 Jakub Jelinek <jakub@redhat.com>
19367
19368 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19369 arginfo fn returning -1.
19370
19371 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19372 and thousands string is zero terminated.
19373
edf9294e
AS
193742011-02-03 Andreas Schwab <schwab@redhat.com>
19375
19376 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19377 sysdeps/unix/sysv/linux/bits/socket.h.
19378
2b7e92df
ST
193792011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19380
edf9294e
AS
19381 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19382 (__CPU_COUNT): Remove old macros.
19383 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19384 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19385 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
19386 (__sched_cpualloc, __sched_cpufree): Add declarations.
19387
a4c7ea7b
UD
193882011-02-05 Ulrich Drepper <drepper@gmail.com>
19389
19390 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19391 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19392 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19393 (readdhstai): Return value of addhstaiX call.
19394 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19395 (addgrbyX): Return value returned by cache_addgr.
19396 (readdgrbyname): Return value returned by addgrbyX.
19397 (readdgrbygid): Likewise.
19398 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19399 (addpwbyX): Return value returned by cache_addpw.
19400 (readdpwbyname): Return value returned by addhstbyX.
19401 (readdpwbyuid): Likewise.
19402 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19403 (addservbyX): Return value returned by cache_addserv.
19404 (readdservbyname): Return value returned by addservbyX:
19405 (readdservbyport): Likewise.
19406 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19407 (addhstbyX): Return value returned by cache_addhst.
19408 (readdhstbyname): Return value returned by addhstbyX.
19409 (readdhstbyaddr): Likewise.
19410 (readdhstbynamev6): Likewise.
19411 (readdhstbyaddrv6): Likewise.
19412 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19413 (readdinitgroups): Return value returned by addinitgroupsX.
19414 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19415 (prune_cache): Keep track of timeout value of re-added entries.
19416 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19417 * nscd/nscd.h: Adjust prototypes of readd* functions.
19418
a0bf67cc
RM
194192011-02-04 Roland McGrath <roland@redhat.com>
19420
19421 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19422 (nis_stats): Likewise.
19423 * nis/nis_modify.c (nis_modify): Likewise.
19424 * nis/nis_remove.c (nis_remove): Likewise.
19425 * nis/nis_add.c (nis_add): Likewise.
19426
19427 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19428
19429 * posix/fnmatch_loop.c: Add some consts.
19430
19431 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19432
435b95eb
L
194332011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19434
19435 [BZ #12460]
19436 * config.make.in (config-cflags-novzeroupper): Define.
19437 * configure.in: Substitute libc_cv_cc_novzeroupper.
19438 * elf/Makefile (AVX-CFLAGS): Define.
19439 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19440 (CFLAGS-tst-auditmod4a.c): Likewise.
19441 (CFLAGS-tst-auditmod4b.c): Likewise.
19442 (CFLAGS-tst-auditmod6b.c): Likewise.
19443 (CFLAGS-tst-auditmod6c.c): Likewise.
19444 (CFLAGS-tst-auditmod7b.c): Likewise.
19445 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19446
8517b15e
UD
194472011-02-02 Ulrich Drepper <drepper@gmail.com>
19448
19449 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19450 function to the callback.
19451 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19452
10a656fe
AS
194532011-02-02 Andreas Schwab <schwab@redhat.com>
19454
19455 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19456 of errno.
19457
968dad0a
UD
194582011-01-19 Ulrich Drepper <drepper@gmail.com>
19459
9f94d2ea 19460 [BZ #11724]
968dad0a
UD
19461 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19462 of constructors.
19463 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19464 of destructors.
19465 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19466
19467 [BZ #11724]
19468 * elf/Makefile: Add rules to build and run new test.
19469 * elf/tst-initorder.c: New file.
19470 * elf/tst-initorder.exp: New file.
19471 * elf/tst-initordera1.c: New file.
19472 * elf/tst-initordera2.c: New file.
19473 * elf/tst-initordera3.c: New file.
19474 * elf/tst-initordera4.c: New file.
19475 * elf/tst-initorderb1.c: New file.
19476 * elf/tst-initorderb2.c: New file.
19477 * elf/tst-order-a1.c: New file.
19478 * elf/tst-order-a2.c: New file.
19479 * elf/tst-order-a3.c: New file.
19480 * elf/tst-order-a4.c: New file.
19481 * elf/tst-order-b1.c: New file.
19482 * elf/tst-order-b2.c: New file.
19483 * elf/tst-order-main.c: New file.
19484 New test case by George Gensure <werkt0@gmail.com>.
19485
86e92359
UD
194862010-10-01 Andreas Schwab <schwab@redhat.com>
19487
19488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19489 decoding ACE if AI_CANONIDN.
19490
5d5732b0
UD
194912011-01-18 Ulrich Drepper <drepper@gmail.com>
19492
19493 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19494
a77e8cbc
UD
194952011-01-17 Ulrich Drepper <drepper@gmail.com>
19496
6392473f
UD
19497 * version.h (RELEASE): Bump for 2.13 release.
19498 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19499
620a0529
UD
19500 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19501
18ba70a5
UD
19502 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19503 MADV_NOHUGEPAGE.
32465c3e
UD
19504 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19505 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19506 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19507 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19508 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19509 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19510
c0dafcf1
UD
19511 * posix/getconf.c: Update copyright year.
19512 * catgets/gencat.c: Likewise.
19513 * csu/version.c: Likewise.
19514 * debug/catchsegv.sh: Likewise.
19515 * debug/xtrace.sh: Likewise.
19516 * elf/ldconfig.c: Likewise.
19517 * elf/ldd.bash.in: Likewise.
19518 * elf/sprof.c (print_version): Likewise.
19519 * iconv/iconv_prog.c: Likewise.
19520 * iconv/iconvconfig.c: Likewise.
19521 * locale/programs/locale.c: Likewise.
19522 * locale/programs/localedef.c: Likewise.
19523 * malloc/memusage.sh: Likewise.
19524 * malloc/mtrace.pl: Likewise.
19525 * nscd/nscd.c (print_version): Likewise.
19526 * nss/getent.c: Likewise.
19527
a77e8cbc
UD
19528 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19529 PF_CAIF, and PF_ALG.
19530 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19531
77e8bddf
AS
195322011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19533
1f20b93a
AS
19534 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19535 (modules-names): Use them.
19536 (ifunc-test-modules, ifunc-pie-tests): Define.
19537 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19538 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19539 (test-extras): Likewise.
19540 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19541 $(compile-command.c).
19542 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19543 (all-built-dso): Define.
19544 (check-textrel.out, check-execstack.out): Depend on it.
19545
77e8bddf
AS
19546 * configure.in: Don't override --enable-multi-arch.
19547
bc425b33
UD
195482011-01-15 Ulrich Drepper <drepper@gmail.com>
19549
19550 [BZ #6812]
19551 * nscd/hstcache.c (tryagain): Define.
19552 (cache_addhst): Return tryagain not notfound for temporary errors.
19553 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19554 failed.
19555
794c3ad3
UD
195562011-01-14 Ulrich Drepper <drepper@gmail.com>
19557
70181fdd
UD
19558 [BZ #10563]
19559 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19560 to make the syscall.
19561 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19562
794c3ad3
UD
19563 [BZ #12378]
19564 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19565 and fall back to matching as normal character if the string ends before
19566 the matching ']' is found. This is what POSIX requires.
19567 * posix/testfnm.c: Adjust test result.
19568 * posix/globtest.sh: Adjust test result. Add new test.
19569 * posix/tst-fnmatch.input: Likewise.
19570 * posix/tst-fnmatch2.c: Add new test.
19571
68dc9497
AS
195722010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19573
19574 * elf/Makefile (check-execstack): Revert last change. Depend on
19575 check-execstack.h.
19576 (check-execstack.h): New target.
19577 (generated): Add check-execstack.h.
19578 * elf/check-execstack.c: Include "check-execstack.h".
19579 (main): Revert last change.
19580 (handle_file): Return zero if GNU_STACK is absent and
19581 DEFAULT_STACK_PERMS doesn't include PF_X.
19582
451f001b
UD
195832011-01-13 Ulrich Drepper <drepper@gmail.com>
19584
cfa28e56
UD
19585 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19586 in child fails because the descriptor is already closed.
8cf8ce17
UD
19587 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19588 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19589 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19590
1086d70d
UD
19591 [BZ #12397]
19592 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19593 syscall.
19594
451f001b
UD
19595 [BZ #10484]
19596 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19597 temporary buffer used to handle multi lookups locally.
a85b5cb4 19598 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19599
08769175
UD
196002011-01-12 Ulrich Drepper <drepper@gmail.com>
19601
19602 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19603 loader is ld.so.
19604
5e49c52e
UD
196052011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19606
19607 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19608 alignment for SSE2.
19609
60522a5f
UD
196102011-01-12 Ulrich Drepper <drepper@gmail.com>
19611
19612 [BZ #12394]
19613 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19614 characters. When rounding increased number of integer digits recompute
19615 number of groups.
19616 * stdio-common/tst-grouping.c: New file.
19617 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19618
f257bbd7
UD
196192011-01-09 Ulrich Drepper <drepper@gmail.com>
19620
19621 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19622 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19623
19624 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19625 void.
19626 * bits/select.h: Likewise.
19627
fa9c15cb
UD
196282011-01-08 Ulrich Drepper <drepper@gmail.com>
19629
19630 * po/ja.po: Update from translation team.
19631
16c2895f
DM
196322011-01-04 David S. Miller <davem@sunset.davemloft.net>
19633
19634 [BZ #11155]
19635 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19636 implementation just like for lxstat, fxstatat, et al.
19637
2543fef2
JM
196382010-12-27 Jim Meyering <meyering@redhat.com>
19639
19640 [BZ #12348]
19641 * posix/regexec.c (build_trtable): Return failure indication upon
19642 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19643
98727dbe
UD
196442010-12-25 Ulrich Drepper <drepper@gmail.com>
19645
5bd6dc5c
UD
19646 [BZ #12201]
19647 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19648 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19649 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19650 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19651
97983464
UD
19652 [BZ #12207]
19653 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19654
98727dbe
UD
19655 [BZ #12204]
19656 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19657 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19658
4a531bb0
L
196592010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19660
19661 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19662 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19663 script has SORT_BY_INIT_PRIORITY.
19664 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19665 NO_CTORS_DTORS_SECTIONS is defined.
19666 * elf/soinit.c: Likewise.
19667 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19668 NO_CTORS_DTORS_SECTIONS is defined.
19669 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19670 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19671 * sysdeps/sh/init-first.c: Likewise.
19672 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19673
07eb4b71
UD
196742010-12-24 Ulrich Drepper <drepper@gmail.com>
19675
19676 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19677 always use the slow path.
19678
30950a5f
RA
196792010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19680
19681 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19682 similar rule which adds the sysdep directories to the header search in
19683 order to pick up the correct platform stackinfo.h.
19684 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19685 perform test if it is, otherwise return successfully without testing.
19686 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19687 DEFAULT_STACK_PERMS define in stackinfo.h.
19688 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19689 defined in stackinfo.h.
19690 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19691 DEFAULT_STACK_PERMS defined in stackinfo.h.
19692 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19693 * sysdeps/ia64/stackinfo.h: Likewise.
19694 * sysdeps/s390/stackinfo.h: Likewise.
19695 * sysdeps/sh/stackinfo.h: Likewise.
19696 * sysdeps/sparc/stackinfo.h: Likewise.
19697 * sysdeps/x86_64/stackinfo.h: Likewise.
19698 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19699 PF_X for powerpc64. Retain PF_X for powerpc32.
19700
db753e2c
UD
197012010-12-19 Ulrich Drepper <drepper@gmail.com>
19702
14b697f7
UD
19703 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19704 accurately.
db753e2c
UD
19705 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19706 GETDENTS_64BIT_ALIGNED.
19707
28300719
UD
197082010-12-14 Ulrich Drepper <dreper@gmail.com>
19709
14b697f7 19710 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19711
4f197237
AS
197122010-12-10 Andreas Schwab <schwab@redhat.com>
19713
dbb0472f
AS
19714 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19715 _GNU_SOURCE.
19716
4f197237
AS
19717 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19718 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19719 Remove __restrict.
19720 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19721 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19722
fb88ac72
UD
197232010-12-09 Ulrich Drepper <drepper@gmail.com>
19724
19725 [BZ #11655]
19726 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19727 are initialized.
19728
42acbb92
JJ
197292010-12-09 Jakub Jelinek <jakub@redhat.com>
19730
19731 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19732
c038d98d
UD
197332010-12-03 Ulrich Drepper <drepper@gmail.com>
19734
19735 * po/it.po: Update from translation team.
19736
3a4a2499
L
197372010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19738
19739 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19740 unused codes.
19741
1e24cf6e
UD
197422010-11-30 Ulrich Drepper <drepper@gmail.com>
19743
19744 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19745
a7690819
AS
197462010-11-24 Andreas Schwab <schwab@redhat.com>
19747
19748 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19749 specially.
19750 (gaih_getanswer_slice): Likewise.
19751
3bf8d1b1
JJ
197522010-10-20 Jakub Jelinek <jakub@redhat.com>
19753
19754 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19755
6db52fbb
PB
197562010-05-31 Petr Baudis <pasky@suse.cz>
19757
19758 [BZ #11149]
19759 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19760 silently even in the chroot mode.
19761
eaca7569
UD
197622010-11-22 Ulrich Drepper <drepper@gmail.com>
19763
19764 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19765 last patch a bit. Pretty printing
19766
3056dcdb
UD
197672010-05-31 Petr Baudis <pasky@suse.cz>
19768
19769 [BZ #10085]
19770 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19771 initialization of skip_initgroups_dyn.
19772
cf7c9078
UD
197732010-11-19 Ulrich Drepper <drepper@gmail.com>
19774
19775 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19776 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19777
a1fb5e3e
UD
197782010-11-16 Ulrich Drepper <drepper@gmail.com>
19779
19780 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19781
3540d66b
AS
197822010-11-11 Andreas Schwab <schwab@redhat.com>
19783
19784 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19785 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19786 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19787 ($(objpfx)tst-fnmatch-mem): New rule.
19788 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19789 * posix/tst-fnmatch.c (main): Call mtrace.
19790
13b69574
L
197912010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19792
19793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19794 Support Intel processor model 6 and model 0x2c.
19795
da93d214
LM
197962010-11-10 Luis Machado <luisgpm@br.ibm.com>
19797
19798 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19799 signed comparison.
19800
8ca52c6e
L
198012010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19802
19803 [BZ #12205]
19804 * string/test-strncasecmp.c (check_result): New function.
19805 (do_one_test): Use it.
19806 (check1): New function.
19807 (test_main): Use it.
19808 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19809 Support strcasecmp and strncasecmp.
19810
69da074d
UD
198112010-11-08 Ulrich Drepper <drepper@gmail.com>
19812
19813 [BZ #12194]
19814 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19815 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19816
ff02d528
L
198172010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19818
19819 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19820 IFUNC support.
19821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19822 memset-x86-64.
19823 * sysdeps/x86_64/multiarch/bzero.S: New file.
19824 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19825 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19826 * sysdeps/x86_64/multiarch/memset.S: New file.
19827 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19829 Set bit_Prefer_SSE_for_memop for Intel processors.
19830 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19831 Define.
19832 (index_Prefer_SSE_for_memop): Define.
19833 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19834
344d0b54
LM
198352010-11-04 Luis Machado <luisgpm@br.ibm.com>
19836
19837 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19838 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19839
c0dde15b
UD
198402010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19841
19842 [BZ #12191]
19843 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19844 (__x86_64_raw_data_cache_size_half): Likewise.
19845 (__x86_64_raw_shared_cache_size): Likewise.
19846 (__x86_64_raw_shared_cache_size_half): Likewise.
19847
19848 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19849 (__x86_64_raw_data_cache_size_half): Likewise.
19850 (__x86_64_raw_shared_cache_size): Likewise.
19851 (__x86_64_raw_shared_cache_size_half): Likewise.
19852 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19853 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19854 and __x86_64_raw_shared_cache_size_half. Round
19855 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19856 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19857 to multiple of 256 bytes.
19858
0e516e0e
MS
198592010-11-03 Ulrich Drepper <drepper@gmail.com>
19860
19861 [BZ #12167]
19862 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19863 of inacessible symlinks. Verify result of symlink before returning it.
19864 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19865 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19866
0e012e87
ER
198672010-10-28 Erich Ritz <erichritz@gmail.com>
19868
19869 * math/math.h (isinf): Fix typo in comment.
19870
de0ff7bc
UD
198712010-11-01 Ulrich Drepper <drepper@gmail.com>
19872
19873 * po/da.po: Update from translation team.
19874
fa41c84d
UD
198752010-10-26 Ulrich Drepper <drepper@gmail.com>
19876
19877 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19878 is added to the list.
19879
f0967738
AK
198802010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19881 Ulrich Drepper <drepper@gmail.com>
19882
19883 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19884 the global list here. Move code to...
19885 (_dl_add_to_namespace_list): ...here. New function.
19886 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19887 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19888 * elf/dl-load.c (lose): Don't remove the element from the list.
19889 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19890 (_dl_map_object): Likewise.
19891
198922010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19893
19894 [BZ #12159]
19895 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19896 into all bytes of SSE register.
19897 Patch by Richard Li <richardpku@gmail.com>.
19898
f0967738 198992010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19900
19901 [BZ #12140]
19902 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19903 perturbing.
19904
d0b9e94f
MB
199052010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19906
19907 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19908 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19909 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19910 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19912 submachine.
19913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19914
8e9f92e9
AS
199152010-10-22 Andreas Schwab <schwab@redhat.com>
19916
19917 * include/dlfcn.h (__RTLD_SECURE): Define.
19918 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19919 mode & __RTLD_SECURE instead.
19920 (open_path): Rename preloaded parameter to secure.
19921 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19922 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19923 * elf/dl-deps.c (openaux): Likewise.
19924 * elf/rtld.c (struct map_args): Remove is_preloaded.
19925 (map_doit): Don't use it.
19926 (dl_main): Likewise.
19927 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19928 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19929
bc96fbda
AS
199302010-09-09 Andreas Schwab <schwab@redhat.com>
19931
19932 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19933 (sysd-rules-targets): Remove duplicates.
19934 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19935 rtld-%.$o dependency.
19936
22cd1c9b
AS
199372010-10-18 Andreas Schwab <schwab@redhat.com>
19938
19939 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19940 _dl_map_object do it.
19941
18edac48
UD
199422010-10-19 Ulrich Drepper <drepper@gmail.com>
19943
19944 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19945 fast fma builtins, define the macros in the C99 standard.
19946 (FP_FAST_FMAF): Likewise.
19947 (FP_FAST_FMAL): Likewise.
19948 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19949
19950 * bits/mathdef.h: Update copyright year.
19951 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19952
d2050124
MM
199532010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19954
19955 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19956 builtins, define the macros in the C99 standard.
19957 (FP_FAST_FMAF): Likewise.
19958 (FP_FAST_FMAL): Likewise.
19959 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19960 multiply/add.
19961 (FP_FAST_FMAF): Likewise.
19962
475facd1
JJ
199632010-10-15 Jakub Jelinek <jakub@redhat.com>
19964
19965 [BZ #3268]
19966 * math/libm-test.inc (fma_test): Some new testcases.
19967 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19968 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19969 y and infinite z. Do multiplication by C already in long double.
19970 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19972 y and infinite z. Do bitwise or of inexact bit into u.d.
19973 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19974 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19975 * sysdeps/i386/fpu/s_fma.S: Removed.
19976 * sysdeps/i386/fpu/s_fmal.S: Removed.
19977
7c08a05c
JJ
199782010-10-16 Jakub Jelinek <jakub@redhat.com>
19979
19980 [BZ #3268]
19981 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19982 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19983 computation is not scheduled after fetestexcept. Fix value
19984 of minimum denormal long double.
19985
f3f7372d
JJ
199862010-10-14 Jakub Jelinek <jakub@redhat.com>
19987
19988 [BZ #3268]
19989 * math/libm-test.inc (fma_test): Add some more tests.
19990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19991 correctly.
19992
14d43591
AS
199932010-10-15 Andreas Schwab <schwab@redhat.com>
19994
19995 * scripts/data/localplt-s390-linux-gnu.data: New file.
19996 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19997
5e908464
JJ
199982010-10-13 Jakub Jelinek <jakub@redhat.com>
19999
20000 [BZ #3268]
20001 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
20002 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
20003 instead of dbl-64.
20004 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
20005 inlines.
20006 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
20007 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
20008 if one of x and y is very large and the other is subnormal.
20009 * sysdeps/s390/fpu/s_fmaf.c: New file.
20010 * sysdeps/s390/fpu/s_fma.c: New file.
20011 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
20012 * sysdeps/powerpc/fpu/s_fma.S: New file.
20013 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20014 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20015 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20016
200172010-10-12 Jakub Jelinek <jakub@redhat.com>
20018
20019 [BZ #3268]
20020 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20021 fma tests.
20022 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20023 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20024 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20025 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20026 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20027 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20028 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20029
b833d51f
UD
200302010-10-12 Ulrich Drepper <drepper@redhat.com>
20031
20032 [BZ #12078]
20033 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20034 * posix/bug-regex31.input: Add test case.
20035
1751705d
UD
200362010-10-11 Ulrich Drepper <drepper@gmail.com>
20037
e9b9cbf5
UD
20038 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20039 * posix/bug-regex31.input: New file.
20040
20041 [BZ #12078]
20042 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20043 (parse_sub_exp): Fix last change, use postorder.
20044
ef06edbe
UD
20045 * posix/bug-regex31.c: New file.
20046 * posix/Makefile: Add rules to build and run bug-regex31.
20047
a129c80d
UD
20048 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20049
20050 [BZ #12078]
20051 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20052
b76b818e
UD
20053 [BZ #12108]
20054 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20055 to have entries in sys_siglist.
20056
1751705d
UD
20057 [BZ #12093]
20058 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20059 be NULL.
20060
9ff8d36f
JJ
200612010-10-07 Jakub Jelinek <jakub@redhat.com>
20062
20063 [BZ #3268]
20064 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20065 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20066 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20067 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20068 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20069 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20070 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20071 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20072 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20073 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20074 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20075 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20076 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20077 * math/ftestexcept.c (fetestexcept): Likewise.
20078 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20079 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20080 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20081 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20082 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20083 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20084 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20085
af325969
UD
200862010-10-11 Ulrich Drepper <drepper@gmail.com>
20087
c579b202 20088 [BZ #12107]
af325969
UD
20089 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20090 newline.
20091
67a67b95
UD
200922010-10-06 Ulrich Drepper <drepper@gmail.com>
20093
20094 * string/bug-strstr1.c: New file.
20095 * string/Makefile: Add rules to build and run bug-strstr1.
20096
5fb308bc
EB
200972010-10-05 Eric Blake <eblake@redhat.com>
20098
20099 [BZ #12092]
20100 * string/str-two-way.h (two_way_long_needle): Always clear memory
20101 when skipping input due to the shift table.
20102
45db99c7
UD
201032010-10-03 Ulrich Drepper <drepper@gmail.com>
20104
3b111893
UD
20105 [BZ #12005]
20106 * malloc/mcheck.c: Handle large requests.
20107
45db99c7
UD
20108 [BZ #12077]
20109 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20110 for strncmp and strncasecmp.
20111 * string/stratcliff.c: Add tests for strcmp and strncmp.
20112 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20113
cf7a1eb8
NI
201142010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20115
20116 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20117 __set_fpscr.
20118
6484ba5e
AJ
201192010-09-30 Andreas Jaeger <aj@suse.de>
20120
20121 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20122 (CGROUP_SUPER_MAGIC): Define.
20123 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20124 Handle btrfs and cgroup file systems.
20125 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20126 Likewise.
20127
91c42559
LM
201282010-09-27 Luis Machado <luisgpm@br.ibm.com>
20129
20130 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20131 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20132
87a97932
AK
201332010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20134
20135 [BZ #12067]
20136 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20137 trying to locate the ELF header.
20138
c21cc9bc
AS
201392010-09-27 Andreas Schwab <schwab@redhat.com>
20140
20141 [BZ #11611]
20142 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20143 Mask out sign-bit copies when constructing f_fsid.
20144
315970f6
PB
201452010-09-24 Petr Baudis <pasky@suse.cz>
20146
20147 * debug/stack_chk_fail_local.c: Add missing licence exception.
20148 * debug/warning-nop.c: Likewise.
20149
1ac7a2c7
JM
201502010-09-15 Joseph Myers <joseph@codesourcery.com>
20151
20152 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20153 implementing getdents64 using getdents syscall, set d_type if
20154 __ASSUME_GETDENTS32_D_TYPE.
20155
56801c50
AS
201562010-09-16 Andreas Schwab <schwab@redhat.com>
20157
20158 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20159 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20160
dda51327
UD
201612010-09-21 Ulrich Drepper <drepper@redhat.com>
20162
20163 [BZ #12037]
20164 * posix/unistd.h: Undo change of feature selection for ftruncate from
20165 2010-01-11.
20166
8ffcee4a
UD
201672010-09-20 Ulrich Drepper <drepper@redhat.com>
20168
a545ecd9 20169 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
20170 detection.
20171
e24f0a8b
AS
201722010-09-20 Andreas Schwab <schwab@redhat.com>
20173
20174 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20175 fanotify_mark.
20176 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20177
7291c56f
AS
201782010-09-14 Andreas Schwab <schwab@redhat.com>
20179
20180 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20181 variables after CHECK_SP call.
20182 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20183
bc5fb037
AS
201842010-09-13 Andreas Schwab <schwab@redhat.com>
20185 Ulrich Drepper <drepper@redhat.com>
20186
20187 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20188 re-relocationg ld.so.
20189 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20190 _dl_init_paths call.
20191 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20192 here anymore.
20193
e66e7419
UD
201942010-09-14 Ulrich Drepper <drepper@redhat.com>
20195
20196 * resolv/res_init.c (__res_vinit): Count the default server we added.
20197
c044aa75
CLT
201982010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20199 Ulrich Drepper <drepper@redhat.com>
20200
20201 [BZ #11968]
20202 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20203 (____longjmp_chk): Use %ebx for saving value across system call.
20204 Add unwind info.
20205
32cf4069
AS
202062010-09-06 Andreas Schwab <schwab@redhat.com>
20207
20208 * manual/Makefile: Don't mix pattern rules with normal rules.
20209
817328ee
AS
202102010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20211
20212 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20213 operation.
20214 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20215 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20216 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20217 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20218 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20219 Likewise.
20220
29fddf61
UD
202212010-09-04 Ulrich Drepper <drepper@redhat.com>
20222
20223 [BZ #11979]
20224 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20225 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20226
0959ffc9
UD
202272010-09-02 Ulrich Drepper <drepper@redhat.com>
20228
20229 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20230 * sysdeps/x86_64/addmul_1.S: Likewise.
20231 * sysdeps/x86_64/lshift.S: Likewise.
20232 * sysdeps/x86_64/mul_1.S: Likewise.
20233 * sysdeps/x86_64/rshift.S: Likewise.
20234 * sysdeps/x86_64/sub_n.S: Likewise.
20235 * sysdeps/x86_64/submul_1.S: Likewise.
20236
ece29840
ST
202372010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20238
0959ffc9
UD
20239 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20240 Define __sched_param instead of SCHED_* and sched_param when
ece29840 20241 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 20242 * bits/sched.h [__need_schedparam]
ece29840 20243 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
20244 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20245 (__defined_schedparam): Define to 1.
ece29840
ST
20246 (__sched_param): New structure, identical to sched_param.
20247 (__need_schedparam): Undefine.
20248
e53a31fe
MF
202492010-08-31 Mike Frysinger <vapier@gentoo.org>
20250
fdc0c10d
MF
20251 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20252 (epoll_create1): Declare.
20253
e53a31fe
MF
20254 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20255
a726d796
AS
202562010-08-31 Andreas Schwab <schwab@redhat.com>
20257
20258 [BZ #7066]
20259 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20260 shifting retval into place.
20261
2f3e3dc7
UD
202622010-09-01 Ulrich Drepper <drepper@redhat.com>
20263
f2933da9
UD
20264 * nis/rpcsvc/nis.h: Update copyright notice.
20265 * nis/rpcsvc/nis.x: Likewise.
20266 * nis/rpcsvc/nis_callback.h: Likewise.
20267 * nis/rpcsvc/nis_callback.x: Likewise.
20268 * nis/rpcsvc/nis_object.x: Likewise.
20269 * nis/rpcsvc/nis_tags.h: Likewise.
20270 * nis/rpcsvc/yp.h: Likewise.
20271 * nis/rpcsvc/yp.x: Likewise.
20272 * nis/rpcsvc/ypupd.h: Likewise.
20273 * nis/yp_xdr.c: Likewise.
20274 * nis/ypupdate_xdr.c: Likewise.
20275
2f3e3dc7
UD
20276 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20277 mainly the body of pmap_getport. Add parameters to specify timeouts.
20278 (pmap_getport): Use __libc_rpc_getport.
20279 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20280 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20281 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20282
f3dcc2f9
AS
202832010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20284
20285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20286 fanotify_mark.
20287
6d34eb5b
RM
202882010-08-27 Roland McGrath <roland@redhat.com>
20289
20290 * sysdeps/i386/i686/multiarch/Makefile
20291 (CFLAGS-varshift.c): New variable.
20292
9ea3de11
UD
202932010-08-27 Ulrich Drepper <drepper@redhat.com>
20294
c96d23fc
UD
20295 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20296 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20297
9ea3de11
UD
20298 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20299
20300 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20301
623aac7f
L
203022010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20303
20304 * sysdeps/x86_64/strlen.S: Unroll the loop.
20305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20306 strlen-sse2 strlen-sse2-bsf.
20307 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20308 __strlen_no_bsf if bit_Slow_BSF is set.
20309 (__strlen_sse42): Removed.
20310 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20311 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20312
8b2b7715
RM
203132010-08-25 Roland McGrath <roland@redhat.com>
20314
20315 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20316 * sysdeps/x86_64/multiarch/varshift.c: New file.
20317 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20318 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20319 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20320 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20321
e73015f2
L
203222010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20323
20324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20325 strlen-sse2 strlen-sse2-bsf.
20326 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20327 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20328 (__strlen_sse2): Removed.
20329 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20332 bit_Slow_BSF for Atom.
20333 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20334 (index_Slow_BSF): Define.
20335 (HAS_SLOW_BSF): Define.
20336
df24a73e
UD
203372010-08-25 Ulrich Drepper <drepper@redhat.com>
20338
20339 [BZ #10851]
20340 * resolv/res_init.c (__res_vinit): When no server address at all
20341 is given default to loopback.
20342
f2ac4868
RM
203432010-08-24 Roland McGrath <roland@redhat.com>
20344
09055553
RM
20345 * configure.in: Remove config-name.h generation.
20346 * configure: Regenerated.
20347 * config-name.in: File removed.
20348 * scripts/config-uname.sh: New file.
20349 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20350 ($(objdir)config-name.h): New target.
20351
f2ac4868
RM
20352 * sunrpc/rpc_parse.h: Avoid nested comment.
20353
73f27d5e
RH
203542010-08-24 Richard Henderson <rth@redhat.com>
20355 Ulrich Drepper <drepper@redhat.com>
20356 H.J. Lu <hongjiu.lu@intel.com>
20357
20358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20360 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20361 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20362 _mm_alignr_epi8 with _mm_loadu_si128.
20363 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20364 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20365 (__m128i_shift_right): Removed.
20366 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20367 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20368 * sysdeps/x86_64/multiarch/varshift.h: New file.
20369 * sysdeps/x86_64/multiarch/varshift.S: New file.
20370
84b9230c
MF
203712010-08-21 Mike Frysinger <vapier@gentoo.org>
20372
20373 * configure.in: Move assembler checks to before sysdep dir checking.
20374
9bbd0ddc
PB
203752010-08-20 Petr Baudis <pasky@suse.cz>
20376
20377 * LICENSES: Sync the sunrpc license.
20378
9da4bb31
UD
203792010-08-19 Ulrich Drepper <drepper@redhat.com>
20380
a7ab6ec8
UD
20381 * sunrpc/auth_des.c: Update copyright notice once again.
20382 * sunrpc/auth_none.c: Likewise.
20383 * sunrpc/auth_unix.c: Likewise.
20384 * sunrpc/authdes_prot.c: Likewise.
20385 * sunrpc/authuxprot.c: Likewise.
20386 * sunrpc/bindrsvprt.c: Likewise.
20387 * sunrpc/clnt_gen.c: Likewise.
20388 * sunrpc/clnt_perr.c: Likewise.
20389 * sunrpc/clnt_raw.c: Likewise.
20390 * sunrpc/clnt_simp.c: Likewise.
20391 * sunrpc/clnt_tcp.c: Likewise.
20392 * sunrpc/clnt_udp.c: Likewise.
20393 * sunrpc/clnt_unix.c: Likewise.
20394 * sunrpc/des_crypt.c: Likewise.
20395 * sunrpc/des_soft.c: Likewise.
20396 * sunrpc/get_myaddr.c: Likewise.
20397 * sunrpc/getrpcport.c: Likewise.
20398 * sunrpc/key_call.c: Likewise.
20399 * sunrpc/key_prot.c: Likewise.
20400 * sunrpc/openchild.c: Likewise.
20401 * sunrpc/pm_getmaps.c: Likewise.
20402 * sunrpc/pm_getport.c: Likewise.
20403 * sunrpc/pmap_clnt.c: Likewise.
20404 * sunrpc/pmap_prot.c: Likewise.
20405 * sunrpc/pmap_prot2.c: Likewise.
20406 * sunrpc/pmap_rmt.c: Likewise.
20407 * sunrpc/rpc/auth.h: Likewise.
20408 * sunrpc/rpc/auth_unix.h: Likewise.
20409 * sunrpc/rpc/clnt.h: Likewise.
20410 * sunrpc/rpc/des_crypt.h: Likewise.
20411 * sunrpc/rpc/key_prot.h: Likewise.
20412 * sunrpc/rpc/netdb.h: Likewise.
20413 * sunrpc/rpc/pmap_clnt.h: Likewise.
20414 * sunrpc/rpc/pmap_prot.h: Likewise.
20415 * sunrpc/rpc/pmap_rmt.h: Likewise.
20416 * sunrpc/rpc/rpc.h: Likewise.
20417 * sunrpc/rpc/rpc_des.h: Likewise.
20418 * sunrpc/rpc/rpc_msg.h: Likewise.
20419 * sunrpc/rpc/svc.h: Likewise.
20420 * sunrpc/rpc/svc_auth.h: Likewise.
20421 * sunrpc/rpc/types.h: Likewise.
20422 * sunrpc/rpc/xdr.h: Likewise.
20423 * sunrpc/rpc_clntout.c: Likewise.
20424 * sunrpc/rpc_cmsg.c: Likewise.
20425 * sunrpc/rpc_common.c: Likewise.
20426 * sunrpc/rpc_cout.c: Likewise.
20427 * sunrpc/rpc_dtable.c: Likewise.
20428 * sunrpc/rpc_hout.c: Likewise.
20429 * sunrpc/rpc_main.c: Likewise.
20430 * sunrpc/rpc_parse.c: Likewise.
20431 * sunrpc/rpc_parse.h: Likewise.
20432 * sunrpc/rpc_prot.c: Likewise.
20433 * sunrpc/rpc_sample.c: Likewise.
20434 * sunrpc/rpc_scan.c: Likewise.
20435 * sunrpc/rpc_scan.h: Likewise.
20436 * sunrpc/rpc_svcout.c: Likewise.
20437 * sunrpc/rpc_tblout.c: Likewise.
20438 * sunrpc/rpc_util.c: Likewise.
20439 * sunrpc/rpc_util.h: Likewise.
20440 * sunrpc/rpcinfo.c: Likewise.
20441 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20442 * sunrpc/rpcsvc/key_prot.x: Likewise.
20443 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20444 * sunrpc/rpcsvc/mount.x: Likewise.
20445 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20446 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20447 * sunrpc/rpcsvc/rex.x: Likewise.
20448 * sunrpc/rpcsvc/rstat.x: Likewise.
20449 * sunrpc/rpcsvc/rusers.x: Likewise.
20450 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20451 * sunrpc/rpcsvc/spray.x: Likewise.
20452 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20453 * sunrpc/rtime.c: Likewise.
20454 * sunrpc/svc.c: Likewise.
20455 * sunrpc/svc_auth.c: Likewise.
20456 * sunrpc/svc_authux.c: Likewise.
20457 * sunrpc/svc_raw.c: Likewise.
20458 * sunrpc/svc_run.c: Likewise.
20459 * sunrpc/svc_simple.c: Likewise.
20460 * sunrpc/svc_tcp.c: Likewise.
20461 * sunrpc/svc_udp.c: Likewise.
20462 * sunrpc/svc_unix.c: Likewise.
20463 * sunrpc/svcauth_des.c: Likewise.
20464 * sunrpc/xcrypt.c: Likewise.
20465 * sunrpc/xdr.c: Likewise.
20466 * sunrpc/xdr_array.c: Likewise.
20467 * sunrpc/xdr_float.c: Likewise.
20468 * sunrpc/xdr_mem.c: Likewise.
20469 * sunrpc/xdr_rec.c: Likewise.
20470 * sunrpc/xdr_ref.c: Likewise.
20471 * sunrpc/xdr_sizeof.c: Likewise.
20472 * sunrpc/xdr_stdio.c: Likewise.
20473
9da4bb31
UD
20474 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20475 handling.
20476
bdaa77bc
AS
204772010-08-19 Andreas Schwab <schwab@redhat.com>
20478
20479 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20480
fe2f79db
LM
204812010-08-19 Luis Machado <luisgpm@br.ibm.com>
20482
20483 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20484 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20485 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20486 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20487 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20488 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20489 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20490 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20491 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20492 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20493 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20494 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20495 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20496 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20497
b9b42ee0
AB
204982010-07-26 Anton Blanchard <anton@samba.org>
20499
20500 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20501 * malloc/arena.c (heap_trim): Likewise.
20502
1c06ba31
UD
205032010-08-16 Ulrich Drepper <drepper@redhat.com>
20504
20505 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20506 here. Not...
20507 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20508 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20509
f8392f40
L
205102010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20511
20512 * sysdeps/i386/elf/Makefile: New file.
20513
3162f12e
AS
205142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20515
20516 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20517 from fanotify_init.
20518 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20519 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20520
28c90b2c
UD
205212010-08-15 Ulrich Drepper <drepper@redhat.com>
20522
20523 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20524 of strncasecmp_l.
1feccb6c 20525 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20526
ca6bb004
UD
205272010-08-14 Ulrich Drepper <drepper@redhat.com>
20528
e9f82e0d
UD
20529 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20530 strncase_l-nonascii.
20531 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20532 Add strncase_l-ssse3.
20533 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20534 * sysdeps/x86_64/strcmp.S: Likewise.
20535 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20536 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20537 * sysdeps/x86_64/strncase.S: New file.
20538 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20539 * sysdeps/x86_64/strncase_l.S: New file.
20540 * string/Makefile (strop-tests): Add strncasecmp.
20541 * string/test-strncasecmp.c: New file.
20542
20543 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20544 warning.
20545
ca6bb004
UD
20546 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20547 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20548
052fa7b3
AS
205492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20550
20551 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20552
962dba78
UD
205532010-08-12 Ulrich Drepper <drepper@redhat.com>
20554
20555 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20556 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20557 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20558
bebff237
AM
205592010-05-01 Alan Modra <amodra@gmail.com>
20560
20561 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20562 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20563 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20564 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20565 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20566 tidying. Don't tail-call __sigjmp_save for static lib.
20567 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20568 save location.
20569 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20570 (CALL_MCOUNT): Add eh info, and nop after bl.
20571 (TAIL_CALL_SYSCALL_ERROR): New macro.
20572 (PSEUDO_RET): Use it.
20573 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20574 Correct save location of integer regs and cr.
20575 (_dl_profile_resolve): Correct cr save location. Delete nops
20576 after bl when SHARED. Reduce cfi size a little by better
20577 placement of cfi directives.
20578 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20579 make a stack frame. Instead use parm save area as a temp.
20580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20581 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20583 Don't make a stack frame for parent, use parm save area.
20584 Increase child stack frame to 112 bytes. Don't save unused reg,
20585 and adjust reg usage. Set up cfi on error recovery and
20586 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20588 (__makecontext): Add dummy nop after jump to exit.
20589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20590 Use correct parm save area and cr save, reduce stack frame.
20591 Correct cfi for possible PSEUDO_RET frame setup.
20592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20593 Branch to local label emitted by PSEUDO_RET rather than
20594 __syscall_error.
20595
02637374
AS
205962010-08-12 Andreas Schwab <schwab@redhat.com>
20597
20598 [BZ #11904]
20599 * locale/programs/locale.c (print_assignment): New function.
20600 (show_locale_vars): Use it.
20601
c3e2f19b
UD
206022010-08-11 Ulrich Drepper <drepper@redhat.com>
20603
3cdaa6ad
UD
20604 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20605 field.
20606 (struct statfs64): Likewise.
20607 (_STATFS_F_FLAGS): Define.
20608 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20609 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20610 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20611 (ST_VALID): Define locally.
20612 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20613 __statvfs_getflags, use the provided value.
20614 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20615 __ASSUME_STATFS_F_FLAGS.
20616
754f7da3
UD
20617 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20618
10b3bedc
UD
20619 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20620 Add sys/fanotify.h.
20621 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20622 fanotify_mask for GLIBC_2.13.
20623 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20624 fanotify_init and fanotify_mark.
20625 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20626 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20627
c08fb0d7
UD
20628 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20629 Add prlimit.
20630 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20631 prlimit64 for GLIBC_2.13.
20632 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20633 prlimit64.
20634 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20635 syscall.
20636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20637 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20638 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20639 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20640 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20641 add prlimit alias.
20642 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20643
15bac72b
UD
20644 [BZ #11903]
20645 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20646 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20647
c3e2f19b
UD
20648 * nss/Makefile: Add rules to build and run tst-nss-test1.
20649 * shlib-versions: Add entry for libnss_test1.
20650 * nss/nss_test1.c: New file.
20651 * nss/tst-nss-test1.c: New file.
20652
20653 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20654 (__nss_configure_lookup): Set appropriate entry in
20655 __nss_configure_lookup to true.
20656 * nss/nsswitch.h: Define enum with indeces of databases in
20657 databases and __nss_database_custom arrays. Declare
20658 __nss_database_custom.
20659 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20660 to avoid using nscd when custom rules are installed.
20661 * nss/getXXbyYY_r.c: Likewise.
20662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20663
20664 * nss/nss_files/files-parse.c: Whitespace fixes.
20665
f15ce4d8
UD
206662010-08-09 Ulrich Drepper <drepper@redhat.com>
20667
20668 [BZ #11883]
20669 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20670 * posix/fnmatch_loop.c: Likewise.
20671
d22e4cc9
AK
206722010-07-17 Andi Kleen <ak@linux.intel.com>
20673
20674 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20675 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20676 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20677 * Versions.def [GLIBC_2.13]: Add.
20678
805bc17d
UD
206792010-08-06 Ulrich Drepper <drepper@redhat.com>
20680
20681 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20682 Also fail if tpwd after pwuid call is NULL.
20683
5a42321d
ST
206842010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20685
20686 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20687 when converting to ms.
20688
fd3ebeda
ST
206892010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20690
20691 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20692 EOPNOTSUPP errors with ENOTTY.
20693 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20694 EOPNOTSUPP errors with ENOTTY.
20695
73507d3a
UD
206962010-07-31 Ulrich Drepper <drepper@redhat.com>
20697
20698 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20699 Add strcasecmp_l-ssse3.
20700 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20701 strcasecmp.
20702 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20703 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20704 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20705
fe36dd02
UD
207062010-07-30 Ulrich Drepper <drepper@redhat.com>
20707
66f6765a
UD
20708 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20709
42e08a54
UD
20710 * string/Makefile (strop-tests): Add strcasecmp.
20711 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20712 strcasecmp_l-nonascii.
20713 (gen-as-const-headers): Add locale-defines.sym.
20714 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20715 * sysdeps/x86_64/strcasecmp.S: New file.
20716 * sysdeps/x86_64/strcasecmp_l.S: New file.
20717 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20718 * sysdeps/x86_64/locale-defines.sym: New file.
20719 * string/test-strcasecmp.c: New file.
20720
fe36dd02
UD
20721 * string/test-strcasestr.c: Test both ends of the range of characters.
20722 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20723
48cbc0d6
RM
207242010-07-29 Roland McGrath <roland@redhat.com>
20725
76e6d6bc 20726 [BZ #11856]
48cbc0d6
RM
20727 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20728
880113d9
UD
207292010-07-27 Ulrich Drepper <drepper@redhat.com>
20730
20731 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20732 for ld.so.
20733
deb9cabb
AS
207342010-07-27 Andreas Schwab <schwab@redhat.com>
20735
20736 * manual/memory.texi (Malloc Tunable Parameters): Document
20737 M_PERTURB.
20738
1c7570ff
RM
207392010-07-26 Roland McGrath <roland@redhat.com>
20740
20741 [BZ #11840]
20742 * configure.in (-fgnu89-inline check): Set and substitute
20743 gnu89_inline, not libc_cv_gnu89_inline.
20744 * configure: Regenerated.
20745 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20746
24fb0f88
UD
207472010-07-26 Ulrich Drepper <drepper@redhat.com>
20748
20749 * string/test-strnlen.c: New file.
20750 * string/Makefile (strop-tests): Add strnlen.
20751 * string/tester.c (test_strnlen): Add a few more test cases.
20752 * string/tst-strlen.c: Better error reporting.
20753
20754 * sysdeps/x86_64/strnlen.S: New file.
20755
8e96b93a
UD
207562010-07-24 Ulrich Drepper <drepper@redhat.com>
20757
20758 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20759 lower-latency instructions.
20760
dbc676d4
UD
207612010-07-23 Ulrich Drepper <drepper@redhat.com>
20762
20763 * string/test-strcasestr.c: New file.
20764 * string/test-strstr.c: New file.
20765 * string/Makefile (strop-tests): Add strstr and strcasestr.
20766 * string/str-two-way.h: Don't undefine MAX.
20767 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20768
f6a31e0e
AS
207692010-07-21 Andreas Schwab <schwab@redhat.com>
20770
20771 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20772 strcasestr-nonascii.
20773 (CFLAGS-strcasestr-nonascii.c): Define.
20774 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20775 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20776 Remove unused attribute.
20777
5dbc3b6c
RM
207782010-07-20 Roland McGrath <roland@redhat.com>
20779
20780 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20781 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20782 ld.so.cache was broken. With it, there is no way to disable dsocaps
20783 like LD_HWCAP_MASK can disable hwcaps.
20784
23d101d8
EPM
207852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20786
20787 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20788
cc9f2e47
UD
207892010-07-16 Ulrich Drepper <drepper@redhat.com>
20790
20791 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20792 call in strcasestr.
20793 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20794 __strcasestr_sse42_nonascii.
20795 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20796 strcasestr-nonascii.c.
20797 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20798
77c1b069
LM
207992010-06-15 Luis Machado <luisgpm@br.ibm.com>
20800
20801 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20802 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20803 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20804 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20805
440566c3
UD
208062010-07-09 Ulrich Drepper <drepper@redhat.com>
20807
20808 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20809 fcntl.
20810
5be9d05d
AS
208112010-07-06 Andreas Schwab <schwab@redhat.com>
20812
c30b7ee2 20813 [BZ #11577]
5be9d05d
AS
20814 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20815 dl_signal_cerror.
20816
8a492a67
UD
208172010-07-06 Ulrich Drepper <drepper@redhat.com>
20818
20819 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20820 _PC_PIPE_BUF using F_GETPIPE_SZ.
20821
713df3d5
RM
208222010-07-05 Roland McGrath <roland@redhat.com>
20823
20824 * manual/arith.texi (Rounding Functions): Fix rint description
20825 implicit in round description.
20826
702e8f14
UD
208272010-07-02 Ulrich Drepper <drepper@redhat.com>
20828
20829 * elf/Makefile: Fix linking for a few tests to make recent linker
20830 happy.
20831
52ed8be9
AS
208322010-06-30 Andreas Schwab <schwab@redhat.com>
20833
20834 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20835 $(common-objpfx)libc_nonshared.a.
20836
f47c9a11
LM
208372010-06-21 Luis Machado <luisgpm@br.ibm.com>
20838
20839 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20840 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20841 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20842 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20843 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20844 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20845 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20846 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20861 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20862 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20863 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20864 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20865 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20866 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20867 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20868 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20869 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20870 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20871 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20872 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20887
6fb8cbcb
L
208882010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20889
20890 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20891 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20892 * string/memmove.c (memmove): Renamed to ...
20893 (MEMMOVE): ...this. Default to memmove.
20894 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20895 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20896 (END_CHK): Define.
20897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20898 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20899 mempcpy-ssse3-back memmove-ssse3-back.
20900 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20901 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20902 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20903 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20904 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20905 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20906 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20907 * sysdeps/x86_64/multiarch/memmove.c: New file.
20908 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20909 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20910 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20911 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20912 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20913 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20914 Define.
20915 (index_Fast_Copy_Backward): Define.
20916 (HAS_ARCH_FEATURE): Define.
20917 (HAS_FAST_REP_STRING): Define.
20918 (HAS_FAST_COPY_BACKWARD): Define.
20919
4e733bac 209202010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20921
20922 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20923 Restore proper fallback handling.
20924
63c4ed22
UD
209252010-06-19 Ulrich Drepper <drepper@redhat.com>
20926
ac2b484c
UD
20927 [BZ #11701]
20928 * posix/group_member.c (__group_member): Correct checking loop.
20929
63c4ed22
UD
20930 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20931 OOM in getpwuid_r correctly. Return error number when the caller
20932 should return, otherwise -1.
20933 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20934 call returning > 0 value.
20935 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20936
765ade4b
AS
209372010-06-07 Andreas Schwab <schwab@redhat.com>
20938
20939 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20940 libc_nonshared.a from targets in modules-names.
20941
80da2e09
KS
209422010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20943
20944 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20945 requires it.
20946
158db122
LM
209472010-06-10 Luis Machado <luisgpm@br.ibm.com>
20948
20949 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20950 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20951 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20952 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20953
caa78cf8
AS
209542010-06-02 Andreas Schwab <schwab@redhat.com>
20955
20956 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20957
b2ef2c01
UD
209582010-06-14 Ulrich Drepper <drepper@redhat.com>
20959
20960 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20961 and F_GETPIPE_SZ.
20962 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20963 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20964 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20966 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20967 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20968
fbd643b6
RM
209692010-06-14 Roland McGrath <roland@redhat.com>
20970
20971 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20972
f32f2869
JJ
209732010-06-07 Jakub Jelinek <jakub@redhat.com>
20974
20975 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20976 __REDIRECT followed by __THROW.
20977 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20978 * posix/getopt.h (getopt): Likewise.
20979
2a50c078
EPM
209802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20981
20982 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20983 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20984 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20985 in AT_FLAGS.
20986 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20987 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20988
eb5ad2eb
LM
209892010-05-28 Luis Machado <luisgpm@br.ibm.com>
20990
20991 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20992
3c88fe1e
L
209932010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20994
20995 [BZ #11640]
20996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20997 Properly check family and model.
20998
d2f73151
TY
209992010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
21000
21001 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
21002
ebd2e13d
LM
210032010-05-24 Luis Machado <luisgpm@br.ibm.com>
21004
21005 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
21006
b32b8b45
UD
210072010-05-21 Ulrich Drepper <drepper@redhat.com>
21008
21009 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
21010 symbol reference.
21011
9acbe24d
AS
210122010-05-19 Andreas Schwab <schwab@redhat.com>
21013
21014 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21015 symbol reference.
21016
f0ccf6ea
AS
210172010-05-21 Andreas Schwab <schwab@redhat.com>
21018
3d04ff3a
AS
21019 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21020 and internal_recvmmsg.
21021 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21022 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21023 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21024 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21025
f0ccf6ea
AS
21026 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21027 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21028 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21029
5b08ac57
AS
210302010-05-20 Andreas Schwab <schwab@redhat.com>
21031
21032 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21033
4828935d
LM
210342010-05-17 Luis Machado <luisgpm@br.ibm.com>
21035
21036 POWER7 optimizations.
21037 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21038 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21039
373d545e
UD
210402010-05-19 Ulrich Drepper <drepper@redhat.com>
21041
21042 * version.h: Update for 2.13 development version.
21043
21a2b1ae
AS
210442010-05-12 Andrew Stubbs <ams@codesourcery.com>
21045
21046 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21047 exceptions. Return 0.
21048
3f7dcb2b
RM
210492010-05-07 Roland McGrath <roland@redhat.com>
21050
21051 * elf/ldconfig.c (main): Add a const.
21052
5f24d53a 210532010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 21054
a160f8d8
UD
21055 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21056 (args_options): Add no-idn option.
21057 (ahosts_keys_int): Add idn_flags to ai_flags.
21058 (parse_option): Handle 'i' option to clear idn_flags.
21059
5f24d53a
UD
21060 * malloc/malloc.c (_int_free): Possible race in the most recently
21061 added check. Only act on the data if no current modification
21062 happened.
265bb1ce
UD
21063
21064See ChangeLog.17 for earlier changes.