]> sourceware.org Git - glibc.git/blame - ChangeLog
Suppress incorrect link warnings for NSS symbols
[glibc.git] / ChangeLog
CommitLineData
01767843
CM
12012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2
3 * nss/nsswitch.h (nss_interface_function): Provide new
4 macro for use with NSS functions.
5 * grp/initgroups.c: Use new macro.
6 * nss/getXXbyYY.c: Likewise.
7 * nss/getXXbyYY_r.c: Likewise.
8 * nss/getXXent.c: Likewise.
9 * nss/getXXent_r.c: Likewise.
10 * sysdeps/posix/getaddrinfo.c: Likewise.
11
8321aa97
AJ
122012-10-30 Andreas Jaeger <aj@suse.de>
13
14 * po/ru.po: Update Russion translation from translation project.
15
2a27fd6d
JM
162012-10-30 Joseph Myers <joseph@codesourcery.com>
17
8627a232
JM
18 [BZ #14152]
19 [BZ #14783]
20 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21 result and shift together with sticky bit instead of replicating
22 round-to-nearest rounding.
23 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26 missing underflow exceptions.
27 (fma_test_towardzero): Add more tests.
28 (fma_test_downward): Likewise.
29 (fma_test_upward): Likewise.
30
2a27fd6d
JM
31 [BZ #14047]
32 * sysdeps/generic/tininess.h: New file.
33 * sysdeps/i386/tininess.h: Likewise.
34 * sysdeps/sh/tininess.h: Likewise.
35 * sysdeps/x86_64/tininess.h: Likewise.
36 * stdlib/tst-strtod-underflow.c: Likewise.
37 * stdlib/tst-tininess.c: Likewise.
38 * stdlib/strtod_l.c: Include <tininess.h>.
39 (round_and_return): Do not set errno for exact underflow cases.
40 Force an underflow exception when setting errno for underflow.
41 Determine underflow based on rounding to normal precision if
42 TININESS_AFTER_ROUNDING.
43 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44 ERANGE for exact underflow cases.
45 * stdlib/Makefile (tests): Add tst-tininess and
46 tst-strtod-underflow.
47 ($(objpfx)tst-tininess): Use $(link-libm).
48 ($(objpfx)tst-strtod-underflow): Likewise.
49
e7170363
AJ
502012-10-30 Andreas Jaeger <aj@suse.de>
51
e5088dc6
AJ
52 [BZ#14767]
53 * elf/Makefile (tests): Remove conditional for have-initfini-array
54 since this is now always required and the variable does not exist
55 anymore.
56 (tests-static): Likewise.
57 (modules-names): Likewise.
58
e7170363 59 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
60
61 * elf/tst-array1.c (fini_array): Make writeable so that it can be
62 merged with constructor/destructor.
63 (init_array): Likewise.
64 * elf/tst-array2dep.c (fini_array): Likewise.
65 (init_array): Likewise.
66
60457d8a
MF
672012-10-29 Mike Frysinger <vapier@gentoo.org>
68
69 * manual/message.texi: Delete @cartouche tags.
70
8bece752
PT
712012-10-29 Pino Toscano <toscano.pino@tiscali.it>
72
94ce799f
PT
73 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
74 EOPNOTSUPP.
75 * sysdeps/mach/hurd/fsync.c: Likewise.
76
8bece752
PT
77 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
78 [_POSIX_REALTIME_SIGNALS]: Change condition to
79 [_POSIX_REALTIME_SIGNALS > 0].
80
86ebe6b1
AJ
812012-10-27 Andreas Jaeger <aj@suse.de>
82
83 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
84 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
85 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
86 [__WORDSIZE != 64]: Likewise.
87
54399c08
L
882012-10-26 H.J. Lu <hongjiu.lu@intel.com>
89
90 * iconvdata/tst-table.sh: Remove ${SHELL}.
91 * iconvdata/tst-tables.sh: Likewise.
92
e2211bed
DM
932012-10-25 David S. Miller <davem@davemloft.net>
94
95 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
96 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
97 of strtoull.
98
f303f97c
DM
99 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
100 ifunc-impl-list.c
101 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
102 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
103 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
104 file.
105
1e9d84cd
RM
1062012-10-25 Roland McGrath <roland@hack.frob.com>
107
108 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
109 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
110 __getdirentries.
111
df381762
JM
1122012-10-25 Joseph Myers <joseph@codesourcery.com>
113 Jim Blandy <jimb@codesourcery.com>
114
115 * scripts/cross-test-ssh.sh: New file.
116 * manual/install.texi (Configuring and compiling): Document use of
117 cross-test-ssh.sh.
118 * INSTALL: Regenerated.
119
bff64913
PT
1202012-10-25 Pino Toscano <toscano.pino@tiscali.it>
121
122 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
123 EOPNOTSUPP.
124
25fe8932
JM
1252012-10-25 Joseph Myers <joseph@codesourcery.com>
126
127 * Makeconfig (run-program-prefix): Fix comment.
128
cc1290d0
JM
1292012-10-24 Joseph Myers <joseph@codesourcery.com>
130 Jim Blandy <jimb@codesourcery.com>
131
132 * Makeconfig (test-wrapper): New variable,
133 (test-wrapper-env): Likewise.
134 [$(cross-compiling) = yes && $(test-wrapper) != ""]
135 (run-built-tests): Define to yes.
136 (run-program-prefix): Use $(test-wrapper).
137 (built-program-cmd): Likewise.
138 * Rules (make-test-out): Use $(test-wrapper-env) and
139 $(host-built-program-cmd).
140 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
141 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
142 tst-pathopt.sh.
143 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
144 $(test-wrapper-env) to tst-rtld-load-self.sh.
145 ($(objpfx)order2.out): Use $(test-wrapper).
146 ($(objpfx)tst-initorder.out): Likewise.
147 ($(objpfx)tst-initorder2.out): Likewise.
148 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
149 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
150 (test_wrapper_env): New variable. Use it to run ld.so.
151 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
152 Use it to run ld.so.
153 (test_wrapper_env): Likewise.
154 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
155 $(test-wrapper) to run-iconv-test.sh.
156 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
157 (ICONV): Use $test_wrapper.
158 * posix/Makefile ($(objpfx)globtest.out): Pass
159 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
160 globtest.sh, not $(run-program-prefix).
161 * posix/globtest.sh (run_via_rtld_prefix): New variable.
162 (test_wrapper): Likewise.
163 (test_wrapper_env): Likewise. Use it to run globtest with HOME
164 set together with run_via_rtld_prefix.
165 (run_program_prefix): Define in terms of test_wrapper and
166 run_via_rtld_prefix.
167
6e6249d0
RM
1682012-10-24 Roland McGrath <roland@hack.frob.com>
169
170 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
171 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
172 Targets removed.
173
174 [BZ #14743]
175 * include/time.h: Remove librt_hidden_proto (clock_gettime).
176 Declare __clock_getres, __clock_gettime, __clock_settime,
177 __clock_nanosleep, and __clock_getcpuclockid.
178 * rt/clock_gettime.c: Define __clock_gettime as an alias.
179 Remove librt_hidden_def (clock_gettime).
180 * sysdeps/unix/clock_gettime.c: Likewise.
181 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
182 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
183 * rt/clock_getres.c: Define __clock_getres as an alias.
184 * sysdeps/posix/clock_getres.c: Likewise.
185 * rt/clock_settime.c: Define __clock_settime as an alias.
186 * sysdeps/unix/clock_settime.c: Likewise.
187 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
188 * sysdeps/unix/clock_nanosleep.c: Likewise.
189 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
190 * rt/clock-compat.c: New file.
191 * rt/Makefile (librt-routines): Add clock-compat and move
192 $(clock-routines) to ...
193 (routines): ... here, new variable.
194 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
195 Don't add get_clockfreq here.
196 * rt/Versions (libc: GLIBC_2.17): New version set.
197 Add clock_* symbols here.
198 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
199 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
200 (GLIBC_2.17): Add clock_* symbols.
201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
203 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
205 Likewise.
206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
207 Likewise.
208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
212 * NEWS: Mention the move.
213
214 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
215 Use __open, __read, __close rather than their public counterparts.
216 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
217 (__get_clockfreq_via_cpuinfo): Likewise.
218 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
219 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
220
221 * config.h.in (HAVE_IFUNC): New #undef.
222 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
223 was successful.
224 * configure: Regenerated.
225
0cae3f4b
MF
2262012-10-24 Mike Frysinger <vapier@gentoo.org>
227
228 * configure.in: Move READELF check to start of file.
229 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
230 libc_cv_asm_gnu_indirect_function in the process.
231 * configure: Regenerated.
232
8175a253
MF
2332012-10-24 Mike Frysinger <vapier@gentoo.org>
234
235 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
236 send the output to /dev/null.
237 (libc_cv_cc_with_libunwind): Likewise.
238 (libc_cv_as_noexecstack): Likewise.
239 * configure: Regenerate.
240
0708a7d1
JM
2412012-10-24 Joseph Myers <joseph@codesourcery.com>
242
10b40d85
JM
243 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
244
0708a7d1
JM
245 * posix/globtest.sh (TMPDIR): Do not set.
246 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
247 (testout): Likewise.
248
9fddec1a
AJ
2492012-10-24 Andreas Jaeger <aj@suse.de>
250
3a8db22f
AJ
251 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
252 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
253 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
254 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
255 posix_fadvise64, posix_fallocate64.
256
9fddec1a
AJ
257 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
258 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
259 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
260 Likewise.
261 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
262 Likewise.
263 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
264
265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
266 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
267 <bits/fcntl-linux.h>.
268 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
269
270 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
271 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
272 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
273 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
274 [__WORDSIZE != 64]: Likewise.
275
ebfd1bbd
JM
2762012-10-23 Joseph Myers <joseph@codesourcery.com>
277
03ac099f
JM
278 * Makeconfig (run-built-tests): New variable.
279 * Rules [$(cross-compiling) = yes]: Change condition to
280 [$(run-built-tests) = no].
281 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
282 to [$(run-built-tests) = yes].
283 * elf/Makefile [$(cross-compiling) = no]: Likewise
284 * grp/Makefile [$(cross-compiling) = no]: Likewise.
285 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
286 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
287 * intl/Makefile [$(cross-compiling) = no]: Likewise.
288 * io/Makefile [$(cross-compiling) = no]: Likewise.
289 * libio/Makefile [$(cross-compiling) = no]: Likewise.
290 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
291 * misc/Makefile [$(cross-compiling) = no]: Likewise.
292 * posix/Makefile [$(cross-compiling) = no]: Likewise.
293 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
294 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
295 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
296 * string/Makefile [$(cross-compiling) = no]: Likewise.
297
ebfd1bbd
JM
298 * posix/Makefile ($(objpfx)globtest.out): Pass
299 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
300 $(rtld-installed-name).
301 * posix/globtest.sh (elf_objpfx): Remove variable.
302 (rtld_installed_name): Likewise.
303 (library_path): Likewise.
304 (run_program_prefix): New variable. Use for running globtest
305 binary.
306
166bca24
JB
3072012-10-23 Jim Blandy <jimb@codesourcery.com>
308 Joseph Myers <joseph@codesourcery.com>
309
310 * Makeconfig (host-built-program-cmd): New variable.
311 * elf/Makefile (tst-stackguard1-ARGS): Use
312 $(host-built-program-cmd).
313 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
314 (tst-spawn-ARGS): Likewise.
315 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
316
88866099
JM
3172012-10-23 Joseph Myers <joseph@codesourcery.com>
318 Jim Blandy <jimb@codesourcery.com>
319
320 * Makeconfig (run-via-rtld-prefix): New variable.
321 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
322 (built-program-cmd): Likewise.
323
b4b4c296
AJ
3242012-10-22 Andreas Jaeger <aj@suse.de>
325
326 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
327 __O_RSYNC if it exists, otherwise to O_SYNC.
328
6fb54a22
JB
3292012-10-22 Jim Blandy <jimb@codesourcery.com>
330 Joseph Myers <joseph@codesourcery.com>
331
332 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
333 /dev/null.
334 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
335 from /dev/null
336 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
337 /dev/null.
338
481b90b9
AJ
3392012-10-22 Andreas Jaeger <aj@suse.de>
340
2a0e2669
AJ
341 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
342 Define always.
343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
344
76e38f9a
AJ
345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
346 bits/fcntl-linux.h.
347
7cd37b43
AJ
348 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
349 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
350
481b90b9
AJ
351 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
352 to __O_LARGEFILE.
353 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
354 to __O_LARGEFILE.
355
aba75984
JB
3562012-10-21 Jim Blandy <jimb@codesourcery.com>
357 Joseph Myers <joseph@codesourcery.com>
358
359 * config.make.in (NM): New variable.
360
88d4247f
AJ
3612012-10-21 Andreas Jaeger <aj@suse.de>
362
363 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
364 definitions and declarations that are provided by
365 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
366
f2eed205
L
3672012-10-20 H.J. Lu <hongjiu.lu@intel.com>
368
369 [BZ #14683]
370 * elf/Makefile (tests-static): Add tst-leaks1-static.
371 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
372 ($(objpfx)tst-leaks1-static): New rule.
373 ($(objpfx)tst-leaks1-static-mem): Likewise.
374 (tst-leaks1-static-ENV): New macro.
375 * elf/dl-open.c (dl_open_worker): Check the main application
376 only if SHARED is defined.
377 * elf/tst-leaks1-static.c: New file.
378
335e6931
AJ
3792012-10-20 Andreas Jaeger <aj@suse.de>
380
381 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
382 generic values for Linux.
383 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
384 and declarations that are provided by <bits/fcntl-linux.h> and
385 include <bits/fcntl-linux.h>.
386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
387 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
388
ac5c94d3
RM
3892012-10-20 Roland McGrath <roland@hack.frob.com>
390
391 * io/fcntl.h: Move include of <bits/types.h> to the top and
392 include it unconditionally.
393
de54b33a
L
3942012-10-20 H.J. Lu <hongjiu.lu@intel.com>
395
228cfb01
L
396 * wcsmbs/Makefile (tests-ifunc): New variable.
397 (tests): Add $(tests-ifunc).
398 * wcsmbs/test-wcschr-ifunc.c: New file.
399 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
400 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
401 * wcsmbs/test-wcslen-ifunc.c: Likewise.
402 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
403 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
404
69f07e5f
L
405 * string/Makefile (tests-ifunc): New variable.
406 (tests): Add $(tests-ifunc).
407 * string/test-memccpy.c (TEST_NAME): New macro.
408 * string/test-memchr.c (TEST_NAME): Likewise.
409 * string/test-memcmp.c (TEST_NAME): Likewise.
410 * string/test-memcpy.c (TEST_NAME): Likewise.
411 * string/test-memmem.c (TEST_NAME): Likewise.
412 * string/test-memmove.c (TEST_NAME): Likewise.
413 * string/test-memset.c (TEST_NAME): Likewise.
414 * string/test-rawmemchr.c (TEST_NAME): Likewise.
415 * string/test-stpcpy.c (TEST_NAME): Likewise.
416 * string/test-stpncpy.c (TEST_NAME): Likewise.
417 * string/test-strcasecmp.c (TEST_NAME): Likewise.
418 * string/test-strcasestr.c (TEST_NAME): Likewise.
419 * string/test-strcat.c (TEST_NAME): Likewise.
420 * string/test-strchr.c (TEST_NAME): Likewise.
421 * string/test-strcmp.c(TEST_NAME): Likewise.
422 * string/test-strcpy.c (TEST_NAME): Likewise.
423 * string/test-strcspn.c (TEST_NAME): Likewise.
424 * string/test-strlen.c (TEST_NAME): Likewise.
425 * string/test-strncasecmp.c (TEST_NAME): Likewise.
426 * string/test-strncmp.c (TEST_NAME): Likewise.
427 * string/test-strncpy.c (TEST_NAME): Likewise.
428 * string/test-strnlen.c (TEST_NAME): Likewise.
429 * string/test-strpbrk.c (TEST_NAME): Likewise.
430 * string/test-strrchr.c (TEST_NAME): Likewise.
431 * string/test-strspn.c (TEST_NAME): Likewise.
432 * string/test-strstr.c (TEST_NAME): Likewise.
433 * string/test-bcopy-ifunc.c: New file.
434 * string/test-bzero-ifunc.c: Likewise.
435 * string/test-memccpy-ifunc.c: Likewise.
436 * string/test-memchr-ifunc.c: Likewise.
437 * string/test-memcmp-ifunc.c: Likewise.
438 * string/test-memcpy-ifunc.c: Likewise.
439 * string/test-memmem-ifunc.c: Likewise.
440 * string/test-memmove-ifunc.c: Likewise.
441 * string/test-mempcpy-ifunc.c: Likewise.
442 * string/test-memset-ifunc.c: Likewise.
443 * string/test-rawmemchr-ifunc.c: Likewise.
444 * string/test-stpcpy-ifunc.c: Likewise.
445 * string/test-stpncpy-ifunc.c: Likewise.
446 * string/test-strcasecmp-ifunc.c: Likewise.
447 * string/test-strcasestr-ifunc.c: Likewise.
448 * string/test-strcat-ifunc.c: Likewise.
449 * string/test-strchr-ifunc.c: Likewise.
450 * string/test-strchrnul-ifunc.c: Likewise.
451 * string/test-strcmp-ifunc.c: Likewise.
452 * string/test-strcpy-ifunc.c: Likewise.
453 * string/test-strcspn-ifunc.c: Likewise.
454 * string/test-strlen-ifunc.c: Likewise.
455 * string/test-strncasecmp-ifunc.c: Likewise.
456 * string/test-strncat-ifunc.c: Likewise.
457 * string/test-strncmp-ifunc.c: Likewise.
458 * string/test-strncpy-ifunc.c: Likewise.
459 * string/test-strnlen-ifunc.c: Likewise.
460 * string/test-strpbrk-ifunc.c: Likewise.
461 * string/test-strrchr-ifunc.c: Likewise.
462 * string/test-strspn-ifunc.c: Likewise.
463 * string/test-strstr-ifunc.c: Likewise.
464
de54b33a
L
465 * debug/Makefile (tests-ifunc): New variable.
466 (tests): Add $(tests-ifunc).
467 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
468 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
469 * debug/test-stpcpy_chk-ifunc.c: New file.
470 * debug/test-strcpy_chk-ifunc.c: Likewise.
471
88481c16
SP
4722012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
473
474 [BZ #13601]
475 * elf/dl-load.c (open_verify): Retry read if the entire ELF
476 header is not read in.
477
135948bd
JM
4782012-10-19 Joseph Myers <joseph@codesourcery.com>
479
89f1c388
JM
480 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
481 script to $(SHELL) as $<. Pass $(common-objpfx) to script
482 directly. Pass built executable to script as
483 $(built-program-cmd).
484 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
485 $testprogram without using LD_LIBRARY_PATH and $ldso.
486
e40a0d21
JM
487 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
488 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
489 $(rtld-installed-name).
490 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
491 (rtld_installed_name): Likewise.
492 (library_path): Likewise.
493 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
494 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
495 $(run-program-prefix) to tst-tables.sh.
496 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
497 it to run tst-table-from and tst-table-to.
498 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
499 Pass it to tst-table.sh.
500 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
501 $(run-program-prefix) to tst-gettext.sh.
502 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
503 tst-translit.sh.
504 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
505 tst-gettext2.sh.
506 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
507 to run tst-gettext.
508 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
509 to run tst-gettext2.
510 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
511 to run tst-translit.
512 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
513 $(run-program-prefix) to tst-mtrace.sh.
514 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
515 to run tst-mtrace.
516 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
517 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
518 $(rtld-installed-name).
519 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
520 (rtld_installed_name): Likewise.
521 (run_program_prefix): New variable. Use it to run wordexp-test.
522
728e272a
JM
523 * Makeconfig (ARCH): Remove all definitions.
524 (machine): Likewise.
525 [ARCH]: Remove conditional code.
526 [!objdir]: Give error.
527 [!objdir] (objpfx): Remove.
528 [!objdir] (common-objpfx): Likewise.
529 [!objdir] (common-objdir): Likewise.
530 * configure.in (config_makefile): Remove. Hardcode Makefile in
531 AC_CONFIG_FILES call.
532 * configure: Regenerated.
533
d528cdcf
JM
534 [BZ #13888]
535 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
536 or TMPDIR.
537 (testout): Likewise.
538
135948bd
JM
539 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
540 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
541 $(rtld-installed-name).
542 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
543 (rtld_installed_name): Likwise.
544 (runit): Remove function.
545 (run_getconf): New variable, Use it for running getconf binary.
546
38c78296
L
5472012-10-18 H.J. Lu <hongjiu.lu@intel.com>
548
549 [BZ #14716]
550 * string/test-memmem.c (check_result): New function.
551 (do_one_test): Use it.
552 (check1): New function.
553 (test_main): Use it.
554
d077f65f
MT
5552012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
556
557 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
558
ced52c71
JM
5592012-10-18 Joseph Myers <joseph@codesourcery.com>
560
561 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
562 (_G_LSEEK64): Likewise.
563 (_G_MMAP64): Likewise.
564 (_G_FSTAT64): Likewise.
565 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
566 (_G_LSEEK64): Likewise.
567 (_G_MMAP64): Likewise.
568 (_G_FSTAT64): Likewise.
569 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
570 unconditional. Call __mmap64 directly.
571 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
572 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
573 __lseek64 directly.
574 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
575 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
576 __mmap64 directly.
577 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
578 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
579 __lseek64 directly.
580 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
581 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
582 __lseek64 directly.
583 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
584 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
585 __lseek64 directly.
586 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
587 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
588 __fxstat64 directly.
589 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
590 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
591 unconditional.
592 (freopen64) [!_G_OPEN64]: Remove conditional code.
593 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
594 unconditional.
595 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
596 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
597 unconditional.
598 (ftello64) [!_G_LSEEK64]: Remove conditional code.
599 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
600 unconditional.
601 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
602 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
603 unconditional.
604 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
605 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
606 unconditional.
607 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
608 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
609 unconditional.
610 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
611 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
612 unconditional.
613 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
614
b741de23
SP
6152012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
616
617 [BZ #12140]
618 * manual/memory.texi (Malloc Tunable Parameters): Add note
619 about free list pointers overwriting some perturb bytes.
620 Wording suggested by Roland McGrath.
621
f9b9d9c9
JM
6222012-10-17 Joseph Myers <joseph@codesourcery.com>
623
624 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
625 (lgamma_test): Likewise.
626 (tgamma_test): Likewise.
627
172a631a
FW
6282012-10-16 Florian Weimer <fweimer@redhat.com>
629
630 [BZ #14700]
631 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
632 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
633
e9f37252
MK
6342012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
635
636 * NEWS: Mention BZ #14716.
637 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
638 when removing AVAILABLE1_USES_J macro.
639
d394eb74
L
6402012-10-12 H.J. Lu <hongjiu.lu@intel.com>
641
642 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
643 (__bswap_64): __uint64_t for unsigned 64-bit int.
644
ca38dc17
AS
6452012-10-12 Andreas Schwab <schwab@linux-m68k.org>
646
647 * include/string.h (memmem): Declare libc hidden alias.
648 * string/memmem.c (memmem): Define libc hidden alias.
649 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
650 __read, __close instead of open, read, close.
651
9a387d1f
L
6522012-10-11 H.J. Lu <hongjiu.lu@intel.com>
653
ac49ecaf
L
654 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
655 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
656 global and hidden.
657 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
658 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
659 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
660 Likewise.
661 (__rawmemchr_sse2): Likewise.
662 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
663 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
664 (__strchr_sse2): Likewise.
665 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
666 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
667 (__strcasecmp_sse2): Likewise.
668 (__strncasecmp_sse2): Likewise.
669 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
670 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
671 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
672 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
673 (__strrchr_sse2): Likewise.
674 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
675 ifunc-impl-list.c.
676 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
677 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
678 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
679 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
680 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
681 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
682 * sysdeps/x86_64/multiarch/memset.S: Likewise.
683 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
684 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
685 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
686 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
687 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
688 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
689 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
690 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
691 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
692 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
693 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
694 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
695 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
696 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
697 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
698 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
699 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
700 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
701 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
702 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
703 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
704 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
705 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
706
b090e8ea
L
707 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
708 global and hidden.
709 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
710 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
711 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
712 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
713 Likewise.
714 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
715 Likewise.
716 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
717 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
718 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
719 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
720 ifunc-impl-list.c.
721 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
722 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
723 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
724 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
725 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
726 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
727 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
728 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
729 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
730 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
731 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
732 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
733 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
734 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
735 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
736 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
737 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
738 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
739 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
740 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
741 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
742 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
743 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
744 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
745 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
746 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
747 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
748 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
749 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
750 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
751 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
752 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
753 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
754 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
755 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
756 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
757 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
758 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
759 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
760 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
761 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
762
11dd4af6
L
763 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
764 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
765 * include/ifunc-impl-list.h: New file.
766 * misc/ifunc-impl-list.c: Likewise.
767 * misc/Makefile (routines): Add ifunc-impl-list.
768 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
769 * string/test-string.h: Include <ifunc-impl-list.h>.
770 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
771 impl_array): New variables.
772 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
773 are defined.
774 (test_init): Call __libc_ifunc_impl_list to initialize
775 func_list if TEST_IFUNC and TEST_NAME are defined.
776
9a387d1f
L
777 * string/Makefile (strop-tests): Add bcopy and bzero.
778 * string/test-bcopy.c: New file.
779 * string/test-bzero.c: Likewise.
780 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
781 defined.
782 * string/test-memset.c: Support bzero test if TEST_BZERO is
783 defined.
784 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
785 __libc_memmove.
786 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
787 __libc_memset.
788 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
789 of memset.
790
472371b9
JM
7912012-10-10 Joseph Myers <joseph@codesourcery.com>
792
1e4a9536
JM
793 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
794 * configure: Regenerated.
795
d173d12e
JM
796 * Makeconfig (+link-static-before-libc): Don't include
797 $(link-static-libc).
798
472371b9
JM
799 * libio/libio.h (_IO_pos_t): Remove.
800
89a3ad0b
AO
8012012-10-10 Alexandre Oliva <aoliva@redhat.com>
802
803 * NEWS: Add note about FIPS mode. Wording suggested by Roland
804 McGrath.
805
e7451425
AO
8062012-10-10 Alexandre Oliva <aoliva@redhat.com>
807
808 * crypt/crypt-entry.c: Include fips-private.h.
809 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
810 * crypt/md5c-test.c (main): Tolerate disabled MD5.
811 * sysdeps/unix/sysv/linux/fips-private.h: New file.
812 * sysdeps/generic/fips-private.h: New file, dummy fallback.
813
4ba74a35
AO
8142012-10-10 Alexandre Oliva <aoliva@redhat.com>
815
816 * crypt/crypt-private.h: Include stdbool.h.
817 (_ufc_setup_salt_r): Return bool.
818 * crypt/crypt-entry.c: Include errno.h.
819 (__crypt_r): Return NULL with EINVAL for bad salt.
820 * crypt/crypt_util.c (bad_for_salt): New.
821 (_ufc_setup_salt_r): Check that salt is long enough and within
822 the specified alphabet.
823 * crypt/badsalttest.c: New file.
824 * crypt/Makefile (tests): Add it.
825 ($(objpfx)badsalttest): New.
826
f96f1242
MK
8272012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
828
829 * NEWS: Add entry for BZ #14602.
830
0e8e0c1c
JM
8312012-10-09 Joseph Myers <joseph@codesourcery.com>
832
833 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
834 type-generic.
835 * math/libm-test.inc: Update comment listing what functions and
836 macros are tested.
837 (isgreater_test): New function.
838 (isgreaterequal_test): Likewise.
839 (isless_test): Likewise.
840 (islessequal_test): Likewise.
841 (islessgreater_test): Likewise.
842 (isunordered_test): Likewise.
843 (main): Call the new functions.
844
273edc5e
RM
8452012-10-09 Roland McGrath <roland@hack.frob.com>
846
b8493de0
RM
847 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
848 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
849 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
850 * sysdeps/i386/configure: Regenerated.
851 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
852 * sysdeps/mach/configure: Regenerated.
853 * sysdeps/mach/hurd/configure: Regenerated.
854 * sysdeps/powerpc/configure: Regenerated.
855 * sysdeps/powerpc/powerpc32/configure: Regenerated.
856 * sysdeps/powerpc/powerpc64/configure: Regenerated.
857 * sysdeps/s390/s390-32/configure: Regenerated.
858 * sysdeps/s390/s390-64/configure: Regenerated.
859 * sysdeps/sh/configure: Regenerated.
860 * sysdeps/sparc/configure: Regenerated.
861 * sysdeps/unix/sysv/linux/configure: Regenerated.
862 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
863 * sysdeps/x86_64/configure: Regenerated.
864
273edc5e
RM
865 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
866 defined. Don't check if MAP is NULL.
867
c8450f70
JM
8682012-10-09 Joseph Myers <joseph@codesourcery.com>
869
870 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
871 (_G_stat64): Likewise.
872 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
873 (_G_stat64): Likewise.
874 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
875 instead of struct _G_stat64.
876 * libio/fileops.c (mmap_remap_check): Likewise.
877 (decide_maybe_mmap): Likewise.
878 (_IO_new_file_seekoff): Likewise.
879 (_IO_file_stat): Likewise.
880 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
881 _G_off64_t.
882 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
883 instead of struct _G_stat64.
884 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
885
57e605ba
MK
8862012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
887
888 [BZ #14602]
889 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
890 Replace with ...
891 (CHECK_EOL): New macro.
892 (two_way_short_needle): Check beginning of haystack for EOL. Use
893 CHECK_EOL.
894 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
895 Replace with CHECK_EOL.
896 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
897 Replace with CHECK_EOL.
898
ef1bb361
JM
8992012-10-08 Joseph Myers <joseph@codesourcery.com>
900
901 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
902 type-generic.
903 * math/libm-test.inc: Update comment listing what functions and
904 macros are tested.
905 (finite_test): New function.
906 (isinf_test): Likewise.
907 (isnan_test): Likewise.
908 (fpclassify_test): Test subnormal input.
909 (isfinite_test): Likewise.
910 (isnormal_test): Likewise.
911 (main): Call the new functions.
912
55f11534
JN
9132012-10-08 Jonathan Nieder <jrnieder@gmail.com>
914
915 [BZ #14660]
916 * Makerules (%.dynsym): Force C locale when running
917 $(OBJDUMP) --dynamic-syms.
918
1ab29350
AS
9192012-10-08 Andreas Schwab <schwab@linux-m68k.org>
920
921 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
922 <stdint.h>.
923
f1ecb7ef
DM
9242012-10-06 David S. Miller <davem@davemloft.net>
925
926 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
927 upper 32-bits of the length value in %o2 since we use branch-on-register
928 tests which consider the entire 64-bit register.
929
5d41d91a
L
9302012-10-06 H.J. Lu <hongjiu.lu@intel.com>
931
932 * string/test-strstr.c (check2): Add a test for page boundary.
933
3baddb72
DM
9342012-10-05 David S. Miller <davem@davemloft.net>
935
936 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
937 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
938 file.
939 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
940 sysdep_routines.
941 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
942 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
943 and bzero when HWCAP_SPARC_CRYPTO is present.
944
9cee5585
L
9452012-10-05 H.J. Lu <hongjiu.lu@intel.com>
946
d7e0dab9
L
947 [BZ #14602]
948 * string/test-strstr.c (check2): New function.
949 (test_main): Call check2.
950
03759f47
L
951 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
952 and bug-strchr1.
953 * string/bug-strcasestr1.c (do_test): Moved to ...
954 * string/test-strcasestr.c (check1): Here. New function.
955 (do_one_test): Break out result checking code into ...
956 (check_result): This. New function.
957 (do_one_test): Call check_result.
958 (test_main): Call check1.
959 * string/bug-strchr1.c (do_test): Moved to ...
960 * string/test-strchr.c (check1): Here. New function.
961 (do_one_test): Break out result checking code into ...
962 (check_result): This. New function.
963 (do_one_test): Call check_result.
964 (test_main): Call check1.
965 * string/bug-strstr1.c (main): Moved to ...
966 * string/test-strchr.c (check1): Here. New function.
967 (do_one_test): Break out result checking code into ...
968 (check_result): This. New function.
969 (do_one_test): Call check_result.
970 (test_main): Call check1.
971 * string/bug-strcasestr1.c: Removed.
972 * string/bug-strchr1.c: Likewise.
973 * string/bug-strstr1.c: Likewise.
974
53cea63e
L
975 * elf/Makefile (dl-routines): Add hwcaps.
976 * elf/dl-support.c (_dl_important_hwcaps): Removed.
977 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
978 (_dl_important_hwcaps): Moved to ...
979 * elf/dl-hwcaps.c: Here. New file.
980 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
981
9cee5585 982 [BZ #14557]
bb859b06
L
983 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
984 if IS_IN_rtld isn't defined.
985
9cee5585
L
986 * elf/dl-support.c (_dl_sysinfo_map): New.
987 Include "get-dynamic-info.h" and "setup-vdso.h".
988 (_dl_non_dynamic_init): Call setup_vdso.
989 * elf/dynamic-link.h: Don't include <assert.h>.
990 (elf_get_dynamic_info): Moved to ...
991 * elf/get-dynamic-info.h: Here. New file.
992 * elf/dynamic-link.h: Include "get-dynamic-info.h".
993 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
994 * elf/setup-vdso.h: Here. New file.
995 * elf/rtld.c: Include "setup-vdso.h".
996 (dl_main): Call setup_vdso.
997
23c31b76
JM
9982012-10-05 Joseph Myers <joseph@codesourcery.com>
999
28234b07
JM
1000 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1001 creal in comment listing functions tested. List finite, isinf,
1002 isnan, isless, islessequal, isgreater, isgreaterequal,
1003 islessgreater, isunordered, lgamma_r and pow10 as functions and
1004 macros not tested. Mention which functions not tested are aliases
1005 for other functions. Fix typo. Note that signs of NaNs are not
1006 tested.
1007
23c31b76
JM
1008 * scripts/config.guess: Update from config.git.
1009 * scripts/config.sub: Likewise.
1010
9043e228
RM
10112012-10-04 Roland McGrath <roland@hack.frob.com>
1012
1013 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1014 * misc/madvise.c (madvise): Renamed to __madvise.
1015 Make madvise a weak alias.
1016 * include/sys/mman.h: Declare __madvise.
1017 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1018 * sysdeps/unix/syscalls.list
1019 (madvise): Make __madvise the strong name, and madvise a weak alias.
1020 * sysdeps/unix/sysv/linux/syscalls.list
1021 (madvise, mmap): Remove redundant entries.
1022 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1023 * malloc/malloc.c (mtrim): Likewise.
1024 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1025
f57f8055
RM
10262012-10-03 Roland McGrath <roland@hack.frob.com>
1027
1028 * sysdeps/mach/hurd/dl-cache.c: File removed.
1029 * config.h.in (USE_LDCONFIG): New #undef.
1030 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1031 * configure: Regenerated.
1032 * elf/Makefile (dl-routines): Add dl-cache only under
1033 [$(use-ldconfig) = yes].
1034 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1035 cache on [USE_LDCONFIG].
1036 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1037 [USE_LDCONFIG].
1038 * elf/rtld.c (dl_main): Likewise.
1039
5bb0c10a
PT
10402012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1041
1042 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1043 _SC_LEVEL4_CACHE_LINESIZE.
1044
010188c6
RM
10452012-10-03 Roland McGrath <roland@hack.frob.com>
1046
1047 * sysdeps/unix/bsd/confstr.h: File removed.
1048
b6c5ec07
AO
10492012-10-02 Alexandre Oliva <aoliva@redhat.com>
1050
1051 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1052 sys/sdt-config.h.
1053
408223d4
RM
10542012-10-02 Roland McGrath <roland@hack.frob.com>
1055
1056 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1057 Make 'mapoff' field ElfW(Off) rather than off_t.
1058
bb9510dc
DL
10592012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1060
fc997c6e
DL
1061 * nscd/Makefile: Remove nscd-cflags and all its users.
1062 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1063 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1064
bb9510dc
DL
1065 [BZ #10631]
1066 * malloc.c (malloc_printerr): Clarify error message.
1067
05699367
L
10682012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1069
1070 [BZ #14648]
1071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1072 Set bit_FMA_Usable if FMA is supported.
1073 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1074 macro.
1075 (bit_FMA4_Usable): Updated.
1076 (index_FMA_Usable): New macro.
1077 (CPUID_FMA): Likewise
1078 (HAS_FMA): Defined with bit_FMA_Usable.
1079
51367701
RM
10802012-10-01 Roland McGrath <roland@hack.frob.com>
1081
1082 * bits/types.h (__swblk_t): Type removed.
1083 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1084 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1085 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1086 (__SWBLK_T_TYPE): Likewise.
1087 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1088 (__SWBLK_T_TYPE): Likewise.
1089 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1090 (__SWBLK_T_TYPE): Likewise.
1091 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1092 (__SWBLK_T_TYPE): Likewise.
1093
4d57bf63 10942012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 1095 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
1096
1097 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1098 (xdr_mapname): Use YPMAXMAP as maxsize.
1099 (xdr_peername): Use YPMAXPEER as maxsize.
1100 (xdr_keydat): Use YPAXRECORD as maxsize.
1101 (xdr_valdat): Use YPMAXRECORD as maxsize.
1102
93c65d43
RM
11032012-10-01 Roland McGrath <roland@hack.frob.com>
1104
497a03d6
RM
1105 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1106
93c65d43
RM
1107 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1108 * csu/init-first.c: ... here.
1109 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1110 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1111 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1112 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1113 * sysdeps/i386/init-first.c: File removed.
1114 * sysdeps/sh/init-first.c: File removed.
1115
bec749fd
JM
11162012-10-01 Joseph Myers <joseph@codesourcery.com>
1117
1118 [BZ #14645]
1119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1120 if x * y might underflow to zero and z is zero.
1121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1122 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1123 * math/libm-test.inc (min_subnorm_value): New variable.
1124 (fma_test): Add more tests.
1125 (fma_test_towardzero): Likewise.
1126 (fma_test_downward): Likewise
1127 (fma_test_upward): Likewise.
1128 (initialize): Set min_subnorm_value.
1129
8ec5b013
JM
11302012-09-29 Joseph Myers <joseph@codesourcery.com>
1131
1132 [BZ #14638]
1133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1134 0 + 0.
1135 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1136 mode for addition resulting in exact zero.
1137 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1139 exact 0 + 0.
1140 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1141 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1142 * math/libm-test.inc (fma_test): Add more tests.
1143 (fma_test_towardzero): New function.
1144 (fma_test_downward): Likewise.
1145 (fma_test_upward): Likewise.
1146 (main): Call the new functions.
1147
b1fa802e
DM
11482012-09-28 David S. Miller <davem@davemloft.net>
1149
1150 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1151
d3b9fd9e
RM
11522012-09-28 Roland McGrath <roland@hack.frob.com>
1153
ea4d37b3
RM
1154 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1155 instead of SIGALRM.
1156
ac51c949
RM
1157 * sysdeps/gnu/_G_config.h: Moved to ...
1158 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1159 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1160 * sysdeps/generic/_G_config.h: ... here.
1161
28c195f7
RM
1162 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1163
848917f9
RM
1164 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1165
6bacf05b
RM
1166 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1167 Conditionalize target on [libnss_test1.so-version].
1168
91363dbb
RM
1169 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1170
cc87f7d8
RM
1171 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1172 (elfobjdir): Move out of conditionals.
1173
b1c608fe
RM
1174 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1175 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1176 (__nss_lookup_function): Conditionalize label remove_from_tree on
1177 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 1178
1d9a6d96
DM
11792012-09-28 David S. Miller <davem@davemloft.net>
1180
1181 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1182 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1183 file.
1184 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1185 sysdep_routines.
1186 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1188 when HWCAP_SPARC_CRYPTO is present.
1189
72581615
PT
11902012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1191
1192 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1193
715a900c
JL
11942012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1195
1196 [BZ #6530]
1197 * stdio-common/vfprintf.c (process_string_arg): Revert
1198 2000-07-22 change.
1199
12002011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1201
1202 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1203 for testcase.
1204 * stdio-common/tst-sprintf.c: Include <locale.h>
1205 (main): Test sprintf's handling of incomplete multibyte
1206 characters.
1207
9bac1d86
L
12082012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1209
1210 * elf/dl-runtime.c (VERSYMIDX): Removed.
1211 * elf/dl-version.c (VERSYMIDX): Likewise.
1212 * elf/do-rel.h (VERSYMIDX): Likewise.
1213 (VALIDX): Likewise.
1214 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1215 * elf/rtld.c (VALIDX): Likewise.
1216 (ADDRIDX): Likewise.
9bac1d86
L
1217 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1218 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1219 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
1220 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1221 (VALIDX): Likewise.
1222 (ADDRIDX): Likewise.
9bac1d86 1223
b31606c0
PT
12242012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1225
1226 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1227
11541177
JL
12282012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1229
1230 [BZ #11438]
1231 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1232 to global scope.
1233 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1234 addresses are in the same scope as 192.0.2/24.
1235 * posix/gai.conf: Document new scope table defaults.
1236
adb26fae
SP
12372012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1238
1239 [BZ #5298]
1240 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1241 for ftell. Compute offsets from write pointers instead.
1242 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1243
4573c6b0
SP
12442012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1245
1246 [BZ #14543]
1247 * libio/Makefile (tests): New test case tst-fseek.
1248 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1249 combination works in wide mode.
1250 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1251 state when the external buffer state changes.
1252
aa9bbfe6
DM
12532012-09-27 David S. Miller <davem@davemloft.net>
1254
1255 [BZ #14376]
1256 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1257 pass reloc->r_addend in as the 'high' argument to
1258 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1259
784421e7
DM
1260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1261
c39bc8b8
PT
12622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1263
1264 * rt/tst-aio2.c: Include <pthread.h>.
1265 * rt/tst-aio3.c: Likewise.
1266
1ccc2399
SE
12672012-09-27 Steve Ellcey <sellcey@mips.com>
1268
1269 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1270
31ed4153
L
12712012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1272
25f5f885
L
1273 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1274 contents on [SHARED].
31ed4153 1275
b7bfe116
MP
12762012-09-26 Marek Polacek <polacek@redhat.com>
1277
1278 [BZ #14530]
1279 [BZ #13741]
1280 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1281 for C++ and GCC <4.3 as well as for non GCC compilers.
1282
43c4edba
MT
12832012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1284
1285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1286
6a1bf82f
RM
12872012-09-25 Roland McGrath <roland@hack.frob.com>
1288
1289 * Makefile.in (all, install): Declare with .PHONY.
1290 Reported by Michael Hope <michael.hope@linaro.org>.
1291
8ad11b9a
TMQMF
12922012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1293
1294 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1295 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1296 system header.
1297 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1298 Likewise.
1299 (sydep_routines): Add the new and the internal functions.
1300 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1301 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1303 (GLIBC_2.17): Add the new function.
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1305 (GLIBC_2.17): Likewise.
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1307 (GLIBC_2.17): Likewise.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1309 (GLIBC_2.17): Likewise.
1310 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1311
7e2fca8d
AM
13122012-09-25 Alan Modra <amodra@gmail.com>
1313
1314 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1315 Add release barrier before setting once_control to say
1316 initialisation is done. Add hints on lwarx. Use macro in
1317 place of isync.
1318 (clear_once_control): Add release barrier.
1319
b87c4b24
JM
13202012-09-25 Joseph Myers <joseph@codesourcery.com>
1321
d032e0d2
JM
1322 [BZ #13629]
1323 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1324 specially.
1325 * math/s_clog10.c (__clog10): Likewise.
1326 * math/s_clog10f.c (__clog10f): Likewise.
1327 * math/s_clog10l.c (__clog10l): Likewise.
1328 * math/s_clogf.c (__clogf): Likewise.
1329 * math/s_clogl.c (__clogl): Likewise.
1330 * math/Makefile (libm-calls): Add x2y2m1.
1331 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1332 (__x2y2m1): Likewise.
1333 (__x2y2m1l): Likewise.
1334 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1335 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1336 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1337 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1338 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1339 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1340 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1341 * sysdeps/i386/fpu/libm-test-ulps: Update.
1342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1343
b87c4b24
JM
1344 [BZ #14621]
1345 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1346 int as type of variable DEPTH.
1347 (glob): Use size_t instead of int as type of variables NEWCOUNT
1348 and OLD_PATHC.
1349
6d3bf199
LD
13502012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1351
22bf5c17
LD
1352 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1353 Add s_sincosf-sse2.
1354 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1355 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1356 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1357 macros for using routine as __sincosf_ia32.
1358 Use macro for function declaration and weak_alias.
1359 * sysdeps/i386/fpu/libm-test-ulps: Update.
1360
1361 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1363
1364 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1365 subnormal argument.
1366 * math/s_cexpf.c (__cexpf): Likewise.
1367 * math/s_csinf.c (__csinf): Likewise.
1368 * math/s_csinhf.c (__csinhf): Likewise.
1369 * math/s_ctanf.c (__ctanf): Likewise.
1370 * math/s_ctanhf.c (__ctanhf): Likewise.
1371 * math/s_ccosh.c (__ccoshf): Likewise.
1372 * math/s_cexp.c (__cexpl): Likewise.
1373 * math/s_csin.c (__csin): Likewise.
1374 * math/s_csinh.c (__csinh): Likewise.
1375 * math/s_ctan.c (__ctan): Likewise.
1376 * math/s_ctanh.c (ctanh): Likewise.
1377 * math/s_ccoshl.c (__ccoshl): Likewise.
1378 * math/s_cexpl.c (__cexpl): Likewise.
1379 * math/s_csinl.c (__csinl): Likewise.
1380 * math/s_csinhl.c (__csinhl): Likewise.
1381 * math/s_ctanl.c (__ctanl): Likewise.
1382 * math/s_ctanhl.c (__ctanhl): Likewise.
1383
203e5603
JM
13842012-09-25 Joseph Myers <joseph@codesourcery.com>
1385
1386 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1387 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1388 (_IO_off_t): Define to __off_t, not _G_off_t.
1389 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1390 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1391 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1392 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1393 type of __dummy and __dummy2 fields.
1394 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1395 (_G_ssize_t): Likewise.
1396 (_G_off_t): Likewise.
1397 (_G_pid_t): Likewise.
1398 (_G_uid_t): Likewise.
1399 (_G_wchar_t): Likewise.
1400 (_G_wint_t): Likewise.
1401 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1402 (_G_ssize_t): Likewise.
1403 (_G_off_t): Likewise.
1404 (_G_pid_t): Likewise.
1405 (_G_uid_t): Likewise.
1406 (_G_wchar_t): Likewise.
1407 (_G_wint_t): Likewise.
1408 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1409 (_G_ssize_t): Likewise.
1410 (_G_off_t): Likewise.
1411 (_G_pid_t): Likewise.
1412 (_G_uid_t): Likewise.
1413 (_G_wchar_t): Likewise.
1414 (_G_wint_t): Likewise.
1415
9fab36eb
SP
14162012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1417
1418 * malloc/arena.c: Include malloc-sysdep.h.
1419 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1420 is sufficient to shrink the heap or an unmap is needed.
1421 * sysdeps/generic/malloc-sysdep.h: New file. Define
1422 new function check_may_shrink_heap.
1423 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1424 new function check_may_shrink_heap.
1425
2b4f00d1
SP
14262012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1427
1428 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1429 comments.
1430
9a9028b1
DL
14312012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1432
57c69bef
DL
1433 * catgets/test-gencat.sh: Add "set -e".
1434 * elf/tst-pathopt.sh: Likewise.
1435 * grp/tst_fgetgrent.sh: Likewise.
1436 * iconvdata/run-iconv-test.sh: Likewise.
1437 * intl/tst-gettext.sh: Likewise.
1438 * intl/tst-gettext2.sh: Likewise.
1439 * intl/tst-gettext4.sh: Likewise.
1440 * intl/tst-gettext6.sh: Likewise.
1441 * intl/tst-translit.sh: Likewise.
1442 * io/ftwtest-sh: Likewise.
1443 * libio/test-freopen.sh: Likewise.
1444 * malloc/tst-mtrace.sh: Likewise.
1445 * posix/globtest.sh: Likewise.
1446 * posix/tst-getconf.sh: Likewise.
1447 * posix/wordexp-tst.sh: Likewise.
1448 * stdio-common/tst-printf.sh: Likewise.
1449 * stdio-common/tst-unbputc.sh: Likewise.
1450 * stdlib/tst-fmtmsg.sh: Likewise.
1451 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1452 * catgets/Makefile: Do not specify -e option when running
1453 testsuite shell scripts.
1454 * elf/Makefile: Likewise.
1455 * grp/Makefile: Likewise.
1456 * iconvdata/Makefile: Likewise.
1457 * intl/Makefile: Likewise.
1458 * io/Makefile: Likewise.
1459 * libio/Makefile: Likewise.
1460 * malloc/Makefile: Likewise.
1461 * posix/Makefile: Likewise.
1462 * stdio-common/Makefile: Likewise.
1463 * stdlib/Makefile: Likewise.
1464 * sysdeps/x86_64/Makefile: Likewise.
1465
9a9028b1
DL
1466 * io/ftwtest-sh: Add copyright header.
1467 * posix/globtest.sh: Likewise.
1468 * posix/tst-getconf.sh: Likewise.
1469 * posix/wordexp-tst.sh: Likewise.
1470 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1471
ced6f16e
L
14722012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1473
94b32c39
L
1474 [BZ #13679]
1475 * Makeconfig (+link): Defined as $(+link-static) if
1476 $(build-shared) isn't yes.
1477 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1478 isn't yes.
1479 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1480
189e935b
L
1481 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1482
ced6f16e
L
1483 [BZ #14562]
1484 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1485 new chunk size with MALLOC_ALIGN_MASK.
1486
a9f8e53a
JM
14872012-09-24 Joseph Myers <joseph@codesourcery.com>
1488
1489 [BZ #5044]
1490 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1491 <rounding-mode.h>.
1492 (__printf_fphex): Determine rounding using get_rounding_mode and
1493 round_away.
1494 * stdio-common/tst-printf-round.c (struct hex_test): New
1495 structure.
1496 (hex_tests): New variable.
1497 (test_hex_in_one_mode): New function.
1498 (do_test): Also run tests for hex float output.
1499
43153109
JM
15002012-09-21 Joseph Myers <joseph@codesourcery.com>
1501
1502 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1503 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1504 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1505 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1506 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1507 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1508 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1509 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1510
8a26625d
JM
15112012-09-20 Joseph Myers <joseph@codesourcery.com>
1512
1513 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1514 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1515 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1516 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1517
f3fd569c
DL
15182012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1519
1520 [BZ #14579]
1521 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1522 mode only.
1523 * elf/tst-rtld-load-self.sh: New test.
1524 * elf/Makefile: Run it.
1525
63bbedd4
JM
15262012-09-18 Joseph Myers <joseph@codesourcery.com>
1527
1528 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1529 (tst-writev-ENV): Remove.
1530 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1531
626f8b6a
CM
15322012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1533
1534 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1535
b7aaa4d6
JM
15362012-09-17 Joseph Myers <joseph@codesourcery.com>
1537
1538 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1539 unconditional.
1540 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1541 Likewise.
1542 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1543 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1544 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1545 Likewise.
1546
65513990
L
15472012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1548
1549 [BZ #14587]
1550 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1551 * config.make.in (have-cpp-asm-debuginfo): Removed.
1552 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1553 * configure: Regenerated.
1554
784761be
JM
15552012-09-14 Joseph Myers <joseph@codesourcery.com>
1556
1557 [BZ #5044]
1558 * stdio-common/printf_fp.c: Include <stdbool.h> and
1559 <rounding-mode.h>.
1560 (___printf_fp): Determine rounding using get_rounding_mode and
1561 round_away.
1562 * stdio-common/tst-printf-round.c: New file.
1563 * stdio-common/Makefile (tests): Add tst-printf-round.
1564 (link-libm): New variable.
1565 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1566
9503345f
L
15672012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1568
1569 [BZ #14576]
1570 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1571 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1572 Likewise.
1573 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1574 Likewise.
1575
ad35fc00
JM
15762012-09-13 Joseph Myers <joseph@codesourcery.com>
1577
1578 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1579 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1580 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1581 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1582
6c9b0f68
JM
15832012-09-12 Joseph Myers <joseph@codesourcery.com>
1584
1585 [BZ #14518]
1586 * include/rounding-mode.h: New file.
1587 * sysdeps/generic/get-rounding-mode.h: Likewise.
1588 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1589 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1590 (MAX_VALUE): New macro.
1591 (MIN_VALUE): Likewise.
1592 (overflow_value): New function.
1593 (underflow_value): Likewise.
1594 (round_and_return): Use overflow_value and underflow_value to
1595 determine return values in overflow and underflow cases. Use
1596 round_away to determine rounding depending on rounding mode.
1597 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1598 determine return values in overflow and underflow cases.
1599 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1600 (struct test_results): New structure.
1601 (struct test): Use struct test_results to store expected results
1602 for all rounding modes.
1603 (TEST): Include expected results for all rounding modes.
1604 (test_in_one_mode): New function.
1605 (do_test): Use test_in_one_mode to compute and check results.
1606 Check results for all rounding modes.
1607 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1608 $(link-libm).
1609
19fcedd5
AM
16102012-12-09 Allan McRae <allan@archlinux.org>
1611
1e9d84cd 1612 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 1613
8bbfd2f1
JM
16142012-09-11 Joseph Myers <joseph@codesourcery.com>
1615
1616 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1617 (_G_int32_t): Likewise.
1618 (_G_uint16_t): Likewise.
1619 (_G_uint32_t): Likewise.
1620 (_G_HAVE_BOOL): Likewise.
1621 (_G_HAVE_ATEXIT): Likewise.
1622 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1623 (_G_HAVE_IO_FILE_OPEN): Likewise.
1624 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1625 (_G_int32_t): Likewise.
1626 (_G_uint16_t): Likewise.
1627 (_G_uint32_t): Likewise.
1628 (_G_HAVE_BOOL): Likewise.
1629 (_G_HAVE_ATEXIT): Likewise.
1630 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1631 (_G_HAVE_IO_FILE_OPEN): Likewise.
1632 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1633 (_G_int32_t): Likewise.
1634 (_G_uint16_t): Likewise.
1635 (_G_uint32_t): Likewise.
1636 (_G_HAVE_BOOL): Likewise.
1637 (_G_HAVE_ATEXIT): Likewise.
1638 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1639 (_G_HAVE_IO_FILE_OPEN): Likewise.
1640
b1dc5912
L
16412012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1642
1643 * csu/libc-tls.c: Update copyright years.
1644
0e886ef9
JM
16452012-09-10 Joseph Myers <joseph@codesourcery.com>
1646
28361c5e
JM
1647 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1648 [!_G_USING_THUNKS]: Remove conditional code.
1649 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1650 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1651
0e886ef9
JM
1652 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1653 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1654 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1655 (_G_VTABLE_LABEL_PREFIX): Likewise.
1656 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1657 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1658 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1659 (_G_VTABLE_LABEL_PREFIX): Likewise.
1660 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1661 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1662 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1663 (_G_VTABLE_LABEL_PREFIX): Likewise.
1664 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1665
bcba7aa2
L
16662012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1667
1668 * libio/Makefile: Include ../Makeconfig before tests.
1669 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1670 only if $(build-shared) is yes.
1671
06585ee8
L
1672 * iconv/gconv_db.c: Update copyright years.
1673
80ccd52c
LD
16742012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1675
1676 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1677 unwind info if defined PIC. Fix special cases description.
1678 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1679
1680 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1681 DP_HI_MASK entry.
1682 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1683
691bc9c1
L
16842012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1685
3d9b46b3
L
1686 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1687
de2139a9
L
1688 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1689 is NULL.
1690
5ca78dd0
L
1691 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1692 (LDLIBS-tst-chk4): This.
1693 (LDFLAGS-tst-chk5): Renamed to ...
1694 (LDLIBS-tst-chk5): This.
1695 (LDFLAGS-tst-chk6): Renamed to ...
1696 (LDLIBS-tst-chk6): This.
1697 (LDFLAGS-tst-lfschk4): Renamed to ...
1698 (LDLIBS-tst-lfschk4): This.
1699 (LDFLAGS-tst-lfschk5): Renamed to ...
1700 (LDLIBS-tst-lfschk5): This.
1701 (LDFLAGS-tst-lfschk6): Renamed to ...
1702 (LDLIBS-tst-lfschk6): This.
1703
691bc9c1
L
1704 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1705 on $(common-objpfx)soversions.mk.
1706
65cafb1c
JM
17072012-09-07 Joseph Myers <joseph@codesourcery.com>
1708
1709 [BZ #10014]
1710 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1711 example host name.
1712
c78ab094
SP
17132012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1714
1715 * malloc/arena.c (arena_get_retry): New function that gets
1716 another arena for the caller to try its request on.
1717 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1718 current arena cannot fulfill the request.
1719 (__libc_memalign): Likewise.
1720 (__libc_memalign): Likewise.
1721 (__libc_pvalloc): Likewise.
1722 (__libc_calloc): Likewise.
1723
01f49f59
JT
17242012-09-05 John Tobey <john.tobey@gmail.com>
1725
1726 [BZ #13542]
1727 * manual/arith.texi (Operations on Complex): Fix description
1728 of carg branch cut.
1729
4c23fed5
JM
17302012-09-06 Joseph Myers <joseph@codesourcery.com>
1731
1d3c8572
JM
1732 [BZ #10014]
1733 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1734 host name.
1735
4c23fed5
JM
1736 [BZ #10038]
1737 * manual/memory.texi (Memory): Make order of menu items match
1738 order of sections.
1739
04570aaa
L
17402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1741
1742 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1743 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1744 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1745
b80af2f4
L
17462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1747
1748 * csu/libc-tls.c (static_dtv): Renamed to ...
1749 (_dl_static_dtv): This. Make it global.
1750 (_dl_initial_dtv): Removed.
1751 (__libc_setup_tls): Updated.
1752 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1753 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1754 DL_INITIAL_DTV.
1755
2abe9f15
PM
17562012-09-06 Petr Machata <pmachata@redhat.com>
1757
1758 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1759 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1760 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1761 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1762
0948c3af
L
17632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1764
1765 [BZ #14545]
1766 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1767 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1768 freeing dtv[-1].
1769
a5055ad1
L
17702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1771
1772 [BZ #14544]
1773 * Makeconfig (link-static-before-libc): Replace $(+prector)
1774 with $(+prectorT).
1775 (link-static-after-libc): Replace $(+postctor) with
1776 $(+postctorT).
1777 (link-bounded): Replace $(+prector)/$(+postctor) with
1778 $(+prectorT)/$(+postctorT).
1779 (+prectorT): New macro.
1780 (+postctorT): Likewise.
1781
ed8c2ecd
JM
17822012-09-06 Joseph Myers <joseph@codesourcery.com>
1783
1784 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1785 (round_str): Handle values above the maximum for IBM long double
1786 as inexact.
1787 * stdlib/tst-strtod-round.c (tests): Regenerated.
1788
14c996c8
AK
17892012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1790
1791 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1792 assembler flag.
1793 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1794 zarch_nohighgprs around the zarch optimized routines.
1795 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1796 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1797 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1798 for zarch.
1799
430d6ce6
DM
18002012-09-05 David S. Miller <davem@davemloft.net>
1801
1802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1803
ff04dda4
DM
1804 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1805 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1806 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1807 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1808 entries.
1809
24d4e01b
AO
18102012-09-05 Alexandre Oliva <aoliva@redhat.com>
1811
1812 * malloc/arena.c: Fold copyright years.
1813 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1814
61d58174
AO
18152012-09-05 Alexandre Oliva <aoliva@redhat.com>
1816
1817 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1818
20196a5e
AO
18192012-09-05 Alexandre Oliva <aoliva@redhat.com>
1820
1821 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1822
5c447383
AO
18232012-09-05 Alexandre Oliva <aoliva@redhat.com>
1824
1825 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1826 change internal state upon failure.
1827
fad64255
AO
18282012-09-05 Alexandre Oliva <aoliva@redhat.com>
1829
1830 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1831 * malloc/memusage.c (mmap): Likewise.
1832 (mmap64, mremap): Likewise. Adjust name in comment.
1833
1ffb8c90
SP
18342012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1835
1836 * libio/fileops.c: Fix typos in comments.
1837 * libio/oldfileops.c: Likewise.
1838 * libio/wfileops.c: Likewise.
1839
6ef9cc37
SP
18402012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1841
1842 [BZ #1349]
1843 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1844 (tst-malloc-usable-ENV): Set environment for test case.
1845 * malloc/hooks.c (malloc_check_get_size): New function to get
1846 requested size.
1847 * malloc/malloc.c (musable): Use malloc_check_get_size.
1848 * malloc/tst-malloc-usable.c: New test case.
1849
4d038ae3
AS
18502012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1851
1852 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1853
c4e85184
AM
18542012-09-05 Allan McRae <allan@archlinux.org>
1855
b9dafc56 1856 [BZ #13966]
c4e85184
AM
1857 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1858 determine header location.
1859 * configure: Regenerated.
1860
e1343020
AS
18612012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1862
1863 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1864 float format.
1865 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1866 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1867 format.
e1343020
AS
1868 (test): Regenerate.
1869
0a9f1987
DM
18702012-09-04 David S. Miller <davem@davemloft.net>
1871
1872 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1873 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1874 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1875
29237804
FW
18762012-09-04 Florian Weimer <fweimer@redhat.com>
1877
1878 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1879 failures.
1880
edb3cb88
FW
1881 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1882
60160d83
JM
18832012-09-04 Joseph Myers <joseph@codesourcery.com>
1884
1885 [BZ #9914]
1886 * libio/iogetdelim.c: Include <limits.h>.
1887 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1888 + len + 1 would overflow.
1889
bcd6c8dc
AJ
18902012-09-03 Andreas Jaeger <aj@suse.de>
1891
1892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1893 * sysdeps/i386/fpu/libm-test-ulps: Update.
1894
4ffffbd2
LD
18952012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1896
1897 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1898 Add s_sinf-sse2, s_conf-sse2.
1899
1900 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1901 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1902 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1903 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1904
1905 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1906 for using routine as __sinf_ia32.
1907 Use macro for function declaration and weak_alias.
1908 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1909 for using routine as __cosf_ia32.
1910 Use macro for function declaration and weak_alias.
1911
1912 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1913 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1914
1915 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1916 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1918
1919 * math/libm-test.inc (cos_test): Add more test cases.
1920 (sin_test): Likewise.
1921 (sincos_test): Likewise.
1922
511fa286
AK
19232012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1924
1925 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1926 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1927 hidden.
1928 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1929
5f30cfec
L
19302012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1931
1932 [BZ #14538]
1933 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1934 first element of the GOT.
1935 (elf_machine_load_address): Return the difference between
1936 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1937
0786794f
AM
19382012-09-01 Allan McRae <allan@archlinux.org>
1939
5f30cfec
L
1940 [BZ #13412]
1941 * configure.in (AWK): Require gawk version 3.0 or later.
1942 * configure: Regenerated.
0786794f 1943
26889eac
JM
19442012-09-01 Joseph Myers <joseph@codesourcery.com>
1945
1946 * sysdeps/unix/sysv/linux/kernel-features.h
1947 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1948 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1949 [__NR_clock_getres]: Make code unconditional.
1950 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1951 (clock_getcpuclockid): Remove code left unreachable by removal of
1952 conditionals.
1953 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1954 code unconditional.
1955 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1956 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1957 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1958 Make code unconditional.
1959 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1960 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1961 * sysdeps/unix/sysv/linux/clock_settime.c
1962 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1963 conditional code.
1964 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1965 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1966
d22e28b0
L
19672012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1968
1969 [BZ #14476]
1970 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1971 scripts/test-installation.pl.
1972
1973 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1974 and $ld_so_version if it is set.
1975
050af9c4
SP
19762012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1977
1978 [BZ #14516]
1979 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1980 failure if reading from procfs failed.
1981 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1982
ad845c0b
JM
19832012-08-27 Joseph Myers <joseph@codesourcery.com>
1984
1985 * sysdeps/unix/sysv/linux/kernel-features.h
1986 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1987 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1988 Remove conditional code.
1989 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1990 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1991 Remove conditional code.
1992 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1993 * sysdeps/unix/sysv/linux/i386/fxstat.c
1994 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1995 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1996 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1997 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1998 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1999 * sysdeps/unix/sysv/linux/i386/lxstat.c
2000 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2001 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2002 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2003 Remove conditional code.
2004 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2005 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2006 Remove conditional code.
2007 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2008 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2009 <kernel-features.h>.
2010 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2011 Remove.
2012 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2013 Remove conditional code.
2014 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2015 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2016 Remove conditional.
2017
5dbf56af
MF
20182012-08-27 Mike Frysinger <vapier@gentoo.org>
2019
2020 [BZ #5400]
2021 * NEWS: Add fixed bug number.
2022
d6e70f43
JM
20232012-08-27 Joseph Myers <joseph@codesourcery.com>
2024
7efb4737
JM
2025 [BZ #14519]
2026 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2027 underflowing exponent in case of negative sign.
2028 * stdlib/tst-strtod-round-data: Add more tests.
2029 * stdlib/tst-strtod-round.c (tests): Regenerated.
2030
af92131a
JM
2031 [BZ #3479]
2032 * stdlib/strtod_l.c (NDIG): Remove.
2033 (HEXNDIG): Likewise.
2034 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2035 smallest representable value.
2036 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2037 lie within an exact representation of 1/2 ulp of the result.
2038 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2039 unconditionally.
2040 (TENS_P9_IDX): Define unconditionally.
2041 (TENS_P9_SIZE): Likewise.
2042 (TENS_P10_IDX): Likewise.
2043 (TENS_P10_SIZE): Likewise.
2044 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2045 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2046 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2047 entries for 10^2^13 and 10^2^14.
2048 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2049 (TENS_P13_IDX): Define.
2050 (TENS_P13_SIZE): Likewise.
2051 (TENS_P14_IDX): Likewise.
2052 (TENS_P14_SIZE): Likewise.
2053 (_fpioconst_pow10): Change array size to
2054 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2055 unconditional.
2056 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2057 1024]: Add entries for 10^2^13 and 10^2^14.
2058 [LAST_POW10 > _LAST_POW10]: Remove #error.
2059 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2060 (_fpioconst_pow10): Change array size to
2061 FPIOCONST_POW10_ARRAY_SIZE.
2062 * stdlib/gen-fpioconst.c: New file.
2063 * stdlib/gen-tst-strtod-round.c: Likewise.
2064 * stdlib/tst-strtod-round-data: Likewise.
2065 * stdlib/tst-strtod-round.c: Likewise.
2066 * stdlib/Makefile (tests): Add tst-strtod-round.
2067
d6e70f43
JM
2068 [BZ #14459]
2069 * stdlib/strtod_l.c: Include <stdint.h>.
2070 (NDEBUG): Do not define.
2071 (round_and_return): Change EXPONENT parameter to type intmax_t.
2072 Rearrange calculations to avoid internal overflow possibilities.
2073 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2074 Rearrange calculations to avoid internal overflow possibilities.
2075 Assert that number fits inside MPNSIZE limbs.
2076 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2077 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2078 calculations and add assertions to avoid internal overflow
2079 possibilities. Add casts to avoid signed/unsigned operations.
2080 * stdlib/tst-strtod-overflow.c: New file.
2081 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2082
1f529f7d
MP
20832012-08-25 Marek Polacek <polacek@redhat.com>
2084
2085 * time/time.h: Fix some typos in comments.
2086
59a629f1
RM
20872012-08-23 Roland McGrath <roland@hack.frob.com>
2088
2089 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2090 * posix/tst-rfc3484-2.c: Likewise.
2091 * posix/tst-rfc3484-3.c: Likewise.
2092
d3bafbc9
SM
20932012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2094
2095 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2096 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2097
4efcc022
JM
20982012-08-23 Joseph Myers <joseph@codesourcery.com>
2099
2100 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2101 #include of fxstatat64.c.
2102
3cc3ef96
RM
21032012-08-22 Roland McGrath <roland@hack.frob.com>
2104
f04e2132
RM
2105 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2106 * shadow/getspent_r.c: Likewise.
2107 * shadow/getspnam.c: Likewise.
2108 * shadow/getspnam_r.c: Likewise.
2109 * gshadow/getsgent.c: Likewise.
2110 * gshadow/getsgent_r.c: Likewise.
2111 * gshadow/getsgnam.c: Likewise.
2112 * gshadow/getsgnam_r.c: Likewise.
2113 * inet/getnetbyad.c: Likewise.
2114 * inet/getnetbyad_r.c: Likewise.
2115 * inet/getnetbynm.c: Likewise.
2116 * inet/getnetbynm_r.c: Likewise.
2117 * inet/getnetent.c: Likewise.
2118 * inet/getnetent_r.c: Likewise.
2119 * inet/getproto.c: Likewise.
2120 * inet/getproto_r.c: Likewise.
2121 * inet/getprtent.c: Likewise.
2122 * inet/getprtent_r.c: Likewise.
2123 * inet/getprtname.c: Likewise.
2124 * inet/getprtname_r.c: Likewise.
2125 * inet/getrpcbyname.c: Likewise.
2126 * inet/getrpcbyname_r.c: Likewise.
2127 * inet/getrpcbynumber.c: Likewise.
2128 * inet/getrpcbynumber_r.c: Likewise.
2129 * inet/getrpcent.c: Likewise.
2130 * inet/getrpcent_r.c: Likewise.
2131 * inet/getaliasent.c: Likewise.
2132 * inet/getaliasent_r.c: Likewise.
2133 * inet/getaliasname.c: Likewise.
2134 * inet/getaliasname_r.c: Likewise.
2135 * nscd/getgrgid_r.c: Likewise.
2136 * nscd/getgrnam_r.c: Likewise.
2137 * nscd/gethstbyad_r.c: Likewise.
2138 * nscd/gethstbynm3_r.c: Likewise.
2139 * nscd/getpwnam_r.c: Likewise.
2140 * nscd/getpwuid_r.c: Likewise.
2141 * nscd/getsrvbynm_r.c: Likewise.
2142 * nscd/getsrvbypt_r.c: Likewise.
2143 * nscd/gai.c: Likewise.
2144
c53d909c
RM
2145 * configure.in (build_nscd): New substituted variable, set
2146 by --disable-build-nscd and defaults to $use_nscd.
2147 * configure: Regenerated.
2148 * config.make.in (build-nscd): New substituted variable.
2149 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2150 Change conditional to require [$(build-nscd) = yes] as well.
2151 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2152
3cc3ef96
RM
2153 [BZ# 13696]
2154 * configure.in (use_nscd): New substituted variable, set by
2155 --disable-nscd. If enabled, define USE_NSCD.
2156 * configure: Regenerated.
2157 * config.h.in: Add USE_NSCD.
2158 * config.make.in (use-nscd): New substituted variable.
2159 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2160 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2161 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2162 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2163 (CFLAGS-getgrnam_r.c): Likewise.
2164 (CFLAGS-initgroups.c): Likewise.
2165 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2166 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2167 Variables removed.
2168 * inet/getnetgrent_r.c
2169 (nscd_setnetgrent): New function, broken out of ...
2170 (setnetgrent): ... here. Call it.
2171 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2172 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2173 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2174 * nscd/Makefile (routines, aux): Move definitions after include of
2175 Makeconfig. Conditionalize on [$(use-nscd) != no].
2176 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2177 Conditionalize on [USE_NSCD].
2178 (is_nscd, nscd_init_cb): Likewise.
2179 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2180 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2181 * nss/nss_db/db-init.c: Likewise.
2182 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2183 [USE_NSCD].
2184 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2185 (make_request): Use it.
2186 (cache_valid_p): New function.
2187 (__check_pf): Use it.
2188 * NEWS: Add item for --disable-nscd.
2189
07e51550
DL
21902012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2191
2192 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2193 to support sed >= 4.2.1-20-ga9bf076.
2194 * configure: Regenerated.
2195
35a5b08b
RM
21962012-08-22 Roland McGrath <roland@hack.frob.com>
2197
2198 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2199 Conditionalize whole body on [IREL].
2200
8479f23a
JL
22012012-08-22 Jeff Law <law@redhat.com>
2202
2203 [BZ #14505]
2204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2205 if the family is PF_UNSPEC.
2206
48da0b21
MF
22072012-08-22 Mike Frysinger <vapier@gentoo.org>
2208
2209 * Makerules (lib-version): Rename from V.
2210 (install-lib-nosubdir): Change V to lib-version.
2211
15d0da8c
WS
22122012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2213
2214 [BZ #14252]
2215 * powerpc32/power6/wcschr.c: New file.
2216 * powerpc32/power6/wcscpy.c: New file.
2217 * powerpc32/power6/wcsrchr.c: New file.
2218 * powerpc64/power6/wcschr.c: New file.
2219 * powerpc64/power6/wcscpy.c: New file.
2220 * powerpc64/power6/wcsrchr.c: New file.
2221
bcca0895
MK
22222012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2223
2224 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2225 (two_way_short_needle): Use it.
5a4aaa33
RM
2226 * string/strstr.c (AVAILABLE1_USES_J): Define.
2227 * string/strcasestr.c: Likewise.
99677e57
MK
2228
2229 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2230 array references.
2231 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2232
400726de
MK
2233 [BZ #11607]
2234 * NEWS: Add an entry.
2235 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2236 define their defaults.
2237 (two_way_short_needle): Detect end-of-string on-the-fly.
2238 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2239 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2240 * string/bug-strcasestr1.c: New test.
2241 * string/Makefile: Run it.
2242
20a71f2c
MK
22432012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2244
2245 [BZ #11607]
2246 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2247 the first character.
2248
21ad0558
RM
22492012-08-21 Roland McGrath <roland@hack.frob.com>
2250
2251 * csu/elf-init.c (__libc_csu_irel): Function removed.
2252 * csu/libc-start.c (apply_irel): New function.
2253 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2254
0e1d9911
JM
22552012-08-21 Joseph Myers <joseph@codesourcery.com>
2256
2257 * sysdeps/unix/sysv/linux/kernel-features.h
2258 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2259 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2260 <kernel-features.h>.
2261 [__NR_fadvise64_64]: Make code unconditional.
2262 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2263 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2264 !__NR_fadvise64_64)]: Likewise.
2265 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2266 !__NR_fadvise64_64))]: Likewise.
2267 [__NR_fadvise64]: Make code unconditional.
2268 [!__NR_fadvise64]: Remove conditional code.
2269 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2270 <kernel-features.h>.
2271 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2272 unconditional.
2273 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2274 conditional code.
2275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2276 not include <kernel-features.h>.
2277 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2278 unconditional.
2279 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2280 conditional code.
2281 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2282 include <kernel-features.h>.
2283 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2284 unconditional.
2285 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2286 conditional code.
2287
14a50c9d
WS
22882012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2289
2290 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2291 slight instruction rearrangements per scrollpipe analysis.
2292 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2293
c0f4faf0
RM
22942012-08-20 Roland McGrath <roland@hack.frob.com>
2295
696da859
RM
2296 * manual/syslog.texi (syslog; vsyslog, closelog):
2297 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2298 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2299
c0f4faf0
RM
2300 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2301 DSOCAPS to match condition on defining it.
2302
348363b2
JM
23032012-08-20 Joseph Myers <joseph@codesourcery.com>
2304
a35cbf28
JM
2305 * sysdeps/unix/sysv/linux/kernel-features.h
2306 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2308 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2309 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2311 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2312 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2314 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2315 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2316
445f7ecd
JM
2317 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2318 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2319
348363b2
JM
2320 * sysdeps/unix/sysv/linux/kernel-features.h
2321 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2322 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2323 unconditional.
2324 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2325 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2326 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2327 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2328 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2329 Make code unconditional.
2330 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2331 (__mmap64) [!__NR_mmap2]: Likewise.
2332 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2333 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2334 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2335 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2336 [__NR_mmap2]: Make code unconditional.
2337 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2338 (__mmap64) [!__NR_mmap2]: Likewise.
2339
bc5bc0e5
AK
23402012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2341
2342 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2343
88d506de
AJ
23442012-08-18 Andreas Jaeger <aj@suse.de>
2345
2346 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2347
493387d2
MF
23482012-08-18 Mike Frysinger <vapier@gentoo.org>
2349
2350 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2351 * include/unistd.h (__have_sock_cloexec): Likewise.
2352 (__have_pipe2): Likewise.
2353 (__have_dup3): Likewise.
2354
a277af22
MF
23552012-08-18 Mike Frysinger <vapier@gentoo.org>
2356
2357 [BZ #9685]
2358 * include/unistd.h (__have_pipe2): Change define into an extern int.
2359 (__have_dup3): Likewise.
2360 * socket/have_sock_cloexec.c: Include fcntl.h.
2361 (__have_pipe2): New variable.
2362 (__have_dup3): Likewise.
2363
fdab8fd3
MF
23642012-08-17 Mike Frysinger <vapier@gentoo.org>
2365
2366 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2367
31035e80
MP
23682012-08-17 Marek Polacek <polacek@redhat.com>
2369
2370 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2371 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2372
3bd9e993
RM
23732012-08-17 Roland McGrath <roland@hack.frob.com>
2374
c91c505f
RM
2375 * configure.in: Add AC_SUBST for sysheaders.
2376 * configure: Regenerated.
2377 * config.make.in (sysheaders): New substituted variable.
2378
7c6f9d53
RM
2379 * sysdeps/unix/mkfifo.c: Moved ...
2380 * sysdeps/posix/mkfifo.c: ... here.
2381 * sysdeps/unix/mkfifoat.c: Moved ...
2382 * sysdeps/posix/mkfifoat.c: ... here.
2383
2384 * sysdeps/unix/utime.c: Moved ...
2385 * sysdeps/posix/utime.c: ... here.
2386
2387 * sysdeps/unix/time.c: Moved ...
2388 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2389 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2390 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2391
2392 * sysdeps/unix/nice.c: Moved ...
2393 * sysdeps/posix/nice.c: ... here.
2394
2395 * sysdeps/unix/alarm.c: Moved ...
2396 * sysdeps/posix/alarm.c: ... here.
2397
3bd9e993
RM
2398 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2399
d1f09384
JL
24002012-08-17 Jeff Law <law@redhat.com>
2401
2402 * intl/Makefile (codeset_mo): New variable.
2403 ($(codeset_mo)): New target.
2404 (tst-codeset.out): Depend on that. Remove explicit rule.
2405 (tst-gettext3.out, tst-gettext5.out): Likewise.
2406 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2407 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2408 * intl/tst-codeset.sh: Remove.
2409 * intl/tst-gettext3.sh: Likewise.
2410 * intl/tst-gettext5.sh: Likewise.
2411
2ae1ae5c
RM
24122012-08-17 Roland McGrath <roland@hack.frob.com>
2413
c31fdb83
RM
2414 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2415 * sysdeps/unix/syscalls.list: ... here.
2416
a0844057
RM
2417 * sysdeps/posix/getaddrinfo.c
2418 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2419 (gaiconf_init, gaiconf_reload): Use them.
2420 [!_STATBUF_ST_NSEC]
2421 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2422 Define using time_t rather than struct timespec.
2423
750c1f2a
RM
2424 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2425 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2426 Macros removed.
2427 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2428 [!NO_THREADS].
2429 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2430 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2431 Likewise.
2432
2ae1ae5c
RM
2433 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2434 __libc_cleanup_push argument.
2435
e66a42f5
RM
2436 * bits/param.h: New file.
2437 * misc/sys/param.h: New file.
2438 * include/sys/param.h: New file.
2439 * misc/Makefile (headers): Add bits/param.h.
2440 * sysdeps/generic/sys/param.h: File removed.
2441 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2442 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2443 * sysdeps/mach/hurd/bits/param.h: New file.
2444 * sysdeps/mach/hurd/sys/param.h: New file.
2445
b7c08a66
RM
2446 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2447 last change.
2448
b2e1c562
RM
2449 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2450 [_IO_MTSAFE_IO].
2451 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2452 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2453 New macros.
2454
c75ccd4c
RM
2455 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2456 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2457 rather than -D_IO_MTSAFE_IO conditionally.
2458 * stdio-common/Makefile (CPPFLAGS): Likewise.
2459 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2460 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2461 Use $(libio-mtsafe).
2462 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2463 of -D_IO_MTSAFE_IO.
2464 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2465 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2466 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2467 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2468 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2469 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2470 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2471 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2472 (CFLAGS-fread_u_chk.c): Likewise.
2473 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2474 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2475 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2476 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2477 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2478 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2479 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2480 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2481 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2482
2483 * libio/Makefile: Test [$(libc-reentrant) = yes]
2484 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2485
2486 * Makeconfig
2487 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2488 * sysdeps/pthread/configure: File removed.
2489 * sysdeps/pthread/Makeconfig: New file.
2490 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2491 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2492
d9195db8
GB
24932012-08-16 Gary Benson <gbenson@redhat.com>
2494
2495 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2496 unmapping the first object in a namespace.
2497
86466cd9
RM
24982012-08-16 Roland McGrath <roland@hack.frob.com>
2499
2500 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2501 (__internal_setnetgrent): ... this. Add internal_function to
2502 definition. Add libc_hidden_def.
2503 (setnetgrent): Update caller.
2504 (internal_endnetgrent): Renamed to ...
2505 (__internal_endnetgrent): ... this. Add internal_function to
2506 definition. Add libc_hidden_def.
2507 (endnetgrent): Update caller.
2508 (internal_getnetgrent_r): Renamed to ...
2509 (__internal_getnetgrent_r): ... this. Add internal_function to
2510 definition. Add libc_hidden_def.
2511 (__getnetgrent_r): Update caller.
2512 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2513
c3c8283c
JM
25142012-08-16 Joseph Myers <joseph@codesourcery.com>
2515
2516 * stdlib/longlong.h: Update from GCC.
2517
db1ee0a8
RM
25182012-08-16 Roland McGrath <roland@hack.frob.com>
2519
2520 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2521 on _QL, which is set by umul_ppmm but never used.
2522 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2523 variables, which are set by GMP macros but never used.
2524 * stdio-common/_itowa.c (_itowa): Likewise.
2525 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2526 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2527
30f69637
CD
25282012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2529
2530 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2531 struct La_sh_regs is not constant.
2532 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2533 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2534 and struct La_sparc64_regs are not constant.
2535
93a78ac4
JM
25362012-08-16 Joseph Myers <joseph@codesourcery.com>
2537
2538 * sysdeps/unix/sysv/linux/kernel-features.h
2539 (__ASSUME_POSIX_TIMERS): Remove.
2540 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2541 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2542 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2543 Make code unconditional.
2544 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2545 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2546 Make code unconditional.
2547 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2548 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2549 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2550 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2551 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2552 Make code unconditional.
2553 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2554 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2555 (__libc_missing_posix_timers): Remove.
2556
dd924cd7
RM
25572012-08-15 Roland McGrath <roland@hack.frob.com>
2558
4b4f2771
RM
2559 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2560 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2561
601c888b
RM
2562 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2563
176790a7
RM
2564 * elf/dl-sym.c: Include <stdlib.h>.
2565
329bc018
RM
2566 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2567 constants, which avoids warnings in 32-bit builds.
2568
e04e272d
RM
2569 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2570 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2571
952bf94a
RM
2572 * misc/lseek.c: File moved to ...
2573 * io/lseek.c: ... here.
2574
7c99b50a
RM
2575 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2576
dd924cd7
RM
2577 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2578 shifting LEN more than 31 bits at once.
2579
b3f479a8
LD
25802012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2581
2582 [BZ #14195]
8c4ae0d4
RM
2583 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2584 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2585 * string/test-strncasecmp.c (check1): Renamed to...
2586 (bz12205): ...this.
2587 (bz14195): Add new testcase for two empty input strings and N > 0.
2588 (test_main): Call new testcase, adapt for renamed function.
2589
9c55864e
AJ
25902012-08-15 Andreas Jaeger <aj@suse.de>
2591
2592 [BZ #14090]
2593 * crypt/md5test2.c: New test, based on test supplied by Serge
2594 Belyshev <belyshev@depni.sinp.msu.ru>.
2595 * crypt/Makefile (xtests): Add md5test-giant..
2596 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2597
02dcb6c5
PE
25982012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2599
2600 [BZ #14090]
2601 * crypt/md5.c (md5_process_block): Don't assume the buffer
2602 length is less than 2**32.
2603 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2604 length is less than 2**64.
2605
a3f95dcc
RM
26062012-08-15 Roland McGrath <roland@hack.frob.com>
2607
be75d758
RM
2608 * string/str-two-way.h: Include <sys/param.h>.
2609 (MAX): Macro removed.
2610
7312ca90
RM
2611 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2612 Move #define and #undef of memmove to just before and after
2613 including <string.h>.
2614
9a0a5486
RM
2615 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2616 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2617 and after including <string.h>. Move declarations of
2618 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2619 to before #include "string/memmove.c".
2620
67cc348d
RM
2621 * include/dirent.h: Declare __getdirentries.
2622
a3f95dcc
RM
2623 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2624 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2625
ca98e171
MF
26262012-08-14 Mike Frysinger <vapier@gentoo.org>
2627
2628 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2629 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2630 * sysdeps/i386/configure: Regenerated.
2631 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2632 STABS_CURRENT_FILE, and STABS_FUN.
2633 (END): Remove call to STABS_FUN_END.
2634 (STABS_CURRENT_FILE1): Delete.
2635 (STABS_CURRENT_FILE): Likewise.
2636 (STABS_FUN): Likewise.
2637 (STABS_FUN_END): Likewise.
2638 (STABS_FUN2): Likewise.
2639 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2640 * sysdeps/x86_64/configure: Regenerated.
2641
5908bf46
RM
26422012-08-14 Roland McGrath <roland@hack.frob.com>
2643
2644 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2645 * elf/dl-lookup.c: Likewise.
5908bf46 2646
f2c05b9e
JM
26472012-08-14 Joseph Myers <joseph@codesourcery.com>
2648
2649 * sysdeps/unix/sysv/linux/kernel-features.h
2650 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2651 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2652 unconditionally.
2653 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2654 unconditionally.
2655 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2656 condition on __ASSUME_CLONE_THREAD_FLAGS.
2657
e11f5155
AJ
26582012-08-14 Andreas Jaeger <aj@suse.de>
2659
2660 * sysdeps/i386/fpu/libm-test-ulps: Update.
2661
51a9ba86
MK
26622012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2663
2fdd4f78
AJ
2664 * include/atomic.h (atomic_exchange_and_add): Split into ...
2665 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2666 New atomic macros.
51a9ba86 2667
ba6cba9e
MT
26682012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2669
2670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2671
42443a47
JL
26722012-08-13 Jeff Law <law@redhat.com>
2673
2674 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2675 null byte in the output string.
2676
121dce05
JM
26772012-08-10 Joseph Myers <joseph@codesourcery.com>
2678
2679 * sysdeps/unix/sysv/linux/kernel-features.h
2680 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2681 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2682 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2683 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2684 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2685 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2686 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2687
bf51f568
JL
26882012-08-09 Jeff Law <law@redhat.com>
2689
2690 [BZ #13939]
2691 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2692 When avoid_arena is set, don't retry in the that arena. Pick the
2693 next one, whatever it might be.
2694 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2695 (arena_lock): Pass in new parameter to arena_get2.
2696 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2697 arena_get2.
2698 (__libc_malloc): Unify retrying after main arena failure with
2699 __libc_memalign version.
2700 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2701
f85fa270
L
27022012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2703
2704 [BZ #14166]
2705 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2706 to __redirect_strstr.
2707 (__strstr_sse42): Use typeof __redirect_strstr.
2708 (__strstr_ia32): Likewise.
2709 (__libc_strstr): New prototype.
2710 (strstr): Renamed to ...
2711 (__libc_strstr): This.
2712 (strstr): New strong alias of __libc_strstr.
2713 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2714 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2715 __redirect_time.
2716 Include <time.h>.
2717 (__libc_time): New prototype.
2718 (time_ifunc): Replace time with __libc_time.
2719 (time): New strong alias and hidden definition of __libc_time.
2720 (__GI_time): Remove strong alias.
2721 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2722 Include <stddef.h>.
2723 (memmove): Redefined to __redirect_memmove.
2724 (__memmove_sse2): Use typeof __redirect_memmove.
2725 (__memmove_ssse3): Likewise.
2726 (__memmove_ssse3_back): Likewise.
2727 (__libc_memmove): New prototype.
2728 (memmove): Renamed to ...
2729 (__libc_memmove): This.
2730 (memmove): New strong alias of __libc_memmove.
2731
33b4a91e
MS
27322012-08-08 Mark Salter <msalter@redhat.com>
2733
2734 * elf/elf.h
2735 (R_MN10300_TLS_GD): Define.
2736 (R_MN10300_TLS_LD): Likewise.
2737 (R_MN10300_TLS_LDO): Likewise.
2738 (R_MN10300_TLS_GOTIE): Likewise.
2739 (R_MN10300_TLS_IE): Likewise.
2740 (R_MN10300_TLS_LE): Likewise.
2741 (R_MN10300_TLS_DTPMOD): Likewise.
2742 (R_MN10300_TLS_DTPOFF): Likewise.
2743 (R_MN10300_TLS_TPOFF): Likewise.
2744 (R_MN10300_SYM_DIFF): Likewise.
2745 (R_MN10300_ALIGN): Likewise.
2746 (R_MN10300_NUM): Update.
2747
b36137f1
JM
27482012-08-08 Joseph Myers <joseph@codesourcery.com>
2749
2750 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2751 Remove.
2752
cdd915fd
RM
27532012-08-08 Roland McGrath <roland@hack.frob.com>
2754
a2433aac
RM
2755 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2756
cdd915fd
RM
2757 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2758 sysdeps/unix -> sysdeps/posix move.
2759 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2760
bf9b740a
AM
27612012-08-07 Allan McRae <allan@archlinux.org>
2762
2763 [BZ #14303]
2764 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2765 (SUNOS_CPP): Likewise.
2766 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2767 not found.
2768 (open_input): Call CPP using execvp.
2769
93df14ee
JM
27702012-08-07 Joseph Myers <joseph@codesourcery.com>
2771
2772 * sysdeps/unix/sysv/linux/kernel-features.h
2773 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2774 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2775 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2776 (__ASSUME_WAITID_SYSCALL): Likewise.
2777 * sysdeps/unix/sysv/linux/dl-execstack.c
2778 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2779 code unconditional.
2780 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2781 conditional code.
2782 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2783 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2784 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2785 code.
2786 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2787 unconditional.
2788 [__ASSUME_WAITID_SYSCALL]: Likewise.
2789 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2790
d34689de
RM
27912012-08-07 Roland McGrath <roland@hack.frob.com>
2792
a281decc
RM
2793 * sysdeps/unix/closedir.c: Renamed to ...
2794 * sysdeps/posix/closedir.c: ... here.
2795 * sysdeps/unix/dirfd.c: Renamed to ...
2796 * sysdeps/posix/dirfd.c: ... here.
2797 * sysdeps/unix/dirstream.h: Renamed to ...
2798 * sysdeps/posix/dirstream.h: ... here.
2799 * sysdeps/unix/fdopendir.c: Renamed to ...
2800 * sysdeps/posix/fdopendir.c: ... here.
2801 * sysdeps/unix/opendir.c: Renamed to ...
2802 * sysdeps/posix/opendir.c: ... here.
2803 * sysdeps/unix/readdir.c: Renamed to ...
2804 * sysdeps/posix/readdir.c: ... here.
2805 * sysdeps/unix/readdir_r.c: Renamed to ...
2806 * sysdeps/posix/readdir_r.c: ... here.
2807 * sysdeps/unix/rewinddir.c: Renamed to ...
2808 * sysdeps/posix/rewinddir.c: ... here.
2809 * sysdeps/unix/seekdir.c: Renamed to ...
2810 * sysdeps/posix/seekdir.c: ... here.
2811 * sysdeps/unix/telldir.c: Renamed to ...
2812 * sysdeps/posix/telldir.c: ... here.
2813 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2814 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2815 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2816 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2817
22895b47
RM
2818 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2819 * bits/fcntl.h: ... here.
2820
707a53b6
RM
2821 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2822 not 0.
2823 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2824 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2825 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2826 (struct flock): Move l_start, l_len to the beginning.
2827 Use __pid_t for l_pid.
2828 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2829 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2830 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2831 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2832 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2833 [__USE_LARGEFILE64] (struct flock64): New type.
2834 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2835
f0bd3e25
RM
2836 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2837 * bits/dirent.h: ... here.
2838
d34689de
RM
2839 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2840 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2841
6dad2c06
JM
28422012-08-07 Joseph Myers <joseph@codesourcery.com>
2843
2844 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2845 Change from 2.6.0 to 2.6.16.
2846 * sysdeps/unix/sysv/linux/configure: Regenerated.
2847 * sysdeps/unix/sysv/linux/kernel-features.h
2848 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2849 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2850 version.
2851 (__ASSUME_UTIMES): Likewise.
2852 (__ASSUME_CLONE_STOPPED): Remove.
2853 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2854 architectures, not kernel version.
2855 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2856 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2857 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2858 (__ASSUME_WAITID_SYSCALL): Likewise.
2859 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2860 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2861 * README: State 2.6.16 as minimum Linux kernel version. Do not
2862 refer to older versions.
2863
03af9520
RM
28642012-08-06 Roland McGrath <roland@hack.frob.com>
2865
8e49df1d
RM
2866 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2867 Define alphasort64 as an alias.
2868 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2869 Define versionsort64 as an alias.
2870 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2871 Define scandir64 as an alias.
2872 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2873 Define scandirat64 as an alias.
2874 * dirent/alphasort64.c (alphasort64):
2875 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2876 * dirent/versionsort64.c: Likewise.
2877 * dirent/scandir64.c: Likewise.
2878 * dirent/scandirat64.c: Likewise.
2879 * sysdeps/wordsize-64/alphasort.c: File removed.
2880 * sysdeps/wordsize-64/alphasort64.c: File removed.
2881 * sysdeps/wordsize-64/scandir.c: File removed.
2882 * sysdeps/wordsize-64/scandir64.c: File removed.
2883 * sysdeps/wordsize-64/scandirat.c: File removed.
2884 * sysdeps/wordsize-64/scandirat64.c: File removed.
2885 * sysdeps/wordsize-64/versionsort.c: File removed.
2886 * sysdeps/wordsize-64/versionsort64.c: File removed.
2887 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2888 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2889 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2890 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2891 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2892 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2893 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2894 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2895
2896 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2897 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2898 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2900 [defined __arch64__ || defined __sparcv9]
2901 (__INO_T_MATCHES_INO64_T): New macro.
2902 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2903 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2904 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2905 * sysdeps/unix/sysv/linux/bits/dirent.h
2906 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2907 (_DIRENT_MATCHES_DIRENT64): New macro.
2908
03af9520
RM
2909 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2910 Define lockf64 as an alias.
2911 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2912 Define fseeko64 as an alias.
2913 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2914 Define ftello64 as an alias.
2915 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2916 Define _IO_fgetpos64 and fgetpos64 as aliases.
2917 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2918 Define _IO_fsetpos64 and fsetpos64 as aliases.
2919 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2920 Conditionalize body on this.
2921 * libio/fseeko64.c: Likewise.
2922 * libio/ftello64.c: Likewise.
2923 * libio/iofgetpos64.c: Likewise.
2924 * libio/iofsetpos64.c: Likewise.
2925 * sysdeps/wordsize-64/lockf.c: File removed.
2926 * sysdeps/wordsize-64/lockf64.c: File removed.
2927 * sysdeps/wordsize-64/fseeko.c: File removed.
2928 * sysdeps/wordsize-64/fseeko64.c: File removed.
2929 * sysdeps/wordsize-64/ftello.c: File removed.
2930 * sysdeps/wordsize-64/ftello64.c: File removed.
2931 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2932 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2933 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2934 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2935 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2936 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2937 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2938 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2939 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2940 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2941 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2942 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2943 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2944 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2945
2946 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2947 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2948 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2949 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2950 [defined __arch64__ || defined __sparcv9]
2951 (__OFF_T_MATCHES_OFF64_T): New macro.
2952 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2953 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2954 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2955 (__OFF_T_MATCHES_OFF64_T): New macro.
2956
c5757acd
L
29572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2958
2959 * stdlib/secure-getenv.c (__secure_getenv): Replace
2960 GLIBC_2_16 with GLIBC_2_17.
2961
3a31811e
L
29622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2963
2964 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2965 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2966
faa2bccb
DM
29672012-08-03 David S. Miller <davem@davemloft.net>
2968
2969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2970
85fe1997
JM
29712012-08-03 Joseph Myers <joseph@codesourcery.com>
2972
2973 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2974 Remove.
2975 (__ASSUME_CORRECT_SI_PID): Likewise.
2976 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2977 (__ASSUME_TMPFS_NAME): Likewise.
2978 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2979 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2980 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2981 (HAVE_AUX_SECURE): Make definition unconditional.
2982 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2983 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2984
4f75b7a0
RM
29852012-08-03 Roland McGrath <roland@hack.frob.com>
2986
2987 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2988 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2989 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2990 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2991 __eloop_threshold instead of SYMLOOP_MAX.
2992
2993 * sysdeps/generic/eloop-threshold.h: New file.
2994 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2995 of MAXSYMLINKS.
2996 * elf/chroot_canon.c (chroot_canon): Likewise.
2997
7aab07e4
JM
29982012-08-03 Joseph Myers <joseph@codesourcery.com>
2999
3000 [BZ #13717]
3001 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3002 Change to 2.6.0 everywhere.
3003 * sysdeps/unix/sysv/linux/configure: Regenerated.
3004 * sysdeps/unix/sysv/linux/kernel-features.h
3005 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3006 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3007 kernel versions.
3008 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3009 (__ASSUME_FUTEX_REQUEUE): Remove.
3010 (__ASSUME_STATFS64): Define unconditionally.
3011 (__ASSUME_AT_SECURE): Likewise.
3012 (__ASSUME_CORRECT_SI_PID): Likewise.
3013 (__ASSUME_TGKILL): Define without depending on kernel version for
3014 i386.
3015 (__ASSUME_UTIMES): Likewise.
3016 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3017 kernel version.
3018 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3019 (__ASSUME_TMPFS_NAME): Likewise.
3020 * README: Update reference to Linux kernel versions.
3021
b67e9372
MP
30222012-08-02 Marek Polacek <polacek@redhat.com>
3023
1f529f7d 3024 [BZ# 14150]
b67e9372
MP
3025 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3026 libc_cv_asm_type_prefix with %.
3027 * configure: Regenerated.
d2441631
RM
3028 * include/libc-symbols.h: Remove comment about
3029 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
3030 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3031 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3032 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3033 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3034 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3035 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3036 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3037 * elf/tst-unique2mod1.c: Likewise.
3038 * elf/tst-unique1mod2.c: Likewise.
3039 * elf/tst-unique1mod1.c: Likewise.
3040 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3041 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3042 Replace ASM_TYPE_DIRECTIVE with .type.
3043 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3044 * sysdeps/i386/sysdep.h: Likewise.
3045 * sysdeps/x86_64/sysdep.h: Likewise.
3046 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
3047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3048 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 3049 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
3050 * sysdeps/powerpc/powerpc32/sysdep.h:
3051 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
3052 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3053 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3054 * sysdeps/i386/fpu/e_powf.S: Likewise.
3055 * sysdeps/i386/fpu/e_expl.S: Likewise.
3056 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3057 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3058 * sysdeps/i386/fpu/e_pow.S: Likewise.
3059 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3060 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3061 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3062 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3063 * sysdeps/i386/fpu/e_log2.S: Likewise.
3064 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3065 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3066 * sysdeps/i386/fpu/e_powl.S: Likewise.
3067 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3068 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3069 * sysdeps/i386/fpu/e_logl.S: Likewise.
3070 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3071 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3072 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3073 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3074 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3075 * sysdeps/i386/fpu/e_log.S: Likewise.
3076 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3077 * sysdeps/i386/fpu/e_logf.S: Likewise.
3078 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3079 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3080 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3081 * sysdeps/i386/fpu/e_log10.S: Likewise.
3082 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3083 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3084 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3085 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3086 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3087 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3088 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3089 * sysdeps/i386/i686/strtok.S: Likewise.
3090 * sysdeps/i386/i386-mcount.S: Likewise.
3091 * sysdeps/i386/strtok.S: Likewise.
3092 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3093 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3094 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3095 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3096 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3097 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3098 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3099 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3100 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3101 * sysdeps/x86_64/_mcount.S: Likewise.
3102 * sysdeps/x86_64/strtok.S: Likewise.
3103 * sysdeps/sh/_mcount.S: Likewise.
3104
2747bf9a
RM
31052012-08-01 Roland McGrath <roland@hack.frob.com>
3106
3107 * libio/iofopen.c: Include <fcntl.h>.
3108 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3109 (_IO_fopen64, fopen64): Define as aliases.
3110 * libio/iofopen64.c: Include <fcntl.h>.
3111 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3112 Conditionalize body on this.
3113 * sysdeps/wordsize-64/iofopen.c: File removed.
3114 * sysdeps/wordsize-64/iofopen64.c: File removed.
3115
3fb791b8
MP
31162012-08-01 Marek Polacek <polacek@redhat.com>
3117
3118 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3119 Use dlfcn directly instead of a variable.
3120 (binfmt-subdir): Do not define.
3121 (dlfcn): Likewise.
3122
a9f1039f
JM
31232012-08-01 Joseph Myers <joseph@codesourcery.com>
3124
23bddc06
JM
3125 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3126 Remove all definitions.
3127 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3128 <kernel-features.h>.
3129 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3130 (miss_F_GETOWN_EX): Remove all definitions.
3131 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3132 macro definition.
3133 [!__ASSUME_FCNTL64]: Remove conditional code.
3134 [__ASSUME_FCNTL64]: Make code unconditional.
3135 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3136 <kernel-features.h>.
3137 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3138 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3139 (lockf64) [__NR_fcntl64]: Make code unconditional.
3140 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3141
a9f1039f
JM
3142 * sysdeps/unix/sysv/linux/kernel-features.h
3143 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3144 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3145 Make code unconditional.
3146 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3147 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3149 [__NR_vfork]: Make code unconditional.
3150 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3151 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3153 [__NR_vfork]: Make code unconditional.
3154 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3155 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3156
09c0ee5f
RM
31572012-08-01 Roland McGrath <roland@hack.frob.com>
3158
48aec5b9
RM
3159 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3160 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3161
cd97c966
RM
3162 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3163 Define mkstemp64 as an alias.
3f55550c
RM
3164 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3165 Define mkstemps64 as an alias.
cd97c966
RM
3166 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3167 Define mkostemp64 as an alias.
b8625cfc
RM
3168 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3169 Define mkostemps64 as an alias.
cd97c966
RM
3170 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3171 Conditionalize body on this.
3172 * misc/mkostemp64.c: Likewise.
b8625cfc 3173 * misc/mkostemps64.c: Likewise.
3f55550c 3174 * misc/mkstemps64.c: Likewise.
cd97c966
RM
3175 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3176 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3177 * sysdeps/wordsize-64/mkostemp.c: File removed.
3178 * sysdeps/wordsize-64/mkstemp.c: File removed.
3179 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3180 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3181 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3182 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3183
09c0ee5f
RM
3184 [BZ #14138]
3185 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3186 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3187 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3188 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3189
3190 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3191 compat_symbol macros from <shlib-compat.h> rather than the underlying
3192 default_symbol_version and symbol_version macros, so that DEFAULT
3193 lines in shlib-versions are respected.
3194 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3195
7e66ee51
FW
31962012-08-01 Florian Weimer <fweimer@redhat.com>
3197
3198 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3199 Declare with warn_unused_result.
3200 (setgid, setregid, setegid, setresgid): Likewise.
3201 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3202 Likewise.
3203 * WUR-REPORT: Remove set*id functions.
3204
d2a54255
PT
32052012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3206
3207 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3208
7ecdb005
RM
32092012-07-31 Roland McGrath <roland@hack.frob.com>
3210
789bd351
RM
3211 * include/sys/socket.h (__libc_accept, __libc_accept4):
3212 Add attribute_hidden.
3213 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3214
40ce302d
RM
3215 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3216 use of PTR_MANGLE.
3217 * inet/getnetgrent_r.c (setup): Likewise.
3218
7ecdb005
RM
3219 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3220
e2eabb2c
DM
32212012-07-31 David S. Miller <davem@davemloft.net>
3222
3223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3224
d0419dbf
JM
32252012-07-31 Joseph Myers <joseph@codesourcery.com>
3226
3227 [BZ #13629]
3228 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3229 value between 1.0 and 2.0 and smaller part has absolute value less
3230 than 1.0.
3231 * math/s_clog10.c (__clog10): Likewise.
3232 * math/s_clog10f.c (__clog10f): Likewise.
3233 * math/s_clog10l.c (__clog10l): Likewise.
3234 * math/s_clogf.c (__clogf): Likewise.
3235 * math/s_clogl.c (__clogl): Likewise.
3236 * math/libm-test.inc (clog_test): Add more tests.
3237 (clog10_test): Likewise.
3238 * sysdeps/i386/fpu/libm-test-ulps: Update.
3239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3240
2bc13872
FW
32412012-07-31 Florian Weimer <fweimer@redhat.com>
3242
3243 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3244 Exit with zero in case no suitable GID is found, and write a
3245 message to standard error.
3246
bea9b193
RM
32472012-07-30 Roland McGrath <roland@hack.frob.com>
3248
3249 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3250 rather than to 1.
3251 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3252 (MAXPATHLEN): Removed.
3253 (NOGROUP, NODEV): New macros.
3254 (setbit, clrbit, isset, isclr): New macros.
3255 (howmany, roundup, powerof2): New macros.
3256 (DEV_BSIZE): New macro.
3257
3258 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3259 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3260
3261 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3262 definition on [!__NO_LONG_DOUBLE_MATH].
3263
3264 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3265 PTR_MANGLE and PTR_DEMANGLE.
3266
3267 * socket/accept4.c (accept4): Rename to __libc_accept4.
3268 Define accept4 as a weak alias.
3269
3270 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3271 on [_DIRENT_HAVE_D_TYPE].
3272 * io/ftw.c (ftw_dir): Likewise.
3273
3274 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3275
3276 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3277
3278 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3279 Use the BSD numbers rather than the arbitrary ones we had.
3280 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3281 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3282 (SIGXCPU, SIGXFSZ): New macros.
3283 (_NSIG): Now 32.
3284
3285 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3286 initializer on [_LIBC_REENTRANT].
3287
3288 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3289 definitions inside [_POSIX_MAPPED_FILES].
3290
3291 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3292
3293 * dirent/opendir.c: Include <fcntl.h>.
3294
3295 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3296 (__libc_getspecific): Likewise.
3297 (__libc_key_create): Likewise.
3298
3299 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3300 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3301 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3302 (tmpfile64): Define as alias.
3303 * sysdeps/wordsize-64/tmpfile.c: File removed.
3304 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3305 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3306 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3307
3308 * stdio-common/vfscanf.c: Include <stdbool.h>.
3309 * nss/makedb.c: Likewise.
3310 * stdio-common/_i18n_number.h: Likewise.
3311 * argp/argp-help.c: Likewise.
3312 * posix/wordexp.c: Likewise.
3313 * sysdeps/posix/spawni.c: Likewise.
3314 * nss/nss_files/files-initgroups.c: Likewise.
3315 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3316 * nss/nss_files/files-initgroups.c: Likewise.
3317 * nss/nss_db/db-netgrp.c: Likewise.
3318 * nss/nss_db/db-initgroups.c: Likewise.
3319 * io/fchmodat.c: Include <sys/stat.h>.
3320
3321 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3322 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3323
3324 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3325 [HAVE_MMAP].
3326
3327 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3328 Add multiple inclusion protection.
3329
e5abc686
DM
33302012-07-27 David S. Miller <davem@davemloft.net>
3331
3332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3333
815e6fa3
GB
33342012-07-27 Gary Benson <gbenson@redhat.com>
3335
3336 [BZ #14298]
3337 * elf/rtld.c: Include <stap-probe.h>.
3338 (dl_main): Added static probes "init_start" and "init_complete".
3339 * elf/dl-load.c: Include <stap-probe.h>.
3340 (lose): Take new parameter "nsid".
3341 Added static probe "map_failed".
3342 (_dl_map_object_from_fd): Pass namespace id to lose.
3343 Added static probe "map_start".
3344 (open_verify): Pass namespace id to lose.
3345 * elf/dl-open.c: Include <stap-probe.h>.
3346 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3347 and "reloc_complete".
3348 * elf/dl-close.c: Include <stap-probe.h>.
3349 (_dl_close_worker): Added static probes "unmap_start" and
3350 "unmap_complete".
3351 * elf/rtld-debugger-interface.txt: New file documenting the above.
3352
9f98c16c
RM
33532012-07-26 Roland McGrath <roland@hack.frob.com>
3354
3355 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3356 rather than a string variable.
3357 * sunrpc/rpc_main.c (h_output): Likewise.
3358 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3359
f3c22df3
PT
33602012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3361
3362 * inet/check_native.c: New file.
3363
3129cfc6
JM
33642012-07-26 Joseph Myers <joseph@codesourcery.com>
3365
da865e95
JM
3366 [BZ #13629]
3367 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3368 if larger part has absolute value 1.0.
3369 * math/s_clog10.c (__clog10): Likewise.
3370 * math/s_clog10f.c (__clog10f): Likewise.
3371 * math/s_clog10l.c (__clog10l): Likewise.
3372 * math/s_clogf.c (__clogf): Likewise.
3373 * math/s_clogl.c (__clogl): Likewise.
3374 * math/libm-test.inc (clog_test): Add more tests.
3375 (clog10_test): Likewise.
3376 * sysdeps/i386/fpu/libm-test-ulps: Update.
3377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3378
3129cfc6
JM
3379 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3380 (pltexit): Likewise.
3381 (La_regs): Likewise.
3382 (La_retval): Likewise.
3383 (int_retval): Likewise.
3384 Update #error for removed macros to refer only to definitions in
3385 tst-audit.h.
3386 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3387 macro.
3388 (pltexit): Likewise.
3389 (La_regs): Likewise.
3390 (La_retval): Likewise.
3391 (int_retval): Likewise.
3392 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3393 macro.
3394 (pltexit): Likewise.
3395 (La_regs): Likewise.
3396 (La_retval): Likewise.
3397 (int_retval): Likewise.
3398 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3399 macro.
3400 (pltexit): Likewise.
3401 (La_regs): Likewise.
3402 (La_retval): Likewise.
3403 (int_retval): Likewise.
3404 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3405 macro.
3406 (pltexit): Likewise.
3407 (La_regs): Likewise.
3408 (La_retval): Likewise.
3409 (int_retval): Likewise.
3410 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3411 macro.
3412 (pltexit): Likewise.
3413 (La_regs): Likewise.
3414 (La_retval): Likewise.
3415 (int_retval): Likewise.
3416 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3417 macro.
3418 (pltexit): Likewise.
3419 (La_regs): Likewise.
3420 (La_retval): Likewise.
3421 (int_retval): Likewise.
3422 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3423 macro definitions in tst-audit.h.
3424 * sysdeps/i386/tst-audit.h: New file.
3425 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3426 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3427 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3428 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3429 * sysdeps/sh/tst-audit.h: Likewise.
3430 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3431 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3432 * sysdeps/x86_64/tst-audit.h: Likewise.
3433
bfc07087
AJ
34342012-07-26 Andreas Jaeger <aj@suse.de>
3435
b1b2aaf8
AJ
3436 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3437 ptrace.
3438
3439 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3440 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3441 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3442 PTRACE_O_MASK.
3443 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3444 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3445 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3446
bfc07087
AJ
3447 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3448 value.
3449
3450 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3451 _sigsys.
3452 (si_call_addr, si_syscall, si_arch): Define new macro.
3453 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3454 _sigsys.
3455 (si_call_addr, si_syscall, si_arch): Define new marcro.
3456 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3457 _sigsys.
3458 (si_call_addr, si_syscall, si_arch): Define new macro.
3459 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3460 _sigsys.
3461 (si_call_addr, si_syscall, si_arch): Define new macro.
3462
89b4b02f
JM
34632012-07-25 Joseph Myers <joseph@codesourcery.com>
3464
3465 [BZ #13717]
3466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3467 Change to 2.4.21 where previously 2.4.1.
3468 * sysdeps/unix/sysv/linux/configure: Regenerated.
3469 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3470 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3471 Linux kernel version.
3472 (__ASSUME_STD_AUXV): Remove.
3473 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3474 kernel version.
3475 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3476 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3477 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3478 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3479 (__ASSUME_NETLINK_SUPPORT): Likewise.
3480 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3481 (__no_netlink_support): Remove conditional definition.
3482 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3483 Remove.
3484 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3485 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3486 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3487 (if_nameindex_ioctl): Remove.
3488 (if_nameindex_netlink): Do not handle __no_netlink_support.
3489 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3490 code.
3491 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3492 Remove conditional code.
3493 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3494 code.
3495 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3496 unconditional.
3497 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3498 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3499 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3500 Remove.
3501 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3502 [!__ASSUME_STD_AUXV]: Remove conditional code.
3503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3504 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3505 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3507 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3508 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3509 code.
3510 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3512 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3513 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3514 conditional code.
3515 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3517 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3518 code.
3519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3520 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3521 conditional code.
3522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3523 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3524 code unconditional.
3525 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3526 conditional code.
3527 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3528 unconditional.
3529 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3530 conditional code.
3531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3532 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3533 unconditional.
3534 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3535 conditional code.
3536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3537 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3538 code unconditional.
3539 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3540 conditional code.
3541 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3542 unconditional.
3543 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3544 conditional code.
3545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3546 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3547 code unconditional.
3548 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3549 conditional code.
3550 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3551 unconditional.
3552 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3553 conditional code.
3554
842a39cd
AS
35552012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3556
3557 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3558 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3559 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3560 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3561 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3562 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3563 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3564 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3565 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3566 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3567 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3568 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3569 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3570 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3571 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3572 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3573 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3574 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3575 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3576 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3577 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3578 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3579 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3580
84b3fd84
FW
35812012-07-25 Florian Weimer <fweimer@redhat.com>
3582
3583 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3584 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3585 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3586 Introduce __libc_secure_getenv.
0c7936d5
FW
3587 * stdlib/Versions (2.17): Add secure_getenv
3588 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3589 * stdlib/secure-getenv.c: Rename __secure_getenv to
3590 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3591 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3592 * stdlib/tst-secure-getenv.c: New.
3593 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3594 * manual/startup.texi (Environment Access): Document
3595 secure_getenv.
84b3fd84
FW
3596 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3597 __libc_secure_getenv.
3598 * inet/ruserpass.c (ruserpass): Likewise.
3599 * malloc/mtrace.c (mtrace): Likewise.
3600 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3601 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3602 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3603 * sysdeps/posix/tempname.c: Likewise. Evaluate
3604 HAVE_SECURE_GETENV.
3605 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3606 __secure_getenv to __libc_secure_getenv.
84b3fd84 3607 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3609 Likewise.
3610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3611 Likewise.
3612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3614 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3619
56e49b71
JM
36202012-07-25 Joseph Myers <joseph@codesourcery.com>
3621
3622 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3623 (struct La_i86_retval): Likewise.
3624 (struct La_x86_64_regs): Likewise.
3625 (struct La_x86_64_retval): Likewise.
3626 (struct La_x32_regs): Likewise.
3627 (struct La_x32_retval): Likewise.
3628 (struct La_ppc32_regs): Likewise.
3629 (struct La_ppc32_retval): Likewise.
3630 (struct La_ppc64_regs): Likewise.
3631 (struct La_ppc64_retval): Likewise.
3632 (struct La_sh_regs): Likewise.
3633 (struct La_sh_retval): Likewise.
3634 (struct La_s390_32_regs): Likewise.
3635 (struct La_s390_32_retval): Likewise.
3636 (struct La_s390_64_regs): Likewise.
3637 (struct La_s390_64_retval): Likewise.
3638 (struct La_sparc32_regs): Likewise.
3639 (struct La_sparc32_retval): Likewise.
3640 (struct La_sparc64_regs): Likewise.
3641 (struct La_sparc64_retval): Likewise.
3642 (struct audit_ifaces): Remove architecture-specific pltenter and
3643 pltexit members.
3644 * sysdeps/i386/ldsodefs.h: New file.
3645 * sysdeps/powerpc/ldsodefs.h: Likewise.
3646 * sysdeps/s390/ldsodefs.h: Likewise.
3647 * sysdeps/sh/ldsodefs.h: Likewise.
3648 * sysdeps/sparc/ldsodefs.h: Likewise.
3649 * sysdeps/x86_64/ldsodefs.h: Likewise.
3650
354691b7
MP
36512012-07-25 Marek Polacek <polacek@redhat.com>
3652
3653 [BZ #6808]
3654 * math/libm-test.inc (yn_test): Add another test.
3655 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3656 to ERANGE when the result is +-Inf.
3657 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3658 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3659 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3660 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3661
bf9e2071
JM
36622012-07-24 Joseph Myers <joseph@codesourcery.com>
3663
3664 * conform/data/time.h-data (NULL): Use macro-constant. Require
3665 equal to 0.
3666 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3667 clock_t.
3668 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3669
57633811
TS
36702012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3671
3672 * configure.in <sysdeps resolving>: Correct printing
3673 Implies_before.
3674 * configure: Regenerate.
3675
c23c33b0
TS
36762012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3677
3678 * math/w_ilogb.c: Include <limits.h>.
3679 * math/w_ilogbl.c: Likewise.
3680
b5982523
JM
36812012-07-20 Joseph Myers <joseph@codesourcery.com>
3682
3683 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3684 va_copy. Document allowing for unavailable va_copy only as
3685 pre-C99 compatibility.
3686 * manual/string.texi (Copying and Concatenation): Use va_copy
3687 instead of __va_copy in concat example.
3688
ac4ea442
PT
36892012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3690
3691 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3692 (__sendto): Use create_address_port. Initialize APORT and deallocate
3693 it if not null.
3694
f98eafbd
PT
3695 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3696 with O_NOLINK passed to __file_name_lookup.
3697
898c7aab
PT
3698 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3699 with O_NOLINK passed to __file_name_lookup.
3700
0ced335a
PT
3701 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3702 negative N or less than NGIDS.
3703
b3404dbd
PT
3704 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3705 type to string_t. Set ERANGE as errno and return it if NAME is not big
3706 enough. Use memcpy instead of strncpy.
3707
0f48659e
JM
37082012-07-20 Joseph Myers <joseph@codesourcery.com>
3709
3710 * elf/Makefile (check-data): Remove.
3711 (localplt.data): New vpath directive.
3712 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3713 instead of $(check-data).
3714 * scripts/data/localplt-generic.data: Move to ...
3715 * sysdeps/generic/localplt.data: ... here.
3716 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3717 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3718 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3720 ... here.
3721 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3723 ... here.
3724 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3726 ... here.
3727 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3729 ... here.
3730 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3732 ... here.
3733 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3735 ... here.
3736
d37cbdaa
AZ
37372012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3738
3739 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3740 PPC32 and PPC64 files.
3741 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3742 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3743
46f85fc2
AK
37442012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3745
3746 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3747 __makecontext_ret to ...
3748 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3749 ... here and call exit if uc_link is NULL. New file.
3750 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3751 __makecontext_ret.S.
3752 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3753 __makecontext_ret to ...
3754 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3755 ... here and call exit if uc_link is NULL. New file.
3756 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3757 __makecontext_ret.S.
3758
08f43f9b
AK
37592012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3760
3761 * elf/elf.h (R_390_IRELATIVE): New definition.
3762 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3763 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3764 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3765 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3766 (elf_machine_lazy_rel): Likewise.
3767 * sysdeps/s390/dl-irel.h: New file.
3768 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3769 * sysdeps/s390/s390-64/memset.S: New asm code.
3770 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3771 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3772 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3773 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3774 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3775 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3776 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3777 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3778 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3779 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3780 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3781 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3782 * sysdeps/s390/s390-32/memset.S: New asm code.
3783 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3784
3b05db33
MP
37852012-07-17 Marek Polacek <polacek@redhat.com>
3786
3787 [BZ #14349]
3788 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3789 * sysdeps/s390/s390-64/configure.in: Likewise.
3790 * sysdeps/sparc/configure.in: Likewise.
3791 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3792 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3793 * sysdeps/i386/configure.in: Likewise.
3794 * sysdeps/x86_64/configure.in: Likewise.
3795 * sysdeps/sh/configure.in: Likewise.
3796 * sysdeps/s390/s390-32/configure: Regenerated.
3797 * sysdeps/s390/s390-64/configure: Likewise.
3798 * sysdeps/x86_64/configure: Likewise.
3799 * sysdeps/sh/configure: Likewise.
3800 * sysdeps/powerpc/powerpc64/configure: Likewise.
3801 * sysdeps/powerpc/powerpc32/configure: Likewise.
3802 * sysdeps/sparc/configure: Likwise.
3803 * sysdeps/i386/configure: Likewise.
3804
a66877c6
MP
3805 * elf/dl-open.c: Comment fixes.
3806
cfc82fd8
JM
38072012-07-17 Joseph Myers <joseph@codesourcery.com>
3808
bd29910a
JM
3809 * Makefile [CXX] (check-data): Remove.
3810 [CXX] (c++-types.data): New vpath directive.
3811 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3812 vpath. Do not allow for C++ type data being missing.
3813 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3814 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3815 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3816 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3817 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3818 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3819 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3821 ... here.
3822 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3824 ... here.
3825 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3827 ... here.
3828 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3830 ... here.
3831 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3833 ... here.
3834 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3836 ... here.
3837 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3839 ... here.
3840 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3842
cfc82fd8
JM
3843 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3844 definitions to architecture-specific files.
3845 (TLS_IE): Likewise.
3846 (TLS_LD): Likewise.
3847 (TLS_GD): Likewise.
3848 * sysdeps/i386/tls-macros.h: New file.
3849 * sysdeps/powerpc/tls-macros.h: Likewise.
3850 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3851 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3852 * sysdeps/sh/tls-macros.h: Likewise.
3853 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3854 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3855 * sysdeps/x86_64/tls-macros.h: Likewise.
3856
f7db3170
TS
38572012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3858
07cbfc23
TS
3859 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3860 zero value for regular exit case.
3861
f7db3170
TS
3862 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3863 (__start_context): Preserve zero value for regular exit case.
3864
dc97c227
TS
38652012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3866 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3867
3868 * manual/setjmp.texi (setcontext): Clarify normal process
3869 termination when uc_link is the null pointer.
3870 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3871 exit call.
3872
d0cd7d02
AS
38732012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3874
3875 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3876 preprocessor. Test for each exception mask separately.
3877
dd318934
AJ
38782012-07-16 Andreas Jaeger <aj@suse.de>
3879
3880 * po/ru.po: Update from translation team.
3881
8048311a
JM
38822012-07-15 Joseph Myers <joseph@codesourcery.com>
3883
3884 * conform/data/string.h-data (NULL): Use macro-constant. Require
3885 equal to 0.
3886 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3887 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3888 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3889 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3890 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3891
b637d46e
AJ
38922012-07-13 Andreas Jaeger <aj@suse.de>
3893
3894 * po/fr.po: Update from translation team.
3895
541428fe
MP
38962012-07-12 Marek Polacek <polacek@redhat.com>
3897
3898 [BZ #14173]
3899 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3900 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3901 loop condition.
3902
ec332e94
JM
39032012-07-12 Joseph Myers <joseph@codesourcery.com>
3904
3905 [BZ #13717]
3906 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3907 Change to 2.4.1 where previously 2.4.0.
3908 * sysdeps/unix/sysv/linux/configure: Regenerated.
3909 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3910 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3911 version.
3912 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3913 (__ASSUME_AT_CLKTCK): Remove.
3914 (__ASSUME_AT_PAGESIZE): Likewise.
3915 (__ASSUME_AT_XID): Likewise.
3916 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3917 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3918 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3919 unconditionally.
3920 (HAVE_AUX_PAGESIZE): Likewise.
3921 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3922 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3923 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3924
7b6e99be
JB
39252012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3926
3927 [BZ #14307]
3928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3929 the temporary buffer used to invoke __gethostbyname2_r,
3930 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3931 host_data / struct gaih_addrtuple.
3932 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3933 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3934 header file nss/nsswitch.h.
3935 * nss/nsswitch.h (global scope): Add definition of implementation
3936 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3937 resolv/nss_dns/dns-host.c).
3938
608404eb
AJ
39392012-07-11 Andreas Jaeger <aj@suse.de>
3940
3941 * po/fr.po: Update from translation team.
3942
71220aca
AJ
3943 * po/sv.po: Update from translation team
3944 * po/fr.po: Another update from translation team.
3945
28cfe843
AZ
39462012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3947
3948 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3949 for subnormals or multiply small sinh result by itself.
3950 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3952
6b90f981
DM
39532012-07-11 David S. Miller <davem@davemloft.net>
3954
3955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3956
c6825772
AS
39572012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3958
3959 [BZ #14347]
3960 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3961 (INTERNAL_MARK): Shift it here.
3962
7b8e0d49
MP
39632012-07-10 Marek Polacek <polacek@redhat.com>
3964
3965 [BZ #14151]
3966 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3967 libc_cv_asm_global_directive with .globl.
3968 * configure: Regenerated.
3969 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3970 with .globl.
3971 * sysdeps/i386/configure: Regenerated.
3972 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3973 with .globl.
3974 * sysdeps/x86_64/configure: Regenerated.
3975 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3976 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3977 * elf/tst-unique2mod2.c: Likewise.
3978 * elf/tst-unique2mod1.c: Likewise.
3979 * elf/tst-unique1mod2.c: Likewise.
3980 * elf/tst-unique1mod1.c: Likewise.
3981 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3982 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3983 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3984 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3985 * sysdeps/mach/sysdep.h: Likewise.
3986 * sysdeps/i386/sysdep.h: Likewise.
3987 * sysdeps/i386/i386-mcount.S: Likewise.
3988 * sysdeps/x86_64/_mcount.S: Likewise.
3989 * sysdeps/x86_64/sysdep.h: Likewise.
3990 * sysdeps/sh/_mcount.S: Likewise.
3991 * sysdeps/sh/sysdep.h: Likewise.
3992 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3993 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3994 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3995 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3996 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3997 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3998 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3999 * locale/localeinfo.h: Likewise.
4000 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4001 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4002
6c55cda3
RM
40032012-07-09 Roland McGrath <roland@hack.frob.com>
4004
4005 [BZ #14336]
4006 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4007 system".
4008 * manual/message.texi (The Uniforum approach): Likewise.
4009 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4010 (glibc iconv Implementation): Likewise.
4011
638a572e
JM
40122012-07-09 Joseph Myers <joseph@codesourcery.com>
4013
4014 [BZ #14337]
4015 * math/s_clog.c (__clog): Avoid scaling a value down where that
4016 could result in underflow.
4017 * math/s_clog10.c (__clog10): Likewise.
4018 * math/s_clog10f.c (__clog10f): Likewise.
4019 * math/s_clog10l.c (__clog10l): Likewise.
4020 * math/s_clogf.c (__clogf): Likewise.
4021 * math/s_clogl.c (__clogl): Likewise.
4022 * math/libm-test.inc (clog_test): Add more tests.
4023 (clog10_test): Likewise.
4024 * sysdeps/i386/fpu/libm-test-ulps: Update.
4025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4026
261f4859
AS
40272012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4028
0abaf3e4
AS
4029 [BZ #14283]
4030 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4031 by 7 not 8 to examine high bit of fractional part.
4032
261f4859
AS
4033 [BZ #14042]
4034 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4035 for call to __mcount_internal.
4036 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4037 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4038 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4039
f17ac40d
JM
40402012-07-06 Joseph Myers <joseph@codesourcery.com>
4041
9ad63c23
JM
4042 [BZ #14154]
4043 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4044 approximation for values within 0x1p-13f of an odd multiple of
4045 pi/4.
4046 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4047 exception. Add more tests.
4048 * sysdeps/i386/fpu/libm-test-ulps: Update.
4049
f17ac40d
JM
4050 [BZ #6778]
4051 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4052 inputs and return -1 for them. Do not check for +Inf in case not
4053 reachable for +Inf.
4054 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4055 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4056 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4057 and return -1 for them. Do not check for +Inf in case not
4058 reachable for +Inf.
4059 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4060 define.
4061 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4062 and return -1 for them. Do not check for +Inf in case not
4063 reachable for +Inf.
4064 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4065 spurious underflow.
4066 * sysdeps/i386/fpu/libm-test-ulps: Update.
4067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4068
fb21f89b
MF
40692012-07-06 Mike Frysinger <vapier@gentoo.org>
4070
4071 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4072
cdfe2c5e
JM
40732012-07-05 Joseph Myers <joseph@codesourcery.com>
4074
4075 [BZ #14157]
4076 [BZ #14331]
4077 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4078 could result in spurious underflow. Scale down values above
4079 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4080 * math/s_csqrtf.c (__csqrtf): Likewise.
4081 * math/s_csqrtl.c (__csqrtl): Likewise.
4082 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4083 spurious underflow.
4084 * sysdeps/i386/fpu/libm-test-ulps: Update.
4085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4086
70d35b67
AS
40872012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4088
704bc459
AS
4089 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4090 xopen-msg.sed.
4091 * catgets/xopen-msg.awk: New file.
4092 * catgets/xopen-msg.sed: Removed.
4093
70d35b67
AS
4094 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4095 po2text.sed.
4096 * intl/po2test.awk: New file.
4097 * intl/po2test.sed: Removed.
4098
ca61cf32
JM
40992012-07-04 Joseph Myers <joseph@codesourcery.com>
4100
4101 [BZ #14328]
4102 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4103 or multiply small sinh result by itself.
4104 * math/s_ctanf.c (__ctanf): Likewise.
4105 * math/s_ctanh.c (__ctanh): Likewise.
4106 * math/s_ctanhf.c (__ctanhf): Likewise.
4107 * math/s_ctanhl.c (__ctanhl): Likewise.
4108 * math/s_ctanl.c (__ctanl): Likewise.
4109 * math/libm-test.inc (ctan_test_tonearest): New function.
4110 (ctan_test_towardzero): Likewise.
4111 (ctan_test_downward): Likewise.
4112 (ctan_test_upward): Likewise.
4113 (ctanh_test_tonearest): Likewise.
4114 (ctanh_test_towardzero): Likewise.
4115 (ctanh_test_downward): Likewise.
4116 (ctanh_test_upward): Likewise.
4117 (main): Call these new functions.
4118 * sysdeps/i386/fpu/libm-test-ulps: Update.
4119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4120
ca48a46a
MF
41212012-07-03 Mike Frysinger <vapier@gentoo.org>
4122
4123 * .gitignore: Delete /ports entry.
4124
9d63d37d
AJ
41252012-07-03 Andreas Jaeger <aj@suse.de>
4126
4127 * po/bg.po: Update from translation team.
4128 * po/cs.po: Likewise.
4129 * po/de.po: Likewise.
4130 * po/hr.po: Likewise.
4131 * po/nl.pl: Likewise.
4132 * po/pl.po: Likewise.
4133 * po/vi.po: Likewise.
4134
370ca3d2
JM
41352012-07-03 Joseph Myers <joseph@codesourcery.com>
4136
95f5a9a8
JM
4137 * Makeconfig [!+link] (+link-before-libc): New variable.
4138 [!+link] (+link-after-libc): Likewise.
4139 [!+link] (+link-tests): Likewise.
4140 [!+link] (+link): Define in terms of $(+link-before-libc) and
4141 $(+link-after-libc).
4142 [!+link-static] (+link-static-before-libc): New variable.
4143 [!+link-static] (+link-static-after-libc): Likewise.
4144 [!+link-static] (+link-static-tests): Likewise.
4145 [!+link-static] (+link-static): Define in terms of
4146 $(+link-static-before-libc) and $(+link-static-after-libc).
4147 [build-shared] (link-libc-before-gnulib): New variable.
4148 [build-shared] (link-libc-tests): Likewise.
4149 [build-shared] (link-libc): Define in terms of
4150 $(link-libc-before-gnulib).
4151 [!build-shared] (link-libc-tests): New variable.
4152 (link-libc-static-tests): New variable.
4153 [!gnulib] (gnulib-arch): New variable.
4154 [!gnulib] (gnulib-tests): Likewise.
4155 [!gnulib] (static-gnulib-arch): Likewise.
4156 [!gnulib] (static-gnulib-tests): Likewise.
4157 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4158 Define with "=" instead of ":=".
4159 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4160 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4161 * Rules (binaries-all-notests): New variable.
4162 (binaries-all-tests): Likewise.
4163 (binaries-static-notests): Likewise.
4164 (binaries-static-tests): Likewise.
4165 (binaries-all): Define using $(binaries-all-notests) and
4166 $(binaries-all-tests).
4167 (binaries-static): Define using $(binaries-static-notests) and
4168 $(binaries-static-tests).
4169 (binaries-shared-tests): New variable.
4170 (binaries-shared-notests): Likewise.
4171 (binaries-shared): Remove variable.
4172 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4173 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4174 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4175 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4176 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4177 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4178 * elf/Makefile (sln-modules): New variable.
4179 (extra-objs): Add $(sln-modules:=.o).
4180 (ldconfig-modules): Add static-stubs.
4181 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4182 * elf/static-stubs.c: New file.
4183
7a845b2c
JM
4184 [BZ #14283]
4185 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4186 by 7 not 8 to examine high bit of fractional part. Use volatile
4187 variables when splitting into final array of floats if
4188 __FLT_EVAL_METHOD__ != 0.
4189 * math/libm-test.inc (cos_test): Add another test.
4190 (sin_test): Likewise.
4191 * sysdeps/i386/fpu/libm-test-ulps: Update.
4192
e2283f38
JM
4193 [BZ #14273]
4194 * math/libm-test.inc (cosh_test): Add more tests.
4195
370ca3d2
JM
4196 * version.h (RELEASE): Set to "development".
4197 (VERSION): Set to "2.16.90".
4198
ee9247c3
CD
41992012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4200
4201 * NEWS: Update copyright. Remove last-updated date.
4202 Mention math library bug fixes and timezone data changes.
4203 * README: Mention GNU/Hurd, x32, and HPPA support status.
4204
4648c381
TS
42052012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4206
4207 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4208
aac78a43
AJ
42092012-06-27 Andreas Jaeger <aj@suse.de>
4210
4211 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4212
ed3dbfad
AJ
42132012-06-25 Andreas Jaeger <aj@suse.de>
4214
4215 * sysdeps/s390/fpu/libm-test-ulps: Update.
4216
4d0ee855
AS
42172012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4218 Thomas Schwinge <thomas@codesourcery.com>
4219
4220 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4221 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4222 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4223 fanotify_mark.
4224
af1bce34
TS
42252012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4226
a9fa33ba
TS
4227 * sysdeps/mach/start.c: Remove file.
4228 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4229 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4230 * sysdeps/sh/init-first.c: Likewise.
4231
58f902b8
TS
4232 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4233 registers for frame unwinding purposes, add CFI directives.
4234 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4235 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4236 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4237 Likewise.
4238
1518f58b
TS
4239 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4240 __fortify_fail returning.
4241 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4242
db9b5059
TS
4243 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4244 sysdeps/sh/____longjmp_chk.S.
4245 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4246 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4247 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4248 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4249
967705fe
TS
4250 * sysdeps/sh/abort-instr.h: New file.
4251 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4252 process in case exit returns.
4253
a9def8c4
TS
4254 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4255 initialize the GOT register before use.
4256
2a649725
TS
4257 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4258 calculation of ARGC > 4.
4259
af1bce34
TS
4260 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4261 meaningful names to some local labels.
4262
d230f50a
KK
42632012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4264 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4265
4266 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4267 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4268 (__arch_compare_and_exchange_val_16_acq): Likewise.
4269 (__arch_compare_and_exchange_val_32_acq): Likewise.
4270 (atomic_exchange_and_add): Fix gUSA sequence.
4271 (atomic_add): Likewise.
4272 (atomic_add_negative): Likewise.
4273 (atomic_add_zero): Likewise.
4274 (atomic_bit_test_set): Likewise.
4275
0479b305
AS
42762012-06-22 Andreas Schwab <schwab@redhat.com>
4277
4278 [BZ #13579]
4279 * include/link.h (struct link_map): Add l_free_initfini.
4280 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4281 l_initfini.
4282 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4283 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4284 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4285 set.
4286
0e3933b9
CD
42872012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4288
4289 * configure.in: Use AC_LANG_SOURCE.
4290 * configure: Regenerate.
4291
4248b1b1
RM
42922012-06-22 Roland McGrath <roland@hack.frob.com>
4293
4294 * configure.in (libc_cv_localstatedir): New substituted variable.
4295 * configure: Regenerated.
4296 * config.make.in (localstatedir): New variable, substituted from
4297 libc_cv_localstatedir.
4298 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4299 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4300 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4301 * sysdeps/gnu/configure: Regenerated.
4302
006dd861
JL
43032012-06-21 Jeff Law <law@redhat.com>
4304
4305 [BZ #14277]
4306 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4307 free. Simplify list management for _LIBC case.
4308
79662d42
JM
43092012-06-21 Joseph Myers <joseph@codesourcery.com>
4310
b7abb4bf
JM
4311 [BZ #14273]
4312 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4313 Clear sign bit of 64-bit integer value before comparing against
4314 overflow value.
4315
79662d42
JM
4316 * sysdeps/mach/configure: Regenerated.
4317
1f150908
L
43182012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4319
4320 [BZ #14278]
4321 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4322
28363bbf
JL
43232012-06-21 Jeff Law <law@redhat.com>
4324
4325 [BZ #13882]
4326 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4327 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4328 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4329 * elf/dl-open.c (dl_open_worker): Likewise.
4330
09615db4
CD
43312012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4332
4333 * scripts/list-sources.sh: Scan PORTS for translations.
4334 * po/libc.pot: Regenerated.
4335
2174c6dd
AJ
43362012-06-21 Andreas Jaeger <aj@suse.de>
4337
4338 [BZ #12194]
4339 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4340 warning.
4341 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4342 * bits/byteswap-16.h (__bswap_16): Likewise.
4343 * bits/byteswap.h (__bswap_constant_16): Likewise.
4344
3ee947b1
L
43452012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4346
4347 [BZ #14117]
a2f34833
L
4348 * sysdeps/i386/fpu_control.h: Removed.
4349 * sysdeps/x86_64/fpu_control.h: Moved to ...
4350 * sysdeps/x86/fpu_control.h: Here.
4351
3ee947b1
L
4352 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4353 (_FPU_SETCW): Likewise.
4354
ed1825f8
L
43552012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4356
25f1282a
L
4357 [BZ #14117]
4358 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4359 * sysdeps/x86/fpu/bits/mathinline.h: This.
4360 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4361
ed1825f8
L
4362 [BZ #14050]
4363 [BZ #14117]
4364 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4365 functions if __x86_64__ is defined.
4366
36d54b74
CLT
43672012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4368
4369 * string/endian.h: Add !__ASSEMBLER__ condition for including
4370 conversion interfaces.
4371
10285c21
JM
43722012-06-15 Joseph Myers <joseph@codesourcery.com>
4373
4374 [BZ #14241]
4375 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4376 of ABS(x) in calculating zero to negative powers other than odd
4377 integers.
4378 * math/libm-test.inc (pow_test): Add more tests.
4379
06c5abbd
AJ
43802012-06-15 Andreas Jaeger <aj@suse.de>
4381
4382 * manual/contrib.texi (Contributors): Update entry of Liubov
4383 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4384 Machado Filho.
4385
a3aeac40
CH
43862012-06-15 Cyril Hrubis <metan@ucw.cz>
4387
4388 * string/string.h: Add __wur to GNU version of strerror_r.
4389
49bdf4c1
L
43902012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4391
4392 [BZ #14229]
4393 * string/Makefile (tests): Add tst-strtok_r.
4394 * string/tst-strtok_r.c: New file.
4395 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4396 RAX_LP/RDX_LP on SAVE_PTR.
4397
834f9b8d
RM
43982012-06-14 Roland McGrath <roland@hack.frob.com>
4399
4400 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4401
75fa1921
JM
44022012-06-14 Joseph Myers <joseph@codesourcery.com>
4403
4404 * libm_test.inc (csqrt_test): Allow more spurious underflow
4405 exceptions.
4406 (j0_test): Likewise.
4407 (j1_test): Likewise.
4408 (y0_test): Likewise.
4409 (y1_test): Likewise.
4410
771766df
CD
44112012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4412
4413 * po/Makefile (libc.pot): Use UTF-8 charset.
4414
ceb9e56b
PP
44152012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4416
4417 [BZ #14210]
4418 Suppress sign-conversion warning from FD_SET.
4419 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4420 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4421 not unsigned long int.
4422 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4423
ddb28975
L
44242012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4425
4426 [BZ #14050]
4427 [BZ #14117]
4428 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4429 __extern_always_inline instead of __extern_inline.
4430 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4431 (__signbit): Likewise.
4432 (__signbitl): Support C++ namespace.
4433 (lrintf): New inline function.
4434 (lrint): Likewise.
4435 (llrintf): Likewise.
4436 (llrint): Likewise.
4437 (fmaxf): Likewise.
4438 (fmax): Likewise.
4439 (fminf): Likewise.
4440 (fmin): Likewise.
4441 (rint): Likewise.
4442 (rintf): Likewise.
4443 (ceil): Likewise.
4444 (ceilf): Likewise.
4445 (floor): Likewise.
4446 (floorf): Likewise.
4447 (nearbyint): Likewise.
4448 (nearbyintf): Likewise.
4449
d7b4fb26
TS
44502012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4451
4452 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4453 non-default versions.
4454
eb55f5c2
RM
44552012-06-11 Roland McGrath <roland@hack.frob.com>
4456
4457 [BZ #14218]
4458 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4459
366af02c
TS
44602012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4461
99ff6e5c
TS
4462 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4463 (FE_UPWARD, FE_DOWNWARD): Don't define.
4464 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4465 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4466
366af02c
TS
4467 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4468 reading it.
4469 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4470 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4471
793ea851
KK
44722012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4473
4474 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4475 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4476 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4477 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4478
a728a38f
L
44792012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4480
4481 [BZ #14117]
c08010c7
L
4482 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4483 * sysdeps/i386/fpu/Implies: New file.
4484 * sysdeps/x86_64/fpu/Implies: Likewise.
4485 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4486 * sysdeps/x86/fpu/bits/fenv.h: This.
4487
a728a38f
L
4488 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4489 __SSE_MATH__.
4490
6e230d11
SP
44912012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4492
4493 [BZ #14134]
4494 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4495 character 0xffff that matches the last element of the
4496 conversion table.
4497
1b671feb
AZ
44982012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4499
4500 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4501 fmodl commit.
4502
6043738b
AZ
45032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4504
4505 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4506 values higher than 25.6283.
4507
34ae0b32
AZ
45082012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4509
4510 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4511 subnormal exponent extraction and add some __builtin_expect.
4512 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4513 Fix for subnormal mantissa calculation.
4514
1214ec8f
MF
45152012-06-04 Mike Frysinger <vapier@gentoo.org>
4516
4517 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4518 cpu2 is -1 and errno is not ENOSYS.
4519
f3d1f93c
L
45202012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4521
4522 [BZ #14117]
0e4a3cd7
L
4523 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4524 * sysdeps/x86/bits/string.h: This.
4525 * sysdeps/x86_64/bits/string.h: Removed.
4526
6704c645
L
4527 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4528 if not compiling for x86-64, but compiling for >= i486.
4529
48495318
L
4530 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4531 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4532
14adcbfc
L
4533 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4534 New macro from Linux kernel 3.4.0.
4535 (FP_XSTATE_MAGIC2): Likewise.
4536 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4537 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4538 (struct _fpx_sw_bytes): New struct.
4539 (struct _xsave_hdr): Likewise.
4540 (struct _ymmh_state): Likewise.
4541 (struct _xstate): Likewise.
4542
68e408ab
L
4543 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4544 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4545 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4546 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4547 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4548 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4549
f3d1f93c
L
4550 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4551 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4552 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4553 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4554 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4555 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4556
d9dc34cd
TMQMF
45572012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4558
4559 [BZ #13743]
4560 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4561 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4562 (sysdep_headers): Include sys/platform/ppc.h.
4563 * sysdeps/powerpc/test-gettimebase.c: Test for
4564 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4565 * manual/Makefile (appendices): Include platform.texi.
4566 * manual/contrib.texi (Contributors): Update @node pointers.
4567 * manual/maint.texi (Maintenance): Likewise.
4568 (Platform): New node.
4569 * manual/platform.texi: New file. Document the new features.
4570
4af3879c
SP
45712012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4572 Jakub Jelinek <jakub@redhat.com>
4573
4574 [BZ #14188]
4575 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4576 where __builtin_expect is unavailable.
4577
2fd6ff13
DM
45782012-06-03 David S. Miller <davem@davemloft.net>
4579
4580 * stdlib/longlong.h: Updated from GCC.
4581
173f7220
AS
45822012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4583
4584 [BZ #14042]
4585 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4586 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4587 __mcount_internal.
4588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4589 (GLIBC_2.16): Likewise.
4590
f34a1c6f
L
45912012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4592
4593 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4594
88a4576f
JM
45952012-06-01 Joseph Myers <joseph@codesourcery.com>
4596
ea32bcdd
JM
4597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4598 (default-abi): New variable.
4599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4600 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4601 variable.
4602 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4603 Likewise.
4604 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4605 Likewise.
4606 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4607 Likewise.
4608
88a4576f
JM
4609 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4610 definition. Document in comment.
4611
402fe938
DM
46122012-06-01 David S. Miller <davem@davemloft.net>
4613
4614 * stdlib/longlong.h: Updated from GCC.
4615
3553723f
L
46162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4617
4618 [BZ #14117]
3bd872c4
L
4619 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4620 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4621 sys/debugreg.h sys/io.h here.
4622 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4623 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4624 sys/io.h.
4625 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4626 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4627 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4628 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4629 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4630 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4631
3553723f
L
4632 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4633 Define only if __x86_64__ is defined.
4634
4842e4fe
JM
46352012-06-01 Joseph Myers <joseph@codesourcery.com>
4636
c5bfe3d5
JM
4637 [BZ #14048]
4638 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4639 Use int64_t for variable i.
4640 * math/libm-test.inc (fmod_test): Add more tests.
4641
4842e4fe
JM
4642 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4643 z computation is not scheduled after fetestexcept.
4644 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4645 Use math_force_eval instead of asm to ensure calculation scheduled
4646 before exception test.
4647 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4648 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4649
efb73488
AJ
46502012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4651
4652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4653 computation is not scheduled after fetestexcept.
4654
29bcce7c
L
46552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4656
4657 [BZ #14117]
4658 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4659 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4660
73a68f94
AZ
46612012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4662
4663 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4664 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4665
67b6df78
L
46662012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4667
edf2933a 4668 [BZ #14117]
ebc64a18
L
4669 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4670 <bits/wordsize.h>.
4671 (__WCHAR_MIN): Support __WORDSIZE == 64.
4672 (__WCHAR_MAX): Likewise.
4673
edf2933a
L
4674 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4675 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4676
57c6cf40
L
4677 [BZ #14183]
4678 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4679 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4680
67b6df78 4681 [BZ #14117]
8eb6281e
L
4682 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4683 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4684
aac639f4
L
4685 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4686 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4687
67b6df78
L
4688 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4689 Defined to 1 if __x86_64__ isn't defined.
4690 (_STAT_VER_LINUX_OLD): New.
4691 (st_atime): Remove duplicate.
4692 (st_mtime): Likewise.
4693 (st_ctime): Likewise.
4694
1c2cfe81
DM
46952012-05-31 David S. Miller <davem@davemloft.net>
4696
4697 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4698 entries.
4699
5be8418c
AS
47002012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4701
e7725326
AS
4702 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4703 gen-libm-test.pl.
4704
5be8418c
AS
4705 [BZ #14132]
4706 * elf/dl-reloc.c: Include <_itoa.h>.
4707 (_dl_reloc_bad_type): Remove use of INTUSE.
4708 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4709 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4710 * stdio-common/psiginfo.c (psiginfo): Likewise.
4711 * stdio-common/psignal.c (psignal): Likewise.
4712 * string/strsignal.c (strsignal): Likewise.
4713 * include/signal.h (_sys_siglist): Declare hidden proto.
4714 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4715 INTVARDEF with libc_hidden_data_def.
4716 * stdio-common/itoa-udigits.c: Likewise.
4717 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4718 (_itoa_lower_digits_internal): Remove declaration.
4719 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4720 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4721 (_sys_sigabbrev_internal): Remove aliases.
4722 (_sys_siglist): Define hidden alias.
4723
507352f1
MT
47242012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4725
4726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4727 bits/sysctl.h.
4728
42bbb1c3
L
47292012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4730
4731 [BZ #14117]
6bd784b6
L
4732 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4733 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4734
8bca20f0
L
4735 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4736 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4737 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4738 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4739 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4740 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4741
f9e890a9
L
4742 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4743 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4744 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4745
471101a1
L
4746 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4747 with __addr.
4748 (insw): Likewise.
4749 (insl): Likewise.
4750 (outsb): Likewise.
4751 (outsw): Likewise.
4752 (outsl): Likewise.
4753
6451c862
L
4754 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4755 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4756 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4757
a254b8c9
L
4758 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4759 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4760 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4761 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4762 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4763 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4764
b8dfdd92
L
4765 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4766 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4767
578cd270
L
4768 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4769 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4770
de662f5f
L
4771 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4772 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4773 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4774
25653439
L
4775 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4776 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4777 to ...
4778 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4779
6bad24a0
L
4780 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4781 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4782 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4783
42bbb1c3
L
4784 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4785 for x86-64.
4786 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4787
2d10d547
JM
47882012-05-31 Joseph Myers <joseph@codesourcery.com>
4789
4790 * math/math.h (M_El): Use two more decimal places.
4791 (M_LOG2El): Likewise.
4792 (M_LOG10El): Likewise.
4793 (M_LN2l): Likewise.
4794 (M_LN10l): Likewise.
4795 (M_PIl): Likewise.
4796 (M_PI_2l): Likewise.
4797 (M_PI_4l): Likewise.
4798 (M_1_PIl): Likewise.
4799 (M_2_PIl): Likewise.
4800 (M_2_SQRTPIl): Likewise.
4801 (M_SQRT2l): Likewise.
4802 (M_SQRT1_2l): Likewise.
4803
f230c29b
DM
48042012-05-31 David S. Miller <davem@davemloft.net>
4805
4806 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4807 values between float registers.
4808 * sysdeps/sparc/sparc64/memset.S: Likewise.
4809 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4810
fed806c3
MF
48112012-05-31 Mike Frysinger <vapier@gentoo.org>
4812
4813 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4814 -D_FORTIFY_SOURCE=1.
4815 (CPPFLAGS-tst-longjmp_chk.c): Define.
4816 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4817 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4818 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4819 CFLAGS-tst-wchar-h.c.
4820
30917259
MP
48212012-05-31 Marek Polacek <polacek@redhat.com>
4822
4823 [BZ #14132]
4824 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4825 __endmntent_internal): Remove declaration.
4826 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4827 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4828 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4829
1c58d5dc
DM
48302012-05-30 David S. Miller <davem@davemloft.net>
4831
4832 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4833 (___Q_simulate_exceptions): Use real FP ops rather than writing
4834 into the %fsr.
4835 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4836 Likewise.
4837
7dc00e0d
L
48382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4839
4840 [BZ #14117]
0bd53985
L
4841 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4842 * sysdeps/x86/bits/xtitypes.h: This.
4843
3a257e66
L
4844 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4845 * sysdeps/x86/bits/wordsize.h: This.
4846
62f62904
L
4847 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4848 * sysdeps/x86/bits/huge_vall.h: This.
4849
404fe9d9
L
4850 * sysdeps/i386/bits/select.h: Removed.
4851 * sysdeps/x86_64/bits/select.h: Renamed to ...
4852 * sysdeps/x86/bits/select.h: This.
4853
d48d0446
L
4854 * sysdeps/i386/bits/setjmp.h: Removed.
4855 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4856 * sysdeps/x86/bits/setjmp.h: This.
4857
7dc00e0d
L
4858 * sysdeps/i386/bits/mathdef.h: Removed.
4859 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4860 * sysdeps/x86/bits/mathdef.h: This.
4861
03277f8f
AS
48622012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4863
4864 [BZ #14132]
4865 * include/sys/socket.h (__connect_internal)
4866 (__libc_sa_len_internal): Remove declaration.
4867 (__connect, __libc_sa_len): Declare hidden_proto.
4868 (SA_LEN): Remove use of INTUSE.
4869 * socket/connect.c: Add libc_hidden_def.
4870 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4871 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4872 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4873 alias.
4874 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4875 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4876 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4877 of adding _internal alias.
4878
13764867
L
48792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4880
4881 [BZ #14117]
6bd97696
L
4882 * sysdeps/i386/bits/link.h: Removed.
4883 * sysdeps/i386/bits/linkmap.h: Likewise.
4884 * sysdeps/x86_64/bits/link.h: Renamed to ...
4885 * sysdeps/x86/bits/link.h: This.
4886 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4887 * sysdeps/x86/bits/linkmap.h: This.
4888
f726f0bb
L
4889 * sysdeps/i386/bits/endian.h: Removed.
4890 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4891 * sysdeps/x86/bits/endian.h: This.
4892
13764867
L
4893 * sysdeps/i386/bits/byteswap.h: Removed.
4894 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4895 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4896 * sysdeps/x86/bits/byteswap.h: This.
4897 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4898 * sysdeps/x86/bits/byteswap-16.h: This.
4899 * sysdeps/i386/Implies: Add x86.
4900 * sysdeps/x86_64/Implies: Likewise.
4901
ae251b0b
DM
49022012-05-30 David S. Miller <davem@davemloft.net>
4903
4904 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4905 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4906 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4907 (FP_TRAPPING_EXCEPTIONS): Define.
4908 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4909 (FP_TRAPPING_EXCEPTIONS): Define.
4910 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4911 subnormals only when inexact has been signalled or underflow
4912 exceptions are enabled.
4913 (_FP_PACK_CANONICAL): Likewise.
4914
d5c90867
L
49152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4916
4917 [BZ #14183]
4918 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4919 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4920
63f1549e
RH
49212012-05-30 Richard Henderson <rth@twiddle.net>
4922
8d8f2279
RH
4923 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4924 with #ifndef NOT_IN_libc.
4925
63f1549e
RH
4926 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4927 marked to avoid plt entry.
4928
0ab0291b
L
49292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4930
4931 [BZ #14112]
4932 * Makeconfig (default-abi): New macro.
4933 (abi-includes): Likewise.
4934 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4935 $(abi-$(default-abi)-lib-soname) for soname if defined.
4936 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4937 abi-variants.
4938 * Makefile (installed-stubs): Likewise.
4939 * include/stubs-biarch.h: Removed.
4940 * scripts/lib-names.awk: Only handle one library at a time.
4941 * scripts/soversions.awk: Remove WORDSIZE support.
4942 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4943 entries.
4944 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4945 Removed.
4946 (syscall-list-default-condition): Likewise.
4947 (syscall-list-default-condition): Likewise.
4948 (syscall-list-includes): Likewise.
4949 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4950 syscall-list-* with abi-*. Handle undefined abi-variants.
4951 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4952 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4953 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4954 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4955 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4956 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4957 Removed.
4958 (syscall-list-32-options): Likewise.
4959 (syscall-list-32-condition): Likewise.
4960 (syscall-list-64-options): Likewise.
4961 (syscall-list-64-condition): Likewise.
4962 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4963 macro.
4964 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4965 Renamed to ...
4966 (abi-*): This.
4967 (abi-64-ld-soname): New macro.
4968 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4969 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4970 Renamed to ...
4971 (abi-*): This.
4972 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4973 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4974
4da0431d
JM
49752012-05-30 Joseph Myers <joseph@codesourcery.com>
4976
3a85279c
JM
4977 * sysdeps/unix/sysv/linux/kernel-features.h
4978 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4979 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4980 include <kernel-features.h>.
4981 [!__NR_ftruncate64]: Remove conditional code.
4982 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4983 [__NR_ftruncate64]: Make code unconditional.
4984 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4985 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4986 include <kernel-features.h>.
4987 [!__NR_ftruncate64]: Remove conditional code.
4988 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4989 [__NR_ftruncate64]: Make code unconditional.
4990 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4992 include <kernel-features.h>.
4993 [!__NR_ftruncate64]: Remove conditional code.
4994 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4995 [__NR_ftruncate64]: Make code unconditional.
4996 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4998 include <kernel-features.h>.
4999 [!__NR_ftruncate64]: Remove conditional code.
5000 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5001 [__NR_ftruncate64]: Make code unconditional.
5002 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5003
4da0431d
JM
5004 * configure.in (libc_cv_fpie): Weaken to a compile test using
5005 LIBC_TRY_CC_OPTION.
5006 * configure: Regenerated.
5007
11ef492c
AK
50082012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5009
5010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5014 Refreshed.
5015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5021 Refreshed.
5022
d66ef399
DM
50232012-05-27 David S. Miller <davem@davemloft.net>
5024
5025 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5026 (___Q_zero): New.
5027 (__Q_simulate_exceptions): Return void. Change to simulate
5028 exceptions by writing into the %fsr.
5029 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5030 (__Qp_handle_exceptions): Likewise.
5031 (numbers): Delete.
5032 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5033 __Qp_handle_exceptions.
5034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5035 __Qp_handle_exceptions.
5036 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5037 as unused and give dummy FP_RND_NEAREST initializer.
5038 (FP_INHIBIT_RESULTS): Define.
5039 (___Q_simulate_exceptions): Update declaration.
5040 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5041 formatting.
5042 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5043 as unused and give dummy FP_RND_NEAREST initializer.
5044 (__Qp_handle_exceptions): Update declaration.
5045 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5046 formatting.
5047
04fb54b5
TS
50482012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5049
5050 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5051 the temporary FPU control word.
5052 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5053 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5054 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5055 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5056 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5057 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5058 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5059 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5060 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5061 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5062 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5063
3f99608f
KK
50642012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5065
5066 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5067 fields.
5068
65a4de4e
CLT
50692012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5070
5071 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5072 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5073 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5074 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5075 Likewise.
5076 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5077 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5078 Likewise.
5079
15749d40
UD
50802012-05-27 Ulrich Drepper <drepper@gmail.com>
5081
5082 * po/h.po: Update from translation team.
5083
25dbcb27
AS
50842012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5085
3d3f8e55
AS
5086 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5087
25dbcb27
AS
5088 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5089 handling of denormals.
5090 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5091 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5092 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5093 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5094 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5095 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5096 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5097 Likewise.
5098
7ad47a80 50992012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
5100
5101 [BZ #14152]
5102 * math/libm-test.inc (fma_test): Don't always expect underflow
5103 exception.
5104
9c6ea9fa
SP
51052012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5106
5107 [BZ #12416]
5108 * elf/tst-execstack.c: Include stackinfo.h.
5109 (do_test): Adjust test case to ensure that pthread_getattr_np
5110 behaviour remains the same after marking stack executable.
5111
a8239222
JM
51122012-05-25 Joseph Myers <joseph@codesourcery.com>
5113
5114 * sysdeps/unix/sysv/linux/kernel-features.h
5115 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5116 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5117 kernel-features.h.
5118 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5119 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5120 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5121 kernel-features.h.
5122 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5123 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5124
918b5606
L
51252012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5126
5127 * configure.in: Define the default includes to being none.
5128 * configure: Regenerated.
5129
3a097cc7
RM
51302012-05-25 Roland McGrath <roland@hack.frob.com>
5131
8422c9a5
RM
5132 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5133 * sysdeps/x86_64/setjmp.S: Likewise.
5134 * sysdeps/i386/bsd-setjmp.S: Likewise.
5135 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5136 * sysdeps/i386/setjmp.S: Likewise.
5137 * sysdeps/i386/__longjmp.S: Likewise.
5138 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5139 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5140
3a097cc7
RM
5141 * include/stap-probe.h: New file.
5142 * configure.in: Handle --enable-systemtap.
5143 * configure: Regenerated.
5144 * config.h.in (USE_STAP_PROBE): New #undef.
5145 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5146 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5147 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5148
21708942
JM
51492012-05-25 Joseph Myers <joseph@codesourcery.com>
5150
5151 [BZ #13717]
5152 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5153 to 2.4.0 where earlier.
5154 * sysdeps/unix/sysv/linux/configure: Regenerated.
5155 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5156 <kernel-features.h>.
5157 [__ASSUME_32BITUIDS]: Make code unconditional.
5158 [!__ASSUME_32BITUIDS]: Remove conditional code.
5159 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5160 <kernel-features.h>.
5161 [__ASSUME_32BITUIDS]: Make code unconditional.
5162 [!__ASSUME_32BITUIDS]: Remove conditional code.
5163 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5164 [__ASSUME_32BITUIDS]: Make code unconditional.
5165 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5166 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5167 <kernel-features.h>.
5168 [__ASSUME_32BITUIDS]: Make code unconditional.
5169 [!__ASSUME_32BITUIDS]: Remove conditional code.
5170 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5171 <kernel-features.h>.
5172 [__ASSUME_32BITUIDS]: Make code unconditional.
5173 [!__ASSUME_32BITUIDS]: Remove conditional code.
5174 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5175 <kernel-features.h>.
5176 [__ASSUME_32BITUIDS]: Make code unconditional.
5177 [!__ASSUME_32BITUIDS]: Remove conditional code.
5178 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5179 <kernel-features.h>.
5180 [__ASSUME_32BITUIDS]: Make code unconditional.
5181 [!__ASSUME_32BITUIDS]: Remove conditional code.
5182 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5183 <kernel-features.h>.
5184 [__ASSUME_32BITUIDS]: Make code unconditional.
5185 [!__ASSUME_32BITUIDS]: Remove conditional code.
5186 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5187 <kernel-features.h>.
5188 [__ASSUME_32BITUIDS]: Make code unconditional.
5189 [!__ASSUME_32BITUIDS]: Remove conditional code.
5190 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5191 <kernel-features.h>.
5192 [__ASSUME_32BITUIDS]: Make code unconditional.
5193 [!__ASSUME_32BITUIDS]: Remove conditional code.
5194 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5195 <kernel-features.h>.
5196 [__ASSUME_32BITUIDS]: Make code unconditional.
5197 [!__ASSUME_32BITUIDS]: Remove conditional code.
5198 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5199 <kernel-features.h>.
5200 [__ASSUME_32BITUIDS]: Make code unconditional.
5201 [!__ASSUME_32BITUIDS]: Remove conditional code.
5202 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5203 <kernel-features.h>.
5204 [__ASSUME_32BITUIDS]: Make code unconditional.
5205 [!__ASSUME_32BITUIDS]: Remove conditional code.
5206 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5207 <kernel-features.h>.
5208 [__NR_setresgid] (__setresgid): Do not declare.
5209 [__ASSUME_32BITUIDS]: Make code unconditional.
5210 [!__ASSUME_32BITUIDS]: Remove conditional code.
5211 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5212 <kernel-features.h>.
5213 [__NR_setresuid] (__setresuid): Do not declare.
5214 [__ASSUME_32BITUIDS]: Make code unconditional.
5215 [!__ASSUME_32BITUIDS]: Remove conditional code.
5216 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5217 <kernel-features.h>.
5218 [__ASSUME_32BITUIDS]: Make code unconditional.
5219 [!__ASSUME_32BITUIDS]: Remove conditional code.
5220 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5221 <kernel-features.h>.
5222 [__ASSUME_32BITUIDS]: Make code unconditional.
5223 [!__ASSUME_32BITUIDS]: Remove conditional code.
5224 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5225 <kernel-features.h>.
5226 [__ASSUME_32BITUIDS]: Make code unconditional.
5227 [!__ASSUME_32BITUIDS]: Remove conditional code.
5228 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5229 <kernel-features.h>.
5230 [__ASSUME_32BITUIDS]: Make code unconditional.
5231 [!__ASSUME_32BITUIDS]: Remove conditional code.
5232 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5233 <kernel-features.h>.
5234 [__ASSUME_32BITUIDS]: Make code unconditional.
5235 [!__ASSUME_32BITUIDS]: Remove conditional code.
5236 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5237 <kernel-features.h>.
5238 [__ASSUME_32BITUIDS]: Make code unconditional.
5239 [!__ASSUME_32BITUIDS]: Remove conditional code.
5240 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5241 <kernel-features.h>.
5242 [__ASSUME_32BITUIDS]: Make code unconditional.
5243 [!__ASSUME_32BITUIDS]: Remove conditional code.
5244 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5245 <kernel-features.h>.
5246 [__ASSUME_32BITUIDS]: Make code unconditional.
5247 [!__ASSUME_32BITUIDS]: Remove conditional code.
5248 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5249 <kernel-features.h>.
5250 [__ASSUME_32BITUIDS]: Make code unconditional.
5251 [!__ASSUME_32BITUIDS]: Remove conditional code.
5252 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5253 <kernel-features.h>.
5254 [__ASSUME_32BITUIDS]: Make code unconditional.
5255 [!__ASSUME_32BITUIDS]: Remove conditional code.
5256 * sysdeps/unix/sysv/linux/kernel-features.h
5257 (__ASSUME_SETRESUID_SYSCALL): Remove.
5258 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5259 (__ASSUME_32BITUIDS): Likewise.
5260 (__ASSUME_LDT_WORKS): Likewise.
5261 (__ASSUME_O_DIRECTORY): Likewise.
5262 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5263 architecture but not kernel version.
5264 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5265 (__ASSUME_MMAP2_SYSCALL): Likewise.
5266 (__ASSUME_STAT64_SYSCALL): Likewise.
5267 (__ASSUME_IPC64): Likewise.
5268 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5269 <kernel-features.h>.
5270 [__ASSUME_32BITUIDS]: Make code unconditional.
5271 [!__ASSUME_32BITUIDS]: Remove conditional code.
5272 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5273 <kernel-features.h>.
5274 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5275 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5276 132096]: Remove conditional code.
5277 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5278 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5279 <kernel-features.h>.
5280 [__ASSUME_32BITUIDS]: Make code unconditional.
5281 [!__ASSUME_32BITUIDS]: Remove conditional code.
5282 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5283 <kernel-features.h>.
5284 [__ASSUME_32BITUIDS]: Make code unconditional.
5285 [!__ASSUME_32BITUIDS]: Remove conditional code.
5286 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5287 <kernel-features.h>.
5288 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5289 unconditional.
5290 (__setresgid): Do not declare.
5291 [__ASSUME_32BITUIDS]: Make code unconditional.
5292 [!__ASSUME_32BITUIDS]: Remove conditional code.
5293 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5294 <kernel-features.h>.
5295 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5296 unconditional.
5297 (__setresuid): Do not declare.
5298 [__ASSUME_32BITUIDS]: Make code unconditional.
5299 [!__ASSUME_32BITUIDS]: Remove conditional code.
5300 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5301 <kernel-features.h>.
5302 [__ASSUME_32BITUIDS]: Make code unconditional.
5303 [!__ASSUME_32BITUIDS]: Remove conditional code.
5304 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5305 <kernel-features.h>.
5306 [__ASSUME_32BITUIDS]: Make code unconditional.
5307 [!__ASSUME_32BITUIDS]: Remove conditional code.
5308
a386f1cc
RH
53092012-05-25 Richard Henderson <rth@twiddle.net>
5310
5311 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5312 dl_hwcap to ifunc resolver.
5313 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5314 elf_ifunc_invoke.
5315 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5316 dl_hwcap to ifunc resolver.
5317 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5318
b6550497
JM
53192012-05-24 Joseph Myers <joseph@codesourcery.com>
5320
5321 [BZ #14153]
5322 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5323 for |x| <= 2**-26, not 2**-57.
5324 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5325 exception.
5326
b0bc23a1
JL
53272012-05-24 Jeff Law <law@redhat.com>
5328
5329 * stdio-common/Makefile (tests): Add bug25.
5330 * stdio-common/bug25.c: New test.
5331
347c92e9
L
53322012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5333
5334 [BZ #13576]
5335 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5336 multiple of MALLOC_ALIGNMENT in size.
5337 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5338
6bcc8b3f
JM
53392012-05-24 Joseph Myers <joseph@codesourcery.com>
5340
5341 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5342 Require >= 256.
5343 (FILENAME_MAX): Use macro-int-constant.
5344 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5345 (_IOFBF): Use macro-int-constant.
5346 (_IOLBF): Likewise.
5347 (_IONBF): Likewise.
5348 (SEEK_CUR): Likewise.
5349 (SEEK_END): Likewise.
5350 (SEEK_SET): Likewise.
5351 (TMP_MAX): Likewise.
5352 (EOF): Use macro-int-constant. Require < 0.
5353 (NULL): Use macro-constant. Require == 0.
5354 (stdin): Require type to be FILE *.
5355 (stdout): Likewise.
5356 (stderr): Likewise.
5357 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5358 macro-int-constant.
5359 (EXIT_SUCCESS): Likewise.
5360 (NULL): Use macro-constant. Require == 0.
5361 (RAND_MAX): Use macro-int-constant.
5362 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5363 [C99-based standards] (strtof): Require function.
5364 [C99-based standards] (strtold): Likewise.
5365 [C99-based standards] (strtoll): Likewise.
5366 [C99-based standards] (strtoull): Likewise.
5367 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5368 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5369 [ISO || ISO99 || ISO11] (math.h): Likewise.
5370 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5371 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5372 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5373
d18ea0c5
AS
53742012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5375
5376 [BZ #14132]
56d25bb8
AS
5377 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5378 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5379 * intl/dgettext.c (DCGETTEXT): Likewise.
5380 * intl/gettext.c (DCGETTEXT): Likewise.
5381 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5382 * posix/regex_internal.h (gettext): Likewise.
5383 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5384 Remove declaration.
5385 * include/argz.h (__argz_count_internal)
5386 (__argz_stringify_internal): Remove declaration.
5387 (__argz_count, __argz_stringify): Declare hidden proto.
5388 * intl/dcgettext.c: Remove use of INTDEF.
5389 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5390 * string/argz-stringify.c: Likewise.
5391 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5392 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5393 Declare hidden proto.
d18ea0c5
AS
5394 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5395 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5396 Declare hidden proto.
5397 * include/stdio.h (__asprintf_internal): Don't declare.
5398 (__asprintf): Don't define as macro. Declare hidden proto.
5399 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5400 (__fsetlocking): Declare hidden proto.
5401 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5402 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5403 hidden proto.
5404 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5405 (_IO_setlinebuf): Remove use of INTUSE.
5406 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5407 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5408 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5409 Remove declaration.
5410 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5411 (_IO_do_flush): Remove use of INTUSE.
5412 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5413 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5414 (_IO_adjust_column, _IO_least_wmarker)
5415 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5416 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5417 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5418 (_IO_default_doallocate, _IO_wdefault_doallocate)
5419 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5420 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5421 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5422 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5423 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5424 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5425 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5426 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5427 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5428 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5429 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5430 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5431 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5432 proto.
5433 (_IO_flush_all_internal, _IO_adjust_column_internal)
5434 (_IO_default_uflow_internal, _IO_default_finish_internal)
5435 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5436 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5437 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5438 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5439 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5440 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5441 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5442 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5443 (_IO_file_close_internal, _IO_file_close_it_internal)
5444 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5445 (_IO_file_init_internal, _IO_file_attach_internal)
5446 (_IO_file_fopen_internal, _IO_file_read_internal)
5447 (_IO_file_sync_internal, _IO_file_seek_internal)
5448 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5449 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5450 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5451 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5452 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5453 (_IO_list_all_internal, _IO_link_in_internal)
5454 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5455 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5456 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5457 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5458 (_IO_do_write_internal, _IO_padn_internal)
5459 (_IO_getline_info_internal, _IO_getline_internal)
5460 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5461 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5462 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5463 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5464 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5465 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5466 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5467 with libc_hidden_ver, remove use of INTUSE.
5468 * libio/genops.c: Likewise.
5469 * libio/freopen.c: Likewise.
5470 * libio/freopen64.c: Likewise.
5471 * libio/iofclose.c: Likewise.
5472 * libio/iofdopen.c: Likewise.
5473 * libio/iofflush.c: Likewise.
5474 * libio/iofflush_u.c: Likewise.
5475 * libio/iofgets.c: Likewise.
5476 * libio/iofgets_u.c: Likewise.
5477 * libio/iofopen.c: Likewise.
5478 * libio/iofopncook.c: Likewise.
5479 * libio/iofread.c: Likewise.
5480 * libio/iofread_u.c: Likewise.
5481 * libio/ioftell.c: Likewise.
5482 * libio/iofwrite.c: Likewise.
5483 * libio/iogetline.c: Likewise.
5484 * libio/iogets.c: Likewise.
5485 * libio/iogetwline.c: Likewise.
5486 * libio/iopadn.c: Likewise.
5487 * libio/iopopen.c: Likewise.
5488 * libio/ioseekoff.c: Likewise.
5489 * libio/ioseekpos.c: Likewise.
5490 * libio/iosetbuffer.c: Likewise.
5491 * libio/iosetvbuf.c: Likewise.
5492 * libio/ioungetc.c: Likewise.
5493 * libio/ioungetwc.c: Likewise.
5494 * libio/iovdprintf.c: Likewise.
5495 * libio/iovsprintf.c: Likewise.
5496 * libio/iovsscanf.c: Likewise.
5497 * libio/memstream.c: Likewise.
5498 * libio/obprintf.c: Likewise.
5499 * libio/oldfileops.c: Likewise.
5500 * libio/oldiofclose.c: Likewise.
5501 * libio/oldiofdopen.c: Likewise.
5502 * libio/oldiofopen.c: Likewise.
5503 * libio/oldiopopen.c: Likewise.
5504 * libio/oldstdfiles.c: Likewise.
5505 * libio/putc.c: Likewise.
5506 * libio/setbuf.c: Likewise.
5507 * libio/setlinebuf.c: Likewise.
5508 * libio/stdfiles.c: Likewise.
5509 * libio/strops.c: Likewise.
5510 * libio/vasprintf.c: Likewise.
5511 * libio/vscanf.c: Likewise.
5512 * libio/vsnprintf.c: Likewise.
5513 * libio/vswprintf.c: Likewise.
5514 * libio/wfiledoalloc.c: Likewise.
5515 * libio/wfileops.c: Likewise.
5516 * libio/wgenops.c: Likewise.
5517 * libio/wmemstream.c: Likewise.
5518 * libio/wstrops.c: Likewise.
5519 * libio/__fpurge.c: Likewise.
5520 * libio/__fsetlocking.c: Likewise.
5521 * assert/assert.c: Likewise.
5522 * debug/fgets_chk.c: Likewise.
5523 * debug/fgets_u_chk.c: Likewise.
5524 * debug/fread_chk.c: Likewise.
5525 * debug/fread_u_chk.c: Likewise.
5526 * debug/gets_chk.c: Likewise.
5527 * debug/obprintf_chk.c: Likewise.
5528 * debug/vasprintf_chk.c: Likewise.
5529 * debug/vdprintf_chk.c: Likewise.
5530 * debug/vsnprintf_chk.c: Likewise.
5531 * debug/vsprintf_chk.c: Likewise.
5532 * malloc/mtrace.c: Likewise.
5533 * misc/error.c: Likewise.
5534 * misc/syslog.c: Likewise.
5535 * stdio-common/asprintf.c: Likewise.
5536 * stdio-common/fxprintf.c: Likewise.
5537 * stdio-common/getw.c: Likewise.
5538 * stdio-common/isoc99_fscanf.c: Likewise.
5539 * stdio-common/isoc99_scanf.c: Likewise.
5540 * stdio-common/isoc99_vfscanf.c: Likewise.
5541 * stdio-common/isoc99_vscanf.c: Likewise.
5542 * stdio-common/isoc99_vsscanf.c: Likewise.
5543 * stdio-common/printf-prs.c: Likewise.
5544 * stdio-common/printf_fp.c: Likewise.
5545 * stdio-common/printf_fphex.c: Likewise.
5546 * stdio-common/printf_size.c: Likewise.
5547 * stdio-common/putw.c: Likewise.
5548 * stdio-common/scanf.c: Likewise.
5549 * stdio-common/sprintf.c: Likewise.
5550 * stdio-common/tmpfile.c: Likewise.
5551 * stdio-common/vfprintf.c: Likewise.
5552 * stdio-common/vfscanf.c: Likewise.
5553 * stdlib/strfmon_l.c: Likewise.
5554 * sunrpc/openchild.c: Likewise.
5555 * sunrpc/xdr_stdio.c: Likewise.
5556 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5557 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5558
d6c33fda
RM
55592012-05-24 Roland McGrath <roland@hack.frob.com>
5560
c1487492
RM
5561 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5562
5563 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5564 in the third column, to generate for the shared library an IFUNC
5565 that uses _dl_vdso_vsym.
5566 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5567 * Makeconfig (object-suffixes-noshared): New variable.
5568
5569 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5570 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5571 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5572 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5573
d6c33fda
RM
5574 [BZ #14132]
5575 * include/sys/time.h (__gettimeofday): Remove macro.
5576 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5577 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5578 Remove INTDEF.
5579 (__gettimeofday): Add libc_hidden_def.
5580 (gettimeofday): Add libc_hidden_weak.
5581 * sysdeps/mach/gettimeofday.c: Likewise.
5582 * sysdeps/posix/gettimeofday.c: Likewise.
5583 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5584 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5585 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5586 (__gettimeofday_internal): Remove strong_alias.
5587 (__gettimeofday): Add libc_hidden_def.
5588 (gettimeofday): Add libc_hidden_weak.
5589 * sysdeps/unix/syscalls.list (gettimeofday):
5590 Remove __gettimeofday_internal alias.
5591
b5a2bbe6
L
55922012-05-24 Daniel Jacobowitz <drow@false.org>
5593 H.J. Lu <hongjiu.lu@intel.com>
5594
5595 [BZ #12495]
5596 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5597 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5598 (largebin_index_32_big): New.
5599 (largebin_index): Use it for 16-byte alignment.
5600 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5601 correction with front_misalign.
5602
cfba4fda
L
56032012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5604
7f907421
L
5605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5607 Likewise.
5608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5609 Likewise.
5610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5611 Likewise.
5612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5613 Likewise.
5614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5615 Likewise.
5616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5617 Likewise.
5618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5619 Likewise.
5620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5621 Likewise.
5622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5623 Likewise.
5624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5625 Likewise.
5626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5627 Likewise.
5628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5629 Likewise.
5630
cfba4fda
L
5631 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5632 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5633
80bad0cc
JM
56342012-05-24 Joseph Myers <joseph@codesourcery.com>
5635
7a25eb06
JM
5636 [BZ #10846]
5637 [BZ #14036]
5638 * math/libm-test.inc (exp_test): Add test from bug 14036.
5639 (pow_test): Add test from bug 10846.
5640
795405f9
JM
5641 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5642 and other flags.
5643 (special_function): Do not include flags in test name.
5644 (parse_args): Likewise.
5645 * sysdeps/i386/fpu/libm-test-ulps: Update.
5646 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5647 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5648 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5650
80bad0cc
JM
5651 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5652 exceptions.
5653 * math/libm-test.inc ("Philosophy"): Update comment about
5654 exception testing.
5655 (UNDERFLOW_EXCEPTION): New macro.
5656 (UNDERFLOW_EXCEPTION_OK): Likewise.
5657 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5658 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5659 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5660 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5661 (INVALID_EXCEPTION_OK): Update value.
5662 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5663 (OVERFLOW_EXCEPTION_OK): Likewise.
5664 (IGNORE_ZERO_INF_SIGN): Likewise.
5665 (test_exceptions): Handle underflow exceptions.
5666 (acos_test): Update for underflow exception expectations.
5667 (cexp_test): Likewise.
5668 (clog_test): Likewise.
5669 (clog10_test): Likewise.
5670 (csqrt_test): Likewise.
5671 (ctan_test): Likewise.
5672 (ctanh_test): Likewise.
5673 (exp_test): Likewise.
5674 (exp10_test): Likewise.
5675 (exp2_test): Likewise.
5676 (expm1_test): Likewise.
5677 (fma_test): Likewise.
5678 (j0_test): Likewise.
5679 (jn_test): Likewise.
5680 (nexttoward_test): Likewise.
5681 (pow_test): Likewise.
5682 (scalbn_test): Likewise.
5683 (scalbln_test): Likewise.
5684 (tan_test): Likewise.
5685 (y1_test): Likewise.
5686 * sysdeps/i386/fpu/libm-test-ulps: Update.
5687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5688
9e0e3d0b
DM
56892012-05-23 David S. Miller <davem@davemloft.net>
5690
5691 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5692 (__libc_sigaction): Remove unused local variables.
5693
ccd0a08f
L
56942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5695
5696 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5697
62bdf9a6
PE
56982012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5699
f8591f80
PE
5700 mktime: avoid signed integer overflow
5701 * time/mktime.c (__mktime_internal): Do not mishandle the case
5702 where diff == INT_MIN.
5703
94c7d826
PE
5704 mktime: simplify computation of average
5705 * time/mktime.c (ranged_convert): Use new time_t_avg function
5706 instead of rolling our own (probably-slower) code.
5707
ce73d683
PE
5708 mktime: do not assume signed right shift propagates sign bit
5709 * time/mktime.c (isdst_differ): New static function.
5710 (__mktime_internal): No need to normalize tm_isdst now.
5711 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5712 tm_isdst values.
5713
72a22e59
PE
5714 mktime: merge another wrapv change from gnulib
5715 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5716 from some compilers.
5717
68605433
PE
5718 mktime: remove incorrect attempt at unusual arithmetics
5719 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5720 The code didn't really work on such machines anyway.
5721 (TYPE_MINIMUM): Assume two's complement.
5722 (twos_complement_arithmetic): Verify that long_int and time_t
5723 are two's complement (or unsigned, in the latter case).
5724
03cf7fe3
PE
5725 mktime: check signed shifts on long_int and time_t, too
5726 * time/mktime.c (SHR): Check that shifts work as desired
5727 on the types long_int and time_t too, as SHR is used on
5728 such types.
5729
f04dfbc2
PE
5730 mktime: do not assume 'long' is wide enough
5731 * time/mktime.c (verify): Move decl up.
5732 (long_int): New type.
5733 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5734 to remove assumption in the code that 'long' is wide enough to
5735 store year values. This assumption is not true on x32 and on
5736 some non-glibc platforms.
5737
62bdf9a6
PE
5738 mktime: merge wrapv change from gnulib
5739 * time/mktime.c (WRAPV): New macro.
5740 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5741 (guess_time_tm, __mktime_internal): Do not assume that signed
5742 integer overflow wraps around; modern compilers generate code
5743 where this assumption is no longer valid.
5744
5e292e4f
L
57452012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5746
5747 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5748 Replace "jmp L(pseudo_end)" with "ret".
5749 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5750 Likewise.
5751
8caf8c87
AJ
57522012-05-23 Andreas Jaeger <aj@suse.de>
5753
5754 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5755 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5756
1a09dc56
AJ
57572012-05-23 Andreas Jaeger <aj@suse.de>
5758 Maximilian Attems <max@stro.at>
5759
5760 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5761 New macros.
5762
1c87aba0
L
57632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5764
5765 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5766 code so that pseudo_end is just ret and the stack pointer is
5767 correct also for static library in error case.
5768
40e45bd5
JM
57692012-05-23 Joseph Myers <joseph@codesourcery.com>
5770
c2670533
JM
5771 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5772 move to syscalls.list.
5773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5777
40e45bd5
JM
5778 * manual/install.texi (Running make install): Do not mention Linux
5779 kernel version for which pt_chown is not needed.
5780 (Linux): Do not mention problems with nscd with 2.0 kernels.
5781 * INSTALL: Regenerated.
5782
be08eda5
AJ
57832012-05-23 Andreas Jaeger <aj@suse.de>
5784
5785 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5786 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5787 macro.
5788 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5789 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5790 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5791 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5792 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5793 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5794 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5795 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5796 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5797 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5798 * sysdeps/unix/sysv/linux/bits/in.h
5799 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5800
a6a056bb
RM
58012012-05-22 Roland McGrath <roland@hack.frob.com>
5802
5803 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5804 (PREPARE_VERSION): Just use assert instead, it will be elided
5805 under [NDEBUG] anyway.
5806
c9009328
L
58072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5808
5809 * sysdeps/unix/sysv/linux/Makefile: Include
5810 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5811 (sysdep_routines): Remove sysctl.
c9009328
L
5812 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5813 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5814 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5815 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5816 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5817
73338355
AJ
58182012-05-22 Andreas Jaeger <aj@suse.de>
5819
5820 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5821 that pseudo_end is just ret and the stack pointer is correct also
5822 for static library in error case.
5823
d44638b0
PP
58242012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5825
5826 [BZ #14122]
5827 * nss/nsswitch.c (defconfig_entries): New variable.
5828 (__nss_database_lookup): Don't leak defconfig entries.
5829 (nss_parse_service_list): Don't leak on error paths.
5830 (free_database_entries): New function.
5831 (free_defconfig): New function.
5832 (free_mem): Move common code to free_database_entries.
5833
31a39bd8
L
58342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5835
da0331a8
L
5836 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5837 Add arch_prctl.
5838 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5839
31a39bd8
L
5840 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5841 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5842 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5843 New macro.
5844 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5845 (INTERNAL_SYSCALL_TYPES): Likewise.
5846 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5847 (LOAD_REGS_TYPES_[1-6]): Likewise.
5848 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5849 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5850
45470df3
AZ
58512012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5852
5853 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5854 copysignl for GLIBC_2_0.
5855 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5856 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5857 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5858 logbl for GLIBC_2_0.
5859 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5860 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5861
98a61bcb
L
58622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5863
a4f6e481
L
5864 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5865 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5866
f63d5db6
L
5867 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5868 Use "neg %eax".
5869
98a61bcb
L
5870 * time/mktime.c: Update copyright years.
5871
95770f14
PE
58722012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5873
6226efbd
PE
5874 mktime: merge comment-quoting-style change from gnulib
5875 * time/mktime.c: Quote 'like this' in comments.
5876 The GNU coding standards suggest that we no longer quote `like this',
5877 as "`" and "'" are typically rendered asymmetrically nowadays.
5878 The typical gnulib style is to quote 'like this' when quoting
5879 code, and "like this" when quoting English.
5880
b99e4f78
PE
5881 * time/mktime.c (compile-command): Add "-I.".
5882
643e01e6
PE
5883 mktime: merge mktime-internal.h change from gnulib
5884 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5885
2554247d
PE
5886 mktime: merge time_r change from gnulib
5887 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5888
826dd0ab
PE
5889 mktime: merge DEBUG change from gnulib
5890 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5891 case system <time.h> has a #define.
5892
bd83aabe
PE
5893 mktime: merge <sys/types.h> change from gnulib
5894 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5895 since <time.t> is now guaranteed to define time_t.
5896
95770f14
PE
5897 mktime: merge HAVE_CONFIG_H change from gnulib
5898 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5899
5e1a27a9
L
59002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5901
0e44a77e
L
5902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5903 Use "neg %eax".
5904
5e1a27a9
L
5905 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5906 __rlim_t cast.
5907 (struct rusage): Use anonymous union to pad each field to
5908 __syscall_slong_t.
5909
46259bec
DM
59102012-05-21 David S. Miller <davem@davemloft.net>
5911
5912 * Makefules (o-iterator): Remove .s cases.
5913 (compile-command.s): Delete.
5914 (COMPILE.s): Delete.
5915 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5916
59f0c22e
JM
59172012-05-21 Joseph Myers <joseph@codesourcery.com>
5918
5919 * configure.in (libc_cv_predef_stack_protector): Only consider
5920 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5921 * configure: Regenerated.
5922
20c07380
L
59232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5924
bbb3154b
L
5925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5926 New macro. Use R*LP on int and pointer.
5927 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5928 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5929 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5930 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5931
20c07380
L
5932 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5933 [__WORDSIZE_TIME64_COMPAT32] instead of
5934 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5935 (struct utmp): Likewise.
5936 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5937 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5938 Renamed to ...
5939 (__WORDSIZE_TIME64_COMPAT32): This.
5940 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5941 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5942 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5943 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5944 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5945 (__WORDSIZE_TIME64_COMPAT32): New macro.
5946
d8d1017e
AJ
59472012-05-21 Andreas Jaeger <aj@suse.de>
5948
5949 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5950 only if [SHARED]. Add prototype for __wcschr_ia32.
5951
6c7fb145
RM
59522012-05-21 Roland McGrath <roland@hack.frob.com>
5953
5954 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5955 of %rbp unmolested in the jmp_buf while mangling the low bits.
5956 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5957 unmolested high bits of %rbp while demangling the low bits.
5958 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5959
66274218
AJ
59602012-05-21 Andreas Jaeger <aj@suse.de>
5961
07c58f8f
AJ
5962 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5963 * sunrpc/svc_simple.c: Use it for registerrpc.
5964 * sunrpc/xcrypt.c: Use it for passwd2des.
5965
66274218
AJ
5966 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5967
61f65140
L
59682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5969
5970 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5971 Don't define if [__SYSCALL_WORDSIZE != 32].
5972 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5973 New macro.
5974
5fefb436
AJ
59752012-05-21 Bruno Haible <bruno@clisp.org>
5976 Andreas Jaeger <aj@suse.de>
5977
5978 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5979 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5980 inptr and inend for must_buffer_ch.
5981 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5982 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5983 * stdio-common/Makefile (tests): Remove bug15.
5984 (bug15-ENV): Remove macro.
5985 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5986 anymore.
5987
d8e272ab
AJ
59882012-05-19 Andreas Jaeger <aj@suse.de>
5989 Roland McGrath <roland@hack.frob.com>
5990
5991 * manual/contrib.texi: Completely rewritten. It contains now an
5992 alphabetical list of contributors and their contributions.
5993
4a56a162
RH
59942012-05-21 Richard Henderson <rth@twiddle.net>
5995
5996 * misc/getauxval.c (__getauxval): Use unsigned long int.
5997 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5998 (getauxval): Use unsigned long int.
5999
d024d23c
L
60002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6001
6002 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6003
cbc00a03
RM
60042012-05-21 Roland McGrath <roland@hack.frob.com>
6005
6006 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6007 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6008 __alignof__ (long double).
6009
478143fa
AZ
60102012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6011
6012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6013
c7683a6d
RH
60142012-05-20 Richard Henderson <rth@twiddle.net>
6015
6016 * misc/getauxval.c: New file.
6017 * misc/sys/auxv.h: New file.
6018 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6019 (routines): Add getauxval.
6020 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6021 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6022 * elf/dl-sysdep.c (_dl_auxv): Remove.
6023 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6024 * elf/dl-support.c (_dl_auxv): New variable.
6025 (_dl_aux_init): Initialize it.
6026 * manual/startup.texi (Auxiliary Vector): New node.
6027 * sysdeps/generic/bits/hwcap.h: New file.
6028 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6029 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6030 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6031 * sysdeps/sparc/sysdep.h: ... here. Include it.
6032 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6033 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6035 Update.
c7683a6d
RH
6036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6039 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6044
a6f1845d
AZ
60452012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6046
6047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6048
cbcbe830
DM
60492012-05-19 David S. Miller <davem@davemloft.net>
6050
6051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6052
e0b16cc2
JM
60532012-05-19 Joseph Myers <joseph@codesourcery.com>
6054
6055 [BZ #14123]
6056 * math/s_ccosh.c: Include <float.h>
6057 (__ccosh): Avoid internal overflow calculating sinh and cosh
6058 values before multiplying by sin and cos values.
6059 * math/s_ccoshf.c: Likewise.
6060 * math/s_ccoshl.c: Likewise.
6061 * math/s_csin.c: Likewise.
6062 * math/s_csinf.c: Likewise.
6063 * math/s_csinl.c: Likewise.
6064 * math/s_csinh.c: Likewise.
6065 * math/s_csinhf.c: Likewise.
6066 * math/s_csinhl.c: Likewise.
6067 * math/libm-test.inc (ccos_test): Add more tests.
6068 (ccosh_test): Likewise.
6069 (csin_test): Likewise.
6070 (csinh_test): Likewise.
6071 * sysdeps/i386/fpu/libm-test-ulps: Update.
6072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6073
6ad13e08
L
60742012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6075
f66f0ce8
L
6076 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6077 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6078
6ad13e08
L
6079 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6080
b1d072a7
JM
60812012-05-19 Joseph Myers <joseph@codesourcery.com>
6082
6083 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6084 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6085 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6086 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6087 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6088 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6089 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6090 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6091 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6092 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6093 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6094 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6095 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6096 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6097 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6098 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6099 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6100 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6101 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6102 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6103 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6104 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6105 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6106 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6107 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6108 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6109 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6110 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6111 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6112 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6113 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6114
9eae47cb
AJ
61152012-05-18 Andreas Jaeger <aj@suse.de>
6116
6117 * csu/.gitignore: Delete.
6118
bb07f69f
L
61192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6120
6121 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6122 (timex): Use __syscall_slong_t.
6123
e6bdb741
AJ
61242012-05-18 Andreas Jaeger <aj@suse.de>
6125 Carlos O'Donell <carlos_odonell@mentor.com>
6126
6127 * manual/install.texi (Configuring and compiling): Update
6128 description about files modified in the source directory.
d6c33fda 6129 * INSTALL: Regenerated.
e6bdb741 6130
1b74487e
L
61312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6132
6133 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6134 value. Use "or" to set return value to -1.
6135 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6136 negate return value.
6137
a88b64b9
TMQMF
61382012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6139
6140 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6141 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6142 failure if the compiler has Graphite support disabled.
6143 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6144 Likewise.
6145 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6146 CFLAGS-memmove.c): Likewise.
6147 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6148 Likewise.
6149
3707636e
L
61502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6151
610b8622
L
6152 * sysdeps/x86_64/x32/_itoa.h: New file.
6153
7cd195df
L
6154 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6155 getdents system call only if kernel and user dirents have the
6156 same d_ino and d_off.
6157
94b07d20
L
6158 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6159 LLONG_MAX != LONG_MAX.
6160 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6161 (_fitoa_word): Likewise.
6162
18298070
L
6163 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6164 years.
6165 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6166 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6167 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6168
553c7ea4
L
6169 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6170 include <bits/wordsize.h>. Check __x86_64__ instead of
6171 __WORDSIZE.
6172 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6173 if __x86_64__ is defined. Use anonymous union on fpstate.
6174
3707636e
L
6175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6176 anonymous union.
6177
b53ef01a
AS
61782012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6179
37fb1dc0
AS
6180 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6181 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6182 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6183 Refer to _rtld_local_ro instead of _rtld_global_ro.
6184 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6185 Likewise.
6186 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6187 Likewise.
6188 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6189 Likewise.
6190 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6191 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6192 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6193
b53ef01a
AS
6194 * sysdeps/powerpc/powerpc32/dl-machine.c
6195 (__elf_machine_runtime_setup) [PROF]: Don't reference
6196 _dl_prof_resolve.
6197
7a185db2
AJ
61982012-05-18 Andreas Jaeger <aj@suse.de>
6199
6200 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6201 function only available for GCCs before 3.4 since GCC 3.4
6202 introduced a builtin.
6203 (lrint): Likewise.
6204 (llrintf): Likewise.
6205 (llrint): Likewise.
6206 (fmaxf): Likewise.
6207 (fmax): Likewise.
6208 (fminf): Likewise.
6209 (fmin): Likewise.
6210 (rint): Likewise.
6211 (rintf): Likewise.
6212 (nearbyint): Likewise.
6213 (nearbyintf): Likewise.
6214 (ceil): Likewise.
6215 (ceilf): Likewise.
6216 (floor): Likewise.
6217 (floorf): Likewise.
6218
3e5aef87
L
62192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6220
428bd707
L
6221 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6222 on both fields and cast pointer to __syscall_ulong_t.
6223
3e5aef87
L
6224 * bits/types.h (__fsword_t): New type.
6225 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6226 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6227 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6228 (__FSWORD_T_TYPE): Likewise.
6229 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6230 (__FSWORD_T_TYPE): Likewise.
6231 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6232 (__FSWORD_T_TYPE): Likewise.
6233 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6234 (__FSWORD_T_TYPE): Likewise.
6235 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6236 __SWORD_TYPE with __fsword_t.
6237 (statfs64): Likewise.
6238
1ba7c3dc
DM
62392012-05-17 David S. Miller <davem@davemloft.net>
6240
6241 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6242
59910343
AJ
62432012-05-17 Andreas Jaeger <aj@suse.de>
6244
6245 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6246 warning.
6247
2e4c1e9e
L
62482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6249
6250 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6251
de7f5ce7
AJ
62522012-05-17 Andreas Jaeger <aj@suse.de>
6253
6254 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6255 when it is used.
6256
286abc3d
CM
62572012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6258
6259 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6260
477cc68e
L
62612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6262
6263 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6264 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6265
1a0994f5
CD
62662012-05-17 Andreas Jaeger <aj@suse.de>
6267 Carlos O'Donell <carlos_odonell@mentor.com>
6268
6269 [BZ #14059]
6270 * sysdeps/x86_64/multiarch/init-arch.h
6271 (bit_YMM_Usable): Rename to...
6272 (bit_AVX_Usable): ... this.
6273 (bit_FMA4_Usable): New macro.
6274 (bit_XMM_state): New macro.
6275 (bit_YMM_state): New macro.
6276 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6277 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6278 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6279 (CPUID_OSXSAVE): New macro.
6280 (CPUID_AVX): New macro.
6281 (CPUID_FMA4): New macro.
6282 (index_YMM_Usable): Rename to...
6283 (index_AVX_Usable): ... this.
6284 (HAS_AVX): Use HAS_ARCH_FEATURE.
6285 (HAS_FMA4): Likewise.
6286 (HAS_YMM_USABLE): Remove.
6287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6288 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6289 are present.
6290 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6291 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6292 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6293 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6294 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6295
0af797de
CM
62962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6297
6298 * math/libm-test.c: Support platforms without multiple rounding modes.
6299 * math/bug-nextafter.c: Support platforms without FP exceptions.
6300 * math/bug-nexttoward.c: Likewise.
6301 * math/test-fenv.c: Likewise.
6302 * math/test-misc.c: Likewise.
6303 * stdlib/bug-getcontext.c: Likewise.
6304
e39745ff
AJ
63052012-05-17 Andreas Jaeger <aj@suse.de>
6306
6307 * manual/examples/search.c (critter_cmp): Change signature to
6308 avoid warnings.
6309 * manual/string.texi (Collation Functions): Likewise.
6310
48970aba
L
63112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6312
6313 * bits/types.h: Fold copyright years.
6314 * bits/typesizes.h: Likewise.
6315 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6316 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6318 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6319 * time/time.h: Likewise.
6320
bedee953
PP
63212012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6322
6323 [BZ #208]
6324 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6325 in instead of returning them. Return void.
6326 (__libc_mallinfo): Accumulate over all arenas.
6327 (__malloc_stats): Adjust for change in int_mallinfo interface.
6328
61653dfb
RM
63292012-05-16 Roland McGrath <roland@hack.frob.com>
6330
30b99d79
RM
6331 [BZ #10375]
6332 * configure.in (NM): Add AC_CHECK_TOOL for it.
6333 (libc_extra_cflags): New substituted variable.
6334 Check for -fstack-protector being used implicitly.
6335 * configure: Regenerated.
6336 * config.make.in (config-extra-cflags): New variable,
6337 gets @libc_extra_cflags@.
6338 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6339
61653dfb
RM
6340 [BZ #10375]
6341 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6342 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6343 * configure: Regenerated.
6344 * config.make.in (CPPUNDEFS): New substituted variable.
6345 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6346 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6347 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6348
661768bb
L
63492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6350
6351 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6352 (mq_attr): Use __syscall_slong_t.
6353
d4261567
L
63542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6355
6356 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6357 Check __x86_64__ instead of __WORDSIZE.
6358 (_STAT_VER_LINUX): Likewise.
6359 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6360 __syscall_ulong_t and __syscall_slong_t.
6361 (stat64): Likewise.
6362
cf3ff365
L
63632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6364
6365 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6366
76cf3e4d
L
63672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6368
6369 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6370
a637753a
L
63712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6372
6373 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6374 __syscall_ulong_t.
6375
d5e05119
L
6376 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6377 include <bits/wordsize.h>. Check __x86_64__ instead of
6378 __WORDSIZE.
6379 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6380 defined.
6381 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6382
f62ee380
L
6383 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6384 include <bits/wordsize.h>. Check __x86_64__ instead of
6385 __WORDSIZE.
6386 (user_regs_struct): Use "__extension__ unsigned long long"
6387 instead of "unsigned long" if __x86_64__ is defined.
6388 (user): Likewise. Pad after pointer field if __ILP32__ is
6389 defined.
6390
4e124ced
JM
63912012-05-16 Joseph Myers <joseph@codesourcery.com>
6392
6a3951a0
JM
6393 * configure.in (makeinfo): Require version 4.5 or later. Allow
6394 versions 5 to 9.
6395 * configure: Regenerated.
6396 * manual/install.texi (texinfo): Increase version requirement to
6397 4.5 or later.
6398 * INSTALL: Regenerated.
6399
4e124ced
JM
6400 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6401
953ca31a
L
64022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6403
6404 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6405
617aca05
L
6406 * sysdeps/x86_64/x32/ffs.c: New file.
6407
5762f7ae
L
6408 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6409 __syscall_ulong_t.
6410 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6411 defined. Use __syscall_ulong_t.
6412 (shminfo): Use __syscall_ulong_t.
6413 (shm_info): Likewise.
6414
a26b6856
L
6415 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6416 __syscall_ulong_t.
6417
cb2b9ef7
L
6418 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6419 <bits/wordsize.h>.
6420 (msgqnum_t): Use __syscall_ulong_t.
6421 (msglen_t): Likewise.
6422 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6423 __syscall_ulong_t.
6424
34683bb0
L
6425 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6426 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6427
84a68786
L
6428 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6429
48baa5f1
L
6430 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6431 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6432
180be88b
L
6433 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6434 __syscall_slong_t.
6435
5e90c8ad
L
6436 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6437 include <bits/wordsize.h>. Check __x86_64__ instead of
6438 __WORDSIZE.
6439
23dfb58b
L
6440 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6441 "unsigned long long int" if __x86_64__ is defined.
6442 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6443
ce5d54b0
L
6444 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6445 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6446 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6447
13dc9eac
L
6448 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6449 <stdint.h>.
6450 (GET_PC): Cast to uintptr_t first.
6451 (GET_FRAME): Likewise.
6452 (GET_STACK): Likewise.
6453
a7895d15
L
6454 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6455 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6456 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6457 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6458 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6459 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6460 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6461 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6462 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6463 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6464 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6465 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6466 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6467 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6468 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6469 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6470 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6471 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6472 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6473 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6474 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6475 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6476 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6477 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6478 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6479 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6480 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6481 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6482 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6483
656416c9
AS
64842012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6485
5bd66283
AS
6486 * Makerules (+depfiles): Also collect depfiles from .oS in
6487 $(extra-objs).
6488 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6489 .oS, $(libnldbl-routines)).
6490
656416c9
AS
6491 * Makerules (native-compile-mkdep-flags): Define.
6492 * sunrpc/Makefile (extra-objs): Add $(addprefix
6493 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6494 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6495 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6496 calling $(make-target-directory).
6497
a46f2169
L
64982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6499
6500 * bits/types.h (__snseconds_t): Removed.
6501 * time/time.h (struct timespec): Replace __snseconds_t with
6502 __syscall_slong_t.
6503 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6504 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6505 Likewise.
6506 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6507 (__SNSECONDS_T_TYPE): Likewise.
6508 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6509 (__SNSECONDS_T_TYPE): Likewise.
6510 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6511 (__SNSECONDS_T_TYPE): Likewise.
6512
6af6528b
L
65132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6514
6515 * sysdeps/mach/hurd/bits/typesizes.h
6516 (__SYSCALL_SLONG_TYPE): New macro.
6517 (__SYSCALL_ULONG_TYPE): Likewise.
6518
de986b56
L
65192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6520
6521 * bits/types.h (__syscall_slong_t): New type.
6522 (__syscall_ulong_t): Likewise.
6523
6524 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6525 (__SYSCALL_ULONG_TYPE): Likewise.
6526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6527 (__SYSCALL_SLONG_TYPE): Likewise.
6528 (__SYSCALL_ULONG_TYPE): Likewise.
6529 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6530 (__SYSCALL_SLONG_TYPE): Likewise.
6531 (__SYSCALL_ULONG_TYPE): Likewise.
6532 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6533 (__SYSCALL_SLONG_TYPE): Likewise.
6534 (__SYSCALL_ULONG_TYPE): Likewise.
6535
85736dc7
L
65362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6537
6538 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6539 Add sigaltstack-offsets.sym.
6540 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6541 <sigaltstack-offsets.h>.
6542 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6543 longjmp_msg pointer.
6544 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6545 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6546 signal stack.
6547 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6548
cc03b296
JM
65492012-05-15 Joseph Myers <joseph@codesourcery.com>
6550
a9538892
JM
6551 * elf/stackguard-macros.h: Remove file.
6552 * sysdeps/generic/stackguard-macros.h: New file.
6553 * sysdeps/i386/stackguard-macros.h: Likewise.
6554 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6555 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6556 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6557 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6558 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6559 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6560 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6561 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6562 <elf/stackguard-macros.h>.
6563
cc03b296
JM
6564 [BZ #14109]
6565 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6566 __aligned__ in attribute.
6567 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6568 (gregset_t): Likewise.
6569
93171016
L
65702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6571
6572 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6573 * sysdeps/x86_64/64/Implies-after: Here. New file.
6574 * sysdeps/x86_64/x32/Implies-after: New file.
6575
d86813a0
L
65762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6577
6578 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6579 and access return value for _dl_profile_fixup. Use R10_LP to
6580 load frame size.
6581
2953ec75
L
65822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6583
6584 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6585
3b550e9e
L
65862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6587
6588 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6589 * sysdeps/x86_64/x32/sysdep.h: New file.
6590
eda41706
L
65912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6592
6593 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6594 * sysdeps/x86_64/setjmp.S: Likewise.
6595
9ea01d93
AZ
65962012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6597
6598 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6599 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6600 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6601 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6602 remove unused global constant.
6603
02a91938
CM
66042012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6605
6606 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6607 include of <not-cancel.h>.
6608
6540185f
RM
66092012-05-15 Roland McGrath <roland@hack.frob.com>
6610
6611 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6612
509072a0
AJ
66132012-05-15 Jeff Law <law@redhat.com>
6614 Andreas Jaeger <aj@suse.de>
6615
6616 [BZ #13594]
6617 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6618 out from...
6619 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6620 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6621 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6622 code changing __hst_map_handle.map.
6623
ba75122d
RM
66242012-05-15 Roland McGrath <roland@hack.frob.com>
6625
6626 * configure.in (sysnames): Look for Implies-before and Implies-after
6627 files.
6628 * configure: Regenerated.
6629
890d8bd8
L
66302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6631
6632 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6633 8-byte data alignment with LP_SIZE alignment.
6634
f6ee6623
L
66352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6636
6637 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6638 into R10_LP.
6639
ea2626f6
L
66402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6641
6642 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6643
085f715e
L
66442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6645
6646 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6647 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6648 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6649 Likewise.
6650 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6651
be8498fc
L
66522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6653
6654 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6655 (stackinfo_sub_sp): Likewise.
6656
70bc83b9
L
66572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6658
6659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6660 RAX_LP.
6661
9bc0b730
L
66622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6663
6664 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6665 into R*_LP.
6666
6d2850e7
L
66672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6668
6669 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6670 sizes into R*_LP.
6671
3cb84561
L
66722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6673
6674 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6675
54e2ed81
L
66762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6677
6678 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6679 into R11_LP and load __x86_64_shared_cache_size_half into
6680 R8_LP.
6681
8a17f349
L
66822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6683
6684 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6685 R8_LP.
6686
777b1eea
AZ
66872012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6688
6689 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6690 logb for POWER7.
6691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6692 logbf for POWER7.
6693 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6694 logbl for POWER7.
6695 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6696 powerpc32/power7/fpu/s_logb.c via #include.
6697 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6698 powerpc32/power7/fpu/s_logbf.c via #include.
6699 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6700 powerpc32/power7/fpu/s_logbl.c via #include.
6701
d20d4ac2
JM
67022012-05-15 Joseph Myers <joseph@codesourcery.com>
6703
6704 * README.libm: Remove file.
6705
6cdef1ab
L
67062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6707
6708 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6709 count for x32. Use R*_LP and omit operand-size suffix.
6710
0b254d8f
L
67112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6712
6713 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6714 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6715 * sysdeps/x86_64/x32/shlib-versions: New file.
6716
ceb809dc
RM
67172012-05-14 Roland McGrath <roland@hack.frob.com>
6718
6719 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6720 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6721 Use _dl_fatal_printf instead.
6722
37f1abd4
JM
67232012-05-14 Joseph Myers <joseph@codesourcery.com>
6724
6725 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6726 set if not set by the user. Do not allow for being unset.
6727 * sysdeps/unix/sysv/linux/configure: Regenerated.
6728
11de3a33
L
67292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6730
6731 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6732 the `q' suffix from lea and replace .quad with ASM_ADDR.
6733
e02f153a
L
67342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6735
6736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6737 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6738 instead of $17.
6739 (PTR_DEMANGLE): Likewise.
6740
520ae0fd
L
67412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6742
6743 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6744 (LP_OP): Likewise.
6745 (ASM_ADDR): Likewise.
6746 (RAX_LP): Likewise.
6747 (RBP_LP): Likewise.
6748 (RBX_LP): Likewise.
6749 (RCX_LP): Likewise.
6750 (RDI_LP): Likewise.
6751 (RSI_LP): Likewise.
6752 (RSP_LP): Likewise.
6753 (R8_LP): Likewise.
6754 (R9_LP): Likewise.
6755 (R10_LP): Likewise.
6756 (R10_LP): Likewise.
6757 (R11_LP): Likewise.
6758 (R12_LP): Likewise.
6759 (R13_LP): Likewise.
6760 (R14_LP): Likewise.
6761 (R15_LP): Likewise.
6762
b985be81
L
67632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6764
6765 * sysdeps/x86_64/x32/dl-machine.h: New file.
6766
6a4888ff
AJ
67672012-05-14 Andreas Jaeger <aj@suse.de>
6768
6769 * manual/Makefile (subdir): Remove export of subdir.
6770 (all): Remove target.
6771 (.PHONY): Remove all from list.
6772 (mkinstalldirs): Remove.
6773 (.PHONY): Remove installdirs from list.
6774 ($(inst_infodir)/libc.info): Use make-target-directory.
6775 (installdirs): Remove.
6776 (subdir_%): Remove.
6777 (glibc-targets): Remove.
6778 (lib): Remove.
6779 (stubs): Remove.
6780 ($(objpfx)stubs ../po/manual.pot): Remove.
6781 ($(objpfx)stamp%): Remove.
6782 (make-target-directory): Remove.
6783 (subdir_install): Remove.
6784 (routines): Remove.
6785 (aux): Remove.
6786 (sources): Remove.
6787 (objects): Remove.
6788 (headers): Remove.
6789
6790 [BZ #13750]
6791 * manual/.gitignore: Remove, it's not needed anymore.
6792 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6793 all files in it.
6794 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6795 directory.
6796 (texis): Renamed to $(objpfx)texis.
6797 (texis-path): New, contains path to generated files.
6798 (chapters.%): Use texis-path for complete path, add extra argument
6799 libc-texinfo.sh.
6800 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6801 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6802 (summary,texi, stamp-summary): Use complete path of
6803 files. Generate files in build dir.
6804 (dir-add.texi): Build in build dir.
6805 (libm-err.texi,stamp-libm-err): Likewise.
6806 (version.texi, stamp-version): Likewise.
6807 (.%c.texi): Likewise.
6808 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6809 (mostlyclean): Remove target.
6810 (realclean): Remove target.
6811 (generated): Add new variable with contents from mostlyclean and
6812 realclean, remove entries duplicated in common-mostlyclean, add
6813 stamp-libm-err and stamp-version.
6814 (generated-dirs): Add libc directory.
6815 ($(inst_infodir)/libc.info): Install files from build dir.
6816
6817 * manual/install.texi (Configuring and compiling): Adjust since
6818 the info files are not part of the tar ball anymore.
6819
7ac77294
AJ
68202012-05-14 Andreas Jaeger <aj@suse.de>
6821
6822 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6823 variable.
6824
ffb7875d
JM
68252012-05-14 Joseph Myers <joseph@codesourcery.com>
6826
6827 [BZ #13717]
6828 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6829 to 2.2.0 where earlier.
6830 * sysdeps/unix/sysv/linux/configure: Regenerated.
6831 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6832 Remove conditional code.
6833 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6834 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6835 Remove conditional code.
6836 [!__NR_lchown]: Likewise.
6837 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6838 [__NR_lchown]: Likewise.
6839 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6840 comment referencing __ASSUME_LCHOWN_SYSCALL.
6841 * sysdeps/unix/sysv/linux/i386/sigaction.c
6842 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6843 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6844 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6845 Remove conditional code.
6846 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6847 (__protocol_available): Remove #if 0 code.
6848 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6849 conditional code.
6850 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6851 * sysdeps/unix/sysv/linux/kernel-features.h
6852 (__ASSUME_GETCWD_SYSCALL): Don't define.
6853 (__ASSUME_REALTIME_SIGNALS): Likewise.
6854 (__ASSUME_PREAD_SYSCALL): Likewise.
6855 (__ASSUME_PWRITE_SYSCALL): Likewise.
6856 (__ASSUME_POLL_SYSCALL): Likewise.
6857 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6858 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6859 non-SPARC.
6860 (__ASSUME_SIOCGIFNAME): Don't define.
6861 (__ASSUME_MSG_NOSIGNAL): Likewise.
6862 (__ASSUME_SENDFILE): Define unconditionally.
6863 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6864 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6865 conditional code.
6866 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6867 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6868 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6869 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6870 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6871 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6872 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6874 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6875 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6877 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6878 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6880 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6881 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6883 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6886 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6887 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6889 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6890 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6892 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6893 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6895 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6896 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6897 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6898 Remove conditional code.
6899 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6900 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6901 Remove conditional code.
6902 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6903 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6904 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6905 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6906 Remove conditional code.
6907 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6908 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6909 Remove conditional code.
6910 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6911 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6912 Remove conditional code.
6913 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6914 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6915 Remove conditional code.
6916 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6917 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6918 Remove conditional code.
6919 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6920 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6921 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6922 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6923 * sysdeps/unix/sysv/linux/sigaction.c
6924 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6925 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6926 * sysdeps/unix/sysv/linux/sigpending.c
6927 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6928 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6929 * sysdeps/unix/sysv/linux/sigprocmask.c
6930 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6931 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6932 * sysdeps/unix/sysv/linux/sigsuspend.c
6933 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6934 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6935 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6936 (__libc_missing_rt_sigs): Remove.
6937 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6938 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6939 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6940 Remove conditional code.
6941 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6942 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6943 return 1.
6944 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6945 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6946 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6947 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6948
1bfb7291
AJ
69492012-05-14 Andreas Jaeger <aj@suse.de>
6950
caae5a81
AJ
6951 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6952 it's not used in glibc.
6953 (__coshm1): Likewise.
6954 (__acosh1p): Likewise.
6955 (__sgn): Likewise.
6956
1bfb7291
AJ
6957 * manual/string.texi (Copying and Concatenation): Add missing
6958 variable in concat example.
6959 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6960
c044d724
L
69612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6962
144c5467 6963 [BZ #14103]
c044d724
L
6964 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6965 __builtin_clzl with __builtin_clzll.
6966
2523c62b
L
69672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6968
6969 [BZ #14104]
6970 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6971 libc_freeres_ptr.
6972
d7bb4c42
LD
69732012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6974
6975 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6976 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6977 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6978 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6979
9dc4e1fb
MF
69802012-05-14 Mike Frysinger <vapier@gentoo.org>
6981
6982 * NEWS: Update ia64 info.
6983
c7df0112
AS
69842012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6985
6986 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6987 used as bcopy.
6988
dc70356c
TS
69892012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6990
6991 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6992 * sysdeps/unix/syscalls.list (dup3): Likewise.
6993 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6994 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6995
9fb1a21f
L
69962012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6997
6998 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6999 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7000
4822a2a5
L
70012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7002
7003 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7004 thread pointer.
7005 (TLS_IE): Use mov/add instead of movq/addq to load thread
7006 pointer.
7007 (TLS_GD_PREFIX): New.
7008 (TLS_GD): Use it.
7009
842b81d6
DM
70102012-05-11 David S. Miller <davem@davemloft.net>
7011
7012 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7013 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7014 (_FPU_SETCW): Likewise.
7015
1cf463cd
L
70162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7017
7018 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7019 is 32-byte aligned.
7020
60cc4a18
AS
70212012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7022
7023 [BZ #11837]
7024 * iconvdata/gb18030.c: Update tables.
7025 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7026 characters specially.
7027 (BODY for TO_LOOP): Add encoding of missing ranges.
7028
febb44a4
TS
70292012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7030
7031 [BZ #13673]
7032 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7033 * sysdeps/mach/hurd/dup3.c: Likewise.
7034 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7035 * sysdeps/powerpc/memmove.c:: Likewise.
7036
0a10fb9e
L
70372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7038
7039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7040 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7041
df8a552f
L
70422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7043
7044 * elf/elf.h (R_X86_64_RELATIVE64): New.
7045 (R_X86_64_NUM): Updated.
7046 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7047 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7048 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7049 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7050 tst-quad1pie tst-quad2pie
7051 (modules-names): Add tst-quadmod1 tst-quadmod2.
7052 ($(objpfx)tst-quad1): New dependency.
7053 ($(objpfx)tst-quad2): Likewise.
7054 ($(objpfx)tst-quad1pie): Likewise.
7055 ($(objpfx)tst-quad2pie): Likewise.
7056 * sysdeps/x86_64/tst-quad1.c: New file.
7057 * sysdeps/x86_64/tst-quad1pie.c: New file.
7058 * sysdeps/x86_64/tst-quad2.c: Likewise.
7059 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7060 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7061 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7062 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7063 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7064
f34d6f84
ST
70652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7066
f42d41d1
ST
7067 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7068 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7069 * streams/stropts.h (t_scalar_t): Define type.
7070
3c3571fc
ST
7071 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7072 (_PATH_PRESERVE): Set to "/var/lib".
7073 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7074
61f06bd3
ST
7075 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7076 instead of int.
7077
918d4d71
ST
7078 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7079 if __dir_mkfile succeeded.
7080
f34d6f84
ST
7081 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7082 checking for _hurd_dtablesize. Unlock it right after having
7083 finished _hurd_dtable allocation.
7084
10589b4a
TS
70852012-05-10 Thomas Schwinge <thomas@schwinge.name>
7086
674cdbc7
TS
7087 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7088 * sysdeps/mach/hurd/configure: Regenerated.
7089 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7090 special-casing to...
7091 * sysdeps/gnu/configure.in: ... this new file.
7092 * sysdeps/unix/sysv/linux/configure: Regenerated.
7093 * sysdeps/gnu/configure: New generated file.
7094
8e41b99f
TS
7095 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7096 for Linux: use nsec instead of usec, as well as:
7097 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7098 members of type struct timespec.
7099 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7100 New macros.
7101 (struct stat64): Likewise.
7102 (_STATBUF_ST_NSEC): New macro.
7103 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7104
10589b4a
TS
7105 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7106 __strtoul_internal rather than strtoul.
7107
63643c85
PT
71082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7109
7110 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7111 and reject them.
7112
3faebe6a
ST
71132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7114
7115 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7116 which preserves existing values.
7117 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7118
c6474b07
PT
71192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7120
7121 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7122 TIMEOUT values. Return EINVAL for NFDS values either negative or
7123 greater than FD_SETSIZE.
7124
1043890b
ST
71252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7126
7127 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7128 allocated, call __vm_protect to finish enabling the existing space, and
7129 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7130 allocate the remainder.
7131
37ed8b9b
PT
71322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7133
7134 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7135 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7136
db653660
ST
71372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7138
37ed8b9b
PT
7139 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7140 sysdeps/mach/hurd/readlink.c.
b29d4053 7141
db653660
ST
7142 * posix/tst-sysconf.c (posix_options): Only use
7143 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7144 _POSIX_SYNCHRONIZED_IO when they are defined
7145 * sysdeps/mach/hurd/bits/posix_opt.h:
7146 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7147 (_XOPEN_REALTIME): Undefine macro.
7148 (_XOPEN_REALTIME_THREADS): Undefine macro.
7149 (_XOPEN_SHM): Undefine macro.
7150 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7151 macro to -1.
7152 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7153 macro to -1.
7154 (_POSIX_ASYNC_IO): Undefine macro.
7155 (_POSIX_PRIORITIZED_IO): Undefine macro.
7156 (_POSIX_SPIN_LOCKS): Define macro to -1.
7157
ee16e894
ST
7158 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7159 SA_NODEFER, SA_RESETHAND.
7160 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7161 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7162 F_DUPFD_CLOEXEC.
7163
6103ae3b
TS
71642012-05-10 Thomas Schwinge <thomas@schwinge.name>
7165
7166 * elf/Makefile (pldd-modules): Define unconditionally.
7167
80b4e5f3
TS
71682012-05-10 Thomas Schwinge <thomas@schwinge.name>
7169
7170 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7171
edadcbd6
ST
71722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7173
7174 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7175 Return ENOENT when name is empty.
7176 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7177
80694780
TS
71782012-05-10 Thomas Schwinge <thomas@schwinge.name>
7179
1792c087
TS
7180 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7181
80694780
TS
7182 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7183
6b645f0d
ST
71842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7185
80694780
TS
7186 Fix mlock in all cases except non-readable pages.
7187 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7188 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 7189
6b645f0d
ST
7190 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7191 (__mkdir): When path is `/', just fail with EEXIST.
7192 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7193
e468f8a3
TS
71942012-05-10 Thomas Schwinge <thomas@schwinge.name>
7195
7196 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7197 <sys/uio.h> (for writev).
7198 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7199 and <sys/param.h> (for MIN).
7200
a4186cff
PT
72012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7202
7203 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7204 REQUESTED_TIME. Properly set the remaining time and return EINTR
7205 if interrupted.
7206
510bbf14
TS
72072012-05-10 Thomas Schwinge <thomas@schwinge.name>
7208
7209 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7210 Depend on against $(link-rpcuserlibs).
7211
5d5722e8
ST
72122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7213
a4186cff
PT
7214 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7215 (__libc_stack_end): Do not use attribute_relro.
7216 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7217 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 7218 to libthread-provided value.
a4186cff
PT
7219 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7220 attribute_relro.
5d5722e8 7221
37233df9
TS
72222012-05-10 Thomas Schwinge <thomas@schwinge.name>
7223
be971a2b
TS
7224 [BZ #3748]
7225 * bits/libc-lock.h (__libc_once_get): New macro.
7226 * sysdeps/mach/bits/libc-lock.h: Likewise.
7227 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7228 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7229 instead of using implementation details.
7230
37233df9
TS
7231 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7232 * libio/freopen.c: Likewise.
7233 * libio/freopen64.c: Likewise.
7234 * misc/syslog.c: Likewise.
7235 * nscd/connections.c: Likewise.
7236 * nscd/netgroupcache.c: Likewise.
7237 * sysdeps/posix/getcwd.c: Likewise.
7238
38de94a5
RM
72392012-05-10 Roland McGrath <roland@hack.frob.com>
7240
7241 * math/w_ilogbf.c: Add #include <limits.h>.
7242
67530489
ST
72432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7244
a4186cff 7245 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
7246 path instead of returning without unlocking.
7247
67530489
ST
7248 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7249 immediate-write ioctls.
7250 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7251
5aa3a74a
TS
72522012-05-10 Thomas Schwinge <thomas@schwinge.name>
7253
18bad2ae
TS
7254 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7255 __builtin_frame_address instead of making assumptions about the
7256 location of the return address relative to DATA. Force early load of
7257 the return address.
7258 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7259 __builtin_frame_address.
7260
5aa3a74a
TS
7261 dup3 for GNU Hurd.
7262 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7263 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7264 implement dup3 and do some further code clean-ups.
7265 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7266 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7267
ecd0de9a
ST
72682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7269
cd9fa985
ST
7270 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7271
a4186cff
PT
7272 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7273 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7274 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7275 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7276 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7277 d->port.lock.
802ca5a5 7278
a4186cff
PT
7279 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7280 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7281 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 7282
bcf55240
TS
72832012-05-10 Thomas Schwinge <thomas@schwinge.name>
7284
6960eb42
TS
7285 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7286 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7287 definitions.
7288
eb43375f
TS
7289 accept4 for GNU Hurd.
7290 * include/sys/socket.h (__libc_accept4): New prototype.
7291 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7292 to implement __libc_accept4.
7293 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7294 __libc_accept4.
7295 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7296
bcf55240
TS
7297 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7298 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7299 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7300 signal-defines.sym.
7301
6178c55b
ST
73022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7303
a4186cff 7304 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 7305
6f080c2f
TS
73062012-05-10 Thomas Schwinge <thomas@schwinge.name>
7307
7308 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7309 assertion on O_CLOEXEC flag.
7310 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7311 * hurd/intern-fd.c: Likewise.
7312 * hurd/port2fd.c: Likewise.
7313
bcfe3a54
ST
73142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7315
7316 [BZ #3906]
7317 * bits/in.h (IPV6_PKTINFO): Define new macro.
7318 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7319
89c9aa49
AZ
73202012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7321
7322 [BZ #13954]
7323 [BZ #13955]
7324 [BZ #13956]
7325 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7326 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7327 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7328 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7329 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7330 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7331 * math/libm-test.inc (logb_test) : Additional logb tests.
7332
021db4be
AJ
73332012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7334 Andreas Jaeger <aj@suse.de>
7335
7336 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7337 * configure: Regenerated.
7338 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7339 * config.make.in (link-obsolete-rpc): New substituted variable.
7340 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7341 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7342 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7343 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7344 so that libc.a contains the symbols.
7345 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7346 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7347 * sunrpc/auth_none.c: Likewise.
7348 * sunrpc/auth_unix.c: Likewise.
7349 * sunrpc/authdes_prot.c: Likewise.
7350 * sunrpc/authuxprot.c: Likewise.
7351 * sunrpc/clnt_gen.c: Likewise.
7352 * sunrpc/clnt_perr.c: Likewise.
7353 * sunrpc/clnt_raw.c: Likewise.
7354 * sunrpc/clnt_simp.c: Likewise.
7355 * sunrpc/clnt_tcp.c: Likewise.
7356 * sunrpc/clnt_udp.c: Likewise.
7357 * sunrpc/clnt_unix.c: Likewise.
7358 * sunrpc/des_crypt.c: Likewise.
7359 * sunrpc/des_soft.c: Likewise.
7360 * sunrpc/get_myaddr.c: Likewise.
7361 * sunrpc/key_call.c: Likewise.
7362 * sunrpc/key_prot.c: Likewise.
7363 * sunrpc/netname.c: Likewise.
7364 * sunrpc/pm_getmaps.c: Likewise.
7365 * sunrpc/pm_getport.c: Likewise.
7366 * sunrpc/pmap_clnt.c: Likewise.
7367 * sunrpc/pmap_prot.c: Likewise.
7368 * sunrpc/pmap_prot2.c: Likewise.
7369 * sunrpc/pmap_rmt.c: Likewise.
7370 * sunrpc/publickey.c: Likewise.
7371 * sunrpc/rpc_cmsg.c: Likewise.
7372 * sunrpc/rpc_common.c: Likewise.
7373 * sunrpc/rpc_dtable.c: Likewise.
7374 * sunrpc/rpc_prot.c: Likewise.
7375 * sunrpc/rpc_thread.c: Likewise.
7376 * sunrpc/rtime.c: Likewise.
7377 * sunrpc/svc.c: Likewise.
7378 * sunrpc/svc_auth.c: Likewise.
7379 * sunrpc/svc_raw.c: Likewise.
7380 * sunrpc/svc_run.c: Likewise.
7381 * sunrpc/svc_tcp.c: Likewise.
7382 * sunrpc/svc_udp.c: Likewise.
7383 * sunrpc/svc_unix.c: Likewise.
7384 * sunrpc/svcauth_des.c: Likewise.
7385 * sunrpc/xcrypt.c: Likewise.
7386 * sunrpc/xdr.c: Likewise.
7387 * sunrpc/xdr_array.c: Likewise.
7388 * sunrpc/xdr_float.c: Likewise.
7389 * sunrpc/xdr_intXX_t.c: Likewise.
7390 * sunrpc/xdr_mem.c: Likewise.
7391 * sunrpc/xdr_rec.c: Likewise.
7392 * sunrpc/xdr_ref.c: Likewise.
7393 * sunrpc/xdr_sizeof.c: Likewise.
7394 * sunrpc/xdr_stdio.c: Likewise.
7395
b5c086a2
RM
73962012-05-10 Roland McGrath <roland@hack.frob.com>
7397
7398 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7399 change. Update copyright years.
7400
6d74dd09
JM
74012012-05-10 Joseph Myers <joseph@codesourcery.com>
7402
7403 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7404
28e72501
MK
74052012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7406 Joseph Myers <joseph@codesourcery.com>
7407 Paul Pluzhnikov <ppluzhnikov@google.com>
7408
7409 [BZ #14012]
7410 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7411 requiring rpcgen.
7412 [cross-compiling] (extra-libs): Likewise.
7413 [cross-compiling] (extra-libs-others): Likewise.
7414 [cross-compiling] (librpcsvc-routines): Likewise.
7415 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7416 [cross-compiling] (omit-deps): Likewise.
7417 (sunrpc-CPPFLAGS): New variable.
7418 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7419 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7420 (cross-rpcgen-objs): New variable.
7421 (extra-objs): Append $(cross-rpcgen-objs).
7422 ($(cross-rpcgen-objs)): New rule.
7423 ($(objpfx)cross-rpcgen): Likewise.
7424 (rpcgen-cmd): Define to use $(built-program-file). Expand
7425 comment.
7426 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7427 ($(objpfx)x%.stmp): Likewise.
7428 * sunrpc/proto.h [IS_IN_build] (_): Define.
7429 [IS_IN_build] (_libc_intl_domainname): Likewise.
7430
c8c59454
L
74312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7432
7433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7434 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7435 and R_X86_64_TPOFF64.
7436
6f27cd16
JM
74372012-05-10 Joseph Myers <joseph@codesourcery.com>
7438
7439 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7440 sysdeps/unix/sysv/syscalls.list.
7441 (stime): Likewise.
7442 (utime): Likewise.
7443 * sysdeps/unix/sysv/syscalls.list: Remove file.
7444
02467e1c
PE
74452012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7446
7447 [BZ #3440]
7448 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7449 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7450 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7451 (__LC_IDENTIFICATION): Make these macros useful in #if
7452 expressions, as required by C99.
7453
da392631
AS
74542012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7455
7456 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7457 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7458 after this.
7459
8115f29b
L
74602012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7461
7462 * stdlib/longlong.h: Updated from GCC.
7463
bdd74070
AJ
74642012-05-09 Andreas Jaeger <aj@suse.de>
7465
edfe0dbe
AJ
7466 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7467 default is first entry.
7468 (run_mode): Set type.
7469 (main): Remove informal message about syslog.
7470 (options): Fix typo.
7471
bcfe3a54
ST
7472 [BZ #14053]
7473 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7474 to asm.
bcfe3a54
ST
7475 (lrint): Likewise.
7476 (llrintf): Likewise.
7477 (llrint): Likewise.
7478 (rint): Likewise.
7479 (rintf): Likewise.
7480 (nearbyint): Likewise.
7481 (nearbyintf): Likewise.
bdd74070 7482
91d8d69e
AJ
74832012-05-09 Andreas Jaeger <aj@suse.de>
7484 Pedro Alves <palves@redhat.com>
7485
7486 * nscd/nscd.c (run_mode): Use enum.
7487 (main): Cleanup coding style issue.
7488
bb90b80b
AJ
74892012-05-09 Alexandre Oliva <aoliva@redhat.com>
7490 Andreas Jaeger <aj@suse.de>
7491
bcfe3a54
ST
7492 * nscd/nscd.c (go_background): Replaced with...
7493 (run_mode): ... this.
bb90b80b 7494 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7495 (options): Add -F --foreground.
7496 (main): Implement it.
7497 (parse_opt): Parse it.
bb90b80b 7498
1a4b75a1
AJ
74992012-05-09 Andreas Jaeger <aj@suse.de>
7500
7501 [BZ #14083]
7502 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7503 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7504 -Wconversion warning.
7505 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7506 Likewise.
7507
b1cc2472
JM
75082012-05-09 Joseph Myers <joseph@codesourcery.com>
7509
7510 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7511 == 0.
7512 (LC_ALL): Use macro-int-constant.
7513 (LC_COLLATE): Likewise.
7514 (LC_CTYPE): Likewise.
7515 (LC_MESSAGES): Likewise.
7516 (LC_MONETARY): Likewise.
7517 (LC_NUMERIC): Likewise.
7518 (LC_TIME): Likewise.
7519 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7520 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7521 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7522 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7523 Specify type.
7524 [C99-based standards] (float_t): Expect type.
7525 [C99-based standards] (double_t): Expect type.
7526 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7527 type.
7528 [C99-based standards] (HUGE_VALL): Likewise.
7529 [C99-based standards] (INFINITY): Likewise.
7530 [C99-based standards] (NAN): Likewise.
7531 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7532 [C99-based standards] (FP_NAN): Likewise.
7533 [C99-based standards] (FP_NORMAL): Likewise.
7534 [C99-based standards] (FP_SUBNORMAL): Likewise.
7535 [C99-based standards] (FP_ZERO): Likewise.
7536 [C99-based standards] (FP_FAST_FMA): Use
7537 optional-macro-int-constant. Specify type. Require == 1.
7538 [C99-based standards] (FP_FAST_FMAF): Likewise.
7539 [C99-based standards] (FP_FAST_FMAL): Likewise.
7540 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7541 [C99-based standards] (FP_ILOGBNAN): Likewise.
7542 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7543 Specify type.
7544 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7545 [C99-based standards] (math_errhandling): Specify type.
7546 [ISO99 || ISO11] (signgam): Do not allow.
7547 [non-C99-based standards] (copysignf): Do not allow.
7548 [non-C99-based standards] (exp2f): Likewise.
7549 [non-C99-based standards] (log2f): Likewise.
7550 [non-C99-based standards] (modff): Allow.
7551 [non-C99-based standards] (erff): Do not allow.
7552 [non-C99-based standards] (erfcf): Likewise.
7553 [non-C99-based standards] (gammaf): Likewise.
7554 [non-C99-based standards] (hypotf): Likewise.
7555 [non-C99-based standards] (j0f): Likewise.
7556 [non-C99-based standards] (j1f): Likewise.
7557 [non-C99-based standards] (jnf): Likewise.
7558 [non-C99-based standards] (lgammaf): Likewise.
7559 [non-C99-based standards] (tgammaf): Likewise.
7560 [non-C99-based standards] (y0f): Likewise.
7561 [non-C99-based standards] (y1f): Likewise.
7562 [non-C99-based standards] (ynf): Likewise.
7563 [non-C99-based standards] (isnanf): Likewise.
7564 [non-C99-based standards] (acoshf): Likewise.
7565 [non-C99-based standards] (asinhf): Likewise.
7566 [non-C99-based standards] (atanhf): Likewise.
7567 [non-C99-based standards] (cbrtf): Likewise.
7568 [non-C99-based standards] (expm1f): Likewise.
7569 [non-C99-based standards] (ilogbf): Likewise.
7570 [non-C99-based standards] (log1pf): Likewise.
7571 [non-C99-based standards] (logbf): Likewise.
7572 [non-C99-based standards] (nextafterf): Likewise.
7573 [non-C99-based standards] (remainderf): Likewise.
7574 [non-C99-based standards] (rintf): Likewise.
7575 [non-C99-based standards] (scalbf): Likewise.
7576 [non-C99-based standards] (copysignl): Likewise.
7577 [non-C99-based standards] (exp2l): Likewise.
7578 [non-C99-based standards] (log2l): Likewise.
7579 [non-C99-based standards] (modfl): Allow.
7580 [non-C99-based standards] (erfl): Do not allow.
7581 [non-C99-based standards] (erfcl): Likewise.
7582 [non-C99-based standards] (gammal): Likewise.
7583 [non-C99-based standards] (hypotl): Likewise.
7584 [non-C99-based standards] (j0l): Likewise.
7585 [non-C99-based standards] (j1l): Likewise.
7586 [non-C99-based standards] (jnl): Likewise.
7587 [non-C99-based standards] (lgammal): Likewise.
7588 [non-C99-based standards] (tgammal): Likewise.
7589 [non-C99-based standards] (y0l): Likewise.
7590 [non-C99-based standards] (y1l): Likewise.
7591 [non-C99-based standards] (ynl): Likewise.
7592 [non-C99-based standards] (isnanl): Likewise.
7593 [non-C99-based standards] (acoshl): Likewise.
7594 [non-C99-based standards] (asinhl): Likewise.
7595 [non-C99-based standards] (atanhl): Likewise.
7596 [non-C99-based standards] (cbrtl): Likewise.
7597 [non-C99-based standards] (expm1l): Likewise.
7598 [non-C99-based standards] (ilogbl): Likewise.
7599 [non-C99-based standards] (log1pl): Likewise.
7600 [non-C99-based standards] (logbl): Likewise.
7601 [non-C99-based standards] (nextafterl): Likewise.
7602 [non-C99-based standards] (remainderl): Likewise.
7603 [non-C99-based standards] (rintl): Likewise.
7604 [non-C99-based standards] (scalbl): Likewise.
7605 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7606 [non-C99-based standards] (FP_*): Do not allow.
7607 [C99-based standards] (FP_*): Change to
7608 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7609 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7610 allow.
7611 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7612 (SIG_ERR): Likewise.
7613 [X/Open-based standards] (SIG_HOLD): Likewise.
7614 (SIG_IGN): Likewise.
7615 (SIGABRT): Use macro-int-constant. Specify type. Require
7616 positive value.
7617 (SIGFPE): Likewise.
7618 (SIGILL): Likewise.
7619 (SIGINT): Likewise.
7620 (SIGSEGV): Likewise.
7621 (SIGTER): Likewise.
7622 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7623 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7624 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7625 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7626 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7627 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7628 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7629 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7630 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7631 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7632 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7633 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7634 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7635 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7636 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7637 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7638 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7639 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7640 [X/Open-based standards] (SIGTRAP): Likewise.
7641 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7642 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7643 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7644 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7645 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7646 allow.
7647
b9f1922d
IW
76482012-05-08 Ian Wienand <ianw@vmware.com>
7649
7650 [BZ #14080]
7651 * time/tzset.c (__tzset_parse_tz): Update default rules for
7652 daylight time changes in the Energy Policy Act of 2005.
7653
1db86e88
AJ
76542012-05-09 Andreas Jaeger <aj@suse.de>
7655
7656 [BZ #13983]
7657 * elf/ldconfig.c (parse_conf): Change string to make clear that
7658 ldconfig only issued a warning if ld.so.conf does not exist.
7659
dee4a4e3
DM
76602012-05-08 David S. Miller <davem@davemloft.net>
7661
ee0db190
DM
7662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7663 movxtod instead of popping the value on the stack.
7664
dee4a4e3
DM
7665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7666
6a43ec98
CD
76672012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7668
7669 * config.h.in: Add HAVE_ARM_PCS_VFP.
7670
05c2c961
RMG
76712012-05-08 Roland Mc Grath <roland@hack.frob.com>
7672
bcfe3a54
ST
7673 [BZ #13979]
7674 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7675 checking but the checks are disabled for any reason.
05c2c961 7676
4b30f61a
L
76772012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7678
7679 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7680 and ELF64_R_TYPE with ELFW(R_TYPE).
7681
eee2bc67
JM
76822012-05-08 Joseph Myers <joseph@codesourcery.com>
7683
7ea5391a
JM
7684 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7685 (ulimit): Likewise.
7686
eee2bc67
JM
7687 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7688 (settimeofday): Likewise.
7689
abb66a67
MF
76902012-05-08 Mike Frysinger <vapier@gentoo.org>
7691
7692 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7693 a struct th_u2 inside the union, and move tu_block/tu_code into
7694 a new th_u3 union of tu_block/tu_code inside of that. Move
7695 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7696 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7697 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7698 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7699 (th_stuff): Change to th_u1.tu_stuff.
7700 (th_data): Define.
7701 (th_msg): Change to th_u1.th_u2.tu_data.
7702
7f18b530
DM
77032012-05-07 David S. Miller <davem@davemloft.net>
7704
05760585
DM
7705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7706
7f18b530
DM
7707 [BZ #14074]
7708 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7709 (SETUP_PIC_REG): Use it.
7710 (SETUP_PIC_REG_LEAF): Use it.
7711
495fd99f
JM
77122012-05-07 Joseph Myers <joseph@codesourcery.com>
7713
7714 [BZ #13885]
7715 [BZ #13923]
7716 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7717 USE_AS_EXPM1L.
7718 (EXPL_FINITE): Likewise.
7719 (FLDLOG): Likewise.
7720 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7721 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7722 e_expl.S.
7723 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7724 USE_AS_EXPM1L.
7725 (EXPL_FINITE): Likewise.
7726 (FLDLOG): Likewise.
7727 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7728 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7729 e_expl.S.
7730 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7731 test of -max_value argument for long double.
7732 * sysdeps/i386/fpu/libm-test-ulps: Update.
7733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7734
6693d694
DM
77352012-05-06 David S. Miller <davem@davemloft.net>
7736
7737 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7738 quad soft-float symbols whose references which are compiler
7739 generated.
7740 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7741
6c23e11c
JM
77422012-05-06 Joseph Myers <joseph@codesourcery.com>
7743
d8b82cad
JM
7744 [BZ #13884]
7745 [BZ #13914]
7746 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7747 USE_AS_EXP10L.
7748 (EXPL_FINITE): Likewise.
7749 (FLDLOG): Likewise.
7750 (c0): Likewise.
7751 (c1): Likewise.
7752 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7753 Adjust comments for base varying.
7754 (__expl_finite): Change alias to EXPL_FINITE.
7755 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7756 e_expl.S.
7757 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7758 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7759 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7760 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7761 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7762 USE_AS_EXP10L.
7763 (EXPL_FINITE): Likewise.
7764 (FLDLOG): Likewise.
7765 (c0): Likewise.
7766 (c1): Likewise.
7767 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7768 Adjust comments for base varying.
7769 (__expl_finite): Change alias to EXPL_FINITE.
7770 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7771 tests for bugs.
7772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7773
6c23e11c
JM
7774 [BZ #14064]
7775 * math/libm-test.inc (check_float_internal): Correct ulp
7776 calculation for subnormal expected results.
7777
29ba805c
AJ
77782012-05-06 Andreas Jaeger <aj@suse.de>
7779
7780 * Makeconfig (+math-flags): New, set to -frounding-math.
7781 (+cflags): Add +math-flags so that all of glibc gets compiled with
7782 it.
7783
7784 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7785
7b17aeda
JM
77862012-05-05 Joseph Myers <joseph@codesourcery.com>
7787
5779f134
JM
7788 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7789 Disable one test.
7790
41498f4d
JM
7791 [BZ #13787]
7792 [BZ #13922]
7793 [BZ #14036]
7794 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7795 (__ieee754_expl): Allow for and saturate large arguments.
7796 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7797 (u_threshold): Likewise.
7798 (__exp): Call __ieee754_exp before checking for overflow and
7799 underflow.
7800 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7801 (u_threshold): Likewise.
7802 (__expf): Call __ieee754_expf before checking for overflow and
7803 underflow.
7804 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7805 (u_threshold): Likewise.
7806 (__expl): Call __ieee754_expl before checking for overflow and
7807 underflow.
7808 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7809 (__ieee754_expl): Allow for and saturate large arguments.
7810 * math/libm-test.inc (exp_test): Add another test. Do not allow
7811 missing overflow exception on overflow.
7812 (expm1_test): Do not allow missing overflow exception on overflow.
7813
6698b8bf
JM
7814 * sysdeps/i386/fpu/e_expl.c: Move to ...
7815 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7816 rather than using inline asm.
7817 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7818 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7819 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7820
7b17aeda
JM
7821 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7822 (nice): Likewise.
7823 (poll): Likewise.
7824 (signal): Likewise.
7825 (time): Likewise.
7826 (times): Likewise.
7827
f7c85819
JM
78282012-05-04 Joseph Myers <joseph@codesourcery.com>
7829
7830 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7831 sysdeps/unix/common/syscalls.list.
7832 (fchmod): Likewise.
7833 (fchown): Likewise.
7834 (ftruncate): Likewise.
7835 (getrusage): Likewise.
7836 (gettimeofday): Likewise.
7837 (setpgid): Likewise.
7838 (setregid): Likewise.
7839 (setreuid): Likewise.
7840 (sigaction): Likewise.
7841 (truncate): Likewise.
7842 (vhangup): Likewise.
7843 * sysdeps/unix/common/syscalls.list: Remove file.
7844 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7845 * sysdeps/unix/sysv/linux/Implies: Likewise.
7846
336270d0
L
78472012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7848
7849 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7851 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7852 Moved to ...
7853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7854 Here.
7855 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7856 to ...
7857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7858 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7859 to ...
7860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7861 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7862 to ...
7863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7864 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7865 to ...
7866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7867 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7868 to ...
7869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7870 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7871 to ...
7872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7873 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7874 to ...
7875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7876 Here.
7877 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7878 to ...
7879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7880 Here.
7881 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7882 to ...
7883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7884 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7885 Moved to ...
7886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7887 Here.
7888 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7889 to ...
7890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7891
d128e450
JM
78922012-05-04 Joseph Myers <joseph@codesourcery.com>
7893
fa8ee516
JM
7894 * sysdeps/unix/common/bits/dirent.h: Remove file.
7895 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7896
d128e450
JM
7897 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7898 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7899 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7900 * sysdeps/unix/bsd/isatty.c: Likewise.
7901 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7902 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7903 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7904
ff8faaf0 79052012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7906
62881be4 7907 [BZ #13563]
31dc8730
AZ
7908 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7909 long double comparison inaccuracies.
7910 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7912
6fef930c
AS
79132012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7914
7915 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7916 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7917
8f203e6c
JM
79182012-05-04 Joseph Myers <joseph@codesourcery.com>
7919
7920 [BZ #14049]
7921 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7922 nonzero digits before rounding a hex value.
7923 * stdlib/tst-strtod.c (tests): Add another test.
7924
5197d9c2
AK
79252012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7926
7927 * sysdeps/s390/fpu/libm-test-ulps: Update.
7928
f0c1dedf
AJ
79292012-05-03 Andreas Jaeger <aj@suse.de>
7930
7931 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7932 does not get optimized out.
7933 (malloc_opt_barrier): New.
7934
a65ef2ae 79352012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7936 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7937
2b942cb7 7938 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7939 intermediate file deletion.
2b942cb7 7940 (generated): Add .symlist files.
a65ef2ae 7941
54b71e02
JM
79422012-05-03 Joseph Myers <joseph@codesourcery.com>
7943
7944 [BZ #13775]
7945 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7946 Redirect under this condition.
7947 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7948 [__USE_GNU] (__dprintf_chk): Not under this condition.
7949 [__USE_GNU] (__vdprintf_chk): Likewise.
7950 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7951 under this condition.
7952 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7953 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7954 [__USE_XOPEN2K8] (vdprintf): Likewise.
7955 [__USE_GNU] (__dprintf_chk): Not under this condition.
7956 [__USE_GNU] (__vdprintf_chk): Likewise.
7957 [__USE_GNU] (dprintf): Likewise.
7958 [__USE_GNU] (vdprintf): Likewise.
7959
d3dfcc41
RM
79602012-05-03 Roland McGrath <roland@hack.frob.com>
7961
7962 * elf/Makefile (common-generated): Set this instead of generated for
7963 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7964 $(all-built-dso)-derived lists.
7965
7ac30cc5
AJ
79662012-05-03 Andreas Jaeger <aj@suse.de>
7967
0c51e550
AJ
7968 * sysdeps/i386/fpu/libm-test-ulps: Update.
7969
7ac30cc5
AJ
7970 * FAQ: Removed.
7971 * FAQ.in: Likewise.
7972 * scripts/gen-FAQ.pl: Likewise.
7973 * manual/install.texi (Installation): Point to online location of
7974 FAQ.
7975 * Makefile (files-for-dist): Remove FAQ.
7976 (FAQ): Remove.
7977
d4c2917f
AM
79782012-05-02 Allan McRae <allan@archlinux.org>
7979
7980 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7981 (LDFLAGS-reldepmod5.so): Likewise.
7982 (LDFLAGS-reldep6mod1.so): Likewise.
7983 (LDFLAGS-reldep6mod4.so): Likewise.
7984 (LDFLAGS-reldep8mod3.so): Likewise.
7985 (LDFLAGS-unload4mod1.so): Likewise.
7986 (LDFLAGS-unload4mod2.so): Likewise.
7987 (LDFLAGS-tst-initorder): Likewise.
7988 (LDFLAGS-tst-initordera2.so): Likewise.
7989 (LDFLAGS-tst-initordera3.so): Likewise.
7990 (LDFLAGS-tst-initordera4.so): Likewise.
7991 (LDFLAGS-tst-initorderb2.so): Likewise.
7992 (LDFLAGS-noload): Likewise.
7993 (LDFLAGS-next): Likewise.
7994 (LDFLAGS-order2mod1.so): Likewise.
7995 (LDFLAGS-order2mod2.so): Likewise.
7996 (LDFLAGS-tst-initorder2): Likewise.
7997 (LDFLAGS-tst-initorder2a.so): Likewise.
7998 (LDFLAGS-tst-initorder2b.so): Likewise.
7999 (LDFLAGS-tst-initorder2c.so): Likewise.
8000 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8001
d77f993f
DM
80022012-05-02 David S. Miller <davem@davemloft.net>
8003
8004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8005
171a70b4
PP
80062012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8007
8008 [BZ #14055]
8009 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8010
0be196ad
AJ
80112012-05-02 Andreas Jaeger <aj@suse.de>
8012
8013 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8014 since we manipulate rounding mode.
8015 (CPPFLAGS-test-idouble.c): Likewise.
8016 (CPPFLAGS-test-ifloat.c): Likewise.
8017 (CFLAGS-test-ldouble.c): Likewise.
8018 (CFLAGS-test-double.c): Likewise.
8019 (CFLAGS-test-float.c): Likewise.
8020 (CFLAGS-test-misc.c): Likewise.
8021 (CFLAGS-test-test-fenv.c): Likewise.
8022
4f9d04aa
AZ
80232012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8024
2b942cb7
RM
8025 [BZ #2550]
8026 [BZ #2570]
8027 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8028 comparisons to determine direction to adjust input.
4f9d04aa 8029
82a79e7d
RM
80302012-05-01 Roland McGrath <roland@hack.frob.com>
8031
f5a01ca9
RM
8032 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8033 output to the target.
8034
90fe4186
RM
8035 * scripts/localplt.awk: New file.
8036 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8037 (check-localplt-CFLAGS): Variable removed.
8038 ($(all-built-dso:=.jmprel)): New static pattern rule.
8039 (generated): Add those targets.
8040 (localplt-built-dso): New variable.
8041 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8042
8043 * elf/check-localplt.c: File removed.
8044
82397ed6
RM
8045 * scripts/check-execstack.awk: New file.
8046 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8047 (check-execstack-CFLAGS): Variable removed.
8048 ($(objpfx)check-execstack.h): Target removed.
8049 ($(objpfx)execstack-default): New target.
8050 (generated): Add that instead of check-execstack.h.
8051 ($(all-built-dso:=.phdr)): New static pattern rule.
8052 (generated): Add those targets.
8053 * elf/check-execstack.c: File removed.
8054
82a79e7d
RM
8055 * scripts/check-textrel.awk: New file.
8056 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8057 (check-textrel-CFLAGS): Variable removed.
8058 (all-built-dso): Use := to define.o
8059 ($(all-built-dso:=.dyn)): New static pattern rule.
8060 (generated): Add those targets.
8061 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8062 * config.make.in (READELF): New substituted variable.
8063 * elf/check-textrel.c: File removed.
8064
62fde54f 80652012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 8066
615605c9
JM
8067 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8068 allow.
8069 * conform/data/ctype.h-data [C99-based standards] (isblank):
8070 Expect function.
8071 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8072 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8073 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8074 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8075 Specify type. Require positive value.
8076 (EILSEQ): Likewise.
8077 (ERANGE): Likewise.
8078 [ISO || POSIX] (EILSEQ): Do not expect.
8079 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8080 Specify type. Require positive value.
8081 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8082 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8083 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8084 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8085 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8086 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8087 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8088 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8089 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8090 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8091 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8092 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8093 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8094 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8095 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8096 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8097 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8098 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8099 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8100 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8101 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8102 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8103 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8104 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8105 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8106 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8107 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8108 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8109 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8110 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8111 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8112 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8113 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8114 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8115 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8116 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8117 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8118 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8119 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8120 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8121 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8122 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8123 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8124 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8125 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8126 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8127 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8128 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8129 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8130 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8131 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8132 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8133 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8134 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8135 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8136 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8137 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8138 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8139 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8140 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8141 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8142 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8143 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8144 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8145 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8146 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8147 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8148 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8149 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8150 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8151 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8152 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8153 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8154 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8155 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8156 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8157 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8158 Require >= 2.
8159 (FLT_ROUNDS): Expect as macro, not constant.
8160 (FLT_MANT_DIG): Use macro-int-constant.
8161 (DBL_MANT_DIG): Likewise.
8162 (LDBL_MANT_DIG): Likewise.
8163 (FLT_DIG): Likewise.
8164 (DBL_DIG): Likewise.
8165 (LDBL_DIG): Likewise.
8166 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8167 (DBL_MIN_EXP): Likewise.
8168 (LDBL_MIN_EXP): Likewise.
8169 (FLT_MAX_EXP): Use macro-int-constant.
8170 (DBL_MAX_EXP): Likewise.
8171 (LDBL_MAX_EXP): Likewise.
8172 (FLT_MAX_10_EXP): Likewise.
8173 (DBL_MAX_10_EXP): Likewise.
8174 (LDBL_MAX_10_EXP): Likewise.
8175 (FLT_MAX): Use macro-constant.
8176 (DBL_MAX): Likewise.
8177 (LDBL_MAX): Likewise.
8178 (FLT_EPSILON): Use macro-constant. Give upper bound.
8179 (DBL_EPSILON): Likewise.
8180 (LDBL_EPSILON): Likewise.
8181 (FLT_MIN): Likewise.
8182 (DBL_MIN): Likewise.
8183 (LDBL_MIN): Likewise.
8184 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8185 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8186 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8187 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8188 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8189 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8190 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8191 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8192 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8193 [ISO11] (FLT_TRUE_MIN): Likewise.
8194 [ISO11] (LDBL_TRUE_MIN): Likewise.
8195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8196 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8197 (SCHAR_MIN): Use macro-int-constant. Specify type.
8198 (SCHAR_MAX): Likewise.
8199 (UCHAR_MAX): Likewise.
8200 (CHAR_MIN): Likewise.
8201 (CHAR_MAX): Likewise.
8202 (MB_LEN_MAX): Use macro-int-constant.
8203 (SHRT_MIN): Use macro-int-constant. Specify type.
8204 (SHRT_MAX): Likewise.
8205 (USHRT_MAX): Likewise.
8206 (INT_MAX): Likewise.
8207 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8208 bound negative.
8209 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8210 bound with "U".
8211 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8212 bound with "L".
8213 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8214 bound negative. Suffix upper bound with "L".
8215 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8216 bound with "UL".
8217 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8218 Specify type.
8219 [C99-based standards] (LLONG_MAX): Likewise.
8220 [C99-based standards] (ULLONG_MAX): Likewise.
8221 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8222 == 0.
8223 [ISO11] (max_align_t): Require type.
8224 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8225
c9140a62
JM
8226 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8227 from $CFLAGS, without defining away __attribute__ calls.
8228 (checknamespace): Use $CFLAGS_namespace.
8229
9af0bf29
JM
8230 * conform/conformtest.pl (@keywords): Only include C99 keywords
8231 for standards based on C99 or C11.
8232
343222a2
JM
8233 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8234 Disable tests.
8235 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8236 UNIX98]: Likewise.
8237
661f8cf0
JM
8238 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8239 usability of symbols in #if.
8240
ee74b9cb
JM
8241 * conform/conformtest.pl: If macro or constant types start
8242 "promoted:", expect the symbol to be of the following type
8243 promoted by the integer promotions.
62fde54f 8244
aafc49b3
JM
8245 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8246 in one place. Also handle "macro-constant".
8247
fefdf574
JM
8248 * conform/conformtest.pl: Only accept expected macro values with
8249 "==". Parse all "macro" lines in one place.
8250 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8251
f2d922fe
JM
8252 * conform/conformtest.pl: Handle braced types on "constant" lines
8253 instead of handling "typed-constant".
8254 * conform/data/signal.h-data: Use "constant" instead of
8255 "typed-constant".
8256
d22956c9
JM
8257 * conform/conformtest.pl: Handle "optional-" at start of lines in
8258 one place rather than duplicating several cases. Handle each
8259 format of "macro" line with initial "optional-".
8260
028e2e38
JM
8261 * conform/conformtest.pl: Only accept expected constant or
8262 optional-constant values with "==". Parse all "constant" lines in
8263 one place. Parse all "optional-constant" lines in one place.
8264 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8265 * conform/data/fmtmsg.h-data: Likewise.
8266 * conform/data/netinet/in.h-data: Likewise.
8267 * conform/data/tar.h-data: Likewise.
8268 * conform/data/limits.h-data: Use "==" form on "constant" and
8269 "optional-constant" lines.
8270
1b8f2850
JM
8271 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8272 Use -std=c99 for XOPEN2K.
8273 (@knownproblems): Remove.
8274 (newtoken): Don't check %isknown.
8275
a05a144b
JM
8276 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8277 Do not expect macro.
8278 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8279 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8280 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8281 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8282 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8283 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8284 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8285 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8286 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8287 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8288 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8289 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8290 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8291 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8292 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8293 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8294 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8295 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8296 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8297 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8298 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8299 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8300 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8301 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8302 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8303 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8304 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8305 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8306 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8307 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8308 [XPG3] (acosh): Likewise.
8309 [XPG3] (asinh): Likewise.
8310 [XPG3] (atanh): Likewise.
8311 [XPG3] (cbrt): Likewise.
8312 [XPG3] (expm1): Likewise.
8313 [XPG3] (ilogb): Likewise.
8314 [XPG3] (log1p): Likewise.
8315 [XPG3] (logb): Likewise.
8316 [XPG3] (nextafter): Likewise.
8317 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8318 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8319 [XPG3] (remainder): Likewise.
8320 [XPG3] (rint): Likewise.
8321 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8322 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8323 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8324 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8325 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8326 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8327 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8328 [UNIX98 || XOPEN2K] (scalb): Expect.
8329 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8330 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8331 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8332 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8333 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8334 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8335 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8336 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8337 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8338 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8339 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8340 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8341 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8342 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8343 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8344 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8345 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8346 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8347 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8348 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8349 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8350 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8351 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8352 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8353 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8354 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8355 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8356 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8357 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8358 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8359 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8360 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8361 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8362 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8363 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8364 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8365 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8366 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8367 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8368 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8369 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8370 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8371 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8372 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8373 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8374 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8375 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8376 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8377 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8378 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8379 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8380 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8381 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8382 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8383 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8384 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8385 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8386 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8387 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8388 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8389 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8390 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8391 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8392 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8393 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8394 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8395 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8396 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8397 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8398 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8399 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8400 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8401 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8402 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8403 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8404 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8405 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8406 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8407 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8408 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8409 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8410 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8411 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8412 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8413 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8414 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8415 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8416 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8417 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8418 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8419 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8420 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8421 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8422 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8423 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8424 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8425 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8426 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8427 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8428 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8429 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8430 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8431 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8432 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8433 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8434 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8435 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8436 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8437 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8438 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8439 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8440 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8441 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8442 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8443 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8444 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8445 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8446 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8447 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8448 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8449 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8450 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8451 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8452 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8453 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8454 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8455 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8456 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8457 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8458 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8459 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8460 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8461 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8462 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8463 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8464 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8465 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8466
73c5ebe3
JM
8467 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8468 _XOPEN_SOURCE_EXTENDED for XPG4.
8469
39c33b6c
JM
8470 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8471
62fde54f
JM
8472 * Makeconfig (localtime): Remove variable.
8473 (inst_localtime-file): Likewise.
8474
0741d64c
AS
84752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8476
8477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8478 Update.
8479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8480 Update.
8481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8482 Update.
8483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8484 Update.
8485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8486 Update.
8487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8488 Update.
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8490 Update.
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8492 Update.
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8494 Update.
8495
7cb029ee
JM
84962012-05-01 Joseph Myers <joseph@codesourcery.com>
8497
8498 [BZ #2550]
8499 [BZ #2570]
8500 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8501 comparisons to determine direction to adjust input.
8502 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8503 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8504 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8505 Likewise.
8506 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8507 Likewise.
8508 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8509 Likewise.
8510 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8511 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8512 Likewise.
8513 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8514 Likewise.
8515 * math/libm-test.inc (nexttoward_test): Add more tests.
8516
412bd966
AS
85172012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8518
8519 [BZ #14040]
8520 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8521 in version GLIBC_2.1, not GLIBC_2.0.
8522 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8523 Likewise.
8524
9568c0c2
JM
85252012-04-30 Joseph Myers <joseph@codesourcery.com>
8526
adfbc8ac
JM
8527 [BZ #13942]
8528 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8529 (1 - x) * (1 + x).
8530 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8531 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8532 * math/libm-test.inc (acos_test): Add more tests.
8533 (asin_test): Likewise.
8534 * sysdeps/i386/fpu/libm-test-ulps: Update.
8535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8536
5ba3cc69
JM
8537 [BZ #14034]
8538 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8539 of square root.
8540 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8541 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8542 * math/libm-test.inc (acos_test_tonearest): New function.
8543 (acos_test_towardzero): Likewise.
8544 (acos_test_downward): Likewise.
8545 (acos_test_upward): Likewise.
8546 (asin_test_tonearest): Likewise.
8547 (asin_test_towardzero): Likewise.
8548 (asin_test_downward): Likewise.
8549 (asin_test_upward): Likewise.
8550 (main): Call the new functions.
8551 * sysdeps/i386/fpu/libm-test-ulps: Update.
8552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8553
9568c0c2
JM
8554 [BZ #13884]
8555 [BZ #13924]
8556 * math/e_exp10.c: Include <float.h>.
8557 (__ieee754_exp10): Handle underflow here rather than multiplying
8558 large negative argument by M_LN10.
8559 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8560 of __ieee754_expf.
8561 * math/e_exp10l.c: Include <float.h>.
8562 (__ieee754_exp10l): Handle underflow here rather than multiplying
8563 large negative argument by M_LN10l.
8564 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8565 spurious overflow exception on underflow.
8566
5ac3ea17
MP
85672012-04-29 Marek Polacek <polacek@redhat.com>
8568
8569 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8570 (__fortify_function): New macro.
8571 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8572 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8573 __extern_always_inline.
8574 * libio/bits/stdio2.h: Likewise.
8575 * libio/bits/stdio.h: Likewise.
8576 * string/string.h: Likewise.
8577 * string/bits/string3.h: Likewise.
8578 * include/stdio.h: Likewise.
8579 * stdlib/bits/stdlib.h: Likewise.
8580 * stdlib/stdlib.h: Likewise.
8581 * rt/bits/mqueue2.h: Likewise.
8582 * rt/mqueue.h: Likewise.
8583 * posix/bits/unistd.h: Likewise.
8584 * posix/unistd.h: Likewise.
8585 * io/bits/poll2.h: Likewise.
8586 * io/bits/fcntl2.h: Likewise.
8587 * io/fcntl.h: Likewise.
8588 * io/sys/poll.h: Likewise.
8589 * misc/bits/syslog.h: Likewise.
8590 * misc/bits/syslog-ldbl.h: Likewise.
8591 * misc/sys/syslog.h: Likewise.
8592 * socket/bits/socket2.h: Likewise.
8593 * socket/sys/socket.h: Likewise.
8594 * debug/tst-chk1.c: Likewise.
8595 * wcsmbs/bits/wchar2.h: Likewise.
8596 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8597 * wcsmbs/wchar.h: Likewise.
8598
ecf0ebfb
AJ
85992012-04-29 Andreas Jaeger <aj@suse.de>
8600
8601 * Makerules (tests): Remove enable-check-abi protection.
8602 (check-abi-warn): Remove.
8603 (check-abi-%): Remove check-abi-warn usage.
8604
8605 * configure.in: Remove check-abi configure option.
8606 * configure: Regenerated.
8607 * config.make.in (enable-check-abi): Remove.
8608
6d5c57fa
AS
86092012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8610
24c5d07e 8611 [BZ #14033]
ded5180a
AS
8612 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8613 double functions to double *_finite functions.
8614
7e0d315d
AS
8615 [BZ #13941]
8616 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8617 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8618 LDBL_MIN_EXP.
8619 * stdio-common/Makefile (tests): Add tst-sprintf3.
8620 * stdio-common/tst-sprintf3.c: New file.
8621
6d5c57fa
AS
8622 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8623 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8624
0749ff8b
JM
86252012-04-28 Joseph Myers <joseph@codesourcery.com>
8626
8627 * conform/conformtest.pl: Remove duplicate typed-constant
8628 handling.
8629
8dbd5d7b
DM
86302012-04-28 David S. Miller <davem@davemloft.net>
8631
8632 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8633 (check-abi-%): Remove AWK script prerequisite and explicit
8634 abilist directory.
8635 (check-abi): Rewrite to just diff the symlist with the abilist.
8636 (config-tls, config-abi-config): Delete, no longer used.
8637 (update-abi-%): Remove AWK script and explicit abilist directory.
8638 (update-abi): Rewrite to simply compare and conditionally copy the
8639 symlist and the sysdep abilist file. Remove update-abi-config
8640 checks.
8641 * abilist/ld.abilist: Remove.
8642 * abilist/libBrokenLocale.abilist: Remove.
8643 * abilist/libanl.abilist: Remove.
8644 * abilist/libcrypt.abilist: Remove.
8645 * abilist/libdl.abilist: Remove.
8646 * abilist/librt.abilist: Remove.
8647 * abilist/libthread_db.abilist: Remove.
8648 * abilist/libutil.abilist: Remove.
8649 * scripts/extract-abilist.awk: Remove.
8650 * scripts/merge-abilist.awk: Remove.
8651 * sysdeps/generic/libcidn.abilist: New file.
8652 * sysdeps/generic/libnss_compat.abilist: New file.
8653 * sysdeps/generic/libnss_db.abilist: New file.
8654 * sysdeps/generic/libnss_dns.abilist: New file.
8655 * sysdeps/generic/libnss_files.abilist: New file.
8656 * sysdeps/generic/libnss_hesiod.abilist: New file.
8657 * sysdeps/generic/libnss_nis.abilist: New file.
8658 * sysdeps/generic/libnss_nisplus.abilist: New file.
8659 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8660 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8661 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8662 file.
8663 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8664 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8665 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8666 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8667 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8668 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8669 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8670 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8671 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8672 file.
8673 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8674 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8675 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8676 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8677 file.
8678 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8679 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8680 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8681 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8682 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8683 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8684 file.
8685 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8686 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8687 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8688 file.
8689 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8691 New file.
8692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8693 New file.
8694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8695 New file.
8696 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8697 New file.
8698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8699 New file.
8700 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8701 New file.
8702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8703 New file.
8704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8705 New file.
8706 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8707 New file.
8708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8709 New file.
8710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8711 New file.
8712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8713 New file.
8714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8715 New file.
8716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8717 file.
8718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8719 New file.
8720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8721 New file.
8722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8723 file.
8724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8725 New file.
8726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8727 New file.
8728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8729 file.
8730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8731 New file.
8732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8733 New file.
8734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8735 New file.
8736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8737 New file.
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8739 New file.
8740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8741 New file.
8742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8744 file.
8745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8746 New file.
8747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8748 file.
8749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8750 file.
8751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8752 file.
8753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8754 file.
8755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8756 file.
8757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8758 New file.
8759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8760 file.
8761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8762 file.
8763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8764 New file.
8765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8766 file.
8767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8769 file.
8770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8771 New file.
8772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8773 file.
8774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8775 file.
8776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8777 file.
8778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8779 file.
8780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8781 file.
8782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8783 New file.
8784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8785 file.
8786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8787 file.
8788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8789 New file.
8790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8791 file.
8792 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8793 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8794 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8795 file.
8796 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8797 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8798 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8799 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8800 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8801 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8802 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8803 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8804 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8805 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8808 file.
8809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8810 New file.
8811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8812 file.
8813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8814 file.
8815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8816 file.
8817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8818 file.
8819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8820 file.
8821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8822 New file.
8823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8824 New file.
8825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8826 file.
8827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8828 New file.
8829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8830 file.
8831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8833 file.
8834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8835 New file.
8836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8837 file.
8838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8839 file.
8840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8841 file.
8842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8843 file.
8844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8845 file.
8846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8847 New file.
8848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8849 New file.
8850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8851 file.
8852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8853 New file.
8854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8855 file.
8856
41d73a1b
JM
88572012-04-28 Joseph Myers <joseph@codesourcery.com>
8858
8859 * conform/conformtest.pl: Fix typo in handling typed-constant from
8860 allow-header.
8861
28aeeda4
JM
88622012-04-27 Joseph Myers <joseph@codesourcery.com>
8863
adae8f5e
JM
8864 * README: Cut down references to pre-2.6 Linux kernels and
8865 Linuxthreads. Update lists of configurations in libc and ports
8866 and sort alphabetically. Say "or newer" with Linux kernel version
8867 requirements.
8868
28aeeda4
JM
8869 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8870
a462cb63
RA
88712012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8872
8873 [BZ #887]
8874 * math/libm-test.inc (logb_test_downward): New test to expose
8875 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8876 rounding mode.
8877
6ad3493e
JM
88782012-04-27 Joseph Myers <joseph@codesourcery.com>
8879
8880 [BZ #14027]
8881 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8882 to be done.
8883 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8884 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8885
2ce4f015
JM
88862012-04-26 Joseph Myers <joseph@codesourcery.com>
8887
5aeb141a
JM
8888 * sysdeps/unix/i386/brk.S: Remove file.
8889 * sysdeps/unix/i386/dl-brk.S: Likewise.
8890 * sysdeps/unix/i386/pipe.S: Likewise.
8891 * sysdeps/unix/i386/sigreturn.S: Likewise.
8892 * sysdeps/unix/i386/syscall.S: Likewise.
8893 * sysdeps/unix/i386/vfork.S: Likewise.
8894 * sysdeps/unix/i386/wait.S: Likewise.
8895
7143acae
JM
8896 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8897 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8898
2ce4f015
JM
8899 * configure.in (arm*-none*): Do not allow without
8900 --enable-hacker-mode.
8901 (netbsd*): Remove case setting base_os.
8902 (386bsd*): Likewise.
8903 (freebsd*): Likewise.
8904 (bsdi*): Likewise.
8905 (osf*): Likewise.
8906 (sunos*): Likewise.
8907 (ultrix*): Likewise.
8908 (newsos*): Likewise.
8909 (dynix*): Likewise.
8910 (*bsd*): Likewise.
8911 (sysv*): Likewise.
8912 (isc*): Likewise.
8913 (esix*): Likewise.
8914 (sco*): Likewise.
8915 (minix*): Likewise.
8916 (irix4*): Likewise.
8917 (irix6*): Likewise.
8918 (solaris[2-9]*): Likewise.
8919 (none): Likewise.
8920 * configure: Regenerated.
8921
0ac229c8
AZ
89222012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8923
8924 [BZ #11521]
8925 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8926 overflow or cancellation in calculating denominator.
8927 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8928 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8929 down expression to avoid unexpected rounding in newer GCCs.
8930 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8931
33f244f4
DM
89322012-04-26 David S. Miller <davem@davemloft.net>
8933
8934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8935 long-double compat symbols.
8936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8949
cfa1f3e8
DM
89502012-04-25 David S. Miller <davem@davemloft.net>
8951
8952 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8953 HWCAP_* values only after the memory barriers have been defined.
8954 (atomic_full_barrier): Define.
8955 (atomic_read_barrier): Define.
8956 (atomic_write_barrier): Define.
8957
6e236b92
SP
89582012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8959
8960 * shlib-versions: Add libgcc_s version information.
8961 * sysdeps/generic/libgcc_s.h: Remove.
8962 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8963 libgcc_s.h.
8964 * sysdeps/gnu/unwind-resume.c: Likewise.
8965 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8966
aab39a09
DM
89672012-04-25 David S. Miller <davem@davemloft.net>
8968
8969 * sysdeps/unix/sparc/brk.S: Delete.
8970 * sysdeps/unix/sparc/dl-brk.S: Delete.
8971 * sysdeps/unix/sparc/pipe.S: Delete.
8972 * sysdeps/unix/sparc/sysdep.S: Delete.
8973 * sysdeps/unix/sparc/sysdep.h: Delete.
8974 * sysdeps/unix/sparc/vfork.S: Delete.
8975 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8976 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8977 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8978 ret_ERRVAL, r0, r1, MOVE): Define.
8979 (JUMPTARGET): Remove.
8980 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8981 sysdeps/unix/sparc/sysdep.h
8982 (ENTRY, END): Remove.
8983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8984
a3cc4f48
JM
89852012-04-25 Joseph Myers <joseph@codesourcery.com>
8986
2ed8cda2
JM
8987 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8988 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8989 -DIS_IN_build.
8990
35d76d59
JM
8991 * timezone/README: Update upstream location and email address for
8992 tzcode and tzdata.
8993 * timezone/zdump.c: Update from tzcode 2012b.
8994 * timezone/zic.c: Likewise.
8995
a3cc4f48
JM
8996 * configure.in (libc_cv_as_needed): Remove test.
8997 * configure: Regenerated.
8998 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8999 conditional definition.
9000 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9001 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9002 * config.make.in (have-as-needed): Remove variable.
9003
ceab42c3
SP
90042012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9005 Paul Pluzhnikov <ppluzhnikov@google.com>
9006
9007 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9008 strings correctly.
9009
3ce2865f
CLT
90102012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9011
9012 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9013 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9014 * sysdeps/sh/strlen.S: Likewise.
9015
f37e0d68
JM
90162012-04-24 Joseph Myers <joseph@codesourcery.com>
9017
ae186e9a
JM
9018 * sysdeps/unix/fork.S: Remove file.
9019 * sysdeps/unix/i386/fork.S: Likewise.
9020 * sysdeps/unix/sparc/fork.S: Likewise.
9021
b96914af
JM
9022 * sysdeps/unix/system.c: Remove file.
9023 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9024
f37e0d68
JM
9025 * sysdeps/unix/getegid.S: Remove file.
9026 * sysdeps/unix/geteuid.S: Likewise.
9027
87ef29ca
RM
90282012-04-24 Roland McGrath <roland@hack.frob.com>
9029
83bcd236
RM
9030 * scripts/check-localplt.awk: New file.
9031 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9032 of diff.
9033 * scripts/data/localplt-generic.data: Add a comment.
9034
87ef29ca
RM
9035 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9036 NODE when __dir_mkfile failed.
9037 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9038 Reported by Ludovic Courtès <ludo@gnu.org>.
9039
e5a6e567
AJ
90402012-04-24 Andreas Jaeger <aj@suse.de>
9041
9042 * Makerules (common-clean): Also remove gen-as-const-headers
9043 files.
9044
c1820385
JM
90452012-04-24 Joseph Myers <joseph@codesourcery.com>
9046
9047 * Makerules (native-compile): Do not change working directory for
9048 build. Use $(OUTPUT_OPTION) in command.
9049 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9050
94e02fc4
AZ
90512012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9052
9053 [BZ #13886]
9054 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9055 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9056 * math/libm-test.inc (floor_test): Add more tests.
9057 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9058
3a533ca3
JM
90592012-04-24 Joseph Myers <joseph@codesourcery.com>
9060
940ab4b3
JM
9061 * sysdeps/unix/getdents.c: Remove file.
9062 * sysdeps/unix/sysv/getdents.c: Likewise.
9063 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9064
90e037bd
JM
9065 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9066 sysdeps/unix/mman/syscalls.list.
9067 (mmap): Likewise.
9068 (mprotect): Likewise.
9069 (msync): Likewise.
9070 (munmap): Likewise.
9071 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9072 * sysdeps/unix/mman/syscalls.list: Remove.
9073 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9074
3a533ca3
JM
9075 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9076 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9077 * configure: Regenerated.
9078 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9079 $(libgcc_s_suffix).
9080 * config.make.in (libgcc_s_suffix): Remove variable.
9081
1ad743de
JM
90822012-04-23 Joseph Myers <joseph@codesourcery.com>
9083
4ad451e2
JM
9084 * sysdeps/unix/sysv/gethostname.c: Move to ...
9085 * sysdeps/posix/gethostname.c: ... here.
9086
5e37ce39
JM
9087 * sysdeps/unix/execve.S: Remove file.
9088
1ad743de
JM
9089 * sysdeps/unix/_exit.S: Remove file.
9090
4e681b5b
AJ
90912012-04-23 Andreas Jaeger <aj@suse.de>
9092
9093 [BZ #13739]
9094 * manual/Makefile: Remove make dist support, there's no
9095 need for a stand-alone documentation tar ball.
9096 (TEXI2DVI): Define always, it's not in Makeconfig.
9097 (dist): Removed.
9098 (tar-it): Removed.
9099 (edition): Removed.
9100 (glibc-doc-$(edition).tar): Removed
9101 (%.Z): Removed.
9102 (%.gz): Removed.
9103 (%.uu): Removed.
9104 (ETAGS): Remove, it's in Makeconfig.
9105 (move-if-change): Remove, it's in Makeconfig.
9106
c0baea34
PE
91072013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9108
9109 [BZ #13970]
9110 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9111 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9112 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9113 (strtod_l, strtof_l, strtold_l): Remove __wur.
9114 It is not necessarily an error to ignore strtol's return value.
9115 One can reliably look at the stored endptr to decide whether
9116 the number had valid syntax.
9117
7c0616fa
AJ
91182012-04-21 Andreas Jaeger <aj@suse.de>
9119
803cb6b7 9120 [BZ #13739]
7c0616fa
AJ
9121 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9122
b0fe253f
JM
91232012-04-21 Joseph Myers <joseph@codesourcery.com>
9124
9125 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9126 * sysdeps/unix/sysv/Versions: Remove file.
9127
8280f22d
MT
91282012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9129
9130 [BZ #13927]
9131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9132
75ce411f 91332012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
9134
9135 [BZ #7064]
9136 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9137 version from __vm86.
9138
097d59fa
JM
91392012-04-20 Joseph Myers <joseph@codesourcery.com>
9140
a90f3bcb
JM
9141 * sysdeps/unix/common/lxstat.c: Remove file.
9142 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9143
edc7ea78
JM
9144 * sysdeps/unix/sysv/Makefile: Remove file.
9145
cb78c221
JM
9146 * sysdeps/unix/sysv/direct.h: Remove file.
9147
efa6a45f
JM
9148 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9149 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9150 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9151 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9152 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9153 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9154 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9155
9c9f2d0c
JM
9156 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9157
4541c83b
JM
9158 * sysdeps/unix/xmknod.c: Remove file.
9159 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9160
f5d153a0
JM
9161 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9162
aa746595
JM
9163 * sysdeps/unix/sysv/i386/time.S: Remove file.
9164
cce5905e
JM
9165 * sysdeps/unix/fxstat.c: Remove file.
9166 * sysdeps/unix/xstat.c: Likewise.
9167 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9168
37fa3841
JM
9169 * sysdeps/unix/sysv/sigaction.c: Remove file.
9170
ff1962a3
JM
9171 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9172 (sysdep_headers): Remove variable.
9173 [termio.h not in sysdep_headers] (generated): Likewise.
9174 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9175 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9176 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9177 * sysdeps/unix/sysv/tcflow.c: Likewise.
9178 * sysdeps/unix/sysv/tcflush.c: Likewise.
9179 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9180 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9181 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9182 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9183 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9184
e7740d31
JM
9185 * sysdeps/unix/siglist.c: Remove file.
9186
ee06f18b
JM
9187 * sysdeps/unix/getppid.S: Remove file.
9188
097d59fa
JM
9189 * sysdeps/unix/mkdir.c: Remove file.
9190 * sysdeps/unix/rmdir.c: Likewise.
9191
ff3d51ec
AS
91922012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9193
9194 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9195 ERR_MAX value.
9196 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9197 errlist-compat value.
9198
50f81fd7
DM
91992012-04-18 David S. Miller <davem@davemloft.net>
9200
9201 * sysdeps/generic/memcopy.h (reg_char): Delete.
9202 * debug/strcat_chk.c: Use char, not reg_char.
9203 * debug/strcpy_chk.c: Likewise.
9204 * debug/strncat_chk.c: Likewise.
9205 * debug/strncpy_chk.c: Likewise.
9206 * string/memchr.c: Likewise.
9207 * string/memrchr.c: Likewise.
9208 * string/rawmemchr.c: Likewise.
9209 * string/strcat.c: Likewise.
9210 * string/strchr.c: Likewise.
9211 * string/strchrnul.c: Likewise.
9212 * string/strcmp.c: Likewise.
9213 * string/strcpy.c: Likewise.
9214 * string/strncat.c: Likewise.
9215 * string/strncmp.c: Likewise.
9216 * string/strncpy.c: Likewise.
9217
8ff41c46
WS
92182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9219
9220 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9221 __builtin_memcopy is called when src and dest ranges are known to not
9222 overlap.
9223
6b652f46
WS
92242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9225
9226 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9227 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9228 fwd_align_merge macro call.
9229 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9230 bwd_align_merge macro call.
9231 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9232
b282631e
WS
92332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9234
9235 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9236 bwd_align_merge macros.
9237 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9238 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9239 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9240
95aa737c
DM
92412012-04-18 David S. Miller <davem@davemloft.net>
9242
9243 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9244
7a99a614
AJ
92452012-04-18 Andreas Jaeger <aj@suse.de>
9246
9247 [BZ# 6794]
9248 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9249 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9250 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9251
9252 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9253 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9254 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9255
9256 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9257 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9258 Adjust for changed ldbl-128 files.
9259
9260 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9261 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9262 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9263
e5270c23
DM
92642012-04-17 David S. Miller <davem@davemloft.net>
9265
9266 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9267
fb5e92c9
AS
92682012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9269
9270 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9271 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9272 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9273 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9274 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9275 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9276
76da7265
AZ
92772012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9278
9279 [BZ #6794]
9280 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9281 * math/libm-test.inc: Add ilogb errno and exception tests.
9282 * math/w_ilogb.c: New file: ilogb wrapper.
9283 * math/w_ilogbf.c: New file: ilogbf wrapper.
9284 * math/w_ilogbl.c: New file: ilogbl wrapper.
9285 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9286 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9287 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9288 exception being thrown with 0.0 as argument.
9289 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9290 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9291 exception being thrown with 0.0 as argument.
9292 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9293 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9294 exception being thrown with 0.0 as argument.
9295 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9296 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9297 exception being thrown with 0.0 as argument.
9298 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9299 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 9300 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
9301 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9302 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9303 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9304 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9305 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9306 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9307
0396e69d
PB
93082012-04-17 Petr Baudis <pasky@ucw.cz>
9309
9310 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9311 with altivec.
9312
750b5926
MP
93132012-04-16 Marek Polacek <polacek@redhat.com>
9314
9315 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9316
751728a1
MP
93172012-04-16 Marek Polacek <polacek@redhat.com>
9318
9319 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9320 operands of fdivp instruction.
9321
34a27407
L
93222012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9323
9324 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9325 * elf/tst-auditmod3b.c: Likewise.
9326 * elf/tst-auditmod4b.c: Likewise.
9327 * elf/tst-auditmod5b.c: Likewise.
9328 * elf/tst-auditmod6b.c: Likewise.
9329 * elf/tst-auditmod6c.c: Likewise.
9330 * elf/tst-auditmod7b.c: Likewise.
9331 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9332 * sysdeps/x86_64/preconfigure.in: Likewise.
9333 * sysdeps/x86_64/preconfigure: Regenerated.
9334
7e73e17d
L
93352012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9336
9337 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9338 __ILP32__.
9339
c7a6ab72
AB
93402012-04-13 Antoine Balestrat <merkil33@gmail.com>
9341
9342 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9343 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9344
a9e8e0e0
CL
93452012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9346
9347 [BZ #13973]
9348 * locale/iso-639.def: Fix gl language name. Spotted by
9349 Yaron Shahrabani.
9350
ec98af7d
RM
93512012-04-12 Roland McGrath <roland@hack.frob.com>
9352
9353 [BZ #2074]
9354 * libio/libio.h (__io_write_fn): Update comment.
9355
247c3ede
PB
93562012-04-12 Petr Baudis <pasky@ucw.cz>
9357
9358 [BZ #2074]
9359 * stdio.texi (Hook Functions): The user provided writer function
9360 is not allowed to return -1.
9361
55939d6d
DM
93622012-04-11 David S. Miller <davem@davemloft.net>
9363
9364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9365
90020f5a
MF
93662012-04-11 Mike Frysinger <vapier@gentoo.org>
9367
9368 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9369 Add a leading slash to rtkaio.
9370
288f9098
JM
93712012-04-11 Jim Meyering <meyering@redhat.com>
9372
90020f5a
MF
9373 [BZ #11959]
9374 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9375 It is not necessarily an error to ignore fwrite's return
9376 value. One can reliably use ferror to test for errors after
9377 the fact.
288f9098 9378
4be2b570
L
93792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9380
9381 * bits/types.h (__snseconds_t): New type.
9382 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9383
9384 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9385 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9386 (__SNSECONDS_T_TYPE): Likewise.
9387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9388 (__SNSECONDS_T_TYPE): Likewise.
9389 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9390 (__SNSECONDS_T_TYPE): Likewise.
9391
288f9098 93922012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9393
9394 [BZ #2636]
9395 * manual/time.texi (Processor Time): Return type of times is
9396 elapsed real time since an arbitrary point in the past.
9397 (CPU Time): Move CLK_TCK from here...
9398 (Processor Time): ...to here. Correct description.
9399 * manual/conf.texi (Constants for Sysconf): Correct description of
9400 _SC_CLK_TCK.
9401
d7dd4413
DM
94022012-04-10 David S. Miller <davem@davemloft.net>
9403
9404 [BZ #13967]
9405 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9406 where the is a gap between DT_REL(A) and DT_JMPREL.
9407
b46068fc
L
94082012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9409
9410 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9411 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9412 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9413
73d65cc3
SP
94142012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9415
9416 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9417 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9418 (dl_main): Handle --inhibit-cache.
9419 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9420 _dl_inhibit_cache.
9421 * elf/dl-load.c (_dl_map_object): Use it.
9422 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9423
bcc8d661
JM
94242012-04-09 Joseph Myers <joseph@codesourcery.com>
9425
8f9a2fae
JM
9426 [BZ #13872]
9427 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9428 (__ieee754_powl): Saturate large exponents rather than testing for
9429 overflow of y*log2(x).
9430 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9431 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9432 exceptions.
9433
bcc8d661
JM
9434 [BZ #11521]
9435 * math/s_ctan.c: Include <float.h>.
9436 (__ctan): Avoid internal overflow or cancellation in calculating
9437 denominator.
9438 * math/s_ctanf.c: Likewise.
9439 * math/s_ctanl.c: Likewise.
9440 * math/s_ctanh.c: Likewise.
9441 * math/s_ctanhf.c: Likewise.
9442 * math/s_ctanhl.c: Likewise.
9443 * math/libm-test.inc (ctan_test): Add more tests.
9444 (ctanh_test): Likewise.
9445 * sysdeps/i386/fpu/libm-test-ulps: Update.
9446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9447
823fbbb4
AJ
94482012-04-09 Andreas Jaeger <aj@suse.de>
9449
03879793
AJ
9450 [BZ #6894]
9451 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9452 is an optional BSD extension.
9453
823fbbb4
AJ
9454 [BZ #10254]
9455 * manual/stdio.texi (Opening Streams): Document additional fopen
9456 parameters.
9457
8de131cb
RM
94582012-04-09 Roland McGrath <roland@hack.frob.com>
9459
9460 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9461 %eax without telling the compiler.
9462
c0ed9d7d
CD
94632012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9464
9465 [BZ # 13963]
9466 * manual/install.texi: Use sourceware.org.
9467
c483f6b4
JM
94682012-04-09 Joseph Myers <joseph@codesourcery.com>
9469
d7dd9453
JM
9470 [BZ #13873]
9471 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9472 (__ieee754_pow): Generate overflow and underflow using huge*huge
9473 and tiny*tiny rather than just returning constant infinity or zero
9474 for large exponents.
9475 * math/libm-test.inc (pow_test): Require overflow exceptions for
9476 applicable cases of large exponents.
9477
c483f6b4
JM
9478 [BZ #706]
9479 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9480 (__ieee754_pow): Use iterative multiplication algorithm only for
9481 integer exponents with absolute value below 1024. Check for odd
9482 integer exponents when using algorithm for real exponents.
9483 * math/libm-test.inc (pow_test): Add more tests.
9484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9485
d2de7579
JM
94862012-04-08 Joseph Myers <joseph@codesourcery.com>
9487
9488 [BZ #13705]
9489 * math/libm-test.inc (exp_test): Do not allow overflow exception
9490 on underflow test.
9491
f77f1232
AJ
94922012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9493
9494 [BZ #13705]
9495 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9496 instead of __kernel_standard_f.
9497
3884932b
MF
94982012-04-08 Mike Frysinger <vapier@gentoo.org>
9499
9500 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9501 * sysdeps/x86_64/memset_chk.S: Likewise.
9502
54472e9c
AJ
95032012-04-08 Andreas Jaeger <aj@suse.de>
9504
6ab0fbfc
AJ
9505 [BZ #10153]
9506 * manual/startup.texi (Environment Access): Describe return value
9507 for putenv and setenv.
9508
61efba8c
AJ
9509 [BZ #6895]
9510 * manual/filesys.texi (Directory Entries): Add description for
9511 DT_LNK.
9512
95c3f29a
AJ
9513 [BZ #6890]
9514 * manual/filesys.texi (Directory Entries): Clarify that it's file
9515 system not operating system in the description of DT_UNKNOWN.
9516
54472e9c
AJ
9517 [BZ #6578]
9518 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9519
624254b1
SC
95202012-04-08 Stephen Compall <s11@member.fsf.org>
9521
9522 [BZ #6649]
9523 * manual/llio.texi (Opening and Closing Files): Add cross
9524 reference to explain mode argument.
9525
1e4920e0
MF
95262012-04-07 Mike Frysinger <vapier@gentoo.org>
9527
9528 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9529 * sysdeps/x86_64/memset_chk.S: Likewise.
9530
5ed848f3
DM
95312012-04-07 David S. Miller <davem@davemloft.net>
9532
9533 * elf/elf.h (R_SPARC_WDISP10): Define.
9534 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9535 R_SPARC_SIZE32.
9536 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9537 R_SPARC_SIZE64 and R_SPARC_H34.
9538
96154cd8
CD
95392012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9540
9541 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9542 conditions and remove no longer applicable assertion.
9543
9904dc47
L
95442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9545
9546 * bits/byteswap.h: Include <features.h>.
9547 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9548 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9549
f8887d0a
L
95502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9551
9552 * bits/byteswap.h (__bswap_16): Removed.
9553 Include <bits/byteswap-16.h> to get __bswap_16.
9554 * sysdeps/i386/bits/byteswap.h: Likewise.
9555 * sysdeps/s390/bits/byteswap.h: Likewise.
9556 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9557 * bits/byteswap-16.h: New file.
9558 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9559 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9560 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9561 * string/Makefile (headers): Add bits/byteswap-16.h.
9562
62470f60
PP
95632012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9564
9565 [BZ #13895]
9566 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9567 extra indirection.
9568 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9569 * nss/tst-nss-static.c: New.
9570
4dad7bab
RM
95712012-04-06 Robert Millan <rmh@gnu.org>
9572
9573 [BZ #6486]
9574 * manual/llio.texi (File Position Primitive): lseek
9575 refers to WHENCE when it really means OFFSET.
9576
e9142a17
AJ
95772012-04-06 Andreas Jaeger <aj@suse.de>
9578
2c040eff
AJ
9579 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9580 strncmp declarations.
9581
e9142a17
AJ
9582 * abilist/libc.abilist: Add __poll and __ppoll.
9583
ff9f1c5f
DM
95842012-04-05 David S. Miller <davem@davemloft.net>
9585
dcd2ae90
DM
9586 * scripts/check-local-headers.sh: Accept a host triplet in the
9587 path matched by the exclude regexp.
9588
993eb054
DM
9589 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9590 definition.
9591 * sysdeps/powerpc/powerpc32/dl-machine.h
9592 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9593 * sysdeps/s390/s390-32/dl-machine.h
9594 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9595 * sysdeps/sparc/sparc32/dl-machine.h
9596 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9597 * sysdeps/sparc/sparc64/dl-machine.h
9598 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9599
ff9f1c5f
DM
9600 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9601 lazy binding.
48e2e132 9602 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9603 undefined symbol errors.
9604
48e2e132 9605 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9606 DT_NEEDED entries.
9607
e80d6f94
MM
96082012-04-05 Michael Matz <matz@suse.de>
9609
9610 [BZ #13592]
9611 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9612
349fa79f
AJ
96132012-04-05 Andreas Jaeger <aj@suse.de>
9614
9615 [BZ #13908]
9616 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9617 comment.
9618
f402708f
KK
96192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9620
9621 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9622 which ROUND is no valid rounding mode.
9623
2ecccfc9
KK
96242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9625
9626 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9627 read again.
9628 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9629
8a53f50f
KK
96302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9631
9632 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9633 an exception using FPU order intentionally.
9634
96352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9636
9637 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9638 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9639 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9640 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9641
d653abb7
SJ
96422012-04-05 Simon Josefsson <simon@josefsson.org>
9643
9644 [BZ #12340]
9645 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9646 EINVAL when BUFLEN is too smal.
9647
c3b1bf7d
TS
96482012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9649
9650 [BZ #13553]
9651 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9652 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9653
b1aa60f3
AJ
96542012-04-03 Andreas Jaeger <aj@suse.de>
9655
c3b1bf7d 9656 [BZ #13938]
67f60a26
AJ
9657 * manual/setjmp.texi (System V contexts): Fix sentence.
9658
b1aa60f3
AJ
9659 [BZ #13926]
9660 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9661 New macro for this case.
9662 [!__GNUC__] (__bswap_64): New inline function for this case.
9663 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9664 * bits/byteswap.h: Likewise.
9665 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9666 ull, guard with __GLIBC_HAVE_LONG_LONG.
9667
9668 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9669 __GLIBC_HAVE_LONG_LONG.
9670
9671 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9672 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9673
39c59c35
TMQMF
96742012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9675
9676 [BZ #13691]
9677 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9678 inptr and inend, rather than using last_ch.
9679
135ffda8
DM
96802012-04-02 David S. Miller <davem@davemloft.net>
9681
9682 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9683 * stdio-common/printf-parse.h (read_int): Change return type to
9684 'int', return -1 on INT_MAX overflow.
9685 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9686 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9687 overflows INT_MAX. Check for overflow of in-format-string precision
9688 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9689 SIZE_MAX not INT_MAX for integer overflow test.
9690 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9691 skip the construct in the format string but do not record anything.
9692 * stdio-common/bug22.c: Adjust to test both width/prevision
9693 INT_MAX overflow as well as total length INT_MAX overflow. Check
9694 explicitly for proper errno values.
9695
228c019e
TS
96962012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9697
302cadd3
TS
9698 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9699 CHAR_MAX.
9700 * string/test-strcmp.c [! WIDE]: Likewise.
9701 * time/tst-mktime2.c: Likewise for INT_MAX.
9702 * string/test-string.h: #include <sys/param.h> for MIN.
9703
228c019e
TS
9704 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9705 * sysdeps/i386/init-first.c (init): Likewise.
9706 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9707 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9708 * sysdeps/sh/init-first.c (init): Likewise.
9709
cfa633f5
UD
97102012-04-01 Ulrich Drepper <drepper@gmail.com>
9711
9712 * po/ru.po: Update from translation team.
d1635ef8 9713 * po/vi.po: Likewise.
cfa633f5 9714
6cd0a5ea
SP
97152012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9716
9717 * resolv/nss_dns/dns-host.c: Merge copyright years.
9718
4b43400f
LD
97192012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9720
9721 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9722 Optimize memcpy with prefetch if
9723 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9724 src, dst pointers have unequal 16 byte alignments.
9725
48c41d04
SP
97262012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9727
9728 [BZ #13928]
9729 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9730 from a CNAME entry and return the minimum ttl for the query.
9731 (gaih_getanswer_slice): Likewise.
9732
b8dc394d
JL
97332012-03-30 Jeff Law <law@redhat.com>
9734
9735 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9736 due to long keys.
9737 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9738 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9739
2f5a5ed0
JL
9740 * resolv/nss_dns/dns-host.c: Update copyright year.
9741
1d39e359
UD
97422012-03-30 Ulrich Drepper <drepper@gmail.com>
9743
c030f70c 9744 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9745 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9746
1d39e359
UD
9747 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9748 comments for sendmmsg.
9749
97502012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9751
9752 [BZ #13691]
9753 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9754 with only 1 character between 0x0041 and 0x01b0.
9755 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9756 * wcsmbs/tst-mbsnrtowcs.c: New file.
9757
20fde227
DM
97582012-03-29 David S. Miller <davem@davemloft.net>
9759
9760 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9761 small copies by hand.
9762
984a4237
JL
97632012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9764
9765 [BZ #13761]
9766 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9767 _nss_compat_initgroups_dyn): Fall back to malloc/free
9768 for large group memberships.
9769
18c9d62b
DM
97702012-03-28 David S. Miller <davem@davemloft.net>
9771
88d85d4f
DM
9772 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9773 that branches into memcpy.
9774 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9775 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9776 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9777 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9778 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9779 bits.
9780 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9781 implementation too.
9782 * sysdeps/sparc/mempcpy.S: New file.
9783
e5aa83e1
DM
9784 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9785 the IFUNC routine in the libc case.
9786 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9787
88570753
DM
9788 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9789 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9790 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9791 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9792 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9793 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9794 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9795 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9796
249d7567
DM
9797 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9798 loop to 256 bytes instead of 64 bytes and fix test signedness.
9799
18c9d62b
DM
9800 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9801 * sysdeps/sparc/sparc32/Makefile: rather than here...
9802 * sysdeps/sparc/sparc64/Makefile: and here.
9803
05f3d1f6
UD
98042012-03-28 Ulrich Drepper <drepper@gmail.com>
9805
9806 * malloc/mallocbug.c: Avoid warnings about unused variables.
9807
86ae07a8
JL
98082012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9809
9810 [BZ #13760]
9811 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9812 in the right place. Discard and retry query if response is
9813 larger than input buffer size.
9814
41bf21a1
JM
98152012-03-28 Joseph Myers <joseph@codesourcery.com>
9816
d6270972
JM
9817 [BZ #369]
9818 [BZ #2678]
9819 [BZ #3866]
9820 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9821 x for large integer exponent.
9822 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9823 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9824 sign of result as needed afterwards.
9825 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9826 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9827 result for underflowing pow the same as for overflow.
9828 (__kernel_standard_l): Handle powl overflow and underflow here
9829 rather than calling __kernel_standard.
9830 * math/libm-test.inc (pow_test): Add more tests.
9831
414fca03 9832 [BZ #3868]
41bf21a1
JM
9833 [BZ #13879]
9834 [BZ #13910]
9835 [BZ #13911]
9836 [BZ #13912]
9837 [BZ #13913]
9838 [BZ #13915]
9839 [BZ #13916]
9840 [BZ #13917]
9841 [BZ #13918]
9842 [BZ #13919]
9843 [BZ #13920]
9844 [BZ #13921]
9845 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9846 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9847 (__kernel_standard_l): New function.
9848 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9849 __kernel_standard.
9850 * math/w_acosl.c (__acosl): Likewise.
9851 * math/w_asinl.c (__asinl): Likewise.
9852 * math/w_atan2l.c (__atan2l): Likewise.
9853 * math/w_atanhl.c (__atanhl): Likewise.
9854 * math/w_coshl.c (__coshl): Likewise.
9855 * math/w_exp10l.c (__exp10l): Likewise.
9856 * math/w_exp2l.c (__exp2l): Likewise.
9857 * math/w_fmodl.c (__fmodl): Likewise.
9858 * math/w_hypotl.c (__hypotl): Likewise.
9859 * math/w_j0l.c (__j0l, __y0l): Likewise.
9860 * math/w_j1l.c (__j1l, __y1l): Likewise.
9861 * math/w_jnl.c (__jnl, __ynl): Likewise.
9862 * math/w_lgammal.c (__lgammal): Likewise.
9863 * math/w_log10l.c (__log10l): Likewise.
9864 * math/w_log2l.c (__log2l): Likewise.
9865 * math/w_logl.c (__logl): Likewise.
9866 * math/w_powl.c (__powl): Likewise.
9867 * math/w_remainderl.c (__remainderl): Likewise.
9868 * math/w_scalbl.c (sysv_scalbl): Likewise.
9869 * math/w_sinhl.c (__sinhl): Likewise.
9870 * math/w_sqrtl.c (__sqrtl): Likewise.
9871 * math/w_tgammal.c (__tgammal): Likewise.
9872 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9873 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9874 * math/libm-test.inc (acos_test): Add more tests.
9875 (acosh_test): Likewise.
9876 (asin_test): Likewise.
9877 (atanh_test): Likewise.
9878 (exp_test): Likewise.
9879 (exp10_test): Likewise.
9880 (exp2_test): Likewise.
9881 (expm1_test): Likewise.
9882 (lgamma_test): Likewise.
9883 (log_test): Likewise.
9884 (log10_test): Likewise.
9885 (log1p_test): Likewise.
9886 (log2_test): Likewise.
9887 (pow_test): Do not allow some spurious overflow exceptions.
9888 (sqrt_test): Add more tests.
9889 (tgamma_test): Likewise.
9890 (y0_test): Likewise.
9891 (y1_test): Likewise.
9892 (yn_test): Likewise.
9893
dd62fda6
AB
98942012-03-27 Anton Blanchard <anton@samba.org>
9895
9896 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9897 MAP_HUGETLB.
9898 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9899 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9900 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9901
1e3cdfda
AJ
99022012-03-27 David S. Miller <davem@davemloft.net>
9903
b855ab85
DM
9904 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9905
1e3cdfda
AJ
9906 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9907 have-as-vis3 check.
9908
99092012-03-27 Andreas Jaeger <aj@suse.de>
9910
9911 * sysdeps/x86_64/elf/configure.in: Moved to ...
9912 * sysdeps/x86_64/configure.in: ... here.
9913 * sysdeps/x86_64/elf/start.S: Moved to ...
9914 * sysdeps/x86_64/start.S: ... here.
9915 * sysdeps/x86_64/elf/configure: Delete.
9916
9917 * sysdeps/x86_64/configure.in: Merge contents from
9918 sysdeps/i386/configure.in (without i686 check).
9919
9920 * sysdeps/i386/elf/Versions: Merge into ...
9921 * sysdeps/i386/Versions: ... this.
9922 * sysdeps/i386/elf/Versions: Delete file.
9923 * sysdeps/i386/elf/start.S: Moved to ...
9924 * sysdeps/i386/start.S: ...here.
9925 * sysdeps/i386/elf/configure.in: Merge into...
9926 * sysdeps/i386/configure.in: ...here.
9927 * sysdeps/i386/elf/configure.in: Delete file.
9928 * sysdeps/i386/elf/configure: Delete file.
9929
9930 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9931 * debug/backtracesyms.c: ... here.
9932 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9933 * debug/backtracesymsfd.c: ... here.
9934 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9935 * sysdeps/generic/ifunc-sel.h: ... here.
9936
9937 * sysdeps/unix/i386/start.c: Delete file.
9938 * sysdeps/unix/sparc/start.c: Delete file.
9939 * sysdeps/unix/start.c: Delete file.
9940
9941 * sysdeps/sh/elf/configure.in: Moved to ...
9942 * sysdeps/sh/configure.in: ... here.
9943 * sysdeps/sh/elf/start.S: Moved to ...
9944 * sysdeps/sh/start.S: ... here.
9945 * sysdeps/sh/elf/configure: Delete file.
9946
9947 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9948 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9949 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9950 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9951 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9952 * sysdeps/powerpc/powerpc64/start.S: here.
9953 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9954 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9955 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9956 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9957 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9958
9959 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9960 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9961 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9962 * sysdeps/powerpc/powerpc32/start.S: ... here.
9963 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9964 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9965 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9966
9967 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9968 * sysdeps/powerpc/ifunc-sel.h: ... here.
9969 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9970 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9971
9972 * sysdeps/sparc/elf/configure.in: Moved to ...
9973 * sysdeps/sparc/configure.in: ... here.
9974 * sysdeps/sparc/elf/configure: Delete file.
9975 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9976 * sysdeps/sparc/sparc32/start.S: ... here.
9977 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9978 * sysdeps/sparc/sparc64/start.S: ... here.
9979 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9980 * sysdeps/sparc/sparc32/Makefile: ... this.
9981 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9982 * sysdeps/sparc/sparc64/Makefile: ... this.
9983
9984 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9985 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9986 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9987 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9988 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9989 * sysdeps/s390/s390-32/setjmp.S: ... here.
9990 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9991 * sysdeps/s390/s390-32/configure.in: ... here.
9992 * sysdeps/s390/s390-32/elf/configure: Delete file.
9993 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9994 * sysdeps/s390/s390-32/start.S: ... here.
9995
9996 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9997 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9998 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9999 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10000 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10001 * sysdeps/s390/s390-64/setjmp.S: ... here.
10002 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10003 * sysdeps/s390/s390-64/configure.in: ... here
10004 * sysdeps/s390/s390-64/elf/configure: Delete file.
10005 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10006 * sysdeps/s390/s390-64/start.S: ... here.
10007 * sysdeps/s390/s390-64/elf/configure: Delete.
10008
10009 * configure.in: Remove support for elf directories in sysdeps.
10010
10011 * configure: Regenerated.
10012 * sysdeps/i386/configure: Regenerated.
10013 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10014 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10015 * sysdeps/s390/s390-32/configure: Regenerated.
10016 * sysdeps/s390/s390-64/configure: Regenerated.
10017 * sysdeps/sh/configure: Regenerated.
10018 * sysdeps/sparc/configure: Regenerated.
10019 * sysdeps/x86_64/configure: Regenerated.
10020
a3f61311
AS
100212012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10022
c876e002
AS
10023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10024
a3f61311
AS
10025 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10026 denormal result into account.
10027
ac4c54f0
RM
100282012-03-25 Roland McGrath <roland@hack.frob.com>
10029
10030 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10031 Reported by Allan McRae <allan@archlinux.org>.
10032
6a9b9c02
JL
100332012-03-23 Jeff Law <law@redhat.com>
10034
10035 * nss/getnssent.c (__nss_getent): Fix typo.
10036
4c42a0c1
DM
100372012-03-23 David S. Miller <davem@davemloft.net>
10038
10039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10040
1532c7ac
L
100412012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10042
10043 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10044 to pad to uint64_t for each field.
10045 (dl_tls_index): Replace unsigned long with uint64_t.
10046
3ff42526
PP
100472012-03-23 Daniel Jacobowitz <dmj@google.com>
10048 Paul Pluzhnikov <ppluzhnikov@google.com>
10049
10050 [BZ #6528]
10051 * grp/Makefile (otherlibs): Don't set it.
10052 * inet/Makefile (otherlibs): Likewise.
10053 * login/Makefile (otherlibs): Likewise.
10054 * nscd/Makefile (otherlibs): Likewise.
10055 * posix/Makefile (otherlibs): Likewise.
10056 * pwd/Makefile (otherlibs): Likewise.
10057 * rt/Makefile (otherlibs): Likewise.
10058 * sunrpc/Makefile (otherlibs): Likewise.
10059 * nss/Makefile (otherlibs): Likewise.
10060 Add libnss_files to routines and static-only-routines.
10061 ($(objpfx)getent): Remove rule.
10062 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10063 static-only-routines.
10064
7c69cd14
JM
100652012-03-22 Joseph Myers <joseph@codesourcery.com>
10066
10067 [BZ #13892]
10068 * math/s_cexp.c: Include <float.h>.
10069 (__cexp): Handle exp result overflowing not necessarily
10070 overflowing both real and imaginary parts of result.
10071 * math/s_cexpf.c: Likewise.
10072 * math/s_cexpl.c: Likewise.
10073 * math/libm-test.inc (cexp_test): Add more tests.
10074 * sysdeps/i386/fpu/libm-test-ulps: Update.
10075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10076
81b035fe
L
100772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10078
10079 * include/link.h (ELFW): New macro.
10080 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10081 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10082
1da7940c
L
100832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10084
10085 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10086 with uint64_t.
10087
b749dbb9
L
100882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10089
10090 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10091 declaration.
10092 (struct La_x32_retval): Likewise.
10093
2ff87f3f
L
100942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10095
10096 * sysdeps/x86_64/preconfigure.in: New file.
10097 * sysdeps/x86_64/preconfigure: New generated file.
10098
c0df8e69
JM
100992012-03-22 Joseph Myers <joseph@codesourcery.com>
10100
48e44791
JM
10101 [BZ #13824]
10102 * math/e_exp2l.c: Include <float.h>.
10103 (__ieee754_exp2l): Handle overflow and underflow cases
10104 separately. Only pass fractional part of argument to
10105 __ieee754_expl.
10106 * math/libm-test.inc (exp2_test): Add more tests.
10107
c0df8e69
JM
10108 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10109 negating x to take absolute value.
10110 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10111 Likewise.
10112 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10113 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10114 Likewise.
10115 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10116 computing low part if x was negated.
10117 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10118
c8e43ba7
L
101192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10120
10121 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10122 la_x32_gnu_pltexit.
10123 (pltexit): Cast int_retval to ptrdiff_t.
10124 * elf/tst-auditmod3b.c: Likewise.
10125 * elf/tst-auditmod4b.c: Likewise.
10126 * elf/tst-auditmod5b.c: Likewise.
10127 * elf/tst-auditmod6b.c: Likewise.
10128 * elf/tst-auditmod6c.c: Likewise.
10129 * elf/tst-auditmod7b.c: Likewise.
10130
10131 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10132 and x32_gnu_pltexit.
10133
10134 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10135 __ELF_NATIVE_CLASS.
10136 (La_x32_regs): New macro.
10137 (La_x32_retval): Likewise.
10138 (la_x32_gnu_pltenter): New function prototype.
10139 (la_x32_gnu_pltexit): Likewise.
10140
7998fa78
AS
101412012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10142
dcb33988
AS
10143 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10144 exponent.
10145
233fc563
AS
10146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10147
7998fa78
AS
10148 * configure.in (libc_cv_cc_nofma): Check for option to disable
10149 generation of FMA instructions.
10150 * configure: Regenerate.
10151 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10152 * sysdeps/ieee754/dbl-64/Makefile: New file.
10153 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10154 Remove brandred-fma4.
10155 (CFLAGS-brandred-fma4.c): Remove.
10156 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10157 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10158 define.
10159 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10160 define.
10161
8e95c99a
L
101622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10163
10164 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10165 LLONG_MAX != LONG_MAX.
10166 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10167 (_fitoa_word): Likewise.
10168 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10169 LLONG_MAX != LONG_MAX.
10170 * stdio-common/_itowa.h: Include <_itoa.h>.
10171 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10172 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10173 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10174 only if not defined.
10175 (_ITOA_WORD_TYPE): Likewise.
10176 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10177 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10178
6f4db457
DM
101792012-03-21 David S. Miller <davem@davemloft.net>
10180
10181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10182
7785fe5a
L
101832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10184
10185 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10186 of x86_64 when setting libc_cv_slibdir, libdir and
10187 libc_cv_localedir.
10188 * sysdeps/unix/sysv/linux/configure: Regenerated.
10189
4535cd55
JM
101902012-03-21 Joseph Myers <joseph@codesourcery.com>
10191
10192 * manual/lang.texi (Old Varargs): Remove section.
10193 (How Variadic): Update menu.
10194 (va_start): Do not mention varargs.h.
10195
17228132
TS
101962012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10197 Joseph Myers <joseph@codesourcery.com>
10198
10199 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10200 link test.
10201 * configure: Regenerated.
10202
8149f976
TS
102032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10204
05f3d1f6
UD
10205 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10206 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10207 conformtest.pl
8149f976 10208
1a4ac776
JM
102092012-03-21 Joseph Myers <joseph@codesourcery.com>
10210
be22ce65
JM
10211 * NOTES: Remove.
10212 * Makefile (files-for-dist): Remove NOTES.
10213 (NOTES): Remove rule.
10214 * README: Don't refer to NOTES.
10215 * manual/creature.texi: Don't include macros.texi.
10216 * manual/intro.texi (creature.texi): Remove comment referring to
10217 NOTES.
10218
40b601fb
JM
10219 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10220 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10221 * configure: Regenerated.
10222 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10223 LIBC_TRY_CC_OPTION.
10224 (libc_cv_as_i686): Likewise.
10225 (libc_cv_cc_avx): Likewise.
10226 (libc_cv_cc_sse2avx): Likewise.
10227 (libc_cv_cc_fma4): Likewise.
10228 (libc_cv_cc_novzeroupper): Likewise.
10229 * sysdeps/i386/configure: Regenerated.
10230
1a4ac776
JM
10231 [BZ #13883]
10232 * sysdeps/i386/fpu/s_cexp.S: Remove.
10233 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10234 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10235 * math/libm-test.inc (cexp_test): Add more tests.
10236 * sysdeps/i386/fpu/libm-test-ulps: Update.
10237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10238
a458e7fe
AM
102392012-03-21 Allan McRae <allan@archlinux.org>
10240
10241 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10242
0cb7efc5
JM
102432012-03-21 Joseph Myers <joseph@codesourcery.com>
10244
10245 [BZ #13871]
10246 * math/w_exp2.c: Do not include <float.h>.
10247 (o_threshold, u_threshold): Remove.
10248 (__exp2): Calculate result before checking finiteness and calling
10249 __kernel_standard.
10250 * math/w_exp2f.c: Likewise.
10251 * math/w_exp2l.c: Likewise.
10252 * math/libm-test.inc (exp2_test): Require overflow exception for
10253 1e6 input.
2460d3aa
JM
10254
10255 [BZ #3866]
10256 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10257 range of signed 64-bit integers before using fistpll. Remove
10258 checks for whether integers fit in mantissa bits.
10259 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10260 the range of signed 32-bit integers before using fistpl. Remove
10261 checks for whether integers fit in mantissa bits.
10262 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10263 (__ieee754_powl): Test for y outside the range of signed 64-bit
10264 integers before using fistpll. Reduce 64-bit values to 63-bit
10265 ones as needed.
10266 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10267 divide-by-zero is raised for zero to large negative powers.
10268 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10269 (__ieee754_powl): Test for y outside the range of signed 64-bit
10270 integers before using fistpll. Reduce 64-bit values to 63-bit
10271 ones as needed.
10272 * math/libm-test.inc (pow_test): Add more tests.
10273
eb96ffb0
L
102742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10275
10276 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10277 <stdio-common/_itoa.h>.
10278 * debug/segfault.c: Likewise.
10279 * elf/dl-cache.c: Likewise.
10280 * elf/dl-minimal.c: Likewise.
10281 * elf/dl-misc.c: Likewise.
10282 * elf/dl-sysdep.c: Likewise.
10283 * elf/dl-version.c: Likewise.
10284 * elf/rtld.c: Likewise.
10285 * hurd/hurdsock.c: Likewise.
10286 * hurd/lookup-retry.c: Likewise.
10287 * malloc/malloc.c: Likewise.
10288 * malloc/mtrace.c: Likewise.
10289 * nscd/nscd_getgr_r.c: Likewise.
10290 * nscd/nscd_getpw_r.c: Likewise.
10291 * nscd/nscd_getserv_r.c: Likewise.
10292 * posix/getopt_init.c: Likewise.
10293 * posix/wordexp.c: Likewise.
10294 * stdio-common/_itoa.c: Likewise.
10295 * stdio-common/printf_fphex.c: Likewise.
10296 * stdio-common/vfprintf.c: Likewise.
10297 * string/_strerror.c: Likewise.
10298 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10299 * sysdeps/i386/i686/hp-timing.h: Likewise.
10300 * sysdeps/mach/_strerror.c: Likewise.
10301 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10302 * sysdeps/mach/hurd/sethostid.c: Likewise.
10303 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10304 * sysdeps/mach/xpg-strerror.c: Likewise.
10305 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10306 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10307 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10308 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10309 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10310 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10311 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10312 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10313 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10314 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10315 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10316 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10317 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10318 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10319 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10320 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10321 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10322 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10323 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10324 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10325 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10326
10327 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10328
10329 * stdio-common/_itoa.h: Moved to ...
10330 * sysdeps/generic/_itoa.h: Here.
10331
10332 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10333
10334 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10335 instead of "_itoa.h" and "_itowa.h".
10336 * stdio-common/vfprintf.: Likewise.
10337
d1af992d
L
103382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10339
10340 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10341 <bits/wordsize.h>.
10342 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10343 (__signbit): Likwise.
10344 (llrintf): Likwise.
10345 (llrint): Likwise.
10346
114883e0
L
103472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10348
10349 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10350 __WORDSIZE != 64.
10351
c135cc1b
JM
103522012-03-20 Joseph Myers <joseph@codesourcery.com>
10353
10354 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10355 OVERFLOW_EXCEPTION_OK.
10356 * math/libm-test.inc ("Philosophy"): Update comment about
10357 exception testing.
10358 (OVERFLOW_EXCEPTION): Define.
10359 (OVERFLOW_EXCEPTION_OK): Likewise.
10360 (INVALID_EXCEPTION_OK): Renumber.
10361 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10362 (IGNORE_ZERO_INF_SIGN): Likewise.
10363 (test_exceptions): Handle FE_OVERFLOW.
10364 (exp10_test): Expect overflow exceptions.
10365 (exp2_test): Likewise.
10366 (expm1_test): Likewise.
10367 (nextafter_test): Likewise.
10368 (pow_test): Likewise.
10369 (scalbn_test): Likewise.
10370 (scalbln_test): Likewise.
10371
95443d88
L
103722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10373
10374 * sysdeps/x86_64/bits/atomic.h
10375 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10376 64bit integer.
10377 (atomic_exchange_acq): Likewise.
10378 (__arch_exchange_and_add_body): Likewise.
10379 (__arch_add_body): Likewise.
10380 (atomic_add_negative): Likewise.
10381 (atomic_add_zero): Likewise.
10382
490df6c4
L
103832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10384
c2722551 10385 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10386 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10387
5e52b189
L
103882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10389
10390 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10391 Check __x86_64__ instead of __WORDSIZE.
10392
a9879d4c
L
103932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10394
10395 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10396
5df98260
DM
103972012-03-19 David S. Miller <davem@davemloft.net>
10398
e1497744
DM
10399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10400
5df98260
DM
10401 * sysdeps/sparc/fpu/fenv_private.h: New file.
10402 * sysdeps/sparc/fpu/math_private.h: Use it.
10403 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10404 Remove.
10405 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10406 (libc_feholdexcept_setroundl): Remove.
10407 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10408 Remove.
10409 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10410 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10411
b4c35121
L
104122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10413
10414 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10415 int64_t instead of long int.
10416 (INSERT_WORDS64): Likwise.
10417
56965fd7
L
104182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10419
10420 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10421 _Unwind_GetCFA return to _Unwind_Ptr first.
10422
83d1aec8
JM
104232012-03-19 Joseph Myers <joseph@codesourcery.com>
10424
1897ad44
JM
10425 [BZ #13629]
10426 * math/s_clog.c: Include <float.h>.
10427 (__clog): Scale large or subnormal inputs.
10428 * math/s_clogf.c: Likewise.
10429 * math/s_clogl.c: Likewise.
10430 * math/s_clog10.c: Include <float.h>.
10431 (M_LOG10_2): Define.
10432 (__clog10): Scale large or subnormal inputs.
10433 * math/s_clog10f.c: Likewise.
10434 * math/s_clog10l.c: Likewise.
10435 * math/libm-test.inc (clog_test): Add more tests.
10436 (clog10_test): Likewise.
10437 * sysdeps/i386/fpu/libm-test-ulps: Update.
10438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10439
7726d6a9
JM
10440 [BZ #11451]
10441 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10442 x and y.
10443 * math/libm-test.inc (atan2_test): Add another test.
10444
83d1aec8
JM
10445 * Makerules (common-objdir-compile): Remove.
10446 * sysdeps/unix/Makefile (config-generated): Do not add
10447 $(unix-generated) to variable.
10448 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10449 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10450 Remove rule.
10451 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10452 Likewise.
10453 [generic bits/local_lim.h] (before-compile): Do not append to
10454 variable.
10455 [generic bits/local_lim.h] (common-generated): Likewise.
10456 [generic sys/param.h] (before-compile): Do not append to variable.
10457 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10458 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10459 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10460 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10461 include.
10462 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10463 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10464 [generic sys/param.h] ($(addprefix
10465 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10466 [generic sys/param.h] (common-generated): Do not append to
10467 variable.
10468 [generic sys/param.h] (sysdep_headers): Likewise.
10469 [generic bits/errno.h] (before-compile): Do not append to
10470 variable.
10471 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10472 rule.
10473 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10474 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10475 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10476 [generic bits/errno.h] (common-generated): Do not append to
10477 variable.
10478 [generic bits/ioctls.h] (before-compile): Do not append to
10479 variable.
10480 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10481 rule.
10482 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10483 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10484 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10485 rule.
10486 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10487 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10488 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10489 [generic bits/ioctls.h] (common-generated): Do not append to
10490 variable.
10491 [generic sys/syscall.h] (syscall.h): Remove variable.
10492 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10493 rule.
10494 [generic sys/syscall.h] (before-compile): Do not append to
10495 variable.
10496 [generic sys/syscall.h] (common-generated): Likewise.
10497 * sysdeps/unix/errnos-tmpl.c: Remove file.
10498 * sysdeps/unix/errnos.awk: Likewise.
10499 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10500 * sysdeps/unix/ioctls.awk: Likewise.
10501 * sysdeps/unix/mk-local_lim.c: Likewise.
10502 * sysdeps/unix/snarf-ioctls: Likewise.
10503
4851a949
RH
105042012-03-19 Richard Henderson <rth@twiddle.net>
10505
bd37f2ee
RH
10506 * sysdeps/i386/fpu/fenv_private.h: New file.
10507 * sysdeps/i386/fpu/math_private.h: Use it.
10508 (math_opt_barrier, math_force_eval): Remove.
10509 (libc_feholdexcept_setround_53bit): Remove.
10510 (libc_feupdateenv_53bit): Remove.
10511 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10512 (math_opt_barrier, math_force_eval): Remove.
10513 (libc_feholdexcept): Remove.
10514 (libc_feholdexcept_setround): Remove.
10515 (libc_fetestexcept, libc_fesetenv): Remove.
10516 (libc_feupdateenv_test): Remove.
10517 (libc_feupdateenv, libc_feholdsetround): Remove.
10518 (libc_feresetround): Remove.
10519
d0adc922
RH
10520 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10521 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10522
0fe0f1f8
RH
10523 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10524 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10525 (libc_feupdateenv_testl): New.
10526 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10527 (libc_feupdateenv_testf): New.
10528 (libc_feupdateenv): Use libc_feupdateenv_test.
10529 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10530 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10531
eb92c487
RH
10532 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10533 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10534 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10535 (libc_feresetround_noex): New.
10536 (libc_feresetround_noexf): New.
10537 (libc_feresetround_noexl): New.
10538 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10539 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10540 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10541 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10542 SET_RESTORE_ROUND.
10543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10544 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10545 (__cos): Likewise.
10546 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10547 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10548 SET_RESTORE_ROUND_NOEX.
10549 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10550 SET_RESTORE_ROUND_NOEXF.
10551 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10552 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10553 (libc_feholdsetroundf): New.
10554 (libc_feresetround, libc_feresetroundf): New.
10555
7d2e8012
RH
10556 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10557 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10558 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10559
b4dabbb4
RH
10560 * sysdeps/generic/math_private.h: Include <fenv.h>.
10561 (default_libc_feholdexcept): New.
10562 (default_libc_feholdexcept_setround): New.
10563 (default_libc_fesetenv, default_libc_feupdateenv): New.
10564 (libc_feholdexcept): Only define if undefined.
10565 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10566 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10567 (libc_feholdexcept_setroundl): Likewise.
10568 (libc_feholdexcept_setround_53bit): Likewise.
10569 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10570 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10571 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10572 (libc_feupdateenv_53bit): Likewise.
10573 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10574 (libc_feholdexcept): Convert from macro to inline function.
10575 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10576 (libc_fesetenv, libc_feupdateenv): Likewise.
10577
4851a949
RH
10578 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10579 not previously defined.
10580 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10581 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10582 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10583 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10584 * sysdeps/ieee754/flt-32/math_private.h: New file.
10585 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10586 math_private.h below SET_FLOAT_WORD.
10587 (__isnan, __isinf_ns, __finite): Remove.
10588 (__isnanf, __isinf_nsf, __finitef): Remove.
10589
e79d442e
AS
105902012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10591
10592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10593
90b80344
DM
105942012-03-17 David S. Miller <davem@davemloft.net>
10595
10596 [BZ #6471]
10597 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10598 for 2.16.
10599
edc21804
DM
106002012-03-16 David S. Miller <davem@davemloft.net>
10601
77e927af
DM
10602 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10603 warnings.
10604
374976dd
DM
10605 [BZ #6471]
10606 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10607 properly.
10608 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10609 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10610 sysdep_routines when subdir is sysvipc.
10611 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10612 __getshmlba helper.
10613
edc21804
DM
10614 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10615
473c3ef3
L
106162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10617
10618 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10619 [__LP64__].
10620
eb0f39b6
L
106212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10622
10623 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10624 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10625 (__lround): Renamed to ...
10626 (__llround): This. Replace long int with long long int.
10627 Define lround functions as aliases of llround functions.
10628 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10629
6b6cd74b
L
106302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10631
10632 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10633 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10634 adresses to uintptr_t. Replace "long int" and "unsigned long
10635 int" with "greg_t" on va_arg.
10636
f1a77b01
L
106372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10638
10639 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10640 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10641
10642 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10643 Move e_machine check before EI_CLASS check. Handle x32
10644 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10645 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10646 SKIP_EM_IA_64 and include
10647 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10648
10649 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10650 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10651 (add_system_dir): New macro.
10652
10653 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10654 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10655
11b90b9f
JM
106562012-03-16 Joseph Myers <joseph@codesourcery.com>
10657
c36e1d23
JM
10658 [BZ #2551]
10659 [BZ #2552]
10660 [BZ #2553]
10661 [BZ #2554]
10662 [BZ #2562]
10663 [BZ #2563]
10664 [BZ #2565]
10665 [BZ #2566]
10666 [BZ #2576]
10667 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10668 (y0): Likewise.
10669 * math/w_j0f.c (j0f): Likewise.
10670 (y0f): Likewise.
10671 * math/w_j0l.c (__j0l): Likewise.
10672 (__y0l): Likewise.
10673 * math/w_j1.c (j1): Likewise.
10674 (y1): Likewise.
10675 * math/w_j1f.c (j1f): Likewise.
10676 (y1f): Likewise.
10677 * math/w_j1l.c (__j1l): Likewise.
10678 (__y1l): Likewise.
10679 * math/w_jn.c (jn): Likewise.
10680 (yn): Likewise.
10681 * math/w_jnf.c (jnf): Likewise.
10682 (ynf): Likewise.
10683 * math/w_jnl.c (__jnl): Likewise.
10684 (__ynl): Likewise.
10685 * math/libm-test.inc (j0_test): Add more tests.
10686 (j1_test): Likewise.
10687 (jn_test): Likewise. Add trailing semicolon to existing test.
10688 (y0_test): Likewise.
10689 (y1_test): Likewise.
10690 * sysdeps/i386/fpu/libm-test-ulps: Update.
10691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10692
11b90b9f
JM
10693 [BZ #13851]
10694 [BZ #13854]
10695 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10696 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10697 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10698 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10699 (__tanl): Set errno for infinite argument.
10700 * sysdeps/i386/fpu/mptan.c: Remove.
10701 * sysdeps/i386/fpu/s_tan.S: Likewise.
10702 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10703 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10704 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10705 * math/libm-test.inc (tan_test): Add more tests and enable more
10706 tests for double and long double.
10707 * sysdeps/i386/fpu/libm-test-ulps: Update.
10708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10709
6a1bd2a1
JK
107102012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10711
10712 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10713 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10714
10a803e0
RM
107152012-03-16 Roland McGrath <roland@hack.frob.com>
10716
10717 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10718 * configure.in: Use it for both main tree and add-ons.
10719 * configure: Regenerated.
10720
f196c7f7
L
107212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10722
10723 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10724
8848d99d
JM
107252012-03-16 Joseph Myers <joseph@codesourcery.com>
10726
96cbe7f4
JM
10727 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10728 in comment.
10729
8848d99d
JM
10730 [BZ #13851]
10731 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10732 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10733 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10735 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10736 infinite argument.
10737 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10738 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10739 != 0 for prec == 2.
10740 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10741 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10742 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10743 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10744 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10745 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10746 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10747 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10748 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10749 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10750 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10751 * math/libm-test.inc (cos_test): Add more tests and enable more
10752 tests for long double.
10753 (sin_test): Likewise.
10754 (sincos_test): Likewise.
10755 * sysdeps/i386/fpu/libm-test-ulps: Update.
10756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10757
dd7f4703
DM
107582012-03-16 David S. Miller <davem@davemloft.net>
10759
10760 * sysdeps/sparc/fpu/math_private.h: New file.
10761
006f1daa
DM
107622012-03-15 David S. Miller <davem@davemloft.net>
10763
c0c83bc8
DM
10764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10765 file.
e6a62e18 10766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10768 file.
e6a62e18
DM
10769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10775 sysdep routines.
10776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10777
88cb87d9
DM
10778 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10779 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10780
006f1daa 10781 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10783 sparc-ifunc.h
006f1daa 10784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10786 Likewise.
10787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10788 Likewise.
006f1daa
DM
10789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10793 Likewise.
006f1daa
DM
10794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10799 Likewise.
10800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10801 Likewise.
006f1daa
DM
10802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10808 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10809 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10820 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10821 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10822 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10823 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10824 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10825 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10826
11e0098e
AS
108272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10828
10829 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10830 scaling.
10831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10832
e85b09d0
AJ
108332012-03-15 Andreas Jaeger <aj@suse.de>
10834
10835 [BZ #13852]
10836 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10837 ieee754/flt-32 implementation for sin, cos and sincos.
10838 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10839 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10840 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10841 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10842 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10843 ieee754/flt-32 implementation for tan.
10844
10845 * math/libm-test.inc (cos_test): Enable some large input tests for
10846 float as well
10847 (sin_test): Likewise.
10848 (sincos_test): Likewise.
10849 (tan_test): Add tests for large input.
10850
10851 * sysdeps/i386/fpu/libm-test-ulps: Update.
10852
81c64153
AJ
108532012-03-15 Andreas Jaeger <aj@suse.de>
10854
10855 [BZ #13658]
10856 * math/libm-test.inc (cos_test): Add more test cases.
10857 (sin_test): Likewise.
10858 (sincos_test): Likewise.
10859
7bbfa5c6
AJ
108602012-03-15 Andreas Jaeger <aj@suse.de>
10861
10862 [BZ #13837]
10863 * math/libm-test.inc (cos_test): Add a test case for large input
10864 value.
10865 (sin_test): Likewise.
10866 (sincos_test): Likewise.
10867
108682012-03-15 Andreas Jaeger <aj@suse.de>,
10869 Joseph Myers <joseph@codesourcery.com>
10870
10871 [BZ #13658]
0671f479 10872 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10873 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10874 * sysdeps/i386/fpu/branred.c: Likewise.
10875 * sysdeps/i386/fpu/dosincos.c: Likewise.
10876 * sysdeps/i386/fpu/mpa.c: Likewise.
10877 * sysdeps/i386/fpu/s_cos.S: Likewise.
10878 * sysdeps/i386/fpu/s_sin.S: Likewise.
10879 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10880 * sysdeps/i386/fpu/sincos32.c: Likewise.
10881
10882 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10883 Define.
10884 (libc_feupdateenv_53bit): Define.
10885 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10886 Define.
10887 (libc_feupdateenv_53bit): Define.
10888
10889 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10890 53 bit (without extend i386 double precision).
10891
10892 * math/libm-test.inc (sincos_test): Add tests for large input.
10893 (sin): Likewise.
10894 (cos): Likewise.
10895
10896 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10897
9cad04ea
AS
108982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10899
10900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10901
f7062b9a
DM
109022012-03-15 David S. Miller <davem@davemloft.net>
10903
10904 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10905 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10906 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10907 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10920 file.
f7062b9a 10921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10923 file.
f7062b9a 10924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10926 file.
f7062b9a 10927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10929 file.
f7062b9a
DM
10930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10932 fmin/fmax sysdep routines.
10933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10934
7bd951ff
DM
109352012-03-14 David S. Miller <davem@davemloft.net>
10936
559398ab
DM
10937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10941 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10943 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10944 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10957 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10960 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10962 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10963 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10964 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10965 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10966 routines.
10967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10968 file.
559398ab 10969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10971 file.
559398ab 10972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10974 file.
559398ab 10975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10977 file.
559398ab 10978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10980 file.
559398ab 10981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10983 file.
10984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10985 file.
10986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10987 file.
10988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10989 file.
10990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10991 New file.
10992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10993 file.
10994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10995 file.
559398ab 10996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10998 file.
559398ab 10999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11001 file.
559398ab 11002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
11003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11004 file.
559398ab 11005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
11006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11007 VIS3 routines.
559398ab
DM
11008
11009 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11010 New file.
11011
5a1c1e32
DM
11012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11013
eae47a36
DM
11014 * sysdeps/sparc/configure.in: New file.
11015 * sysdeps/sparc/configure: Generate.
11016 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11017 * configure: Regenerate.
11018 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11019 * config.make.in (have-as-vis3): New.
11020 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11021 available use -Av9d instead of -Av9a.
11022 * sysdeps/sparc/sparc64/Makefile: Likewise.
11023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
11024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11025 New file.
11026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11027 file.
11028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11029 New file.
11030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11031 file.
eae47a36
DM
11032 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11033 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11035 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11036 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11037
c0c83bc8
DM
11038 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11039 fzeros/fnegs to load 0x80000000 into a float register instead of
11040 using the stack.
7bd951ff
DM
11041 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11042
bd951ccb
JM
110432012-03-14 Joseph Myers <joseph@codesourcery.com>
11044
11045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11046 bits/syscall.h.
11047 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11048 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11049 ($(inst_includedir)/bits/syscall.h): Remove rule.
11050 ($(objpfx)bits/syscall.d): Include instead of
11051 $(objpfx)syscall-list.d.
11052 (generated): Change syscall-list.h and syscall-list.d to
11053 bits/syscall.h and bits/syscall.d.
11054
bb4e6db2
RM
110552012-03-14 Roland McGrath <roland@hack.frob.com>
11056
11057 [BZ #13846]
11058 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11059
aa4a2ae1
JM
110602012-03-14 Joseph Myers <joseph@codesourcery.com>
11061
e456826d
JM
11062 [BZ #13841]
11063 * math/s_csqrt.c: Include <float.h>.
11064 (__csqrt): Scale large or subnormal inputs.
11065 * math/s_csqrtf.c: Likewise.
11066 * math/s_csqrtl.c: Likewise.
11067 * math/libm-test.inc (csqrt_test): Add more tests.
11068 * sysdeps/i386/fpu/libm-test-ulps: Update.
11069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11070
aa4a2ae1
JM
11071 [BZ #13840]
11072 * math/libm-test.inc (hypot_test): Add more tests.
11073
7c10fd35
DM
110742012-03-13 David S. Miller <davem@davemloft.net>
11075
11076 [BZ #13840]
11077 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11078 double-precision for the calculation instead of scaling.
11079
f453b98b
JM
110802012-03-13 Joseph Myers <joseph@codesourcery.com>
11081
11082 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11083 manipulate bits before adding and subtracting TWO52[sx].
11084 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11085 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11086 Likewise.
11087 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11088
09a3453f
DM
110892012-03-13 David S. Miller <davem@davemloft.net>
11090
8e59da90
DM
11091 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11092 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11094 rtld-global-offsets.h
11095 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11096
2a8ab7f2
DM
11097 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11098 large parameters.
11099
10f62770
DM
11100 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11101
5f0bdb18
DM
11102 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11103 'err' in the ifdef scope in which it is actually used.
11104
09a3453f
DM
11105 * nss/nss_db/db-init.c: Include string.h
11106
b4b2eb5e
DM
111072012-03-12 David S. Miller <davem@davemloft.net>
11108
98bb2f1c
DM
11109 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11110 masking out of the most significant byte of random value used.
11111 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11112 Fix coding style in previous change.
11113
b4b2eb5e
DM
11114 * sysdeps/unix/sysv/linux/kernel-features.h
11115 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11116 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11117 expression.
11118 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11119 later.
11120
6e226b09
DM
111212012-03-11 David S. Miller <davem@davemloft.net>
11122
a1bcbd40
DM
11123 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11124 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11125 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11126 for 'resultvar' otherwise things get truncated on 64-bit.
11127
cb9d6174
DM
11128 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11129 Fix masking out of the most significant byte of random value used.
11130
6e226b09
DM
11131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11132
058c132d
AS
111332012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11134
11135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11136
2d2cd515
DM
111372012-03-09 David S. Miller <davem@davemloft.net>
11138
11139 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11140 variables with appropriate CPP guards.
11141 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11142 frame pointer, not the stack pointer. Correct layout comments. Fix test
11143 on resulting framesize and the management of the outregs buffer for pltexit.
11144 Preserve floating point return values across _dl_call_pltexit call.
11145 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11146 framesize and the management of the outregs buffer for pltexit.
11147 Preserve floating point return values across _dl_call_pltexit
11148 call.
11149 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11150 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11151 (print_exit): Fix format string for return register value.
11152
9a07f9d0
JM
111532012-03-10 Joseph Myers <joseph@codesourcery.com>
11154
11155 * sunrpc/Makefile (others): Add rpcgen.
11156 ($(objpfx)rpcgen): Remove special build rule and dependency on
11157 libc.
11158 * sunrpc/rpcgen.c: New file.
11159
547b5e30
PE
111602012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11161
c524201a
PE
11162 [BZ #13673]
11163 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11164 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11165 * sysdeps/i386/crti.S: Likewise.
11166 * sysdeps/i386/crtn.S: Likewise.
11167 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11168 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11169 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11170 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11171 * sysdeps/sh/crti.S: Likewise.
11172 * sysdeps/sh/crtn.S: Likewise.
11173 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11174
7b6235f2
PE
11175 [BZ #13673]
11176 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11177 with URL.
11178 * locale/programs/locfile-kw.gperf: Likewise.
11179 * locale/programs/charmap-kw.h: Regenerated.
11180 * locale/programs/locfile-kw.h: Likewise.
11181
547b5e30
PE
11182 [BZ #13673]
11183 * intl/plural.y: Replace FSF snail mail address with URL.
11184 * intl/plural.c: Regenerated.
11185
5f0a5dae
RH
111862012-03-09 Richard Henderson <rth@twiddle.net>
11187
11188 * include/math_private.h: Remove file.
11189 * math/math_private.h: Move file ...
11190 * sysdeps/generic/math_private.h: ... here.
11191
b8c03620
RH
11192 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11193 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11194 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11195
4e234f5d 11196 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
11197 and <math_private.h>.
11198 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11199 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11200 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11201 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11202 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11203 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11204 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11205 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11206 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11207 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11208 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11209 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11210 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11211 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11212 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11213 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11214 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11215 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11216 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11217 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11219 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11220 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11221 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11222 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11223 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11224 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11225 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11226 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11227 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11228 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11229 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11230 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11231 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11232 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11233 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11234 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11235 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11236 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11237 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11238 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11239 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11240 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11241 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11242 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11243 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11244 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11245 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11246 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11247 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11248 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11249 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11250 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11251 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11252 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11253 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11254 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11255 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11256 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11257 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11258 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11259 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11260 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11261 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11262 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11263 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11264 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11265 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11266 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11267 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11268 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11269 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11270 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11271 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11272 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11273 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11274 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11275 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11276 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11277 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11278 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11279 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11280 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11281 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11282 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11283 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11284 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11285 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11286 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11287 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11288 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11289 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11290 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11291 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11292 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11293 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11294 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11295 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11296 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11297 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11298 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11299 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11300 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11301 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11302 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11303 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11304 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11305 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11306 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11307 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11308 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11309 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11310 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11311 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11312 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11313 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11314 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11315 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11316 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11317 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11318 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11319 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11320 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11321 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11322 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11323 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11324 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11325 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11326 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11327 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11328 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11329 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11330 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11331 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11332 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11333 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11334 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11335 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11336 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11337 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11338 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11339 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11340 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11341 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11342 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11343 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11344 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11345 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11346 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11347 * sysdeps/ieee754/k_standard.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11359 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11365 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11369 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11371 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11372 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11374 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11375 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11376 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11377 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11378 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11379 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11380 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11381 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11382 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11383 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11384 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11385 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11386 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11387 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11388 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11389 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11391 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11392 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11393 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11394 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11395 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11396 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11397 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11398 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11399 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11400 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11401 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11402 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11403 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11404 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11405 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11406 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11407 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11408 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11409 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11410 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11411 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11412 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11413 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11414 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11415 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11416 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11417 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11418 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11419 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11420 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11421 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11422 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11423 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11424 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11425 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11426 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11427 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11428 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11429 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11430 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11431 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11432 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11433 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11434 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11435 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11436 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11437 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11438 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11439 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11440 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11441 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11442 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11443 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11444 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11445 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11446 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11447 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11448 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11449 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11450 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11451 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11452 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11453 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11454 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11455 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11456 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11457 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11458 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11459 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11460 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11461 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11462 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11463 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11464 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11465 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11466 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11467 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11468 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11469 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11470 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11471 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11472 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11473 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11474 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11475 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11476 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11477 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11478 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11479 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11480 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11481 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11482 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11483 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11484 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11485 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11486 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11487 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11488 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11489 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11491 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11492 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11493 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11494 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11495 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11496 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11497 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11498 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11499 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11500 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11501 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11502 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11503 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11504 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11506 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11508 * sysdeps/ieee754/s_lib_version.c: Likewise.
11509 * sysdeps/ieee754/s_matherr.c: Likewise.
11510 * sysdeps/ieee754/s_signgam.c: Likewise.
11511 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11512 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11513 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11514 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11515 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11516 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11517 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11518 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11519 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11520 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11521 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11522 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11523 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11524 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11525 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11526 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11527 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11528 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11529 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11530 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11531 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11532
1991fa03
JM
115332012-03-09 Joseph Myers <joseph@codesourcery.com>
11534
11535 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11536 * sunrpc/rpc_main.c: Likewise.
11537 * sunrpc/rpc_svcout.c: Likewise.
11538
60d6f5a6
DM
115392012-03-09 David S. Miller <davem@davemloft.net>
11540
11541 * include/math_private.h: New file.
11542
4962050e
JM
115432012-03-09 Joseph Myers <joseph@codesourcery.com>
11544
02a6f887
JM
11545 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11546 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11547 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11548 from <bits/socket_type.h>.
11549 (enum __socket_type): Don't define here.
11550 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11552 bits/socket_type.h.
11553
c6e013c1
JM
11554 [BZ #13566]
11555 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11556 checking __USE_GNU.
11557
4962050e
JM
11558 * Makerules ($(inst_includedir)/%.h): New rule.
11559 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11560 (install-others): Remove variable setting.
11561 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11562
38842f45
RH
115632012-03-08 Richard Henderson <rth@twiddle.net>
11564
67bb6da6
RH
11565 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11566 from macro to inline function; merge with the
11567 !__LIBC_INTERNAL_MATH_INLINES version.
11568 (__ieee754_sqrtf): Likewise.
11569
15194b4b
RH
11570 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11571 to inline function.
11572 (__rintf, __floor, __floorf): Likewise.
11573
64e21ede
RH
11574 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11575 macro to inline function.
11576 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11577
38842f45
RH
11578 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11579 not <math/math_private.h>.
11580
c64bf5fe
DM
115812012-03-08 David S. Miller <davem@davemloft.net>
11582
11583 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11584 copyright year.
11585 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11586
82d86f28
TS
115872012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11588
11589 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11590 normalization.
11591 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11592 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11593
aea5d727
UD
115942012-03-08 Ulrich Drepper <drepper@gmail.com>
11595
11596 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11597 be defined individually, they must be defined as a block. Define
11598 S for printing a string instead of hidint the different by using a
11599 macro for adding the 'l'.
11600 * stdio-common/tst-fphex-wide.c: Adjust.
11601
70bca0a3
MP
116022012-03-07 Marek Polacek <polacek@redhat.com>
11603
11604 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11605
65b81130
MP
116062012-03-08 Marek Polacek <polacek@redhat.com>
11607
11608 [BZ #13806]
11609 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11610 * stdio-common/tst-fphex.c: Define a few macros to make the
11611 test reusable. Use them.
11612 * stdio-common/tst-fphex-wide.c: New file.
11613
07037eeb
JM
116142012-03-08 Joseph Myers <joseph@codesourcery.com>
11615
a7a93d50
JM
11616 [BZ #6911]
11617 * manual/macros.texi (gnusystems): New macro.
11618 (nongnusystems): Likewise.
11619 (gnulinuxhurdsystems): Likewise.
11620 (gnuhurdsystems): Likewise..
11621 (gnulinuxsystems): Likewise.
11622 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11623 variants of the GNU system, not "GNU system".
11624 * manual/conf.texi: Likewise.
11625 * manual/errno.texi: Likewise. Update example of errno macro
11626 expansion.
11627 * manual/filesys.texi: Likewise.
11628 (getumask): Document as specific to GNU/Hurd.
11629 * manual/install.texi: Likewise. Reword some references to
11630 GNU/Linux.
11631 * manual/intro.texi: Likewise.
11632 * manual/io.texi: Likewise.
11633 (File Name Portability): Detail which constraints are inapplicable
11634 to all GNU systems and which are only inapplicable to GNU/Hurd.
11635 * manual/job.texi: Likewise.
11636 * manual/llio.texi: Likewise.
11637 (O_NOCTTY): Document as present on GNU/Linux.
11638 * manual/maint.texi: Likewise.
11639 * manual/memory.texi: Likewise.
11640 * manual/pattern.texi: Likewise.
11641 * manual/pipe.texi: Likewise.
11642 * manual/process.texi: Likewise.
11643 * manual/resource.texi: Likewise.
11644 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11645 child on GNU/Hurd.
11646 * manual/setjmp.texi: Likewise.
11647 * manual/signal.texi: Likewise.
11648 * manual/startup.texi: Likewise.
11649 * manual/stdio.texi: Likewise.
11650 * manual/terminal.texi: Likewise.
11651 (ONLCR): Document as POSIX.
11652 (OXTABS): Document availability on GNU/Linux as XTABS.
11653 (ONOEOT): Document availability separately from other bits.
11654 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11655 * manual/time.texi: Likewise.
11656 * manual/users.texi: Likewise.
11657 * INSTALL: Regenerated.
11658 * sysdeps/gnu/errlist.c: Regenerated.
11659
07037eeb
JM
11660 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11661 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11662 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11663 puts.
11664 * configure: Regenerated.
11665
d1d3431a
JM
116662012-03-07 Joseph Myers <joseph@codesourcery.com>
11667
af6a1e37
JM
11668 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11669 default includes instead of AC_HEADER_CHECK.
11670 * sysdeps/i386/configure: Regenerated.
11671
d1d3431a
JM
11672 [BZ #10716]
11673 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11674 * math/s_cacoshf.c (__cacoshf): Likewise.
11675 * math/s_cacoshl.c (__cacoshl): Likewise.
11676 * math/s_casinh.c (__casinh): Set signs of result from argument.
11677 * math/s_casinhf.c (__casinhf): Likewise.
11678 * math/s_casinhl.c (__casinhl): Likewise.
11679 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11680 (casinh_test): Add more tests.
11681 * sysdeps/i386/fpu/libm-test-ulps: Update.
11682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11683
482ff4da
UD
116842012-03-07 Ulrich Drepper <drepper@gmail.com>
11685
872fda05
UD
11686 * po/zh_TW.po: Update from translation team.
11687
a4300c7a
UD
11688 * login/Makefile (distribute): Remove variable.
11689 * catgets/Makefile: Likewise.
11690 * mach/Makefile: Likewise.
11691 * malloc/Makefile: Likewise.
11692 * misc/Makefile: Likewise.
11693 * iconv/Makefile: Likewise.
11694 * nscd/Makefile: Likewise.
11695 * hurd/Makefile: Likewise.
11696 * manual/Makefile: Likewise.
11697 * locale/Makefile: Likewise.
11698 * intl/Makefile: Likewise.
11699 * conform/Makefile: Likewise.
11700 * nss/Makefile: Likewise.
11701 * time/Makefile: Likewise.
11702 * soft-fp/Makefile: Likewise.
11703 * dirent/Makefile: Likewise.
11704 * gmon/Makefile: Likewise.
11705 * po/Makefile: Likewise.
11706 * rt/Makefile: Likewise.
11707 * socket/Makefile: Likewise.
11708 * math/Makefile: Likewise.
11709 * signal/Makefile: Likewise.
11710 * debug/Makefile: Likewise.
11711 * elf/Makefile: Likewise.
11712 * timezone/Makefile: Likewise.
11713 * stdlib/Makefile: Likewise.
11714 * iconvdata/Makefile: Likewise.
11715 * sunrpc/Makefile: Likewise.
11716 * io/Makefile: Likewise.
11717 * argp/Makefile: Likewise.
11718 * inet/Makefile: Likewise.
11719 * hesiod/Makefile: Likewise.
11720 * grp/Makefile: Likewise.
11721 * csu/Makefile: Likewise.
11722 * wctype/Makefile: Likewise.
11723 * crypt/Makefile: Likewise.
11724 * libio/Makefile: Likewise.
11725 * string/Makefile: Likewise.
11726 * nis/Makefile: Likewise.
11727 * resolv/Makefile: Likewise.
11728 * stdio-common/Makefile: Likewise.
11729 * wcsmbs/Makefile: Likewise.
11730 * dlfcn/Makefile: Likewise.
11731 * posix/Makefile: Likewise.
11732
3b7c4e74 11733 [BZ #6959]
482ff4da
UD
11734 * timezone/Makefile: Don't install timezone files, just the programs
11735 and scripts.
11736
f72ed77d
UD
117372012-03-06 Ulrich Drepper <drepper@gmail.com>
11738
a000466f
UD
11739 * nss/databases.def: Add missing gshadow entry.
11740
f72ed77d
UD
11741 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11742
a53b7a4e
MP
117432012-03-06 Marek Polacek <polacek@redhat.com>
11744
11745 [BZ #13726]
11746 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11747 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11748 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11749 * stdio-common/tst-long-dbl-fphex.c: New file.
11750
e9258400
DM
117512012-03-06 David S. Miller <davem@davemloft.net>
11752
11753 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11754 (set_obp_int): New function.
11755 (get_obp_int): New function.
11756 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11757 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11758 Avoid unused variable warnings on 'val' and use builtin_expect.
11759 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11760 __builtin_expect.
e9258400
DM
11761 (INLINE_CLONE_SYSCALL): Likewise.
11762
3bd2c723
DM
117632012-03-05 David S. Miller <davem@davemloft.net>
11764
11765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11766
bbb78d03
AS
117672012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11768
884c5db4
AS
11769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11770
bbb78d03
AS
11771 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11772 only for |x| >= 40.
11773 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11774
1c9f702a 117752012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11776
11777 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11778 Replace gettimeofday with __vdso_gettimeofday.
11779
7be16f82
RM
11780 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11781 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11782 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11783
11784 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11785 time with __vdso_time.
11786
ed58a00f
JM
117872012-03-05 Joseph Myers <joseph@codesourcery.com>
11788
11789 * manual/lang.texi (size_t): Note types to which size_t may be
11790 equivalent with the GNU C Library, but do not describe when
11791 differences between them are significant.
11792
30ee4ced
AJ
117932012-03-05 Andreas Jaeger <aj@suse.de>
11794
11795 * sysdeps/i386/fpu/libm-test-ulps: Update.
11796
b7cd39e8
JM
117972012-03-05 Joseph Myers <joseph@codesourcery.com>
11798
11799 [BZ #3976]
11800 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11801 (__ieee754_pow): Save and restore rounding mode and use
11802 round-to-nearest for main computations.
11803 * math/libm-test.inc (pow_test_tonearest): New function.
11804 (pow_test_towardzero): Likewise.
11805 (pow_test_downward): Likewise.
11806 (pow_test_upward): Likewise.
11807 (main): Call the new functions.
11808 * sysdeps/i386/fpu/libm-test-ulps: Update.
11809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11810
11811 [BZ #3976]
11812 * math/libm-test.inc (cosh_test_tonearest): New function.
11813 (cosh_test_towardzero): Likewise.
11814 (cosh_test_downward): Likewise.
11815 (cosh_test_upward): Likewise.
11816 (sinh_test_tonearest): Likewise.
11817 (sinh_test_towardzero): Likewise.
11818 (sinh_test_downward): Likewise.
11819 (sinh_test_upward): Likewise.
11820 (main): Call the new functions.
11821 * sysdeps/i386/fpu/libm-test-ulps: Update.
11822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11823
6c6a98c9
TV
118242012-03-05 Tom de Vries <tom@codesourcery.com>
11825
11826 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11827 default stack guard is set in last bytes.
11828 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11829
21bb2d2e 118302012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11831
21bb2d2e 11832 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11833
21bb2d2e
AJ
11834 [BZ #13656]
11835 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11836 possibly allocate from heap instead of stack.
11837 * stdio-common/bug-vfprintf-nargs.c: New file.
11838 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11839
c6922934
AS
118402012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11841
11842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11843
bc957d53
MP
118442012-03-03 Marek Polacek <polacek@redhat.com>
11845
11846 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11847 * math/math_private.h: Likewise.
11848 * stdlib/tst-strtod.c: Likewise.
11849 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11850 * sysdeps/x86_64/bits/atomic.h: Likewise.
11851
6358490d
DM
118522012-03-02 David S. Miller <davem@davemloft.net>
11853
11854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11858 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11859 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11860 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11861 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11862
01ae168d
RM
118632012-03-02 Roland McGrath <roland@hack.frob.com>
11864
d9a17c07
RM
11865 [BZ #13792]
11866 * manual/examples/README: New file, says the example source files
11867 can be used under GPL>=2.
11868 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11869 line containing just "*/".
11870 * manual/examples/add.c: Add copyright header (GPL>=2).
11871 * manual/examples/argp-ex1.c: Likewise.
11872 * manual/examples/argp-ex2.c: Likewise.
11873 * manual/examples/argp-ex3.c: Likewise.
11874 * manual/examples/argp-ex4.c: Likewise.
11875 * manual/examples/atexit.c: Likewise.
11876 * manual/examples/db.c: Likewise.
11877 * manual/examples/dir.c: Likewise.
11878 * manual/examples/dir2.c: Likewise.
11879 * manual/examples/execinfo.c: Likewise.
11880 * manual/examples/filecli.c: Likewise.
11881 * manual/examples/filesrv.c: Likewise.
11882 * manual/examples/fmtmsgexpl.c: Likewise.
11883 * manual/examples/genpass.c: Likewise.
11884 * manual/examples/inetcli.c: Likewise.
11885 * manual/examples/inetsrv.c: Likewise.
11886 * manual/examples/isockad.c: Likewise.
11887 * manual/examples/longopt.c: Likewise.
11888 * manual/examples/memopen.c: Likewise.
11889 * manual/examples/memstrm.c: Likewise.
11890 * manual/examples/mkfsock.c: Likewise.
11891 * manual/examples/mkisock.c: Likewise.
11892 * manual/examples/mygetpass.c: Likewise.
11893 * manual/examples/pipe.c: Likewise.
11894 * manual/examples/popen.c: Likewise.
11895 * manual/examples/rprintf.c: Likewise.
11896 * manual/examples/search.c: Likewise.
11897 * manual/examples/select.c: Likewise.
11898 * manual/examples/setjmp.c: Likewise.
11899 * manual/examples/sigh1.c: Likewise.
11900 * manual/examples/sigusr.c: Likewise.
11901 * manual/examples/stpcpy.c: Likewise.
11902 * manual/examples/strdupa.c: Likewise.
11903 * manual/examples/strftim.c: Likewise.
11904 * manual/examples/strncat.c: Likewise.
11905 * manual/examples/subopt.c: Likewise.
11906 * manual/examples/swapcontext.c: Likewise.
11907 * manual/examples/termios.c: Likewise.
11908 * manual/examples/testopt.c: Likewise.
11909 * manual/examples/testpass.c: Likewise.
11910 * manual/examples/timeval_subtract.c: Likewise.
11911
01ae168d
RM
11912 [BZ #13792]
11913 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11914 function to ...
11915 * manual/timeval_subtract.c.texi: ... here, new file.
11916
49efa33d
DM
119172012-03-02 David S. Miller <davem@davemloft.net>
11918
11919 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11920
28afd92d
JM
119212012-03-02 Joseph Myers <joseph@codesourcery.com>
11922
804360ed
JM
11923 [BZ #3976]
11924 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11925 (__sin): Save and restore rounding mode and use round-to-nearest
11926 for all computations.
11927 (__cos): Save and restore rounding mode and use round-to-nearest
11928 for all computations.
11929 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11930 <fenv.h>.
11931 (tan): Save and restore rounding mode and use round-to-nearest for
11932 all computations.
11933 * math/libm-test.inc (cos_test_tonearest): New function.
11934 (cos_test_towardzero): Likewise.
11935 (cos_test_downward): Likewise.
11936 (cos_test_upward): Likewise.
11937 (sin_test_tonearest): Likewise.
11938 (sin_test_towardzero): Likewise.
11939 (sin_test_downward): Likewise.
11940 (sin_test_upward): Likewise.
11941 (tan_test_tonearest): Likewise.
11942 (tan_test_towardzero): Likewise.
11943 (tan_test_downward): Likewise.
11944 (tan_test_upward): Likewise.
11945 (main): Call the new functions.
11946 * sysdeps/i386/fpu/libm-test-ulps: Update.
11947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11948
a6d06d7b
JM
11949 [BZ #10135]
11950 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11951 small n, then large n, before computing and testing k+n.
11952 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11953 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11954 Likewise.
11955 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11956 Likewise.
11957 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11958 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11959 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11960 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11961 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11962 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11963 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11964 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11965 * math/libm-test.inc (scalbn_test): Add more tests.
11966 (scalbln_test): Likewise.
11967
07e12bb3
JM
11968 * manual/filesys.texi (mode_t): Describe constraints on size and
11969 signedness, not exact equivalence to a particular type.
11970 (ino_t): Likewise.
11971 (ino64_t): Likewise.
11972 (dev_t): Likewise.
11973 (nlink_t): Likewise.
11974 (blkcnt_t): Likewise.
11975 (blkcnt64_t): Likewise.
11976 * manual/llio.texi (off_t): Likewise.
11977
28afd92d
JM
11978 [BZ #3976]
11979 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11980 (__ieee754_exp): Save and restore rounding mode and use
11981 round-to-nearest for all computations.
11982 * math/libm-test.inc (exp_test_tonearest): New function.
11983 (exp_test_towardzero): Likewise.
11984 (exp_test_downward): Likewise.
11985 (exp_test_upward): Likewise.
11986 (main): Call the new functions.
11987 * sysdeps/i386/fpu/libm-test-ulps: Update.
11988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11989
b1eeb65d
CD
119902012-03-01 Chris Demetriou <cgd@google.com>
11991
11992 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11993 have predictable order.
11994
53362a4b
DM
119952012-03-01 David S. Miller <davem@davemloft.net>
11996
3c969083
DM
11997 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11998
759707de
DM
11999 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12000 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12001 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12002 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12003
dfdb8ff2
DM
12004 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12005 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12006 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12008 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12009 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12010 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12011 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12012 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12013
ead89f96
DM
12014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12015
7f66bd07
DM
12016 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12017 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12018 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12019
53362a4b
DM
12020 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12021 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12022 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12023 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12024 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12025 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12026 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12027 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12028 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12029 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12030 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12031 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12032 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12033 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12034 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12035 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12036 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12037 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12038 * sysdeps/sparc/elf/configure: Regenerated.
12039
7b1902cb
JM
120402012-03-01 Joseph Myers <joseph@codesourcery.com>
12041
bec039bc
JM
12042 * configure.in (AS, LD): Require binutils 2.20 or later.
12043 * configure: Regenerated.
12044 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12045 as required minimum version.
12046 * INSTALL: Regenerated.
12047
7b1902cb
JM
12048 [BZ #2541]
12049 [BZ #4108]
12050 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12051 before squaring exponent.
12052 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12053 bottom long double and 27 bits of top long double before squaring
12054 exponent.
12055 * math/libm-test.inc (erfc_test): Add more tests.
12056 * sysdeps/i386/fpu/libm-test-ulps: Update.
12057 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12059
f775c276
KT
120602012-03-01 Kai Tietz <ktietz@redhat.com>
12061
12062 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12063 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12064 containing bit-fields.
12065 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12066 * soft-fp/single.h (_FP_UNION_S): Likewise.
12067 * soft-fp/double.h (_FP_UNION_D): Likewise.
12068
5b8a4d4a
JM
120692012-02-29 Joseph Myers <joseph@codesourcery.com>
12070
0bab47b6
JM
12071 [BZ #13786]
12072 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12073 not include ../strcmp.S.
12074 [USE_AS_STRNCASECMP_L]: Likewise.
12075 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12076 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12077 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12078 (__strncasecmp_l_ia32): Define as alias to
12079 __strncasecmp_l_nonascii.
12080
0fcad3e2
JM
12081 [BZ #5794]
12082 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12083 * sysdeps/i386/fpu/libm-test-ulps: Update.
12084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12085
5b8a4d4a
JM
12086 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12088
8fdceb2e
JL
120892012-02-29 Jeff Law <law@redhat.com>
12090
12091 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12092 out of bounds read.
12093
1f393a11
MP
120942012-02-29 Marek Polacek <polacek@redhat.com>
12095
12096 [BZ #13706]
12097 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12098 * elf/Makefile: Add rules to run tst-unused-dep.out.
12099
8847f037
DM
121002012-02-28 David S. Miller <davem@davemloft.net>
12101
12102 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12103 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12104 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12105 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12106 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12107 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12108
169d7f11
JM
121092012-02-29 Joseph Myers <joseph@codesourcery.com>
12110
12111 * math/libm-test.inc (llround_test): Move one test from
12112 lround_test. Use TEST_f_L in moved test.
12113 (lround_test): Move misplaced test to llround_test. Add testcase
12114 from bug 2561.
12115
39adf059
UD
121162012-02-28 Ulrich Drepper <drepper@gmail.com>
12117
12118 * sysdeps/x86_64/fpu/e_expf.S: New file.
12119 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12120
71b5d1c5
SB
121212012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12122
12123 [BZ #13637]
12124 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12125 of remain_len that may cause incomplete multi-byte character and
12126 false match.
12127 * posix/bug-regex33.c: New file.
12128 * posix/Makefile (tests): Add bug-regex33.
12129
1f77f049
JM
121302012-02-28 Joseph Myers <joseph@codesourcery.com>
12131
12132 * manual/macros.texi: New file.
12133 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12134 * manual/libc.texinfo: Include macros.texi.
12135 * manual/creatute.texi: Likewise.
12136 * manual/install.texi: Likewise.
12137 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12138 @glibcadj{} in references to the GNU C Library.
12139 * manual/charset.texi: Likewise.
12140 * manual/conf.texi: Likewise.
12141 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12142 when not using those macros.
12143 * manual/creature.texi: Likewise.
12144 * manual/crypt.texi: Likewise.
12145 * manual/errno.texi: Likewise.
12146 * manual/filesys.texi: Likewise.
12147 * manual/header.texi: Likewise.
12148 * manual/install.texi: Likewise.
12149 * manual/intro.texi: Likewise.
12150 * manual/io.texi: Likewise.
12151 * manual/job.texi: Likewise.
12152 * manual/lang.texi: Likewise.
12153 * manual/libc.texiinfo: Likewise.
12154 * manual/llio.texi: Likewise.
12155 * manual/locale.texi: Likewise.
12156 * manual/maint.texi: Likewise.
12157 * manual/math.texi: Likewise.
12158 * manual/memory.texi: Likewise.
12159 * manual/message.texi: Likewise.
12160 * manual/nss.texi: Likewise.
12161 * manual/pattern.texi: Likewise.
12162 * manual/process.texi: Likewise.
12163 * manual/resource.texi: Likewise.
12164 * manual/search.texi: Likewise.
12165 * manual/setjmp.texi: Likewise.
12166 * manual/signal.texi: Likewise.
12167 * manual/socket.texi: Likewise.
12168 * manual/startup.texi: Likewise.
12169 * manual/stdio.texi: Likewise.
12170 * manual/string.texi: Likewise.
12171 * manual/sysinfo.texi: Likewise.
12172 * manual/syslog.texi: Likewise.
12173 * manual/terminal.texi: Likewise.
12174 * manual/time.texi: Likewise.
12175 * manual/users.texi: Likewise.
12176 * INSTALL: Regenerated.
12177 * NOTES: Regenerated.
d40c5d54 12178 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 12179
450bf206
AS
121802012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12181
12182 * include/dirent.h: Include <dirstream.h> before
12183 <dirent/dirent.h>.
12184
741a235b
DM
121852012-02-28 David S. Miller <davem@davemloft.net>
12186
12187 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12188 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12189 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12190 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12191
d6b5aa58
DM
121922012-02-27 David S. Miller <davem@davemloft.net>
12193
1aff59a3
DM
12194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12196 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12197 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12198
d6b5aa58
DM
12199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12200 frame pointer instead of stack pointer relative arg slot.
12201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12202 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12203 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12204
433f48bf
CD
122052012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12206
12207 [BZ #3992]
12208 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12209
d674b76d
DM
122102012-02-27 David S. Miller <davem@davemloft.net>
12211
12212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12216 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12217 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12218 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12219 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12220
0e7727f7
JM
122212012-02-27 Joseph Myers <joseph@codesourcery.com>
12222
12223 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12224 later. Allow versions 5-9.
43be4ca2 12225 * configure: Regenerated.
0e7727f7
JM
12226 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12227 required minimum version and 4.6 as recommended version. Do not
12228 mention bugs in GCC 2.7 and 2.8.
43be4ca2 12229 * INSTALL: Regenerated.
0e7727f7 12230
a78bc654
DM
122312012-02-27 David S. Miller <davem@davemloft.net>
12232
428d5830
DM
12233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12237 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12238 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12239 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12240 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12241
a78bc654
DM
12242 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12243 manipulate bits before adding and subtracting TWO112[sx].
12244 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12245
4579f81c
RM
122462012-02-27 Roland McGrath <roland@hack.frob.com>
12247
36c8acb4
RM
12248 [BZ #13775]
12249 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12250 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12251 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12252 being in POSIX, because they are in 1003.1-2008.
12253
84ad622b
RM
12254 * rt/tst-aio.c: Include <fcntl.h>.
12255 * rt/tst-aio7.c: Likewise.
12256 * rt/tst-aio64.c: Likewise.
12257
4579f81c
RM
12258 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12259
abd923db
JM
122602012-02-27 Joseph Myers <joseph@codesourcery.com>
12261
12262 * manual/install.texi (--with-headers): Describe headers as
12263 interface headers, not private headers.
12264 (Specific advice for GNU/Linux systems): Describe use of headers
12265 from "make headers_install", not private headers from older
12266 kernels.
43be4ca2 12267 * INSTALL: Regenerated.
abd923db
JM
12268 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12269 Change to 2.6.19.
12270 * sysdeps/unix/sysv/linux/configure: Regenerated.
12271
6664049b
JM
12272 * manual/llio.texi (fclean): Remove documentation.
12273
bb8b6697
JM
12274 * manual/Makefile (libc-texi-generated): New variable. Include
12275 version.texi.
12276 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12277 $(libc-texi-generated), not duplicated list of files.
12278 (version.texi, stamp-version): New rules.
12279 (realclean): Remove $(libc-texi-generated), not individual files
12280 from that list. Do not remove dir-add.texinfo.
12281 * manual/libc.texinfo: Comment out uses of edition numbers and
12282 references to printed manual. Remove last-updated dates.
12283 (EDITION): Comment out.
12284 (ISBN): Likewise.
12285 (VERSION, UPDATED): Remove.
12286 (version.texi): Include.
12287
12e5c3b9
AS
122882012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12289
12290 * sysdeps/posix/spawni.c: Include <signal.h>.
12291 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12292 * sysdeps/pthread/aio_fsync.c: Likewise.
12293
4efeffc1 122942012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 12295
ba63ba08
UD
12296 * conform/Makefile (tests): Run only when not cross-compiling and
12297 when fast-check is not defined.
12298
d94a4670
UD
12299 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12300 * conform/data/limits.h-data: Fixes for POSIX2008.
12301 * conform/run-conformtest.sh: Run all tests.
12302 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12303 headers.
12304 * include/bits/dlfcn.h: Likewise.
12305 * include/langinfo.h: Likewise.
12306 * include/monetary.h: Likewise.
12307 * include/sys/poll.h: Likewise.
12308
12309 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12310 for __USE_GNU.
12311 * posix/spawn.h: Define __need_sigset_t.
12312 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12313 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12314 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12315 to get sigevent_t only.
12316 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12317 only for __USE_GNU.
12318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12319 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12320 process_vm_writev only for __USE_GNU.
12321 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12322
12323 * conform/Makefile: For now ignore errors from run-conformtest.
12324 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12325 POSIX to avoid namespace pollution. Don't prepend headers.
12326 * conform/data/aio.h-data: Fixes for POSIX testing.
12327 * conform/data/fcntl.h-data: Likewise.
12328 * conform/data/glob.h-data: Likewise.
12329 * conform/data/grp.h-data: Likewise.
12330 * conform/data/pthread.h-data: Likewise.
12331 * conform/data/pwd.h-data: Likewise.
12332 * conform/data/signal.h-data: Likewise.
12333 * conform/data/spawn.h-data: Likewise.
12334 * conform/data/stdio.h-data: Likewise.
12335 * conform/data/stdlib.h-data: Likewise.
12336 * conform/data/stropts.h-data: Likewise.
12337 * conform/data/sys/mman.h-data: Likewise.
12338 * conform/data/sys/stat.h-data: Likewise.
12339 * conform/data/sys/types.h-data: Likewise.
12340 * conform/data/sys/wait.h-data: Likewise.
12341 * conform/data/time.h-data: Likewise.
12342 * conform/data/unistd.h-data: Likewise.
12343 * conform/data/utime.h-data: Likewise.
12344
12345 * io/sys/stat.h: fchmod was always in POSIX.
12346 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12347 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12348 * rt/aio.h: Define __need_timespec before including <time.h>.
12349 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12350 struct. Add forward declaration of pthread_attr_t and use it in
12351 sigevent.
12352 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12353 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12354 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12355 always remove CLK_TCK definition.
12356
c20105c3
AS
123572012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12358
12359 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12360
7a270350
UD
123612012-02-25 Ulrich Drepper <drepper@gmail.com>
12362
31341567
UD
12363 * conform/run-conformtest.sh: New file.
12364 * conform/Makefile: Run run-conformtest for tests.
12365 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12366 support.
12367
12368 * conform/data/uchar.h-data: New file.
12369 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12370 * conform/data/arpa/inet.h-data: Likewise.
12371 * conform/data/assert.h-data: Likewise.
12372 * conform/data/complex.h-data: Likewise.
12373 * conform/data/cpio.h-data: Likewise.
12374 * conform/data/ctype.h-data: Likewise.
12375 * conform/data/dirent.h-data: Likewise.
12376 * conform/data/dlfcn.h-data: Likewise.
12377 * conform/data/errno.h-data: Likewise.
12378 * conform/data/fcntl.h-data: Likewise.
12379 * conform/data/float.h-data: Likewise.
12380 * conform/data/fmtmsg.h-data: Likewise.
12381 * conform/data/fnmatch.h-data: Likewise.
12382 * conform/data/ftw.h-data: Likewise.
12383 * conform/data/glob.h-data: Likewise.
12384 * conform/data/grp.h-data: Likewise.
12385 * conform/data/iconv.h-data: Likewise.
12386 * conform/data/inttypes.h-data: Likewise.
12387 * conform/data/langinfo.h-data: Likewise.
12388 * conform/data/libgen.h-data: Likewise.
12389 * conform/data/limits.h-data: Likewise.
12390 * conform/data/locale.h-data: Likewise.
12391 * conform/data/math.h-data: Likewise.
12392 * conform/data/monetary.h-data: Likewise.
12393 * conform/data/mqueue.h-data: Likewise.
12394 * conform/data/ndbm.h-data: Likewise.
12395 * conform/data/net/if.h-data: Likewise.
12396 * conform/data/netdb.h-data: Likewise.
12397 * conform/data/netinet/in.h-data: Likewise.
12398 * conform/data/nl_types.h-data: Likewise.
12399 * conform/data/poll.h-data: Likewise.
12400 * conform/data/pthread.h-data: Likewise.
12401 * conform/data/pwd.h-data: Likewise.
12402 * conform/data/regex.h-data: Likewise.
12403 * conform/data/sched.h-data: Likewise.
12404 * conform/data/search.h-data: Likewise.
12405 * conform/data/semaphore.h-data: Likewise.
12406 * conform/data/setjmp.h-data: Likewise.
12407 * conform/data/signal.h-data: Likewise.
12408 * conform/data/spawn.h-data: Likewise.
12409 * conform/data/stdarg.h-data: Likewise.
12410 * conform/data/stdio.h-data: Likewise.
12411 * conform/data/stdlib.h-data: Likewise.
12412 * conform/data/string.h-data: Likewise.
12413 * conform/data/strings.h-data: Likewise.
12414 * conform/data/stropts.h-data: Likewise.
12415 * conform/data/sys/ipc.h-data: Likewise.
12416 * conform/data/sys/mman.h-data: Likewise.
12417 * conform/data/sys/msg.h-data: Likewise.
12418 * conform/data/sys/resource.h-data: Likewise.
12419 * conform/data/sys/select.h-data: Likewise.
12420 * conform/data/sys/sem.h-data: Likewise.
12421 * conform/data/sys/shm.h-data: Likewise.
12422 * conform/data/sys/socket.h-data: Likewise.
12423 * conform/data/sys/stat.h-data: Likewise.
12424 * conform/data/sys/statvfs.h-data: Likewise.
12425 * conform/data/sys/time.h-data: Likewise.
12426 * conform/data/sys/timeb.h-data: Likewise.
12427 * conform/data/sys/times.h-data: Likewise.
12428 * conform/data/sys/types.h-data: Likewise.
12429 * conform/data/sys/uio.h-data: Likewise.
12430 * conform/data/sys/un.h-data: Likewise.
12431 * conform/data/sys/utsname.h-data: Likewise.
12432 * conform/data/sys/wait.h-data: Likewise.
12433 * conform/data/syslog.h-data: Likewise.
12434 * conform/data/tar.h-data: Likewise.
12435 * conform/data/termios.h-data: Likewise.
12436 * conform/data/utime.h-data: Likewise.
12437 * conform/data/utmpx.h-data: Likewise.
12438 * conform/data/varargs.h-data: Likewise.
12439 * conform/data/wchar.h-data: Likewise.
12440 * conform/data/wctype.h-data: Likewise.
12441 * conform/data/wordexp.h-data: Likewise.
12442
12443 * include/stropts.h: New file.
12444 * include/uchar.h: New file.
12445 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12446 * include/assert.h: Likewise.
12447 * include/ctype.h: Likewise.
12448 * include/dirent.h: Likewise.
12449 * include/dlfcn.h: Likewise.
12450 * include/fcntl.h: Likewise.
12451 * include/fnmatch.h: Likewise.
12452 * include/glob.h: Likewise.
12453 * include/grp.h: Likewise.
12454 * include/libio.h: Likewise.
12455 * include/locale.h: Likewise.
12456 * include/math.h: Likewise.
12457 * include/net/if.h: Likewise.
12458 * include/netdb.h: Likewise.
12459 * include/netinet/in.h: Likewise.
12460 * include/pthread.h: Likewise.
12461 * include/pwd.h: Likewise.
12462 * include/regex.h: Likewise.
12463 * include/sched.h: Likewise.
12464 * include/search.h: Likewise.
12465 * include/setjmp.h: Likewise.
12466 * include/signal.h: Likewise.
12467 * include/stdio.h: Likewise.
12468 * include/stdlib.h: Likewise.
12469 * include/string.h: Likewise.
12470 * include/sys/cdefs.h: Likewise.
12471 * include/sys/mman.h: Likewise.
12472 * include/sys/msg.h: Likewise.
12473 * include/sys/resource.h: Likewise.
12474 * include/sys/select.h: Likewise.
12475 * include/sys/socket.h: Likewise.
12476 * include/sys/stat.h: Likewise.
12477 * include/sys/statvfs.h: Likewise.
12478 * include/sys/time.h: Likewise.
12479 * include/sys/times.h: Likewise.
12480 * include/sys/uio.h: Likewise.
12481 * include/sys/utsname.h: Likewise.
12482 * include/sys/wait.h: Likewise.
12483 * include/termios.h: Likewise.
12484 * include/time.h: Likewise.
12485 * include/ulimit.h: Likewise.
12486 * include/unistd.h: Likewise.
12487 * include/utime.h: Likewise.
12488 * include/wchar.h: Likewise.
12489 * include/wctype.h: Likewise.
12490 * include/wordexp.h: Likewise.
12491
12492 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12493
7a270350
UD
12494 * time/time.h: TIME_UTC must be a macro.
12495 Make timespec_get available for ISO C11 only as well.
12496
7724defc
UD
124972012-02-24 Ulrich Drepper <drepper@gmail.com>
12498
12499 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12500 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12501
6b1d1d46
JM
125022012-02-24 Joseph Myers <joseph@codesourcery.com>
12503
12504 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12505
0f8bbd69
JM
125062012-02-24 Joseph Myers <joseph@codesourcery.com>
12507
12508 * manual/texinfo.tex: Update to version 2012-01-19.16.
12509
66ab80bc
JM
125102012-02-24 Joseph Myers <joseph@codesourcery.com>
12511
12512 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12513
74981cc5
RM
125142012-02-24 Roland McGrath <roland@hack.frob.com>
12515
ee968201
RM
12516 [BZ #13738]
12517 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12518 * manual/fdl-1.3.texi: New file.
12519 * manual/fdl-1.1.texi: File removed.
12520
74981cc5
RM
12521 [BZ #13738]
12522 * manual/libc.texinfo (FDL_VERSION): New @set.
12523 Use it for mention of FDL in cover text.
12524 (Documentation License): Use it in @include file name.
12525
7bb764bc
JM
125262012-02-22 Joseph Myers <joseph@codesourcery.com>
12527 Roland McGrath <roland@hack.frob.com>
12528
12529 [BZ #5461]
12530 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12531 not LONG_LONG_MAX and LONG_LONG_MIN.
12532 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12533 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12534 name.
12535 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12536
6cbeae47
JM
125372012-02-22 Joseph Myers <joseph@codesourcery.com>
12538
12539 [BZ #2547]
12540 [BZ #11365]
12541 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12542 manipulate bits before adding and subtracting TWO23[sx].
12543 * math/libm-test.inc (nearbyint_test): Add more tests.
12544
fe45ce09
JM
125452012-02-22 Joseph Myers <joseph@codesourcery.com>
12546
12547 [BZ #2548]
12548 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12549 bits before adding and subtracting TWO23[sx].
12550 * math/libm-test.inc (rint_test): Add more tests.
12551 (rint_test_tonearest): Likewise.
12552 (rint_test_towardzero): Likewise.
12553 (rint_test_downward): Likewise.
12554 (rint_test_upward: Likewise.
12555
ff3b3d82
JM
125562012-02-22 Joseph Myers <joseph@codesourcery.com>
12557
12558 [BZ #10110]
12559 * include/stdc-predef.h: New file. Extracted from features.h.
12560 * include/features.h: Include stdc-predef.h.
12561 * Makefile (headers): Add stdc-predef.h.
12562 * CONFORMANCE (Compiler limitations): Update.
12563
ef0aab35
JM
125642012-02-22 Joseph Myers <joseph@codesourcery.com>
12565
12566 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12567
58639409
DM
125682012-02-21 David S. Miller <davem@davemloft.net>
12569
12570 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12571 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12572
c0e70b25
DM
125732012-02-20 David S. Miller <davem@davemloft.net>
12574
12575 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12576 using a normal save/restore sequence, rather than allocating a
12577 dummy stack frame just to store a frame pointer and restore.
12578 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12579
fb06851d
JM
125802012-02-21 Joseph Myers <joseph@codesourcery.com>
12581
12582 * manual/install.texi: Fix stray word in line-wrapped comment.
12583
7a8b71c3
DM
125842012-02-20 David S. Miller <davem@davemloft.net>
12585
d510c123
DM
12586 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12587 both binutils and gcc support GOTDATA.
12588
0722d7c2
DM
12589 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12590 "rd %pc" in the PIC register setup sequences.
12591
3d2b3019
DM
12592 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12593 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12594 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12595 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12596 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12598 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12599 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12601 (SYSCALL_ERROR_HANDLER): Likewise.
12602 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12603 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12605 (SYSCALL_ERROR_HANDLER): Likewise.
12606
c80098a9
DM
12607 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12608 (HAVE_GCC_GOTDATA): New.
12609 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12610 relocation support in both binutils and gcc.
12611 * sysdeps/sparc/elf/configure: Regenerate.
12612
3a2545a0
DM
12613 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12614 * sysdeps/sparc/sparc32/elf/configure: Delete.
12615 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12616 * sysdeps/sparc/sparc64/elf/configure: Delete.
12617 * sysdeps/sparc/elf/configure.in: New file.
12618 * sysdeps/sparc/elf/configure: Generate.
12619
7a8b71c3
DM
12620 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12621 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12622 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12623 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12624 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12625
f1e86fca
JM
126262012-02-21 Joseph Myers <joseph@codesourcery.com>
12627
12628 * manual/install.texi: Do not mention specific glibc version
12629 numbers.
12630 * manual/libc.texinfo (VERSION, UPDATED): Update.
12631 (@copying): Use @copyright{} and range of years.
12632
0e7dfaef
JM
126332012-02-21 Joseph Myers <joseph@codesourcery.com>
12634
12635 [BZ #13695]
12636 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12637 [crti.S not in sysdirs] (generated): Do not append.
12638 [crti.S not in sysdirs] (omit-deps): Likewise.
12639 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12640 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12641 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12642 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12643 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12644 Likewise.
12645 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12646 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12647 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12648 * csu/defs.awk: Remove file.
12649 * sysdeps/generic/initfini.c: Likewise.
12650 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12651 variable.
12652 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12653 Likewise.
12654
599af3ca
JM
126552012-02-20 Joseph Myers <joseph@codesourcery.com>
12656
12657 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12658 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12659 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12660 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12661 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12662 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12663 <bits/epoll.h>.
12664 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12665 (__EPOLL_PACKED): Define to empty if not defined by
12666 <bits/epoll.h>.
12667 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12669 bits/epoll.h.
12670
0e499750
JM
126712012-02-20 Joseph Myers <joseph@codesourcery.com>
12672
12673 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12674 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12675 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12676 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12677 <bits/timerfd.h>.
12678 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12680 bits/timerfd.h.
12681
5ad91f6e
JM
126822012-02-20 Joseph Myers <joseph@codesourcery.com>
12683
12684 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12685 in C locale.
12686 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12687 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12688 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12690
06b99b02
AJ
126912012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12692
12693 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12694 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12695
7638c0fd
AS
126962012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12697
12698 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12699 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12700 defined.
12701 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12702 Likewise.
12703 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12704 entry for 2.16.
12705
92221550
AJ
127062012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12707
12708 * math/w_acos.c: Use non-signaling floating-point comparisons.
12709 * math/w_acosf.c: Likewise.
12710 * math/w_acosh.c: Likewise.
12711 * math/w_acoshf.c: Likewise.
12712 * math/w_acoshl.c: Likewise.
12713 * math/w_acosl.c: Likewise.
12714 * math/w_asin.c: Likewise.
12715 * math/w_asinf.c: Likewise.
12716 * math/w_asinl.c: Likewise.
12717 * math/w_atanh.c: Likewise.
12718 * math/w_atanhf.c: Likewise.
12719 * math/w_atanhl.c: Likewise.
12720 * math/w_exp2.c: Likewise.
12721 * math/w_exp2f.c: Likewise.
12722 * math/w_exp2l.c: Likewise.
12723 * math/w_j0.c: Likewise.
12724 * math/w_j0f.c: Likewise.
12725 * math/w_j0l.c: Likewise.
12726 * math/w_j1.c: Likewise.
12727 * math/w_j1f.c: Likewise.
12728 * math/w_j1l.c: Likewise.
12729 * math/w_jn.c: Likewise.
12730 * math/w_jnf.c: Likewise.
12731 * math/w_log.c: Likewise.
12732 * math/w_log10.c: Likewise.
12733 * math/w_log10f.c: Likewise.
12734 * math/w_log10l.c: Likewise.
12735 * math/w_log2.c: Likewise.
12736 * math/w_log2f.c: Likewise.
12737 * math/w_log2l.c: Likewise.
12738 * math/w_logf.c: Likewise.
12739 * math/w_logl.c: Likewise.
12740 * math/w_sqrt.c: Likewise.
12741 * math/w_sqrtf.c: Likewise.
12742 * math/w_sqrtl.c: Likewise.
12743 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12744 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12745 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12746 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12747 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12748
ebaf36eb
JM
127492012-02-19 Joseph Myers <joseph@codesourcery.com>
12750
12751 [BZ #9739]
12752 * manual/string.texi (strnlen): Use correct parameter name in
12753 equivalent expression.
12754
71c254a6
JM
127552012-02-19 Joseph Myers <joseph@codesourcery.com>
12756
12757 [BZ #11174]
12758 * manual/users.texi (seteuid): Consistently use neweuid for
12759 argument name.
12760
16d2c631
JM
127612012-02-19 Joseph Myers <joseph@codesourcery.com>
12762
12763 [BZ #13704]
12764 * manual/nss.texi (Services in the NSS configuration): Correct
12765 list of services in example configuration file.
12766
cd837b09
NB
127672012-02-19 Nick Bowler <nbowler@draconx.ca>
12768
12769 [BZ #11322]
12770 * manual/arith.texi: Remove statements about negative zero
12771 behaving identically to zero.
12772
02c4bbad
JM
127732012-02-18 Joseph Myers <joseph@codesourcery.com>
12774
12775 [BZ #5993]
12776 * manual/install.texi: Do not document upgrading from libc5.
12777
366842e7
JM
127782012-02-18 Joseph Myers <joseph@codesourcery.com>
12779
12780 [BZ #4596]
12781 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12782
dd54084d
DM
127832012-02-18 David S. Miller <davem@davemloft.net>
12784
12785 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12786 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12787 %o7 across the call.
12788 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12789 instead.
12790 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12791 SETUP_PIC_REG_LEAF.
12792 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12793 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12794 * sysdeps/sparc/crtn.S: Likewise.
12795
2bcc53a3
UD
127962012-02-17 Ulrich Drepper <drepper@gmail.com>
12797
12798 * aout/Makefile: Remove.
12799
09c093b5
RK
128002012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12801
12802 [BZ #13058]
12803 * manual/examples/argp-ex1.c (main): Format definition in GNU
12804 style.
12805 * manual/examples/argp-ex2.c (main): Likewise.
12806 * manual/examples/argp-ex3.c (main): Likewise.
12807 * manual/examples/argp-ex4.c (main): Likewise.
12808 * manual/examples/longopt.c (main): Use new-style prototype
12809 definition.
12810 * manual/examples/strncat.c (main): Specify return type and use
12811 (void) for arguments.
12812 * manual/examples/subopt.c (main): Use char **argv argument.
12813
2ee633a2
JM
128142012-02-17 Joseph Myers <joseph@codesourcery.com>
12815
12816 [BZ #5077]
12817 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12818 rounding modes.
12819
0520adde
FB
128202012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12821
12822 [BZ #6907]
12823 * manual/string.texi (strchr): Change when strchrnul is
12824 recommended.
12825
3f4081cd
DGM
128262012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12827
12828 [BZ #174]
12829 * manual/locale.texi (setlocale): Document LOCPATH.
12830
d1b10e78
JM
128312012-02-17 Joseph Myers <joseph@codesourcery.com>
12832
12833 [BZ #10210]
12834 * manual/process.texi (execle): Move @dots{} before last argument.
12835
79c6869c
PB
128362012-02-17 Paul Bolle <pebolle@tiscali.nl>
12837
12838 [BZ #12047]
12839 * manual/charset.texi (Generic Charset Conversion): Fix typo
12840 (LC_TYPE -> LC_CTYPE).
12841
cc6e48bc
NB
128422012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12843
12844 [BZ #5805]
12845 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12846 (scalbnf): Likewise.
12847 (scalbnl): Likewise.
12848 (scalbln): Likewise.
12849 (scalblnf): Likewise.
12850 (scalblnl): Likewise.
12851 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12852 (vwarnx): Likewise.
12853 (verr): Likewise.
12854 (verrx): Likewise.
12855 * manual/filesys.texi (telldir): Use braces around return type.
12856 * manual/llio.texi (mmap): Add space after comma.
12857 (mmap64): Likewise.
12858 * manual/math.texi (jn): Use @var{} on parameter names.
12859 (jnf): Likewise.
12860 (jnl): Likewise.
12861 (yn): Likewise.
12862 (ynf): Likewise.
12863 (ynl): Likewise.
12864 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12865 line.
12866 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12867 "...".
12868 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12869 (sched_get_priority_max): Likewise.
12870 * manual/signal.texi (sigvec): Add space after comma.
12871 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12872 names.
12873 (if_indextoname): Likewise.
12874 (if_freenameindex): Likewise.
12875 (sendto): Use ',' instead of '.' in prototype.
12876 * manual/startup.texi (syscall): Use @dots{} instead of literal
12877 "...".
12878 * manual/stdio.texi (__fpending): Separate initial words of
12879 paragraph from @deftypefun line.
12880 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12881 "...".
12882 (vsyslog): Use @var{} on parameter names.
12883 * manual/terminal.texi (stty): Use @var{} on parameter names.
12884 * manual/users.texi (getutmp): Use @var{} on parameter names.
12885 (getutmpx): Likewise.
12886
5b23062f
JM
128872012-02-17 Joseph Myers <joseph@codesourcery.com>
12888
12889 [BZ #6884]
12890 * manual/stdio.texi (fopen): Fix typos in description of
12891 ",ccs=STRING".
12892
8dee4833
AJ
128932012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12894
12895 [BZ #4026]
12896 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12897 get clock_id definition.
12898
9078ce93
TS
128992012-02-17 Thomas Schwinge <thomas@schwinge.name>
12900
12901 [BZ #4822]
12902 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12903 (madvise): Cast every argument to void on its own.
12904
3835c55f
JM
129052012-02-17 Joseph Myers <joseph@codesourcery.com>
12906
12907 [BZ #9902]
12908 * manual/startup.texi (Exit Status): Fix typo.
12909
35c47e37
JM
129102012-02-17 Joseph Myers <joseph@codesourcery.com>
12911
12912 [BZ #10140]
12913 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12914 * manual/examples/argp-ex2.c: Likewise.
12915 * manual/examples/argp-ex3.c: Likewise.
12916
e3b69ca7
RH
129172012-02-16 Richard Henderson <rth@redhat.com>
12918
12919 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12920 * sysdeps/s390/s390-32/initfini.c: Remove.
12921 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12922 * sysdeps/s390/s390-64/initfini.c: Remove.
12923
df83af67
KK
129242012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12925
12926 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12927 compiler output for sysdeps/generic/initfini.c.
12928 * sysdeps/sh/elf/initfini.c: Remove file.
12929
f63f3380
DM
129302012-02-16 David S. Miller <davem@davemloft.net>
12931
fb59b3a4
DM
12932 [BZ #11494]
12933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12934
f63f3380
DM
12935 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12936 * sysdeps/sparc/crti.S: New file.
12937 * sysdeps/sparc/crtn.S: New file.
12938 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12939 * sysdeps/sparc/sparc64/Makefile: Likewise.
12940
df6a4a4a
MF
129412012-02-15 Mike Frysinger <vapier@gentoo.org>
12942
6dd8f3dc 12943 [BZ #3335]
df6a4a4a
MF
12944 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12945
1cac7236
RM
129462012-02-15 Roland McGrath <roland@hack.frob.com>
12947
d2c736f8
RM
12948 [BZ #4822]
12949 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12950
1cac7236
RM
12951 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12952 (write, read, close): Likewise.
12953 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12954
8e475601
JM
129552012-02-15 Joseph Myers <joseph@codesourcery.com>
12956
12957 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12958 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12959 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12960 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12961 <bits/signalfd.h>.
12962 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12964 bits/signalfd.h.
12965
ed656b40
MP
129662012-02-14 Marek Polacek <polacek@redhat.com>
12967
12968 * sysdeps/x86_64/crti.S: New file.
12969 * sysdeps/x86_64/crtn.S: New file.
12970 * sysdeps/x86_64/elf/initfini.c: Remove file.
12971
2a979d3a
JM
129722012-02-13 Joseph Myers <joseph@codesourcery.com>
12973
12974 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12975 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12976 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12977 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12978 <bits/inotify.h>.
12979 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12981 bits/inotify.h.
12982
2a418ac3
JM
129832012-02-13 Joseph Myers <joseph@codesourcery.com>
12984
12985 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12986 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12987 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12988 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12989 <bits/eventfd.h>.
12990 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12992 bits/eventfd.h.
12993
fb779be7
TS
129942012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12995
e19e83c5
RM
12996 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12997 __feraiseexcept instead of feraiseexcept.
7c35ffed 12998
fb779be7
TS
12999 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13000 nanosleep invocations.
13001 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13002 strings, and add error checking for a nanosleep invocations.
13003
59ba27a6
PE
130042012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13005
13006 Replace FSF snail mail address with URLs, as per GNU coding standards.
13007 Most of the snail mail addresses were wrong anyway, and omitting
13008 them makes the source code easier to maintain. Almost all of the
13009 changes are to license notices and to locale LC_IDENTIFICATION
13010 addresses, except for this one:
13011 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13012 not its snail mail address.
13013
57b957eb
RH
130142012-02-09 Richard Henderson <rth@twiddle.net>
13015
af850b1c
RH
13016 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13017 of kernel-features.h.
13018
57b957eb
RH
13019 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13020
6b73181a
MP
130212012-02-08 Marek Polacek <polacek@redhat.com>
13022
13023 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13024 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13025 * sysdeps/gnu/_G_config.h: Likewise.
13026 * sysdeps/generic/_G_config.h: Likewise.
13027
26ecc33a
AS
130282012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13029
6c6dbc63
AS
13030 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13031 tests.
13032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13033
e216c012
AS
13034 * sysdeps/powerpc/powerpc32/crti.S: New file.
13035 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13036 * sysdeps/powerpc/powerpc64/crti.S: New file.
13037 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13038
26ecc33a
AS
13039 * Makeconfig (have-initfini): Don't set.
13040 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13041 * configure.in (nopic_initfini): Don't substitute.
13042 * config.h.in (HAVE_INITFINI): Don't #undef.
13043 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13044 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13045
3add8e13
JM
130462012-02-08 Joseph Myers <joseph@codesourcery.com>
13047
13048 Support crti.S and crtn.S provided directly by architectures.
13049 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13050 [crti.S in sysdirs] (omit-deps): Likewise.
13051 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13052 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13053 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13054 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13055 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13056 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13057 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13058 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13059 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13060 compiler output for sysdeps/generic/initfini.c.
13061 * sysdeps/i386/elf/Makefile: Remove file.
13062 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13063
a22f12b4
MP
130642012-02-07 Marek Polacek <polacek@redhat.com>
13065
13066 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13067 * sysdeps/gnu/_G_config.h: Likewise.
13068 * sysdeps/mach/hurd/_G_config.h: Likewise.
13069
148cf100
MP
130702012-02-07 Marek Polacek <polacek@redhat.com>
13071
13072 * math/Makefile (tests): Add tst-CMPLX2.
13073 * math/tst-CMPLX2.c: New file.
13074
cfdc0dd7
AS
130752012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13076
84ba42c4
AS
13077 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13078
cfdc0dd7
AS
13079 * math/libm-test.inc (jn_test): Add missing L suffix.
13080
622c86f4
MP
130812012-02-06 Marek Polacek <polacek@redhat.com>
13082
13083 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13084 * sysdeps/i386/fpu/e_powf.S: Likewise.
13085 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13086 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13087 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13088 * sysdeps/i386/fpu/e_pow.S: Likewise.
13089 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13090 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13091 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13092 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13093 * sysdeps/i386/fpu/e_log2.S: Likewise.
13094 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13095 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13096 * sysdeps/i386/fpu/e_powl.S: Likewise.
13097 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13098 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13099 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13100 * sysdeps/i386/fpu/e_logl.S: Likewise.
13101 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13102 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13103 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13104 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13105 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13106 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13107 * sysdeps/i386/fpu/e_log.S: Likewise.
13108 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13109 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13110 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13111 * sysdeps/i386/fpu/e_logf.S: Likewise.
13112 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13113 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13114 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13115 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13116 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13117 * sysdeps/i386/fpu/e_log10.S: Likewise.
13118 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13119 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13120 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13121 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13122 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13123 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13124 * sysdeps/i386/asm-syntax.h: Likewise.
13125 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13126 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13127 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13128 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13129 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13130 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13131 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13132 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13133 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13134 * sysdeps/powerpc/sysdep.h: Likewise.
13135 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13136 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13137
d4a54ac6
JM
131382012-02-06 Joseph Myers <joseph@codesourcery.com>
13139
13140 [BZ #411]
13141 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13142
314054ea
JM
131432012-02-06 Joseph Myers <joseph@codesourcery.com>
13144
13145 * sysdeps/i386/sysdep.h: Include <features.h>.
13146 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13147 version.
13148
d8e0ca50
JM
131492012-02-05 Joseph Myers <joseph@codesourcery.com>
13150
13151 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13152 Define.
13153 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13154 LOAD_PIC_REG_STR.
13155
b1da7dd9
JM
131562012-02-03 Joseph Myers <joseph@codesourcery.com>
13157
13158 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13159 (SETUP_PIC_REG): Use GET_PC_THUNK.
13160 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13161 macro.
13162
9a1d9254
JM
131632012-02-03 Joseph Myers <joseph@codesourcery.com>
13164
13165 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13166 for non-PIC compilation.
13167 (SETUP_PIC_REG): Add .p2align directive.
13168 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13169 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13170 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13171 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13172 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13173 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13174 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13176 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13177 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13178 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13179 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13180 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13181 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13182 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13183 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13184 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13185 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13186 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13187 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13188 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13189 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13190 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13191 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13192 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13193 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13194 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13195 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13196 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13197 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13198 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13199 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13200 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13201 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13202 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13203 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13204 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13205 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13206 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13207 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13208 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13209
65dc3b75
JM
132102012-02-03 Joseph Myers <joseph@codesourcery.com>
13211
13212 * math/tst-CMPLX.c: Include <stdio.h>.
13213
d55bf177
JM
132142012-01-31 Joseph Myers <joseph@codesourcery.com>
13215
13216 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13217 float.
13218 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13219 * sysdeps/sparc/bits/mathdef.h: Likewise.
13220
69db4f8f
MP
132212012-01-31 Marek Polacek <polacek@redhat.com>
13222
13223 * libio/libio.h: Don't define _PARAMS.
13224 * locale/programs/config.h: Don't define PARAMS.
13225 * stdlib/strtol_l.c: Likewise.
13226 (__strtol_l): Remove PARAMS from the prototype.
13227
41b81892
UD
132282012-01-31 Ulrich Drepper <drepper@gmail.com>
13229
3b49edc0
UD
13230 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13231 names. Just use the correct names. Remove unnecessary wrapper
13232 functions.
13233 * malloc/arena.c: Likewise.
13234 * malloc/hooks.c: Likewise.
13235
41b81892
UD
13236 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13237 ARENA_TEST says not to. Simplify test for creation of a new arena.
13238 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13239
27a25b6e
UD
132402012-01-30 Ulrich Drepper <drepper@gmail.com>
13241
13242 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13243 into tail calls.
13244 (update_get_addr): New function.
13245 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13246 GET_ADDR_MODULE parameter.
13247
c8a89e7d
JM
132482012-01-30 Joseph Myers <joseph@codesourcery.com>
13249
13250 * crypt/cert.c: Remove __STDC__ conditionals.
13251 * crypt/crypt-entry.c: Likewise.
13252 * crypt/crypt_util.c: Likewise.
13253 * libio/filedoalloc.c: Likewise.
13254 * libio/fileops.c: Likewise.
13255 * libio/genops.c: Likewise.
13256 * libio/iofclose.c: Likewise.
13257 * libio/iofdopen.c: Likewise.
13258 * libio/iofopen.c: Likewise.
13259 * libio/iofopen64.c: Likewise.
13260 * libio/iogetdelim.c: Likewise.
13261 * libio/iopopen.c: Likewise.
13262 * libio/obprintf.c: Likewise.
13263 * libio/oldfileops.c: Likewise.
13264 * libio/oldiofclose.c: Likewise.
13265 * libio/oldiofdopen.c: Likewise.
13266 * libio/oldiofopen.c: Likewise.
13267 * libio/oldiopopen.c: Likewise.
13268 * libio/wfiledoalloc.c: Likewise.
13269 * libio/wgenops.c: Likewise.
13270 * locale/programs/xmalloc.c: Likewise.
13271 * misc/syslog.c: Likewise.
13272 * stdio-common/xbug.c: Likewise.
13273 * string/memchr.c: Likewise.
13274 * string/memcmp.c: Likewise.
13275 * string/memrchr.c: Likewise.
13276 * string/rawmemchr.c: Likewise.
13277 * sysdeps/posix/getcwd.c: Likewise.
13278 * time/strftime_l.c: Likewise.
13279
3b100462
JM
132802012-01-30 Joseph Myers <joseph@codesourcery.com>
13281
13282 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
13283 * config.make.in (config-cflags-sse2avx): Define.
13284 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13285 Fix typo.
13286
607998af
CM
132872012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13288
13289 * scripts/config.guess: Update from upstream config git repository.
13290 * scripts/config.sub: Likewise.
13291
3601428f
CM
132922012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13293
3ac8b282
CM
13294 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13295 (EM_NUM): Update.
13296 (R_TILEPRO_*, R_TILEGX_*): New macros.
13297
e034841e
CM
13298 * scripts/firstversions.awk: Fix bug in version range handling.
13299
540d7568
CM
13300 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13301
3601428f
CM
13302 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13303
463de862
CM
13304 * include/sys/epoll.h: New file.
13305 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13306 libc_hidden_def.
13307
73139a76
UD
133082012-01-28 Ulrich Drepper <drepper@gmail.com>
13309
96bc5b45
UD
13310 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13311 Avoid unnecessary __WORDSIZE == 64 test.
13312 (fmaxf): Use VEX format if possible.
13313 (fmax): Likewise.
13314 (fminf): Likewise.
13315 (fmin): Likewise.
13316
56f6f6a2
UD
13317 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13318 * math/math_private.h: Remove libc_fegetround* and
13319 libc_fesetround*.
13320 * sysdeps/i386/configure.in: Check for -msse2avx.
13321 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13322 also if SSE2AVX is defined.
13323 Remove libc_fegetround* and libc_fesetround*.
13324 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13325 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13326 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13327 of HAS_YMM_USABLE.
13328 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13329 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13330 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13331 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13332 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13333
73139a76
UD
13334 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13335
d73f93a4
AZ
133362012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13337
13338 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13339 size is not set.
13340 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13341
6ee65ed6
UD
133422012-01-27 Ulrich Drepper <drepper@gmail.com>
13343
13344 [BZ #13618]
13345 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13346 relocation.
13347 * Makeconfig (libm): Define.
13348 * elf/Makefile: Add rules to build and run tst-relsort1.
13349 * elf/tst-relsort1.c: New file.
13350 * elf/tst-relsort1mod1.c: New file.
13351 * elf/tst-relsort1mod2.c: New file.
13352
8db21882
JM
133532012-01-27 Joseph Myers <joseph@codesourcery.com>
13354
13355 * math/s_ldexp.c: Remove __STDC__ conditionals.
13356 * math/s_ldexpf.c: Likewise.
13357 * math/s_ldexpl.c: Likewise.
13358 * math/s_nextafter.c: Likewise.
13359 * math/s_nexttowardf.c: Likewise.
13360 * math/s_significand.c: Likewise.
13361 * math/s_significandf.c: Likewise.
13362 * math/s_significandl.c: Likewise.
13363 * math/w_jnl.c: Likewise.
13364 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13365 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13366 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13367 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13368 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13369 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13370 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13371 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13372 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13373 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13374 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13375 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13376 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13377 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13378 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13379 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13380 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13381 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13382 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13383 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13384 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13385 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13386 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13387 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13388 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13389 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13390 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13391 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13392 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13393 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13394 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13395 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13396 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13397 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13398 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13399 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13400 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13401 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13402 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13403 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13404 * sysdeps/ieee754/k_standard.c: Likewise.
13405 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13406 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13407 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13408 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13409 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13410 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13411 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13412 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13413 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13414 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13415 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13416 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13417 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13418 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13419 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13420 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13421 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13422 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13423 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13424 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13425 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13426 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13427 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13428 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13429 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13430 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13431 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13432 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13433 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13434 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13435 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13436 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13437 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13438 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13440 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13441 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13442 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13443 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13444 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13445 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13446 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13447 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13448 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13449 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13450 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13451 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13452 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13453 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13454 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13455 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13456 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13457 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13462 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13463 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13465 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13466 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13467 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13468 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13469 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13470 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13471 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13472 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13473 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13474 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13475 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13476 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13477 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13479 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13480 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13482 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13483 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13484 * sysdeps/ieee754/s_matherr.c: Likewise.
13485 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13486 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13487 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13488 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13489
965a54a4
JM
134902012-01-26 Joseph Myers <joseph@codesourcery.com>
13491
13492 * crypt/md5.h: Remove __STDC__ conditionals.
13493 * libio/libioP.h: Likewise.
13494 * locale/programs/config.h: Likewise.
13495 * sysdeps/generic/sysdep.h: Likewise.
13496 * sysdeps/i386/asm-syntax.h: Likewise.
13497 * sysdeps/s390/asm-syntax.h: Likewise.
13498 * sysdeps/unix/sysdep.h: Likewise.
13499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13501
7071ad79
JM
135022012-01-26 Joseph Myers <joseph@codesourcery.com>
13503
13504 * libio/libio.h: Remove __STDC__ conditionals.
13505 * malloc/obstack.h: Likewise.
13506 * math/complex.h: Likewise.
13507 * math/math.h: Likewise.
13508 * sysdeps/generic/_G_config.h: Likewise.
13509 * sysdeps/gnu/_G_config.h: Likewise.
13510 * sysdeps/mach/hurd/_G_config.h: Likewise.
13511 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13512 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13513 * sysdeps/sparc/bits/mathdef.h: Likewise.
13514
afc5ed09
UD
135152012-01-26 Ulrich Drepper <drepper@gmail.com>
13516
13517 [BZ #13583]
13518 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13519 Clean up HAS_* macros.
afc5ed09 13520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13521 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13522 possible.
13523 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13524 HAS_AVX.
13525 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13526 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13527 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13528 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13529 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13530
bdb6de1d
JM
135312012-01-25 Joseph Myers <joseph@codesourcery.com>
13532
13533 * elf/tst-unique3.cc (gets): Remove declaration.
13534 * elf/tst-unique3lib.cc (gets): Likewise.
13535 * elf/tst-unique3lib2.cc (gets): Likewise.
13536 * elf/tst-unique4.cc (gets): Likewise.
13537
b15549e6
UD
135382012-01-24 Ulrich Drepper <drepper@gmail.com>
13539
13540 * include/stdio.h: Add C++ protection. Add gets declarations and
13541 definitions.
13542 * debug/tst-chk1.c: Don't declare gets here.
13543 * stdio-common/tst-gets.c: Likewise.
13544
a037381f
JM
135452012-01-24 Joseph Myers <joseph@codesourcery.com>
13546
13547 * posix/glob: Remove directory.
13548
f1d4aa75
JM
135492012-01-24 Joseph Myers <joseph@codesourcery.com>
13550
13551 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13552
81c0c964
PT
135532012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13554
13555 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13556 of the non-standard EPFNOSUPPORT.
13557
0ea698ae
ST
135582011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13559
13560 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13561 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13562 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13563
d220b117
UD
135642012-01-21 Ulrich Drepper <drepper@gmail.com>
13565
13566 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13567
3e1aa84e
UD
135682012-01-20 Ulrich Drepper <drepper@gmail.com>
13569
13570 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13571 transient errors.
13572 * nscd/grpcache.c (cache_addgr): Likewise.
13573 * nscd/hstcache.c (cache_addhst): Likewise.
13574 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13575 * nscd/pwdcache.c (cache_addpw): Likewise.
13576 * nscd/servicescache.c (cache_addserv): Likewise.
13577
400aa020
UD
135782012-01-16 Ulrich Drepper <drepper@gmail.com>
13579
d77e7869
UD
13580 * malloc/malloc.c: Various cleanups.
13581 * malloc/hooks.c: Likewise.
13582
400aa020
UD
13583 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13584 * stdlib/bug-fmtmsg1.c: New file.
13585
13586 * stdlib/fmtmsg.c (init): Add missing unlock.
13587 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13588
e0a309cf
MP
135892012-01-12 Marek Polacek <polacek@redhat.com>
13590
13591 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13592 and _GNU_SOURCE.
13593
929d11c7
WS
135942012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13595
13596 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13597 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13598 macro to ensure uniqueness of label name.
13599 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13600 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13601
41d0e869
UD
136022012-01-11 Ulrich Drepper <drepper@gmail.com>
13603
0cc5ed3b
UD
13604 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13605
41d0e869
UD
13606 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13607 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13608 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13609 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13610
a47a831a
UD
136112012-01-10 Ulrich Drepper <drepper@gmail.com>
13612
daa891c0
UD
13613 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13614
13615 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13616 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13617 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13618
e58ef0f2
UD
13619 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13620
a47a831a 13621 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13622 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13623 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13624 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13625
13626 * math/bits/math-finite.h: Add ldexp support.
13627
a0bfc9c7
MP
136282012-01-10 Marek Polacek <polacek@redhat.com>
13629
13630 * locale/programs/localedef.h (show_archive_content): Add noreturn
13631 attribute.
13632
d6e97a1d
UD
136332012-01-09 Ulrich Drepper <drepper@gmail.com>
13634
13635 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13636
d5835c26
UD
136372012-01-08 Ulrich Drepper <drepper@gmail.com>
13638
e5f484c6
UD
13639 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13640
d5835c26
UD
13641 * io/Makefile (headers): Add bits/poll2.h.
13642
d1f741e9
WS
136432011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13644
13645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13646 typo #include statement.
13647
ec09c1c4
UD
136482012-01-08 Ulrich Drepper <drepper@gmail.com>
13649
13650 * include/sys/cdefs.h: Define __attribute_alloc_size.
13651 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13652 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13653 * elf/pldd.c: Likewise.
13654 * iconv/iconv_charmap.c: Likewise.
13655 * iconv/iconvconfig.c: Likewise.
13656 * iconv/strtab.c: Likewise.
13657 * locale/programs/locale.c: Likewise.
13658 * locale/programs/localedef.h: Likewise.
13659 * locale/programs/simple-hash.c: Likewise.
13660 * nscd/nscd.h: Likewise.
13661 * nss/makedb.c: Likewise.
13662 * sysdeps/generic/ldconfig.h: Likewise.
13663 * locale/programs/localedef.c: Remove xmalloc prototype.
13664 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13665
20b38e03
PP
136662012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13667
13668 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13669 appropriate.
13670
a0da5fe1
UD
136712012-01-08 Ulrich Drepper <drepper@gmail.com>
13672
1d5a644a 13673 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13674 * math/tst-CMPLX.c: New file.
1d5a644a 13675
8784a6db
UD
13676 * math/complex.h (CMPLXL): Fix typo.
13677
d9a216c0
UD
13678 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13679 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13680 GLIBC_2.16.
13681 * debug/tst-chk1.c: Add poll and ppoll tests.
13682 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13683 * include/sys/poll.h: Add hidden proto for ppoll.
13684 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13685 * sysdeps/mach/hurd/ppoll.c: Likewise.
13686 * io/ppoll.c: Likewise.
13687 * debug/poll_chk.c: New file.
13688 * debug/ppoll_chk.c: New file.
13689 * include/bits/poll2.h: New file.
13690 * io/bits/poll2.h: New file.
13691
ac097f5c
UD
13692 [BZ #1350]
13693 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13694
2119dcfa
UD
13695 * configure.in: static is always set to yes. Remove.
13696 * config.make.in: Don't set build-static.
13697 * Makeconfig: Remove use of build-static.
13698 * dlfcn/Makefile: Likewise.
13699 * elf/Makefile: Likewise.
13700 * math/Makefile: Likewise.
13701 * misc/Makefile: Likewise.
13702 * nptl/Makefile: Likewise.
13703 * sysdeps/mach/hurd/Makefile: Likewise.
13704
121766a9
UD
13705 * configure.in: PWD_P is not used anymore.
13706 * config.make.in: Remove PWD_P entry.
13707
51a1d39c 13708 * configure.in: Remove last remnants of RANLIB.
8720d066 13709 No need to check for signed size_t anymore.
215f4bdc
UD
13710 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13711 and IA-64.
3857022a 13712 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13713 * aclocal.m4: Likewise.
13714
d3ed7225
UD
13715 * wcsmbs/mbrtoc16.c: Implement using towc function.
13716 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13717 * wcsmbs/wcsmbsload.c: Likewise.
13718 * iconv/gconv_simple.c: Likewise.
13719 * iconv/gconv_int.h: Likewise.
13720 * iconv/gconv_builtin.h: Likewise.
13721 * iconv/iconv_prog.c: Remove CHAR16 handling.
13722
13723 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13724
13725 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13726
a0da5fe1
UD
13727 * configure.in: Remove --with-elf and --enable-bounded options.
13728 Dont set base_machine for ia64. More non-ELF conditions removed.
13729 Remove testing and setting of leading underscore information.
13730 * config.make.in (build-bounded): Set to no.
13731 * config.h.in: Remove NO_UNDERSCORES entry.
13732 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13733 them.
13734 * csu/start.c: Remove !NO_UNDERSCORE code.
13735 * locale/localeinfo.h: Likewise.
13736 * sysdeps/generic/machine-gmon.h: Likewise.
13737 * sysdeps/generic/sysdep.h: Likewise.
13738 * sysdeps/i386/sysdep.h: Likewise.
13739 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13740 * sysdeps/mach/sysdep.h: Likewise.
13741 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13742 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13743 * sysdeps/sh/sysdep.h: Likewise.
13744 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13745 * sysdeps/unix/i386/sysdep.S: Likewise.
13746 * sysdeps/unix/sparc/start.c: Likewise.
13747 * sysdeps/unix/sparc/sysdep.S: Likewise.
13748 * sysdeps/unix/sparc/sysdep.h: Likewise.
13749 * sysdeps/unix/start.c: Likewise.
13750 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13751 * sysdeps/x86_64/sysdep.h: Likewise.
13752
df78418a
UD
137532012-01-07 Ulrich Drepper <drepper@gmail.com>
13754
a784e502
UD
13755 [BZ #13553]
13756 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13757 for non-gcc.
13758 * argp/argp-fmtstream.h: Use const instead __const.
13759 * argp/argp.h: Likewise.
13760 * assert/assert.h: Likewise.
13761 * bits/fenv.h: Likewise.
13762 * bits/sched.h: Likewise.
13763 * bits/sigset.h: Likewise.
13764 * bits/sigthread.h: Likewise.
13765 * catgets/nl_types.h: Likewise.
13766 * conform/data/pthread.h-data: Likewise.
13767 * crypt/crypt-private.h: Likewise.
13768 * crypt/crypt.h: Likewise.
13769 * crypt/crypt_util.c: Likewise.
13770 * ctype/ctype.h: Likewise.
13771 * debug/execinfo.h: Likewise.
13772 * debug/mbsnrtowcs_chk.c: Likewise.
13773 * debug/mbsrtowcs_chk.c: Likewise.
13774 * debug/wcsnrtombs_chk.c: Likewise.
13775 * debug/wcsrtombs_chk.c: Likewise.
13776 * debug/wcstombs_chk.c: Likewise.
13777 * dirent/dirent.h: Likewise.
13778 * dlfcn/dlfcn.h: Likewise.
13779 * elf/neededtest4.c: Likewise.
13780 * grp/grp.h: Likewise.
13781 * gshadow/gshadow.h: Likewise.
13782 * iconv/gconv.h: Likewise.
13783 * iconv/gconv_int.h: Likewise.
13784 * iconv/gconv_simple.c: Likewise.
13785 * iconv/iconv.h: Likewise.
13786 * iconv/loop.c: Likewise.
13787 * iconv/skeleton.c: Likewise.
13788 * include/aio.h: Likewise.
13789 * include/aliases.h: Likewise.
13790 * include/argz.h: Likewise.
13791 * include/arpa/inet.h: Likewise.
13792 * include/assert.h: Likewise.
13793 * include/dirent.h: Likewise.
13794 * include/dlfcn.h: Likewise.
13795 * include/execinfo.h: Likewise.
13796 * include/fcntl.h: Likewise.
13797 * include/fenv.h: Likewise.
13798 * include/glob.h: Likewise.
13799 * include/grp.h: Likewise.
13800 * include/libintl.h: Likewise.
13801 * include/mntent.h: Likewise.
13802 * include/netdb.h: Likewise.
13803 * include/pwd.h: Likewise.
13804 * include/rpc/netdb.h: Likewise.
13805 * include/sched.h: Likewise.
13806 * include/search.h: Likewise.
13807 * include/shadow.h: Likewise.
13808 * include/signal.h: Likewise.
13809 * include/stdio.h: Likewise.
13810 * include/stdlib.h: Likewise.
13811 * include/string.h: Likewise.
13812 * include/sys/socket.h: Likewise.
13813 * include/sys/stat.h: Likewise.
13814 * include/sys/statfs.h: Likewise.
13815 * include/sys/statvfs.h: Likewise.
13816 * include/sys/syslog.h: Likewise.
13817 * include/sys/time.h: Likewise.
13818 * include/sys/uio.h: Likewise.
13819 * include/time.h: Likewise.
13820 * include/unistd.h: Likewise.
13821 * include/utmp.h: Likewise.
13822 * include/wchar.h: Likewise.
13823 * include/wctype.h: Likewise.
13824 * inet/aliases.h: Likewise.
13825 * inet/arpa/inet.h: Likewise.
13826 * inet/netinet/ether.h: Likewise.
13827 * inet/netinet/in.h: Likewise.
13828 * intl/libintl.h: Likewise.
13829 * io/bits/fcntl2.h: Likewise.
13830 * io/fcntl.h: Likewise.
13831 * io/ftw.h: Likewise.
13832 * io/sys/poll.h: Likewise.
13833 * io/sys/stat.h: Likewise.
13834 * io/sys/statfs.h: Likewise.
13835 * io/sys/statvfs.h: Likewise.
13836 * io/utime.h: Likewise.
13837 * libio/bits/stdio.h: Likewise.
13838 * libio/bits/stdio2.h: Likewise.
13839 * libio/libio.h: Likewise.
13840 * libio/libioP.h: Likewise.
13841 * libio/stdio.h: Likewise.
13842 * locale/lc-ctype.c: Likewise.
13843 * locale/locale.h: Likewise.
13844 * login/utmp.h: Likewise.
13845 * malloc/arena.c: Likewise.
13846 * malloc/malloc.c: Likewise.
13847 * malloc/malloc.h: Likewise.
13848 * malloc/mcheck.c: Likewise.
13849 * malloc/mtrace.c: Likewise.
13850 * math/bits/mathcalls.h: Likewise.
13851 * math/fenv.h: Likewise.
13852 * math/math_private.h: Likewise.
13853 * misc/bits/error.h: Likewise.
13854 * misc/bits/syslog.h: Likewise.
13855 * misc/err.h: Likewise.
13856 * misc/error.h: Likewise.
13857 * misc/fstab.h: Likewise.
13858 * misc/mntent.h: Likewise.
13859 * misc/regexp.h: Likewise.
13860 * misc/search.h: Likewise.
13861 * misc/sgtty.h: Likewise.
13862 * misc/sys/mman.h: Likewise.
13863 * misc/sys/syslog.h: Likewise.
13864 * misc/sys/uio.h: Likewise.
13865 * misc/sys/xattr.h: Likewise.
13866 * misc/ttyent.h: Likewise.
13867 * nis/rpcsvc/ypclnt.h: Likewise.
13868 * nss/nss.h: Likewise.
13869 * posix/bits/unistd.h: Likewise.
13870 * posix/fnmatch.h: Likewise.
13871 * posix/glob.h: Likewise.
13872 * posix/sched.h: Likewise.
13873 * posix/spawn.h: Likewise.
13874 * posix/sys/wait.h: Likewise.
13875 * posix/unistd.h: Likewise.
13876 * posix/wordexp.h: Likewise.
13877 * pwd/pwd.h: Likewise.
13878 * resolv/netdb.h: Likewise.
13879 * resource/sys/resource.h: Likewise.
13880 * rt/aio.h: Likewise.
13881 * rt/bits/mqueue2.h: Likewise.
13882 * rt/mqueue.h: Likewise.
13883 * shadow/shadow.h: Likewise.
13884 * signal/signal.h: Likewise.
13885 * socket/send.c: Likewise.
13886 * socket/sendto.c: Likewise.
13887 * socket/sys/socket.h: Likewise.
13888 * stdio-common/printf.h: Likewise.
13889 * stdlib/bits/stdlib.h: Likewise.
13890 * stdlib/fmtmsg.h: Likewise.
13891 * stdlib/monetary.h: Likewise.
13892 * stdlib/stdlib.h: Likewise.
13893 * stdlib/ucontext.h: Likewise.
13894 * streams/stropts.h: Likewise.
13895 * string/argz.h: Likewise.
13896 * string/bits/string2.h: Likewise.
13897 * string/string.h: Likewise.
13898 * string/strings.h: Likewise.
13899 * sunrpc/rpc/auth.h: Likewise.
13900 * sunrpc/rpc/auth_des.h: Likewise.
13901 * sunrpc/rpc/clnt.h: Likewise.
13902 * sunrpc/rpc/netdb.h: Likewise.
13903 * sunrpc/rpc/pmap_clnt.h: Likewise.
13904 * sunrpc/rpc/xdr.h: Likewise.
13905 * sysdeps/generic/inttypes.h: Likewise.
13906 * sysdeps/generic/net/if.h: Likewise.
13907 * sysdeps/generic/sys/swap.h: Likewise.
13908 * sysdeps/gnu/net/if.h: Likewise.
13909 * sysdeps/gnu/utmpx.h: Likewise.
13910 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13911 * sysdeps/i386/i486/bits/string.h: Likewise.
13912 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13913 * sysdeps/s390/bits/string.h: Likewise.
13914 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13915 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13916 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13917 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13918 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13919 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13920 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13921 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13922 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13923 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13924 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13925 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13926 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13927 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13928 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13929 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13930 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13931 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13932 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13933 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13934 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13935 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13936 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13937 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13938 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13939 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13940 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13941 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13942 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13943 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13944 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13945 * sysvipc/sys/ipc.h: Likewise.
13946 * sysvipc/sys/msg.h: Likewise.
13947 * sysvipc/sys/sem.h: Likewise.
13948 * sysvipc/sys/shm.h: Likewise.
13949 * termios/termios.h: Likewise.
13950 * time/sys/time.h: Likewise.
13951 * time/time.h: Likewise.
13952 * wcsmbs/bits/wchar2.h: Likewise.
13953 * wcsmbs/uchar.h: Likewise.
13954 * wcsmbs/wchar.h: Likewise.
13955 * wctype/wctype.h: Likewise.
13956
0269750c
UD
13957 [BZ #13551]
13958 * Makeconfig: Remove all but ELF support including AIX support.
13959 * Makerules: Likewise.
13960 * config.h.in: Likewise.
13961 * config.make.in: Likewise.
13962 * configure: Likewise.
13963 * configure.in: Likewise.
13964 * csu/Makefile: Likewise.
13965 * csu/version.c: Likewise.
13966 * debug/Makefile: Likewise.
13967 * dlfcn/Makefile: Likewise.
13968 * elf/Makefile: Likewise.
13969 * extra-lib.mk: Likewise.
13970 * iconv/Makefile: Likewise.
13971 * include/libc-symbols.h: Likewise.
13972 * include/shlib-compat.h: Likewise.
13973 * resolv/Makefile: Likewise.
13974 * resolv/res_libc.c: Likewise.
13975 * rt/Makefile: Likewise.
13976 * sysdeps/i386/asm-syntax.h: Likewise.
13977 * sysdeps/i386/sysdep.h: Likewise.
13978 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13979 * sysdeps/mach/sysdep.h: Likewise.
13980 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13981 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13982 * sysdeps/s390/asm-syntax.h: Likewise.
13983 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13984 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13985 * sysdeps/sh/sysdep.h: Likewise.
13986 * sysdeps/unix/sparc/sysdep.h: Likewise.
13987 * sysdeps/wordsize-32/divdi3.c: Likewise.
13988 * sysdeps/x86_64/sysdep.h: Likewise.
13989
00bbd29b
UD
13990 * argp/Versions: Remove _argp_unlock_xxx.
13991
13992 [BZ #13559]
13993 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13994 * abilist/libBrokenLocale.abilist: Likewise.
13995 * abilist/libanl.abilist: Likewise.
13996 * abilist/libc.abilist: Likewise.
13997 * abilist/libcrypt.abilist: Likewise.
13998 * abilist/libdl.abilist: Likewise.
13999 * abilist/libm.abilist: Likewise.
14000 * abilist/libnsl.abilist: Likewise.
14001 * abilist/libpthread.abilist: Likewise.
14002 * abilist/libresolv.abilist: Likewise.
14003 * abilist/librt.abilist: Likewise.
14004 * abilist/libthread_db.abilist: Likewise.
14005 * abilist/libutil.abilist: Likewise.
14006 * abilist/libnss_db.abilist: New file.
14007
14008 * scripts/abilist.awk: Add support for indirect functions.
14009
a2693a0e
UD
14010 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14011
3f05895f
UD
14012 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14013
ecb6fb48
UD
14014 * shlib-versions: Remove entries for ports architectures.
14015
664f8cb9
UD
14016 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14017 files in ports.
14018 * elf/stackguard-macros.h: Remove support for IA-64.
14019 * elf/tst-auditmod1.c: Likewise.
14020 * sysdeps/generic/ldsodefs.h: Likewise.
14021
7ae81d88
UD
14022 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14023 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14024 configure files.
14025
bdeba135
UD
14026 [BZ #13552]
14027 * configure.in: Remove --enable-omitfp support.
14028 * FAQ.in: Adjust.
14029 * config.make.in: Likewise.
14030 * Makeconfig: Likewise.
14031 * manual/install.texi: Likewise.
14032
d75a0a62
UD
14033 In case anyone cares, the IA-64 architecture could move to ports.
14034 * sysdeps/ia64/*: Removed.
14035 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 14036 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 14037
dcc9756b
UD
14038 [BZ #13555]
14039 * configure.in: Remove entries for unsupported architectures.
14040
d3761ebc 14041 [BZ #13533]
9954432e
UD
14042 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14043 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14044 routines.
14045 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14046 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14047 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14048 fall back to using wcrtomb.
14049 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14050 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14051 renaming.
14052 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14053 * wcsmbs/tst-c16c32-1.c: New file.
14054
14055 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14056 local variable.
14057
c3a87236
UD
14058 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14059
28926a1b
UD
14060 * elf/tst-unique3.cc: Add explicit declaration of gets.
14061 * elf/tst-unique3lib.cc: Likewise.
14062 * elf/tst-unique3lib2.cc: Likewise.
14063 * elf/tst-unique4.cc: Likewise.
14064
df78418a
UD
14065 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14066
8ecd6b2a
JM
140672012-01-06 Joseph Myers <joseph@codesourcery.com>
14068
14069 [BZ #13566]
14070 * assert/assert.h (static_assert): Don't define for C++.
14071 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14072 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14073
9f115170
UD
140742012-01-03 Ulrich Drepper <drepper@gmail.com>
14075
5e0d0300
UD
14076 * iconv/loop.c (single loop): Fix assertion in storing of
14077 remaining bytes.
14078
9f115170
UD
14079 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14080
81fb02b0
UD
140812012-01-01 Ulrich Drepper <drepper@gmail.com>
14082
14083 * posix/getconf.c: Update copyright year.
14084 * nss/getent.c: Likewise.
a316c1f6 14085 * nss/makedb.c: Likewise.
81fb02b0
UD
14086 * iconv/iconvconfig.c: Likewise.
14087 * iconv/iconv_prog.c: Likewise.
14088 * elf/ldconfig.c: Likewise.
a316c1f6
UD
14089 * elf/pldd.c: Likewise.
14090 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
14091 * catgets/gencat.c: Likewise.
14092 * csu/version.c: Likewise.
14093 * elf/ldd.bash.in: Likewise.
14094 * elf/sprof.c (print_version): Likewise.
14095 * locale/programs/locale.c: Likewise.
14096 * locale/programs/localedef.c: Likewise.
a316c1f6 14097 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
14098 * nscd/nscd.c (print_version): Likewise.
14099 * debug/xtrace.sh: Likewise.
14100 * malloc/memusage.sh: Likewise.
14101 * malloc/mtrace.pl: Likewise.
14102 * debug/catchsegv.sh: Likewise.
14103
2ba92745
JJ
141042011-12-30 Jakub Jelinek <jakub@redhat.com>
14105
14106 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14107 pure attribute.
14108
dadebdae
UD
141092011-12-24 Ulrich Drepper <drepper@gmail.com>
14110
d3761ebc 14111 [BZ #13533]
db6af3eb
UD
14112 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14113 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14114 transformations.
14115 * iconv/gconv_int.h: Likewise.
14116 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14117 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14118 from libc for GLIBC_2.16.
14119 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14120 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14121 * wcsmbs/uchar.h: Really define mbstate_t.
14122 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14123 * wcsmbs/c16rtomb.c: New file.
14124 * wcsmbs/mbrtoc16.c: New file.
14125 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14126 for C/POSIX locale.
14127 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14128 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14129
dadebdae
UD
14130 * wcsmbs/wchar.h: Add missing __restrict.
14131
67371b56
UD
141322011-12-23 Ulrich Drepper <drepper@gmail.com>
14133
74033a25
UD
14134 [BZ #13532]
14135 * time/Makefile (routines): Add timespec_get.
14136 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14137 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14138 timespec for ISO C11.
14139 * time/timespec_get.c: New file.
14140 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14141 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14142
380d7e87
UD
14143 [BZ #13531]
14144 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14145 * stdlib/stdlib.h: Declare aligned_alloc.
14146 * Versions.def: Add GLIBC_2.16 for libc.
14147 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14148
4e9e7a35
UD
14149 [BZ 13527]
14150 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14151 ISO C11.
14152
380d7e87 14153 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
14154 code.
14155
03a71829
UD
14156 [BZ #13528]
14157 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14158
839e283e
UD
14159 [BZ #13529]
14160 * assert/assert.h (static_assert): Define.
14161
ce5294e2 14162 * version.h: Update for 2.16 development version.
90fa7312 14163
8d44e150 14164 [BZ #13526]
d7809905
UD
14165 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14166 _ISOC11_SOURCE.
14167
c0da14cd
UD
14168 * version.h (RELEASE): Bump for 2.15 release.
14169 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14170
530a3249
MP
14171 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14172 Patch by Marek Polacek <mpolacek@redhat.com>.
14173
67371b56
UD
14174 * bits/byteswap.h: Protect long long constants with __extension__.
14175 * sysdeps/i386/bits/byteswap.h: Likewise.
14176 * sysdeps/ia64/bits/byteswap.h: Likewise.
14177 * sysdeps/s390/bits/byteswap.h: Likewise.
14178 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14179
15db4de1
LD
141802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14181
14182 [BZ #13540]
bbe315ea
LD
14183 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14184 destination buffer.
15db4de1
LD
14185 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14186
2b2596b1
MP
141872011-12-23 Marek Polacek <polacek@redhat.com>
14188
14189 * elf/dl-addr.c (determine_info): Add inline keyword.
14190 * elf/tst-auditmod4b.c (check_avx): Likewise.
14191 * elf/tst-auditmod6b.c (check_avx): Likewise.
14192 * elf/tst-auditmod6c.c (check_avx): Likewise.
14193 * elf/tst-auditmod7b.c (check_avx): Likewise.
14194
70c6c246
UD
141952011-12-23 Ulrich Drepper <drepper@gmail.com>
14196
14197 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14198 !__SSE_MATH__.
14199
c044cf14
LD
142002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14201
15db4de1 14202 [BZ #13540]
c044cf14
LD
14203 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14204 processing for last bytes.
14205
6b13d9d9
BH
142062011-08-06 Bruno Haible <bruno@clisp.org>
14207
d455f537
BH
14208 [BZ #13061]
14209 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14210 U+0385, not to U+1FEE.
14211
6b13d9d9
BH
14212 [BZ #13062]
14213 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14214 entry for U+00A5 U+0301.
14215
db910efd
UD
142162011-12-22 Ulrich Drepper <drepper@gmail.com>
14217
27deeafc
UD
14218 [BZ #13166]
14219 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14220 buffer for the output is too small.
14221
aed9d171
UD
14222 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14223 optimization.
14224
db910efd
UD
14225 [BZ #13185]
14226 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14227 SSE flags if possible.
14228
2bd779ae
LD
142292011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14230
e7f9dac3 14231 [BZ #13540]
2bd779ae
LD
14232 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14233 processing for last bytes.
14234
154bfc16
JM
142352011-12-22 Joseph Myers <joseph@codesourcery.com>
14236
14237 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14238 (syscall-list-default-options, syscall-list-default-condition)
14239 (syscall-list-includes): Define.
14240 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14241 list of ABIs and options and #if conditions for each ABI. Do not
14242 handle common syscalls between ABIs specially.
14243 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14244 Remove.
14245 (syscall-list-variants, syscall-list-32bit-options)
14246 (syscall-list-32bit-condition, syscall-list-64bit-options)
14247 (syscall-list-64bit-condition): Define.
14248 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14249 (syscall-list-variants, syscall-list-32bit-options)
14250 (syscall-list-32bit-condition, syscall-list-64bit-options)
14251 (syscall-list-64bit-condition): Define.
14252 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14253 Remove.
14254 (syscall-list-variants, syscall-list-32bit-options)
14255 (syscall-list-32bit-condition, syscall-list-64bit-options)
14256 (syscall-list-64bit-condition): Define.
14257 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14258 Remove.
14259 (syscall-list-variants, syscall-list-32bit-options)
14260 (syscall-list-32bit-condition, syscall-list-64bit-options)
14261 (syscall-list-64bit-condition): Define.
14262
21eaf3a5
UD
142632011-12-22 Ulrich Drepper <drepper@gmail.com>
14264
16c6f992
UD
14265 * locale/iso-639.def: Add brx entry.
14266
41043168
UD
14267 [BZ #13328]
14268 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14269 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14270
21eaf3a5
UD
14271 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14272 __feraiseexcept_renamed.
14273
e3a851a2
UD
142742011-12-21 Ulrich Drepper <drepper@gmail.com>
14275
4920765e
UD
14276 [BZ #13538]
14277 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14278 EPOLLET with unsigned values.
14279 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14280 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14281
e3a851a2
UD
14282 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14283 to large cancellation.
14284 * math/s_cacoshf.c: Likewise.
14285 * math/s_cacoshl.c: Likewise.
14286
b27e24b8
RK
142872011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14288
14289 [BZ #13305]
aebefeee 14290 [BZ #12786]
b27e24b8
RK
14291 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14292 * math/s_cacoshf.c: Likewise.
14293 * math/s_cacoshl.c: Likewise.
14294
ee190f67
UD
142952011-12-21 Ulrich Drepper <drepper@gmail.com>
14296
14297 [BZ #13439]
14298 * iconv/gconv.h: Define __GCONV_SWAP.
14299 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14300 * iconvdata/utf-16.c: Likewise.
14301 * iconvdata/utf-32.c: Likewise.
14302
707f25df
AS
143032011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14304
14305 [BZ #13524]
14306 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14307 numerator after shifting it by one limb.
14308
d2daaa1e
RÁE
143092011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14310
14311 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14312 under [__USE_EXTERN_INLINES].
14313
a4647e72
UD
143142011-12-17 Ulrich Drepper <drepper@gmail.com>
14315
14316 [BZ #13446]
14317 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14318
f0b264f1
AZ
143192011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14320
14321 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14322 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14323 optimized code.
14324 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14325 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14326 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14327 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14328 for strncasecmp/strncasecmp_l compilation.
14329 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14330 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14331
8ef4f244
MP
143322011-12-08 Marek Polacek <mpolacek@redhat.com>
14333
14334 [BZ #13484]
14335 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14336 of __asm__.
14337
97ac2654
UD
143382011-12-17 Ulrich Drepper <drepper@gmail.com>
14339
14340 [BZ #13506]
14341 * time/tzfile.c (__tzfile_read): Check values from file header.
14342
91d2a845
WS
143432011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14344
14345 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14346 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14347 * powerpc/powerpc32/dl-start.S: Likewise.
14348 * powerpc/powerpc32/elf/start.S: Likewise.
14349 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14350 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14351 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14352 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14353 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14354 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14355 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14356 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14357 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14358 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14359 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14360 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14361 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14362 * powerpc/powerpc32/memset.S: Likewise.
14363 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14364 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14365 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14366 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14367 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14368 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14369 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14370 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14371 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14372 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14373 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14374 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14375 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14376
a1267ba1
AZ
143772011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14378
14379 * math/libm-test.inc: Added more nearbyint tests.
14380 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14381 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14382 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14383 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14384
ad8ac1bd
RL
143852011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14386
14387 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14388 FD_CLOEXEC.
14389
1d3e4b61
UD
143902011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14391
14392 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14393 Add wcscpy-ssse3 wcscpy-c.
14394 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14395 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14396 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14397 * sysdeps/x86_64/wcschr.S: New file.
14398 * sysdeps/x86_64/wcsrchr.S: New file.
14399 * string/test-strcmp.c: Remove checking of wcscmp function for
14400 wrong alignments.
14401 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14402 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14403 wcsrchr-sse2 wcsrchr-c.
14404 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14405 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14406 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14407 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14408 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14409 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14410 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14411 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14412 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14413 * wcsmbc/wcschr.c (WCSCHR): New macro.
14414
5b330a2d
UD
144152011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14416
14417 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14418 * wcsmbs/test-wcsrchr.c: New file.
14419 * string/test-strrchr.c: Add wcsrchr support.
14420 (WIDE): New macro.
14421 * wcsmbs/test-wcscpy.c: New file.
14422 * string/test-strcpy.c: Add wcscpy support.
14423 (WIDE): New macro.
26428b7c 14424
f039c043
UD
144252011-12-10 Ulrich Drepper <drepper@gmail.com>
14426
14427 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14428 the inner loop.
14429
850fb039
AS
144302011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14431
14432 [BZ #13472]
14433 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14434
4efbd5cb
UD
144352011-12-04 Ulrich Drepper <drepper@gmail.com>
14436
52ff5dd0 14437 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14438 Minor optimizations.
52ff5dd0 14439
4efbd5cb
UD
14440 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14441 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14442 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14443
8a426e12
UD
144442011-12-03 Ulrich Drepper <drepper@gmail.com>
14445
aff2453d
UD
14446 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14447 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14448 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14449 for gcc to avoid warnings.
14450 * inet/Makefile (tests): Add tst-checks.
14451 * inet/tst-checks.c: New file.
14452
14453 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14454 warning.
14455
14456 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14457 __wmemcmp_sse2.
14458
14459 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14460 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14461
8a426e12
UD
14462 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14463
9bea3473
UD
144642011-12-02 Ulrich Drepper <drepper@gmail.com>
14465
3a965496
UD
14466 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14467 problem.
14468
9bea3473
UD
14469 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14470
f101631b
UD
144712011-11-29 Joseph Myers <joseph@codesourcery.com>
14472
14473 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14474 conditional on GCC version.
14475 (__arch_compare_and_exchange_val_8_acq)
14476 (__arch_compare_and_exchange_val_16_acq)
14477 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14478 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14479 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14480
a98275aa
UD
144812011-12-02 Joseph Myers <joseph@codesourcery.com>
14482
14483 * sysdeps/sh/backtrace.c: New file.
14484
d4cc29a2
AS
144852011-12-02 Andreas Schwab <schwab@redhat.com>
14486
14487 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14488 parenthesis.
14489
6257af2d
AS
144902011-12-01 Andreas Schwab <schwab@redhat.com>
14491
14492 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14493 falling back to utime.
14494
b5f44c1a
AS
144952011-11-30 Andreas Schwab <schwab@redhat.com>
14496
14497 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14498 expectations for float.
14499
f3a6cc0a
AS
145002011-11-29 Andreas Schwab <schwab@redhat.com>
14501
14502 * locale/weight.h (findidx): Add parameter len.
14503 * locale/weightwc.h (findidx): Likewise.
14504 * posix/fnmatch_loop.c (FCT): Adjust caller.
14505 * posix/regcomp.c (build_equiv_class): Likewise.
14506 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14507 * posix/regexec.c (check_node_accept_bytes): Likewise.
14508 * string/strcoll_l.c (STRCOLL): Likewise.
14509 * string/strxfrm_l.c (STRXFRM): Likewise.
14510
9d65ea3a
UD
145112011-11-17 Ulrich Drepper <drepper@gmail.com>
14512
14513 * Makefile.in: Remove CVSOPT handling.
14514 * configure.in: Remove use of AC_REVISION.
14515 * iconvdata/Makefile (distribute): No need to filter out CVS.
14516 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14517 handling.
14518
5583a086
AS
145192011-11-16 Andreas Schwab <schwab@redhat.com>
14520
14521 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14522 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14523 [USE_AS_STRNCASECMP_L]: Likewise.
14524 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14525 NO_TLS_DIRECT_SEG_REFS.
14526 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14527 Fix argument offsets for non-PIC.
14528 [USE_AS_STRNCASECMP_L]: Likewise.
14529 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14530 NO_TLS_DIRECT_SEG_REFS.
14531
d62a8200
UD
145322011-11-15 Ulrich Drepper <drepper@gmail.com>
14533
9d65ea3a 14534 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14535 O_CLOEXEC.
14536 * locale/loadlocale.c (_nl_load_locale): Likewise.
14537
09f93bd3
AS
145382011-11-15 Andreas Schwab <schwab@redhat.com>
14539
446514f9
AS
14540 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14541 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14542 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14543 (SYSCALL_GETTIME): Set errno on error.
14544
09f93bd3
AS
14545 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14546 count references to noai6ai_cached.
14547
312be3f9
UD
145482011-11-15 Ulrich Drepper <drepper@gmail.com>
14549
14550 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14551
14552 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14553 FD_CLOEXEC for /proc/self/maps.
14554
14555 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14556 FD_CLOEXEC for /proc/meminfo.
14557
14558 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14559 gai.conf.
14560
14561 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14562 FD_CLOEXEC for given file.
14563
14564 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14565
14566 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14567 FD_CLOEXEC for /etc/hosts.
14568 (_gethtent): Likewise.
14569
14570 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14571
14572 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14573 cancellation and set FD_CLOEXEC for /etc/netgroup.
14574
14575 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14576 reading /etc/publickey.
14577
14578 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14579 allow cancellation when reading /etc/group.
14580
14581 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14582 cancellation.
14583 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14584
14585 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14586 when using data file.
14587
14588 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14589
14590 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14591 (write_nis_obj): Use "c" and "e" in fopen.
14592
14593 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14594
14595 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14596
14597 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14598
14599 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14600
14601 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14602 locale.alias.
14603
14604 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14605
14606 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14607
14608 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14609
14610 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14611 file parsing and set FD_CLOEXEC.
14612
82af0fa8
UD
146132011-11-14 Ulrich Drepper <drepper@gmail.com>
14614
14615 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14616
a5fb313c
AS
146172011-11-14 Andreas Schwab <schwab@redhat.com>
14618
14619 * malloc/arena.c (arena_get2): Don't call reused_arena when
14620 _int_new_arena failed.
14621
6abf3465
UD
146222011-11-14 Ulrich Drepper <drepper@gmail.com>
14623
14624 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14625 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14626 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14627 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14628 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14629 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14630 to compile strcasecmp and strncasecmp.
14631 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14632 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14633
14634 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14635
76e3966e
UD
146362011-11-13 Ulrich Drepper <drepper@gmail.com>
14637
14638 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14639 locale-defines.sym to gen-as-const-headers.
14640 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14641 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14642 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14643 to compile strcasecmp and strncasecmp.
14644 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14645 strcasecmp_l and strncasecmp_l.
14646 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14647 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14648 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14649 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14650 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14651 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14652 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14653 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14654 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14655 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14656 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14657
ab26144e
UD
146582011-11-12 Ulrich Drepper <drepper@gmail.com>
14659
7edb22ef
UD
14660 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14661 result of SYSDEP_GETTIME_CPU to retval.
14662 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14663 parameter list to macro. Remove trailing semicolon. Adjust users.
14664
9694fc44
UD
14665 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14666 variable.
14667
8ad89ef8
UD
14668 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14669 mantissa words.
14670 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14671
0c822ef9
UD
14672 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14673 from unused variable.
14674
874e0564
UD
14675 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14676 DWARF definitions.
14677 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14678 for assembling.
14679
3a2edc79
UD
14680 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14681 over namespaces.
14682
f3c2577f
UD
14683 * sunrpc/rpc_prot.c (rejected): Fix case value.
14684
294ce126
UD
14685 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14686 unsigned long long int to avoid warnings in shift.
14687
5e2b63c6
UD
14688 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14689 of use of trans.
14690 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14691 variable tmp.
14692
e7f4b08e
UD
14693 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14694 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14695 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14696
ab26144e
UD
14697 * nis/nis_table.c (nis_list): Use variable of correct type for
14698 result of __follow_path call.
14699
8a6d5255
AZ
147002011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14701
14702 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14703 of math functions ceil, trunc, floor, round, and sqrt, when
14704 avaliable on the platform.
14705 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14706 name clash.
14707 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14708 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14709 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14710
aaddc98c
MP
147112011-10-30 Marek Polacek <mpolacek@redhat.com>
14712
14713 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14714 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14715
95b7042b
RM
147162011-11-11 Roland McGrath <roland@hack.frob.com>
14717
14718 * include/unistd.h: Fix __readlink return type.
14719 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14720
57769839
UD
147212011-11-11 Ulrich Drepper <drepper@gmail.com>
14722
14723 * stdlib/ucontext.h: Undo last change for makecontext.
14724
edc5984d
AS
147252011-11-11 Andreas Schwab <schwab@redhat.com>
14726
98591e58
AS
14727 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14728
edc5984d
AS
14729 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14730 * setjmp/setjmp.h: Mark functions as non-leaf.
14731 * setjmp/bits/setjmp2.h: Likewise.
14732 * stdlib/ucontext.h: Likewise.
14733
77cdc054
AS
147342011-11-10 Andreas Schwab <schwab@redhat.com>
14735
14736 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14737 (reused_arena): Don't check arena limit.
14738 (arena_get2): Atomically check arena limit.
14739
fe72eebd
UD
147402011-11-08 Ulrich Drepper <drepper@gmail.com>
14741
5f078c32
UD
14742 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14743 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14744
fe72eebd
UD
14745 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14746 instructions.
14747
ae1bc2fa
AS
147482011-11-07 Andreas Schwab <schwab@redhat.com>
14749
7583a88d
AS
14750 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14751 handler when locking.
14752
ae1bc2fa
AS
14753 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14754 Fix size of allocated buffer.
14755
10fb0bfa
AS
147562011-11-04 Andreas Schwab <schwab@redhat.com>
14757
998832a4
AS
14758 [BZ #10103]
14759 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14760 declarations for long double functions.
14761 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14762
10fb0bfa
AS
14763 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14764
3d7ba52b
AS
147652011-11-03 Andreas Schwab <schwab@redhat.com>
14766
a9ae54a1
AS
14767 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14768 installed.
14769
3d7ba52b
AS
14770 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14771 is disabled.
14772
bc8db248
ST
147732011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14774
14775 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14776
45b96dd6
AS
147772011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14778
647776f6
AS
14779 * include/alloca.h (stackinfo_alloca_round): Define.
14780 (extend_alloca): Use it.
14781 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14782 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14783 here.
14784
d91a8b93
AS
14785 * scripts/check-local-headers.sh: Ignore libaudit.h.
14786
45b96dd6
AS
14787 * nscd/Makefile (extra-objs): Make recursively expanded.
14788
432d41ce
UD
147892011-11-01 Ulrich Drepper <drepper@gmail.com>
14790
34372fc6
UD
14791 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14792 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14793
fadb59f8
UD
14794 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14795 * posix/tst-rfc3484-2.c: Likewise.
14796 * posix/tst-rfc3484-3.c: Likewise.
14797
78239589
UD
14798 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14799 process_vm_writev.
14800 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14801 process_vm_writev.
14802 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14803 process_vm_writev from libc using GLIBC_2.15 version.
14804
432d41ce
UD
14805 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14806
02f9c6cf
PP
148072011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14808
14809 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14810 stack usage.
14811
3a2c0242
UD
148122011-10-31 Ulrich Drepper <drepper@gmail.com>
14813
f4ec4833
UD
14814 [BZ #13367]
14815 * nss/getent.c (initgroups_keys): Show error message in case no group
14816 names are given.
14817
3a2c0242
UD
14818 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14819 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14820 __bump_nl_timestamp.
14821 * nscd/connections (nscd_init): When host database is served open
14822 netlink socket and request notification about configuration changes.
14823 (main_loop_poll): Track netlink file descriptor and bump timestamp
14824 in case data becomes available.
14825 (main_loop_epoll): Likewise.
14826 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14827 (database_pers_head): Add extra_data fileds.
14828 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14829 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14830 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14831 Adjust caller.
14832 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14833 in6ai data, call __free_in6ai.
14834 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14835 Add -DHAVE_NETLINK.
14836 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14837 interface information. Reuse previous data if netlink timestamp
14838 is not changed.
14839 (__bump_nl_timestamp): New function.
14840 (__free_in6ai): New function.
14841
636064eb
UD
148422011-10-30 Ulrich Drepper <drepper@gmail.com>
14843
14844 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14845 close_not_cancel_no_status here.
14846 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14847
9beb2334
UD
148482011-10-29 Ulrich Drepper <drepper@gmail.com>
14849
6ef76f3b
UD
14850 [BZ #13276]
14851 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14852 return value.
14853
0ffc4f3e 14854 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14855 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14856 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14857
cb95113e
UD
148582011-07-03 Andreas Jaeger <aj@suse.de>
14859
14860 [BZ #10709]
14861 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14862 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14863 * math/libm-test.inc (sin_test): Add test case.
14864
a1b560ff
UD
148652011-10-29 Ulrich Drepper <drepper@gmail.com>
14866
c9aaface
UD
14867 [BZ #13337]
14868 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14869 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14870
d272e7f1
UD
14871 * elf/chroot_canon.c (chroot_canon): Cleanups.
14872
1bc33071
UD
14873 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14874
1760874d
TJ
14875 [BZ #13335]
14876 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14877 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14878
51d91b18
UD
14879 * string/test-strchr.c: Make usable for strchrnul testing.
14880 * string/test-strchrnul.c: New file.
14881 * string/Makefile (strop-tests): Add strchrnul.
14882
a1b560ff 14883 * po/it.po: Update from translation team.
b611fb81 14884 * po/es.po: Likewise.
a1b560ff 14885
a5b81e1f
UD
148862011-10-28 Ulrich Drepper <drepper@gmail.com>
14887
fd52bc6d
UD
14888 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14889 the three constants needed as parameters. Drop the others.
14890 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14891 __m128i_strloadu_tolower.
52e4b9eb
UD
14892 Create and initialize variable zero and use it in all the places
14893 where _mm_setzero_si128 was used.
fd52bc6d 14894
a5b81e1f
UD
14895 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14896 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14897 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14898 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14899 anymore.
14900 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14901 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14902 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14903 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14904 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14905 __mpranred, __mptan.
14906 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14907 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14908 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14909 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14910 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14911 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14912 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14913 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14914 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14915
b4343346
AS
149162011-10-28 Andreas Schwab <schwab@redhat.com>
14917
0c92d8a8
AS
14918 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14919 redefine if SHARED.
14920 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14921
b4343346
AS
14922 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14923 wide char related routines to wcsmbs subdir.
14924
3871f58f
AS
149252011-10-27 Andreas Schwab <schwab@redhat.com>
14926
14927 [BZ #13344]
14928 * misc/sys/cdefs.h (__THROWNL): Define.
14929 * posix/unistd.h: Use __THREADNL instead of __THREAD
14930 for memory synchronization functions.
14931
94d44d9f
RM
149322011-10-26 Roland McGrath <roland@hack.frob.com>
14933
21b64b15 14934 [BZ #13349]
94d44d9f
RM
14935 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14936 doesn't exist.
14937 * manual/stdio.texi (Obstack Streams): Node removed.
14938
f6ce9294
AS
149392011-10-26 Andreas Schwab <schwab@redhat.com>
14940
80479147
AS
14941 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14942 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14943 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14944
f6ce9294
AS
14945 * math/math_private.h (math_force_eval): Allow non-addressable
14946 arguments.
14947 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14948
618280a1
UD
149492011-10-25 Ulrich Drepper <drepper@gmail.com>
14950
e0016b11
UD
14951 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14952 file is not needed.
14953
14954 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14956 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14957 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14958 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14959 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14960 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14961 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14962 Add AVX variants.
14963 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14964 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14965 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14966 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14967 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14968 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14969 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14970 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14971 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14972 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14973 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14974 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14975 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14976 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14977 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14978 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14979 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14980 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14981 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14982
14983 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14984 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14985
618280a1
UD
14986 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14987 place. Use VEX encoding when compiling for AVX.
14988
37822576
AS
149892011-10-25 Andreas Schwab <schwab@redhat.com>
14990
1f1e1947
AS
14991 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14992 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14993
37822576
AS
14994 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14995
31ea014d
UD
149962011-10-25 Ulrich Drepper <drepper@gmail.com>
14997
d7826aa1 14998 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14999 useless if() expression.
d7826aa1
UD
15000 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15001 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15002 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15003 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15004 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15005 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15006 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15007 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15008 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15009 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15010 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15011 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15012 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15013 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15014 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15015 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15016 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15017 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15018 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15019
31ea014d
UD
15020 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15021
16437fec
AS
150222011-10-25 Andreas Schwab <schwab@redhat.com>
15023
15024 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15025 condition.
15026 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15027
31d3cc00
UD
150282011-10-25 Ulrich Drepper <drepper@gmail.com>
15029
15030 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15031 .text section. Avoid duplicate constants.
15032 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15033 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15034 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15035 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15036 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15037 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15038 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15039 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15040 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15041 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15042 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15043 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15044 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15045 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15046 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15047 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15048 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15049 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15050 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15051 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15052 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15053 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15054 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15055 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15056 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15057 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15058 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15059 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15060 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15061 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15062 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15063 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15064 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15065 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15066 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15067 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15068 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15069 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15070 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15071 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15072 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15073 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15074 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15075 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15076 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15077
58985aa9
UD
150782011-10-24 Ulrich Drepper <drepper@gmail.com>
15079
202c9deb
UD
15080 * sysdeps/x86_64/dla.h: Move to ...
15081 * sysdeps/x86_64/fpu/dla.h: ...here.
15082 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15083 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 15084
af968f62
UD
15085 * config.make.in: Add have-mfma4 entry.
15086 * configure.in: Substitute libc_cv_cc_fma4.
15087 * math/Makefile (dbl-only-routines): Add sincostab.
15088 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15089 Use __sincostab not sincos.
15090 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15091 name is a macro.
15092 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15096 using __copysign.
15097 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15098 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15099 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15100 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15101 and __inv.
15102 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15103 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15104 __copysign.
15105 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15106 define aliases when function name is a macro.
15107 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15108 sysdeps/ieee754/dbl-64/sincos.tbl.
15109 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15110 fma4-enabled routines.
15111 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15112 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15113 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15114 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15115 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15116 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15117 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15118 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15119 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15120 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15121 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15122 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15123 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15124 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15125 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15126 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15127 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15128 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15129 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15130 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15131 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15132 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15133 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15134 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15135 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15136 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15137 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15138 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15139 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15140 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15141
58985aa9
UD
15142 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15143 rename.
15144 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15150 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15151 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15152
a201fbcf
AS
151532011-10-24 Andreas Schwab <schwab@redhat.com>
15154
15155 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15156
fc2ee42a
LD
151572011-10-23 Ulrich Drepper <drepper@gmail.com>
15158
bb3129bd
UD
15159 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15160
0275fff8
UD
15161 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15162 prediction.
15163 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15164
2fa2ae85
UD
15165 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15166 Remove unused variable magic_bits.
15167 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15168
fc2ee42a
LD
15169 * string/strnlen.c: Define and use STRNLEN macro.
15170 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15171 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15172 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15173 * wcsmbs/wcslen.c: Define and use WCSLEN.
15174 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15175 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15176 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15177 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15178 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15179 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15180 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15181
ce7dd29f
LD
151822011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15183
15184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15185 strnlen-sse2-no-bsf.
15186 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15187 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15188 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15189 Add strnlen support.
15190 (USE_AS_STRNLEN): New macro.
15191 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15192 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15193 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15194 * sysdeps/x86_64/wcslen.S: New file.
15195
979c70a3
MZ
151962011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15197
15198 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15199 XMM-moves are used for copying on small sizes.
15200
2d09f82f
LD
152012011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15202
15203 * wcsmbs/Makefile (strop-tests): Add wcschr.
15204 * wcsmbs/test-wcschr.c: New file.
15205 * string/test-strchr.c: Update.
15206 Add wcschr support.
15207 (WIDE): New macro.
15208
619fccca
LD
152092011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15210
2d09f82f 15211 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
15212 * wcsmbs/test-wcslen.c: New file.
15213 * string/test-strlen.c: Update.
15214 Add wcslen support.
15215 (WIDE): New macro.
15216
09f699ea
UD
152172011-10-23 Ulrich Drepper <drepper@gmail.com>
15218
15219 * po/it.po: Update from translation team.
15220
95584d3b
LD
152212011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15222
15223 * sysdeps/x86_64/wcscmp.S: Update.
15224 Fix wrong comparison semantics.
15225 wcscmp shall use signed comparison not unsigned.
15226 Don't use substraction to avoid overflow bug.
15227 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15228 * wcsmbc/wcscmp.c: Likewise.
15229 * string/test-strcmp.c: Likewise.
15230 Add new tests to check cases with negative values.
15231
c8b3296b
UD
152322011-10-23 Ulrich Drepper <drepper@gmail.com>
15233
15234 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15235 * sysdeps/x86_64/dla.h: ...here. New file.
15236 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15237 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15239 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15240 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15241 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15242 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15243 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15244 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15245
246ad57a
AS
152462011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15247
15248 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15249 __ynl_finite aliases.
15250
a1a87169
UD
152512011-10-22 Ulrich Drepper <drepper@gmail.com>
15252
0d355eb7
UD
15253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15254
a1a87169
UD
15255 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15256 define DLA_FMA.
15257 [DLA_FMA] (EMULV): Use DLA_FMA.
15258 [DLA_FMA] (MUL12): Use EMULV.
15259 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15260 that are not needed.
15261 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15262 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15264 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15265 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15266 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15267 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15268
ee2aafe0
AS
152692011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15270
15271 * math/s_nan.c: Undef __nan.
15272 * math/s_nanf.c: Undef __nanf.
15273 * math/s_nanl.c: Undef __nanl.
15274 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15275 "math_private.h".
15276
bc62c2fb
UD
152772011-10-22 Ulrich Drepper <drepper@gmail.com>
15278
77425c63
UD
15279 * math/s_catan.c: Add branch predictions.
15280 * math/s_catanf.c: Likewise.
15281 * math/s_catanh.c: Likewise.
15282 * math/s_catanhf.c: Likewise.
15283 * math/s_catanhl.c: Likewise.
15284 * math/s_catanl.c: Likewise.
15285 * math/s_cexp.c: Likewise.
15286 * math/s_cexpf.c: Likewise.
15287 * math/s_cexpl.c: Likewise.
15288 * math/s_clog.c: Likewise.
15289 * math/s_clog10.c: Likewise.
15290 * math/s_clog10f.c: Likewise.
15291 * math/s_clog10l.c: Likewise.
15292 * math/s_clogf.c: Likewise.
15293 * math/s_clogl.c: Likewise.
15294 * math/s_csqrt.c: Likewise.
15295 * math/s_csqrtf.c: Likewise.
15296 * math/s_csqrtl.c: Likewise.
15297 * math/s_ctanf.c: Likewise.
15298 * math/s_ctanh.c: Likewise.
15299 * math/s_ctanhf.c: Likewise.
15300 * math/s_ctanhl.c: Likewise.
15301 * math/s_ctanl.c: Likewise.
15302
bc62c2fb
UD
15303 * math/math_private.h: Define __nan, __nanf, __nanl.
15304 * math/s_cacosh.c: Include <math_private.h>.
15305 * math/s_cacoshl.c: Likewise.
15306 * math/s_casinh.c: Likewise.
15307 * math/s_casinhf.c: Likewise.
15308 * math/s_casinhl.c: Likewise.
15309 * math/s_ccos.c: Rely entire on ccosh.
15310 * math/s_ccosf.c: Rely entire on ccoshf.
15311 * math/s_ccosl.c: Rely entirely on ccoshl.
15312 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15313 Remove tests for FE_INVALID.
15314 * math/s_ccoshf.c: Likewise.
15315 * math/s_ccoshl.c: Likewise.
15316 * math/s_csin.c: Likewise.
15317 * math/s_csinf.c: Likewise.
15318 * math/s_csinh.c Likewise.
15319 * math/s_csinhf.c: Likewise.
15320 * math/s_csinhl.c: Likewise.
15321 * math/s_csinl.c: Likewise.
15322 * math/s_ctan.c: Likewise.
15323 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15324 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15325 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15326
8ec250a4
UD
153272011-10-21 Ulrich Drepper <drepper@gmail.com>
15328
c196fed8
UD
15329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15330 compilation problems.
15331
8ec250a4
UD
15332 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15333 __builtin_expect.
15334
8d4f46c6
UD
153352011-10-20 Ulrich Drepper <drepper@gmail.com>
15336
ed72b654
UD
15337 * sysdeps/i386/configure.in: Test for -mfma4 option.
15338 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15339 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15340 COMMON_CPUID_INDEX_80000001.
15341 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15342 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15343 use it if FMA3 is not supported.
15344 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15345
8d4f46c6
UD
15346 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15347 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15348
d45c60c2
AS
153492011-10-20 Andreas Schwab <schwab@redhat.com>
15350
15351 [BZ #12892]
15352 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15353 it would create a cycle with a link time dependency.
15354
d9a4d2ab
UD
153552011-10-19 Ulrich Drepper <drepper@gmail.com>
15356
855d1560
UD
15357 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15358 instruction.
15359 * string/Makefile (strop-tests): Add rawmemchr.
15360 * string/test-rawmemchr.c: New file.
15361
d9a4d2ab
UD
15362 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15363 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15364 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15365 when compiling str{,n}casecmp and when AVX is available. Hook up
15366 new optimized code in initializers.
15367
8f3b1ffe
AS
153682011-10-19 Andreas Schwab <schwab@redhat.com>
15369
15370 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15371 __feraiseexcept instead of feraiseexcept.
15372
d38f1dba
UD
153732011-10-18 Ulrich Drepper <drepper@gmail.com>
15374
d9a8d0ab
UD
15375 * math/math_private.h: Define defaults for libc_fetestexcept and
15376 libc_feupdateenv.
15377 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15378 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15379 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15380 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15381 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15382 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15383 libc_fetestexcept and libc_feupdateenv.
15384
4855e3dd
UD
15385 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15386 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15387 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15388 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15389 libc_feholdexcept_setround.
15390
581d30e3
UD
15391 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15392 Add s_nearbyint-c and s_nearbyintf-c.
15393 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15394 nearbyintf inlines.
15395 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15396 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15397 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15398 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15399
d38f1dba
UD
15400 * math/math_private.h: Define defaults for libc_fegetround,
15401 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15402 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15403 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15404 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15405 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15406 standard functions.
15407 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15408 Remove comments and hacks for old compiler versions.
15409 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15410 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15411 libc_feholdexceptl.
15412
caa6c9d8
AS
154132011-10-18 Andreas Schwab <schwab@redhat.com>
15414
15415 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15416 (__feraiseexcept_renamed): Add __NTH.
15417 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15418 namespace violations.
15419
97c066e6
UD
154202011-10-17 Ulrich Drepper <drepper@gmail.com>
15421
99ce7b04
UD
15422 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15423
1004d182
UD
15424 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15425
228a984d
UD
15426 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15427 recently added interfaces.
15428 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15429
c8553a6a
UD
15430 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15431 about macro parameter expansion.
15432
ed22dcf6
UD
15433 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15434 __NO_MATH_INLINES is defined. Cleanups.
15435
15436 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15437 and __floorf is target has SSE4.1.
15438 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15439 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15440 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15441 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15442
b171c137
UD
15443 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15444 name.
15445 (floorf): Likewise.
15446
97c066e6
UD
15447 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15448
629f62ef
AS
154492011-10-17 Andreas Schwab <schwab@redhat.com>
15450
49a43d80
AS
15451 * misc/sys/cdefs.h: Fix last change.
15452
629f62ef
AS
15453 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15454 database lookup.
15455
e453f6cd
UD
154562011-10-16 Ulrich Drepper <drepper@gmail.com>
15457
aa78043a
UD
15458 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15459
ad0f5cad
UD
15460 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15461 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15462 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15463 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15464 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15465 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15466 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15467 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15468 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15469 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15470 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15471 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15472 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15473 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15474 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15475 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15476 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15477 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15478 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15479 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15480 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15481 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15482
15483 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15484 ceil, ceilf, floor, floorf.
15485
15486 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15487 Perform IRELATIVE relocations last.
15488
e453f6cd
UD
15489 * elf/do-rel.h: Add another parameter nrelative, replacing the
15490 local variable with the same name. Change name of the function
15491 to end in Rel or Rela (uppercase).
15492 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15493 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15494 elf_dynamic_do_##reloc function.
15495
fd5bdc09
UD
154962011-10-15 Ulrich Drepper <drepper@gmail.com>
15497
79b195b5
UD
15498 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15499 is sufficient, at least on modern CPUs.
15500
d4a28569
UD
15501 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15502
b61099b5
UD
15503 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15504 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15505
bcf01e6d
UD
15506 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15507 __expl_finite.
15508 * math/bits/math-finite.h: Add entries for exp.
15509 * math/e_expl.c: Add __*_finite alias.
15510 * sysdeps/i386/fpu/e_exp.S: Likewise.
15511 * sysdeps/i386/fpu/e_expf.S: Likewise.
15512 * sysdeps/i386/fpu/e_expl.c: Likewise.
15513 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15514 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15515 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15517 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15518 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15519 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15520
ba1a0d59
UD
15521 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15522 is sufficient, at least on modern CPUs.
15523
fd5bdc09
UD
15524 * ctype/ctype-info.c (__ctype_init): Define.
15525 * include/ctype.h (__ctype_init): Declare.
15526 (__ctype_b_loc): The variable is always initialized.
15527 (__ctype_toupper_loc): Likewise.
15528 (__ctype_tolower_loc): Likewise.
15529 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15530 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15531
7872cfb0
AS
155322011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15533
b468825a
AS
15534 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15535
7872cfb0
AS
15536 * configure.in: Also look in $cxxmachine/include for C++ system
15537 headers.
15538
be13f7bf
LD
155392011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15540
15541 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15542 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15543 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15544 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15545 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15546 (USE_AS_WMEMCMP): New macro.
15547 Fixing indents.
15548 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15549 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15550 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15551 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15553 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15554 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15555 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15556 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15557 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15558 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15559 (USE_AS_WMEMCMP): New macro.
15560 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15561 * sysdeps/string/test-memcmp.c: Update.
15562 Fix simple_wmemcmp.
15563 Add new tests.
15564 * wcsmbs/wmemcmp.c: Update.
15565 (WMEMCMP): New macro.
15566 Fix overflow bug.
15567
556a2007
AJ
155682011-10-12 Andreas Jaeger <aj@suse.de>
15569
15570 [BZ #13268]
15571 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15572
538faaa7
UD
155732011-10-15 Ulrich Drepper <drepper@gmail.com>
15574
ab6737ff
UD
15575 * libio/iofwide.c (do_length): Avoid warning.
15576
538faaa7
UD
15577 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15578
396a21b1
UD
155792011-10-14 Ulrich Drepper <drepper@gmail.com>
15580
cdf2901f
UD
15581 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15582
38ad40ce
UD
15583 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15584 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15585 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15586 * sysdeps/i386/i686/fpu/e_log.S: New file.
15587 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15588 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15589
396a21b1
UD
15590 * ctype/ctype.h: Add support for inlined isXXX functions when
15591 compiling C++ code.
15592
6b1f68c9
AS
155932011-10-14 Andreas Schwab <schwab@redhat.com>
15594
349290c0
AS
15595 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15596
6b1f68c9
AS
15597 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15598
f2282d42
RM
155992011-10-13 Roland McGrath <roland@hack.frob.com>
15600
15601 [BZ #13291]
15602 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15603
5298ffa8
AS
156042011-10-13 Andreas Schwab <schwab@redhat.com>
15605
714fad23
AS
15606 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15607 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15608 feraiseexcept.
15609
81dcc7fb
AS
15610 * sysdeps/x86_64/memrchr.S: Check for zero size.
15611
5298ffa8
AS
15612 * string/stratcliff.c: Add memrchr tests.
15613
951fbcec
LD
156142011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15615
15616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15617 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15618 rawmemchr-sse2 rawmemchr-sse2-bsf.
15619 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15620 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15621 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15622 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15623 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15624 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15625 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15626 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15627 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15628 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15629 * string/memrchr.c (MEMRCHR): New macro.
15630
0ac5ae23
UD
156312011-10-12 Ulrich Drepper <drepper@gmail.com>
15632
15633 Add integration with gcc's -ffinite-math-only and optimize wrapper
15634 functions in libm.
15635 * Versions.def: Define GLIBC_2.15 version for libm.
15636 * math/Makefile (headers): Add bits/math-finite.h.
15637 * math/bits/math-finite.h: New file.
15638 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15639 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15640 * math/e_acoshl.c: Add __*_finite alias.
15641 * math/e_acosl.c: Likewise.
15642 * math/e_asinl.c: Likewise.
15643 * math/e_atan2l.c: Likewise.
15644 * math/e_atanhl.c: Likewise.
15645 * math/e_coshl.c: Likewise.
15646 * math/e_exp10.c: Likewise.
15647 * math/e_exp10f.c: Likewise.
15648 * math/e_exp10l.c: Likewise.
15649 * math/e_exp2l.c: Likewise.
15650 * math/e_fmodl.c: Likewise.
15651 * math/e_gammal_r.c: Likewise.
15652 * math/e_hypotl.c: Likewise.
15653 * math/e_j0l.c: Likewise.
15654 * math/e_j1l.c: Likewise.
15655 * math/e_jnl.c: Likewise.
15656 * math/e_lgammal_r.c: Likewise.
15657 * math/e_log10l.c: Likewise.
15658 * math/e_log2l.c: Likewise.
15659 * math/e_logl.c: Likewise.
15660 * math/e_powl.c: Likewise.
15661 * math/e_sinhl.c: Likewise.
15662 * math/e_sqrtl.c: Likewise.
15663 * math/e_scalb.c: Completely rewritten and optimized.
15664 * math/e_scalbf.c: Likewise.
15665 * math/e_scalbl.c: Likewise.
15666 * math/w_acos.c: Likewise.
15667 * math/w_acosf.c: Likewise.
15668 * math/w_acosl.c: Likewise.
15669 * math/w_acosh.c: Likewise.
15670 * math/w_acoshf.c: Likewise.
15671 * math/w_acoshl.c: Likewise.
15672 * math/w_asin.c: Likewise.
15673 * math/w_asinf.c: Likewise.
15674 * math/w_asinl.c: Likewise.
15675 * math/w_atan2.c: Likewise.
15676 * math/w_atan2f.c: Likewise.
15677 * math/w_atan2l.c: Likewise.
15678 * math/w_atanh.c: Likewise.
15679 * math/w_atanhf.c: Likewise.
15680 * math/w_atanhl.c: Likewise.
15681 * math/w_exp10.c: Likewise.
15682 * math/w_exp10f.c: Likewise.
15683 * math/w_exp10l.c: Likewise.
15684 * math/w_fmod.c: Likewise.
15685 * math/w_fmodf.c: Likewise.
15686 * math/w_fmodl.c: Likewise.
15687 * math/w_j0.c: Likewise.
15688 * math/w_j0f.c: Likewise.
15689 * math/w_j0l.c: Likewise.
15690 * math/w_j1.c: Likewise.
15691 * math/w_j1f.c: Likewise.
15692 * math/w_j1l.c: Likewise.
15693 * math/w_jn.c: Likewise.
15694 * math/w_jnf.c: Likewise.
15695 * math/w_log.c: Likewise.
15696 * math/w_logf.c: Likewise.
15697 * math/w_logl.c: Likewise.
15698 * math/w_log10.c: Likewise.
15699 * math/w_log10f.c: Likewise.
15700 * math/w_log10l.c: Likewise.
15701 * math/w_log2.c: Likewise.
15702 * math/w_log2f.c: Likewise.
15703 * math/w_log2l.c: Likewise.
15704 * math/w_pow.c: Likewise.
15705 * math/w_powf.c: Likewise.
15706 * math/w_powl.c: Likewise.
15707 * math/w_remainder.c: Likewise.
15708 * math/w_remainderf.c: Likewise.
15709 * math/w_remainderl.c: Likewise.
15710 * math/w_scalb.c: Likewise.
15711 * math/w_scalbf.c: Likewise.
15712 * math/w_scalbl.c: Likewise.
15713 * math/w_sqrt.c: Likewise.
15714 * math/w_sqrtf.c: Likewise.
15715 * math/w_sqrtl.c: Likewise.
15716 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15717 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15718 used.
15719 * math/math_private.h: Declare __kernel_standard_f.
15720 * math/w_cosh.c: Remove cruft and optimize a bit.
15721 * math/w_coshf.c: Likewise.
15722 * math/w_coshl.c: Likewise.
15723 * math/w_exp2.c: Likewise.
15724 * math/w_exp2f.c: Likewise.
15725 * math/w_exp2l.c: Likewise.
15726 * math/w_hypot.c: Likewise.
15727 * math/w_hypotf.c: Likewise.
15728 * math/w_hypotl.c: Likewise.
15729 * math/w_lgamma.c: Likewise.
15730 * math/w_lgamma_r.c: Likewise.
15731 * math/w_lgammaf.c: Likewise.
15732 * math/w_lgammaf_r.c: Likewise.
15733 * math/w_lgammal.c: Likewise.
15734 * math/w_lgammal_r.c: Likewise.
15735 * math/w_sinh.c: Likewise.
15736 * math/w_sinhf.c: Likewise.
15737 * math/w_sinhl.c: Likewise.
15738 * math/w_tgamma.c: Likewise.
15739 * math/w_tgammaf.c: Likewise.
15740 * math/w_tgammal.c: Likewise.
15741 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15742 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15743 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15744 Minor optimizations. Pretty printing. Remove cruft.
15745 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15746 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15747 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15748 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15749 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15750 * sysdeps/i386/fpu/e_asin.S: Likewise.
15751 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15752 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15753 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15754 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15755 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15756 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15757 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15758 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15759 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15760 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15761 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15762 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15763 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15764 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15765 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15766 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15767 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15768 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15769 * sysdeps/i386/fpu/e_log.S: Likewise.
15770 * sysdeps/i386/fpu/e_log10.S: Likewise.
15771 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15772 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15773 * sysdeps/i386/fpu/e_log2.S: Likewise.
15774 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15775 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15776 * sysdeps/i386/fpu/e_logf.S: Likewise.
15777 * sysdeps/i386/fpu/e_logl.S: Likewise.
15778 * sysdeps/i386/fpu/e_pow.S: Likewise.
15779 * sysdeps/i386/fpu/e_powf.S: Likewise.
15780 * sysdeps/i386/fpu/e_powl.S: Likewise.
15781 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15782 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15783 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15784 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15785 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15786 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15787 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15788 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15789 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15790 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15791 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15792 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15793 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15794 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15795 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15796 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15797 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15798 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15799 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15800 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15801 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15802 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15803 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15804 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15805 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15806 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15807 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15808 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15809 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15810 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15811 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15812 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15813 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15814 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15815 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15816 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15817 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15818 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15819 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15820 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15821 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15822 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15823 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15824 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15825 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15826 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15827 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15828 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15829 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15830 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15831 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15832 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15833 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15834 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15835 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15836 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15837 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15838 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15839 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15840 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15841 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15842 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15843 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15844 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15845 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15846 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15847 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15848 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15849 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15850 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15851 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15852 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15853 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15854 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15855 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15856 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15857 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15858 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15859 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15860 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15861 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15862 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15863 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15864 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15865 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15866 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15867 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15868 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15869 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15870 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15871 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15872 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15873 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15874 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15875 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15876 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15877 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15878 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15879 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15880 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15881 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15882 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15883 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15884 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15885 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15886 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15887 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15888 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15889 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15890 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15891 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15892 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15893 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15894 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15895 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15896 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15897 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15898 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15899 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15900 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15901 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15902 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15903 (__isnanf): Likewise.
15904 (__isinf_ns): Likewise.
15905 (__isinf_nsf): Likewise.
15906 (__finite): Likewise.
15907 (__finitef): Likewise.
15908 (__ieee754_sqrt): Define as macro.
15909 (__ieee754_sqrtf): Define as macro.
15910 (__ieee754_sqrtl): Define as macro.
15911 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15912 inlined copy.
15913 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15914 __FINITE_MATH_ONLY__ consistent.
15915 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15916
12cc2fcd
AS
159172011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15918
a843a204
AS
15919 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15920 of rawmemchr.
15921
12cc2fcd
AS
15922 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15923
c853acd5
UD
159242011-10-09 Ulrich Drepper <drepper@gmail.com>
15925
15926 * po/ja.po: Update from translation team.
15927
c658d255
RM
159282011-10-08 Roland McGrath <roland@hack.frob.com>
15929
110946e4
RM
15930 * locale/programs/locarchive.c (prepare_address_space): New function.
15931 (create_archive, enlarge_archive, open_archive): Use it.
15932
50604220
RM
15933 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15934 inside [SHARED], where it is used.
15935
c658d255
RM
15936 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15937
15938 * nss/getent.c (netgroup_keys): Remove unused variable.
15939 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15940
6a621eb7
UD
159412011-10-08 Ulrich Drepper <drepper@gmail.com>
15942
7edb55ce
UD
15943 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15944 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15945 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15946 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15947 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15948 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15949 * math/Makefile (libm-calls): Add s_isinf_ns.
15950 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15951 * math/multc3.c: Likewise.
15952 * math/s_casin.c: Likewise.
15953 * math/s_casinf.c: Likewise.
15954 * math/s_casinl.c: Likewise.
15955 * math/s_ccos.c: Likewise.
15956 * math/s_ccosf.c: Likewise.
15957 * math/s_ccosl.c: Likewise.
15958 * math/s_ctan.c: Likewise.
15959 * math/s_ctanf.c: Likewise.
15960 * math/s_ctanh.c: Likewise.
15961 * math/s_ctanhf.c: Likewise.
15962 * math/s_ctanhl.c: Likewise.
15963 * math/s_ctanl.c: Likewise.
15964 * math/w_fmod.c: Likewise.
15965 * math/w_fmodf.c: Likewise.
15966 * math/w_fmodl.c: Likewise.
15967 * math/w_remainder.c: Likewise.
15968 * math/w_remainderf.c: Likewise.
15969 * math/w_remainderl.c: Likewise.
15970 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15971 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15972 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15973 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15974 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15975 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15976 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15977 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15978
187da0ae
UD
15979 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15980 of the number.
15981 * stdio-common/printf_fphex.c: Likewise.
15982 * stdio-common/printf_size.c: Likewise.
15983
9277c064
UD
15984 * math/e_exp10.c: Include math_private.h using <...> not "...".
15985 * math/e_exp10f.c: Likewise.
15986 * math/e_exp10l.c: Likewise.
15987 * math/e_exp2l.c: Likewise.
15988 * math/e_j0l.c: Likewise.
15989 * math/e_j1l.c: Likewise.
15990 * math/e_jnl.c: Likewise.
15991 * math/e_lgammal_r.c: Likewise.
15992 * math/e_rem_pio2l.c: Likewise.
15993 * math/e_scalb.c: Likewise.
15994 * math/e_scalbf.c: Likewise.
15995 * math/e_scalbl.c: Likewise.
15996 * math/k_cosl.c: Likewise.
15997 * math/k_sinl.c: Likewise.
15998 * math/k_tanl.c: Likewise.
15999 * math/s_cacoshf.c: Likewise.
16000 * math/s_catan.c: Likewise.
16001 * math/s_catanf.c: Likewise.
16002 * math/s_catanh.c: Likewise.
16003 * math/s_catanhf.c: Likewise.
16004 * math/s_catanhl.c: Likewise.
16005 * math/s_catanl.c: Likewise.
16006 * math/s_ccosh.c: Likewise.
16007 * math/s_ccoshf.c: Likewise.
16008 * math/s_ccoshl.c: Likewise.
16009 * math/s_cexp.c: Likewise.
16010 * math/s_cexpf.c: Likewise.
16011 * math/s_cexpl.c: Likewise.
16012 * math/s_clog.c: Likewise.
16013 * math/s_clog10.c: Likewise.
16014 * math/s_clog10f.c: Likewise.
16015 * math/s_clog10l.c: Likewise.
16016 * math/s_clogf.c: Likewise.
16017 * math/s_clogl.c: Likewise.
16018 * math/s_csin.c: Likewise.
16019 * math/s_csinf.c: Likewise.
16020 * math/s_csinh.c: Likewise.
16021 * math/s_csinhf.c: Likewise.
16022 * math/s_csinhl.c: Likewise.
16023 * math/s_csinl.c: Likewise.
16024 * math/s_csqrt.c: Likewise.
16025 * math/s_csqrtf.c: Likewise.
16026 * math/s_csqrtl.c: Likewise.
16027 * math/s_ctan.c: Likewise.
16028 * math/s_ctanf.c: Likewise.
16029 * math/s_ctanh.c: Likewise.
16030 * math/s_ctanhf.c: Likewise.
16031 * math/s_ctanhl.c: Likewise.
16032 * math/s_ctanl.c: Likewise.
16033 * math/s_ldexp.c: Likewise.
16034 * math/s_ldexpf.c: Likewise.
16035 * math/s_ldexpl.c: Likewise.
16036 * math/s_significand.c: Likewise.
16037 * math/s_significandf.c: Likewise.
16038 * math/s_significandl.c: Likewise.
16039 * math/w_acos.c: Likewise.
16040 * math/w_acosf.c: Likewise.
16041 * math/w_acosh.c: Likewise.
16042 * math/w_acoshf.c: Likewise.
16043 * math/w_acoshl.c: Likewise.
16044 * math/w_acosl.c: Likewise.
16045 * math/w_asin.c: Likewise.
16046 * math/w_asinf.c: Likewise.
16047 * math/w_asinl.c: Likewise.
16048 * math/w_atan2.c: Likewise.
16049 * math/w_atan2f.c: Likewise.
16050 * math/w_atan2l.c: Likewise.
16051 * math/w_atanh.c: Likewise.
16052 * math/w_atanhf.c: Likewise.
16053 * math/w_atanhl.c: Likewise.
16054 * math/w_cosh.c: Likewise.
16055 * math/w_coshf.c: Likewise.
16056 * math/w_coshl.c: Likewise.
16057 * math/w_dremf.c: Likewise.
16058 * math/w_exp10.c: Likewise.
16059 * math/w_exp10f.c: Likewise.
16060 * math/w_exp10l.c: Likewise.
16061 * math/w_exp2.c: Likewise.
16062 * math/w_exp2f.c: Likewise.
16063 * math/w_fmod.c: Likewise.
16064 * math/w_fmodf.c: Likewise.
16065 * math/w_fmodl.c: Likewise.
16066 * math/w_hypot.c: Likewise.
16067 * math/w_hypotf.c: Likewise.
16068 * math/w_hypotl.c: Likewise.
16069 * math/w_j0.c: Likewise.
16070 * math/w_j0f.c: Likewise.
16071 * math/w_j0l.c: Likewise.
16072 * math/w_j1.c: Likewise.
16073 * math/w_j1f.c: Likewise.
16074 * math/w_j1l.c: Likewise.
16075 * math/w_jn.c: Likewise.
16076 * math/w_jnf.c: Likewise.
16077 * math/w_jnl.c: Likewise.
16078 * math/w_lgamma.c: Likewise.
16079 * math/w_lgamma_r.c: Likewise.
16080 * math/w_lgammaf.c: Likewise.
16081 * math/w_lgammaf_r.c: Likewise.
16082 * math/w_lgammal.c: Likewise.
16083 * math/w_lgammal_r.c: Likewise.
16084 * math/w_log.c: Likewise.
16085 * math/w_log10.c: Likewise.
16086 * math/w_log10f.c: Likewise.
16087 * math/w_log10l.c: Likewise.
16088 * math/w_log2.c: Likewise.
16089 * math/w_log2f.c: Likewise.
16090 * math/w_log2l.c: Likewise.
16091 * math/w_logf.c: Likewise.
16092 * math/w_logl.c: Likewise.
16093 * math/w_pow.c: Likewise.
16094 * math/w_powf.c: Likewise.
16095 * math/w_powl.c: Likewise.
16096 * math/w_remainder.c: Likewise.
16097 * math/w_remainderf.c: Likewise.
16098 * math/w_remainderl.c: Likewise.
16099 * math/w_scalb.c: Likewise.
16100 * math/w_scalbf.c: Likewise.
16101 * math/w_scalbl.c: Likewise.
16102 * math/w_sinh.c: Likewise.
16103 * math/w_sinhf.c: Likewise.
16104 * math/w_sinhl.c: Likewise.
16105 * math/w_sqrt.c: Likewise.
16106 * math/w_sqrtf.c: Likewise.
16107 * math/w_sqrtl.c: Likewise.
16108 * math/w_tgamma.c: Likewise.
16109 * math/w_tgammaf.c: Likewise.
16110 * math/w_tgammal.c: Likewise.
16111
6a621eb7
UD
16112 * po/ja.po: Update from translation team.
16113
bf582445
AJ
161142011-09-29 Andreas Jaeger <aj@suse.de>
16115
f9efbf3a
AJ
16116 [BZ #13179]
16117 * sunrpc/netname.c (netname2host): Fix logic.
16118
bf582445
AJ
16119 [BZ #6779]
16120 [BZ #6783]
16121 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16122 correctly.
16123 * math/w_remainder.c (__remainder): Likewise.
16124 * math/w_remainderf.c (__remainderf): Likewise.
16125 * math/libm-test.inc (remainder_test): Add test cases.
16126
48693bea
AK
161272011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16128
16129 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16130 sdiv_qrnnd.
16131
42622229
LD
161322011-10-07 Ulrich Drepper <drepper@gmail.com>
16133
16134 * string/test-memcmp.c: Avoid unncessary #defines.
16135 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16136
093ecf92
LD
161372011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16138
16139 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16140 Use new sse2 version for core i3 - i7 as it's faster
16141 than sse42 version.
16142 (bit_Prefer_PMINUB_for_stringop): New.
16143 * sysdeps/x86_64/rawmemchr.S: Update.
16144 Replace with faster SSE2 version.
16145 * sysdeps/x86_64/memrchr.S: New file.
16146 * sysdeps/x86_64/memchr.S: Update.
16147 Replace with faster SSE2 version.
16148
fde56e5c
MP
161492011-09-12 Marek Polacek <mpolacek@redhat.com>
16150
16151 * elf/dl-load.c (lose): Add cast to avoid warning.
16152
21fd49a9
UD
161532011-10-07 Ulrich Drepper <drepper@gmail.com>
16154
5a06e643
UD
16155 * po/ca.po: Update from translation team.
16156
684ae515
UD
16157 * inet/getnetgrent_r.c: Hook up nscd.
16158 * nscd/Makefile (routines): Add nscd_netgroup.
16159 (nscd-modules): Add netgroupcache.
16160 (CFLAGS-netgroupcache.c): Define.
16161 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16162 (cache_search): Add const to second parameter.
16163 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16164 INNETGR.
16165 (dbs): Add netgrdb entry.
16166 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16167 (verify_persistent_db): Handle netgrdb.
16168 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16169 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16170 GETFDNETGR.
16171 (netgroup_response_header): Define.
16172 (innetgroup_response_header): Define.
16173 (datahead): Add netgroup_response_header and innetgroup_response_header
16174 elements.
16175 * nscd/nscd.conf: Add entries for netgroup cache.
16176 * nscd/nscd.h (dbtype): Add netgrdb.
16177 (_PATH_NSCD_NETGROUP_DB): Define.
16178 (netgroup_iov_disabled): Declare.
16179 (xmalloc, xcalloc, xrealloc): Move declarations here.
16180 (cache_search): Adjust prototype.
16181 Add netgroup-related prototypes.
16182 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16183 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16184 (__nscd_innetgr): Declare.
16185 * nscd/selinux.c (perms): Use access_vector_t as element type and
16186 add netgroup-related initializers.
16187 * nscd/netgroupcache.c: New file.
16188 * nscd/nscd_netgroup.c: New file.
16189 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16190 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16191 For four parameters use innetgr.
16192 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16193 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16194 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16195 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16196
21fd49a9
UD
16197 * nscd/connections.c (register_traced_file): Don't register file
16198 for disabled databases.
16199
054c0457
UD
162002011-10-06 Ulrich Drepper <drepper@gmail.com>
16201
32b63198
UD
16202 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16203
054c0457
UD
16204 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16205 from tree and freeing node.
16206
64031225
JO
162072011-09-25 Jiri Olsa <jolsa@redhat.com>
16208
16209 * nss/nsswitch.c (__nss_database_lookup): Handle
16210 nss_parse_service_list out of memory case.
16211
0490345c
JO
162122011-09-15 Jiri Olsa <jolsa@redhat.com>
16213
16214 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16215 out of memory case.
16216
3a62d00d
AS
162172011-10-04 Andreas Schwab <schwab@redhat.com>
16218
16219 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16220 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16221 pass it down.
16222 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16223 elf_machine_rela, elf_machine_lazy_rel.
16224 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16225 (ELF_DYNAMIC_DO_REL): Likewise.
16226 (ELF_DYNAMIC_DO_RELA): Likewise.
16227 (ELF_DYNAMIC_RELOCATE): Likewise.
16228 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16229 to ELF_DYNAMIC_DO_REL.
16230 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16231 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16232 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16233 elf_machine_rela.
16234 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16235 skip_ifunc, don't call ifunc function if non-zero.
16236 (elf_machine_rela): Likewise.
16237 (elf_machine_lazy_rel): Likewise.
16238 (elf_machine_lazy_rela): Likewise.
16239 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16240 (elf_machine_lazy_rel): Likewise.
16241 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16242 Likewise.
16243 (elf_machine_lazy_rel): Likewise.
16244 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16245 Likewise.
16246 (elf_machine_lazy_rel): Likewise.
16247 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16248 (elf_machine_lazy_rel): Likewise.
16249 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16250 (elf_machine_lazy_rel): Likewise.
16251 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16252 (elf_machine_lazy_rel): Likewise.
16253 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16254 (elf_machine_lazy_rel): Likewise.
16255 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16256 (elf_machine_lazy_rel): Likewise.
16257 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16258 (elf_machine_lazy_rel): Likewise.
16259
68577918
UD
162602011-09-28 Ulrich Drepper <drepper@gmail.com>
16261
16262 * nss/nss_files/files-init.c (_nss_files_init): Use static
16263 initialization for all the *_traced_file variables.
16264
68822d74
AS
162652011-09-28 Andreas Schwab <schwab@redhat.com>
16266
16267 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16268
2056100b
RM
162692011-09-27 Roland McGrath <roland@hack.frob.com>
16270
16271 [BZ #13226]
16272 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16273
32c76b63
AS
162742011-09-27 Andreas Schwab <schwab@redhat.com>
16275
16276 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16277 Reread the line before reparsing it.
16278
bf972c9d
AS
162792011-09-26 Andreas Schwab <schwab@redhat.com>
16280
16281 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16282
e057a1b5
JM
162832011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16284 Maxim Kuvyrkov <maxim@codesourcery.com>
16285 Joseph Myers <joseph@codesourcery.com>
16286
16287 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16288 if needed for __stack_chk_guard.
16289
bc7e1c36
RM
162902011-09-19 Roland McGrath <roland@hack.frob.com>
16291
ecb1482f
RM
16292 * sysdeps/posix/spawni.c (script_execute): Always define it.
16293 It will be optimized away if unused.
16294 (maybe_script_execute): New function.
16295 (__spawni): Call it.
16296
bc7e1c36
RM
16297 * Makerules: Don't include tls.make.
16298 (config-tls): Always set to thread.
16299 * tls.make.c: File removed.
16300
1c3b002b
MF
163012011-09-19 Mike Frysinger <vapier@gentoo.org>
16302
16303 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16304 * config.make.in (CPPFLAGS-config): New substituted variable.
16305
2840865d
UD
163062011-09-15 Ulrich Drepper <drepper@gmail.com>
16307
88738eb6
UD
16308 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16309
cbf645a6 16310 [BZ #13192]
2840865d
UD
16311 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16312 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16313
b402e91a
RM
163142011-09-15 Roland McGrath <roland@hack.frob.com>
16315
16316 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16317 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16318 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16319 (CALL_FAIL): Likewise.
16320 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16321 (CALL_FAIL): Macro removed.
16322 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16323
4c1a1f71
UD
163242011-09-15 Ulrich Drepper <drepper@gmail.com>
16325
16326 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16327 for __FINITE_MATH_ONLY__ == 1.
16328
edc121be
AS
163292011-09-15 Andreas Schwab <schwab@redhat.com>
16330
16331 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16332 __ieee754_sqrt instead of sqrt.
16333 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16334 __ieee754_sqrtf instead of sqrtf.
16335 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16336 __floorf instead of floorf.
16337 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16338 __floorf, __truncf instead of floorf, truncf.
16339
cd205654
UD
163402011-09-14 Ulrich Drepper <drepper@gmail.com>
16341
ee4d0315
UD
16342 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16343
cd205654
UD
16344 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16345 __extern_always_inline.
16346 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16347 32-bit.
16348
48b67d71
AS
163492011-09-14 Andreas Schwab <schwab@redhat.com>
16350
16351 * elf/rtld.c (dl_main): Also relocate in dependency order when
16352 doing symbol dependency testing.
16353
1ae12c75
AS
163542011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16355
16356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16357 Always define `refsym'.
16358
995a80df
AS
163592011-09-13 Andreas Schwab <schwab@redhat.com>
16360
e529793b
AS
16361 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16362 (__FD_ELT): Renamed from __FDELT.
16363 * misc/bits/select2.h (__FD_ELT): Likewise.
16364 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16365 __FD_MASK instead of __FDELT, __FDMASK.
16366 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16367 Likewise.
16368 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16369 Likewise.
16370
52d4fef8
AS
16371 * elf/Makefile (gen-ldd): Fix pattern.
16372
995a80df
AS
16373 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16374 (init_tls): Likewise.
16375
8682f8b0
UD
163762011-09-12 Ulrich Drepper <drepper@gmail.com>
16377
16378 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16379
de82006d
AS
163802011-09-12 Andreas Schwab <schwab@redhat.com>
16381
a7c8e6a1
AS
16382 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16383 `struct cmsghdr *' instead of `void *'.
16384 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16385 Likewise.
16386
0f31fe77
AS
163872011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16388
16389 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16390 if non-absolute.
16391 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16392 ldd_rewrite_script.
0f31fe77 16393
32b4c839
UD
163942011-09-11 Ulrich Drepper <drepper@gmail.com>
16395
83cd1420
UD
16396 * configure.in: Remove --with-tls option.
16397 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16398 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16399 out in case it is missing.
16400 * sysdeps/ia64/elf/configure.in: Likewise.
16401 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16402 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16403 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16404 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16405 * sysdeps/sh/elf/configure.in: Likewise.
16406 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16407 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16408 * sysdeps/x86_64/elf/configure.in: Likewise.
16409 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16410 * sysdeps/mach/hurd/tls.h: Likewise.
16411
633f745d
UD
16412 [BZ #13067]
16413 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16414
f318beb8
UD
16415 [BZ #13090]
16416 * configure.in: Fix use of AC_INIT.
16417
32b4c839
UD
16418 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16419
3ce1f295
UD
164202011-09-10 Ulrich Drepper <drepper@gmail.com>
16421
bb016596
UD
16422 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16423 __set_errno.
8e58439c
UD
16424 * malloc/hooks.c: Likewise.
16425
aebae053 16426 [BZ #11929]
02d46fc4
UD
16427 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16428 variables statically.
16429 (narenas): Initialize.
16430 (list_lock): Initialize.
bb016596
UD
16431 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16432 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16433 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16434 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16435 Add initializers to main_arena and mp_.
16436 (malloc_state): Remove pagesize member. Change all users to use
16437 GLRO(dl_pagesize).
16438
16439 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16440 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16441 is always initialized.
16442
22a89187
UD
16443 * malloc/malloc.c: Removed unused configurations and dead code.
16444 * malloc/arena.c: Likewise.
16445 * malloc/hooks.c: Likewise.
02d46fc4 16446 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16447
d063d164
UD
16448 * include/tls.h: Removed. USE___THREAD must always be defined.
16449 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16450 * elf/dl-libc.c: Likewise.
16451 * elf/dl-tsd.c: Likewise.
16452 * include/errno.h: Likewise.
16453 * include/netdb.h: Likewise.
16454 * include/resolv.h: Likewise.
16455 * inet/herrno-loc.c: Likewise.
16456 * inet/herrno.c: Likewise.
16457 * malloc/arena.c: Likewise.
16458 * malloc/hooks.c: Likewise.
16459 * malloc/malloc.c: Likewise.
16460 * resolv/res-state.c: Likewise.
16461 * resolv/res_libc.c: Likewise.
16462 * sysdeps/i386/dl-machine.h: Likewise.
16463 * sysdeps/ia64/dl-machine.h: Likewise.
16464 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16465 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16466 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16467 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16468 * sysdeps/sh/dl-machine.h: Likewise.
16469 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16470 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16471 * sysdeps/unix/i386/sysdep.S: Likewise.
16472 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16473 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16474 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16475 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16476 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16477 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16478 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16479 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16480 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16482 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16483 * sysdeps/x86_64/dl-machine.h: Likewise.
16484 * tls.make.c: Likewise.
16485
3ce1f295
UD
16486 * configure.in: Remove --with-__thread option. Make tests for
16487 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16488 tls_model attribute fail if no support is available. Remove
16489 USE_IN_LIBIO.
16490 * Makeconfig: Adjust for dropped configure option. All features are
16491 now mandatory.
16492 * Makerules: Likewise.
16493 * Versions.def: Likewise.
16494 * argp/argp-fmtstream.c: Likewise.
16495 * argp/argp-fmtstream.h: Likewise.
16496 * argp/argp-help.c: Likewise.
16497 * assert/assert.c: Likewise.
16498 * config.h.in: Likewise.
16499 * config.make.in: Likewise.
16500 * configure: Likewise.
16501 * configure.in: Likewise.
16502 * csu/Versions: Likewise.
16503 * csu/init.c: Likewise.
16504 * elf/tst-audit2.c: Likewise.
16505 * elf/tst-tls10.c: Likewise.
16506 * elf/tst-tls10.h: Likewise.
16507 * elf/tst-tls11.c: Likewise.
16508 * elf/tst-tls12.c: Likewise.
16509 * elf/tst-tls14.c: Likewise.
16510 * elf/tst-tlsmod11.c: Likewise.
16511 * elf/tst-tlsmod12.c: Likewise.
16512 * elf/tst-tlsmod13.c: Likewise.
16513 * elf/tst-tlsmod13a.c: Likewise.
16514 * elf/tst-tlsmod14a.c: Likewise.
16515 * elf/tst-tlsmod15b.c: Likewise.
16516 * elf/tst-tlsmod16a.c: Likewise.
16517 * elf/tst-tlsmod16b.c: Likewise.
16518 * elf/tst-tlsmod7.c: Likewise.
16519 * elf/tst-tlsmod8.c: Likewise.
16520 * elf/tst-tlsmod9.c: Likewise.
16521 * gmon/gmon.c: Likewise.
16522 * grp/fgetgrent_r.c: Likewise.
16523 * grp/putgrent.c: Likewise.
16524 * hurd/fopenport.c: Likewise.
16525 * include/libc-symbols.h: Likewise.
16526 * include/tls.h: Likewise.
16527 * intl/gettextP.h: Likewise.
16528 * intl/loadinfo.h: Likewise.
16529 * locale/global-locale.c: Likewise.
16530 * locale/localeinfo.h: Likewise.
16531 * mach/devstream.c: Likewise.
16532 * malloc/arena.c: Likewise.
16533 * malloc/set-freeres.c: Likewise.
16534 * misc/err.c: Likewise.
16535 * misc/getttyent.c: Likewise.
16536 * misc/mntent_r.c: Likewise.
16537 * posix/getopt.c: Likewise.
16538 * posix/wordexp.c: Likewise.
16539 * pwd/fgetpwent_r.c: Likewise.
16540 * resolv/Versions: Likewise.
16541 * resolv/res_hconf.c: Likewise.
16542 * shadow/fgetspent_r.c: Likewise.
16543 * shadow/putspent.c: Likewise.
16544 * stdio-common/printf_fphex.c: Likewise.
16545 * stdio-common/tmpfile.c: Likewise.
16546 * stdlib/abort.c: Likewise.
16547 * stdlib/fmtmsg.c: Likewise.
16548 * sunrpc/auth_unix.c: Likewise.
16549 * sunrpc/clnt_perr.c: Likewise.
16550 * sunrpc/clnt_tcp.c: Likewise.
16551 * sunrpc/clnt_udp.c: Likewise.
16552 * sunrpc/clnt_unix.c: Likewise.
16553 * sunrpc/openchild.c: Likewise.
16554 * sunrpc/svc_simple.c: Likewise.
16555 * sunrpc/svc_tcp.c: Likewise.
16556 * sunrpc/svc_udp.c: Likewise.
16557 * sunrpc/svc_unix.c: Likewise.
16558 * sunrpc/xdr.c: Likewise.
16559 * sunrpc/xdr_array.c: Likewise.
16560 * sunrpc/xdr_rec.c: Likewise.
16561 * sunrpc/xdr_ref.c: Likewise.
16562 * sunrpc/xdr_stdio.c: Likewise.
16563
1248c1c4
PB
165642011-09-09 Ulrich Drepper <drepper@gmail.com>
16565
16566 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16567
165682011-07-03 Andreas Jaeger <aj@suse.de>
16569
16570 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16571 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16572 regenerate with gen-libm-tests.pl.
16573
165742010-05-12 Petr Baudis <pasky@suse.cz>
16575
16576 [BZ #11589]
16577 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16578 around j0() zero points by switching to j1().
16579 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16580 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16581 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16582 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16583
f22e1074
UD
165842011-09-09 Ulrich Drepper <drepper@gmail.com>
16585
f19009c1
UD
16586 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16587 instead of 0.
16588 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16589 instead of 0. .
16590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16591 Patch in part by Pavel Roskin <proski@gnu.org>.
16592
3f8cc204
UD
16593 [BZ #13138]
16594 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16595 realloc.
16596 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16597 Free memory block if necessary.
16598
f22e1074
UD
16599 [BZ #12847]
16600 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16601 be NULL. Don't lock in this case.
16602
0a2349f9
RM
166032011-09-09 Roland McGrath <roland@hack.frob.com>
16604
16605 * elf/elf.h (ELFOSABI_GNU): New macro.
16606 (ELFOSABI_LINUX): Define to that.
16607
f3cdd467
DZ
166082011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16609
16610 * string/strncat.c (strncat): Undef the symbol in case it has been
16611 defined in bits/string.h.
16612
74718d13
UD
166132011-09-09 Ulrich Drepper <drepper@gmail.com>
16614
633e9e0f
UD
16615 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16616
0a2349f9 16617 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16618 link map.
16619
f9924780
AJ
166202011-08-17 Andreas Jaeger <aj@suse.de>
16621
16622 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16623
7f5517aa
PP
166242011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16625 Ian Lance Taylor <iant@google.com>
16626
16627 * math/libm-test.inc (lround_test): New testcase.
16628 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16629
762011fe
UD
166302011-09-08 Ulrich Drepper <drepper@gmail.com>
16631
92963737
UD
16632 * Makefile: Remove support for automatic cvs check-ins.
16633 * Makerules: Likewise.
16634 * config.make.in: Likewise.
16635 * configure.in: Likewise.
16636 * intl/Makefile: Likewise.
16637 * locale/Makefile: Likewise.
16638 * po/Makefile: Likewise.
16639 * posix/Makefile: Likewise.
16640 * sysdeps/gnu/Makefile: Likewise.
16641 * sysdeps/mach/hurd/Makefile: Likewise.
16642 * sysdeps/sparc/sparc32/Makefile: Likewise.
16643
b0727fd8
JS
16644 [BZ #13118]
16645 * posix/Makefile (bug-regex32-ENV): Define.
16646 Patch by John Stanley <jpsinthemix@verizon.net>.
16647
a0f33f99
UD
16648 * misc/Makefile (headers): Add bits/select2.h.
16649 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16650 * misc/bits/select2.h: New file.
16651 * include/bits/select2.h: New file.
16652 * debug/Makefile (routines): Add fdelt_chk.
16653 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16654 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16655 FD_ISSET.
16656 * debug/fdelt_chk.c: New file.
16657
762011fe
UD
16658 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16659 * wcsmbs/test-wmemcmp.c: Likewise.
16660 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16661 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16662
166632011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16664
16665 * string/Makefile (strop-tests): Add memcmp.
16666 * string/test-wmemcmp.c: New file.
16667 * string/test-memcmp.c: Add wmemcmp support.
16668
7f513ec8
RM
166692011-09-08 Roland McGrath <roland@hack.frob.com>
16670
0442afb4
RM
16671 [BZ #13153]
16672 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16673 2011-07-19 change.
16674
7f513ec8
RM
16675 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16676 garbage value in a __mach_port_mod_refs call in the cases of the
16677 task-self and thread-self ports.
16678
a12b2239
ST
166792011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16680
16681 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16682
610f9ab4
AS
166832011-09-08 Andreas Schwab <schwab@redhat.com>
16684
7f513ec8 16685 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16686
48882a1a
LD
166872011-09-07 Ulrich Drepper <drepper@gmail.com>
16688
b49865be
UD
16689 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16690
fdc86bc9
UD
16691 * elf/dl-libc.c (dlerror_run): Pass back error code from
16692 dl_catch_error.
16693
c966526a
UD
16694 [BZ #13123]
16695 * elf/dl-load.c (lose): Free l_origin if it is valid.
16696
48882a1a
LD
16697 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16698 names.
16699 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16700 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16701 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16702 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16703 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16704 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16705
77a2a8b4
AZ
167062011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16707
16708 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16709 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16710 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16711 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16712 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16713 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16714 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16715 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16716 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16717 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16718
24f579d8
AM
167192011-08-15 Alan Modra <amodra@gmail.com>
16720
16721 [BZ #13092]
16722 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16723 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16724 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16725 ppc_mcount to static-only-routines.
16726 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16727 __mcount_internal.
16728 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16729 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16730
3d4837df
UD
167312011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16732
16733 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16734 for finite and infinity parameters.
16735
22700377
WS
167362011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16737
16738 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16739 and add nop instructions for throughput optimization.
16740 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16741
5025581e
WS
167422011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16743
16744 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16745 aligned copy for power7 with vector-scalar instructions.
16746 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16747
08a300c9
L
167482011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16749
16750 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16751 AVX check.
16752
59178ef9
AS
167532011-09-07 Andreas Schwab <schwab@redhat.com>
16754
16755 [BZ #13144]
16756 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16757 last change.
16758
e38ba7ab
UD
167592011-09-07 Ulrich Drepper <drepper@gmail.com>
16760
16761 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16762 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16763 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16764 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16765 clock_gettime.
16766
d53a73ac
UD
167672011-09-06 Ulrich Drepper <drepper@gmail.com>
16768
fc8bffcc
UD
16769 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16770 Forgot to demangle the pointer.
16771
ceaa0c5d
UD
16772 * sysdeps/i386/sysdep.h: Define atom_text_section.
16773 * sysdeps/x86_64/sysdep.h: Likewise.
16774 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16775 section with atom_text_section.
16776 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16777 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16778 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16779 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16780 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16781
a77d3c17
UD
16782 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16783 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16784 already be defined. Change to take two parameters and don't assign
16785 result to variable. Adjust all users.
16786 Define INTERNAL_GETTIME if not already defined.
16787 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16788 call.
16789 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16790 HAVE_CLOCK_GETTIME_VSYSCALL.
16791 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16792
d53a73ac
UD
16793 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16794 gettimeofday vsyscall, just use time.
16795
a8f84144
AS
167962011-09-06 Andreas Schwab <schwab@redhat.com>
16797
16798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16799 <errno.h>.
16800
ef606249
UD
168012011-09-06 Ulrich Drepper <drepper@gmail.com>
16802
16803 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16804 syscall on x86-64.
16805 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16806 syscall.
16807 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16808 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16809 syscall if possible.
16810
6585cb60
UD
168112011-09-05 Ulrich Drepper <drepper@gmail.com>
16812
16813 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16814 e_ident. Don't pass to find_mapsXX.
16815 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16816
a5f524e4
LD
168172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16818
16819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16820 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16821 * sysdeps/x86_64/multiarch/strchr.S: Update.
16822 Check bit_slow_BSF bit.
16823 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16824 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16825 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16826
554881ef
UD
168272011-09-05 Ulrich Drepper <drepper@gmail.com>
16828
d96de963
UD
16829 [BZ #13134]
16830 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16831 before glibc 2.15.
16832 (tryshell): Define.
16833 (__spawni): Change last parameter to be flag. Test
16834 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16835 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16836 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16837 * posix/spawni.c: Likewise.
16838 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16839 * posix/spawnp.c: Likewise. Change normal version to use
16840 SPAWN_XFLAGS_USE_PATH.
16841 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16842 SPAWN_XFLAGS_TRY_SHELL.
16843
d48e5868
UD
16844 [BZ #13150]
16845 * posix/glob.h: Remove gcc 1.x support.
16846
554881ef
UD
16847 [BZ #13068]
16848 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16849
693fb948
LD
168502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16851
16852 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16853 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16854 strrchr-sse2-bsf
16855 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16856 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16857 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16858 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16859 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16860 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16861
1b48c537
UD
168622011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16863
49d42c37
UD
16864 * sysdeps/x86_64/wcscmp.S: New file.
16865
1b48c537
UD
16866 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16867 wcscmp-c wcscmp-sse2
16868 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16869 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16870 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16871 * wcsmbs/wcscmp.c: Allow renaming.
16872
15c95c5d
DM
168732011-09-05 David S. Miller <davem@davemloft.net>
16874
16875 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16876 stack slot, rather than the struct return pointer slot.
16877 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16878 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16880 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16881
2f0ad8f3
UD
168822011-09-05 Ulrich Drepper <drepper@gmail.com>
16883
d88ae418
UD
16884 * po/ja.po: Update from translation team.
16885
2f0ad8f3
UD
16886 [BZ #13144]
16887 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16888 kernel in 64-bit binaries.
16889
5f4318d1
DM
168902011-09-01 David S. Miller <davem@davemloft.net>
16891
16892 * elf/elf.h (HWCAP_SPARC_*): Move to..
16893 * sysdeps/sparc/sysdep.h: this new file and add new values.
16894 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16895 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16896 _DL_HWCAP_COUNT to 24.
16897 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16898 entries.
16899 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16900 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16901 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16903 instead of magic constants.
16904 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16905
3ba57516
DM
169062011-08-31 David S. Miller <davem@davemloft.net>
16907
16908 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16909 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16910 Reimplement to do errno handling inline.
16911 (SYSCALL_ERROR_HANDLER): New macro.
16912 (__SYSCALL_STRING): Do not do errno handling in asm.
16913 (__CLONE_SYSCALL_STRING): Delete.
16914 (__INTERNAL_SYSCALL_STRING): Delete.
16915 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16916 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16917 (PSEUDO): Reimplement to do errno handling inline.
16918 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16919 (SYSCALL_ERROR_HANDLER): New macro.
16920 (__SYSCALL_STRING): Do not do errno handling in asm.
16921 (__CLONE_SYSCALL_STRING): Delete.
16922 (__INTERNAL_SYSCALL_STRING): Delete.
16923 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16924 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16925 i386.
16926 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16927 (inline_syscall*): Add 'err' argument.
16928 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16929 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16930 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16931 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16932
16933 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16934 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16935
2bc17433
AS
169362011-08-30 Andreas Schwab <schwab@redhat.com>
16937
16938 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16939
fbeb5f4d
JO
169402011-08-29 Jiri Olsa <jolsa@redhat.com>
16941
16942 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16943 directive.
16944
ad69cc26
DM
169452011-08-24 David S. Miller <davem@davemloft.net>
16946
16947 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16948
39dd69df
AS
169492011-08-24 Andreas Schwab <schwab@redhat.com>
16950
16951 * elf/Makefile: Add rules to build and run unload8 test.
16952 * elf/unload8.c: New file.
16953 * elf/unload8mod1.c: New file.
16954 * elf/unload8mod1x.c: New file.
16955 * elf/unload8mod2.c: New file.
16956 * elf/unload8mod3.c: New file.
16957
16958 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16959 it wasn't used.
16960
2c0b250a
DM
169612011-08-23 David S. Miller <davem@davemloft.net>
16962
16963 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16964 subtract stack bias.
16965 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16966 %sp not %fp in calculations.
16967 (_JMPBUF_UNWINDS_ADJ): Likewise.
16968
22044b48
DM
16969 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16970 (aio_suspend): Call it to force an exception region around the
16971 AIO_MISC_WAIT() invocation.
16972
2cae4995
AS
169732011-08-23 Andreas Schwab <schwab@redhat.com>
16974
16975 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16976 backslash.
16977
873a772e
AJ
169782011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16979
16980 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16981 protection macro.
16982 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16983 and <dl-machine.h>.
16984 (Elf64_FuncDesc): Remove.
16985
25ad0df1
DM
169862011-08-22 David S. Miller <davem@davemloft.net>
16987
16988 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16989 sigaltstack check, add missing cfi directives.
16990 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16991 missing cfi directives, and sigaltstack handling.
16992
e888bcbe
AS
169932011-08-16 Andreas Schwab <schwab@redhat.com>
16994
16995 [BZ #11724]
16996 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16997 object is seen twice.
16998 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16999
17000 * elf/Makefile (distribute): Add tst-initorder2.c.
17001 (tests): Add tst-initorder2.
17002 (modules-names): Add tst-initorder2a tst-initorder2b
17003 tst-initorder2c tst-initorder2d. Add rules to build them.
17004 ($(objpfx)tst-initorder2.out): New rule.
17005 * elf/tst-initorder2.c: New file.
17006 * elf/tst-initorder2.exp: New file.
17007
87162f46
AS
170082011-08-22 Andreas Schwab <schwab@redhat.com>
17009
70538b7f
AS
17010 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17011
f55ffe58
AS
17012 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17013 dependencies back to end of function.
17014
87162f46
AS
17015 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17016 $(elfobjdir)/ld.so.
17017
91b392a4
UD
170182011-08-21 Ulrich Drepper <drepper@gmail.com>
17019
17020 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17021 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17022 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17023 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17024 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17025 of __vdso_gettimeofday.
17026 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17027 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17028 attribute_hidden.
17029 (_libc_vdso_platform_setup): Remove initialization of
17030 __vdso_gettimeofday and __vdso_time.
17031
5c43483f
UD
170322011-08-20 Ulrich Drepper <drepper@gmail.com>
17033
775a77e7
UD
17034 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17035 and fgetc_unlocked.
17036 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17037 getc_unlocked.
89f447ed 17038
49c74ba9
UD
17039 * elf/dl-open.c (add_to_global): Report additions to the global scope
17040 for LD_DEBUG=scopes.
17041 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 17042 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 17043
5c43483f
UD
17044 [BZ #13114]
17045 * stdio-common/Makefile (tests): Add bug24.
17046 * stdio-common/bug24.c: New file.
17047
a101b025
AJ
170482011-08-19 Andreas Jaeger <aj@suse.de>
17049
17050 [BZ #13114]
17051 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17052 non-existant file when using close-on-exec mode.
17053
c88f1766
UD
170542011-08-20 Ulrich Drepper <drepper@gmail.com>
17055
0276a718
UD
17056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17057 the very first instruction.
17058
c88f1766
UD
17059 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17060 the CFI state in the end.
17061 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17062 inclusion of dl-trampoline.h.
17063 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17064
51ccffa0
AS
170652011-08-19 Andreas Schwab <schwab@redhat.com>
17066
94d7165f
AS
17067 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17068 expectations for long double.
17069
51ccffa0
AS
17070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17071 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17072
fd708658 170732011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
17074
17075 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17076 artificual limit depends upon the system page size.
17077
44f0a71e
UD
170782011-08-17 Ulrich Drepper <drepper@gmail.com>
17079
17080 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17081 * resolv/Makefile: Define CFLAGS-libresolv.
17082
8de79a24
AS
170832011-08-17 Andreas Schwab <schwab@redhat.com>
17084
17085 * nss/makedb.c (compute_tables): Make variables used in nested
17086 function static.
17087
27724598
UD
170882011-08-17 Ulrich Drepper <drepper@gmail.com>
17089
c5305d88
UD
17090 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17091 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17092 if buffer was too small.
17093
27724598
UD
17094 * elf/pldd.c (main): Attach to all threads in the process.
17095 Rewrite /proc handling to use *at functions.
17096
076fe015
UD
170972011-08-16 Ulrich Drepper <drepper@gmail.com>
17098
174baab3
UD
17099 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17100 specifies first scope to show.
17101 (dl_open_worker): Update callers. Move printing scope of new
17102 object to before the relocation.
44f0a71e 17103 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
17104 * sysdeps/generic/ldsodefs.h: Update declaration.
17105
076fe015
UD
17106 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17107 string for the scope number.
17108
a60df2c3
UD
171092011-08-14 Ulrich Drepper <drepper@gmail.com>
17110
17111 * nscd/servicescache.c (cache_addserv): Make sure written is always
17112 initialized.
17113
5e4287d1
RM
171142011-08-14 Roland McGrath <roland@hack.frob.com>
17115
85ae0589
RM
17116 * sysdeps/i386/i486/bits/atomic.h
17117 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17118 statement expression, so as to suppress "set but not used" warning.
17119 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17120
69f63097
RM
17121 * string/strncat.c (STRNCAT): Use prototype definition.
17122
675456ef
RM
17123 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17124 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17125 -Iprograms here.
17126 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17127 (localedef-modules): Add localedef.
17128 (locale-modules): Add locale.
17129
5e4287d1
RM
17130 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17131 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17132 to avoid a warning.
17133
9c96ff23
DM
171342011-08-14 David S. Miller <davem@davemloft.net>
17135
17136 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17137 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17138
f9ddf089
UD
171392011-08-13 Ulrich Drepper <drepper@gmail.com>
17140
44f0a71e 17141 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
17142 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17143 * elf/rtld.c (dl_main): Set l_name of vDSO.
17144 Call _dl_show_scope when DL_DEBUG_SCOPES.
17145 (process_dl_debug): Recognize scopes flag and also set it for all.
17146 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17147 Declare _dl_show_scope.
17148
1dc27704
UD
17149 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17150 (do_dlopen): Pass caller_dlopen to dl_open.
17151 (__libc_dlopen_mode): Initialize caller_dlopen.
17152
f9ddf089
UD
17153 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17154 of libc. Make tolower call locale-independent. Optimize a bit by
17155 using isdigit instead of isalnum.
17156 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17157
9ac533d3
UD
171582011-08-12 Ulrich Drepper <drepper@gmail.com>
17159
17160 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17161 was a dependency or dynamically loaded.
17162
89edf2e9
UD
171632011-08-11 Ulrich Drepper <drepper@gmail.com>
17164
8e999d29
UD
17165 * intl/l10nflist.c: Allow architecture-specific pop function.
17166 * sysdeps/x86_64/l10nflist.c: New file.
17167
89edf2e9
UD
17168 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17169 classification.
17170
14d96785
AS
171712011-08-10 Andreas Schwab <schwab@redhat.com>
17172
17173 * include/dirent.h: Add libc_hidden_proto for scandirat and
17174 scandirat64. Don't declare __scandirat64.
17175 * dirent/scandirat.c: Add libc_hidden_def.
17176 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17177 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17178
6761ac04
DM
171792011-08-10 David S. Miller <davem@davemloft.net>
17180
17181 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17182 enum.
17183 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17184 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17185 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17186
c55fbd1e
UD
171872011-08-09 Ulrich Drepper <drepper@gmail.com>
17188
17189 * Versions.def [libc]: Add GLIBC_2.15.
17190 * dirent/Makefile (routines): Add scandirat and scandirat64.
17191 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17192 GLIBC_2.15.
17193 * dirent/dirent.h: Declare scandirat and scandirat64.
17194 * dirent/scandirat.c: New file.
17195 * dirent/scandirat64.c: New file.
17196 * sysdeps/wordsize-64/scandirat.c: New file.
17197 * sysdeps/wordsize-64/scandirat64.c: New file.
17198 * dirent/opendir.c: Define opendirat.
17199 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17200 using scandirat.
17201 * dirent/scandir64.c: Adjust for scandir.c change.
17202 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17203 __scandirat64, and __scandir_cancel_handler.
17204 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17205 additional parameter and use openat instead of open (outside of ld.so).
17206 Add new __opendir as wrapper around __opendirat.
17207 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17208 here without requiring old scandirat implementation.
17209
879165f2
UD
172102011-08-08 Ulrich Drepper <drepper@gmail.com>
17211
17212 * dirent/scandir.c (cancel_handler): Renamed to
17213 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17214 defined. Adjust users.
17215 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17216 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17217
cb7e923b
UD
172182011-08-04 Ulrich Drepper <drepper@gmail.com>
17219
16292edd
UD
17220 * string/test-string.h (IMPL): Use __STRING to expand name and then
17221 stringify it.
17222
cb7e923b
UD
17223 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17224 of cleanups.
17225
cff82933
LD
172262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17227
17228 * string/Makefile: Update.
17229 (strop-tests): Append strncat.
17230 * string/test-wcscmp.c: New file.
17231 New comprehensive test for wcscmp.
17232 * string/test-strcmp.c: Update.
17233 (WIDE): New define.
17234
9be9bfcc
AS
172352011-07-22 Andreas Schwab <schwab@redhat.com>
17236
17237 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17238 line.
17239
2e96f1c7
AS
172402011-07-26 Andreas Schwab <schwab@redhat.com>
17241
17242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17243 encoding to ACE if AI_IDN.
17244
85188888
JJ
172452011-08-01 Jakub Jelinek <jakub@redhat.com>
17246
17247 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17248 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17249
5fa16e9b
LD
172502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17251
17252 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17253 Fix overflow bug in strncat.
17254 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17255
17256 * string/test-strncat.c: Update.
17257 Add new tests for checking overflow bugs.
17258
172592011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17260
17261 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17262 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17263 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17264 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17265 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17266 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17267 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17268 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17269 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17270
17271 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17272 (USE_AS_STRCAT): Define.
17273 Add strcat and strncat support.
17274 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17275
8c1a459f
AS
172762011-07-25 Andreas Schwab <schwab@redhat.com>
17277
17278 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17279 __n bigger than INT_MAX+1.
17280 (__strncmp_g): Likewise.
17281
bba33c28
UD
172822011-07-23 Ulrich Drepper <drepper@gmail.com>
17283
798be72d
UD
17284 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17285 * libio/stido.h: Likewise.
17286
8accd4dc
UD
17287 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17288 (AF_NFC): Define.
17289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17290 (AF_NFC): Define.
17291
cbff0d96
UD
17292 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17293 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17294 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17295 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17296 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17297
9191c04a
UD
17298 [BZ #13021]
17299 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17300 installed.
17301
bba33c28
UD
17302 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17303 typo.
17304 (_dl_x86_64_save_sse): Likewise.
17305
90f139dd
UD
173062011-07-22 Ulrich Drepper <drepper@gmail.com>
17307
1aae088a
UD
17308 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17309 OSXSAVE.
17310 (_dl_x86_64_save_sse): Likewise.
17311
8e2045f5
UD
17312 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17313
90f139dd
UD
17314 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17315
1d002f25
AS
173162011-07-21 Andreas Schwab <schwab@redhat.com>
17317
17318 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17319 change.
17320 (_dl_x86_64_save_sse): Use correct AVX check.
17321
21137f89
UD
173222011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17323
17324 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17325 bug in strncpy/strncat.
17326 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17327
a65c0b7a
UD
173282011-07-21 Ulrich Drepper <drepper@gmail.com>
17329
17330 * string/tester.c (test_strcat): Add tests for different alignments
17331 of source and destination.
17332 (test_strncat): Likewise.
17333
6986b98a
UD
173342011-07-20 Ulrich Drepper <drepper@gmail.com>
17335
90bb2039
UD
17336 [BZ #12852]
17337 * posix/glob.c (glob): Check passed in values before using them in
17338 expressions to avoid some overflows.
17339 (glob_in_dir): Likewise.
17340
5644ef54
UD
17341 [BZ #13007]
17342 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17343 check for AVX enablement so that we don't crash with old kernels and
17344 new hardware.
17345 * elf/tst-audit4.c: Add same checks here.
17346 * elf/tst-audit6.c: Likewise.
17347
17348 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17349
bfc9dc9b
AS
173502011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17351
17352 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17353
702e64bb
UD
173542011-07-20 Ulrich Drepper <drepper@gmail.com>
17355
17356 * po/cs.po: Update from translation team.
17357 * po/bg.po: Likewise.
17358
295e904f
MP
173592011-07-12 Marek Polacek <mpolacek@redhat.com>
17360
17361 * misc/sys/cdefs.h: Add support for const attribute.
17362 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17363 to gnu_dev_{major,minor,makedev} functions.
17364
3ff94596
MP
173652011-07-20 Marek Polacek <mpolacek@redhat.com>
17366
17367 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17368
28b59fca
AS
173692011-07-20 Andreas Schwab <schwab@redhat.com>
17370
17371 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17372 strlen results.
17373
19df733e
AK
173742011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17375
17376 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17377 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17378 register in order to avoid conflicts with the soft frame pointer
17379 being held in r11 when necessary.
17380 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17381 (INTERNAL_VSYSCALL_NCS): Likewise.
17382
c8835729
MP
173832011-07-14 Marek Polacek <mpolacek@redhat.com>
17384
17385 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17386 * elf/dl-fini.c (_dl_fini): Adjust caller.
17387 * elf/dl-close.c (_dl_close_worker): Likewise.
17388 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17389
b902330c
MP
173902011-07-15 Marek Polacek <mpolacek@redhat.com>
17391
8991e135
MP
17392 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17393 "aux_cache->nlibs < 0".
17394
b902330c
MP
17395 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17396 in the reload-count case.
17397
99710781
LD
173982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17399
17400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17401 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17402 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17403 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17404 * sysdeps/x86_64/multiarch/strcat.S: New file.
17405 * sysdeps/x86_64/multiarch/strncat.S: New file.
17406 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17407 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17408 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17409 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17410 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17411 (USE_AS_STRCAT): Define.
17412 Add strcat and strncat support.
17413 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17414 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17415 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17416 * string/strncat.c: Update.
17417 (USE_AS_STRNCAT): Define.
17418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17419 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17420 and i7.
17421 * sysdeps/x86_64/multiarch/init-arch.h
17422 (bit_Prefer_PMINUB_for_stringop): New.
17423 (index_Prefer_PMINUB_for_stringop): Likewise.
17424 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17425 bit_Prefer_PMINUB_for_stringop.
17426
7dc6bd90
UD
174272011-07-19 Ulrich Drepper <drepper@gmail.com>
17428
17429 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17430 buffer64.
17431 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17432 of casting of buffer.
17433 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17434 buffer32 and buffer64.
17435 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17436 writes instead of casting of buffer.
17437 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17438 buffer32.
17439 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17440 casting of buffer.
17441
e0e72284
AS
174422011-07-19 Andreas Schwab <schwab@redhat.com>
17443
17444 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17445
feb1eb0b
UD
174462011-07-19 Ulrich Drepper <drepper@gmail.com>
17447
17448 * nscd/nscd.c (termination_handler): Don't do anything for a database
17449 if it has not yet been initialized.
17450
298711ff
UD
174512011-07-18 Ulrich Drepper <drepper@gmail.com>
17452
17453 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17454
174552011-07-15 Marek Polacek <mpolacek@redhat.com>
17456
17457 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17458
f9d68389
UD
174592011-07-18 Ulrich Drepper <drepper@gmail.com>
17460
17461 * po/nl.po: Update from translation team.
17462 * po/sv.po: Likewise.
17463
db290cf5
RM
174642011-07-16 Roland McGrath <roland@hack.frob.com>
17465
17466 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17467 now disallowed by GCC.
5c550700 17468
fd5e21c7
RM
17469 * configure.in (use-default-link): Default to yes if a test -shared
17470 link meets our qualifications.
17471 * configure: Regenerated.
17472
5c550700
RM
17473 * config.make.in (output-format): New variable.
17474 * configure.in: Check for ld --print-output-format support.
17475 * configure: Regenerated.
17476 * Makerules ($(common-objpfx)format.lds)
17477 [$(output-format) != unknown]: Just use $(output-format),
17478 instead of the linker-script munging.
17479
9fa2c032
RM
174802011-07-14 Roland McGrath <roland@hack.frob.com>
17481
a6928d51
RM
17482 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17483 of $(common-objpfx)shlib.lds.
17484 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17485
661607b3
RM
17486 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17487 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17488
9fa2c032
RM
17489 * configure.in (-z relro check): Adjust test code to add a large
17490 writable data section after it.
17491 * configure: Regenerated.
17492
defe9061
RM
174932011-07-11 Roland McGrath <roland@hack.frob.com>
17494
17495 * configure.in (-z relro check): Fix test code to make the variable
17496 truly const.
17497 * configure: Regenerated.
17498
319b9ad4
UD
174992011-07-11 Ulrich Drepper <drepper@gmail.com>
17500
17501 * nscd/nscd.h (struct traced_file): Define.
17502 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17503 elements. Add traced_files.
17504 (inotify_fd): Declare.
17505 (register_traced_file): Declare.
17506 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17507 (inotify_fd): Export.
17508 (resolv_conf_descr): Remove.
17509 (nscd_init): Move inotify descriptor creation to main.
17510 Don't register files for notification here.
17511 (register_traced_file): New function.
17512 (invalidate_cache): Don't use reset_res to determine whether to call
17513 res_init, go through the list of registered files.
17514 (main_loop_poll): The inotify descriptors are now stored in the
17515 structures for the traced files.
17516 (main_loop_epoll): Likewise
17517 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17518 to __nss_disable_nscd.
17519 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17520 for a database anymore. Check the records for all the registered
17521 files instead.
17522 * nss/Makefile (libnss_files-routines): Add files-init.
17523 (libnss_db-routines): Add db-init.
17524 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17525 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17526 * nss/nss_db/db-init.c: New file.
17527 * nss/nss_files/files-init.c: New file.
17528 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17529 __nss_lookup_function.
17530 (__nss_lookup_function): Call nss_load_library.
17531 (nss_load_all_libraries): New function.
17532 (__nss_disable_nscd): Take parameter with callback function for files
17533 to register. Set is_nscd. Load all the DSOs for the NSS modules
17534 used for the cached services.
17535 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17536 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17537 options for features to all the files in nscd.
17538
17539 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17540
23bee3e8
RM
175412011-07-10 Roland McGrath <roland@hack.frob.com>
17542
17543 * csu/elf-init.c (__libc_csu_init): Comment typo.
17544
46a5b7f0
UD
175452011-07-09 Ulrich Drepper <drepper@gmail.com>
17546
17547 * po/pl.po: Update from translation team.
17548 * po/ja.po: Likewise.
17549 * po/ru.po: Likewise.
17550 * po/ko.po: Likewise.
17551 * po/fr.po: Likewise.
17552
d30cf5bb
RM
175532011-07-09 Roland McGrath <roland@hack.frob.com>
17554
113ddea4
RM
17555 * configure.in (.ctors/.dtors header and trailer check):
17556 Use an empirical test on a built program.
17557 * configure: Regenerated.
17558
574920b4
RM
17559 * configure.in (-z relro check): Use an empirical test on a built DSO.
17560 Detect, but do not require, on ia64.
17561 * configure: Regenerated.
17562
d30cf5bb
RM
17563 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17564 Update tests that use readelf to use $READELF instead.
17565 * configure: Regenerated.
17566
8538fdb3
UD
175672011-07-08 Ulrich Drepper <drepper@gmail.com>
17568
17569 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17570 if the result is not used.
17571
04d08991
AJ
175722011-07-05 Andreas Jaeger <aj@suse.de>
17573
17574 [BZ#9696]
17575 * stdlib/tst-strtod.c: Add testcase.
17576
de283087
AD
175772011-07-07 Ulrich Drepper <drepper@gmail.com>
17578
4e5f31c8 17579 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17580 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17581 The latter has a higher limit. Take additional parameter to pass to
17582 the new function.
17583 (__pathconf): Pass file to __statfs_link_max.
17584 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17585 __statfs_link_max.
17586 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17587 __statfs_link_max.
17588
de283087
AD
17589 [BZ #12868]
17590 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17591 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17592 Handle Lustre.
17593 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17594 (__statfs_filesize_max): Likewise.
17595 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17596
c75fa153
AJ
175972011-07-05 Andreas Jaeger <aj@suse.de>
17598
17599 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17600
1a544854
UD
176012011-07-06 Marek Polacek <mpolacek@redhat.com>
17602
17603 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17604 `status' variable.
17605 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17606 Likewise.
17607
6f0eec67
UD
176082011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17609
17610 * Makefile (strop-tests): Add strncat.
17611 * string/test-strncat.c: New file.
17612
aae30307
UD
176132011-06-30 Marek Polacek <mpolacek@redhat.com>
17614
17615 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17616
c0cfb5eb
UD
176172011-06-21 Andreas Jaeger <aj@suse.de>
17618
17619 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17620 Copy rule from iconvdata/Makefile.
17621
01636b21
UD
176222011-07-06 Ulrich Drepper <drepper@gmail.com>
17623
17624 [BZ #12922]
17625 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17626 but no long options are defined, just return 'W'.
17627
9895c8bc
UD
176282011-06-22 Marek Polacek <mpolacek@redhat.com>
17629
17630 [BZ #9696]
17631 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17632
5d4cf042
UD
176332011-07-06 Ulrich Drepper <drepper@gmail.com>
17634
17635 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17636 netgroups to read.
960e5535 17637 (innetgr): Likewise.
5d4cf042 17638
751eb97e
RM
176392011-07-05 Roland McGrath <roland@hack.frob.com>
17640
17641 * config.make.in (install_root): Default to $(DESTDIR).
17642
f15f1e45
UD
176432011-07-05 Ulrich Drepper <drepper@gmail.com>
17644
17645 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17646
4e34ac6a
RM
176472011-07-02 Roland McGrath <roland@hack.frob.com>
17648
5e9b6af4
RM
17649 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17650
84f9ea0f
RM
17651 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17652 containing directory rather than embedding absolute directory names.
17653
ea5ee9f7
RM
17654 * scripts/check-local-headers.sh: Rewritten using awk.
17655 Match by word, not by line. Print error messages for matches.
17656 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17657
1b74661a
RM
17658 * Makerules [shlib-lds-flags empty]:
17659 ($(common-objpfx)libc_pic.opts): New target.
17660 ($(common-objpfx)libc_pic.os.clean): New target.
17661 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17662
17663 * config.make.in (OBJCOPY): New variable.
17664 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17665 * configure: Regenerated.
17666
f781ef40
RM
17667 * config.make.in (use-default-link): New variable.
17668 * configure.in (use_default_link): Grok --with-default-link to set it.
17669 * configure: Regenerated.
17670 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17671 (shlib-lds, shlib-lds-flags): Define to empty.
17672
2d4fa81e
RM
17673 * Makerules (shlib-lds): New variable.
17674 (shlib-lds-flags): New variable.
17675 (build-shlib, build-moduile, build-module-asneeded): Use it.
17676 ($(common-objpfx)libc.so): Use $(shlib-lds).
17677 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17678 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17679
31fffa6b
RM
17680 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17681 DT_FLAGS/DT_FLAGS_1 with zero flags.
17682
4e34ac6a
RM
17683 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17684 linker script munging.
17685
fcfc776b
UD
176862011-07-02 Ulrich Drepper <drepper@gmail.com>
17687
17688 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17689 as 128-bit value.
17690 * crypt/sha512.c (sha512_process_block): Perform total addition using
17691 128-bit if possible.
17692 (__sha512_finish_ctx): Likewise.
17693 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17694 as 64-bit value.
17695 * crypt/sha256.c (SWAP64): Define.
17696 (sha256_process_block): Perform total addition using 64-bit if
17697 possible.
17698 (__sha256_finish_ctx): Likewise.
17699
99231d9a
UD
177002011-07-01 Ulrich Drepper <drepper@gmail.com>
17701
17702 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17703 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17704 * nscd/hstcache.c (cache_addhst): Likewise.
17705 * nscd/grpcache.c (cache_addgr): Likewise.
17706 * nscd/aicache.c (addhstaiX): Likewise
17707 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17708
445b4a53
TK
177092011-07-01 Thorsten Kukuk <kukuk@suse.de>
17710
17711 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17712 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17713 * nscd/hstcache.c (cache_addhst): Likewise.
17714 * nscd/grpcache.c (cache_addgr): Likewise.
17715 * nscd/aicache.c (addhstaiX): Likewise
17716
6d4d8e8e
AS
177172011-07-01 Andreas Schwab <schwab@redhat.com>
17718
17719 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17720 domain only when needed.
17721
89f654c5
AS
177222011-06-30 Andreas Schwab <schwab@redhat.com>
17723
17724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17725 is always restored.
17726
cf3b23ff
UD
177272011-06-29 Ulrich Drepper <drepper@gmail.com>
17728
17729 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17730 are re-adding the entry.
17731 * nscd/servicescache.c (cache_addserv): Likewise.
17732
751626f9
AJ
177332011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17734
17735 * sysdeps/generic/dl-irel.h: fix protection against multiple
17736 inclusions.
17737 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17738
9113ea1f
UD
177392011-06-28 Ulrich Drepper <drepper@gmail.com>
17740
5c0b8d90
UD
17741 [BZ #12935]
17742 * malloc/memusage.sh: Fix quoting in message.
17743 * debug/xtrace.sh: Likewise.
17744
9113ea1f
UD
17745 * configure.in: Remove support for --experimental-malloc option, make
17746 it the default.
17747 * config.make.in: Likewise.
17748 * malloc/Makefile: Likewise.
17749
a4172181
AS
177502011-06-27 Andreas Schwab <schwab@redhat.com>
17751
17752 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17753 two-byte characters.
17754
78a7eee7
RM
177552011-06-27 Roland McGrath <roland@hack.frob.com>
17756
62bede13
RM
17757 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17758 AC_CACHE_CHECK invocation.
17759 * configure: Regenerated.
17760
78a7eee7
RM
17761 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17762
5ce33a62
UD
177632011-06-27 Ulrich Drepper <drepper@gmail.com>
17764
034807a9
UD
17765 [BZ #12350]
17766 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17767 bit from old_res_options.
17768
4902da17
UD
17769 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17770
5ce33a62
UD
17771 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17772 value type for setfct.
17773
c2344f56
L
177742011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17775
17776 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17777 __gettimeofday instead of gettimeofday.
17778
68468076
UD
177792011-06-26 Ulrich Drepper <drepper@gmail.com>
17780
17781 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17782
acb0d739
L
177832011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17784
17785 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17786
17787 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17788 info.
17789
8912479f
L
177902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17791
17792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17793 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17794 strcpy-sse2-unaligned strncpy-sse2-unaligned
17795 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17796 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17797 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17798 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17799 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17800 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17801 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17802 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17803 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17804 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17805 (STRCPY): Support SSE2 and SSSE3 versions.
17806
d5495a11
UD
178072011-06-24 Ulrich Drepper <drepper@gmail.com>
17808
17809 [BZ #12874]
17810 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17811 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17812 kernels which artificially limit size of requests.
17813
0b1cbaae
L
178142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17815
17816 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17817 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17818 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17819 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17820 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17821 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17822 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17823 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17824 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17825 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17826 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17827 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17828 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17829 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17830 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17832 Enable unaligned load optimization for Intel Core i3, i5 and i7
17833 processors.
17834 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17835 Define.
17836 (index_Fast_Unaligned_Load): Define.
17837 (HAS_FAST_UNALIGNED_LOAD): Define.
17838
07f494a0
MP
178392011-06-23 Marek Polacek <mpolacek@redhat.com>
17840
17841 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17842
fa3fc0fe
UD
178432011-06-22 Ulrich Drepper <drepper@gmail.com>
17844
17845 [BZ #12907]
17846 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17847 until it is clear that the information is realy needed.
17848 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17849
e12df166
AS
178502011-06-22 Andreas Schwab <schwab@redhat.com>
17851
17852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17853
852eb34d
UD
178542011-06-22 Ulrich Drepper <drepper@gmail.com>
17855
84e2a551
UD
17856 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17857 /sys/devices/system/cpu/online if it is usable.
17858
852eb34d
UD
17859 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17860 reading the information from the /proc filesystem to once a second.
17861
6e502e19
UD
178622011-06-21 Andreas Jaeger <aj@suse.de>
17863
17864 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17865 NULL after inclusion of kernel headers.
17866
75d39ff2
UD
178672011-06-21 Ulrich Drepper <drepper@gmail.com>
17868
51f9aa6a
UD
17869 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17870 calls to internal_setent.
17871
c0244a9d
UD
17872 [BZ #12885]
17873 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17874 addresses using gethostbyname4_r ignore IPv4 addresses.
17875
c5e3c2ae
UD
17876 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17877 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17878
75d39ff2
UD
17879 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17880
42675c6f
DM
178812011-06-20 David S. Miller <davem@davemloft.net>
17882
17883 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17884 inclusions.
17885 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17886
17887 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17888 (elf_irel): Use it.
17889 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17890 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17891 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17892 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17893 * sysdeps/x86_64/dl-irel.h: Likewise.
17894
17895 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17896 * elf/dl-sym.c: Likewise.
17897
57912a71
UD
178982011-06-15 Ulrich Drepper <drepper@gmail.com>
17899
17900 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17901 need to dereference resplen2.
17902
ee22793d
AS
179032011-06-14 Andreas Schwab <schwab@redhat.com>
17904
17905 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17906
a9e836b0
UD
179072011-06-15 Ulrich Drepper <drepper@gmail.com>
17908
77fb9117
UD
17909 * Makeconfig: Define vardbdir and inst_vardbdir.
17910 * nss/Makefile: Add rules to install db-Makefile.
17911
40c1b22c
UD
17912 * nss/nss_db/db-XXX.c: Cleanup.
17913
9f2da732
UD
17914 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17915 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17916 GLIBC_PRIVATE.
17917 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17918 * nss/makedb.c: Implement -g option to specify that value strings
17919 are generated and should not be added to table iterated over for
17920 get*ent calls.
17921 * nss/nss_db/db-initgroups.c: New file.
17922
82e9a1f7
UD
17923 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17924 interface.
17925
c41af17e
UD
17926 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17927 (internal_getgrouplist): Adjust to name change.
17928 Update use_initgroups_entry if this is not the first call.
17929 * nss/databases.def: Add initgroups entry.
17930
a9e836b0
UD
17931 * nss/makedb.c (compute_tables): Check result of multiple hash table
17932 sizes to minimize maximum chain length.
17933
2666d441
UD
179342011-06-14 Ulrich Drepper <drepper@gmail.com>
17935
17936 * Versions.def: Add entry for libnss_db.
17937 * shlib-versions: Likewise.
17938 * nss/Makefile: Add rules to build libnss_db.
17939 * nss/Versions: Add libnss_db information. Organize libnss_files
17940 entries better.
17941 * nss/db-Makefile: Add gshadow support. Change rules for the new
17942 makedb progra. Some minor improvements to generate smaller files.
17943 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17944 here from...
17945 * nss/makedb.c: ...here.
17946 Improve database format to be smaller and require less memory at
17947 runtime.
17948 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17949 db anymore.
17950 * nss/nss_db/db-netgrp.c: Likewise.
17951 * nss/nss_db/db-open.c: Likewise.
17952 * nss/nss_files/flies-XXX.x: Adjust comments.
17953 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17954 * nss/nss_files/files-grp.c: Likewise.
17955 * nss/nss_files/files-hosts.c: Likewise.
17956 * nss/nss_files/files-network.c: Likewise.
17957 * nss/nss_files/files-proto.c: Likewise.
17958 * nss/nss_files/files-pwd.c: Likewise.
17959 * nss/nss_files/files-rpc.c: Likewise.
17960 * nss/nss_files/files-service.c: Likewise.
17961 * nss/nss_files/files-sgrp.c: Likewise.
17962 * nss/nss_files/files-spwd.c: Likewise.
17963 * nss/nss_db/db-alias.c: Removed.
17964 * nss/nss_db/dummy-db.h: Removed.
17965
9ee76b5a
UD
179662011-06-02 Ulrich Drepper <drepper@gmail.com>
17967
17968 * nss/makedb.c: Rewritten to not use database library.
17969 * nss/Makefile: Update to build new makedb program.
17970
c71ca1f8
AJ
179712011-06-14 Andreas Jaeger <aj@suse.de>
17972
17973 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17974 memset declaration.
17975
3154bfb8
UD
179762011-06-10 Andreas Schwab <schwab@redhat.com>
17977
17978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17979 tmpbuf.
17980
b350afab
RM
179812011-06-10 Roland McGrath <roland@hack.frob.com>
17982
decd4e50
RM
17983 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17984 * elf/Makefile ($(objpfx)ld.so): Likewise.
17985
5615eaf2
RM
17986 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17987 Don't list ld.so twice in dependencies.
17988
17989 * posix/bug-regex31.c: Include <stdlib.h>.
17990
17991 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17992
17993 * nis/nss_compat/compat-spwd.c
17994 (getspent_next_nss_netgr): Remove unused variable.
17995 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17996
17997 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17998 nonmembers" output to use the right array.
17999
18000 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18001
18002 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18003
18004 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18005 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18006 * catgets/gencat.c (read_input_file): Likewise.
18007 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18008
18009 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18010 variable definition inside #if's controlling its use.
18011
18012 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18013
18014 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18015
18016 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18017
18018 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18019 unreachable code.
18020
18021 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18022
b68e08db
RM
18023 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18024 * configure: Regenerated.
18025
b350afab
RM
18026 * Makerules: Revert last change.
18027 * elf/Makefile: Likewise.
18028
28368601
RM
180292011-06-09 Roland McGrath <roland@hack.frob.com>
18030
18031 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18032 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18033 (reloc-link): Likewise.
18034
11988f8f
UD
180352011-06-09 Ulrich Drepper <drepper@gmail.com>
18036
18037 * elf/Makefile: Add rules to build pldd.
18038 * elf/pldd.c: New file.
18039 * elf/pldd-xx.c: New file.
18040
e80fab37
UD
180412011-06-07 Ulrich Drepper <drepper@gmail.com>
18042
18043 * version.h: Update for 2.15 development version.
18044
9b849836
DM
180452011-06-07 David S. Miller <davem@davemloft.net>
18046
18047 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18048 ifuncs.
18049 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18050 elf_machine_lazy_rel): Likewise.
18051 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18052 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18053 elf_machine_lazy_rel): Likewise.
18054 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18055 dl_hwcap via passed in argument.
18056 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18057 Likewise.
18058
5a31b283
AK
180592011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18060
18061 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18062
069e52f8
RM
180632011-06-06 Roland McGrath <roland@hack.frob.com>
18064
18065 [BZ #12849]
18066 * manual/fdl-1.1.texi: New file, verbatim from:
18067 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18068 * manual/lgpl-2.1.texi: New file, verbatim from:
18069 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18070 * manual/Makefile (licenses): New variable, list those new file names.
18071 (texis): Use it.
18072 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18073
18074 * manual/fdl.texi: File removed.
18075 * manual/lesser.texi: File removed.
18076 * manual/libc.texinfo (Copying, Documentation License):
18077 Use new @include file names, put @appendix directive before @include.
18078
f16846a5
JJ
180792011-06-04 Jakub Jelinek <jakub@redhat.com>
18080
18081 [BZ #12841]
18082 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18083 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18084 (mq_open): Add __NTH.
18085
3d29045b
L
180862011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18087
18088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18089 Assume Intel Core i3/i5/i7 processor if AVX is available.
18090
8c297311
UD
180912011-05-31 Ulrich Drepper <drepper@gmail.com>
18092
18093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18094 typo.
18095
c8fc0c91
UD
180962011-05-31 Andreas Schwab <schwab@redhat.com>
18097
18098 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18099 memory. Use alloca_account. Fix memory leak when retrying.
18100
5b27a807
UD
181012011-05-31 Ulrich Drepper <drepper@gmail.com>
18102
356f8bc6
UD
18103 * version.h (RELEASE): Bump for 2.14 release.
18104 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18105
5b27a807
UD
18106 * config.make.in (RANLIB): Remove entry.
18107
01f16ab0
UD
181082011-05-30 Ulrich Drepper <drepper@gmail.com>
18109
41fce8bd
UD
18110 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18111 (libc.pot): Work around missing support for .ksh extension in xgettext.
18112
4769ae77
UD
18113 [BZ #12684]
18114 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18115 if both request failed.
18116 (send_dg): In case of server errors clear resplen or *resplen2.
18117
6b1e7d19
UD
18118 [BZ #12454]
18119 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18120 when there are multiple maps.
18121 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18122 (_dl_fini): Remove test here.
18123
01f16ab0
UD
18124 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18125
b1ebd700
UD
181262011-05-29 Ulrich Drepper <drepper@gmail.com>
18127
7ae22829
UD
18128 [BZ #12350]
18129 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18130 bit from old_res_options.
18131 (gaih_inet): Likewise.
18132
553149f6 18133 [BZ #11099]
18a84741 18134 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
18135 as signed.
18136
652ffab1
UD
18137 * resolv/res_init.c (res_setoptions): Make the code more compact.
18138
16985fd0
UD
18139 [BZ #11558]
18140 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18141 set RES_USEVC.
18142
0464f746
UD
18143 [BZ #11634]
18144 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18145
7d17596c
UD
18146 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18147
cf6bbbd7
UD
18148 [BZ #11781]
18149 * malloc/malloc.h: Declare malloc hook variables as volatile.
18150
13f1ab36
UD
18151 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18152 in last patch.
18153
b1ebd700
UD
18154 [BZ #11799]
18155 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 18156 raise in the comment.
80e2212d
UD
18157 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18158 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18159 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 18160
ce67228d
UD
181612011-05-28 Ulrich Drepper <drepper@gmail.com>
18162
8887a920
UD
18163 [BZ #12811]
18164 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18165 grow the buffers more if it already has to be sufficient.
18166 (build_wcs_upper_buffer): Likewise.
18167 * posix/regexec.c (check_matching): Likewise.
18168 (clean_state_log_if_needed): Likewise.
18169 (extend_buffers): Don't enlarge buffers beyond size of the input
18170 buffer.
18171 Patches mostly by Emil Wojak <emil@wojak.eu>.
18172 * posix/bug-regex32.c: New file.
18173 * posix/Makefile (tests): Add bug-regex32.
18174
4f031072
UD
18175 * locale/findlocale.c (_nl_find_locale): Return right away if
18176 _nl_explode_name failed.
18177 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18178
d0478f0c
UD
18179 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18180
de81b246
UD
18181 * debug/xtrace.sh: Unify messages.
18182 * malloc/memusage.sh: Likewise.
18183
c738465a
UD
18184 [BZ #12813]
18185 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18186 time symbol from vDSO. Substitute with vsyscall if not available.
18187 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18188 __vdso_time.
18189
f1f929d7
UD
18190 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18191 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18192 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18193 Add sendmmsg and internal_sendmmsg.
18194 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18195 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18196 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18197
ce67228d
UD
18198 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18199 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18200 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18201
e57420c6
UD
182022011-05-27 Ulrich Drepper <drepper@gmail.com>
18203
a8509ca5
UD
18204 [BZ #12813]
18205 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18206 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18207 available.
18208 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18209 __vdso_getcpu.
18210
e57420c6
UD
18211 [BZ #12814]
18212 * iconvdata/Makefile (tests): Add bug-iconv9.
18213 * iconvdata/bug-iconv9.c: New file.
18214
4d07db15
AS
182152011-05-27 Andreas Schwab <schwab@redhat.com>
18216
18217 [BZ #12814]
18218 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18219
ea486f69
JJ
182202011-05-25 Jakub Jelinek <jakub@redhat.com>
18221
18222 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18223 (struct user_regs_struct): Change intcs field back to cs.
18224
6f038433
UD
182252011-05-25 Ulrich Drepper <drepper@gmail.com>
18226
18227 * po/ja.po: Update from translation team.
18228
67f86a25
UD
182292011-05-23 Ulrich Drepper <drepper@gmail.com>
18230
18231 [BZ #12795]
18232 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18233 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18234
def7fbd6
AS
182352011-05-20 Andreas Schwab <schwab@redhat.com>
18236
18237 * stdlib/longlong.h: Update from GCC.
18238
f50ef8f1
AS
182392011-05-23 Andreas Schwab <schwab@redhat.com>
18240
18241 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18242 parameter name.
18243 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18244 Add parameter name.
18245 (__sysconf): Pass it down.
18246
de7ce8f1
UD
182472011-05-22 Ulrich Drepper <drepper@gmail.com>
18248
f2962a71
UD
18249 [BZ #12671]
18250 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18251 some situations.
18252 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18253 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18254 add in in __libc_use_alloca calls. Adjust callers.
18255 (glob): Use malloc in some situations.
18256
de7ce8f1
UD
18257 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18258 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18259 pltexit.
18260
aec84f53
UD
182612011-05-21 Ulrich Drepper <drepper@gmail.com>
18262
05bb4a68
UD
18263 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18264 and CLOCK_BOOTTIME_ALARM.
18265
7ea72f99
UD
18266 [BZ #12782]
18267 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18268 is returned.
18269
7e4afad5
UD
18270 * string/_strerror.c (__strerror_r): Print negative errors as signed
18271 numbers.
18272
8e211fec
UD
18273 [BZ #12777]
18274 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18275 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18276 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18277
f7d82dc9
UD
18278 * configure.in: Fix typo in redirection and correct removal of test
18279 files in two cases.
18280
cc9e536d
UD
18281 [BZ #12788]
18282 * locale/setlocale.c (new_composite_name): Fix test to check for
18283 identical name of all categories.
18284
aec84f53
UD
18285 [BZ #12792]
18286 * libio/filedoalloc.c (local_isatty): New function.
18287 (_IO_file_doallocate): Use local_isatty.
18288 * stdio-common/perror.c (perror): In case a new stream is used
18289 forward the stream error.
18290 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18291 error flag.
18292
78e64fdc
RT
182932011-05-20 Ulrich Drepper <drepper@gmail.com>
18294
34a9094f
UD
18295 [BZ #11869]
18296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18297 alloca.
18298 * include/alloca.h (extend_alloca_account): Define.
18299
78e64fdc
RT
18300 [BZ #11857]
18301 * posix/regex.h: Fix comments with documentation of user-accessible
18302 fields after compilation and describe correct free'ing of pattern
18303 after re_compile_pattern.
18304 Patch by Reuben Thomas <rrt@sc3d.org>.
18305
457bddfc
RA
183062011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18307
18308 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18309 and -mno-altivec to prevent the compiler from using Altivec and/or
18310 VSX instructions when the corresponding registers are not available.
18311
a4527b51
AS
183122011-05-19 Andreas Schwab <schwab@redhat.com>
18313
18314 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18315
ed690b2f
UD
183162011-05-19 Ulrich Drepper <drepper@gmail.com>
18317
18318 * libio/freopen.c (freopen): Use __dup2, not dup2.
18319 * libio/freopen64.c (freopen64): Likewise.
18320
8db73634
L
183212011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18322
18323 [BZ #12775]
18324 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18325 * math/Makefile (tests): Add test-powl.
18326 (CFLAGS-test-powl.c): Define.
18327 * math/test-powl.c: New file.
18328
0a197a9d
L
183292011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18330
18331 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18332
ee30c380
UD
183332011-05-17 Ulrich Drepper <drepper@gmail.com>
18334
18335 [BZ #11837]
18336 * iconvdata/gb18030.c: Update to GB18020-2005.
18337
6ce75379
UD
183382011-05-16 Ulrich Drepper <drepper@gmail.com>
18339
a4b89fd8
AR
18340 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18341 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18342 Patch by Aharon Robbins <arnold@skeeve.com>.
18343
ea389b12
UD
18344 [BZ #11892]
18345 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18346 on the stack.
18347
68a3f91f
UD
18348 [BZ #11895]
18349 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18350 through underflows.
18351
15cc7dd1
UD
18352 [BZ #12766]
18353 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18354 point to strings before performing equality test for error_one_per_line
18355 mode.
18356
f3799213
UD
18357 [BZ #11697]
18358 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18359
d79a9c94
UD
18360 [BZ #11820]
18361 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18362 (struct user_fpregs_struct): Avoid __uint*_t types.
18363
56e5eb46
UD
18364 [BZ #6420]
18365 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18366 symbol info. Use it instead of calling _dl_addr locally.
18367 (lock_and_info): New function.
18368 (tr_freehook): Call lock_and_info and pass symbol info as additional
18369 parameter to tr_where.
18370 (tr_mallochook): Likewise.
18371 (tr_reallochook): Likewise.
18372 (tr_memalignhook): Likewise.
18373
6ce75379
UD
18374 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18375 used and couldn't be at all thread-safe.
18376
f8a3b5bf
UD
183772011-05-15 Ulrich Drepper <drepper@gmail.com>
18378
94b7cc37
UD
18379 * libio/freopen.c (freopen): Don't close old file descriptor
18380 before the new one is opened. Instead dup the new file descriptor
18381 to the old one after the new stream is created.
18382 * libio/freopen64.c (freopen64): Likewise.
18383 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18384 * libio/fileops.c (_IO_new_file_close_it): Handle new
18385 _IO_FLAGS2_NOCLOSE flag.
18386 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18387 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18388 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18389 _IO_FLAGS2_NOCLOSE flag.
18390 * include/unistd.h: Add hidden_proto for dup3.
18391 Define __have_dup3.
18392 * io/dup3.c: Define hidden symbol.
18393 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18394
bd25564e
UD
18395 [BZ #7101]
18396 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18397 when an incomplete long option is used.
18398 * posix/tst-getopt_long1.c: New file.
18399 * posix/Makefile (tests): Add tst-getopt_long1.
18400
c84cfef4
UD
18401 [BZ #10138]
18402 * scripts/config.guess: Update from autoconf-2.68.
18403 * scripts/config.sub: Likewise.
18404
3b85df27
UD
18405 [BZ #10157]
18406 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18407 tests into ...
18408 (has_cpuclock): ...this. New function.
18409 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18410 macro here based on has_cpuclock code.
18411
15a856b1
UD
18412 [BZ #10149]
18413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18414 First byte (not low byte) is now always NUL.
18415 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18416
05f399e6
UD
18417 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18418 Use non-cancelable interfaces.
18419
10a52685 18420 [BZ #9809]
94ecc67d
UD
18421 * locale/iso-639.def: Add entry for Sorani.
18422
f8a3b5bf
UD
18423 [BZ #11901]
18424 * include/stdlib.h: Move include protection to the right place.
18425 Define abort_msg_s. Declare __abort_msg with it.
18426 * stdlib/abort.c (__abort_msg): Adjust type.
18427 * assert/assert.c (__assert_fail_base): New function. Majority
18428 of code from __assert_fail. Allocate memory for __abort_msg with
18429 mmap.
18430 (__assert_fail): Now call __assert_fail_base.
18431 * assert/assert-perr.c: Remove bulk of implementation. Use
18432 __assert_fail_base.
18433 * include/assert.hL Declare __assert_fail_base.
18434 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18435 mmap.
18436 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18437
1af4e298
UD
184382011-05-14 Ulrich Drepper <drepper@gmail.com>
18439
f8a3b5bf 18440 [BZ #11952]
d26dfc60
MG
18441 [BZ #12453]
18442 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18443 until all modules are registered in the DTV.
18444 * elf/Makefile: Add rules to build and run tst-tls19.
18445 * elf/tst-tls19.c: New file.
18446 * elf/tst-tls19mod1.c: New file.
18447 * elf/tst-tls19mod2.c: New file.
18448 * elf/tst-tls19mod3.c: New file.
18449 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18450
2fc54d6f
UD
18451 [BZ #12083]
18452 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18453 correctly.
18454
98d76b46
UD
18455 [BZ #12601]
18456 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18457 two-byte sequence errors.
18458 * iconvdata/Makefile (tests): Add bug-iconv8.
18459 * iconvdata/bug-iconv8.c: New file.
18460
da3c19ef
UD
18461 [BZ #12626]
18462 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18463 buf2 definition.
18464
ca408c15
UD
18465 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18466
d6f67f7d
UD
18467 [BZ #12432]
18468 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18469 (dummy_getcfa): New function.
18470 (init): Get _Unwind_GetCFA address, use dummy if not found.
18471 (backtrace_helper): In recursion check, also check whether CFA changes.
18472 (__backtrace): Completely initialize arg.
18473
1af4e298 18474 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18475 storing incomplete byte sequence in state object. Avoid testing for
18476 guaranteed too small input if we know there is enough data available.
1af4e298 18477
da62f81b
AS
184782011-05-11 Andreas Schwab <schwab@redhat.com>
18479
18480 * Makeconfig (+link-pie): Indent.
18481 * Rules (binaries-pie): Define if $(have-fpie) and
18482 $(build-shared).
18483 (binaries-shared): Also filter out $(binaries-pie).
18484 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18485 * nscd/Makefile (others-pie): Add nscd.
18486 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18487 ($(objpfx)nscd): Remove command override.
18488 * login/Makefile (others-pie): Add pt_chown.
18489 ($(objpfx)pt_chown): Remove command override.
18490 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18491 remove command overrides.
18492
fcabc0f8
UD
184932011-05-13 Ulrich Drepper <drepper@gmail.com>
18494
20030ae6
UD
18495 * libio/tst_putwc.c: Fix error messages.
18496
fcabc0f8
UD
18497 [BZ #12724]
18498 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18499 currently writing and seek to current position when not.
18500 * libio/Makefile (tests): Add bug-fclose1.
18501 * libio/bug-fclose1.c: New file.
18502
320a5dc0
PB
185032011-05-12 Ulrich Drepper <drepper@gmail.com>
18504
18505 [BZ #12511]
18506 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18507 don't set DF_1_NODELETE here.
18508 (do_lookup_x): When entering new entry test for copy relocation
18509 and if necessary set DF_1_NODELETE flag.
18510 * elf/tst-unique4.cc: New file.
18511 * elf/tst-unique4.h: New file.
18512 * elf/tst-unique4lib.cc: New file.
18513 * elf/Makefile: Add rules to build and run tst-unique4.
18514 Patch by Piotr Bury <pbury@goahead.com>.
18515
22836f52
UD
185162011-05-11 Ulrich Drepper <drepper@gmail.com>
18517
f574184a
UD
18518 [BZ #12052]
18519 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18520
e1fb097f
UD
18521 [BZ #12625]
18522 * misc/mntent_r.c (addmntent): Flush the stream after the output
18523
22836f52
UD
18524 [BZ #12393]
18525 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18526 (is_trusted_path_normalize): Skip initial colon. Append slash
18527 to empty buffer. Duplicate is_trusted_path code but allow
18528 constructed patch to be prefix.
18529 (is_dst): Allow $ORIGIN followed by /.
18530 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18531 Correct testing of result of is_trusted_path_normalize
18532 (decompose_rpath): Fix warning.
18533
7b3b0b2a
UD
185342011-05-10 Ulrich Drepper <drepper@gmail.com>
18535
18536 [BZ #11257]
18537 * grp/initgroups.c (internal_getgrouplist): When we found the service
18538 list through the initgroups entry in nsswitch.conf do not always
18539 continue on a successful lookup. Don't always use the
eac80ce2 18540 __nss_group_database value if it is set.
7b3b0b2a
UD
18541 * nss/nsswitch.conf (initgroups): Change action for successful db
18542 lookup to continue for compatibility.
18543
2a81eaa5
UD
185442011-05-09 Ulrich Drepper <drepper@gmail.com>
18545
be97a69e
UD
18546 [BZ #11532]
18547 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18548 and CP774 modules.
18549 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18550 and CP774 modules.
18551 * iconvdata/tst-tables.sh: Likewise.
18552 * iconvdata/cp770.c: New file.
18553 * iconvdata/cp771.c: New file.
18554 * iconvdata/cp772.c: New file.
18555 * iconvdata/cp773.c: New file.
18556 * iconvdata/cp774.c: New file.
18557 * iconvdata/testdata/CP770: New file.
18558 * iconvdata/testdata/CP770..UTF8: New file.
18559 * iconvdata/testdata/CP771: New file.
18560 * iconvdata/testdata/CP771..UTF8: New file.
18561 * iconvdata/testdata/CP772: New file.
18562 * iconvdata/testdata/CP772..UTF8: New file.
18563 * iconvdata/testdata/CP773: New file.
18564 * iconvdata/testdata/CP773..UTF8: New file.
18565 * iconvdata/testdata/CP774: New file.
18566 * iconvdata/testdata/CP774..UTF8: New file.
18567
18568 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18569 END CHARMAP line.
18570 * iconvdata/gen-8bit-gap.sh: Likewise.
18571 * iconvdata/gen-8bit.sh: Likewise.
18572
c1e9e399
UD
18573 * locale/iso-639.def: Add ary entry.
18574
24c55fb3 18575 [BZ #11258]
96b4b1b0
UD
18576 * locale/C-translit.h.in: Add U20A1 transliteration.
18577
bdc2f971
KB
18578 [BZ #12178]
18579 * locale/iso-639.def: Add wae entry.
18580 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18581
2952b117
UD
18582 [BZ #12545]
18583 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18584 for n.
18585
2a81eaa5
UD
18586 [BZ #12711]
18587 * locale/C-translit.h.in: Add entry for U20B9.
18588 Patch by pravin.d.s@gmail.com.
18589
28377d1b
UD
185902011-05-08 Ulrich Drepper <drepper@gmail.com>
18591
7fb90fb8
UD
18592 [BZ #12713]
18593 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18594 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18595 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18596 in rtld. Use *stat64.
7fb90fb8 18597 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18598 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18599 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18600 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18601 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18602 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18603 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18604 __fstatat64 macros.
7fb90fb8
UD
18605 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18606 * dirent/rewinddir.c: Add libc_hidden_def.
18607 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18608 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18609
28377d1b
UD
18610 * include/dirent.h (__alloc_dir): Add flags parameter.
18611 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18612 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18613 __alloc_dir.
18614 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18615 from fdopendir if O_CLOEXEC is already set.
18616
66bdbaa4
AM
186172011-03-15 Alan Modra <amodra@gmail.com>
18618
18619 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18620 l_tls_firstbyte_offset non-zero. Save padding offset in
18621 l_tls_firstbyte_offset for later use.
18622 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18623 freeing static tls block.
18624
95721191
JN
186252011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18626
18627 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18628 where #ifdef was intended. The intent is to prevent ARG_MAX from
18629 being defined by the kernel headers.
18630
f87dfb1f
UD
186312011-05-07 Ulrich Drepper <drepper@gmail.com>
18632
18633 [BZ #12734]
18634 * resolv/resolv.h: Define RES_NOTLDQUERY.
18635 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18636 no-tld-query and set RES_NOTLDQUERY.
18637 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18638 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18639 modern BIND to search name as TLD unless forbidden.
18640
47c3cd7a
UD
186412011-05-07 Petr Baudis <pasky@suse.cz>
18642 Ulrich Drepper <drepper@gmail.com>
18643
18644 [BZ #12393]
18645 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18646 (is_trusted_path): ...to here.
c1e9ea35 18647 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18648 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18649 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18650
8a35c912
PP
186512011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18652
18653 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18654 __BEGIN/__END_DECLS.
18655
acd41f47
UD
186562011-05-06 Ulrich Drepper <drepper@gmail.com>
18657
18658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18659 NSS_STATUS_NOTFOUND if no record was found.
18660
597df647
AS
186612011-05-05 Andreas Schwab <schwab@redhat.com>
18662
18663 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18664 (headers-not-in-tirpc): Remove rpc/netdb.h
18665 * resolv/netdb.h: Revert last change.
18666
b9af1301
PP
186672011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18668
18669 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18670 circular dependency between libgcc.a and libc.a.
18671
4e34d5f5
AS
186722011-05-05 Andreas Schwab <schwab@redhat.com>
18673
18674 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18675 * nis/Makefile: Don't install rpcsvc/*.
18676 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18677 instead of <rpc/types.h>.
18678 (MAXHOSTNAMELEN): Define.
18679
00ee369c
AS
186802011-05-03 Andreas Schwab <schwab@redhat.com>
18681
18682 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18683
0b592a30
MB
186842011-04-28 Maciej Babinski <mbabinski@google.com>
18685
18686 [BZ #12714]
18687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18688 gethostbyname4_r when IPv6 results are possible.
18689
6e04cbbe
UD
186902011-05-02 Ulrich Drepper <drepper@gmail.com>
18691
18692 [BZ #12723]
18693 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18694 _PC_PIPE_BUF handling.
18695
e4ecafe0
BH
186962011-04-30 Bruno Haible <bruno@clisp.org>
18697
18698 [BZ #12717]
18699 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18700 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18701 to 'int'.
18702 * inet/getnameinfo.c (getnameinfo): Likewise.
18703
125ee683
UD
187042011-04-29 Ulrich Drepper <drepper@gmail.com>
18705
18706 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18707 to groups setting in database lookup.
18708 * nss/nsswitch.conf: Add initgroups entry.
18709
b722481a
EB
187102011-04-22 Ulrich Drepper <drepper@gmail.com>
18711
18712 [BZ #12685]
18713 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18714 mode string.
18715 Patch by Eric Blake <eblake@redhat.com>.
18716
4df46dbd
L
187172011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18718
18719 * sunrpc/Makefile (need-export-routines): Add svc_run.
18720 (routines): Remove svc_run.
18721 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18722 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18723 * sunrpc/svc_run.c (svc_run): Likewise.
18724 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18725
e84142d2
UD
187262011-04-21 Ulrich Drepper <drepper@gmail.com>
18727
18728 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18729 problem in reallocation in last patch.
18730
877175d8
UD
187312011-04-20 Ulrich Drepper <drepper@gmail.com>
18732
18733 * sunrpc/Makefile: Move inclusion of Rules.
18734
ab8eed78
UD
187352011-04-19 Ulrich Drepper <drepper@gmail.com>
18736
18737 * nss/nss_files/files-initgroups.c: New file.
18738 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18739 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18740 _nss_files_initgroups_dyn.
18741
e3d8f584
RS
187422011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18743
18744 * elf/elf.h (R_ARM_IRELATIVE): Define.
18745
af190f45
UD
187462011-04-19 Ulrich Drepper <drepper@gmail.com>
18747
18748 * po/ru.po: Update from translation team.
18749
53cf59ef
UD
187502011-04-17 Ulrich Drepper <drepper@gmail.com>
18751
18752 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18753 dependencies.
18754
4c559bcd
MF
187552011-02-06 Mike Frysinger <vapier@gentoo.org>
18756
18757 [BZ #12653]
18758 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18759 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18760 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18761 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18762 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18763
4420675c
AS
187642011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18765
18766 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18767 differing bytes.
18768 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18769 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18770 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18771
75ea32ab
UD
187722011-04-17 Ulrich Drepper <drepper@gmail.com>
18773
18774 [BZ #12420]
18775 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18776 storing it.
18777 * stdlib/bug-getcontext.c: New file.
18778 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18779
27390476
AK
187802011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18781
18782 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18783 instructions into .machine "z9-109".
18784 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18785 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18786
10442705
AK
187872011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18788
18789 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18790 between environment variables and auxiliary vector.
18791
7b57bfe5
UD
187922011-04-16 Ulrich Drepper <drepper@gmail.com>
18793
18794 * Makefile: Add rules to build linkobj/libc.so.
18795 * include/libc-symbols.h: Define libc_hidden_nolink.
18796 * include/rpc/auth.h: Mark functions which are to be hidden.
18797 * include/rpc/auth_des.h: Likewise.
18798 * include/rpc/auth_unix.h: Likewise.
18799 * include/rpc/clnt.h: Likewise.
18800 * include/rpc/des_crypt.h: Likewise.
18801 * include/rpc/key_prot.h: Likewise.
18802 * include/rpc/pmap_clnt.h: Likewise.
18803 * include/rpc/pmap_prot.h: Likewise.
18804 * include/rpc/pmap_rmt.h: Likewise.
18805 * include/rpc/rpc_msg.h: Likewise.
18806 * include/rpc/svc.h: Likewise.
18807 * include/rpc/svc_auth.h: Likewise.
18808 * include/rpc/xdr.h: Likewise.
18809 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18810 * nss/Makefile: Likewise.
18811 * sunrpc/Makefile: Don't install headers. Build library with normal
18812 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18813 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18814 for the compat linking library. Remove use of INTDEF/INTUSE.
18815 * sunrpc/auth_none.c: Likewise.
18816 * sunrpc/auth_unix.c: Likewise.
18817 * sunrpc/authdes_prot.c: Likewise.
18818 * sunrpc/authuxprot.c: Likewise.
18819 * sunrpc/clnt_gen.c: Likewise.
18820 * sunrpc/clnt_perr.c: Likewise.
18821 * sunrpc/clnt_raw.c: Likewise.
18822 * sunrpc/clnt_simp.c: Likewise.
18823 * sunrpc/clnt_tcp.c: Likewise.
18824 * sunrpc/clnt_udp.c: Likewise.
18825 * sunrpc/clnt_unix.c: Likewise.
18826 * sunrpc/des_crypt.c: Likewise.
18827 * sunrpc/des_soft.c: Likewise.
18828 * sunrpc/get_myaddr.c: Likewise.
18829 * sunrpc/key_call.c: Likewise.
18830 * sunrpc/key_prot.c: Likewise.
18831 * sunrpc/netname.c: Likewise.
18832 * sunrpc/pm_getmaps.c: Likewise.
18833 * sunrpc/pm_getport.c: Likewise.
18834 * sunrpc/pmap_clnt.c: Likewise.
18835 * sunrpc/pmap_prot.c: Likewise.
18836 * sunrpc/pmap_prot2.c: Likewise.
18837 * sunrpc/pmap_rmt.c: Likewise.
18838 * sunrpc/publickey.c: Likewise.
18839 * sunrpc/rpc_cmsg.c: Likewise.
18840 * sunrpc/rpc_common.c: Likewise.
18841 * sunrpc/rpc_dtable.c: Likewise.
18842 * sunrpc/rpc_prot.c: Likewise.
18843 * sunrpc/rpc_thread.c: Likewise.
18844 * sunrpc/rtime.c: Likewise.
18845 * sunrpc/svc.c: Likewise.
18846 * sunrpc/svc_auth.c: Likewise.
18847 * sunrpc/svc_authux.c: Likewise.
18848 * sunrpc/svc_raw.c: Likewise.
18849 * sunrpc/svc_run.c: Likewise.
18850 * sunrpc/svc_simple.c: Likewise.
18851 * sunrpc/svc_tcp.c: Likewise.
18852 * sunrpc/svc_udp.c: Likewise.
18853 * sunrpc/svc_unix.c: Likewise.
18854 * sunrpc/svcauth_des.c: Likewise.
18855 * sunrpc/xcrypt.c: Likewise.
18856 * sunrpc/xdr.c: Likewise.
18857 * sunrpc/xdr_array.c: Likewise.
18858 * sunrpc/xdr_float.c: Likewise.
18859 * sunrpc/xdr_intXX_t.c: Likewise.
18860 * sunrpc/xdr_mem.c: Likewise.
18861 * sunrpc/xdr_rec.c: Likewise.
18862 * sunrpc/xdr_ref.c: Likewise.
18863 * sunrpc/xdr_sizeof.c: Likewise.
18864 * sunrpc/xdr_stdio.c: Likewise.
18865
e6c61494
UD
188662011-04-10 Ulrich Drepper <drepper@gmail.com>
18867
18868 [BZ #12650]
18869 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18870 * sysdeps/ia64/dl-tls.h: Likewise.
18871 * sysdeps/powerpc/dl-tls.h: Likewise.
18872 * sysdeps/s390/dl-tls.h: Likewise.
18873 * sysdeps/sh/dl-tls.h: Likewise.
18874 * sysdeps/sparc/dl-tls.h: Likewise.
18875 * sysdeps/x86_64/dl-tls.h: Likewise.
18876 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18877
34fe483e
AS
188782011-03-14 Andreas Schwab <schwab@redhat.com>
18879
18880 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18881 rpath element also skip the following colon.
18882 (expand_dynamic_string_token): Add is_path parameter and pass
18883 down to DL_DST_REQUIRED and _dl_dst_substitute.
18884 (decompose_rpath): Call expand_dynamic_string_token with
18885 non-zero is_path. Ignore empty rpaths.
18886 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18887 with zero is_path.
18888
f12a32e6
AS
188892011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18890
18891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18892 Make cancelable.
18893
38a7d692
UD
188942011-04-09 Ulrich Drepper <drepper@gmail.com>
18895
18896 [BZ #12655]
18897 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18898 Patch by Filipe David Manana <fdmanana@apache.org>.
18899
e451d22b
AS
189002011-04-07 Andreas Schwab <schwab@redhat.com>
18901
18902 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18903 Maintain aligned stack.
18904 (CHECK_RSP): Remove unused macro.
18905
dedc7c7b
UD
189062011-04-03 Ulrich Drepper <drepper@gmail.com>
18907
18908 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18909 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18910
94521213
UD
189112011-04-02 Ulrich Drepper <drepper@gmail.com>
18912
18913 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18914
8cb700c0 18915 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18916
0354e355
L
189172011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18918
18919 [BZ #12518]
18920 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18921 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18922 * sysdeps/x86_64/memmove.c: New file.
18923 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18924 (memcpy): Renamed to ...
18925 (__new_memcpy): This.
18926 (memcpy): Provide GLIBC_2_14 memcpy.
18927 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18928 (memcpy): Provide GLIBC_2_2_5 memcpy.
18929
8593482f
UD
189302011-04-01 Ulrich Drepper <drepper@gmail.com>
18931
18932 [BZ #12631]
18933 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18934
81a5726b
AS
189352011-03-30 Andreas Schwab <schwab@redhat.com>
18936
18937 * misc/syncfs.c: New file.
18938 * misc/Makefile (routines): Add syncfs.
18939 * posix/unistd.h: Declare syncfs.
18940 * sysdeps/unix/syscalls.list: Add syncfs.
18941
00e5419f
AS
189422011-04-01 Andreas Schwab <schwab@redhat.com>
18943
18944 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18945 open_by_handle_at.
18946 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18947 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18948 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18949 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18950 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18951 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18952 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18953
748876bf
UD
189542011-04-01 Ulrich Drepper <drepper@gmail.com>
18955
658e451d
UD
18956 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18957 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18958 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18959 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18960 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18962 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18963
748876bf
UD
18964 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18965 sync_file_range.c with -fexceptions.
18966 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18967 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18968 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18969 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18970 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18971 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18973 sync_file_range as cancellation point
18974 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18975 now a wrapper around __call_sync_file_range with cancellation handling.
18976 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18977 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18978 function name to __call_sync_file_range.
18979 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18980 Add call_sync_file_range.
748876bf 18981
6e63d5e1
AS
189822011-04-01 Andreas Schwab <schwab@redhat.com>
18983
18984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18985 bits/timex.h.
6e63d5e1 18986
46998f74
UD
189872011-04-01 Ulrich Drepper <drepper@gmail.com>
18988
4c1423ed
UD
18989 * iconv/iconv.h: Fix typo in comment.
18990 * io/fcntl.h: Likewise.
18991 * libio/stdio.h: Likewise.
18992 * posix/spawn.h: Likewise.
18993 * posix/unistd.h: Likewise.
18994 * stdlib/stdlib.h: Likewise.
18995 * time/time.h: Likewise.
18996 * wcsmbs/wchar.h: Likewise.
18997
158648c0
UD
18998 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18999 open_by_handle): Add.
19000 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19001 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19002 Augment a few comments.
19003 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19004 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19005 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19007 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19008 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19009 open_by_handle.
19010
46998f74
UD
19011 * io/fcntl.h (AT_EMPTY_PATH): Define.
19012
83fe108b
UD
190132011-03-30 Ulrich Drepper <drepper@gmail.com>
19014
19015 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19016 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19017 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19018 to...
19019 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
19020 * Versions.def: Add GLIBC_2.14.
19021 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19022 Export.
83fe108b 19023
bb242059
UD
190242011-03-22 Ulrich Drepper <drepper@gmail.com>
19025
19026 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19027 round counter.
19028 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19029
c97a1282
L
190302011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19031
19032 [BZ #12597]
19033 * string/test-strncmp.c (do_page_test): New function.
19034 (check2): Likewise.
19035 (test_main): Call check2.
19036 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19037
2a115601
UD
190382011-03-20 Ulrich Drepper <drepper@gmail.com>
19039
19040 [BZ #12587]
19041 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19042 Handle cache information in CPU leaf 4.
19043 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19044
8126d904
UD
190452011-03-18 Ulrich Drepper <drepper@gmail.com>
19046
042c49c6 19047 [BZ #12583]
8126d904
UD
19048 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19049 character representation.
19050 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19051
ccfe366e
RA
190522011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19053
19054 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19055 END(__isnan) to END(__isnanf) to match function entry point/label
19056 EALIGN(__isnanf,...).
19057
c6e13027
JJ
190582011-03-10 Jakub Jelinek <jakub@redhat.com>
19059
19060 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19061
33f85a3f
UD
190622011-03-10 Ulrich Drepper <drepper@gmail.com>
19063
028478fa
UD
19064 [BZ #12510]
19065 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19066 copy from the symbol referenced in the relocation to initialize the
19067 used variable.
19068 Patch by Piotr Bury <pbury@goahead.com>.
19069 * elf/Makefile: Add rules to build and tst-unique3.
19070 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19071 * elf/tst-unique3.cc: New file.
19072 * elf/tst-unique3.h: New file.
19073 * elf/tst-unique3lib.cc: New file.
19074 * elf/tst-unique3lib2.cc: New file.
19075
33f85a3f
UD
19076 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19077
03592fc7
MF
190782011-03-10 Mike Frysinger <vapier@gentoo.org>
19079
19080 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19081 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19082 to _start.
03592fc7 19083
6a5ee102
UD
190842011-03-06 Ulrich Drepper <drepper@gmail.com>
19085
19086 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19087 to-be-loaded object along a path to loader is ld.so.
19088
7e4ba49c
HJ
190892011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19090 Ulrich Drepper <drepper@gmail.com>
19091
19092 * sysdeps/x86_64/memset.S: After aligning destination, code
19093 branches to different locations depending on the value of
19094 misalignment, when multiarch is enabled. Fix this.
19095
190962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19097
19098 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19099 Set _x86_64_preferred_memory_instruction for AMD processsors.
19100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19101 Set bit_Prefer_SSE_for_memop for AMD processors.
19102
13a804de
UD
191032011-03-04 Ulrich Drepper <drepper@gmail.com>
19104
19105 * libio/fmemopen.c (fmemopen): Optimize a bit.
19106
9d25c392
AS
191072011-03-03 Andreas Schwab <schwab@redhat.com>
19108
19109 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19110
a5543c6a
RM
191112011-03-03 Roland McGrath <roland@redhat.com>
19112
19113 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19114
012d35f7
DM
191152011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19116
7e4ba49c 19117 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
19118 __bzero_ultra1 instead of __memset_ultra1.
19119
4bff6e01
AS
191202011-02-23 Andreas Schwab <schwab@redhat.com>
19121 Ulrich Drepper <drepper@gmail.com>
19122
19123 [BZ #12509]
19124 * include/link.h (struct link_map): Add l_orig_initfini.
19125 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19126 returning unsuccessfully.
19127 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19128 close of a file loaded at startup, restore the original l_initfini
19129 list.
19130 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19131 list, store the pointer.
19132 * elf/Makefile ($(objpfx)noload-mem): New rule.
19133 (noload-ENV): Define.
19134 (tests): Add $(objpfx)noload-mem.
19135 * elf/noload.c: Include <memcheck.h>.
19136 (main): Call mtrace. Close all opened handles.
19137
f2092faf
AS
191382011-02-17 Andreas Schwab <schwab@redhat.com>
19139
19140 [BZ #12454]
19141 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19142 dependencies are missing.
19143
6c8a2e88
ST
191442011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19145
f2092faf 19146 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
19147 Hurd needs munmap.
19148 * sysdeps/mach/hurd/ifreq.h: New file.
19149
84a42118
PB
191502011-01-27 Petr Baudis <pasky@suse.cz>
19151 Ulrich Drepper <drepper@gmail.com>
19152
071f805e 19153 [BZ 12445]#
84a42118
PB
19154 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19155 to extend_alloca().
19156 * stdio-common/bug23.c: New file.
19157 * stdio-common/Makefile (tests): Add bug23.
19158
e23fe25b
AS
191592010-09-28 Andreas Schwab <schwab@redhat.com>
19160 Ulrich Drepper <drepper@gmail.com>
19161
19162 [BZ #12489]
19163 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19164 before performing relro protection. At old place add assertion
19165 to make sure nothing changed.
19166
d3f02e10
NS
191672011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19168 Glauber de Oliveira Costa <glommer@gmail.com>
19169
19170 * elf/elf.h: Add new ARM TLS relocs.
19171
d55fd7a5
RA
191722011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19173
19174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19175 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19176 cast from r3.
19177 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19178 'tests' variable.
19179 * sysdeps/wordsize-64/tst-writev.c: New file.
19180
2206397e
RA
191812011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19182
19183 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19184 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19185 insns in _dl_start to prevent a TOC reference before relocs are
19186 resolved.
19187
e9433893
UD
191882011-02-15 Ulrich Drepper <drepper@gmail.com>
19189
19190 [BZ #12469]
19191 * Makeconfig: Remove RANLIB definition.
19192 * Makerules: Don't use RANLIB.
19193 * aclocal.m4: Remove ranlib test.
19194 * configure.in: No need to check for ranlib.
19195 * elf/rtld-Rules: Don't use RANLIB.
19196
f75286c6
ST
191972011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19198
8e31c82d
ST
19199 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19200 protection macro.
19201 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19202 inclusion protection macro.
19203
f75286c6
ST
19204 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19205 SIGRTMIN and SIGRTMAX and print information in that case only when
19206 SIGRTMIN is defined.
19207
c1d0e639
JJ
192082011-02-11 Jakub Jelinek <jakub@redhat.com>
19209
19210 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19211 arginfo fn returning -1.
19212
19213 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19214 and thousands string is zero terminated.
19215
edf9294e
AS
192162011-02-03 Andreas Schwab <schwab@redhat.com>
19217
19218 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19219 sysdeps/unix/sysv/linux/bits/socket.h.
19220
2b7e92df
ST
192212011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19222
edf9294e
AS
19223 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19224 (__CPU_COUNT): Remove old macros.
19225 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19226 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19227 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
19228 (__sched_cpualloc, __sched_cpufree): Add declarations.
19229
a4c7ea7b
UD
192302011-02-05 Ulrich Drepper <drepper@gmail.com>
19231
19232 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19233 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19234 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19235 (readdhstai): Return value of addhstaiX call.
19236 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19237 (addgrbyX): Return value returned by cache_addgr.
19238 (readdgrbyname): Return value returned by addgrbyX.
19239 (readdgrbygid): Likewise.
19240 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19241 (addpwbyX): Return value returned by cache_addpw.
19242 (readdpwbyname): Return value returned by addhstbyX.
19243 (readdpwbyuid): Likewise.
19244 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19245 (addservbyX): Return value returned by cache_addserv.
19246 (readdservbyname): Return value returned by addservbyX:
19247 (readdservbyport): Likewise.
19248 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19249 (addhstbyX): Return value returned by cache_addhst.
19250 (readdhstbyname): Return value returned by addhstbyX.
19251 (readdhstbyaddr): Likewise.
19252 (readdhstbynamev6): Likewise.
19253 (readdhstbyaddrv6): Likewise.
19254 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19255 (readdinitgroups): Return value returned by addinitgroupsX.
19256 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19257 (prune_cache): Keep track of timeout value of re-added entries.
19258 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19259 * nscd/nscd.h: Adjust prototypes of readd* functions.
19260
a0bf67cc
RM
192612011-02-04 Roland McGrath <roland@redhat.com>
19262
19263 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19264 (nis_stats): Likewise.
19265 * nis/nis_modify.c (nis_modify): Likewise.
19266 * nis/nis_remove.c (nis_remove): Likewise.
19267 * nis/nis_add.c (nis_add): Likewise.
19268
19269 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19270
19271 * posix/fnmatch_loop.c: Add some consts.
19272
19273 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19274
435b95eb
L
192752011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19276
19277 [BZ #12460]
19278 * config.make.in (config-cflags-novzeroupper): Define.
19279 * configure.in: Substitute libc_cv_cc_novzeroupper.
19280 * elf/Makefile (AVX-CFLAGS): Define.
19281 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19282 (CFLAGS-tst-auditmod4a.c): Likewise.
19283 (CFLAGS-tst-auditmod4b.c): Likewise.
19284 (CFLAGS-tst-auditmod6b.c): Likewise.
19285 (CFLAGS-tst-auditmod6c.c): Likewise.
19286 (CFLAGS-tst-auditmod7b.c): Likewise.
19287 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19288
8517b15e
UD
192892011-02-02 Ulrich Drepper <drepper@gmail.com>
19290
19291 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19292 function to the callback.
19293 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19294
10a656fe
AS
192952011-02-02 Andreas Schwab <schwab@redhat.com>
19296
19297 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19298 of errno.
19299
968dad0a
UD
193002011-01-19 Ulrich Drepper <drepper@gmail.com>
19301
9f94d2ea 19302 [BZ #11724]
968dad0a
UD
19303 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19304 of constructors.
19305 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19306 of destructors.
19307 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19308
19309 [BZ #11724]
19310 * elf/Makefile: Add rules to build and run new test.
19311 * elf/tst-initorder.c: New file.
19312 * elf/tst-initorder.exp: New file.
19313 * elf/tst-initordera1.c: New file.
19314 * elf/tst-initordera2.c: New file.
19315 * elf/tst-initordera3.c: New file.
19316 * elf/tst-initordera4.c: New file.
19317 * elf/tst-initorderb1.c: New file.
19318 * elf/tst-initorderb2.c: New file.
19319 * elf/tst-order-a1.c: New file.
19320 * elf/tst-order-a2.c: New file.
19321 * elf/tst-order-a3.c: New file.
19322 * elf/tst-order-a4.c: New file.
19323 * elf/tst-order-b1.c: New file.
19324 * elf/tst-order-b2.c: New file.
19325 * elf/tst-order-main.c: New file.
19326 New test case by George Gensure <werkt0@gmail.com>.
19327
86e92359
UD
193282010-10-01 Andreas Schwab <schwab@redhat.com>
19329
19330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19331 decoding ACE if AI_CANONIDN.
19332
5d5732b0
UD
193332011-01-18 Ulrich Drepper <drepper@gmail.com>
19334
19335 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19336
a77e8cbc
UD
193372011-01-17 Ulrich Drepper <drepper@gmail.com>
19338
6392473f
UD
19339 * version.h (RELEASE): Bump for 2.13 release.
19340 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19341
620a0529
UD
19342 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19343
18ba70a5
UD
19344 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19345 MADV_NOHUGEPAGE.
32465c3e
UD
19346 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19347 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19348 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19349 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19350 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19351 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19352
c0dafcf1
UD
19353 * posix/getconf.c: Update copyright year.
19354 * catgets/gencat.c: Likewise.
19355 * csu/version.c: Likewise.
19356 * debug/catchsegv.sh: Likewise.
19357 * debug/xtrace.sh: Likewise.
19358 * elf/ldconfig.c: Likewise.
19359 * elf/ldd.bash.in: Likewise.
19360 * elf/sprof.c (print_version): Likewise.
19361 * iconv/iconv_prog.c: Likewise.
19362 * iconv/iconvconfig.c: Likewise.
19363 * locale/programs/locale.c: Likewise.
19364 * locale/programs/localedef.c: Likewise.
19365 * malloc/memusage.sh: Likewise.
19366 * malloc/mtrace.pl: Likewise.
19367 * nscd/nscd.c (print_version): Likewise.
19368 * nss/getent.c: Likewise.
19369
a77e8cbc
UD
19370 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19371 PF_CAIF, and PF_ALG.
19372 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19373
77e8bddf
AS
193742011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19375
1f20b93a
AS
19376 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19377 (modules-names): Use them.
19378 (ifunc-test-modules, ifunc-pie-tests): Define.
19379 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19380 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19381 (test-extras): Likewise.
19382 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19383 $(compile-command.c).
19384 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19385 (all-built-dso): Define.
19386 (check-textrel.out, check-execstack.out): Depend on it.
19387
77e8bddf
AS
19388 * configure.in: Don't override --enable-multi-arch.
19389
bc425b33
UD
193902011-01-15 Ulrich Drepper <drepper@gmail.com>
19391
19392 [BZ #6812]
19393 * nscd/hstcache.c (tryagain): Define.
19394 (cache_addhst): Return tryagain not notfound for temporary errors.
19395 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19396 failed.
19397
794c3ad3
UD
193982011-01-14 Ulrich Drepper <drepper@gmail.com>
19399
70181fdd
UD
19400 [BZ #10563]
19401 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19402 to make the syscall.
19403 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19404
794c3ad3
UD
19405 [BZ #12378]
19406 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19407 and fall back to matching as normal character if the string ends before
19408 the matching ']' is found. This is what POSIX requires.
19409 * posix/testfnm.c: Adjust test result.
19410 * posix/globtest.sh: Adjust test result. Add new test.
19411 * posix/tst-fnmatch.input: Likewise.
19412 * posix/tst-fnmatch2.c: Add new test.
19413
68dc9497
AS
194142010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19415
19416 * elf/Makefile (check-execstack): Revert last change. Depend on
19417 check-execstack.h.
19418 (check-execstack.h): New target.
19419 (generated): Add check-execstack.h.
19420 * elf/check-execstack.c: Include "check-execstack.h".
19421 (main): Revert last change.
19422 (handle_file): Return zero if GNU_STACK is absent and
19423 DEFAULT_STACK_PERMS doesn't include PF_X.
19424
451f001b
UD
194252011-01-13 Ulrich Drepper <drepper@gmail.com>
19426
cfa28e56
UD
19427 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19428 in child fails because the descriptor is already closed.
8cf8ce17
UD
19429 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19430 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19431 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19432
1086d70d
UD
19433 [BZ #12397]
19434 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19435 syscall.
19436
451f001b
UD
19437 [BZ #10484]
19438 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19439 temporary buffer used to handle multi lookups locally.
a85b5cb4 19440 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19441
08769175
UD
194422011-01-12 Ulrich Drepper <drepper@gmail.com>
19443
19444 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19445 loader is ld.so.
19446
5e49c52e
UD
194472011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19448
19449 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19450 alignment for SSE2.
19451
60522a5f
UD
194522011-01-12 Ulrich Drepper <drepper@gmail.com>
19453
19454 [BZ #12394]
19455 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19456 characters. When rounding increased number of integer digits recompute
19457 number of groups.
19458 * stdio-common/tst-grouping.c: New file.
19459 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19460
f257bbd7
UD
194612011-01-09 Ulrich Drepper <drepper@gmail.com>
19462
19463 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19464 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19465
19466 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19467 void.
19468 * bits/select.h: Likewise.
19469
fa9c15cb
UD
194702011-01-08 Ulrich Drepper <drepper@gmail.com>
19471
19472 * po/ja.po: Update from translation team.
19473
16c2895f
DM
194742011-01-04 David S. Miller <davem@sunset.davemloft.net>
19475
19476 [BZ #11155]
19477 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19478 implementation just like for lxstat, fxstatat, et al.
19479
2543fef2
JM
194802010-12-27 Jim Meyering <meyering@redhat.com>
19481
19482 [BZ #12348]
19483 * posix/regexec.c (build_trtable): Return failure indication upon
19484 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19485
98727dbe
UD
194862010-12-25 Ulrich Drepper <drepper@gmail.com>
19487
5bd6dc5c
UD
19488 [BZ #12201]
19489 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19490 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19491 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19492 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19493
97983464
UD
19494 [BZ #12207]
19495 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19496
98727dbe
UD
19497 [BZ #12204]
19498 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19499 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19500
4a531bb0
L
195012010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19502
19503 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19504 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19505 script has SORT_BY_INIT_PRIORITY.
19506 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19507 NO_CTORS_DTORS_SECTIONS is defined.
19508 * elf/soinit.c: Likewise.
19509 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19510 NO_CTORS_DTORS_SECTIONS is defined.
19511 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19512 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19513 * sysdeps/sh/init-first.c: Likewise.
19514 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19515
07eb4b71
UD
195162010-12-24 Ulrich Drepper <drepper@gmail.com>
19517
19518 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19519 always use the slow path.
19520
30950a5f
RA
195212010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19522
19523 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19524 similar rule which adds the sysdep directories to the header search in
19525 order to pick up the correct platform stackinfo.h.
19526 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19527 perform test if it is, otherwise return successfully without testing.
19528 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19529 DEFAULT_STACK_PERMS define in stackinfo.h.
19530 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19531 defined in stackinfo.h.
19532 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19533 DEFAULT_STACK_PERMS defined in stackinfo.h.
19534 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19535 * sysdeps/ia64/stackinfo.h: Likewise.
19536 * sysdeps/s390/stackinfo.h: Likewise.
19537 * sysdeps/sh/stackinfo.h: Likewise.
19538 * sysdeps/sparc/stackinfo.h: Likewise.
19539 * sysdeps/x86_64/stackinfo.h: Likewise.
19540 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19541 PF_X for powerpc64. Retain PF_X for powerpc32.
19542
db753e2c
UD
195432010-12-19 Ulrich Drepper <drepper@gmail.com>
19544
14b697f7
UD
19545 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19546 accurately.
db753e2c
UD
19547 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19548 GETDENTS_64BIT_ALIGNED.
19549
28300719
UD
195502010-12-14 Ulrich Drepper <dreper@gmail.com>
19551
14b697f7 19552 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19553
4f197237
AS
195542010-12-10 Andreas Schwab <schwab@redhat.com>
19555
dbb0472f
AS
19556 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19557 _GNU_SOURCE.
19558
4f197237
AS
19559 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19560 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19561 Remove __restrict.
19562 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19563 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19564
fb88ac72
UD
195652010-12-09 Ulrich Drepper <drepper@gmail.com>
19566
19567 [BZ #11655]
19568 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19569 are initialized.
19570
42acbb92
JJ
195712010-12-09 Jakub Jelinek <jakub@redhat.com>
19572
19573 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19574
c038d98d
UD
195752010-12-03 Ulrich Drepper <drepper@gmail.com>
19576
19577 * po/it.po: Update from translation team.
19578
3a4a2499
L
195792010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19580
19581 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19582 unused codes.
19583
1e24cf6e
UD
195842010-11-30 Ulrich Drepper <drepper@gmail.com>
19585
19586 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19587
a7690819
AS
195882010-11-24 Andreas Schwab <schwab@redhat.com>
19589
19590 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19591 specially.
19592 (gaih_getanswer_slice): Likewise.
19593
3bf8d1b1
JJ
195942010-10-20 Jakub Jelinek <jakub@redhat.com>
19595
19596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19597
6db52fbb
PB
195982010-05-31 Petr Baudis <pasky@suse.cz>
19599
19600 [BZ #11149]
19601 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19602 silently even in the chroot mode.
19603
eaca7569
UD
196042010-11-22 Ulrich Drepper <drepper@gmail.com>
19605
19606 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19607 last patch a bit. Pretty printing
19608
3056dcdb
UD
196092010-05-31 Petr Baudis <pasky@suse.cz>
19610
19611 [BZ #10085]
19612 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19613 initialization of skip_initgroups_dyn.
19614
cf7c9078
UD
196152010-11-19 Ulrich Drepper <drepper@gmail.com>
19616
19617 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19618 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19619
a1fb5e3e
UD
196202010-11-16 Ulrich Drepper <drepper@gmail.com>
19621
19622 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19623
3540d66b
AS
196242010-11-11 Andreas Schwab <schwab@redhat.com>
19625
19626 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19627 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19628 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19629 ($(objpfx)tst-fnmatch-mem): New rule.
19630 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19631 * posix/tst-fnmatch.c (main): Call mtrace.
19632
13b69574
L
196332010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19634
19635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19636 Support Intel processor model 6 and model 0x2c.
19637
da93d214
LM
196382010-11-10 Luis Machado <luisgpm@br.ibm.com>
19639
19640 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19641 signed comparison.
19642
8ca52c6e
L
196432010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19644
19645 [BZ #12205]
19646 * string/test-strncasecmp.c (check_result): New function.
19647 (do_one_test): Use it.
19648 (check1): New function.
19649 (test_main): Use it.
19650 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19651 Support strcasecmp and strncasecmp.
19652
69da074d
UD
196532010-11-08 Ulrich Drepper <drepper@gmail.com>
19654
19655 [BZ #12194]
19656 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19657 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19658
ff02d528
L
196592010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19660
19661 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19662 IFUNC support.
19663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19664 memset-x86-64.
19665 * sysdeps/x86_64/multiarch/bzero.S: New file.
19666 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19667 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19668 * sysdeps/x86_64/multiarch/memset.S: New file.
19669 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19671 Set bit_Prefer_SSE_for_memop for Intel processors.
19672 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19673 Define.
19674 (index_Prefer_SSE_for_memop): Define.
19675 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19676
344d0b54
LM
196772010-11-04 Luis Machado <luisgpm@br.ibm.com>
19678
19679 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19680 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19681
c0dde15b
UD
196822010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19683
19684 [BZ #12191]
19685 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19686 (__x86_64_raw_data_cache_size_half): Likewise.
19687 (__x86_64_raw_shared_cache_size): Likewise.
19688 (__x86_64_raw_shared_cache_size_half): Likewise.
19689
19690 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19691 (__x86_64_raw_data_cache_size_half): Likewise.
19692 (__x86_64_raw_shared_cache_size): Likewise.
19693 (__x86_64_raw_shared_cache_size_half): Likewise.
19694 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19695 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19696 and __x86_64_raw_shared_cache_size_half. Round
19697 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19698 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19699 to multiple of 256 bytes.
19700
0e516e0e
MS
197012010-11-03 Ulrich Drepper <drepper@gmail.com>
19702
19703 [BZ #12167]
19704 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19705 of inacessible symlinks. Verify result of symlink before returning it.
19706 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19707 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19708
0e012e87
ER
197092010-10-28 Erich Ritz <erichritz@gmail.com>
19710
19711 * math/math.h (isinf): Fix typo in comment.
19712
de0ff7bc
UD
197132010-11-01 Ulrich Drepper <drepper@gmail.com>
19714
19715 * po/da.po: Update from translation team.
19716
fa41c84d
UD
197172010-10-26 Ulrich Drepper <drepper@gmail.com>
19718
19719 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19720 is added to the list.
19721
f0967738
AK
197222010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19723 Ulrich Drepper <drepper@gmail.com>
19724
19725 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19726 the global list here. Move code to...
19727 (_dl_add_to_namespace_list): ...here. New function.
19728 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19729 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19730 * elf/dl-load.c (lose): Don't remove the element from the list.
19731 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19732 (_dl_map_object): Likewise.
19733
197342010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19735
19736 [BZ #12159]
19737 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19738 into all bytes of SSE register.
19739 Patch by Richard Li <richardpku@gmail.com>.
19740
f0967738 197412010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19742
19743 [BZ #12140]
19744 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19745 perturbing.
19746
d0b9e94f
MB
197472010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19748
19749 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19750 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19751 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19752 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19754 submachine.
19755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19756
8e9f92e9
AS
197572010-10-22 Andreas Schwab <schwab@redhat.com>
19758
19759 * include/dlfcn.h (__RTLD_SECURE): Define.
19760 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19761 mode & __RTLD_SECURE instead.
19762 (open_path): Rename preloaded parameter to secure.
19763 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19764 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19765 * elf/dl-deps.c (openaux): Likewise.
19766 * elf/rtld.c (struct map_args): Remove is_preloaded.
19767 (map_doit): Don't use it.
19768 (dl_main): Likewise.
19769 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19770 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19771
bc96fbda
AS
197722010-09-09 Andreas Schwab <schwab@redhat.com>
19773
19774 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19775 (sysd-rules-targets): Remove duplicates.
19776 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19777 rtld-%.$o dependency.
19778
22cd1c9b
AS
197792010-10-18 Andreas Schwab <schwab@redhat.com>
19780
19781 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19782 _dl_map_object do it.
19783
18edac48
UD
197842010-10-19 Ulrich Drepper <drepper@gmail.com>
19785
19786 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19787 fast fma builtins, define the macros in the C99 standard.
19788 (FP_FAST_FMAF): Likewise.
19789 (FP_FAST_FMAL): Likewise.
19790 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19791
19792 * bits/mathdef.h: Update copyright year.
19793 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19794
d2050124
MM
197952010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19796
19797 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19798 builtins, define the macros in the C99 standard.
19799 (FP_FAST_FMAF): Likewise.
19800 (FP_FAST_FMAL): Likewise.
19801 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19802 multiply/add.
19803 (FP_FAST_FMAF): Likewise.
19804
475facd1
JJ
198052010-10-15 Jakub Jelinek <jakub@redhat.com>
19806
19807 [BZ #3268]
19808 * math/libm-test.inc (fma_test): Some new testcases.
19809 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19810 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19811 y and infinite z. Do multiplication by C already in long double.
19812 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19814 y and infinite z. Do bitwise or of inexact bit into u.d.
19815 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19816 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19817 * sysdeps/i386/fpu/s_fma.S: Removed.
19818 * sysdeps/i386/fpu/s_fmal.S: Removed.
19819
7c08a05c
JJ
198202010-10-16 Jakub Jelinek <jakub@redhat.com>
19821
19822 [BZ #3268]
19823 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19824 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19825 computation is not scheduled after fetestexcept. Fix value
19826 of minimum denormal long double.
19827
f3f7372d
JJ
198282010-10-14 Jakub Jelinek <jakub@redhat.com>
19829
19830 [BZ #3268]
19831 * math/libm-test.inc (fma_test): Add some more tests.
19832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19833 correctly.
19834
14d43591
AS
198352010-10-15 Andreas Schwab <schwab@redhat.com>
19836
19837 * scripts/data/localplt-s390-linux-gnu.data: New file.
19838 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19839
5e908464
JJ
198402010-10-13 Jakub Jelinek <jakub@redhat.com>
19841
19842 [BZ #3268]
19843 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19844 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19845 instead of dbl-64.
19846 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19847 inlines.
19848 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19850 if one of x and y is very large and the other is subnormal.
19851 * sysdeps/s390/fpu/s_fmaf.c: New file.
19852 * sysdeps/s390/fpu/s_fma.c: New file.
19853 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19854 * sysdeps/powerpc/fpu/s_fma.S: New file.
19855 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19856 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19857 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19858
198592010-10-12 Jakub Jelinek <jakub@redhat.com>
19860
19861 [BZ #3268]
19862 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19863 fma tests.
19864 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19865 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19866 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19867 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19868 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19869 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19870 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19871
b833d51f
UD
198722010-10-12 Ulrich Drepper <drepper@redhat.com>
19873
19874 [BZ #12078]
19875 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19876 * posix/bug-regex31.input: Add test case.
19877
1751705d
UD
198782010-10-11 Ulrich Drepper <drepper@gmail.com>
19879
e9b9cbf5
UD
19880 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19881 * posix/bug-regex31.input: New file.
19882
19883 [BZ #12078]
19884 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19885 (parse_sub_exp): Fix last change, use postorder.
19886
ef06edbe
UD
19887 * posix/bug-regex31.c: New file.
19888 * posix/Makefile: Add rules to build and run bug-regex31.
19889
a129c80d
UD
19890 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19891
19892 [BZ #12078]
19893 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19894
b76b818e
UD
19895 [BZ #12108]
19896 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19897 to have entries in sys_siglist.
19898
1751705d
UD
19899 [BZ #12093]
19900 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19901 be NULL.
19902
9ff8d36f
JJ
199032010-10-07 Jakub Jelinek <jakub@redhat.com>
19904
19905 [BZ #3268]
19906 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19907 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19908 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19909 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19910 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19911 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19912 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19913 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19914 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19915 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19916 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19917 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19918 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19919 * math/ftestexcept.c (fetestexcept): Likewise.
19920 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19921 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19922 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19923 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19924 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19925 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19926 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19927
af325969
UD
199282010-10-11 Ulrich Drepper <drepper@gmail.com>
19929
c579b202 19930 [BZ #12107]
af325969
UD
19931 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19932 newline.
19933
67a67b95
UD
199342010-10-06 Ulrich Drepper <drepper@gmail.com>
19935
19936 * string/bug-strstr1.c: New file.
19937 * string/Makefile: Add rules to build and run bug-strstr1.
19938
5fb308bc
EB
199392010-10-05 Eric Blake <eblake@redhat.com>
19940
19941 [BZ #12092]
19942 * string/str-two-way.h (two_way_long_needle): Always clear memory
19943 when skipping input due to the shift table.
19944
45db99c7
UD
199452010-10-03 Ulrich Drepper <drepper@gmail.com>
19946
3b111893
UD
19947 [BZ #12005]
19948 * malloc/mcheck.c: Handle large requests.
19949
45db99c7
UD
19950 [BZ #12077]
19951 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19952 for strncmp and strncasecmp.
19953 * string/stratcliff.c: Add tests for strcmp and strncmp.
19954 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19955
cf7a1eb8
NI
199562010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19957
19958 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19959 __set_fpscr.
19960
6484ba5e
AJ
199612010-09-30 Andreas Jaeger <aj@suse.de>
19962
19963 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19964 (CGROUP_SUPER_MAGIC): Define.
19965 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19966 Handle btrfs and cgroup file systems.
19967 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19968 Likewise.
19969
91c42559
LM
199702010-09-27 Luis Machado <luisgpm@br.ibm.com>
19971
19972 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19973 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19974
87a97932
AK
199752010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19976
19977 [BZ #12067]
19978 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19979 trying to locate the ELF header.
19980
c21cc9bc
AS
199812010-09-27 Andreas Schwab <schwab@redhat.com>
19982
19983 [BZ #11611]
19984 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19985 Mask out sign-bit copies when constructing f_fsid.
19986
315970f6
PB
199872010-09-24 Petr Baudis <pasky@suse.cz>
19988
19989 * debug/stack_chk_fail_local.c: Add missing licence exception.
19990 * debug/warning-nop.c: Likewise.
19991
1ac7a2c7
JM
199922010-09-15 Joseph Myers <joseph@codesourcery.com>
19993
19994 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19995 implementing getdents64 using getdents syscall, set d_type if
19996 __ASSUME_GETDENTS32_D_TYPE.
19997
56801c50
AS
199982010-09-16 Andreas Schwab <schwab@redhat.com>
19999
20000 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20001 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20002
dda51327
UD
200032010-09-21 Ulrich Drepper <drepper@redhat.com>
20004
20005 [BZ #12037]
20006 * posix/unistd.h: Undo change of feature selection for ftruncate from
20007 2010-01-11.
20008
8ffcee4a
UD
200092010-09-20 Ulrich Drepper <drepper@redhat.com>
20010
a545ecd9 20011 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
20012 detection.
20013
e24f0a8b
AS
200142010-09-20 Andreas Schwab <schwab@redhat.com>
20015
20016 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20017 fanotify_mark.
20018 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20019
7291c56f
AS
200202010-09-14 Andreas Schwab <schwab@redhat.com>
20021
20022 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20023 variables after CHECK_SP call.
20024 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20025
bc5fb037
AS
200262010-09-13 Andreas Schwab <schwab@redhat.com>
20027 Ulrich Drepper <drepper@redhat.com>
20028
20029 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20030 re-relocationg ld.so.
20031 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20032 _dl_init_paths call.
20033 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20034 here anymore.
20035
e66e7419
UD
200362010-09-14 Ulrich Drepper <drepper@redhat.com>
20037
20038 * resolv/res_init.c (__res_vinit): Count the default server we added.
20039
c044aa75
CLT
200402010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20041 Ulrich Drepper <drepper@redhat.com>
20042
20043 [BZ #11968]
20044 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20045 (____longjmp_chk): Use %ebx for saving value across system call.
20046 Add unwind info.
20047
32cf4069
AS
200482010-09-06 Andreas Schwab <schwab@redhat.com>
20049
20050 * manual/Makefile: Don't mix pattern rules with normal rules.
20051
817328ee
AS
200522010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20053
20054 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20055 operation.
20056 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20057 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20058 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20059 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20060 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20061 Likewise.
20062
29fddf61
UD
200632010-09-04 Ulrich Drepper <drepper@redhat.com>
20064
20065 [BZ #11979]
20066 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20067 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20068
0959ffc9
UD
200692010-09-02 Ulrich Drepper <drepper@redhat.com>
20070
20071 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20072 * sysdeps/x86_64/addmul_1.S: Likewise.
20073 * sysdeps/x86_64/lshift.S: Likewise.
20074 * sysdeps/x86_64/mul_1.S: Likewise.
20075 * sysdeps/x86_64/rshift.S: Likewise.
20076 * sysdeps/x86_64/sub_n.S: Likewise.
20077 * sysdeps/x86_64/submul_1.S: Likewise.
20078
ece29840
ST
200792010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20080
0959ffc9
UD
20081 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20082 Define __sched_param instead of SCHED_* and sched_param when
ece29840 20083 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 20084 * bits/sched.h [__need_schedparam]
ece29840 20085 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
20086 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20087 (__defined_schedparam): Define to 1.
ece29840
ST
20088 (__sched_param): New structure, identical to sched_param.
20089 (__need_schedparam): Undefine.
20090
e53a31fe
MF
200912010-08-31 Mike Frysinger <vapier@gentoo.org>
20092
fdc0c10d
MF
20093 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20094 (epoll_create1): Declare.
20095
e53a31fe
MF
20096 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20097
a726d796
AS
200982010-08-31 Andreas Schwab <schwab@redhat.com>
20099
20100 [BZ #7066]
20101 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20102 shifting retval into place.
20103
2f3e3dc7
UD
201042010-09-01 Ulrich Drepper <drepper@redhat.com>
20105
f2933da9
UD
20106 * nis/rpcsvc/nis.h: Update copyright notice.
20107 * nis/rpcsvc/nis.x: Likewise.
20108 * nis/rpcsvc/nis_callback.h: Likewise.
20109 * nis/rpcsvc/nis_callback.x: Likewise.
20110 * nis/rpcsvc/nis_object.x: Likewise.
20111 * nis/rpcsvc/nis_tags.h: Likewise.
20112 * nis/rpcsvc/yp.h: Likewise.
20113 * nis/rpcsvc/yp.x: Likewise.
20114 * nis/rpcsvc/ypupd.h: Likewise.
20115 * nis/yp_xdr.c: Likewise.
20116 * nis/ypupdate_xdr.c: Likewise.
20117
2f3e3dc7
UD
20118 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20119 mainly the body of pmap_getport. Add parameters to specify timeouts.
20120 (pmap_getport): Use __libc_rpc_getport.
20121 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20122 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20123 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20124
f3dcc2f9
AS
201252010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20126
20127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20128 fanotify_mark.
20129
6d34eb5b
RM
201302010-08-27 Roland McGrath <roland@redhat.com>
20131
20132 * sysdeps/i386/i686/multiarch/Makefile
20133 (CFLAGS-varshift.c): New variable.
20134
9ea3de11
UD
201352010-08-27 Ulrich Drepper <drepper@redhat.com>
20136
c96d23fc
UD
20137 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20138 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20139
9ea3de11
UD
20140 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20141
20142 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20143
623aac7f
L
201442010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20145
20146 * sysdeps/x86_64/strlen.S: Unroll the loop.
20147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20148 strlen-sse2 strlen-sse2-bsf.
20149 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20150 __strlen_no_bsf if bit_Slow_BSF is set.
20151 (__strlen_sse42): Removed.
20152 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20153 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20154
8b2b7715
RM
201552010-08-25 Roland McGrath <roland@redhat.com>
20156
20157 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20158 * sysdeps/x86_64/multiarch/varshift.c: New file.
20159 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20160 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20161 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20162 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20163
e73015f2
L
201642010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20165
20166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20167 strlen-sse2 strlen-sse2-bsf.
20168 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20169 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20170 (__strlen_sse2): Removed.
20171 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20172 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20174 bit_Slow_BSF for Atom.
20175 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20176 (index_Slow_BSF): Define.
20177 (HAS_SLOW_BSF): Define.
20178
df24a73e
UD
201792010-08-25 Ulrich Drepper <drepper@redhat.com>
20180
20181 [BZ #10851]
20182 * resolv/res_init.c (__res_vinit): When no server address at all
20183 is given default to loopback.
20184
f2ac4868
RM
201852010-08-24 Roland McGrath <roland@redhat.com>
20186
09055553
RM
20187 * configure.in: Remove config-name.h generation.
20188 * configure: Regenerated.
20189 * config-name.in: File removed.
20190 * scripts/config-uname.sh: New file.
20191 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20192 ($(objdir)config-name.h): New target.
20193
f2ac4868
RM
20194 * sunrpc/rpc_parse.h: Avoid nested comment.
20195
73f27d5e
RH
201962010-08-24 Richard Henderson <rth@redhat.com>
20197 Ulrich Drepper <drepper@redhat.com>
20198 H.J. Lu <hongjiu.lu@intel.com>
20199
20200 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20202 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20203 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20204 _mm_alignr_epi8 with _mm_loadu_si128.
20205 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20206 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20207 (__m128i_shift_right): Removed.
20208 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20209 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20210 * sysdeps/x86_64/multiarch/varshift.h: New file.
20211 * sysdeps/x86_64/multiarch/varshift.S: New file.
20212
84b9230c
MF
202132010-08-21 Mike Frysinger <vapier@gentoo.org>
20214
20215 * configure.in: Move assembler checks to before sysdep dir checking.
20216
9bbd0ddc
PB
202172010-08-20 Petr Baudis <pasky@suse.cz>
20218
20219 * LICENSES: Sync the sunrpc license.
20220
9da4bb31
UD
202212010-08-19 Ulrich Drepper <drepper@redhat.com>
20222
a7ab6ec8
UD
20223 * sunrpc/auth_des.c: Update copyright notice once again.
20224 * sunrpc/auth_none.c: Likewise.
20225 * sunrpc/auth_unix.c: Likewise.
20226 * sunrpc/authdes_prot.c: Likewise.
20227 * sunrpc/authuxprot.c: Likewise.
20228 * sunrpc/bindrsvprt.c: Likewise.
20229 * sunrpc/clnt_gen.c: Likewise.
20230 * sunrpc/clnt_perr.c: Likewise.
20231 * sunrpc/clnt_raw.c: Likewise.
20232 * sunrpc/clnt_simp.c: Likewise.
20233 * sunrpc/clnt_tcp.c: Likewise.
20234 * sunrpc/clnt_udp.c: Likewise.
20235 * sunrpc/clnt_unix.c: Likewise.
20236 * sunrpc/des_crypt.c: Likewise.
20237 * sunrpc/des_soft.c: Likewise.
20238 * sunrpc/get_myaddr.c: Likewise.
20239 * sunrpc/getrpcport.c: Likewise.
20240 * sunrpc/key_call.c: Likewise.
20241 * sunrpc/key_prot.c: Likewise.
20242 * sunrpc/openchild.c: Likewise.
20243 * sunrpc/pm_getmaps.c: Likewise.
20244 * sunrpc/pm_getport.c: Likewise.
20245 * sunrpc/pmap_clnt.c: Likewise.
20246 * sunrpc/pmap_prot.c: Likewise.
20247 * sunrpc/pmap_prot2.c: Likewise.
20248 * sunrpc/pmap_rmt.c: Likewise.
20249 * sunrpc/rpc/auth.h: Likewise.
20250 * sunrpc/rpc/auth_unix.h: Likewise.
20251 * sunrpc/rpc/clnt.h: Likewise.
20252 * sunrpc/rpc/des_crypt.h: Likewise.
20253 * sunrpc/rpc/key_prot.h: Likewise.
20254 * sunrpc/rpc/netdb.h: Likewise.
20255 * sunrpc/rpc/pmap_clnt.h: Likewise.
20256 * sunrpc/rpc/pmap_prot.h: Likewise.
20257 * sunrpc/rpc/pmap_rmt.h: Likewise.
20258 * sunrpc/rpc/rpc.h: Likewise.
20259 * sunrpc/rpc/rpc_des.h: Likewise.
20260 * sunrpc/rpc/rpc_msg.h: Likewise.
20261 * sunrpc/rpc/svc.h: Likewise.
20262 * sunrpc/rpc/svc_auth.h: Likewise.
20263 * sunrpc/rpc/types.h: Likewise.
20264 * sunrpc/rpc/xdr.h: Likewise.
20265 * sunrpc/rpc_clntout.c: Likewise.
20266 * sunrpc/rpc_cmsg.c: Likewise.
20267 * sunrpc/rpc_common.c: Likewise.
20268 * sunrpc/rpc_cout.c: Likewise.
20269 * sunrpc/rpc_dtable.c: Likewise.
20270 * sunrpc/rpc_hout.c: Likewise.
20271 * sunrpc/rpc_main.c: Likewise.
20272 * sunrpc/rpc_parse.c: Likewise.
20273 * sunrpc/rpc_parse.h: Likewise.
20274 * sunrpc/rpc_prot.c: Likewise.
20275 * sunrpc/rpc_sample.c: Likewise.
20276 * sunrpc/rpc_scan.c: Likewise.
20277 * sunrpc/rpc_scan.h: Likewise.
20278 * sunrpc/rpc_svcout.c: Likewise.
20279 * sunrpc/rpc_tblout.c: Likewise.
20280 * sunrpc/rpc_util.c: Likewise.
20281 * sunrpc/rpc_util.h: Likewise.
20282 * sunrpc/rpcinfo.c: Likewise.
20283 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20284 * sunrpc/rpcsvc/key_prot.x: Likewise.
20285 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20286 * sunrpc/rpcsvc/mount.x: Likewise.
20287 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20288 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20289 * sunrpc/rpcsvc/rex.x: Likewise.
20290 * sunrpc/rpcsvc/rstat.x: Likewise.
20291 * sunrpc/rpcsvc/rusers.x: Likewise.
20292 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20293 * sunrpc/rpcsvc/spray.x: Likewise.
20294 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20295 * sunrpc/rtime.c: Likewise.
20296 * sunrpc/svc.c: Likewise.
20297 * sunrpc/svc_auth.c: Likewise.
20298 * sunrpc/svc_authux.c: Likewise.
20299 * sunrpc/svc_raw.c: Likewise.
20300 * sunrpc/svc_run.c: Likewise.
20301 * sunrpc/svc_simple.c: Likewise.
20302 * sunrpc/svc_tcp.c: Likewise.
20303 * sunrpc/svc_udp.c: Likewise.
20304 * sunrpc/svc_unix.c: Likewise.
20305 * sunrpc/svcauth_des.c: Likewise.
20306 * sunrpc/xcrypt.c: Likewise.
20307 * sunrpc/xdr.c: Likewise.
20308 * sunrpc/xdr_array.c: Likewise.
20309 * sunrpc/xdr_float.c: Likewise.
20310 * sunrpc/xdr_mem.c: Likewise.
20311 * sunrpc/xdr_rec.c: Likewise.
20312 * sunrpc/xdr_ref.c: Likewise.
20313 * sunrpc/xdr_sizeof.c: Likewise.
20314 * sunrpc/xdr_stdio.c: Likewise.
20315
9da4bb31
UD
20316 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20317 handling.
20318
bdaa77bc
AS
203192010-08-19 Andreas Schwab <schwab@redhat.com>
20320
20321 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20322
fe2f79db
LM
203232010-08-19 Luis Machado <luisgpm@br.ibm.com>
20324
20325 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20326 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20327 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20328 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20329 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20330 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20331 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20332 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20333 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20334 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20335 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20336 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20337 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20338 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20339
b9b42ee0
AB
203402010-07-26 Anton Blanchard <anton@samba.org>
20341
20342 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20343 * malloc/arena.c (heap_trim): Likewise.
20344
1c06ba31
UD
203452010-08-16 Ulrich Drepper <drepper@redhat.com>
20346
20347 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20348 here. Not...
20349 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20350 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20351
f8392f40
L
203522010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20353
20354 * sysdeps/i386/elf/Makefile: New file.
20355
3162f12e
AS
203562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20357
20358 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20359 from fanotify_init.
20360 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20361 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20362
28c90b2c
UD
203632010-08-15 Ulrich Drepper <drepper@redhat.com>
20364
20365 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20366 of strncasecmp_l.
1feccb6c 20367 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20368
ca6bb004
UD
203692010-08-14 Ulrich Drepper <drepper@redhat.com>
20370
e9f82e0d
UD
20371 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20372 strncase_l-nonascii.
20373 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20374 Add strncase_l-ssse3.
20375 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20376 * sysdeps/x86_64/strcmp.S: Likewise.
20377 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20378 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20379 * sysdeps/x86_64/strncase.S: New file.
20380 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20381 * sysdeps/x86_64/strncase_l.S: New file.
20382 * string/Makefile (strop-tests): Add strncasecmp.
20383 * string/test-strncasecmp.c: New file.
20384
20385 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20386 warning.
20387
ca6bb004
UD
20388 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20389 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20390
052fa7b3
AS
203912010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20392
20393 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20394
962dba78
UD
203952010-08-12 Ulrich Drepper <drepper@redhat.com>
20396
20397 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20398 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20399 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20400
bebff237
AM
204012010-05-01 Alan Modra <amodra@gmail.com>
20402
20403 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20404 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20405 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20406 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20407 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20408 tidying. Don't tail-call __sigjmp_save for static lib.
20409 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20410 save location.
20411 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20412 (CALL_MCOUNT): Add eh info, and nop after bl.
20413 (TAIL_CALL_SYSCALL_ERROR): New macro.
20414 (PSEUDO_RET): Use it.
20415 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20416 Correct save location of integer regs and cr.
20417 (_dl_profile_resolve): Correct cr save location. Delete nops
20418 after bl when SHARED. Reduce cfi size a little by better
20419 placement of cfi directives.
20420 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20421 make a stack frame. Instead use parm save area as a temp.
20422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20423 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20425 Don't make a stack frame for parent, use parm save area.
20426 Increase child stack frame to 112 bytes. Don't save unused reg,
20427 and adjust reg usage. Set up cfi on error recovery and
20428 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20430 (__makecontext): Add dummy nop after jump to exit.
20431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20432 Use correct parm save area and cr save, reduce stack frame.
20433 Correct cfi for possible PSEUDO_RET frame setup.
20434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20435 Branch to local label emitted by PSEUDO_RET rather than
20436 __syscall_error.
20437
02637374
AS
204382010-08-12 Andreas Schwab <schwab@redhat.com>
20439
20440 [BZ #11904]
20441 * locale/programs/locale.c (print_assignment): New function.
20442 (show_locale_vars): Use it.
20443
c3e2f19b
UD
204442010-08-11 Ulrich Drepper <drepper@redhat.com>
20445
3cdaa6ad
UD
20446 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20447 field.
20448 (struct statfs64): Likewise.
20449 (_STATFS_F_FLAGS): Define.
20450 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20451 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20452 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20453 (ST_VALID): Define locally.
20454 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20455 __statvfs_getflags, use the provided value.
20456 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20457 __ASSUME_STATFS_F_FLAGS.
20458
754f7da3
UD
20459 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20460
10b3bedc
UD
20461 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20462 Add sys/fanotify.h.
20463 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20464 fanotify_mask for GLIBC_2.13.
20465 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20466 fanotify_init and fanotify_mark.
20467 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20468 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20469
c08fb0d7
UD
20470 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20471 Add prlimit.
20472 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20473 prlimit64 for GLIBC_2.13.
20474 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20475 prlimit64.
20476 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20477 syscall.
20478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20479 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20480 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20481 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20483 add prlimit alias.
20484 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20485
15bac72b
UD
20486 [BZ #11903]
20487 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20488 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20489
c3e2f19b
UD
20490 * nss/Makefile: Add rules to build and run tst-nss-test1.
20491 * shlib-versions: Add entry for libnss_test1.
20492 * nss/nss_test1.c: New file.
20493 * nss/tst-nss-test1.c: New file.
20494
20495 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20496 (__nss_configure_lookup): Set appropriate entry in
20497 __nss_configure_lookup to true.
20498 * nss/nsswitch.h: Define enum with indeces of databases in
20499 databases and __nss_database_custom arrays. Declare
20500 __nss_database_custom.
20501 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20502 to avoid using nscd when custom rules are installed.
20503 * nss/getXXbyYY_r.c: Likewise.
20504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20505
20506 * nss/nss_files/files-parse.c: Whitespace fixes.
20507
f15ce4d8
UD
205082010-08-09 Ulrich Drepper <drepper@redhat.com>
20509
20510 [BZ #11883]
20511 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20512 * posix/fnmatch_loop.c: Likewise.
20513
d22e4cc9
AK
205142010-07-17 Andi Kleen <ak@linux.intel.com>
20515
20516 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20517 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20518 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20519 * Versions.def [GLIBC_2.13]: Add.
20520
805bc17d
UD
205212010-08-06 Ulrich Drepper <drepper@redhat.com>
20522
20523 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20524 Also fail if tpwd after pwuid call is NULL.
20525
5a42321d
ST
205262010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20527
20528 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20529 when converting to ms.
20530
fd3ebeda
ST
205312010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20532
20533 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20534 EOPNOTSUPP errors with ENOTTY.
20535 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20536 EOPNOTSUPP errors with ENOTTY.
20537
73507d3a
UD
205382010-07-31 Ulrich Drepper <drepper@redhat.com>
20539
20540 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20541 Add strcasecmp_l-ssse3.
20542 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20543 strcasecmp.
20544 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20545 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20546 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20547
fe36dd02
UD
205482010-07-30 Ulrich Drepper <drepper@redhat.com>
20549
66f6765a
UD
20550 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20551
42e08a54
UD
20552 * string/Makefile (strop-tests): Add strcasecmp.
20553 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20554 strcasecmp_l-nonascii.
20555 (gen-as-const-headers): Add locale-defines.sym.
20556 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20557 * sysdeps/x86_64/strcasecmp.S: New file.
20558 * sysdeps/x86_64/strcasecmp_l.S: New file.
20559 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20560 * sysdeps/x86_64/locale-defines.sym: New file.
20561 * string/test-strcasecmp.c: New file.
20562
fe36dd02
UD
20563 * string/test-strcasestr.c: Test both ends of the range of characters.
20564 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20565
48cbc0d6
RM
205662010-07-29 Roland McGrath <roland@redhat.com>
20567
76e6d6bc 20568 [BZ #11856]
48cbc0d6
RM
20569 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20570
880113d9
UD
205712010-07-27 Ulrich Drepper <drepper@redhat.com>
20572
20573 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20574 for ld.so.
20575
deb9cabb
AS
205762010-07-27 Andreas Schwab <schwab@redhat.com>
20577
20578 * manual/memory.texi (Malloc Tunable Parameters): Document
20579 M_PERTURB.
20580
1c7570ff
RM
205812010-07-26 Roland McGrath <roland@redhat.com>
20582
20583 [BZ #11840]
20584 * configure.in (-fgnu89-inline check): Set and substitute
20585 gnu89_inline, not libc_cv_gnu89_inline.
20586 * configure: Regenerated.
20587 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20588
24fb0f88
UD
205892010-07-26 Ulrich Drepper <drepper@redhat.com>
20590
20591 * string/test-strnlen.c: New file.
20592 * string/Makefile (strop-tests): Add strnlen.
20593 * string/tester.c (test_strnlen): Add a few more test cases.
20594 * string/tst-strlen.c: Better error reporting.
20595
20596 * sysdeps/x86_64/strnlen.S: New file.
20597
8e96b93a
UD
205982010-07-24 Ulrich Drepper <drepper@redhat.com>
20599
20600 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20601 lower-latency instructions.
20602
dbc676d4
UD
206032010-07-23 Ulrich Drepper <drepper@redhat.com>
20604
20605 * string/test-strcasestr.c: New file.
20606 * string/test-strstr.c: New file.
20607 * string/Makefile (strop-tests): Add strstr and strcasestr.
20608 * string/str-two-way.h: Don't undefine MAX.
20609 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20610
f6a31e0e
AS
206112010-07-21 Andreas Schwab <schwab@redhat.com>
20612
20613 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20614 strcasestr-nonascii.
20615 (CFLAGS-strcasestr-nonascii.c): Define.
20616 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20617 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20618 Remove unused attribute.
20619
5dbc3b6c
RM
206202010-07-20 Roland McGrath <roland@redhat.com>
20621
20622 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20623 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20624 ld.so.cache was broken. With it, there is no way to disable dsocaps
20625 like LD_HWCAP_MASK can disable hwcaps.
20626
23d101d8
EPM
206272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20628
20629 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20630
cc9f2e47
UD
206312010-07-16 Ulrich Drepper <drepper@redhat.com>
20632
20633 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20634 call in strcasestr.
20635 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20636 __strcasestr_sse42_nonascii.
20637 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20638 strcasestr-nonascii.c.
20639 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20640
77c1b069
LM
206412010-06-15 Luis Machado <luisgpm@br.ibm.com>
20642
20643 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20644 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20645 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20646 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20647
440566c3
UD
206482010-07-09 Ulrich Drepper <drepper@redhat.com>
20649
20650 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20651 fcntl.
20652
5be9d05d
AS
206532010-07-06 Andreas Schwab <schwab@redhat.com>
20654
c30b7ee2 20655 [BZ #11577]
5be9d05d
AS
20656 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20657 dl_signal_cerror.
20658
8a492a67
UD
206592010-07-06 Ulrich Drepper <drepper@redhat.com>
20660
20661 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20662 _PC_PIPE_BUF using F_GETPIPE_SZ.
20663
713df3d5
RM
206642010-07-05 Roland McGrath <roland@redhat.com>
20665
20666 * manual/arith.texi (Rounding Functions): Fix rint description
20667 implicit in round description.
20668
702e8f14
UD
206692010-07-02 Ulrich Drepper <drepper@redhat.com>
20670
20671 * elf/Makefile: Fix linking for a few tests to make recent linker
20672 happy.
20673
52ed8be9
AS
206742010-06-30 Andreas Schwab <schwab@redhat.com>
20675
20676 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20677 $(common-objpfx)libc_nonshared.a.
20678
f47c9a11
LM
206792010-06-21 Luis Machado <luisgpm@br.ibm.com>
20680
20681 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20682 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20683 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20684 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20685 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20686 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20687 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20688 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20703 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20704 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20705 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20706 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20707 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20708 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20709 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20710 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20711 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20712 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20713 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20714 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20729
6fb8cbcb
L
207302010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20731
20732 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20733 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20734 * string/memmove.c (memmove): Renamed to ...
20735 (MEMMOVE): ...this. Default to memmove.
20736 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20737 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20738 (END_CHK): Define.
20739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20740 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20741 mempcpy-ssse3-back memmove-ssse3-back.
20742 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20743 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20744 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20745 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20746 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20747 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20748 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20749 * sysdeps/x86_64/multiarch/memmove.c: New file.
20750 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20751 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20752 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20753 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20754 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20755 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20756 Define.
20757 (index_Fast_Copy_Backward): Define.
20758 (HAS_ARCH_FEATURE): Define.
20759 (HAS_FAST_REP_STRING): Define.
20760 (HAS_FAST_COPY_BACKWARD): Define.
20761
4e733bac 207622010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20763
20764 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20765 Restore proper fallback handling.
20766
63c4ed22
UD
207672010-06-19 Ulrich Drepper <drepper@redhat.com>
20768
ac2b484c
UD
20769 [BZ #11701]
20770 * posix/group_member.c (__group_member): Correct checking loop.
20771
63c4ed22
UD
20772 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20773 OOM in getpwuid_r correctly. Return error number when the caller
20774 should return, otherwise -1.
20775 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20776 call returning > 0 value.
20777 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20778
765ade4b
AS
207792010-06-07 Andreas Schwab <schwab@redhat.com>
20780
20781 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20782 libc_nonshared.a from targets in modules-names.
20783
80da2e09
KS
207842010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20785
20786 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20787 requires it.
20788
158db122
LM
207892010-06-10 Luis Machado <luisgpm@br.ibm.com>
20790
20791 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20792 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20793 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20794 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20795
caa78cf8
AS
207962010-06-02 Andreas Schwab <schwab@redhat.com>
20797
20798 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20799
b2ef2c01
UD
208002010-06-14 Ulrich Drepper <drepper@redhat.com>
20801
20802 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20803 and F_GETPIPE_SZ.
20804 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20805 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20808 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20809 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20810
fbd643b6
RM
208112010-06-14 Roland McGrath <roland@redhat.com>
20812
20813 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20814
f32f2869
JJ
208152010-06-07 Jakub Jelinek <jakub@redhat.com>
20816
20817 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20818 __REDIRECT followed by __THROW.
20819 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20820 * posix/getopt.h (getopt): Likewise.
20821
2a50c078
EPM
208222010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20823
20824 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20825 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20826 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20827 in AT_FLAGS.
20828 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20829 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20830
eb5ad2eb
LM
208312010-05-28 Luis Machado <luisgpm@br.ibm.com>
20832
20833 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20834
3c88fe1e
L
208352010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20836
20837 [BZ #11640]
20838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20839 Properly check family and model.
20840
d2f73151
TY
208412010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20842
20843 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20844
ebd2e13d
LM
208452010-05-24 Luis Machado <luisgpm@br.ibm.com>
20846
20847 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20848
b32b8b45
UD
208492010-05-21 Ulrich Drepper <drepper@redhat.com>
20850
20851 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20852 symbol reference.
20853
9acbe24d
AS
208542010-05-19 Andreas Schwab <schwab@redhat.com>
20855
20856 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20857 symbol reference.
20858
f0ccf6ea
AS
208592010-05-21 Andreas Schwab <schwab@redhat.com>
20860
3d04ff3a
AS
20861 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20862 and internal_recvmmsg.
20863 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20864 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20865 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20866 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20867
f0ccf6ea
AS
20868 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20869 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20870 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20871
5b08ac57
AS
208722010-05-20 Andreas Schwab <schwab@redhat.com>
20873
20874 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20875
4828935d
LM
208762010-05-17 Luis Machado <luisgpm@br.ibm.com>
20877
20878 POWER7 optimizations.
20879 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20880 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20881
373d545e
UD
208822010-05-19 Ulrich Drepper <drepper@redhat.com>
20883
20884 * version.h: Update for 2.13 development version.
20885
21a2b1ae
AS
208862010-05-12 Andrew Stubbs <ams@codesourcery.com>
20887
20888 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20889 exceptions. Return 0.
20890
3f7dcb2b
RM
208912010-05-07 Roland McGrath <roland@redhat.com>
20892
20893 * elf/ldconfig.c (main): Add a const.
20894
5f24d53a 208952010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20896
a160f8d8
UD
20897 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20898 (args_options): Add no-idn option.
20899 (ahosts_keys_int): Add idn_flags to ai_flags.
20900 (parse_option): Handle 'i' option to clear idn_flags.
20901
5f24d53a
UD
20902 * malloc/malloc.c (_int_free): Possible race in the most recently
20903 added check. Only act on the data if no current modification
20904 happened.
265bb1ce
UD
20905
20906See ChangeLog.17 for earlier changes.
This page took 2.773968 seconds and 5 git commands to generate.