]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix LC_IDENTIFICATION in fi_FI@euro
[glibc.git] / ChangeLog
CommitLineData
d6cffd3e
AS
12012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2
3 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4 function returns with a NULL context exit with zero.
5
b3563932
TMQMF
62012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7
8 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9
b288a93d
L
102012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11
12 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13 (run_program_cmd): This.
14 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15 (tst_langinfo): New variable. Use it.
16
a2421a68
SAS
172012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18
19 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
20 floating point opcodes.
21
6f796e1b
TS
222012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23
7402596b
TS
24 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25 variable.
26
d0d4f868
TS
27 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28
6f796e1b
TS
29 * sysdeps/mach/hurd/powerpc: Remove directory.
30 * sysdeps/mach/powerpc: Likewise.
31
4da224a2
AS
322012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33
34 * scripts/check-local-headers.sh: Ignore c++ headers.
35
341dd673
TS
362012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37
38 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39 __libc_cleanup_region_start argument.
40
473611b2
JM
412012-11-01 Joseph Myers <joseph@codesourcery.com>
42
43 [BZ #14784]
44 [BZ #14785]
45 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
46 x * y using scaling, not as x * y + z.
47 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49 * math/libm-test.inc (fma_test): Add more tests.
50 (fma_test_towardzero): Likewise.
51 (fma_test_downward): Likewise.
52 (fma_test_upward): Likewise.
53
4078da3d
TS
542012-11-01 Thomas Schwinge <thomas@codesourcery.com>
55
56 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
57
903252aa
JM
582012-10-31 Joseph Myers <joseph@codesourcery.com>
59
60 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
61 New variable.
62
cbc818d0
TS
632012-10-31 Thomas Schwinge <thomas@codesourcery.com>
64
65 * rt/tst-shm.c (worker): Correct checking for mmap failure.
66
5a03cb1e
AS
672012-10-31 Andreas Schwab <schwab@linux-m68k.org>
68
69 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70 Fix sort order.
71 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72 Likewise.
73
90aff2ff
TMQMF
742012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75
76 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77 Fix the order of the list for glibc 2.17.
78 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79 Likewise.
80
1818fcb7
AS
812012-10-31 Andreas Schwab <schwab@linux-m68k.org>
82
83 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84
ef82f4da
JM
852012-10-31 Joseph Myers <joseph@codesourcery.com>
86
16a0e2ec
JM
87 [BZ #14610]
88 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
89 for low part of x being zero before using __atanl (y).
90 * math/libm-test.inc (atan2_test): Add another test.
91
0eb69512
JM
92 * manual/install.texi (Configuring and compiling): Document
93 general use of test-wrapper and test-wrapper-env.
94 * INSTALL: Regenerated.
95
ef82f4da
JM
96 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
97 (__fma): Do not extract and scale down low bits on after-rounding
98 systems when result rounded to normal precision would have normal
99 exponent.
100 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
101 (__fmal): Do not extract and scale down low bits on after-rounding
102 systems when result rounded to normal precision would have normal
103 exponent.
104 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
105 (__fmal): Do not extract and scale down low bits on after-rounding
106 systems when result rounded to normal precision would have normal
107 exponent.
108 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
109 macro.
110 (fma_test): Add more tests.
111 (fma_test_towardzero): Likewise.
112 (fma_test_downward): Likewise.
113 (fma_test_upward): Likewise.
114
954ef0d9
L
1152012-10-30 H.J. Lu <hongjiu.lu@intel.com>
116
117 * sysdeps/i386/tininess.h: Renamed to ...
118 * sysdeps/x86/tininess.h: This.
119 * sysdeps/x86_64/tininess.h: Removed.
120
df61ffb2
JM
1212012-10-30 Joseph Myers <joseph@codesourcery.com>
122
123 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
124 input. Use $(build-program-cmd).
125 ($(objpfx)tst-array1-static.out): Likewise.
126 ($(objpfx)tst-array2.out): Likewise.
127 ($(objpfx)tst-array3.out): Likewise.
128 ($(objpfx)tst-array4.out): Likewise.
129 ($(objpfx)tst-array5.out): Likewise.
130 ($(objpfx)tst-array5-static.out): Likewise.
131
01767843
CM
1322012-10-30 Chris Metcalf <cmetcalf@tilera.com>
133
47cc1490
CM
134 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
135 if defined.
136
01767843
CM
137 * nss/nsswitch.h (nss_interface_function): Provide new
138 macro for use with NSS functions.
139 * grp/initgroups.c: Use new macro.
140 * nss/getXXbyYY.c: Likewise.
141 * nss/getXXbyYY_r.c: Likewise.
142 * nss/getXXent.c: Likewise.
143 * nss/getXXent_r.c: Likewise.
144 * sysdeps/posix/getaddrinfo.c: Likewise.
145
8321aa97
AJ
1462012-10-30 Andreas Jaeger <aj@suse.de>
147
148 * po/ru.po: Update Russion translation from translation project.
149
2a27fd6d
JM
1502012-10-30 Joseph Myers <joseph@codesourcery.com>
151
8627a232
JM
152 [BZ #14152]
153 [BZ #14783]
154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
155 result and shift together with sticky bit instead of replicating
156 round-to-nearest rounding.
157 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
158 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
159 * math/libm-test.inc (fma_test): Add more tests. Do not permit
160 missing underflow exceptions.
161 (fma_test_towardzero): Add more tests.
162 (fma_test_downward): Likewise.
163 (fma_test_upward): Likewise.
164
2a27fd6d
JM
165 [BZ #14047]
166 * sysdeps/generic/tininess.h: New file.
167 * sysdeps/i386/tininess.h: Likewise.
168 * sysdeps/sh/tininess.h: Likewise.
169 * sysdeps/x86_64/tininess.h: Likewise.
170 * stdlib/tst-strtod-underflow.c: Likewise.
171 * stdlib/tst-tininess.c: Likewise.
172 * stdlib/strtod_l.c: Include <tininess.h>.
173 (round_and_return): Do not set errno for exact underflow cases.
174 Force an underflow exception when setting errno for underflow.
175 Determine underflow based on rounding to normal precision if
176 TININESS_AFTER_ROUNDING.
177 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
178 ERANGE for exact underflow cases.
179 * stdlib/Makefile (tests): Add tst-tininess and
180 tst-strtod-underflow.
181 ($(objpfx)tst-tininess): Use $(link-libm).
182 ($(objpfx)tst-strtod-underflow): Likewise.
183
e7170363
AJ
1842012-10-30 Andreas Jaeger <aj@suse.de>
185
e5088dc6
AJ
186 [BZ#14767]
187 * elf/Makefile (tests): Remove conditional for have-initfini-array
188 since this is now always required and the variable does not exist
189 anymore.
190 (tests-static): Likewise.
191 (modules-names): Likewise.
192
e7170363 193 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
194
195 * elf/tst-array1.c (fini_array): Make writeable so that it can be
196 merged with constructor/destructor.
197 (init_array): Likewise.
198 * elf/tst-array2dep.c (fini_array): Likewise.
199 (init_array): Likewise.
200
60457d8a
MF
2012012-10-29 Mike Frysinger <vapier@gentoo.org>
202
203 * manual/message.texi: Delete @cartouche tags.
204
8bece752
PT
2052012-10-29 Pino Toscano <toscano.pino@tiscali.it>
206
94ce799f
PT
207 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
208 EOPNOTSUPP.
209 * sysdeps/mach/hurd/fsync.c: Likewise.
210
8bece752
PT
211 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
212 [_POSIX_REALTIME_SIGNALS]: Change condition to
213 [_POSIX_REALTIME_SIGNALS > 0].
214
86ebe6b1
AJ
2152012-10-27 Andreas Jaeger <aj@suse.de>
216
217 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
218 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
219 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
220 [__WORDSIZE != 64]: Likewise.
221
54399c08
L
2222012-10-26 H.J. Lu <hongjiu.lu@intel.com>
223
224 * iconvdata/tst-table.sh: Remove ${SHELL}.
225 * iconvdata/tst-tables.sh: Likewise.
226
e2211bed
DM
2272012-10-25 David S. Miller <davem@davemloft.net>
228
229 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
230 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
231 of strtoull.
232
f303f97c
DM
233 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
234 ifunc-impl-list.c
235 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
236 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
237 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
238 file.
239
1e9d84cd
RM
2402012-10-25 Roland McGrath <roland@hack.frob.com>
241
242 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
243 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
244 __getdirentries.
245
df381762
JM
2462012-10-25 Joseph Myers <joseph@codesourcery.com>
247 Jim Blandy <jimb@codesourcery.com>
248
249 * scripts/cross-test-ssh.sh: New file.
250 * manual/install.texi (Configuring and compiling): Document use of
251 cross-test-ssh.sh.
252 * INSTALL: Regenerated.
253
bff64913
PT
2542012-10-25 Pino Toscano <toscano.pino@tiscali.it>
255
256 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
257 EOPNOTSUPP.
258
25fe8932
JM
2592012-10-25 Joseph Myers <joseph@codesourcery.com>
260
261 * Makeconfig (run-program-prefix): Fix comment.
262
cc1290d0
JM
2632012-10-24 Joseph Myers <joseph@codesourcery.com>
264 Jim Blandy <jimb@codesourcery.com>
265
266 * Makeconfig (test-wrapper): New variable,
267 (test-wrapper-env): Likewise.
268 [$(cross-compiling) = yes && $(test-wrapper) != ""]
269 (run-built-tests): Define to yes.
270 (run-program-prefix): Use $(test-wrapper).
271 (built-program-cmd): Likewise.
272 * Rules (make-test-out): Use $(test-wrapper-env) and
273 $(host-built-program-cmd).
274 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
275 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
276 tst-pathopt.sh.
277 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
278 $(test-wrapper-env) to tst-rtld-load-self.sh.
279 ($(objpfx)order2.out): Use $(test-wrapper).
280 ($(objpfx)tst-initorder.out): Likewise.
281 ($(objpfx)tst-initorder2.out): Likewise.
282 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
283 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
284 (test_wrapper_env): New variable. Use it to run ld.so.
285 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
286 Use it to run ld.so.
287 (test_wrapper_env): Likewise.
288 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
289 $(test-wrapper) to run-iconv-test.sh.
290 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
291 (ICONV): Use $test_wrapper.
292 * posix/Makefile ($(objpfx)globtest.out): Pass
293 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
294 globtest.sh, not $(run-program-prefix).
295 * posix/globtest.sh (run_via_rtld_prefix): New variable.
296 (test_wrapper): Likewise.
297 (test_wrapper_env): Likewise. Use it to run globtest with HOME
298 set together with run_via_rtld_prefix.
299 (run_program_prefix): Define in terms of test_wrapper and
300 run_via_rtld_prefix.
301
6e6249d0
RM
3022012-10-24 Roland McGrath <roland@hack.frob.com>
303
304 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
305 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
306 Targets removed.
307
308 [BZ #14743]
309 * include/time.h: Remove librt_hidden_proto (clock_gettime).
310 Declare __clock_getres, __clock_gettime, __clock_settime,
311 __clock_nanosleep, and __clock_getcpuclockid.
312 * rt/clock_gettime.c: Define __clock_gettime as an alias.
313 Remove librt_hidden_def (clock_gettime).
314 * sysdeps/unix/clock_gettime.c: Likewise.
315 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
316 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
317 * rt/clock_getres.c: Define __clock_getres as an alias.
318 * sysdeps/posix/clock_getres.c: Likewise.
319 * rt/clock_settime.c: Define __clock_settime as an alias.
320 * sysdeps/unix/clock_settime.c: Likewise.
321 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
322 * sysdeps/unix/clock_nanosleep.c: Likewise.
323 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
324 * rt/clock-compat.c: New file.
325 * rt/Makefile (librt-routines): Add clock-compat and move
326 $(clock-routines) to ...
327 (routines): ... here, new variable.
328 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
329 Don't add get_clockfreq here.
330 * rt/Versions (libc: GLIBC_2.17): New version set.
331 Add clock_* symbols here.
332 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
333 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
334 (GLIBC_2.17): Add clock_* symbols.
335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
339 Likewise.
340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
341 Likewise.
342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
346 * NEWS: Mention the move.
347
348 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
349 Use __open, __read, __close rather than their public counterparts.
350 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
351 (__get_clockfreq_via_cpuinfo): Likewise.
352 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
353 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
354
355 * config.h.in (HAVE_IFUNC): New #undef.
356 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
357 was successful.
358 * configure: Regenerated.
359
0cae3f4b
MF
3602012-10-24 Mike Frysinger <vapier@gentoo.org>
361
362 * configure.in: Move READELF check to start of file.
363 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
364 libc_cv_asm_gnu_indirect_function in the process.
365 * configure: Regenerated.
366
8175a253
MF
3672012-10-24 Mike Frysinger <vapier@gentoo.org>
368
369 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
370 send the output to /dev/null.
371 (libc_cv_cc_with_libunwind): Likewise.
372 (libc_cv_as_noexecstack): Likewise.
373 * configure: Regenerate.
374
0708a7d1
JM
3752012-10-24 Joseph Myers <joseph@codesourcery.com>
376
10b40d85
JM
377 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
378
0708a7d1
JM
379 * posix/globtest.sh (TMPDIR): Do not set.
380 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
381 (testout): Likewise.
382
9fddec1a
AJ
3832012-10-24 Andreas Jaeger <aj@suse.de>
384
3a8db22f
AJ
385 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
386 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
387 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
388 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
389 posix_fadvise64, posix_fallocate64.
390
9fddec1a
AJ
391 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
392 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
393 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
394 Likewise.
395 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
396 Likewise.
397 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
398
399 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
400 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
401 <bits/fcntl-linux.h>.
402 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
403
404 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
405 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
406 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
407 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
408 [__WORDSIZE != 64]: Likewise.
409
ebfd1bbd
JM
4102012-10-23 Joseph Myers <joseph@codesourcery.com>
411
03ac099f
JM
412 * Makeconfig (run-built-tests): New variable.
413 * Rules [$(cross-compiling) = yes]: Change condition to
414 [$(run-built-tests) = no].
415 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
416 to [$(run-built-tests) = yes].
417 * elf/Makefile [$(cross-compiling) = no]: Likewise
418 * grp/Makefile [$(cross-compiling) = no]: Likewise.
419 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
420 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
421 * intl/Makefile [$(cross-compiling) = no]: Likewise.
422 * io/Makefile [$(cross-compiling) = no]: Likewise.
423 * libio/Makefile [$(cross-compiling) = no]: Likewise.
424 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
425 * misc/Makefile [$(cross-compiling) = no]: Likewise.
426 * posix/Makefile [$(cross-compiling) = no]: Likewise.
427 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
428 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
429 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
430 * string/Makefile [$(cross-compiling) = no]: Likewise.
431
ebfd1bbd
JM
432 * posix/Makefile ($(objpfx)globtest.out): Pass
433 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
434 $(rtld-installed-name).
435 * posix/globtest.sh (elf_objpfx): Remove variable.
436 (rtld_installed_name): Likewise.
437 (library_path): Likewise.
438 (run_program_prefix): New variable. Use for running globtest
439 binary.
440
166bca24
JB
4412012-10-23 Jim Blandy <jimb@codesourcery.com>
442 Joseph Myers <joseph@codesourcery.com>
443
444 * Makeconfig (host-built-program-cmd): New variable.
445 * elf/Makefile (tst-stackguard1-ARGS): Use
446 $(host-built-program-cmd).
447 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
448 (tst-spawn-ARGS): Likewise.
449 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
450
88866099
JM
4512012-10-23 Joseph Myers <joseph@codesourcery.com>
452 Jim Blandy <jimb@codesourcery.com>
453
454 * Makeconfig (run-via-rtld-prefix): New variable.
455 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
456 (built-program-cmd): Likewise.
457
b4b4c296
AJ
4582012-10-22 Andreas Jaeger <aj@suse.de>
459
460 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
461 __O_RSYNC if it exists, otherwise to O_SYNC.
462
6fb54a22
JB
4632012-10-22 Jim Blandy <jimb@codesourcery.com>
464 Joseph Myers <joseph@codesourcery.com>
465
466 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
467 /dev/null.
468 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
469 from /dev/null
470 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
471 /dev/null.
472
481b90b9
AJ
4732012-10-22 Andreas Jaeger <aj@suse.de>
474
2a0e2669
AJ
475 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
476 Define always.
477 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
478
76e38f9a
AJ
479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
480 bits/fcntl-linux.h.
481
7cd37b43
AJ
482 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
483 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
484
481b90b9
AJ
485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
486 to __O_LARGEFILE.
487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
488 to __O_LARGEFILE.
489
aba75984
JB
4902012-10-21 Jim Blandy <jimb@codesourcery.com>
491 Joseph Myers <joseph@codesourcery.com>
492
493 * config.make.in (NM): New variable.
494
88d4247f
AJ
4952012-10-21 Andreas Jaeger <aj@suse.de>
496
497 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
498 definitions and declarations that are provided by
499 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
500
f2eed205
L
5012012-10-20 H.J. Lu <hongjiu.lu@intel.com>
502
503 [BZ #14683]
504 * elf/Makefile (tests-static): Add tst-leaks1-static.
505 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
506 ($(objpfx)tst-leaks1-static): New rule.
507 ($(objpfx)tst-leaks1-static-mem): Likewise.
508 (tst-leaks1-static-ENV): New macro.
509 * elf/dl-open.c (dl_open_worker): Check the main application
510 only if SHARED is defined.
511 * elf/tst-leaks1-static.c: New file.
512
335e6931
AJ
5132012-10-20 Andreas Jaeger <aj@suse.de>
514
515 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
516 generic values for Linux.
517 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
518 and declarations that are provided by <bits/fcntl-linux.h> and
519 include <bits/fcntl-linux.h>.
520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
521 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
522
ac5c94d3
RM
5232012-10-20 Roland McGrath <roland@hack.frob.com>
524
525 * io/fcntl.h: Move include of <bits/types.h> to the top and
526 include it unconditionally.
527
de54b33a
L
5282012-10-20 H.J. Lu <hongjiu.lu@intel.com>
529
228cfb01
L
530 * wcsmbs/Makefile (tests-ifunc): New variable.
531 (tests): Add $(tests-ifunc).
532 * wcsmbs/test-wcschr-ifunc.c: New file.
533 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
534 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
535 * wcsmbs/test-wcslen-ifunc.c: Likewise.
536 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
537 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
538
69f07e5f
L
539 * string/Makefile (tests-ifunc): New variable.
540 (tests): Add $(tests-ifunc).
541 * string/test-memccpy.c (TEST_NAME): New macro.
542 * string/test-memchr.c (TEST_NAME): Likewise.
543 * string/test-memcmp.c (TEST_NAME): Likewise.
544 * string/test-memcpy.c (TEST_NAME): Likewise.
545 * string/test-memmem.c (TEST_NAME): Likewise.
546 * string/test-memmove.c (TEST_NAME): Likewise.
547 * string/test-memset.c (TEST_NAME): Likewise.
548 * string/test-rawmemchr.c (TEST_NAME): Likewise.
549 * string/test-stpcpy.c (TEST_NAME): Likewise.
550 * string/test-stpncpy.c (TEST_NAME): Likewise.
551 * string/test-strcasecmp.c (TEST_NAME): Likewise.
552 * string/test-strcasestr.c (TEST_NAME): Likewise.
553 * string/test-strcat.c (TEST_NAME): Likewise.
554 * string/test-strchr.c (TEST_NAME): Likewise.
555 * string/test-strcmp.c(TEST_NAME): Likewise.
556 * string/test-strcpy.c (TEST_NAME): Likewise.
557 * string/test-strcspn.c (TEST_NAME): Likewise.
558 * string/test-strlen.c (TEST_NAME): Likewise.
559 * string/test-strncasecmp.c (TEST_NAME): Likewise.
560 * string/test-strncmp.c (TEST_NAME): Likewise.
561 * string/test-strncpy.c (TEST_NAME): Likewise.
562 * string/test-strnlen.c (TEST_NAME): Likewise.
563 * string/test-strpbrk.c (TEST_NAME): Likewise.
564 * string/test-strrchr.c (TEST_NAME): Likewise.
565 * string/test-strspn.c (TEST_NAME): Likewise.
566 * string/test-strstr.c (TEST_NAME): Likewise.
567 * string/test-bcopy-ifunc.c: New file.
568 * string/test-bzero-ifunc.c: Likewise.
569 * string/test-memccpy-ifunc.c: Likewise.
570 * string/test-memchr-ifunc.c: Likewise.
571 * string/test-memcmp-ifunc.c: Likewise.
572 * string/test-memcpy-ifunc.c: Likewise.
573 * string/test-memmem-ifunc.c: Likewise.
574 * string/test-memmove-ifunc.c: Likewise.
575 * string/test-mempcpy-ifunc.c: Likewise.
576 * string/test-memset-ifunc.c: Likewise.
577 * string/test-rawmemchr-ifunc.c: Likewise.
578 * string/test-stpcpy-ifunc.c: Likewise.
579 * string/test-stpncpy-ifunc.c: Likewise.
580 * string/test-strcasecmp-ifunc.c: Likewise.
581 * string/test-strcasestr-ifunc.c: Likewise.
582 * string/test-strcat-ifunc.c: Likewise.
583 * string/test-strchr-ifunc.c: Likewise.
584 * string/test-strchrnul-ifunc.c: Likewise.
585 * string/test-strcmp-ifunc.c: Likewise.
586 * string/test-strcpy-ifunc.c: Likewise.
587 * string/test-strcspn-ifunc.c: Likewise.
588 * string/test-strlen-ifunc.c: Likewise.
589 * string/test-strncasecmp-ifunc.c: Likewise.
590 * string/test-strncat-ifunc.c: Likewise.
591 * string/test-strncmp-ifunc.c: Likewise.
592 * string/test-strncpy-ifunc.c: Likewise.
593 * string/test-strnlen-ifunc.c: Likewise.
594 * string/test-strpbrk-ifunc.c: Likewise.
595 * string/test-strrchr-ifunc.c: Likewise.
596 * string/test-strspn-ifunc.c: Likewise.
597 * string/test-strstr-ifunc.c: Likewise.
598
de54b33a
L
599 * debug/Makefile (tests-ifunc): New variable.
600 (tests): Add $(tests-ifunc).
601 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
602 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
603 * debug/test-stpcpy_chk-ifunc.c: New file.
604 * debug/test-strcpy_chk-ifunc.c: Likewise.
605
88481c16
SP
6062012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
607
608 [BZ #13601]
609 * elf/dl-load.c (open_verify): Retry read if the entire ELF
610 header is not read in.
611
135948bd
JM
6122012-10-19 Joseph Myers <joseph@codesourcery.com>
613
89f1c388
JM
614 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
615 script to $(SHELL) as $<. Pass $(common-objpfx) to script
616 directly. Pass built executable to script as
617 $(built-program-cmd).
618 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
619 $testprogram without using LD_LIBRARY_PATH and $ldso.
620
e40a0d21
JM
621 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
622 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
623 $(rtld-installed-name).
624 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
625 (rtld_installed_name): Likewise.
626 (library_path): Likewise.
627 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
628 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
629 $(run-program-prefix) to tst-tables.sh.
630 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
631 it to run tst-table-from and tst-table-to.
632 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
633 Pass it to tst-table.sh.
634 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
635 $(run-program-prefix) to tst-gettext.sh.
636 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
637 tst-translit.sh.
638 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
639 tst-gettext2.sh.
640 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
641 to run tst-gettext.
642 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
643 to run tst-gettext2.
644 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
645 to run tst-translit.
646 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
647 $(run-program-prefix) to tst-mtrace.sh.
648 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
649 to run tst-mtrace.
650 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
651 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
652 $(rtld-installed-name).
653 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
654 (rtld_installed_name): Likewise.
655 (run_program_prefix): New variable. Use it to run wordexp-test.
656
728e272a
JM
657 * Makeconfig (ARCH): Remove all definitions.
658 (machine): Likewise.
659 [ARCH]: Remove conditional code.
660 [!objdir]: Give error.
661 [!objdir] (objpfx): Remove.
662 [!objdir] (common-objpfx): Likewise.
663 [!objdir] (common-objdir): Likewise.
664 * configure.in (config_makefile): Remove. Hardcode Makefile in
665 AC_CONFIG_FILES call.
666 * configure: Regenerated.
667
d528cdcf
JM
668 [BZ #13888]
669 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
670 or TMPDIR.
671 (testout): Likewise.
672
135948bd
JM
673 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
674 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
675 $(rtld-installed-name).
676 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
677 (rtld_installed_name): Likwise.
678 (runit): Remove function.
679 (run_getconf): New variable, Use it for running getconf binary.
680
38c78296
L
6812012-10-18 H.J. Lu <hongjiu.lu@intel.com>
682
683 [BZ #14716]
684 * string/test-memmem.c (check_result): New function.
685 (do_one_test): Use it.
686 (check1): New function.
687 (test_main): Use it.
688
d077f65f
MT
6892012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
690
691 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
692
ced52c71
JM
6932012-10-18 Joseph Myers <joseph@codesourcery.com>
694
695 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
696 (_G_LSEEK64): Likewise.
697 (_G_MMAP64): Likewise.
698 (_G_FSTAT64): Likewise.
699 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
700 (_G_LSEEK64): Likewise.
701 (_G_MMAP64): Likewise.
702 (_G_FSTAT64): Likewise.
703 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
704 unconditional. Call __mmap64 directly.
705 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
706 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
707 __lseek64 directly.
708 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
709 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
710 __mmap64 directly.
711 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
712 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
713 __lseek64 directly.
714 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
715 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
716 __lseek64 directly.
717 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
718 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
719 __lseek64 directly.
720 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
721 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
722 __fxstat64 directly.
723 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
724 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
725 unconditional.
726 (freopen64) [!_G_OPEN64]: Remove conditional code.
727 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
728 unconditional.
729 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
730 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
731 unconditional.
732 (ftello64) [!_G_LSEEK64]: Remove conditional code.
733 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
734 unconditional.
735 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
736 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
737 unconditional.
738 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
739 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
740 unconditional.
741 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
742 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
743 unconditional.
744 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
745 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
746 unconditional.
747 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
748
b741de23
SP
7492012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
750
751 [BZ #12140]
752 * manual/memory.texi (Malloc Tunable Parameters): Add note
753 about free list pointers overwriting some perturb bytes.
754 Wording suggested by Roland McGrath.
755
f9b9d9c9
JM
7562012-10-17 Joseph Myers <joseph@codesourcery.com>
757
758 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
759 (lgamma_test): Likewise.
760 (tgamma_test): Likewise.
761
172a631a
FW
7622012-10-16 Florian Weimer <fweimer@redhat.com>
763
764 [BZ #14700]
765 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
766 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
767
e9f37252
MK
7682012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
769
770 * NEWS: Mention BZ #14716.
771 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
772 when removing AVAILABLE1_USES_J macro.
773
d394eb74
L
7742012-10-12 H.J. Lu <hongjiu.lu@intel.com>
775
776 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
777 (__bswap_64): __uint64_t for unsigned 64-bit int.
778
ca38dc17
AS
7792012-10-12 Andreas Schwab <schwab@linux-m68k.org>
780
781 * include/string.h (memmem): Declare libc hidden alias.
782 * string/memmem.c (memmem): Define libc hidden alias.
783 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
784 __read, __close instead of open, read, close.
785
9a387d1f
L
7862012-10-11 H.J. Lu <hongjiu.lu@intel.com>
787
ac49ecaf
L
788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
789 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
790 global and hidden.
791 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
792 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
793 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
794 Likewise.
795 (__rawmemchr_sse2): Likewise.
796 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
797 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
798 (__strchr_sse2): Likewise.
799 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
800 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
801 (__strcasecmp_sse2): Likewise.
802 (__strncasecmp_sse2): Likewise.
803 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
804 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
805 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
806 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
807 (__strrchr_sse2): Likewise.
808 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
809 ifunc-impl-list.c.
810 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
811 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
812 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
813 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
814 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
815 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
816 * sysdeps/x86_64/multiarch/memset.S: Likewise.
817 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
818 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
819 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
820 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
821 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
822 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
823 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
824 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
825 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
826 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
827 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
828 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
829 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
830 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
831 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
832 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
833 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
834 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
835 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
836 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
837 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
838 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
839 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
840
b090e8ea
L
841 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
842 global and hidden.
843 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
844 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
845 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
846 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
847 Likewise.
848 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
849 Likewise.
850 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
851 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
852 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
853 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
854 ifunc-impl-list.c.
855 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
856 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
857 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
858 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
859 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
860 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
861 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
862 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
863 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
864 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
865 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
866 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
867 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
868 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
869 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
870 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
871 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
872 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
873 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
874 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
875 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
876 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
877 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
878 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
879 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
880 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
881 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
882 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
883 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
884 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
885 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
886 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
887 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
888 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
889 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
890 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
891 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
892 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
893 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
894 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
895 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
896
11dd4af6
L
897 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
898 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
899 * include/ifunc-impl-list.h: New file.
900 * misc/ifunc-impl-list.c: Likewise.
901 * misc/Makefile (routines): Add ifunc-impl-list.
902 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
903 * string/test-string.h: Include <ifunc-impl-list.h>.
904 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
905 impl_array): New variables.
906 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
907 are defined.
908 (test_init): Call __libc_ifunc_impl_list to initialize
909 func_list if TEST_IFUNC and TEST_NAME are defined.
910
9a387d1f
L
911 * string/Makefile (strop-tests): Add bcopy and bzero.
912 * string/test-bcopy.c: New file.
913 * string/test-bzero.c: Likewise.
914 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
915 defined.
916 * string/test-memset.c: Support bzero test if TEST_BZERO is
917 defined.
918 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
919 __libc_memmove.
920 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
921 __libc_memset.
922 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
923 of memset.
924
472371b9
JM
9252012-10-10 Joseph Myers <joseph@codesourcery.com>
926
1e4a9536
JM
927 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
928 * configure: Regenerated.
929
d173d12e
JM
930 * Makeconfig (+link-static-before-libc): Don't include
931 $(link-static-libc).
932
472371b9
JM
933 * libio/libio.h (_IO_pos_t): Remove.
934
89a3ad0b
AO
9352012-10-10 Alexandre Oliva <aoliva@redhat.com>
936
937 * NEWS: Add note about FIPS mode. Wording suggested by Roland
938 McGrath.
939
e7451425
AO
9402012-10-10 Alexandre Oliva <aoliva@redhat.com>
941
942 * crypt/crypt-entry.c: Include fips-private.h.
943 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
944 * crypt/md5c-test.c (main): Tolerate disabled MD5.
945 * sysdeps/unix/sysv/linux/fips-private.h: New file.
946 * sysdeps/generic/fips-private.h: New file, dummy fallback.
947
4ba74a35
AO
9482012-10-10 Alexandre Oliva <aoliva@redhat.com>
949
950 * crypt/crypt-private.h: Include stdbool.h.
951 (_ufc_setup_salt_r): Return bool.
952 * crypt/crypt-entry.c: Include errno.h.
953 (__crypt_r): Return NULL with EINVAL for bad salt.
954 * crypt/crypt_util.c (bad_for_salt): New.
955 (_ufc_setup_salt_r): Check that salt is long enough and within
956 the specified alphabet.
957 * crypt/badsalttest.c: New file.
958 * crypt/Makefile (tests): Add it.
959 ($(objpfx)badsalttest): New.
960
f96f1242
MK
9612012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
962
963 * NEWS: Add entry for BZ #14602.
964
0e8e0c1c
JM
9652012-10-09 Joseph Myers <joseph@codesourcery.com>
966
967 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
968 type-generic.
969 * math/libm-test.inc: Update comment listing what functions and
970 macros are tested.
971 (isgreater_test): New function.
972 (isgreaterequal_test): Likewise.
973 (isless_test): Likewise.
974 (islessequal_test): Likewise.
975 (islessgreater_test): Likewise.
976 (isunordered_test): Likewise.
977 (main): Call the new functions.
978
273edc5e
RM
9792012-10-09 Roland McGrath <roland@hack.frob.com>
980
b8493de0
RM
981 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
982 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
983 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
984 * sysdeps/i386/configure: Regenerated.
985 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
986 * sysdeps/mach/configure: Regenerated.
987 * sysdeps/mach/hurd/configure: Regenerated.
988 * sysdeps/powerpc/configure: Regenerated.
989 * sysdeps/powerpc/powerpc32/configure: Regenerated.
990 * sysdeps/powerpc/powerpc64/configure: Regenerated.
991 * sysdeps/s390/s390-32/configure: Regenerated.
992 * sysdeps/s390/s390-64/configure: Regenerated.
993 * sysdeps/sh/configure: Regenerated.
994 * sysdeps/sparc/configure: Regenerated.
995 * sysdeps/unix/sysv/linux/configure: Regenerated.
996 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
997 * sysdeps/x86_64/configure: Regenerated.
998
273edc5e
RM
999 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1000 defined. Don't check if MAP is NULL.
1001
c8450f70
JM
10022012-10-09 Joseph Myers <joseph@codesourcery.com>
1003
1004 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1005 (_G_stat64): Likewise.
1006 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1007 (_G_stat64): Likewise.
1008 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1009 instead of struct _G_stat64.
1010 * libio/fileops.c (mmap_remap_check): Likewise.
1011 (decide_maybe_mmap): Likewise.
1012 (_IO_new_file_seekoff): Likewise.
1013 (_IO_file_stat): Likewise.
1014 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1015 _G_off64_t.
1016 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1017 instead of struct _G_stat64.
1018 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1019
57e605ba
MK
10202012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1021
1022 [BZ #14602]
1023 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1024 Replace with ...
1025 (CHECK_EOL): New macro.
1026 (two_way_short_needle): Check beginning of haystack for EOL. Use
1027 CHECK_EOL.
1028 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1029 Replace with CHECK_EOL.
1030 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1031 Replace with CHECK_EOL.
1032
ef1bb361
JM
10332012-10-08 Joseph Myers <joseph@codesourcery.com>
1034
1035 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1036 type-generic.
1037 * math/libm-test.inc: Update comment listing what functions and
1038 macros are tested.
1039 (finite_test): New function.
1040 (isinf_test): Likewise.
1041 (isnan_test): Likewise.
1042 (fpclassify_test): Test subnormal input.
1043 (isfinite_test): Likewise.
1044 (isnormal_test): Likewise.
1045 (main): Call the new functions.
1046
55f11534
JN
10472012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1048
1049 [BZ #14660]
1050 * Makerules (%.dynsym): Force C locale when running
1051 $(OBJDUMP) --dynamic-syms.
1052
1ab29350
AS
10532012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1054
1055 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1056 <stdint.h>.
1057
f1ecb7ef
DM
10582012-10-06 David S. Miller <davem@davemloft.net>
1059
1060 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1061 upper 32-bits of the length value in %o2 since we use branch-on-register
1062 tests which consider the entire 64-bit register.
1063
5d41d91a
L
10642012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1065
1066 * string/test-strstr.c (check2): Add a test for page boundary.
1067
3baddb72
DM
10682012-10-05 David S. Miller <davem@davemloft.net>
1069
1070 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1071 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1072 file.
1073 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1074 sysdep_routines.
1075 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1076 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1077 and bzero when HWCAP_SPARC_CRYPTO is present.
1078
9cee5585
L
10792012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1080
d7e0dab9
L
1081 [BZ #14602]
1082 * string/test-strstr.c (check2): New function.
1083 (test_main): Call check2.
1084
03759f47
L
1085 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1086 and bug-strchr1.
1087 * string/bug-strcasestr1.c (do_test): Moved to ...
1088 * string/test-strcasestr.c (check1): Here. New function.
1089 (do_one_test): Break out result checking code into ...
1090 (check_result): This. New function.
1091 (do_one_test): Call check_result.
1092 (test_main): Call check1.
1093 * string/bug-strchr1.c (do_test): Moved to ...
1094 * string/test-strchr.c (check1): Here. New function.
1095 (do_one_test): Break out result checking code into ...
1096 (check_result): This. New function.
1097 (do_one_test): Call check_result.
1098 (test_main): Call check1.
1099 * string/bug-strstr1.c (main): Moved to ...
1100 * string/test-strchr.c (check1): Here. New function.
1101 (do_one_test): Break out result checking code into ...
1102 (check_result): This. New function.
1103 (do_one_test): Call check_result.
1104 (test_main): Call check1.
1105 * string/bug-strcasestr1.c: Removed.
1106 * string/bug-strchr1.c: Likewise.
1107 * string/bug-strstr1.c: Likewise.
1108
53cea63e
L
1109 * elf/Makefile (dl-routines): Add hwcaps.
1110 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1111 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1112 (_dl_important_hwcaps): Moved to ...
1113 * elf/dl-hwcaps.c: Here. New file.
1114 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1115
9cee5585 1116 [BZ #14557]
bb859b06
L
1117 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1118 if IS_IN_rtld isn't defined.
1119
9cee5585
L
1120 * elf/dl-support.c (_dl_sysinfo_map): New.
1121 Include "get-dynamic-info.h" and "setup-vdso.h".
1122 (_dl_non_dynamic_init): Call setup_vdso.
1123 * elf/dynamic-link.h: Don't include <assert.h>.
1124 (elf_get_dynamic_info): Moved to ...
1125 * elf/get-dynamic-info.h: Here. New file.
1126 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1127 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1128 * elf/setup-vdso.h: Here. New file.
1129 * elf/rtld.c: Include "setup-vdso.h".
1130 (dl_main): Call setup_vdso.
1131
23c31b76
JM
11322012-10-05 Joseph Myers <joseph@codesourcery.com>
1133
28234b07
JM
1134 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1135 creal in comment listing functions tested. List finite, isinf,
1136 isnan, isless, islessequal, isgreater, isgreaterequal,
1137 islessgreater, isunordered, lgamma_r and pow10 as functions and
1138 macros not tested. Mention which functions not tested are aliases
1139 for other functions. Fix typo. Note that signs of NaNs are not
1140 tested.
1141
23c31b76
JM
1142 * scripts/config.guess: Update from config.git.
1143 * scripts/config.sub: Likewise.
1144
9043e228
RM
11452012-10-04 Roland McGrath <roland@hack.frob.com>
1146
1147 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1148 * misc/madvise.c (madvise): Renamed to __madvise.
1149 Make madvise a weak alias.
1150 * include/sys/mman.h: Declare __madvise.
1151 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1152 * sysdeps/unix/syscalls.list
1153 (madvise): Make __madvise the strong name, and madvise a weak alias.
1154 * sysdeps/unix/sysv/linux/syscalls.list
1155 (madvise, mmap): Remove redundant entries.
1156 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1157 * malloc/malloc.c (mtrim): Likewise.
1158 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1159
f57f8055
RM
11602012-10-03 Roland McGrath <roland@hack.frob.com>
1161
1162 * sysdeps/mach/hurd/dl-cache.c: File removed.
1163 * config.h.in (USE_LDCONFIG): New #undef.
1164 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1165 * configure: Regenerated.
1166 * elf/Makefile (dl-routines): Add dl-cache only under
1167 [$(use-ldconfig) = yes].
1168 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1169 cache on [USE_LDCONFIG].
1170 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1171 [USE_LDCONFIG].
1172 * elf/rtld.c (dl_main): Likewise.
1173
5bb0c10a
PT
11742012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1175
1176 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1177 _SC_LEVEL4_CACHE_LINESIZE.
1178
010188c6
RM
11792012-10-03 Roland McGrath <roland@hack.frob.com>
1180
1181 * sysdeps/unix/bsd/confstr.h: File removed.
1182
b6c5ec07
AO
11832012-10-02 Alexandre Oliva <aoliva@redhat.com>
1184
1185 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1186 sys/sdt-config.h.
1187
408223d4
RM
11882012-10-02 Roland McGrath <roland@hack.frob.com>
1189
1190 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1191 Make 'mapoff' field ElfW(Off) rather than off_t.
1192
bb9510dc
DL
11932012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1194
fc997c6e
DL
1195 * nscd/Makefile: Remove nscd-cflags and all its users.
1196 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1197 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1198
bb9510dc
DL
1199 [BZ #10631]
1200 * malloc.c (malloc_printerr): Clarify error message.
1201
05699367
L
12022012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1203
1204 [BZ #14648]
1205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1206 Set bit_FMA_Usable if FMA is supported.
1207 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1208 macro.
1209 (bit_FMA4_Usable): Updated.
1210 (index_FMA_Usable): New macro.
1211 (CPUID_FMA): Likewise
1212 (HAS_FMA): Defined with bit_FMA_Usable.
1213
51367701
RM
12142012-10-01 Roland McGrath <roland@hack.frob.com>
1215
1216 * bits/types.h (__swblk_t): Type removed.
1217 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1218 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1219 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1220 (__SWBLK_T_TYPE): Likewise.
1221 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1222 (__SWBLK_T_TYPE): Likewise.
1223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1224 (__SWBLK_T_TYPE): Likewise.
1225 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1226 (__SWBLK_T_TYPE): Likewise.
1227
4d57bf63 12282012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 1229 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
1230
1231 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1232 (xdr_mapname): Use YPMAXMAP as maxsize.
1233 (xdr_peername): Use YPMAXPEER as maxsize.
1234 (xdr_keydat): Use YPAXRECORD as maxsize.
1235 (xdr_valdat): Use YPMAXRECORD as maxsize.
1236
93c65d43
RM
12372012-10-01 Roland McGrath <roland@hack.frob.com>
1238
497a03d6
RM
1239 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1240
93c65d43
RM
1241 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1242 * csu/init-first.c: ... here.
1243 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1244 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1245 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1246 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1247 * sysdeps/i386/init-first.c: File removed.
1248 * sysdeps/sh/init-first.c: File removed.
1249
bec749fd
JM
12502012-10-01 Joseph Myers <joseph@codesourcery.com>
1251
1252 [BZ #14645]
1253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1254 if x * y might underflow to zero and z is zero.
1255 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1256 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1257 * math/libm-test.inc (min_subnorm_value): New variable.
1258 (fma_test): Add more tests.
1259 (fma_test_towardzero): Likewise.
1260 (fma_test_downward): Likewise
1261 (fma_test_upward): Likewise.
1262 (initialize): Set min_subnorm_value.
1263
8ec5b013
JM
12642012-09-29 Joseph Myers <joseph@codesourcery.com>
1265
1266 [BZ #14638]
1267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1268 0 + 0.
1269 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1270 mode for addition resulting in exact zero.
1271 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1272 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1273 exact 0 + 0.
1274 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1275 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1276 * math/libm-test.inc (fma_test): Add more tests.
1277 (fma_test_towardzero): New function.
1278 (fma_test_downward): Likewise.
1279 (fma_test_upward): Likewise.
1280 (main): Call the new functions.
1281
b1fa802e
DM
12822012-09-28 David S. Miller <davem@davemloft.net>
1283
1284 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1285
d3b9fd9e
RM
12862012-09-28 Roland McGrath <roland@hack.frob.com>
1287
ea4d37b3
RM
1288 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1289 instead of SIGALRM.
1290
ac51c949
RM
1291 * sysdeps/gnu/_G_config.h: Moved to ...
1292 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1293 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1294 * sysdeps/generic/_G_config.h: ... here.
1295
28c195f7
RM
1296 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1297
848917f9
RM
1298 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1299
6bacf05b
RM
1300 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1301 Conditionalize target on [libnss_test1.so-version].
1302
91363dbb
RM
1303 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1304
cc87f7d8
RM
1305 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1306 (elfobjdir): Move out of conditionals.
1307
b1c608fe
RM
1308 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1309 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1310 (__nss_lookup_function): Conditionalize label remove_from_tree on
1311 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 1312
1d9a6d96
DM
13132012-09-28 David S. Miller <davem@davemloft.net>
1314
1315 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1316 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1317 file.
1318 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1319 sysdep_routines.
1320 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1322 when HWCAP_SPARC_CRYPTO is present.
1323
72581615
PT
13242012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1325
1326 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1327
715a900c
JL
13282012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1329
1330 [BZ #6530]
1331 * stdio-common/vfprintf.c (process_string_arg): Revert
1332 2000-07-22 change.
1333
13342011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1335
1336 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1337 for testcase.
1338 * stdio-common/tst-sprintf.c: Include <locale.h>
1339 (main): Test sprintf's handling of incomplete multibyte
1340 characters.
1341
9bac1d86
L
13422012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1343
1344 * elf/dl-runtime.c (VERSYMIDX): Removed.
1345 * elf/dl-version.c (VERSYMIDX): Likewise.
1346 * elf/do-rel.h (VERSYMIDX): Likewise.
1347 (VALIDX): Likewise.
1348 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1349 * elf/rtld.c (VALIDX): Likewise.
1350 (ADDRIDX): Likewise.
9bac1d86
L
1351 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1352 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1353 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
1354 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1355 (VALIDX): Likewise.
1356 (ADDRIDX): Likewise.
9bac1d86 1357
b31606c0
PT
13582012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1359
1360 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1361
11541177
JL
13622012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1363
1364 [BZ #11438]
1365 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1366 to global scope.
1367 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1368 addresses are in the same scope as 192.0.2/24.
1369 * posix/gai.conf: Document new scope table defaults.
1370
adb26fae
SP
13712012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1372
1373 [BZ #5298]
1374 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1375 for ftell. Compute offsets from write pointers instead.
1376 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1377
4573c6b0
SP
13782012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1379
1380 [BZ #14543]
1381 * libio/Makefile (tests): New test case tst-fseek.
1382 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1383 combination works in wide mode.
1384 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1385 state when the external buffer state changes.
1386
aa9bbfe6
DM
13872012-09-27 David S. Miller <davem@davemloft.net>
1388
1389 [BZ #14376]
1390 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1391 pass reloc->r_addend in as the 'high' argument to
1392 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1393
784421e7
DM
1394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1395
c39bc8b8
PT
13962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1397
1398 * rt/tst-aio2.c: Include <pthread.h>.
1399 * rt/tst-aio3.c: Likewise.
1400
1ccc2399
SE
14012012-09-27 Steve Ellcey <sellcey@mips.com>
1402
1403 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1404
31ed4153
L
14052012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1406
25f5f885
L
1407 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1408 contents on [SHARED].
31ed4153 1409
b7bfe116
MP
14102012-09-26 Marek Polacek <polacek@redhat.com>
1411
1412 [BZ #14530]
1413 [BZ #13741]
1414 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1415 for C++ and GCC <4.3 as well as for non GCC compilers.
1416
43c4edba
MT
14172012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1418
1419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1420
6a1bf82f
RM
14212012-09-25 Roland McGrath <roland@hack.frob.com>
1422
1423 * Makefile.in (all, install): Declare with .PHONY.
1424 Reported by Michael Hope <michael.hope@linaro.org>.
1425
8ad11b9a
TMQMF
14262012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1427
1428 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1429 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1430 system header.
1431 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1432 Likewise.
1433 (sydep_routines): Add the new and the internal functions.
1434 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1435 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1437 (GLIBC_2.17): Add the new function.
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1439 (GLIBC_2.17): Likewise.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1441 (GLIBC_2.17): Likewise.
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1443 (GLIBC_2.17): Likewise.
1444 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1445
7e2fca8d
AM
14462012-09-25 Alan Modra <amodra@gmail.com>
1447
1448 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1449 Add release barrier before setting once_control to say
1450 initialisation is done. Add hints on lwarx. Use macro in
1451 place of isync.
1452 (clear_once_control): Add release barrier.
1453
b87c4b24
JM
14542012-09-25 Joseph Myers <joseph@codesourcery.com>
1455
d032e0d2
JM
1456 [BZ #13629]
1457 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1458 specially.
1459 * math/s_clog10.c (__clog10): Likewise.
1460 * math/s_clog10f.c (__clog10f): Likewise.
1461 * math/s_clog10l.c (__clog10l): Likewise.
1462 * math/s_clogf.c (__clogf): Likewise.
1463 * math/s_clogl.c (__clogl): Likewise.
1464 * math/Makefile (libm-calls): Add x2y2m1.
1465 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1466 (__x2y2m1): Likewise.
1467 (__x2y2m1l): Likewise.
1468 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1469 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1470 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1471 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1472 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1473 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1474 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1475 * sysdeps/i386/fpu/libm-test-ulps: Update.
1476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1477
b87c4b24
JM
1478 [BZ #14621]
1479 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1480 int as type of variable DEPTH.
1481 (glob): Use size_t instead of int as type of variables NEWCOUNT
1482 and OLD_PATHC.
1483
6d3bf199
LD
14842012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1485
22bf5c17
LD
1486 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1487 Add s_sincosf-sse2.
1488 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1489 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1490 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1491 macros for using routine as __sincosf_ia32.
1492 Use macro for function declaration and weak_alias.
1493 * sysdeps/i386/fpu/libm-test-ulps: Update.
1494
1495 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1497
1498 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1499 subnormal argument.
1500 * math/s_cexpf.c (__cexpf): Likewise.
1501 * math/s_csinf.c (__csinf): Likewise.
1502 * math/s_csinhf.c (__csinhf): Likewise.
1503 * math/s_ctanf.c (__ctanf): Likewise.
1504 * math/s_ctanhf.c (__ctanhf): Likewise.
1505 * math/s_ccosh.c (__ccoshf): Likewise.
1506 * math/s_cexp.c (__cexpl): Likewise.
1507 * math/s_csin.c (__csin): Likewise.
1508 * math/s_csinh.c (__csinh): Likewise.
1509 * math/s_ctan.c (__ctan): Likewise.
1510 * math/s_ctanh.c (ctanh): Likewise.
1511 * math/s_ccoshl.c (__ccoshl): Likewise.
1512 * math/s_cexpl.c (__cexpl): Likewise.
1513 * math/s_csinl.c (__csinl): Likewise.
1514 * math/s_csinhl.c (__csinhl): Likewise.
1515 * math/s_ctanl.c (__ctanl): Likewise.
1516 * math/s_ctanhl.c (__ctanhl): Likewise.
1517
203e5603
JM
15182012-09-25 Joseph Myers <joseph@codesourcery.com>
1519
1520 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1521 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1522 (_IO_off_t): Define to __off_t, not _G_off_t.
1523 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1524 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1525 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1526 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1527 type of __dummy and __dummy2 fields.
1528 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1529 (_G_ssize_t): Likewise.
1530 (_G_off_t): Likewise.
1531 (_G_pid_t): Likewise.
1532 (_G_uid_t): Likewise.
1533 (_G_wchar_t): Likewise.
1534 (_G_wint_t): Likewise.
1535 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1536 (_G_ssize_t): Likewise.
1537 (_G_off_t): Likewise.
1538 (_G_pid_t): Likewise.
1539 (_G_uid_t): Likewise.
1540 (_G_wchar_t): Likewise.
1541 (_G_wint_t): Likewise.
1542 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1543 (_G_ssize_t): Likewise.
1544 (_G_off_t): Likewise.
1545 (_G_pid_t): Likewise.
1546 (_G_uid_t): Likewise.
1547 (_G_wchar_t): Likewise.
1548 (_G_wint_t): Likewise.
1549
9fab36eb
SP
15502012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1551
1552 * malloc/arena.c: Include malloc-sysdep.h.
1553 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1554 is sufficient to shrink the heap or an unmap is needed.
1555 * sysdeps/generic/malloc-sysdep.h: New file. Define
1556 new function check_may_shrink_heap.
1557 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1558 new function check_may_shrink_heap.
1559
2b4f00d1
SP
15602012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1561
1562 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1563 comments.
1564
9a9028b1
DL
15652012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1566
57c69bef
DL
1567 * catgets/test-gencat.sh: Add "set -e".
1568 * elf/tst-pathopt.sh: Likewise.
1569 * grp/tst_fgetgrent.sh: Likewise.
1570 * iconvdata/run-iconv-test.sh: Likewise.
1571 * intl/tst-gettext.sh: Likewise.
1572 * intl/tst-gettext2.sh: Likewise.
1573 * intl/tst-gettext4.sh: Likewise.
1574 * intl/tst-gettext6.sh: Likewise.
1575 * intl/tst-translit.sh: Likewise.
1576 * io/ftwtest-sh: Likewise.
1577 * libio/test-freopen.sh: Likewise.
1578 * malloc/tst-mtrace.sh: Likewise.
1579 * posix/globtest.sh: Likewise.
1580 * posix/tst-getconf.sh: Likewise.
1581 * posix/wordexp-tst.sh: Likewise.
1582 * stdio-common/tst-printf.sh: Likewise.
1583 * stdio-common/tst-unbputc.sh: Likewise.
1584 * stdlib/tst-fmtmsg.sh: Likewise.
1585 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1586 * catgets/Makefile: Do not specify -e option when running
1587 testsuite shell scripts.
1588 * elf/Makefile: Likewise.
1589 * grp/Makefile: Likewise.
1590 * iconvdata/Makefile: Likewise.
1591 * intl/Makefile: Likewise.
1592 * io/Makefile: Likewise.
1593 * libio/Makefile: Likewise.
1594 * malloc/Makefile: Likewise.
1595 * posix/Makefile: Likewise.
1596 * stdio-common/Makefile: Likewise.
1597 * stdlib/Makefile: Likewise.
1598 * sysdeps/x86_64/Makefile: Likewise.
1599
9a9028b1
DL
1600 * io/ftwtest-sh: Add copyright header.
1601 * posix/globtest.sh: Likewise.
1602 * posix/tst-getconf.sh: Likewise.
1603 * posix/wordexp-tst.sh: Likewise.
1604 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1605
ced6f16e
L
16062012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1607
94b32c39
L
1608 [BZ #13679]
1609 * Makeconfig (+link): Defined as $(+link-static) if
1610 $(build-shared) isn't yes.
1611 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1612 isn't yes.
1613 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1614
189e935b
L
1615 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1616
ced6f16e
L
1617 [BZ #14562]
1618 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1619 new chunk size with MALLOC_ALIGN_MASK.
1620
a9f8e53a
JM
16212012-09-24 Joseph Myers <joseph@codesourcery.com>
1622
1623 [BZ #5044]
1624 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1625 <rounding-mode.h>.
1626 (__printf_fphex): Determine rounding using get_rounding_mode and
1627 round_away.
1628 * stdio-common/tst-printf-round.c (struct hex_test): New
1629 structure.
1630 (hex_tests): New variable.
1631 (test_hex_in_one_mode): New function.
1632 (do_test): Also run tests for hex float output.
1633
43153109
JM
16342012-09-21 Joseph Myers <joseph@codesourcery.com>
1635
1636 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1637 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1638 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1639 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1640 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1641 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1642 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1643 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1644
8a26625d
JM
16452012-09-20 Joseph Myers <joseph@codesourcery.com>
1646
1647 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1648 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1649 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1650 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1651
f3fd569c
DL
16522012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1653
1654 [BZ #14579]
1655 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1656 mode only.
1657 * elf/tst-rtld-load-self.sh: New test.
1658 * elf/Makefile: Run it.
1659
63bbedd4
JM
16602012-09-18 Joseph Myers <joseph@codesourcery.com>
1661
1662 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1663 (tst-writev-ENV): Remove.
1664 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1665
626f8b6a
CM
16662012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1667
1668 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1669
b7aaa4d6
JM
16702012-09-17 Joseph Myers <joseph@codesourcery.com>
1671
1672 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1673 unconditional.
1674 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1675 Likewise.
1676 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1677 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1678 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1679 Likewise.
1680
65513990
L
16812012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1682
1683 [BZ #14587]
1684 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1685 * config.make.in (have-cpp-asm-debuginfo): Removed.
1686 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1687 * configure: Regenerated.
1688
784761be
JM
16892012-09-14 Joseph Myers <joseph@codesourcery.com>
1690
1691 [BZ #5044]
1692 * stdio-common/printf_fp.c: Include <stdbool.h> and
1693 <rounding-mode.h>.
1694 (___printf_fp): Determine rounding using get_rounding_mode and
1695 round_away.
1696 * stdio-common/tst-printf-round.c: New file.
1697 * stdio-common/Makefile (tests): Add tst-printf-round.
1698 (link-libm): New variable.
1699 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1700
9503345f
L
17012012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1702
1703 [BZ #14576]
1704 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1705 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1706 Likewise.
1707 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1708 Likewise.
1709
ad35fc00
JM
17102012-09-13 Joseph Myers <joseph@codesourcery.com>
1711
1712 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1713 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1714 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1715 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1716
6c9b0f68
JM
17172012-09-12 Joseph Myers <joseph@codesourcery.com>
1718
1719 [BZ #14518]
1720 * include/rounding-mode.h: New file.
1721 * sysdeps/generic/get-rounding-mode.h: Likewise.
1722 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1723 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1724 (MAX_VALUE): New macro.
1725 (MIN_VALUE): Likewise.
1726 (overflow_value): New function.
1727 (underflow_value): Likewise.
1728 (round_and_return): Use overflow_value and underflow_value to
1729 determine return values in overflow and underflow cases. Use
1730 round_away to determine rounding depending on rounding mode.
1731 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1732 determine return values in overflow and underflow cases.
1733 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1734 (struct test_results): New structure.
1735 (struct test): Use struct test_results to store expected results
1736 for all rounding modes.
1737 (TEST): Include expected results for all rounding modes.
1738 (test_in_one_mode): New function.
1739 (do_test): Use test_in_one_mode to compute and check results.
1740 Check results for all rounding modes.
1741 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1742 $(link-libm).
1743
19fcedd5
AM
17442012-12-09 Allan McRae <allan@archlinux.org>
1745
1e9d84cd 1746 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 1747
8bbfd2f1
JM
17482012-09-11 Joseph Myers <joseph@codesourcery.com>
1749
1750 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1751 (_G_int32_t): Likewise.
1752 (_G_uint16_t): Likewise.
1753 (_G_uint32_t): Likewise.
1754 (_G_HAVE_BOOL): Likewise.
1755 (_G_HAVE_ATEXIT): Likewise.
1756 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1757 (_G_HAVE_IO_FILE_OPEN): Likewise.
1758 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1759 (_G_int32_t): Likewise.
1760 (_G_uint16_t): Likewise.
1761 (_G_uint32_t): Likewise.
1762 (_G_HAVE_BOOL): Likewise.
1763 (_G_HAVE_ATEXIT): Likewise.
1764 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1765 (_G_HAVE_IO_FILE_OPEN): Likewise.
1766 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1767 (_G_int32_t): Likewise.
1768 (_G_uint16_t): Likewise.
1769 (_G_uint32_t): Likewise.
1770 (_G_HAVE_BOOL): Likewise.
1771 (_G_HAVE_ATEXIT): Likewise.
1772 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1773 (_G_HAVE_IO_FILE_OPEN): Likewise.
1774
b1dc5912
L
17752012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1776
1777 * csu/libc-tls.c: Update copyright years.
1778
0e886ef9
JM
17792012-09-10 Joseph Myers <joseph@codesourcery.com>
1780
28361c5e
JM
1781 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1782 [!_G_USING_THUNKS]: Remove conditional code.
1783 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1784 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1785
0e886ef9
JM
1786 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1787 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1788 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1789 (_G_VTABLE_LABEL_PREFIX): Likewise.
1790 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1791 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1792 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1793 (_G_VTABLE_LABEL_PREFIX): Likewise.
1794 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1795 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1796 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1797 (_G_VTABLE_LABEL_PREFIX): Likewise.
1798 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1799
bcba7aa2
L
18002012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1801
1802 * libio/Makefile: Include ../Makeconfig before tests.
1803 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1804 only if $(build-shared) is yes.
1805
06585ee8
L
1806 * iconv/gconv_db.c: Update copyright years.
1807
80ccd52c
LD
18082012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1809
1810 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1811 unwind info if defined PIC. Fix special cases description.
1812 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1813
1814 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1815 DP_HI_MASK entry.
1816 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1817
691bc9c1
L
18182012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1819
3d9b46b3
L
1820 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1821
de2139a9
L
1822 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1823 is NULL.
1824
5ca78dd0
L
1825 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1826 (LDLIBS-tst-chk4): This.
1827 (LDFLAGS-tst-chk5): Renamed to ...
1828 (LDLIBS-tst-chk5): This.
1829 (LDFLAGS-tst-chk6): Renamed to ...
1830 (LDLIBS-tst-chk6): This.
1831 (LDFLAGS-tst-lfschk4): Renamed to ...
1832 (LDLIBS-tst-lfschk4): This.
1833 (LDFLAGS-tst-lfschk5): Renamed to ...
1834 (LDLIBS-tst-lfschk5): This.
1835 (LDFLAGS-tst-lfschk6): Renamed to ...
1836 (LDLIBS-tst-lfschk6): This.
1837
691bc9c1
L
1838 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1839 on $(common-objpfx)soversions.mk.
1840
65cafb1c
JM
18412012-09-07 Joseph Myers <joseph@codesourcery.com>
1842
1843 [BZ #10014]
1844 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1845 example host name.
1846
c78ab094
SP
18472012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1848
1849 * malloc/arena.c (arena_get_retry): New function that gets
1850 another arena for the caller to try its request on.
1851 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1852 current arena cannot fulfill the request.
1853 (__libc_memalign): Likewise.
1854 (__libc_memalign): Likewise.
1855 (__libc_pvalloc): Likewise.
1856 (__libc_calloc): Likewise.
1857
01f49f59
JT
18582012-09-05 John Tobey <john.tobey@gmail.com>
1859
1860 [BZ #13542]
1861 * manual/arith.texi (Operations on Complex): Fix description
1862 of carg branch cut.
1863
4c23fed5
JM
18642012-09-06 Joseph Myers <joseph@codesourcery.com>
1865
1d3c8572
JM
1866 [BZ #10014]
1867 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1868 host name.
1869
4c23fed5
JM
1870 [BZ #10038]
1871 * manual/memory.texi (Memory): Make order of menu items match
1872 order of sections.
1873
04570aaa
L
18742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1875
1876 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1877 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1878 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1879
b80af2f4
L
18802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1881
1882 * csu/libc-tls.c (static_dtv): Renamed to ...
1883 (_dl_static_dtv): This. Make it global.
1884 (_dl_initial_dtv): Removed.
1885 (__libc_setup_tls): Updated.
1886 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1887 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1888 DL_INITIAL_DTV.
1889
2abe9f15
PM
18902012-09-06 Petr Machata <pmachata@redhat.com>
1891
1892 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1893 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1894 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1895 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1896
0948c3af
L
18972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1898
1899 [BZ #14545]
1900 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1901 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1902 freeing dtv[-1].
1903
a5055ad1
L
19042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1905
1906 [BZ #14544]
1907 * Makeconfig (link-static-before-libc): Replace $(+prector)
1908 with $(+prectorT).
1909 (link-static-after-libc): Replace $(+postctor) with
1910 $(+postctorT).
1911 (link-bounded): Replace $(+prector)/$(+postctor) with
1912 $(+prectorT)/$(+postctorT).
1913 (+prectorT): New macro.
1914 (+postctorT): Likewise.
1915
ed8c2ecd
JM
19162012-09-06 Joseph Myers <joseph@codesourcery.com>
1917
1918 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1919 (round_str): Handle values above the maximum for IBM long double
1920 as inexact.
1921 * stdlib/tst-strtod-round.c (tests): Regenerated.
1922
14c996c8
AK
19232012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1924
1925 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1926 assembler flag.
1927 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1928 zarch_nohighgprs around the zarch optimized routines.
1929 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1930 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1931 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1932 for zarch.
1933
430d6ce6
DM
19342012-09-05 David S. Miller <davem@davemloft.net>
1935
1936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1937
ff04dda4
DM
1938 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1939 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1940 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1941 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1942 entries.
1943
24d4e01b
AO
19442012-09-05 Alexandre Oliva <aoliva@redhat.com>
1945
1946 * malloc/arena.c: Fold copyright years.
1947 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1948
61d58174
AO
19492012-09-05 Alexandre Oliva <aoliva@redhat.com>
1950
1951 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1952
20196a5e
AO
19532012-09-05 Alexandre Oliva <aoliva@redhat.com>
1954
1955 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1956
5c447383
AO
19572012-09-05 Alexandre Oliva <aoliva@redhat.com>
1958
1959 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1960 change internal state upon failure.
1961
fad64255
AO
19622012-09-05 Alexandre Oliva <aoliva@redhat.com>
1963
1964 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1965 * malloc/memusage.c (mmap): Likewise.
1966 (mmap64, mremap): Likewise. Adjust name in comment.
1967
1ffb8c90
SP
19682012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1969
1970 * libio/fileops.c: Fix typos in comments.
1971 * libio/oldfileops.c: Likewise.
1972 * libio/wfileops.c: Likewise.
1973
6ef9cc37
SP
19742012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1975
1976 [BZ #1349]
1977 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1978 (tst-malloc-usable-ENV): Set environment for test case.
1979 * malloc/hooks.c (malloc_check_get_size): New function to get
1980 requested size.
1981 * malloc/malloc.c (musable): Use malloc_check_get_size.
1982 * malloc/tst-malloc-usable.c: New test case.
1983
4d038ae3
AS
19842012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1985
1986 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1987
c4e85184
AM
19882012-09-05 Allan McRae <allan@archlinux.org>
1989
b9dafc56 1990 [BZ #13966]
c4e85184
AM
1991 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1992 determine header location.
1993 * configure: Regenerated.
1994
e1343020
AS
19952012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1996
1997 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1998 float format.
1999 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
2000 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2001 format.
e1343020
AS
2002 (test): Regenerate.
2003
0a9f1987
DM
20042012-09-04 David S. Miller <davem@davemloft.net>
2005
2006 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2007 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2008 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2009
29237804
FW
20102012-09-04 Florian Weimer <fweimer@redhat.com>
2011
2012 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2013 failures.
2014
edb3cb88
FW
2015 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2016
60160d83
JM
20172012-09-04 Joseph Myers <joseph@codesourcery.com>
2018
2019 [BZ #9914]
2020 * libio/iogetdelim.c: Include <limits.h>.
2021 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2022 + len + 1 would overflow.
2023
bcd6c8dc
AJ
20242012-09-03 Andreas Jaeger <aj@suse.de>
2025
2026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2027 * sysdeps/i386/fpu/libm-test-ulps: Update.
2028
4ffffbd2
LD
20292012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2030
2031 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2032 Add s_sinf-sse2, s_conf-sse2.
2033
2034 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2035 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2036 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2037 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2038
2039 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2040 for using routine as __sinf_ia32.
2041 Use macro for function declaration and weak_alias.
2042 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2043 for using routine as __cosf_ia32.
2044 Use macro for function declaration and weak_alias.
2045
2046 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2047 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2048
2049 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2050 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2052
2053 * math/libm-test.inc (cos_test): Add more test cases.
2054 (sin_test): Likewise.
2055 (sincos_test): Likewise.
2056
511fa286
AK
20572012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2058
2059 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2060 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2061 hidden.
2062 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2063
5f30cfec
L
20642012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2065
2066 [BZ #14538]
2067 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2068 first element of the GOT.
2069 (elf_machine_load_address): Return the difference between
2070 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2071
0786794f
AM
20722012-09-01 Allan McRae <allan@archlinux.org>
2073
5f30cfec
L
2074 [BZ #13412]
2075 * configure.in (AWK): Require gawk version 3.0 or later.
2076 * configure: Regenerated.
0786794f 2077
26889eac
JM
20782012-09-01 Joseph Myers <joseph@codesourcery.com>
2079
2080 * sysdeps/unix/sysv/linux/kernel-features.h
2081 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2082 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2083 [__NR_clock_getres]: Make code unconditional.
2084 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2085 (clock_getcpuclockid): Remove code left unreachable by removal of
2086 conditionals.
2087 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2088 code unconditional.
2089 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2090 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2091 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2092 Make code unconditional.
2093 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2094 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2095 * sysdeps/unix/sysv/linux/clock_settime.c
2096 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2097 conditional code.
2098 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2099 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2100
d22e28b0
L
21012012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2102
2103 [BZ #14476]
2104 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2105 scripts/test-installation.pl.
2106
2107 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2108 and $ld_so_version if it is set.
2109
050af9c4
SP
21102012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2111
2112 [BZ #14516]
2113 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2114 failure if reading from procfs failed.
2115 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2116
ad845c0b
JM
21172012-08-27 Joseph Myers <joseph@codesourcery.com>
2118
2119 * sysdeps/unix/sysv/linux/kernel-features.h
2120 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2121 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2122 Remove conditional code.
2123 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2124 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2125 Remove conditional code.
2126 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2127 * sysdeps/unix/sysv/linux/i386/fxstat.c
2128 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2130 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2131 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2133 * sysdeps/unix/sysv/linux/i386/lxstat.c
2134 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2135 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2136 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2137 Remove conditional code.
2138 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2139 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2140 Remove conditional code.
2141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2142 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2143 <kernel-features.h>.
2144 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2145 Remove.
2146 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2147 Remove conditional code.
2148 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2149 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2150 Remove conditional.
2151
5dbf56af
MF
21522012-08-27 Mike Frysinger <vapier@gentoo.org>
2153
2154 [BZ #5400]
2155 * NEWS: Add fixed bug number.
2156
d6e70f43
JM
21572012-08-27 Joseph Myers <joseph@codesourcery.com>
2158
7efb4737
JM
2159 [BZ #14519]
2160 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2161 underflowing exponent in case of negative sign.
2162 * stdlib/tst-strtod-round-data: Add more tests.
2163 * stdlib/tst-strtod-round.c (tests): Regenerated.
2164
af92131a
JM
2165 [BZ #3479]
2166 * stdlib/strtod_l.c (NDIG): Remove.
2167 (HEXNDIG): Likewise.
2168 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2169 smallest representable value.
2170 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2171 lie within an exact representation of 1/2 ulp of the result.
2172 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2173 unconditionally.
2174 (TENS_P9_IDX): Define unconditionally.
2175 (TENS_P9_SIZE): Likewise.
2176 (TENS_P10_IDX): Likewise.
2177 (TENS_P10_SIZE): Likewise.
2178 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2179 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2180 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2181 entries for 10^2^13 and 10^2^14.
2182 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2183 (TENS_P13_IDX): Define.
2184 (TENS_P13_SIZE): Likewise.
2185 (TENS_P14_IDX): Likewise.
2186 (TENS_P14_SIZE): Likewise.
2187 (_fpioconst_pow10): Change array size to
2188 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2189 unconditional.
2190 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2191 1024]: Add entries for 10^2^13 and 10^2^14.
2192 [LAST_POW10 > _LAST_POW10]: Remove #error.
2193 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2194 (_fpioconst_pow10): Change array size to
2195 FPIOCONST_POW10_ARRAY_SIZE.
2196 * stdlib/gen-fpioconst.c: New file.
2197 * stdlib/gen-tst-strtod-round.c: Likewise.
2198 * stdlib/tst-strtod-round-data: Likewise.
2199 * stdlib/tst-strtod-round.c: Likewise.
2200 * stdlib/Makefile (tests): Add tst-strtod-round.
2201
d6e70f43
JM
2202 [BZ #14459]
2203 * stdlib/strtod_l.c: Include <stdint.h>.
2204 (NDEBUG): Do not define.
2205 (round_and_return): Change EXPONENT parameter to type intmax_t.
2206 Rearrange calculations to avoid internal overflow possibilities.
2207 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2208 Rearrange calculations to avoid internal overflow possibilities.
2209 Assert that number fits inside MPNSIZE limbs.
2210 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2211 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2212 calculations and add assertions to avoid internal overflow
2213 possibilities. Add casts to avoid signed/unsigned operations.
2214 * stdlib/tst-strtod-overflow.c: New file.
2215 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2216
1f529f7d
MP
22172012-08-25 Marek Polacek <polacek@redhat.com>
2218
2219 * time/time.h: Fix some typos in comments.
2220
59a629f1
RM
22212012-08-23 Roland McGrath <roland@hack.frob.com>
2222
2223 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2224 * posix/tst-rfc3484-2.c: Likewise.
2225 * posix/tst-rfc3484-3.c: Likewise.
2226
d3bafbc9
SM
22272012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2228
2229 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2230 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2231
4efcc022
JM
22322012-08-23 Joseph Myers <joseph@codesourcery.com>
2233
2234 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2235 #include of fxstatat64.c.
2236
3cc3ef96
RM
22372012-08-22 Roland McGrath <roland@hack.frob.com>
2238
f04e2132
RM
2239 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2240 * shadow/getspent_r.c: Likewise.
2241 * shadow/getspnam.c: Likewise.
2242 * shadow/getspnam_r.c: Likewise.
2243 * gshadow/getsgent.c: Likewise.
2244 * gshadow/getsgent_r.c: Likewise.
2245 * gshadow/getsgnam.c: Likewise.
2246 * gshadow/getsgnam_r.c: Likewise.
2247 * inet/getnetbyad.c: Likewise.
2248 * inet/getnetbyad_r.c: Likewise.
2249 * inet/getnetbynm.c: Likewise.
2250 * inet/getnetbynm_r.c: Likewise.
2251 * inet/getnetent.c: Likewise.
2252 * inet/getnetent_r.c: Likewise.
2253 * inet/getproto.c: Likewise.
2254 * inet/getproto_r.c: Likewise.
2255 * inet/getprtent.c: Likewise.
2256 * inet/getprtent_r.c: Likewise.
2257 * inet/getprtname.c: Likewise.
2258 * inet/getprtname_r.c: Likewise.
2259 * inet/getrpcbyname.c: Likewise.
2260 * inet/getrpcbyname_r.c: Likewise.
2261 * inet/getrpcbynumber.c: Likewise.
2262 * inet/getrpcbynumber_r.c: Likewise.
2263 * inet/getrpcent.c: Likewise.
2264 * inet/getrpcent_r.c: Likewise.
2265 * inet/getaliasent.c: Likewise.
2266 * inet/getaliasent_r.c: Likewise.
2267 * inet/getaliasname.c: Likewise.
2268 * inet/getaliasname_r.c: Likewise.
2269 * nscd/getgrgid_r.c: Likewise.
2270 * nscd/getgrnam_r.c: Likewise.
2271 * nscd/gethstbyad_r.c: Likewise.
2272 * nscd/gethstbynm3_r.c: Likewise.
2273 * nscd/getpwnam_r.c: Likewise.
2274 * nscd/getpwuid_r.c: Likewise.
2275 * nscd/getsrvbynm_r.c: Likewise.
2276 * nscd/getsrvbypt_r.c: Likewise.
2277 * nscd/gai.c: Likewise.
2278
c53d909c
RM
2279 * configure.in (build_nscd): New substituted variable, set
2280 by --disable-build-nscd and defaults to $use_nscd.
2281 * configure: Regenerated.
2282 * config.make.in (build-nscd): New substituted variable.
2283 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2284 Change conditional to require [$(build-nscd) = yes] as well.
2285 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2286
3cc3ef96
RM
2287 [BZ# 13696]
2288 * configure.in (use_nscd): New substituted variable, set by
2289 --disable-nscd. If enabled, define USE_NSCD.
2290 * configure: Regenerated.
2291 * config.h.in: Add USE_NSCD.
2292 * config.make.in (use-nscd): New substituted variable.
2293 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2294 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2295 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2296 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2297 (CFLAGS-getgrnam_r.c): Likewise.
2298 (CFLAGS-initgroups.c): Likewise.
2299 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2300 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2301 Variables removed.
2302 * inet/getnetgrent_r.c
2303 (nscd_setnetgrent): New function, broken out of ...
2304 (setnetgrent): ... here. Call it.
2305 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2306 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2307 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2308 * nscd/Makefile (routines, aux): Move definitions after include of
2309 Makeconfig. Conditionalize on [$(use-nscd) != no].
2310 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2311 Conditionalize on [USE_NSCD].
2312 (is_nscd, nscd_init_cb): Likewise.
2313 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2314 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2315 * nss/nss_db/db-init.c: Likewise.
2316 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2317 [USE_NSCD].
2318 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2319 (make_request): Use it.
2320 (cache_valid_p): New function.
2321 (__check_pf): Use it.
2322 * NEWS: Add item for --disable-nscd.
2323
07e51550
DL
23242012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2325
2326 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2327 to support sed >= 4.2.1-20-ga9bf076.
2328 * configure: Regenerated.
2329
35a5b08b
RM
23302012-08-22 Roland McGrath <roland@hack.frob.com>
2331
2332 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2333 Conditionalize whole body on [IREL].
2334
8479f23a
JL
23352012-08-22 Jeff Law <law@redhat.com>
2336
2337 [BZ #14505]
2338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2339 if the family is PF_UNSPEC.
2340
48da0b21
MF
23412012-08-22 Mike Frysinger <vapier@gentoo.org>
2342
2343 * Makerules (lib-version): Rename from V.
2344 (install-lib-nosubdir): Change V to lib-version.
2345
15d0da8c
WS
23462012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2347
2348 [BZ #14252]
2349 * powerpc32/power6/wcschr.c: New file.
2350 * powerpc32/power6/wcscpy.c: New file.
2351 * powerpc32/power6/wcsrchr.c: New file.
2352 * powerpc64/power6/wcschr.c: New file.
2353 * powerpc64/power6/wcscpy.c: New file.
2354 * powerpc64/power6/wcsrchr.c: New file.
2355
bcca0895
MK
23562012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2357
2358 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2359 (two_way_short_needle): Use it.
5a4aaa33
RM
2360 * string/strstr.c (AVAILABLE1_USES_J): Define.
2361 * string/strcasestr.c: Likewise.
99677e57
MK
2362
2363 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2364 array references.
2365 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2366
400726de
MK
2367 [BZ #11607]
2368 * NEWS: Add an entry.
2369 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2370 define their defaults.
2371 (two_way_short_needle): Detect end-of-string on-the-fly.
2372 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2373 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2374 * string/bug-strcasestr1.c: New test.
2375 * string/Makefile: Run it.
2376
20a71f2c
MK
23772012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2378
2379 [BZ #11607]
2380 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2381 the first character.
2382
21ad0558
RM
23832012-08-21 Roland McGrath <roland@hack.frob.com>
2384
2385 * csu/elf-init.c (__libc_csu_irel): Function removed.
2386 * csu/libc-start.c (apply_irel): New function.
2387 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2388
0e1d9911
JM
23892012-08-21 Joseph Myers <joseph@codesourcery.com>
2390
2391 * sysdeps/unix/sysv/linux/kernel-features.h
2392 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2393 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2394 <kernel-features.h>.
2395 [__NR_fadvise64_64]: Make code unconditional.
2396 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2397 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2398 !__NR_fadvise64_64)]: Likewise.
2399 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2400 !__NR_fadvise64_64))]: Likewise.
2401 [__NR_fadvise64]: Make code unconditional.
2402 [!__NR_fadvise64]: Remove conditional code.
2403 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2404 <kernel-features.h>.
2405 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2406 unconditional.
2407 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2408 conditional code.
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2410 not include <kernel-features.h>.
2411 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2412 unconditional.
2413 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2414 conditional code.
2415 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2416 include <kernel-features.h>.
2417 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2418 unconditional.
2419 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2420 conditional code.
2421
14a50c9d
WS
24222012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2423
2424 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2425 slight instruction rearrangements per scrollpipe analysis.
2426 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2427
c0f4faf0
RM
24282012-08-20 Roland McGrath <roland@hack.frob.com>
2429
696da859
RM
2430 * manual/syslog.texi (syslog; vsyslog, closelog):
2431 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2432 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2433
c0f4faf0
RM
2434 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2435 DSOCAPS to match condition on defining it.
2436
348363b2
JM
24372012-08-20 Joseph Myers <joseph@codesourcery.com>
2438
a35cbf28
JM
2439 * sysdeps/unix/sysv/linux/kernel-features.h
2440 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2442 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2443 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2445 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2446 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2448 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2449 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2450
445f7ecd
JM
2451 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2452 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2453
348363b2
JM
2454 * sysdeps/unix/sysv/linux/kernel-features.h
2455 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2456 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2457 unconditional.
2458 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2459 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2460 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2461 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2462 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2463 Make code unconditional.
2464 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2465 (__mmap64) [!__NR_mmap2]: Likewise.
2466 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2467 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2468 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2469 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2470 [__NR_mmap2]: Make code unconditional.
2471 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2472 (__mmap64) [!__NR_mmap2]: Likewise.
2473
bc5bc0e5
AK
24742012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2475
2476 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2477
88d506de
AJ
24782012-08-18 Andreas Jaeger <aj@suse.de>
2479
2480 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2481
493387d2
MF
24822012-08-18 Mike Frysinger <vapier@gentoo.org>
2483
2484 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2485 * include/unistd.h (__have_sock_cloexec): Likewise.
2486 (__have_pipe2): Likewise.
2487 (__have_dup3): Likewise.
2488
a277af22
MF
24892012-08-18 Mike Frysinger <vapier@gentoo.org>
2490
2491 [BZ #9685]
2492 * include/unistd.h (__have_pipe2): Change define into an extern int.
2493 (__have_dup3): Likewise.
2494 * socket/have_sock_cloexec.c: Include fcntl.h.
2495 (__have_pipe2): New variable.
2496 (__have_dup3): Likewise.
2497
fdab8fd3
MF
24982012-08-17 Mike Frysinger <vapier@gentoo.org>
2499
2500 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2501
31035e80
MP
25022012-08-17 Marek Polacek <polacek@redhat.com>
2503
2504 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2505 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2506
3bd9e993
RM
25072012-08-17 Roland McGrath <roland@hack.frob.com>
2508
c91c505f
RM
2509 * configure.in: Add AC_SUBST for sysheaders.
2510 * configure: Regenerated.
2511 * config.make.in (sysheaders): New substituted variable.
2512
7c6f9d53
RM
2513 * sysdeps/unix/mkfifo.c: Moved ...
2514 * sysdeps/posix/mkfifo.c: ... here.
2515 * sysdeps/unix/mkfifoat.c: Moved ...
2516 * sysdeps/posix/mkfifoat.c: ... here.
2517
2518 * sysdeps/unix/utime.c: Moved ...
2519 * sysdeps/posix/utime.c: ... here.
2520
2521 * sysdeps/unix/time.c: Moved ...
2522 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2523 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2524 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2525
2526 * sysdeps/unix/nice.c: Moved ...
2527 * sysdeps/posix/nice.c: ... here.
2528
2529 * sysdeps/unix/alarm.c: Moved ...
2530 * sysdeps/posix/alarm.c: ... here.
2531
3bd9e993
RM
2532 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2533
d1f09384
JL
25342012-08-17 Jeff Law <law@redhat.com>
2535
2536 * intl/Makefile (codeset_mo): New variable.
2537 ($(codeset_mo)): New target.
2538 (tst-codeset.out): Depend on that. Remove explicit rule.
2539 (tst-gettext3.out, tst-gettext5.out): Likewise.
2540 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2541 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2542 * intl/tst-codeset.sh: Remove.
2543 * intl/tst-gettext3.sh: Likewise.
2544 * intl/tst-gettext5.sh: Likewise.
2545
2ae1ae5c
RM
25462012-08-17 Roland McGrath <roland@hack.frob.com>
2547
c31fdb83
RM
2548 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2549 * sysdeps/unix/syscalls.list: ... here.
2550
a0844057
RM
2551 * sysdeps/posix/getaddrinfo.c
2552 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2553 (gaiconf_init, gaiconf_reload): Use them.
2554 [!_STATBUF_ST_NSEC]
2555 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2556 Define using time_t rather than struct timespec.
2557
750c1f2a
RM
2558 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2559 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2560 Macros removed.
2561 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2562 [!NO_THREADS].
2563 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2564 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2565 Likewise.
2566
2ae1ae5c
RM
2567 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2568 __libc_cleanup_push argument.
2569
e66a42f5
RM
2570 * bits/param.h: New file.
2571 * misc/sys/param.h: New file.
2572 * include/sys/param.h: New file.
2573 * misc/Makefile (headers): Add bits/param.h.
2574 * sysdeps/generic/sys/param.h: File removed.
2575 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2576 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2577 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 2578 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 2579
b7c08a66
RM
2580 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2581 last change.
2582
b2e1c562
RM
2583 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2584 [_IO_MTSAFE_IO].
2585 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2586 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2587 New macros.
2588
c75ccd4c
RM
2589 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2590 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2591 rather than -D_IO_MTSAFE_IO conditionally.
2592 * stdio-common/Makefile (CPPFLAGS): Likewise.
2593 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2594 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2595 Use $(libio-mtsafe).
2596 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2597 of -D_IO_MTSAFE_IO.
2598 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2599 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2600 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2601 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2602 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2603 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2604 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2605 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2606 (CFLAGS-fread_u_chk.c): Likewise.
2607 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2608 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2609 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2610 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2611 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2612 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2613 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2614 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2615 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2616
2617 * libio/Makefile: Test [$(libc-reentrant) = yes]
2618 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2619
2620 * Makeconfig
2621 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2622 * sysdeps/pthread/configure: File removed.
2623 * sysdeps/pthread/Makeconfig: New file.
2624 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2625 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2626
d9195db8
GB
26272012-08-16 Gary Benson <gbenson@redhat.com>
2628
2629 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2630 unmapping the first object in a namespace.
2631
86466cd9
RM
26322012-08-16 Roland McGrath <roland@hack.frob.com>
2633
2634 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2635 (__internal_setnetgrent): ... this. Add internal_function to
2636 definition. Add libc_hidden_def.
2637 (setnetgrent): Update caller.
2638 (internal_endnetgrent): Renamed to ...
2639 (__internal_endnetgrent): ... this. Add internal_function to
2640 definition. Add libc_hidden_def.
2641 (endnetgrent): Update caller.
2642 (internal_getnetgrent_r): Renamed to ...
2643 (__internal_getnetgrent_r): ... this. Add internal_function to
2644 definition. Add libc_hidden_def.
2645 (__getnetgrent_r): Update caller.
2646 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2647
c3c8283c
JM
26482012-08-16 Joseph Myers <joseph@codesourcery.com>
2649
2650 * stdlib/longlong.h: Update from GCC.
2651
db1ee0a8
RM
26522012-08-16 Roland McGrath <roland@hack.frob.com>
2653
2654 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2655 on _QL, which is set by umul_ppmm but never used.
2656 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2657 variables, which are set by GMP macros but never used.
2658 * stdio-common/_itowa.c (_itowa): Likewise.
2659 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2660 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2661
30f69637
CD
26622012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2663
2664 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2665 struct La_sh_regs is not constant.
2666 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2667 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2668 and struct La_sparc64_regs are not constant.
2669
93a78ac4
JM
26702012-08-16 Joseph Myers <joseph@codesourcery.com>
2671
2672 * sysdeps/unix/sysv/linux/kernel-features.h
2673 (__ASSUME_POSIX_TIMERS): Remove.
2674 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2675 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2676 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2677 Make code unconditional.
2678 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2679 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2680 Make code unconditional.
2681 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2682 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2683 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2684 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2685 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2686 Make code unconditional.
2687 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2688 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2689 (__libc_missing_posix_timers): Remove.
2690
dd924cd7
RM
26912012-08-15 Roland McGrath <roland@hack.frob.com>
2692
4b4f2771
RM
2693 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2694 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2695
601c888b
RM
2696 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2697
176790a7
RM
2698 * elf/dl-sym.c: Include <stdlib.h>.
2699
329bc018
RM
2700 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2701 constants, which avoids warnings in 32-bit builds.
2702
e04e272d
RM
2703 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2704 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2705
952bf94a
RM
2706 * misc/lseek.c: File moved to ...
2707 * io/lseek.c: ... here.
2708
7c99b50a
RM
2709 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2710
dd924cd7
RM
2711 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2712 shifting LEN more than 31 bits at once.
2713
b3f479a8
LD
27142012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2715
2716 [BZ #14195]
8c4ae0d4
RM
2717 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2718 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2719 * string/test-strncasecmp.c (check1): Renamed to...
2720 (bz12205): ...this.
2721 (bz14195): Add new testcase for two empty input strings and N > 0.
2722 (test_main): Call new testcase, adapt for renamed function.
2723
9c55864e
AJ
27242012-08-15 Andreas Jaeger <aj@suse.de>
2725
2726 [BZ #14090]
2727 * crypt/md5test2.c: New test, based on test supplied by Serge
2728 Belyshev <belyshev@depni.sinp.msu.ru>.
2729 * crypt/Makefile (xtests): Add md5test-giant..
2730 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2731
02dcb6c5
PE
27322012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2733
2734 [BZ #14090]
2735 * crypt/md5.c (md5_process_block): Don't assume the buffer
2736 length is less than 2**32.
2737 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2738 length is less than 2**64.
2739
a3f95dcc
RM
27402012-08-15 Roland McGrath <roland@hack.frob.com>
2741
be75d758
RM
2742 * string/str-two-way.h: Include <sys/param.h>.
2743 (MAX): Macro removed.
2744
7312ca90
RM
2745 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2746 Move #define and #undef of memmove to just before and after
2747 including <string.h>.
2748
9a0a5486
RM
2749 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2750 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2751 and after including <string.h>. Move declarations of
2752 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2753 to before #include "string/memmove.c".
2754
67cc348d
RM
2755 * include/dirent.h: Declare __getdirentries.
2756
a3f95dcc
RM
2757 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2758 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2759
ca98e171
MF
27602012-08-14 Mike Frysinger <vapier@gentoo.org>
2761
2762 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2763 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2764 * sysdeps/i386/configure: Regenerated.
2765 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2766 STABS_CURRENT_FILE, and STABS_FUN.
2767 (END): Remove call to STABS_FUN_END.
2768 (STABS_CURRENT_FILE1): Delete.
2769 (STABS_CURRENT_FILE): Likewise.
2770 (STABS_FUN): Likewise.
2771 (STABS_FUN_END): Likewise.
2772 (STABS_FUN2): Likewise.
2773 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2774 * sysdeps/x86_64/configure: Regenerated.
2775
5908bf46
RM
27762012-08-14 Roland McGrath <roland@hack.frob.com>
2777
2778 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2779 * elf/dl-lookup.c: Likewise.
5908bf46 2780
f2c05b9e
JM
27812012-08-14 Joseph Myers <joseph@codesourcery.com>
2782
2783 * sysdeps/unix/sysv/linux/kernel-features.h
2784 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2785 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2786 unconditionally.
2787 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2788 unconditionally.
2789 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2790 condition on __ASSUME_CLONE_THREAD_FLAGS.
2791
e11f5155
AJ
27922012-08-14 Andreas Jaeger <aj@suse.de>
2793
2794 * sysdeps/i386/fpu/libm-test-ulps: Update.
2795
51a9ba86
MK
27962012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2797
2fdd4f78
AJ
2798 * include/atomic.h (atomic_exchange_and_add): Split into ...
2799 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2800 New atomic macros.
51a9ba86 2801
ba6cba9e
MT
28022012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2803
2804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2805
42443a47
JL
28062012-08-13 Jeff Law <law@redhat.com>
2807
2808 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2809 null byte in the output string.
2810
121dce05
JM
28112012-08-10 Joseph Myers <joseph@codesourcery.com>
2812
2813 * sysdeps/unix/sysv/linux/kernel-features.h
2814 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2815 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2816 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2817 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2818 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2819 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2820 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2821
bf51f568
JL
28222012-08-09 Jeff Law <law@redhat.com>
2823
2824 [BZ #13939]
2825 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2826 When avoid_arena is set, don't retry in the that arena. Pick the
2827 next one, whatever it might be.
2828 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2829 (arena_lock): Pass in new parameter to arena_get2.
2830 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2831 arena_get2.
2832 (__libc_malloc): Unify retrying after main arena failure with
2833 __libc_memalign version.
2834 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2835
f85fa270
L
28362012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2837
2838 [BZ #14166]
2839 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2840 to __redirect_strstr.
2841 (__strstr_sse42): Use typeof __redirect_strstr.
2842 (__strstr_ia32): Likewise.
2843 (__libc_strstr): New prototype.
2844 (strstr): Renamed to ...
2845 (__libc_strstr): This.
2846 (strstr): New strong alias of __libc_strstr.
2847 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2848 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2849 __redirect_time.
2850 Include <time.h>.
2851 (__libc_time): New prototype.
2852 (time_ifunc): Replace time with __libc_time.
2853 (time): New strong alias and hidden definition of __libc_time.
2854 (__GI_time): Remove strong alias.
2855 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2856 Include <stddef.h>.
2857 (memmove): Redefined to __redirect_memmove.
2858 (__memmove_sse2): Use typeof __redirect_memmove.
2859 (__memmove_ssse3): Likewise.
2860 (__memmove_ssse3_back): Likewise.
2861 (__libc_memmove): New prototype.
2862 (memmove): Renamed to ...
2863 (__libc_memmove): This.
2864 (memmove): New strong alias of __libc_memmove.
2865
33b4a91e
MS
28662012-08-08 Mark Salter <msalter@redhat.com>
2867
2868 * elf/elf.h
2869 (R_MN10300_TLS_GD): Define.
2870 (R_MN10300_TLS_LD): Likewise.
2871 (R_MN10300_TLS_LDO): Likewise.
2872 (R_MN10300_TLS_GOTIE): Likewise.
2873 (R_MN10300_TLS_IE): Likewise.
2874 (R_MN10300_TLS_LE): Likewise.
2875 (R_MN10300_TLS_DTPMOD): Likewise.
2876 (R_MN10300_TLS_DTPOFF): Likewise.
2877 (R_MN10300_TLS_TPOFF): Likewise.
2878 (R_MN10300_SYM_DIFF): Likewise.
2879 (R_MN10300_ALIGN): Likewise.
2880 (R_MN10300_NUM): Update.
2881
b36137f1
JM
28822012-08-08 Joseph Myers <joseph@codesourcery.com>
2883
2884 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2885 Remove.
2886
cdd915fd
RM
28872012-08-08 Roland McGrath <roland@hack.frob.com>
2888
a2433aac
RM
2889 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2890
cdd915fd
RM
2891 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2892 sysdeps/unix -> sysdeps/posix move.
2893 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2894
bf9b740a
AM
28952012-08-07 Allan McRae <allan@archlinux.org>
2896
2897 [BZ #14303]
2898 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2899 (SUNOS_CPP): Likewise.
2900 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2901 not found.
2902 (open_input): Call CPP using execvp.
2903
93df14ee
JM
29042012-08-07 Joseph Myers <joseph@codesourcery.com>
2905
2906 * sysdeps/unix/sysv/linux/kernel-features.h
2907 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2908 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2909 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2910 (__ASSUME_WAITID_SYSCALL): Likewise.
2911 * sysdeps/unix/sysv/linux/dl-execstack.c
2912 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2913 code unconditional.
2914 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2915 conditional code.
2916 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2917 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2918 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2919 code.
2920 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2921 unconditional.
2922 [__ASSUME_WAITID_SYSCALL]: Likewise.
2923 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2924
d34689de
RM
29252012-08-07 Roland McGrath <roland@hack.frob.com>
2926
a281decc
RM
2927 * sysdeps/unix/closedir.c: Renamed to ...
2928 * sysdeps/posix/closedir.c: ... here.
2929 * sysdeps/unix/dirfd.c: Renamed to ...
2930 * sysdeps/posix/dirfd.c: ... here.
2931 * sysdeps/unix/dirstream.h: Renamed to ...
2932 * sysdeps/posix/dirstream.h: ... here.
2933 * sysdeps/unix/fdopendir.c: Renamed to ...
2934 * sysdeps/posix/fdopendir.c: ... here.
2935 * sysdeps/unix/opendir.c: Renamed to ...
2936 * sysdeps/posix/opendir.c: ... here.
2937 * sysdeps/unix/readdir.c: Renamed to ...
2938 * sysdeps/posix/readdir.c: ... here.
2939 * sysdeps/unix/readdir_r.c: Renamed to ...
2940 * sysdeps/posix/readdir_r.c: ... here.
2941 * sysdeps/unix/rewinddir.c: Renamed to ...
2942 * sysdeps/posix/rewinddir.c: ... here.
2943 * sysdeps/unix/seekdir.c: Renamed to ...
2944 * sysdeps/posix/seekdir.c: ... here.
2945 * sysdeps/unix/telldir.c: Renamed to ...
2946 * sysdeps/posix/telldir.c: ... here.
2947 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2948 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2949 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2950 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2951
22895b47
RM
2952 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2953 * bits/fcntl.h: ... here.
2954
707a53b6
RM
2955 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2956 not 0.
2957 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2958 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2959 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2960 (struct flock): Move l_start, l_len to the beginning.
2961 Use __pid_t for l_pid.
2962 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2963 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2964 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2965 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2966 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2967 [__USE_LARGEFILE64] (struct flock64): New type.
2968 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2969
f0bd3e25
RM
2970 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2971 * bits/dirent.h: ... here.
2972
d34689de
RM
2973 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2974 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2975
6dad2c06
JM
29762012-08-07 Joseph Myers <joseph@codesourcery.com>
2977
2978 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2979 Change from 2.6.0 to 2.6.16.
2980 * sysdeps/unix/sysv/linux/configure: Regenerated.
2981 * sysdeps/unix/sysv/linux/kernel-features.h
2982 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2983 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2984 version.
2985 (__ASSUME_UTIMES): Likewise.
2986 (__ASSUME_CLONE_STOPPED): Remove.
2987 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2988 architectures, not kernel version.
2989 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2990 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2991 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2992 (__ASSUME_WAITID_SYSCALL): Likewise.
2993 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2994 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2995 * README: State 2.6.16 as minimum Linux kernel version. Do not
2996 refer to older versions.
2997
03af9520
RM
29982012-08-06 Roland McGrath <roland@hack.frob.com>
2999
8e49df1d
RM
3000 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3001 Define alphasort64 as an alias.
3002 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3003 Define versionsort64 as an alias.
3004 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3005 Define scandir64 as an alias.
3006 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3007 Define scandirat64 as an alias.
3008 * dirent/alphasort64.c (alphasort64):
3009 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3010 * dirent/versionsort64.c: Likewise.
3011 * dirent/scandir64.c: Likewise.
3012 * dirent/scandirat64.c: Likewise.
3013 * sysdeps/wordsize-64/alphasort.c: File removed.
3014 * sysdeps/wordsize-64/alphasort64.c: File removed.
3015 * sysdeps/wordsize-64/scandir.c: File removed.
3016 * sysdeps/wordsize-64/scandir64.c: File removed.
3017 * sysdeps/wordsize-64/scandirat.c: File removed.
3018 * sysdeps/wordsize-64/scandirat64.c: File removed.
3019 * sysdeps/wordsize-64/versionsort.c: File removed.
3020 * sysdeps/wordsize-64/versionsort64.c: File removed.
3021 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3022 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3023 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3024 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3025 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3026 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3027 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3028 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3029
3030 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3031 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3032 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3033 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3034 [defined __arch64__ || defined __sparcv9]
3035 (__INO_T_MATCHES_INO64_T): New macro.
3036 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3037 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3038 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3039 * sysdeps/unix/sysv/linux/bits/dirent.h
3040 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3041 (_DIRENT_MATCHES_DIRENT64): New macro.
3042
03af9520
RM
3043 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3044 Define lockf64 as an alias.
3045 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3046 Define fseeko64 as an alias.
3047 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3048 Define ftello64 as an alias.
3049 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3050 Define _IO_fgetpos64 and fgetpos64 as aliases.
3051 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3052 Define _IO_fsetpos64 and fsetpos64 as aliases.
3053 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3054 Conditionalize body on this.
3055 * libio/fseeko64.c: Likewise.
3056 * libio/ftello64.c: Likewise.
3057 * libio/iofgetpos64.c: Likewise.
3058 * libio/iofsetpos64.c: Likewise.
3059 * sysdeps/wordsize-64/lockf.c: File removed.
3060 * sysdeps/wordsize-64/lockf64.c: File removed.
3061 * sysdeps/wordsize-64/fseeko.c: File removed.
3062 * sysdeps/wordsize-64/fseeko64.c: File removed.
3063 * sysdeps/wordsize-64/ftello.c: File removed.
3064 * sysdeps/wordsize-64/ftello64.c: File removed.
3065 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3066 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3067 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3068 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3069 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3070 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3071 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3072 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3073 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3074 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3075 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3076 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3077 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3078 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3079
3080 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3081 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3082 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3084 [defined __arch64__ || defined __sparcv9]
3085 (__OFF_T_MATCHES_OFF64_T): New macro.
3086 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3087 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3088 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3089 (__OFF_T_MATCHES_OFF64_T): New macro.
3090
c5757acd
L
30912012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3092
3093 * stdlib/secure-getenv.c (__secure_getenv): Replace
3094 GLIBC_2_16 with GLIBC_2_17.
3095
3a31811e
L
30962012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3097
3098 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3099 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3100
faa2bccb
DM
31012012-08-03 David S. Miller <davem@davemloft.net>
3102
3103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3104
85fe1997
JM
31052012-08-03 Joseph Myers <joseph@codesourcery.com>
3106
3107 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3108 Remove.
3109 (__ASSUME_CORRECT_SI_PID): Likewise.
3110 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3111 (__ASSUME_TMPFS_NAME): Likewise.
3112 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3113 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3114 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3115 (HAVE_AUX_SECURE): Make definition unconditional.
3116 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3117 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3118
4f75b7a0
RM
31192012-08-03 Roland McGrath <roland@hack.frob.com>
3120
3121 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3122 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3123 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3124 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3125 __eloop_threshold instead of SYMLOOP_MAX.
3126
3127 * sysdeps/generic/eloop-threshold.h: New file.
3128 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3129 of MAXSYMLINKS.
3130 * elf/chroot_canon.c (chroot_canon): Likewise.
3131
7aab07e4
JM
31322012-08-03 Joseph Myers <joseph@codesourcery.com>
3133
3134 [BZ #13717]
3135 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3136 Change to 2.6.0 everywhere.
3137 * sysdeps/unix/sysv/linux/configure: Regenerated.
3138 * sysdeps/unix/sysv/linux/kernel-features.h
3139 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3140 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3141 kernel versions.
3142 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3143 (__ASSUME_FUTEX_REQUEUE): Remove.
3144 (__ASSUME_STATFS64): Define unconditionally.
3145 (__ASSUME_AT_SECURE): Likewise.
3146 (__ASSUME_CORRECT_SI_PID): Likewise.
3147 (__ASSUME_TGKILL): Define without depending on kernel version for
3148 i386.
3149 (__ASSUME_UTIMES): Likewise.
3150 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3151 kernel version.
3152 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3153 (__ASSUME_TMPFS_NAME): Likewise.
3154 * README: Update reference to Linux kernel versions.
3155
b67e9372
MP
31562012-08-02 Marek Polacek <polacek@redhat.com>
3157
1f529f7d 3158 [BZ# 14150]
b67e9372
MP
3159 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3160 libc_cv_asm_type_prefix with %.
3161 * configure: Regenerated.
d2441631
RM
3162 * include/libc-symbols.h: Remove comment about
3163 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
3164 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3165 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3166 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3167 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3168 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3169 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3170 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3171 * elf/tst-unique2mod1.c: Likewise.
3172 * elf/tst-unique1mod2.c: Likewise.
3173 * elf/tst-unique1mod1.c: Likewise.
3174 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3175 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3176 Replace ASM_TYPE_DIRECTIVE with .type.
3177 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3178 * sysdeps/i386/sysdep.h: Likewise.
3179 * sysdeps/x86_64/sysdep.h: Likewise.
3180 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
3181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3182 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 3183 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
3184 * sysdeps/powerpc/powerpc32/sysdep.h:
3185 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
3186 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3187 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3188 * sysdeps/i386/fpu/e_powf.S: Likewise.
3189 * sysdeps/i386/fpu/e_expl.S: Likewise.
3190 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3191 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3192 * sysdeps/i386/fpu/e_pow.S: Likewise.
3193 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3194 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3195 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3196 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3197 * sysdeps/i386/fpu/e_log2.S: Likewise.
3198 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3199 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3200 * sysdeps/i386/fpu/e_powl.S: Likewise.
3201 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3202 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3203 * sysdeps/i386/fpu/e_logl.S: Likewise.
3204 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3205 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3206 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3207 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3208 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3209 * sysdeps/i386/fpu/e_log.S: Likewise.
3210 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3211 * sysdeps/i386/fpu/e_logf.S: Likewise.
3212 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3213 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3214 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3215 * sysdeps/i386/fpu/e_log10.S: Likewise.
3216 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3217 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3218 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3219 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3220 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3221 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3222 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3223 * sysdeps/i386/i686/strtok.S: Likewise.
3224 * sysdeps/i386/i386-mcount.S: Likewise.
3225 * sysdeps/i386/strtok.S: Likewise.
3226 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3227 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3228 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3229 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3230 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3231 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3232 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3233 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3234 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3235 * sysdeps/x86_64/_mcount.S: Likewise.
3236 * sysdeps/x86_64/strtok.S: Likewise.
3237 * sysdeps/sh/_mcount.S: Likewise.
3238
2747bf9a
RM
32392012-08-01 Roland McGrath <roland@hack.frob.com>
3240
3241 * libio/iofopen.c: Include <fcntl.h>.
3242 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3243 (_IO_fopen64, fopen64): Define as aliases.
3244 * libio/iofopen64.c: Include <fcntl.h>.
3245 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3246 Conditionalize body on this.
3247 * sysdeps/wordsize-64/iofopen.c: File removed.
3248 * sysdeps/wordsize-64/iofopen64.c: File removed.
3249
3fb791b8
MP
32502012-08-01 Marek Polacek <polacek@redhat.com>
3251
3252 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3253 Use dlfcn directly instead of a variable.
3254 (binfmt-subdir): Do not define.
3255 (dlfcn): Likewise.
3256
a9f1039f
JM
32572012-08-01 Joseph Myers <joseph@codesourcery.com>
3258
23bddc06
JM
3259 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3260 Remove all definitions.
3261 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3262 <kernel-features.h>.
3263 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3264 (miss_F_GETOWN_EX): Remove all definitions.
3265 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3266 macro definition.
3267 [!__ASSUME_FCNTL64]: Remove conditional code.
3268 [__ASSUME_FCNTL64]: Make code unconditional.
3269 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3270 <kernel-features.h>.
3271 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3272 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3273 (lockf64) [__NR_fcntl64]: Make code unconditional.
3274 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3275
a9f1039f
JM
3276 * sysdeps/unix/sysv/linux/kernel-features.h
3277 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3278 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3279 Make code unconditional.
3280 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3281 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3283 [__NR_vfork]: Make code unconditional.
3284 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3285 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3287 [__NR_vfork]: Make code unconditional.
3288 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3289 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3290
09c0ee5f
RM
32912012-08-01 Roland McGrath <roland@hack.frob.com>
3292
48aec5b9
RM
3293 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3294 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3295
cd97c966
RM
3296 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3297 Define mkstemp64 as an alias.
3f55550c
RM
3298 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3299 Define mkstemps64 as an alias.
cd97c966
RM
3300 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3301 Define mkostemp64 as an alias.
b8625cfc
RM
3302 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3303 Define mkostemps64 as an alias.
cd97c966
RM
3304 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3305 Conditionalize body on this.
3306 * misc/mkostemp64.c: Likewise.
b8625cfc 3307 * misc/mkostemps64.c: Likewise.
3f55550c 3308 * misc/mkstemps64.c: Likewise.
cd97c966
RM
3309 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3310 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3311 * sysdeps/wordsize-64/mkostemp.c: File removed.
3312 * sysdeps/wordsize-64/mkstemp.c: File removed.
3313 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3314 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3315 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3316 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3317
09c0ee5f
RM
3318 [BZ #14138]
3319 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3320 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3321 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3322 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3323
3324 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3325 compat_symbol macros from <shlib-compat.h> rather than the underlying
3326 default_symbol_version and symbol_version macros, so that DEFAULT
3327 lines in shlib-versions are respected.
3328 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3329
7e66ee51
FW
33302012-08-01 Florian Weimer <fweimer@redhat.com>
3331
3332 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3333 Declare with warn_unused_result.
3334 (setgid, setregid, setegid, setresgid): Likewise.
3335 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3336 Likewise.
3337 * WUR-REPORT: Remove set*id functions.
3338
d2a54255
PT
33392012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3340
3341 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3342
7ecdb005
RM
33432012-07-31 Roland McGrath <roland@hack.frob.com>
3344
789bd351
RM
3345 * include/sys/socket.h (__libc_accept, __libc_accept4):
3346 Add attribute_hidden.
3347 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3348
40ce302d
RM
3349 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3350 use of PTR_MANGLE.
3351 * inet/getnetgrent_r.c (setup): Likewise.
3352
7ecdb005
RM
3353 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3354
e2eabb2c
DM
33552012-07-31 David S. Miller <davem@davemloft.net>
3356
3357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3358
d0419dbf
JM
33592012-07-31 Joseph Myers <joseph@codesourcery.com>
3360
3361 [BZ #13629]
3362 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3363 value between 1.0 and 2.0 and smaller part has absolute value less
3364 than 1.0.
3365 * math/s_clog10.c (__clog10): Likewise.
3366 * math/s_clog10f.c (__clog10f): Likewise.
3367 * math/s_clog10l.c (__clog10l): Likewise.
3368 * math/s_clogf.c (__clogf): Likewise.
3369 * math/s_clogl.c (__clogl): Likewise.
3370 * math/libm-test.inc (clog_test): Add more tests.
3371 (clog10_test): Likewise.
3372 * sysdeps/i386/fpu/libm-test-ulps: Update.
3373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3374
2bc13872
FW
33752012-07-31 Florian Weimer <fweimer@redhat.com>
3376
3377 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3378 Exit with zero in case no suitable GID is found, and write a
3379 message to standard error.
3380
bea9b193
RM
33812012-07-30 Roland McGrath <roland@hack.frob.com>
3382
3383 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3384 rather than to 1.
3385 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3386 (MAXPATHLEN): Removed.
3387 (NOGROUP, NODEV): New macros.
3388 (setbit, clrbit, isset, isclr): New macros.
3389 (howmany, roundup, powerof2): New macros.
3390 (DEV_BSIZE): New macro.
3391
3392 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3393 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3394
3395 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3396 definition on [!__NO_LONG_DOUBLE_MATH].
3397
3398 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3399 PTR_MANGLE and PTR_DEMANGLE.
3400
3401 * socket/accept4.c (accept4): Rename to __libc_accept4.
3402 Define accept4 as a weak alias.
3403
3404 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3405 on [_DIRENT_HAVE_D_TYPE].
3406 * io/ftw.c (ftw_dir): Likewise.
3407
3408 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3409
3410 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3411
3412 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3413 Use the BSD numbers rather than the arbitrary ones we had.
3414 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3415 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3416 (SIGXCPU, SIGXFSZ): New macros.
3417 (_NSIG): Now 32.
3418
3419 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3420 initializer on [_LIBC_REENTRANT].
3421
3422 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3423 definitions inside [_POSIX_MAPPED_FILES].
3424
3425 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3426
3427 * dirent/opendir.c: Include <fcntl.h>.
3428
3429 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3430 (__libc_getspecific): Likewise.
3431 (__libc_key_create): Likewise.
3432
3433 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3434 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3435 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3436 (tmpfile64): Define as alias.
3437 * sysdeps/wordsize-64/tmpfile.c: File removed.
3438 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3439 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3440 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3441
3442 * stdio-common/vfscanf.c: Include <stdbool.h>.
3443 * nss/makedb.c: Likewise.
3444 * stdio-common/_i18n_number.h: Likewise.
3445 * argp/argp-help.c: Likewise.
3446 * posix/wordexp.c: Likewise.
3447 * sysdeps/posix/spawni.c: Likewise.
3448 * nss/nss_files/files-initgroups.c: Likewise.
3449 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3450 * nss/nss_files/files-initgroups.c: Likewise.
3451 * nss/nss_db/db-netgrp.c: Likewise.
3452 * nss/nss_db/db-initgroups.c: Likewise.
3453 * io/fchmodat.c: Include <sys/stat.h>.
3454
3455 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3456 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3457
3458 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3459 [HAVE_MMAP].
3460
3461 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3462 Add multiple inclusion protection.
3463
e5abc686
DM
34642012-07-27 David S. Miller <davem@davemloft.net>
3465
3466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3467
815e6fa3
GB
34682012-07-27 Gary Benson <gbenson@redhat.com>
3469
3470 [BZ #14298]
3471 * elf/rtld.c: Include <stap-probe.h>.
3472 (dl_main): Added static probes "init_start" and "init_complete".
3473 * elf/dl-load.c: Include <stap-probe.h>.
3474 (lose): Take new parameter "nsid".
3475 Added static probe "map_failed".
3476 (_dl_map_object_from_fd): Pass namespace id to lose.
3477 Added static probe "map_start".
3478 (open_verify): Pass namespace id to lose.
3479 * elf/dl-open.c: Include <stap-probe.h>.
3480 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3481 and "reloc_complete".
3482 * elf/dl-close.c: Include <stap-probe.h>.
3483 (_dl_close_worker): Added static probes "unmap_start" and
3484 "unmap_complete".
3485 * elf/rtld-debugger-interface.txt: New file documenting the above.
3486
9f98c16c
RM
34872012-07-26 Roland McGrath <roland@hack.frob.com>
3488
3489 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3490 rather than a string variable.
3491 * sunrpc/rpc_main.c (h_output): Likewise.
3492 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3493
f3c22df3
PT
34942012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3495
3496 * inet/check_native.c: New file.
3497
3129cfc6
JM
34982012-07-26 Joseph Myers <joseph@codesourcery.com>
3499
da865e95
JM
3500 [BZ #13629]
3501 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3502 if larger part has absolute value 1.0.
3503 * math/s_clog10.c (__clog10): Likewise.
3504 * math/s_clog10f.c (__clog10f): Likewise.
3505 * math/s_clog10l.c (__clog10l): Likewise.
3506 * math/s_clogf.c (__clogf): Likewise.
3507 * math/s_clogl.c (__clogl): Likewise.
3508 * math/libm-test.inc (clog_test): Add more tests.
3509 (clog10_test): Likewise.
3510 * sysdeps/i386/fpu/libm-test-ulps: Update.
3511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3512
3129cfc6
JM
3513 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3514 (pltexit): Likewise.
3515 (La_regs): Likewise.
3516 (La_retval): Likewise.
3517 (int_retval): Likewise.
3518 Update #error for removed macros to refer only to definitions in
3519 tst-audit.h.
3520 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3521 macro.
3522 (pltexit): Likewise.
3523 (La_regs): Likewise.
3524 (La_retval): Likewise.
3525 (int_retval): Likewise.
3526 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3527 macro.
3528 (pltexit): Likewise.
3529 (La_regs): Likewise.
3530 (La_retval): Likewise.
3531 (int_retval): Likewise.
3532 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3533 macro.
3534 (pltexit): Likewise.
3535 (La_regs): Likewise.
3536 (La_retval): Likewise.
3537 (int_retval): Likewise.
3538 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3539 macro.
3540 (pltexit): Likewise.
3541 (La_regs): Likewise.
3542 (La_retval): Likewise.
3543 (int_retval): Likewise.
3544 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3545 macro.
3546 (pltexit): Likewise.
3547 (La_regs): Likewise.
3548 (La_retval): Likewise.
3549 (int_retval): Likewise.
3550 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3551 macro.
3552 (pltexit): Likewise.
3553 (La_regs): Likewise.
3554 (La_retval): Likewise.
3555 (int_retval): Likewise.
3556 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3557 macro definitions in tst-audit.h.
3558 * sysdeps/i386/tst-audit.h: New file.
3559 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3560 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3561 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3562 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3563 * sysdeps/sh/tst-audit.h: Likewise.
3564 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3565 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3566 * sysdeps/x86_64/tst-audit.h: Likewise.
3567
bfc07087
AJ
35682012-07-26 Andreas Jaeger <aj@suse.de>
3569
b1b2aaf8
AJ
3570 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3571 ptrace.
3572
3573 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3574 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3575 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3576 PTRACE_O_MASK.
3577 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3578 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3579 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3580
bfc07087
AJ
3581 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3582 value.
3583
3584 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3585 _sigsys.
3586 (si_call_addr, si_syscall, si_arch): Define new macro.
3587 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3588 _sigsys.
3589 (si_call_addr, si_syscall, si_arch): Define new marcro.
3590 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3591 _sigsys.
3592 (si_call_addr, si_syscall, si_arch): Define new macro.
3593 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3594 _sigsys.
3595 (si_call_addr, si_syscall, si_arch): Define new macro.
3596
89b4b02f
JM
35972012-07-25 Joseph Myers <joseph@codesourcery.com>
3598
3599 [BZ #13717]
3600 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3601 Change to 2.4.21 where previously 2.4.1.
3602 * sysdeps/unix/sysv/linux/configure: Regenerated.
3603 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3604 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3605 Linux kernel version.
3606 (__ASSUME_STD_AUXV): Remove.
3607 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3608 kernel version.
3609 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3610 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3611 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3612 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3613 (__ASSUME_NETLINK_SUPPORT): Likewise.
3614 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3615 (__no_netlink_support): Remove conditional definition.
3616 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3617 Remove.
3618 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3619 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3620 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3621 (if_nameindex_ioctl): Remove.
3622 (if_nameindex_netlink): Do not handle __no_netlink_support.
3623 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3624 code.
3625 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3626 Remove conditional code.
3627 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3628 code.
3629 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3630 unconditional.
3631 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3632 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3633 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3634 Remove.
3635 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3636 [!__ASSUME_STD_AUXV]: Remove conditional code.
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3638 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3639 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3641 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3642 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3643 code.
3644 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3646 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3647 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3648 conditional code.
3649 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3651 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3652 code.
3653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3654 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3655 conditional code.
3656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3657 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3658 code unconditional.
3659 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3660 conditional code.
3661 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3662 unconditional.
3663 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3664 conditional code.
3665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3666 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3667 unconditional.
3668 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3669 conditional code.
3670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3671 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3672 code unconditional.
3673 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3674 conditional code.
3675 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3676 unconditional.
3677 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3678 conditional code.
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3680 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3681 code unconditional.
3682 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3683 conditional code.
3684 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3685 unconditional.
3686 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3687 conditional code.
3688
842a39cd
AS
36892012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3690
3691 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3692 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3693 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3694 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3695 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3696 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3697 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3698 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3699 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3700 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3701 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3702 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3703 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3704 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3705 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3706 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3707 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3708 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3709 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3711 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3712 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3713 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3714
84b3fd84
FW
37152012-07-25 Florian Weimer <fweimer@redhat.com>
3716
3717 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3718 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3719 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3720 Introduce __libc_secure_getenv.
0c7936d5
FW
3721 * stdlib/Versions (2.17): Add secure_getenv
3722 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3723 * stdlib/secure-getenv.c: Rename __secure_getenv to
3724 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3725 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3726 * stdlib/tst-secure-getenv.c: New.
3727 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3728 * manual/startup.texi (Environment Access): Document
3729 secure_getenv.
84b3fd84
FW
3730 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3731 __libc_secure_getenv.
3732 * inet/ruserpass.c (ruserpass): Likewise.
3733 * malloc/mtrace.c (mtrace): Likewise.
3734 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3735 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3736 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3737 * sysdeps/posix/tempname.c: Likewise. Evaluate
3738 HAVE_SECURE_GETENV.
3739 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3740 __secure_getenv to __libc_secure_getenv.
84b3fd84 3741 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3743 Likewise.
3744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3745 Likewise.
3746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3748 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3753
56e49b71
JM
37542012-07-25 Joseph Myers <joseph@codesourcery.com>
3755
3756 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3757 (struct La_i86_retval): Likewise.
3758 (struct La_x86_64_regs): Likewise.
3759 (struct La_x86_64_retval): Likewise.
3760 (struct La_x32_regs): Likewise.
3761 (struct La_x32_retval): Likewise.
3762 (struct La_ppc32_regs): Likewise.
3763 (struct La_ppc32_retval): Likewise.
3764 (struct La_ppc64_regs): Likewise.
3765 (struct La_ppc64_retval): Likewise.
3766 (struct La_sh_regs): Likewise.
3767 (struct La_sh_retval): Likewise.
3768 (struct La_s390_32_regs): Likewise.
3769 (struct La_s390_32_retval): Likewise.
3770 (struct La_s390_64_regs): Likewise.
3771 (struct La_s390_64_retval): Likewise.
3772 (struct La_sparc32_regs): Likewise.
3773 (struct La_sparc32_retval): Likewise.
3774 (struct La_sparc64_regs): Likewise.
3775 (struct La_sparc64_retval): Likewise.
3776 (struct audit_ifaces): Remove architecture-specific pltenter and
3777 pltexit members.
3778 * sysdeps/i386/ldsodefs.h: New file.
3779 * sysdeps/powerpc/ldsodefs.h: Likewise.
3780 * sysdeps/s390/ldsodefs.h: Likewise.
3781 * sysdeps/sh/ldsodefs.h: Likewise.
3782 * sysdeps/sparc/ldsodefs.h: Likewise.
3783 * sysdeps/x86_64/ldsodefs.h: Likewise.
3784
354691b7
MP
37852012-07-25 Marek Polacek <polacek@redhat.com>
3786
3787 [BZ #6808]
3788 * math/libm-test.inc (yn_test): Add another test.
3789 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3790 to ERANGE when the result is +-Inf.
3791 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3792 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3793 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3794 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3795
bf9e2071
JM
37962012-07-24 Joseph Myers <joseph@codesourcery.com>
3797
3798 * conform/data/time.h-data (NULL): Use macro-constant. Require
3799 equal to 0.
3800 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3801 clock_t.
3802 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3803
57633811
TS
38042012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3805
3806 * configure.in <sysdeps resolving>: Correct printing
3807 Implies_before.
3808 * configure: Regenerate.
3809
c23c33b0
TS
38102012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3811
3812 * math/w_ilogb.c: Include <limits.h>.
3813 * math/w_ilogbl.c: Likewise.
3814
b5982523
JM
38152012-07-20 Joseph Myers <joseph@codesourcery.com>
3816
3817 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3818 va_copy. Document allowing for unavailable va_copy only as
3819 pre-C99 compatibility.
3820 * manual/string.texi (Copying and Concatenation): Use va_copy
3821 instead of __va_copy in concat example.
3822
ac4ea442
PT
38232012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3824
3825 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3826 (__sendto): Use create_address_port. Initialize APORT and deallocate
3827 it if not null.
3828
f98eafbd
PT
3829 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3830 with O_NOLINK passed to __file_name_lookup.
3831
898c7aab
PT
3832 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3833 with O_NOLINK passed to __file_name_lookup.
3834
0ced335a
PT
3835 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3836 negative N or less than NGIDS.
3837
b3404dbd
PT
3838 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3839 type to string_t. Set ERANGE as errno and return it if NAME is not big
3840 enough. Use memcpy instead of strncpy.
3841
0f48659e
JM
38422012-07-20 Joseph Myers <joseph@codesourcery.com>
3843
3844 * elf/Makefile (check-data): Remove.
3845 (localplt.data): New vpath directive.
3846 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3847 instead of $(check-data).
3848 * scripts/data/localplt-generic.data: Move to ...
3849 * sysdeps/generic/localplt.data: ... here.
3850 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3851 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3852 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3854 ... here.
3855 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3857 ... here.
3858 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3860 ... here.
3861 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3863 ... here.
3864 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3866 ... here.
3867 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3869 ... here.
3870
d37cbdaa
AZ
38712012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3872
3873 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3874 PPC32 and PPC64 files.
3875 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3876 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3877
46f85fc2
AK
38782012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3879
3880 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3881 __makecontext_ret to ...
3882 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3883 ... here and call exit if uc_link is NULL. New file.
3884 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3885 __makecontext_ret.S.
3886 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3887 __makecontext_ret to ...
3888 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3889 ... here and call exit if uc_link is NULL. New file.
3890 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3891 __makecontext_ret.S.
3892
08f43f9b
AK
38932012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3894
3895 * elf/elf.h (R_390_IRELATIVE): New definition.
3896 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3897 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3898 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3899 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3900 (elf_machine_lazy_rel): Likewise.
3901 * sysdeps/s390/dl-irel.h: New file.
3902 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3903 * sysdeps/s390/s390-64/memset.S: New asm code.
3904 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3905 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3906 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3907 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3908 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3909 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3910 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3911 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3912 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3913 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3914 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3915 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3916 * sysdeps/s390/s390-32/memset.S: New asm code.
3917 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3918
3b05db33
MP
39192012-07-17 Marek Polacek <polacek@redhat.com>
3920
3921 [BZ #14349]
3922 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3923 * sysdeps/s390/s390-64/configure.in: Likewise.
3924 * sysdeps/sparc/configure.in: Likewise.
3925 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3926 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3927 * sysdeps/i386/configure.in: Likewise.
3928 * sysdeps/x86_64/configure.in: Likewise.
3929 * sysdeps/sh/configure.in: Likewise.
3930 * sysdeps/s390/s390-32/configure: Regenerated.
3931 * sysdeps/s390/s390-64/configure: Likewise.
3932 * sysdeps/x86_64/configure: Likewise.
3933 * sysdeps/sh/configure: Likewise.
3934 * sysdeps/powerpc/powerpc64/configure: Likewise.
3935 * sysdeps/powerpc/powerpc32/configure: Likewise.
3936 * sysdeps/sparc/configure: Likwise.
3937 * sysdeps/i386/configure: Likewise.
3938
a66877c6
MP
3939 * elf/dl-open.c: Comment fixes.
3940
cfc82fd8
JM
39412012-07-17 Joseph Myers <joseph@codesourcery.com>
3942
bd29910a
JM
3943 * Makefile [CXX] (check-data): Remove.
3944 [CXX] (c++-types.data): New vpath directive.
3945 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3946 vpath. Do not allow for C++ type data being missing.
3947 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3948 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3949 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3950 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3951 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3952 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3953 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3955 ... here.
3956 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3958 ... here.
3959 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3961 ... here.
3962 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3964 ... here.
3965 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3967 ... here.
3968 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3970 ... here.
3971 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3973 ... here.
3974 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3976
cfc82fd8
JM
3977 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3978 definitions to architecture-specific files.
3979 (TLS_IE): Likewise.
3980 (TLS_LD): Likewise.
3981 (TLS_GD): Likewise.
3982 * sysdeps/i386/tls-macros.h: New file.
3983 * sysdeps/powerpc/tls-macros.h: Likewise.
3984 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3985 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3986 * sysdeps/sh/tls-macros.h: Likewise.
3987 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3988 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3989 * sysdeps/x86_64/tls-macros.h: Likewise.
3990
f7db3170
TS
39912012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3992
07cbfc23
TS
3993 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3994 zero value for regular exit case.
3995
f7db3170
TS
3996 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3997 (__start_context): Preserve zero value for regular exit case.
3998
dc97c227
TS
39992012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4000 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4001
4002 * manual/setjmp.texi (setcontext): Clarify normal process
4003 termination when uc_link is the null pointer.
4004 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4005 exit call.
4006
d0cd7d02
AS
40072012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4008
4009 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4010 preprocessor. Test for each exception mask separately.
4011
dd318934
AJ
40122012-07-16 Andreas Jaeger <aj@suse.de>
4013
4014 * po/ru.po: Update from translation team.
4015
8048311a
JM
40162012-07-15 Joseph Myers <joseph@codesourcery.com>
4017
4018 * conform/data/string.h-data (NULL): Use macro-constant. Require
4019 equal to 0.
4020 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4021 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4022 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4023 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4025
b637d46e
AJ
40262012-07-13 Andreas Jaeger <aj@suse.de>
4027
4028 * po/fr.po: Update from translation team.
4029
541428fe
MP
40302012-07-12 Marek Polacek <polacek@redhat.com>
4031
4032 [BZ #14173]
4033 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4034 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4035 loop condition.
4036
ec332e94
JM
40372012-07-12 Joseph Myers <joseph@codesourcery.com>
4038
4039 [BZ #13717]
4040 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4041 Change to 2.4.1 where previously 2.4.0.
4042 * sysdeps/unix/sysv/linux/configure: Regenerated.
4043 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4044 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4045 version.
4046 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4047 (__ASSUME_AT_CLKTCK): Remove.
4048 (__ASSUME_AT_PAGESIZE): Likewise.
4049 (__ASSUME_AT_XID): Likewise.
4050 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4051 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4052 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4053 unconditionally.
4054 (HAVE_AUX_PAGESIZE): Likewise.
4055 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4056 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4057 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4058
7b6e99be
JB
40592012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4060
4061 [BZ #14307]
4062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4063 the temporary buffer used to invoke __gethostbyname2_r,
4064 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4065 host_data / struct gaih_addrtuple.
4066 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4067 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4068 header file nss/nsswitch.h.
4069 * nss/nsswitch.h (global scope): Add definition of implementation
4070 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4071 resolv/nss_dns/dns-host.c).
4072
608404eb
AJ
40732012-07-11 Andreas Jaeger <aj@suse.de>
4074
4075 * po/fr.po: Update from translation team.
4076
71220aca
AJ
4077 * po/sv.po: Update from translation team
4078 * po/fr.po: Another update from translation team.
4079
28cfe843
AZ
40802012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4081
4082 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4083 for subnormals or multiply small sinh result by itself.
4084 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4086
6b90f981
DM
40872012-07-11 David S. Miller <davem@davemloft.net>
4088
4089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4090
c6825772
AS
40912012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4092
4093 [BZ #14347]
4094 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4095 (INTERNAL_MARK): Shift it here.
4096
7b8e0d49
MP
40972012-07-10 Marek Polacek <polacek@redhat.com>
4098
4099 [BZ #14151]
4100 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4101 libc_cv_asm_global_directive with .globl.
4102 * configure: Regenerated.
4103 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4104 with .globl.
4105 * sysdeps/i386/configure: Regenerated.
4106 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4107 with .globl.
4108 * sysdeps/x86_64/configure: Regenerated.
4109 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4110 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4111 * elf/tst-unique2mod2.c: Likewise.
4112 * elf/tst-unique2mod1.c: Likewise.
4113 * elf/tst-unique1mod2.c: Likewise.
4114 * elf/tst-unique1mod1.c: Likewise.
4115 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4116 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4117 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4118 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4119 * sysdeps/mach/sysdep.h: Likewise.
4120 * sysdeps/i386/sysdep.h: Likewise.
4121 * sysdeps/i386/i386-mcount.S: Likewise.
4122 * sysdeps/x86_64/_mcount.S: Likewise.
4123 * sysdeps/x86_64/sysdep.h: Likewise.
4124 * sysdeps/sh/_mcount.S: Likewise.
4125 * sysdeps/sh/sysdep.h: Likewise.
4126 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4127 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4128 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4129 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4130 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4131 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4132 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4133 * locale/localeinfo.h: Likewise.
4134 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4135 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4136
6c55cda3
RM
41372012-07-09 Roland McGrath <roland@hack.frob.com>
4138
4139 [BZ #14336]
4140 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4141 system".
4142 * manual/message.texi (The Uniforum approach): Likewise.
4143 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4144 (glibc iconv Implementation): Likewise.
4145
638a572e
JM
41462012-07-09 Joseph Myers <joseph@codesourcery.com>
4147
4148 [BZ #14337]
4149 * math/s_clog.c (__clog): Avoid scaling a value down where that
4150 could result in underflow.
4151 * math/s_clog10.c (__clog10): Likewise.
4152 * math/s_clog10f.c (__clog10f): Likewise.
4153 * math/s_clog10l.c (__clog10l): Likewise.
4154 * math/s_clogf.c (__clogf): Likewise.
4155 * math/s_clogl.c (__clogl): Likewise.
4156 * math/libm-test.inc (clog_test): Add more tests.
4157 (clog10_test): Likewise.
4158 * sysdeps/i386/fpu/libm-test-ulps: Update.
4159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4160
261f4859
AS
41612012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4162
0abaf3e4
AS
4163 [BZ #14283]
4164 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4165 by 7 not 8 to examine high bit of fractional part.
4166
261f4859
AS
4167 [BZ #14042]
4168 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4169 for call to __mcount_internal.
4170 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4171 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4172 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4173
f17ac40d
JM
41742012-07-06 Joseph Myers <joseph@codesourcery.com>
4175
9ad63c23
JM
4176 [BZ #14154]
4177 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4178 approximation for values within 0x1p-13f of an odd multiple of
4179 pi/4.
4180 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4181 exception. Add more tests.
4182 * sysdeps/i386/fpu/libm-test-ulps: Update.
4183
f17ac40d
JM
4184 [BZ #6778]
4185 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4186 inputs and return -1 for them. Do not check for +Inf in case not
4187 reachable for +Inf.
4188 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4189 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4190 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4191 and return -1 for them. Do not check for +Inf in case not
4192 reachable for +Inf.
4193 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4194 define.
4195 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4196 and return -1 for them. Do not check for +Inf in case not
4197 reachable for +Inf.
4198 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4199 spurious underflow.
4200 * sysdeps/i386/fpu/libm-test-ulps: Update.
4201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4202
fb21f89b
MF
42032012-07-06 Mike Frysinger <vapier@gentoo.org>
4204
4205 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4206
cdfe2c5e
JM
42072012-07-05 Joseph Myers <joseph@codesourcery.com>
4208
4209 [BZ #14157]
4210 [BZ #14331]
4211 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4212 could result in spurious underflow. Scale down values above
4213 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4214 * math/s_csqrtf.c (__csqrtf): Likewise.
4215 * math/s_csqrtl.c (__csqrtl): Likewise.
4216 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4217 spurious underflow.
4218 * sysdeps/i386/fpu/libm-test-ulps: Update.
4219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4220
70d35b67
AS
42212012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4222
704bc459
AS
4223 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4224 xopen-msg.sed.
4225 * catgets/xopen-msg.awk: New file.
4226 * catgets/xopen-msg.sed: Removed.
4227
70d35b67
AS
4228 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4229 po2text.sed.
4230 * intl/po2test.awk: New file.
4231 * intl/po2test.sed: Removed.
4232
ca61cf32
JM
42332012-07-04 Joseph Myers <joseph@codesourcery.com>
4234
4235 [BZ #14328]
4236 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4237 or multiply small sinh result by itself.
4238 * math/s_ctanf.c (__ctanf): Likewise.
4239 * math/s_ctanh.c (__ctanh): Likewise.
4240 * math/s_ctanhf.c (__ctanhf): Likewise.
4241 * math/s_ctanhl.c (__ctanhl): Likewise.
4242 * math/s_ctanl.c (__ctanl): Likewise.
4243 * math/libm-test.inc (ctan_test_tonearest): New function.
4244 (ctan_test_towardzero): Likewise.
4245 (ctan_test_downward): Likewise.
4246 (ctan_test_upward): Likewise.
4247 (ctanh_test_tonearest): Likewise.
4248 (ctanh_test_towardzero): Likewise.
4249 (ctanh_test_downward): Likewise.
4250 (ctanh_test_upward): Likewise.
4251 (main): Call these new functions.
4252 * sysdeps/i386/fpu/libm-test-ulps: Update.
4253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4254
ca48a46a
MF
42552012-07-03 Mike Frysinger <vapier@gentoo.org>
4256
4257 * .gitignore: Delete /ports entry.
4258
9d63d37d
AJ
42592012-07-03 Andreas Jaeger <aj@suse.de>
4260
4261 * po/bg.po: Update from translation team.
4262 * po/cs.po: Likewise.
4263 * po/de.po: Likewise.
4264 * po/hr.po: Likewise.
4265 * po/nl.pl: Likewise.
4266 * po/pl.po: Likewise.
4267 * po/vi.po: Likewise.
4268
370ca3d2
JM
42692012-07-03 Joseph Myers <joseph@codesourcery.com>
4270
95f5a9a8
JM
4271 * Makeconfig [!+link] (+link-before-libc): New variable.
4272 [!+link] (+link-after-libc): Likewise.
4273 [!+link] (+link-tests): Likewise.
4274 [!+link] (+link): Define in terms of $(+link-before-libc) and
4275 $(+link-after-libc).
4276 [!+link-static] (+link-static-before-libc): New variable.
4277 [!+link-static] (+link-static-after-libc): Likewise.
4278 [!+link-static] (+link-static-tests): Likewise.
4279 [!+link-static] (+link-static): Define in terms of
4280 $(+link-static-before-libc) and $(+link-static-after-libc).
4281 [build-shared] (link-libc-before-gnulib): New variable.
4282 [build-shared] (link-libc-tests): Likewise.
4283 [build-shared] (link-libc): Define in terms of
4284 $(link-libc-before-gnulib).
4285 [!build-shared] (link-libc-tests): New variable.
4286 (link-libc-static-tests): New variable.
4287 [!gnulib] (gnulib-arch): New variable.
4288 [!gnulib] (gnulib-tests): Likewise.
4289 [!gnulib] (static-gnulib-arch): Likewise.
4290 [!gnulib] (static-gnulib-tests): Likewise.
4291 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4292 Define with "=" instead of ":=".
4293 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4294 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4295 * Rules (binaries-all-notests): New variable.
4296 (binaries-all-tests): Likewise.
4297 (binaries-static-notests): Likewise.
4298 (binaries-static-tests): Likewise.
4299 (binaries-all): Define using $(binaries-all-notests) and
4300 $(binaries-all-tests).
4301 (binaries-static): Define using $(binaries-static-notests) and
4302 $(binaries-static-tests).
4303 (binaries-shared-tests): New variable.
4304 (binaries-shared-notests): Likewise.
4305 (binaries-shared): Remove variable.
4306 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4307 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4308 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4309 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4310 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4311 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4312 * elf/Makefile (sln-modules): New variable.
4313 (extra-objs): Add $(sln-modules:=.o).
4314 (ldconfig-modules): Add static-stubs.
4315 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4316 * elf/static-stubs.c: New file.
4317
7a845b2c
JM
4318 [BZ #14283]
4319 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4320 by 7 not 8 to examine high bit of fractional part. Use volatile
4321 variables when splitting into final array of floats if
4322 __FLT_EVAL_METHOD__ != 0.
4323 * math/libm-test.inc (cos_test): Add another test.
4324 (sin_test): Likewise.
4325 * sysdeps/i386/fpu/libm-test-ulps: Update.
4326
e2283f38
JM
4327 [BZ #14273]
4328 * math/libm-test.inc (cosh_test): Add more tests.
4329
370ca3d2
JM
4330 * version.h (RELEASE): Set to "development".
4331 (VERSION): Set to "2.16.90".
4332
ee9247c3
CD
43332012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4334
4335 * NEWS: Update copyright. Remove last-updated date.
4336 Mention math library bug fixes and timezone data changes.
4337 * README: Mention GNU/Hurd, x32, and HPPA support status.
4338
4648c381
TS
43392012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4340
4341 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4342
aac78a43
AJ
43432012-06-27 Andreas Jaeger <aj@suse.de>
4344
4345 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4346
ed3dbfad
AJ
43472012-06-25 Andreas Jaeger <aj@suse.de>
4348
4349 * sysdeps/s390/fpu/libm-test-ulps: Update.
4350
4d0ee855
AS
43512012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4352 Thomas Schwinge <thomas@codesourcery.com>
4353
4354 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4355 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4356 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4357 fanotify_mark.
4358
af1bce34
TS
43592012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4360
a9fa33ba
TS
4361 * sysdeps/mach/start.c: Remove file.
4362 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4363 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4364 * sysdeps/sh/init-first.c: Likewise.
4365
58f902b8
TS
4366 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4367 registers for frame unwinding purposes, add CFI directives.
4368 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4369 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4370 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4371 Likewise.
4372
1518f58b
TS
4373 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4374 __fortify_fail returning.
4375 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4376
db9b5059
TS
4377 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4378 sysdeps/sh/____longjmp_chk.S.
4379 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4380 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4381 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4382 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4383
967705fe
TS
4384 * sysdeps/sh/abort-instr.h: New file.
4385 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4386 process in case exit returns.
4387
a9def8c4
TS
4388 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4389 initialize the GOT register before use.
4390
2a649725
TS
4391 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4392 calculation of ARGC > 4.
4393
af1bce34
TS
4394 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4395 meaningful names to some local labels.
4396
d230f50a
KK
43972012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4398 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4399
4400 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4401 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4402 (__arch_compare_and_exchange_val_16_acq): Likewise.
4403 (__arch_compare_and_exchange_val_32_acq): Likewise.
4404 (atomic_exchange_and_add): Fix gUSA sequence.
4405 (atomic_add): Likewise.
4406 (atomic_add_negative): Likewise.
4407 (atomic_add_zero): Likewise.
4408 (atomic_bit_test_set): Likewise.
4409
0479b305
AS
44102012-06-22 Andreas Schwab <schwab@redhat.com>
4411
4412 [BZ #13579]
4413 * include/link.h (struct link_map): Add l_free_initfini.
4414 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4415 l_initfini.
4416 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4417 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4418 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4419 set.
4420
0e3933b9
CD
44212012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4422
4423 * configure.in: Use AC_LANG_SOURCE.
4424 * configure: Regenerate.
4425
4248b1b1
RM
44262012-06-22 Roland McGrath <roland@hack.frob.com>
4427
4428 * configure.in (libc_cv_localstatedir): New substituted variable.
4429 * configure: Regenerated.
4430 * config.make.in (localstatedir): New variable, substituted from
4431 libc_cv_localstatedir.
4432 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4433 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4434 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4435 * sysdeps/gnu/configure: Regenerated.
4436
006dd861
JL
44372012-06-21 Jeff Law <law@redhat.com>
4438
4439 [BZ #14277]
4440 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4441 free. Simplify list management for _LIBC case.
4442
79662d42
JM
44432012-06-21 Joseph Myers <joseph@codesourcery.com>
4444
b7abb4bf
JM
4445 [BZ #14273]
4446 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4447 Clear sign bit of 64-bit integer value before comparing against
4448 overflow value.
4449
79662d42
JM
4450 * sysdeps/mach/configure: Regenerated.
4451
1f150908
L
44522012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4453
4454 [BZ #14278]
4455 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4456
28363bbf
JL
44572012-06-21 Jeff Law <law@redhat.com>
4458
4459 [BZ #13882]
4460 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4461 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4462 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4463 * elf/dl-open.c (dl_open_worker): Likewise.
4464
09615db4
CD
44652012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4466
4467 * scripts/list-sources.sh: Scan PORTS for translations.
4468 * po/libc.pot: Regenerated.
4469
2174c6dd
AJ
44702012-06-21 Andreas Jaeger <aj@suse.de>
4471
4472 [BZ #12194]
4473 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4474 warning.
4475 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4476 * bits/byteswap-16.h (__bswap_16): Likewise.
4477 * bits/byteswap.h (__bswap_constant_16): Likewise.
4478
3ee947b1
L
44792012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4480
4481 [BZ #14117]
a2f34833
L
4482 * sysdeps/i386/fpu_control.h: Removed.
4483 * sysdeps/x86_64/fpu_control.h: Moved to ...
4484 * sysdeps/x86/fpu_control.h: Here.
4485
3ee947b1
L
4486 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4487 (_FPU_SETCW): Likewise.
4488
ed1825f8
L
44892012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4490
25f1282a
L
4491 [BZ #14117]
4492 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4493 * sysdeps/x86/fpu/bits/mathinline.h: This.
4494 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4495
ed1825f8
L
4496 [BZ #14050]
4497 [BZ #14117]
4498 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4499 functions if __x86_64__ is defined.
4500
36d54b74
CLT
45012012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4502
4503 * string/endian.h: Add !__ASSEMBLER__ condition for including
4504 conversion interfaces.
4505
10285c21
JM
45062012-06-15 Joseph Myers <joseph@codesourcery.com>
4507
4508 [BZ #14241]
4509 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4510 of ABS(x) in calculating zero to negative powers other than odd
4511 integers.
4512 * math/libm-test.inc (pow_test): Add more tests.
4513
06c5abbd
AJ
45142012-06-15 Andreas Jaeger <aj@suse.de>
4515
4516 * manual/contrib.texi (Contributors): Update entry of Liubov
4517 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4518 Machado Filho.
4519
a3aeac40
CH
45202012-06-15 Cyril Hrubis <metan@ucw.cz>
4521
4522 * string/string.h: Add __wur to GNU version of strerror_r.
4523
49bdf4c1
L
45242012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4525
4526 [BZ #14229]
4527 * string/Makefile (tests): Add tst-strtok_r.
4528 * string/tst-strtok_r.c: New file.
4529 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4530 RAX_LP/RDX_LP on SAVE_PTR.
4531
834f9b8d
RM
45322012-06-14 Roland McGrath <roland@hack.frob.com>
4533
4534 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4535
75fa1921
JM
45362012-06-14 Joseph Myers <joseph@codesourcery.com>
4537
4538 * libm_test.inc (csqrt_test): Allow more spurious underflow
4539 exceptions.
4540 (j0_test): Likewise.
4541 (j1_test): Likewise.
4542 (y0_test): Likewise.
4543 (y1_test): Likewise.
4544
771766df
CD
45452012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4546
4547 * po/Makefile (libc.pot): Use UTF-8 charset.
4548
ceb9e56b
PP
45492012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4550
4551 [BZ #14210]
4552 Suppress sign-conversion warning from FD_SET.
4553 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4554 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4555 not unsigned long int.
4556 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4557
ddb28975
L
45582012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4559
4560 [BZ #14050]
4561 [BZ #14117]
4562 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4563 __extern_always_inline instead of __extern_inline.
4564 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4565 (__signbit): Likewise.
4566 (__signbitl): Support C++ namespace.
4567 (lrintf): New inline function.
4568 (lrint): Likewise.
4569 (llrintf): Likewise.
4570 (llrint): Likewise.
4571 (fmaxf): Likewise.
4572 (fmax): Likewise.
4573 (fminf): Likewise.
4574 (fmin): Likewise.
4575 (rint): Likewise.
4576 (rintf): Likewise.
4577 (ceil): Likewise.
4578 (ceilf): Likewise.
4579 (floor): Likewise.
4580 (floorf): Likewise.
4581 (nearbyint): Likewise.
4582 (nearbyintf): Likewise.
4583
d7b4fb26
TS
45842012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4585
4586 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4587 non-default versions.
4588
eb55f5c2
RM
45892012-06-11 Roland McGrath <roland@hack.frob.com>
4590
4591 [BZ #14218]
4592 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4593
366af02c
TS
45942012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4595
99ff6e5c
TS
4596 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4597 (FE_UPWARD, FE_DOWNWARD): Don't define.
4598 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4599 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4600
366af02c
TS
4601 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4602 reading it.
4603 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4604 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4605
793ea851
KK
46062012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4607
4608 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4609 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4610 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4611 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4612
a728a38f
L
46132012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4614
4615 [BZ #14117]
c08010c7
L
4616 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4617 * sysdeps/i386/fpu/Implies: New file.
4618 * sysdeps/x86_64/fpu/Implies: Likewise.
4619 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4620 * sysdeps/x86/fpu/bits/fenv.h: This.
4621
a728a38f
L
4622 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4623 __SSE_MATH__.
4624
6e230d11
SP
46252012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4626
4627 [BZ #14134]
4628 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4629 character 0xffff that matches the last element of the
4630 conversion table.
4631
1b671feb
AZ
46322012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4633
4634 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4635 fmodl commit.
4636
6043738b
AZ
46372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4638
4639 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4640 values higher than 25.6283.
4641
34ae0b32
AZ
46422012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4643
4644 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4645 subnormal exponent extraction and add some __builtin_expect.
4646 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4647 Fix for subnormal mantissa calculation.
4648
1214ec8f
MF
46492012-06-04 Mike Frysinger <vapier@gentoo.org>
4650
4651 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4652 cpu2 is -1 and errno is not ENOSYS.
4653
f3d1f93c
L
46542012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4655
4656 [BZ #14117]
0e4a3cd7
L
4657 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4658 * sysdeps/x86/bits/string.h: This.
4659 * sysdeps/x86_64/bits/string.h: Removed.
4660
6704c645
L
4661 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4662 if not compiling for x86-64, but compiling for >= i486.
4663
48495318
L
4664 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4665 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4666
14adcbfc
L
4667 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4668 New macro from Linux kernel 3.4.0.
4669 (FP_XSTATE_MAGIC2): Likewise.
4670 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4671 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4672 (struct _fpx_sw_bytes): New struct.
4673 (struct _xsave_hdr): Likewise.
4674 (struct _ymmh_state): Likewise.
4675 (struct _xstate): Likewise.
4676
68e408ab
L
4677 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4678 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4679 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4680 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4681 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4682 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4683
f3d1f93c
L
4684 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4685 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4686 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4687 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4688 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4689 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4690
d9dc34cd
TMQMF
46912012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4692
4693 [BZ #13743]
4694 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4695 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4696 (sysdep_headers): Include sys/platform/ppc.h.
4697 * sysdeps/powerpc/test-gettimebase.c: Test for
4698 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4699 * manual/Makefile (appendices): Include platform.texi.
4700 * manual/contrib.texi (Contributors): Update @node pointers.
4701 * manual/maint.texi (Maintenance): Likewise.
4702 (Platform): New node.
4703 * manual/platform.texi: New file. Document the new features.
4704
4af3879c
SP
47052012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4706 Jakub Jelinek <jakub@redhat.com>
4707
4708 [BZ #14188]
4709 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4710 where __builtin_expect is unavailable.
4711
2fd6ff13
DM
47122012-06-03 David S. Miller <davem@davemloft.net>
4713
4714 * stdlib/longlong.h: Updated from GCC.
4715
173f7220
AS
47162012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4717
4718 [BZ #14042]
4719 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4720 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4721 __mcount_internal.
4722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4723 (GLIBC_2.16): Likewise.
4724
f34a1c6f
L
47252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4726
4727 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4728
88a4576f
JM
47292012-06-01 Joseph Myers <joseph@codesourcery.com>
4730
ea32bcdd
JM
4731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4732 (default-abi): New variable.
4733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4734 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4735 variable.
4736 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4737 Likewise.
4738 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4739 Likewise.
4740 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4741 Likewise.
4742
88a4576f
JM
4743 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4744 definition. Document in comment.
4745
402fe938
DM
47462012-06-01 David S. Miller <davem@davemloft.net>
4747
4748 * stdlib/longlong.h: Updated from GCC.
4749
3553723f
L
47502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4751
4752 [BZ #14117]
3bd872c4
L
4753 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4754 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4755 sys/debugreg.h sys/io.h here.
4756 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4757 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4758 sys/io.h.
4759 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4760 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4761 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4762 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4763 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4764 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4765
3553723f
L
4766 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4767 Define only if __x86_64__ is defined.
4768
4842e4fe
JM
47692012-06-01 Joseph Myers <joseph@codesourcery.com>
4770
c5bfe3d5
JM
4771 [BZ #14048]
4772 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4773 Use int64_t for variable i.
4774 * math/libm-test.inc (fmod_test): Add more tests.
4775
4842e4fe
JM
4776 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4777 z computation is not scheduled after fetestexcept.
4778 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4779 Use math_force_eval instead of asm to ensure calculation scheduled
4780 before exception test.
4781 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4782 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4783
efb73488
AJ
47842012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4785
4786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4787 computation is not scheduled after fetestexcept.
4788
29bcce7c
L
47892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4790
4791 [BZ #14117]
4792 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4793 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4794
73a68f94
AZ
47952012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4796
4797 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4798 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4799
67b6df78
L
48002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4801
edf2933a 4802 [BZ #14117]
ebc64a18
L
4803 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4804 <bits/wordsize.h>.
4805 (__WCHAR_MIN): Support __WORDSIZE == 64.
4806 (__WCHAR_MAX): Likewise.
4807
edf2933a
L
4808 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4809 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4810
57c6cf40
L
4811 [BZ #14183]
4812 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4813 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4814
67b6df78 4815 [BZ #14117]
8eb6281e
L
4816 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4817 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4818
aac639f4
L
4819 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4820 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4821
67b6df78
L
4822 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4823 Defined to 1 if __x86_64__ isn't defined.
4824 (_STAT_VER_LINUX_OLD): New.
4825 (st_atime): Remove duplicate.
4826 (st_mtime): Likewise.
4827 (st_ctime): Likewise.
4828
1c2cfe81
DM
48292012-05-31 David S. Miller <davem@davemloft.net>
4830
4831 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4832 entries.
4833
5be8418c
AS
48342012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4835
e7725326
AS
4836 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4837 gen-libm-test.pl.
4838
5be8418c
AS
4839 [BZ #14132]
4840 * elf/dl-reloc.c: Include <_itoa.h>.
4841 (_dl_reloc_bad_type): Remove use of INTUSE.
4842 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4843 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4844 * stdio-common/psiginfo.c (psiginfo): Likewise.
4845 * stdio-common/psignal.c (psignal): Likewise.
4846 * string/strsignal.c (strsignal): Likewise.
4847 * include/signal.h (_sys_siglist): Declare hidden proto.
4848 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4849 INTVARDEF with libc_hidden_data_def.
4850 * stdio-common/itoa-udigits.c: Likewise.
4851 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4852 (_itoa_lower_digits_internal): Remove declaration.
4853 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4854 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4855 (_sys_sigabbrev_internal): Remove aliases.
4856 (_sys_siglist): Define hidden alias.
4857
507352f1
MT
48582012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4859
4860 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4861 bits/sysctl.h.
4862
42bbb1c3
L
48632012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4864
4865 [BZ #14117]
6bd784b6
L
4866 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4867 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4868
8bca20f0
L
4869 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4870 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4871 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4872 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4873 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4874 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4875
f9e890a9
L
4876 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4877 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4878 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4879
471101a1
L
4880 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4881 with __addr.
4882 (insw): Likewise.
4883 (insl): Likewise.
4884 (outsb): Likewise.
4885 (outsw): Likewise.
4886 (outsl): Likewise.
4887
6451c862
L
4888 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4889 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4890 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4891
a254b8c9
L
4892 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4893 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4894 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4895 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4896 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4897 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4898
b8dfdd92
L
4899 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4900 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4901
578cd270
L
4902 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4903 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4904
de662f5f
L
4905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4906 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4907 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4908
25653439
L
4909 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4910 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4911 to ...
4912 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4913
6bad24a0
L
4914 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4915 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4916 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4917
42bbb1c3
L
4918 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4919 for x86-64.
4920 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4921
2d10d547
JM
49222012-05-31 Joseph Myers <joseph@codesourcery.com>
4923
4924 * math/math.h (M_El): Use two more decimal places.
4925 (M_LOG2El): Likewise.
4926 (M_LOG10El): Likewise.
4927 (M_LN2l): Likewise.
4928 (M_LN10l): Likewise.
4929 (M_PIl): Likewise.
4930 (M_PI_2l): Likewise.
4931 (M_PI_4l): Likewise.
4932 (M_1_PIl): Likewise.
4933 (M_2_PIl): Likewise.
4934 (M_2_SQRTPIl): Likewise.
4935 (M_SQRT2l): Likewise.
4936 (M_SQRT1_2l): Likewise.
4937
f230c29b
DM
49382012-05-31 David S. Miller <davem@davemloft.net>
4939
4940 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4941 values between float registers.
4942 * sysdeps/sparc/sparc64/memset.S: Likewise.
4943 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4944
fed806c3
MF
49452012-05-31 Mike Frysinger <vapier@gentoo.org>
4946
4947 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4948 -D_FORTIFY_SOURCE=1.
4949 (CPPFLAGS-tst-longjmp_chk.c): Define.
4950 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4951 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4952 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4953 CFLAGS-tst-wchar-h.c.
4954
30917259
MP
49552012-05-31 Marek Polacek <polacek@redhat.com>
4956
4957 [BZ #14132]
4958 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4959 __endmntent_internal): Remove declaration.
4960 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4961 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4962 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4963
1c58d5dc
DM
49642012-05-30 David S. Miller <davem@davemloft.net>
4965
4966 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4967 (___Q_simulate_exceptions): Use real FP ops rather than writing
4968 into the %fsr.
4969 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4970 Likewise.
4971
7dc00e0d
L
49722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4973
4974 [BZ #14117]
0bd53985
L
4975 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4976 * sysdeps/x86/bits/xtitypes.h: This.
4977
3a257e66
L
4978 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4979 * sysdeps/x86/bits/wordsize.h: This.
4980
62f62904
L
4981 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4982 * sysdeps/x86/bits/huge_vall.h: This.
4983
404fe9d9
L
4984 * sysdeps/i386/bits/select.h: Removed.
4985 * sysdeps/x86_64/bits/select.h: Renamed to ...
4986 * sysdeps/x86/bits/select.h: This.
4987
d48d0446
L
4988 * sysdeps/i386/bits/setjmp.h: Removed.
4989 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4990 * sysdeps/x86/bits/setjmp.h: This.
4991
7dc00e0d
L
4992 * sysdeps/i386/bits/mathdef.h: Removed.
4993 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4994 * sysdeps/x86/bits/mathdef.h: This.
4995
03277f8f
AS
49962012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4997
4998 [BZ #14132]
4999 * include/sys/socket.h (__connect_internal)
5000 (__libc_sa_len_internal): Remove declaration.
5001 (__connect, __libc_sa_len): Declare hidden_proto.
5002 (SA_LEN): Remove use of INTUSE.
5003 * socket/connect.c: Add libc_hidden_def.
5004 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5005 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5006 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5007 alias.
5008 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5009 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5010 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5011 of adding _internal alias.
5012
13764867
L
50132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5014
5015 [BZ #14117]
6bd97696
L
5016 * sysdeps/i386/bits/link.h: Removed.
5017 * sysdeps/i386/bits/linkmap.h: Likewise.
5018 * sysdeps/x86_64/bits/link.h: Renamed to ...
5019 * sysdeps/x86/bits/link.h: This.
5020 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5021 * sysdeps/x86/bits/linkmap.h: This.
5022
f726f0bb
L
5023 * sysdeps/i386/bits/endian.h: Removed.
5024 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5025 * sysdeps/x86/bits/endian.h: This.
5026
13764867
L
5027 * sysdeps/i386/bits/byteswap.h: Removed.
5028 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5029 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5030 * sysdeps/x86/bits/byteswap.h: This.
5031 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5032 * sysdeps/x86/bits/byteswap-16.h: This.
5033 * sysdeps/i386/Implies: Add x86.
5034 * sysdeps/x86_64/Implies: Likewise.
5035
ae251b0b
DM
50362012-05-30 David S. Miller <davem@davemloft.net>
5037
5038 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5039 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5040 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5041 (FP_TRAPPING_EXCEPTIONS): Define.
5042 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5043 (FP_TRAPPING_EXCEPTIONS): Define.
5044 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5045 subnormals only when inexact has been signalled or underflow
5046 exceptions are enabled.
5047 (_FP_PACK_CANONICAL): Likewise.
5048
d5c90867
L
50492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5050
5051 [BZ #14183]
5052 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5053 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5054
63f1549e
RH
50552012-05-30 Richard Henderson <rth@twiddle.net>
5056
8d8f2279
RH
5057 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5058 with #ifndef NOT_IN_libc.
5059
63f1549e
RH
5060 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5061 marked to avoid plt entry.
5062
0ab0291b
L
50632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5064
5065 [BZ #14112]
5066 * Makeconfig (default-abi): New macro.
5067 (abi-includes): Likewise.
5068 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5069 $(abi-$(default-abi)-lib-soname) for soname if defined.
5070 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5071 abi-variants.
5072 * Makefile (installed-stubs): Likewise.
5073 * include/stubs-biarch.h: Removed.
5074 * scripts/lib-names.awk: Only handle one library at a time.
5075 * scripts/soversions.awk: Remove WORDSIZE support.
5076 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5077 entries.
5078 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5079 Removed.
5080 (syscall-list-default-condition): Likewise.
5081 (syscall-list-default-condition): Likewise.
5082 (syscall-list-includes): Likewise.
5083 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5084 syscall-list-* with abi-*. Handle undefined abi-variants.
5085 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5086 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5087 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5088 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5089 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5090 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5091 Removed.
5092 (syscall-list-32-options): Likewise.
5093 (syscall-list-32-condition): Likewise.
5094 (syscall-list-64-options): Likewise.
5095 (syscall-list-64-condition): Likewise.
5096 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5097 macro.
5098 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5099 Renamed to ...
5100 (abi-*): This.
5101 (abi-64-ld-soname): New macro.
5102 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5103 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5104 Renamed to ...
5105 (abi-*): This.
5106 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5107 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5108
4da0431d
JM
51092012-05-30 Joseph Myers <joseph@codesourcery.com>
5110
3a85279c
JM
5111 * sysdeps/unix/sysv/linux/kernel-features.h
5112 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5113 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5114 include <kernel-features.h>.
5115 [!__NR_ftruncate64]: Remove conditional code.
5116 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5117 [__NR_ftruncate64]: Make code unconditional.
5118 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5119 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5120 include <kernel-features.h>.
5121 [!__NR_ftruncate64]: Remove conditional code.
5122 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5123 [__NR_ftruncate64]: Make code unconditional.
5124 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5126 include <kernel-features.h>.
5127 [!__NR_ftruncate64]: Remove conditional code.
5128 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5129 [__NR_ftruncate64]: Make code unconditional.
5130 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5132 include <kernel-features.h>.
5133 [!__NR_ftruncate64]: Remove conditional code.
5134 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5135 [__NR_ftruncate64]: Make code unconditional.
5136 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5137
4da0431d
JM
5138 * configure.in (libc_cv_fpie): Weaken to a compile test using
5139 LIBC_TRY_CC_OPTION.
5140 * configure: Regenerated.
5141
11ef492c
AK
51422012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5143
5144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5148 Refreshed.
5149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5155 Refreshed.
5156
d66ef399
DM
51572012-05-27 David S. Miller <davem@davemloft.net>
5158
5159 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5160 (___Q_zero): New.
5161 (__Q_simulate_exceptions): Return void. Change to simulate
5162 exceptions by writing into the %fsr.
5163 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5164 (__Qp_handle_exceptions): Likewise.
5165 (numbers): Delete.
5166 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5167 __Qp_handle_exceptions.
5168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5169 __Qp_handle_exceptions.
5170 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5171 as unused and give dummy FP_RND_NEAREST initializer.
5172 (FP_INHIBIT_RESULTS): Define.
5173 (___Q_simulate_exceptions): Update declaration.
5174 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5175 formatting.
5176 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5177 as unused and give dummy FP_RND_NEAREST initializer.
5178 (__Qp_handle_exceptions): Update declaration.
5179 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5180 formatting.
5181
04fb54b5
TS
51822012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5183
5184 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5185 the temporary FPU control word.
5186 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5187 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5188 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5189 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5190 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5191 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5192 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5193 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5194 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5195 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5196 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5197
3f99608f
KK
51982012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5199
5200 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5201 fields.
5202
65a4de4e
CLT
52032012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5204
5205 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5206 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5207 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5208 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5209 Likewise.
5210 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5211 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5212 Likewise.
5213
15749d40
UD
52142012-05-27 Ulrich Drepper <drepper@gmail.com>
5215
5216 * po/h.po: Update from translation team.
5217
25dbcb27
AS
52182012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5219
3d3f8e55
AS
5220 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5221
25dbcb27
AS
5222 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5223 handling of denormals.
5224 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5225 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5226 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5227 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5229 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5230 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5231 Likewise.
5232
7ad47a80 52332012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
5234
5235 [BZ #14152]
5236 * math/libm-test.inc (fma_test): Don't always expect underflow
5237 exception.
5238
9c6ea9fa
SP
52392012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5240
5241 [BZ #12416]
5242 * elf/tst-execstack.c: Include stackinfo.h.
5243 (do_test): Adjust test case to ensure that pthread_getattr_np
5244 behaviour remains the same after marking stack executable.
5245
a8239222
JM
52462012-05-25 Joseph Myers <joseph@codesourcery.com>
5247
5248 * sysdeps/unix/sysv/linux/kernel-features.h
5249 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5250 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5251 kernel-features.h.
5252 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5253 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5254 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5255 kernel-features.h.
5256 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5257 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5258
918b5606
L
52592012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5260
5261 * configure.in: Define the default includes to being none.
5262 * configure: Regenerated.
5263
3a097cc7
RM
52642012-05-25 Roland McGrath <roland@hack.frob.com>
5265
8422c9a5
RM
5266 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5267 * sysdeps/x86_64/setjmp.S: Likewise.
5268 * sysdeps/i386/bsd-setjmp.S: Likewise.
5269 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5270 * sysdeps/i386/setjmp.S: Likewise.
5271 * sysdeps/i386/__longjmp.S: Likewise.
5272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5273 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5274
3a097cc7
RM
5275 * include/stap-probe.h: New file.
5276 * configure.in: Handle --enable-systemtap.
5277 * configure: Regenerated.
5278 * config.h.in (USE_STAP_PROBE): New #undef.
5279 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5280 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5281 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5282
21708942
JM
52832012-05-25 Joseph Myers <joseph@codesourcery.com>
5284
5285 [BZ #13717]
5286 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5287 to 2.4.0 where earlier.
5288 * sysdeps/unix/sysv/linux/configure: Regenerated.
5289 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5290 <kernel-features.h>.
5291 [__ASSUME_32BITUIDS]: Make code unconditional.
5292 [!__ASSUME_32BITUIDS]: Remove conditional code.
5293 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5294 <kernel-features.h>.
5295 [__ASSUME_32BITUIDS]: Make code unconditional.
5296 [!__ASSUME_32BITUIDS]: Remove conditional code.
5297 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5298 [__ASSUME_32BITUIDS]: Make code unconditional.
5299 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5300 * sysdeps/unix/sysv/linux/i386/getegid.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/i386/geteuid.c: Do not include
5305 <kernel-features.h>.
5306 [__ASSUME_32BITUIDS]: Make code unconditional.
5307 [!__ASSUME_32BITUIDS]: Remove conditional code.
5308 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5309 <kernel-features.h>.
5310 [__ASSUME_32BITUIDS]: Make code unconditional.
5311 [!__ASSUME_32BITUIDS]: Remove conditional code.
5312 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5313 <kernel-features.h>.
5314 [__ASSUME_32BITUIDS]: Make code unconditional.
5315 [!__ASSUME_32BITUIDS]: Remove conditional code.
5316 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5317 <kernel-features.h>.
5318 [__ASSUME_32BITUIDS]: Make code unconditional.
5319 [!__ASSUME_32BITUIDS]: Remove conditional code.
5320 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5321 <kernel-features.h>.
5322 [__ASSUME_32BITUIDS]: Make code unconditional.
5323 [!__ASSUME_32BITUIDS]: Remove conditional code.
5324 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5325 <kernel-features.h>.
5326 [__ASSUME_32BITUIDS]: Make code unconditional.
5327 [!__ASSUME_32BITUIDS]: Remove conditional code.
5328 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5329 <kernel-features.h>.
5330 [__ASSUME_32BITUIDS]: Make code unconditional.
5331 [!__ASSUME_32BITUIDS]: Remove conditional code.
5332 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5333 <kernel-features.h>.
5334 [__ASSUME_32BITUIDS]: Make code unconditional.
5335 [!__ASSUME_32BITUIDS]: Remove conditional code.
5336 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5337 <kernel-features.h>.
5338 [__ASSUME_32BITUIDS]: Make code unconditional.
5339 [!__ASSUME_32BITUIDS]: Remove conditional code.
5340 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5341 <kernel-features.h>.
5342 [__NR_setresgid] (__setresgid): Do not declare.
5343 [__ASSUME_32BITUIDS]: Make code unconditional.
5344 [!__ASSUME_32BITUIDS]: Remove conditional code.
5345 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5346 <kernel-features.h>.
5347 [__NR_setresuid] (__setresuid): Do not declare.
5348 [__ASSUME_32BITUIDS]: Make code unconditional.
5349 [!__ASSUME_32BITUIDS]: Remove conditional code.
5350 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5351 <kernel-features.h>.
5352 [__ASSUME_32BITUIDS]: Make code unconditional.
5353 [!__ASSUME_32BITUIDS]: Remove conditional code.
5354 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5355 <kernel-features.h>.
5356 [__ASSUME_32BITUIDS]: Make code unconditional.
5357 [!__ASSUME_32BITUIDS]: Remove conditional code.
5358 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5359 <kernel-features.h>.
5360 [__ASSUME_32BITUIDS]: Make code unconditional.
5361 [!__ASSUME_32BITUIDS]: Remove conditional code.
5362 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5363 <kernel-features.h>.
5364 [__ASSUME_32BITUIDS]: Make code unconditional.
5365 [!__ASSUME_32BITUIDS]: Remove conditional code.
5366 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5367 <kernel-features.h>.
5368 [__ASSUME_32BITUIDS]: Make code unconditional.
5369 [!__ASSUME_32BITUIDS]: Remove conditional code.
5370 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5371 <kernel-features.h>.
5372 [__ASSUME_32BITUIDS]: Make code unconditional.
5373 [!__ASSUME_32BITUIDS]: Remove conditional code.
5374 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5375 <kernel-features.h>.
5376 [__ASSUME_32BITUIDS]: Make code unconditional.
5377 [!__ASSUME_32BITUIDS]: Remove conditional code.
5378 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5379 <kernel-features.h>.
5380 [__ASSUME_32BITUIDS]: Make code unconditional.
5381 [!__ASSUME_32BITUIDS]: Remove conditional code.
5382 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5383 <kernel-features.h>.
5384 [__ASSUME_32BITUIDS]: Make code unconditional.
5385 [!__ASSUME_32BITUIDS]: Remove conditional code.
5386 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5387 <kernel-features.h>.
5388 [__ASSUME_32BITUIDS]: Make code unconditional.
5389 [!__ASSUME_32BITUIDS]: Remove conditional code.
5390 * sysdeps/unix/sysv/linux/kernel-features.h
5391 (__ASSUME_SETRESUID_SYSCALL): Remove.
5392 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5393 (__ASSUME_32BITUIDS): Likewise.
5394 (__ASSUME_LDT_WORKS): Likewise.
5395 (__ASSUME_O_DIRECTORY): Likewise.
5396 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5397 architecture but not kernel version.
5398 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5399 (__ASSUME_MMAP2_SYSCALL): Likewise.
5400 (__ASSUME_STAT64_SYSCALL): Likewise.
5401 (__ASSUME_IPC64): Likewise.
5402 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5403 <kernel-features.h>.
5404 [__ASSUME_32BITUIDS]: Make code unconditional.
5405 [!__ASSUME_32BITUIDS]: Remove conditional code.
5406 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5407 <kernel-features.h>.
5408 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5409 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5410 132096]: Remove conditional code.
5411 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5412 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5413 <kernel-features.h>.
5414 [__ASSUME_32BITUIDS]: Make code unconditional.
5415 [!__ASSUME_32BITUIDS]: Remove conditional code.
5416 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5417 <kernel-features.h>.
5418 [__ASSUME_32BITUIDS]: Make code unconditional.
5419 [!__ASSUME_32BITUIDS]: Remove conditional code.
5420 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5421 <kernel-features.h>.
5422 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5423 unconditional.
5424 (__setresgid): Do not declare.
5425 [__ASSUME_32BITUIDS]: Make code unconditional.
5426 [!__ASSUME_32BITUIDS]: Remove conditional code.
5427 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5428 <kernel-features.h>.
5429 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5430 unconditional.
5431 (__setresuid): Do not declare.
5432 [__ASSUME_32BITUIDS]: Make code unconditional.
5433 [!__ASSUME_32BITUIDS]: Remove conditional code.
5434 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5435 <kernel-features.h>.
5436 [__ASSUME_32BITUIDS]: Make code unconditional.
5437 [!__ASSUME_32BITUIDS]: Remove conditional code.
5438 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5439 <kernel-features.h>.
5440 [__ASSUME_32BITUIDS]: Make code unconditional.
5441 [!__ASSUME_32BITUIDS]: Remove conditional code.
5442
a386f1cc
RH
54432012-05-25 Richard Henderson <rth@twiddle.net>
5444
5445 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5446 dl_hwcap to ifunc resolver.
5447 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5448 elf_ifunc_invoke.
5449 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5450 dl_hwcap to ifunc resolver.
5451 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5452
b6550497
JM
54532012-05-24 Joseph Myers <joseph@codesourcery.com>
5454
5455 [BZ #14153]
5456 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5457 for |x| <= 2**-26, not 2**-57.
5458 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5459 exception.
5460
b0bc23a1
JL
54612012-05-24 Jeff Law <law@redhat.com>
5462
5463 * stdio-common/Makefile (tests): Add bug25.
5464 * stdio-common/bug25.c: New test.
5465
347c92e9
L
54662012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5467
5468 [BZ #13576]
5469 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5470 multiple of MALLOC_ALIGNMENT in size.
5471 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5472
6bcc8b3f
JM
54732012-05-24 Joseph Myers <joseph@codesourcery.com>
5474
5475 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5476 Require >= 256.
5477 (FILENAME_MAX): Use macro-int-constant.
5478 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5479 (_IOFBF): Use macro-int-constant.
5480 (_IOLBF): Likewise.
5481 (_IONBF): Likewise.
5482 (SEEK_CUR): Likewise.
5483 (SEEK_END): Likewise.
5484 (SEEK_SET): Likewise.
5485 (TMP_MAX): Likewise.
5486 (EOF): Use macro-int-constant. Require < 0.
5487 (NULL): Use macro-constant. Require == 0.
5488 (stdin): Require type to be FILE *.
5489 (stdout): Likewise.
5490 (stderr): Likewise.
5491 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5492 macro-int-constant.
5493 (EXIT_SUCCESS): Likewise.
5494 (NULL): Use macro-constant. Require == 0.
5495 (RAND_MAX): Use macro-int-constant.
5496 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5497 [C99-based standards] (strtof): Require function.
5498 [C99-based standards] (strtold): Likewise.
5499 [C99-based standards] (strtoll): Likewise.
5500 [C99-based standards] (strtoull): Likewise.
5501 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5502 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5503 [ISO || ISO99 || ISO11] (math.h): Likewise.
5504 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5505 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5506 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5507
d18ea0c5
AS
55082012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5509
5510 [BZ #14132]
56d25bb8
AS
5511 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5512 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5513 * intl/dgettext.c (DCGETTEXT): Likewise.
5514 * intl/gettext.c (DCGETTEXT): Likewise.
5515 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5516 * posix/regex_internal.h (gettext): Likewise.
5517 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5518 Remove declaration.
5519 * include/argz.h (__argz_count_internal)
5520 (__argz_stringify_internal): Remove declaration.
5521 (__argz_count, __argz_stringify): Declare hidden proto.
5522 * intl/dcgettext.c: Remove use of INTDEF.
5523 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5524 * string/argz-stringify.c: Likewise.
5525 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5526 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5527 Declare hidden proto.
d18ea0c5
AS
5528 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5529 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5530 Declare hidden proto.
5531 * include/stdio.h (__asprintf_internal): Don't declare.
5532 (__asprintf): Don't define as macro. Declare hidden proto.
5533 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5534 (__fsetlocking): Declare hidden proto.
5535 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5536 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5537 hidden proto.
5538 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5539 (_IO_setlinebuf): Remove use of INTUSE.
5540 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5541 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5542 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5543 Remove declaration.
5544 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5545 (_IO_do_flush): Remove use of INTUSE.
5546 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5547 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5548 (_IO_adjust_column, _IO_least_wmarker)
5549 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5550 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5551 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5552 (_IO_default_doallocate, _IO_wdefault_doallocate)
5553 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5554 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5555 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5556 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5557 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5558 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5559 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5560 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5561 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5562 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5563 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5564 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5565 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5566 proto.
5567 (_IO_flush_all_internal, _IO_adjust_column_internal)
5568 (_IO_default_uflow_internal, _IO_default_finish_internal)
5569 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5570 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5571 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5572 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5573 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5574 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5575 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5576 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5577 (_IO_file_close_internal, _IO_file_close_it_internal)
5578 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5579 (_IO_file_init_internal, _IO_file_attach_internal)
5580 (_IO_file_fopen_internal, _IO_file_read_internal)
5581 (_IO_file_sync_internal, _IO_file_seek_internal)
5582 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5583 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5584 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5585 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5586 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5587 (_IO_list_all_internal, _IO_link_in_internal)
5588 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5589 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5590 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5591 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5592 (_IO_do_write_internal, _IO_padn_internal)
5593 (_IO_getline_info_internal, _IO_getline_internal)
5594 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5595 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5596 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5597 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5598 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5599 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5600 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5601 with libc_hidden_ver, remove use of INTUSE.
5602 * libio/genops.c: Likewise.
5603 * libio/freopen.c: Likewise.
5604 * libio/freopen64.c: Likewise.
5605 * libio/iofclose.c: Likewise.
5606 * libio/iofdopen.c: Likewise.
5607 * libio/iofflush.c: Likewise.
5608 * libio/iofflush_u.c: Likewise.
5609 * libio/iofgets.c: Likewise.
5610 * libio/iofgets_u.c: Likewise.
5611 * libio/iofopen.c: Likewise.
5612 * libio/iofopncook.c: Likewise.
5613 * libio/iofread.c: Likewise.
5614 * libio/iofread_u.c: Likewise.
5615 * libio/ioftell.c: Likewise.
5616 * libio/iofwrite.c: Likewise.
5617 * libio/iogetline.c: Likewise.
5618 * libio/iogets.c: Likewise.
5619 * libio/iogetwline.c: Likewise.
5620 * libio/iopadn.c: Likewise.
5621 * libio/iopopen.c: Likewise.
5622 * libio/ioseekoff.c: Likewise.
5623 * libio/ioseekpos.c: Likewise.
5624 * libio/iosetbuffer.c: Likewise.
5625 * libio/iosetvbuf.c: Likewise.
5626 * libio/ioungetc.c: Likewise.
5627 * libio/ioungetwc.c: Likewise.
5628 * libio/iovdprintf.c: Likewise.
5629 * libio/iovsprintf.c: Likewise.
5630 * libio/iovsscanf.c: Likewise.
5631 * libio/memstream.c: Likewise.
5632 * libio/obprintf.c: Likewise.
5633 * libio/oldfileops.c: Likewise.
5634 * libio/oldiofclose.c: Likewise.
5635 * libio/oldiofdopen.c: Likewise.
5636 * libio/oldiofopen.c: Likewise.
5637 * libio/oldiopopen.c: Likewise.
5638 * libio/oldstdfiles.c: Likewise.
5639 * libio/putc.c: Likewise.
5640 * libio/setbuf.c: Likewise.
5641 * libio/setlinebuf.c: Likewise.
5642 * libio/stdfiles.c: Likewise.
5643 * libio/strops.c: Likewise.
5644 * libio/vasprintf.c: Likewise.
5645 * libio/vscanf.c: Likewise.
5646 * libio/vsnprintf.c: Likewise.
5647 * libio/vswprintf.c: Likewise.
5648 * libio/wfiledoalloc.c: Likewise.
5649 * libio/wfileops.c: Likewise.
5650 * libio/wgenops.c: Likewise.
5651 * libio/wmemstream.c: Likewise.
5652 * libio/wstrops.c: Likewise.
5653 * libio/__fpurge.c: Likewise.
5654 * libio/__fsetlocking.c: Likewise.
5655 * assert/assert.c: Likewise.
5656 * debug/fgets_chk.c: Likewise.
5657 * debug/fgets_u_chk.c: Likewise.
5658 * debug/fread_chk.c: Likewise.
5659 * debug/fread_u_chk.c: Likewise.
5660 * debug/gets_chk.c: Likewise.
5661 * debug/obprintf_chk.c: Likewise.
5662 * debug/vasprintf_chk.c: Likewise.
5663 * debug/vdprintf_chk.c: Likewise.
5664 * debug/vsnprintf_chk.c: Likewise.
5665 * debug/vsprintf_chk.c: Likewise.
5666 * malloc/mtrace.c: Likewise.
5667 * misc/error.c: Likewise.
5668 * misc/syslog.c: Likewise.
5669 * stdio-common/asprintf.c: Likewise.
5670 * stdio-common/fxprintf.c: Likewise.
5671 * stdio-common/getw.c: Likewise.
5672 * stdio-common/isoc99_fscanf.c: Likewise.
5673 * stdio-common/isoc99_scanf.c: Likewise.
5674 * stdio-common/isoc99_vfscanf.c: Likewise.
5675 * stdio-common/isoc99_vscanf.c: Likewise.
5676 * stdio-common/isoc99_vsscanf.c: Likewise.
5677 * stdio-common/printf-prs.c: Likewise.
5678 * stdio-common/printf_fp.c: Likewise.
5679 * stdio-common/printf_fphex.c: Likewise.
5680 * stdio-common/printf_size.c: Likewise.
5681 * stdio-common/putw.c: Likewise.
5682 * stdio-common/scanf.c: Likewise.
5683 * stdio-common/sprintf.c: Likewise.
5684 * stdio-common/tmpfile.c: Likewise.
5685 * stdio-common/vfprintf.c: Likewise.
5686 * stdio-common/vfscanf.c: Likewise.
5687 * stdlib/strfmon_l.c: Likewise.
5688 * sunrpc/openchild.c: Likewise.
5689 * sunrpc/xdr_stdio.c: Likewise.
5690 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5691 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5692
d6c33fda
RM
56932012-05-24 Roland McGrath <roland@hack.frob.com>
5694
c1487492
RM
5695 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5696
5697 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5698 in the third column, to generate for the shared library an IFUNC
5699 that uses _dl_vdso_vsym.
5700 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5701 * Makeconfig (object-suffixes-noshared): New variable.
5702
5703 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5704 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5705 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5706 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5707
d6c33fda
RM
5708 [BZ #14132]
5709 * include/sys/time.h (__gettimeofday): Remove macro.
5710 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5711 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5712 Remove INTDEF.
5713 (__gettimeofday): Add libc_hidden_def.
5714 (gettimeofday): Add libc_hidden_weak.
5715 * sysdeps/mach/gettimeofday.c: Likewise.
5716 * sysdeps/posix/gettimeofday.c: Likewise.
5717 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5718 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5719 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5720 (__gettimeofday_internal): Remove strong_alias.
5721 (__gettimeofday): Add libc_hidden_def.
5722 (gettimeofday): Add libc_hidden_weak.
5723 * sysdeps/unix/syscalls.list (gettimeofday):
5724 Remove __gettimeofday_internal alias.
5725
b5a2bbe6
L
57262012-05-24 Daniel Jacobowitz <drow@false.org>
5727 H.J. Lu <hongjiu.lu@intel.com>
5728
5729 [BZ #12495]
5730 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5731 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5732 (largebin_index_32_big): New.
5733 (largebin_index): Use it for 16-byte alignment.
5734 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5735 correction with front_misalign.
5736
cfba4fda
L
57372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5738
7f907421
L
5739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5741 Likewise.
5742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5743 Likewise.
5744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5745 Likewise.
5746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5747 Likewise.
5748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5749 Likewise.
5750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5751 Likewise.
5752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5753 Likewise.
5754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5755 Likewise.
5756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5757 Likewise.
5758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5759 Likewise.
5760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5761 Likewise.
5762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5763 Likewise.
5764
cfba4fda
L
5765 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5766 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5767
80bad0cc
JM
57682012-05-24 Joseph Myers <joseph@codesourcery.com>
5769
7a25eb06
JM
5770 [BZ #10846]
5771 [BZ #14036]
5772 * math/libm-test.inc (exp_test): Add test from bug 14036.
5773 (pow_test): Add test from bug 10846.
5774
795405f9
JM
5775 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5776 and other flags.
5777 (special_function): Do not include flags in test name.
5778 (parse_args): Likewise.
5779 * sysdeps/i386/fpu/libm-test-ulps: Update.
5780 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5781 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5782 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5784
80bad0cc
JM
5785 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5786 exceptions.
5787 * math/libm-test.inc ("Philosophy"): Update comment about
5788 exception testing.
5789 (UNDERFLOW_EXCEPTION): New macro.
5790 (UNDERFLOW_EXCEPTION_OK): Likewise.
5791 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5792 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5793 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5794 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5795 (INVALID_EXCEPTION_OK): Update value.
5796 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5797 (OVERFLOW_EXCEPTION_OK): Likewise.
5798 (IGNORE_ZERO_INF_SIGN): Likewise.
5799 (test_exceptions): Handle underflow exceptions.
5800 (acos_test): Update for underflow exception expectations.
5801 (cexp_test): Likewise.
5802 (clog_test): Likewise.
5803 (clog10_test): Likewise.
5804 (csqrt_test): Likewise.
5805 (ctan_test): Likewise.
5806 (ctanh_test): Likewise.
5807 (exp_test): Likewise.
5808 (exp10_test): Likewise.
5809 (exp2_test): Likewise.
5810 (expm1_test): Likewise.
5811 (fma_test): Likewise.
5812 (j0_test): Likewise.
5813 (jn_test): Likewise.
5814 (nexttoward_test): Likewise.
5815 (pow_test): Likewise.
5816 (scalbn_test): Likewise.
5817 (scalbln_test): Likewise.
5818 (tan_test): Likewise.
5819 (y1_test): Likewise.
5820 * sysdeps/i386/fpu/libm-test-ulps: Update.
5821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5822
9e0e3d0b
DM
58232012-05-23 David S. Miller <davem@davemloft.net>
5824
5825 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5826 (__libc_sigaction): Remove unused local variables.
5827
ccd0a08f
L
58282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5829
5830 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5831
62bdf9a6
PE
58322012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5833
f8591f80
PE
5834 mktime: avoid signed integer overflow
5835 * time/mktime.c (__mktime_internal): Do not mishandle the case
5836 where diff == INT_MIN.
5837
94c7d826
PE
5838 mktime: simplify computation of average
5839 * time/mktime.c (ranged_convert): Use new time_t_avg function
5840 instead of rolling our own (probably-slower) code.
5841
ce73d683
PE
5842 mktime: do not assume signed right shift propagates sign bit
5843 * time/mktime.c (isdst_differ): New static function.
5844 (__mktime_internal): No need to normalize tm_isdst now.
5845 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5846 tm_isdst values.
5847
72a22e59
PE
5848 mktime: merge another wrapv change from gnulib
5849 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5850 from some compilers.
5851
68605433
PE
5852 mktime: remove incorrect attempt at unusual arithmetics
5853 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5854 The code didn't really work on such machines anyway.
5855 (TYPE_MINIMUM): Assume two's complement.
5856 (twos_complement_arithmetic): Verify that long_int and time_t
5857 are two's complement (or unsigned, in the latter case).
5858
03cf7fe3
PE
5859 mktime: check signed shifts on long_int and time_t, too
5860 * time/mktime.c (SHR): Check that shifts work as desired
5861 on the types long_int and time_t too, as SHR is used on
5862 such types.
5863
f04dfbc2
PE
5864 mktime: do not assume 'long' is wide enough
5865 * time/mktime.c (verify): Move decl up.
5866 (long_int): New type.
5867 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5868 to remove assumption in the code that 'long' is wide enough to
5869 store year values. This assumption is not true on x32 and on
5870 some non-glibc platforms.
5871
62bdf9a6
PE
5872 mktime: merge wrapv change from gnulib
5873 * time/mktime.c (WRAPV): New macro.
5874 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5875 (guess_time_tm, __mktime_internal): Do not assume that signed
5876 integer overflow wraps around; modern compilers generate code
5877 where this assumption is no longer valid.
5878
5e292e4f
L
58792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5880
5881 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5882 Replace "jmp L(pseudo_end)" with "ret".
5883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5884 Likewise.
5885
8caf8c87
AJ
58862012-05-23 Andreas Jaeger <aj@suse.de>
5887
5888 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5889 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5890
1a09dc56
AJ
58912012-05-23 Andreas Jaeger <aj@suse.de>
5892 Maximilian Attems <max@stro.at>
5893
5894 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5895 New macros.
5896
1c87aba0
L
58972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5898
5899 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5900 code so that pseudo_end is just ret and the stack pointer is
5901 correct also for static library in error case.
5902
40e45bd5
JM
59032012-05-23 Joseph Myers <joseph@codesourcery.com>
5904
c2670533
JM
5905 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5906 move to syscalls.list.
5907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5911
40e45bd5
JM
5912 * manual/install.texi (Running make install): Do not mention Linux
5913 kernel version for which pt_chown is not needed.
5914 (Linux): Do not mention problems with nscd with 2.0 kernels.
5915 * INSTALL: Regenerated.
5916
be08eda5
AJ
59172012-05-23 Andreas Jaeger <aj@suse.de>
5918
5919 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5920 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5921 macro.
5922 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5923 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5924 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5925 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5926 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5927 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5928 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5929 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5930 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5931 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5932 * sysdeps/unix/sysv/linux/bits/in.h
5933 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5934
a6a056bb
RM
59352012-05-22 Roland McGrath <roland@hack.frob.com>
5936
5937 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5938 (PREPARE_VERSION): Just use assert instead, it will be elided
5939 under [NDEBUG] anyway.
5940
c9009328
L
59412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5942
5943 * sysdeps/unix/sysv/linux/Makefile: Include
5944 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5945 (sysdep_routines): Remove sysctl.
c9009328
L
5946 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5947 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5948 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5949 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5950 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5951
73338355
AJ
59522012-05-22 Andreas Jaeger <aj@suse.de>
5953
5954 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5955 that pseudo_end is just ret and the stack pointer is correct also
5956 for static library in error case.
5957
d44638b0
PP
59582012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5959
5960 [BZ #14122]
5961 * nss/nsswitch.c (defconfig_entries): New variable.
5962 (__nss_database_lookup): Don't leak defconfig entries.
5963 (nss_parse_service_list): Don't leak on error paths.
5964 (free_database_entries): New function.
5965 (free_defconfig): New function.
5966 (free_mem): Move common code to free_database_entries.
5967
31a39bd8
L
59682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5969
da0331a8
L
5970 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5971 Add arch_prctl.
5972 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5973
31a39bd8
L
5974 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5975 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5977 New macro.
5978 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5979 (INTERNAL_SYSCALL_TYPES): Likewise.
5980 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5981 (LOAD_REGS_TYPES_[1-6]): Likewise.
5982 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5983 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5984
45470df3
AZ
59852012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5986
5987 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5988 copysignl for GLIBC_2_0.
5989 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5990 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5992 logbl for GLIBC_2_0.
5993 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5994 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5995
98a61bcb
L
59962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5997
a4f6e481
L
5998 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5999 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6000
f63d5db6
L
6001 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6002 Use "neg %eax".
6003
98a61bcb
L
6004 * time/mktime.c: Update copyright years.
6005
95770f14
PE
60062012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6007
6226efbd
PE
6008 mktime: merge comment-quoting-style change from gnulib
6009 * time/mktime.c: Quote 'like this' in comments.
6010 The GNU coding standards suggest that we no longer quote `like this',
6011 as "`" and "'" are typically rendered asymmetrically nowadays.
6012 The typical gnulib style is to quote 'like this' when quoting
6013 code, and "like this" when quoting English.
6014
b99e4f78
PE
6015 * time/mktime.c (compile-command): Add "-I.".
6016
643e01e6
PE
6017 mktime: merge mktime-internal.h change from gnulib
6018 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6019
2554247d
PE
6020 mktime: merge time_r change from gnulib
6021 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6022
826dd0ab
PE
6023 mktime: merge DEBUG change from gnulib
6024 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6025 case system <time.h> has a #define.
6026
bd83aabe
PE
6027 mktime: merge <sys/types.h> change from gnulib
6028 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6029 since <time.t> is now guaranteed to define time_t.
6030
95770f14
PE
6031 mktime: merge HAVE_CONFIG_H change from gnulib
6032 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6033
5e1a27a9
L
60342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6035
0e44a77e
L
6036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6037 Use "neg %eax".
6038
5e1a27a9
L
6039 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6040 __rlim_t cast.
6041 (struct rusage): Use anonymous union to pad each field to
6042 __syscall_slong_t.
6043
46259bec
DM
60442012-05-21 David S. Miller <davem@davemloft.net>
6045
6046 * Makefules (o-iterator): Remove .s cases.
6047 (compile-command.s): Delete.
6048 (COMPILE.s): Delete.
6049 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6050
59f0c22e
JM
60512012-05-21 Joseph Myers <joseph@codesourcery.com>
6052
6053 * configure.in (libc_cv_predef_stack_protector): Only consider
6054 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6055 * configure: Regenerated.
6056
20c07380
L
60572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6058
bbb3154b
L
6059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6060 New macro. Use R*LP on int and pointer.
6061 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
6062 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6063 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
6064 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6065
20c07380
L
6066 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6067 [__WORDSIZE_TIME64_COMPAT32] instead of
6068 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6069 (struct utmp): Likewise.
6070 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6071 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6072 Renamed to ...
6073 (__WORDSIZE_TIME64_COMPAT32): This.
6074 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6075 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6076 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6077 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6078 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6079 (__WORDSIZE_TIME64_COMPAT32): New macro.
6080
d8d1017e
AJ
60812012-05-21 Andreas Jaeger <aj@suse.de>
6082
6083 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6084 only if [SHARED]. Add prototype for __wcschr_ia32.
6085
6c7fb145
RM
60862012-05-21 Roland McGrath <roland@hack.frob.com>
6087
6088 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6089 of %rbp unmolested in the jmp_buf while mangling the low bits.
6090 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6091 unmolested high bits of %rbp while demangling the low bits.
6092 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6093
66274218
AJ
60942012-05-21 Andreas Jaeger <aj@suse.de>
6095
07c58f8f
AJ
6096 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6097 * sunrpc/svc_simple.c: Use it for registerrpc.
6098 * sunrpc/xcrypt.c: Use it for passwd2des.
6099
66274218
AJ
6100 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6101
61f65140
L
61022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6103
6104 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6105 Don't define if [__SYSCALL_WORDSIZE != 32].
6106 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6107 New macro.
6108
5fefb436
AJ
61092012-05-21 Bruno Haible <bruno@clisp.org>
6110 Andreas Jaeger <aj@suse.de>
6111
6112 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6113 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6114 inptr and inend for must_buffer_ch.
6115 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6116 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6117 * stdio-common/Makefile (tests): Remove bug15.
6118 (bug15-ENV): Remove macro.
6119 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6120 anymore.
6121
d8e272ab
AJ
61222012-05-19 Andreas Jaeger <aj@suse.de>
6123 Roland McGrath <roland@hack.frob.com>
6124
6125 * manual/contrib.texi: Completely rewritten. It contains now an
6126 alphabetical list of contributors and their contributions.
6127
4a56a162
RH
61282012-05-21 Richard Henderson <rth@twiddle.net>
6129
6130 * misc/getauxval.c (__getauxval): Use unsigned long int.
6131 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6132 (getauxval): Use unsigned long int.
6133
d024d23c
L
61342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6135
6136 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6137
cbc00a03
RM
61382012-05-21 Roland McGrath <roland@hack.frob.com>
6139
6140 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6141 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6142 __alignof__ (long double).
6143
478143fa
AZ
61442012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6145
6146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6147
c7683a6d
RH
61482012-05-20 Richard Henderson <rth@twiddle.net>
6149
6150 * misc/getauxval.c: New file.
6151 * misc/sys/auxv.h: New file.
6152 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6153 (routines): Add getauxval.
6154 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6155 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6156 * elf/dl-sysdep.c (_dl_auxv): Remove.
6157 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6158 * elf/dl-support.c (_dl_auxv): New variable.
6159 (_dl_aux_init): Initialize it.
6160 * manual/startup.texi (Auxiliary Vector): New node.
6161 * sysdeps/generic/bits/hwcap.h: New file.
6162 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6163 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6164 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6165 * sysdeps/sparc/sysdep.h: ... here. Include it.
6166 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6167 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
6168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6169 Update.
c7683a6d
RH
6170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6173 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6178
a6f1845d
AZ
61792012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6180
6181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6182
cbcbe830
DM
61832012-05-19 David S. Miller <davem@davemloft.net>
6184
6185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6186
e0b16cc2
JM
61872012-05-19 Joseph Myers <joseph@codesourcery.com>
6188
6189 [BZ #14123]
6190 * math/s_ccosh.c: Include <float.h>
6191 (__ccosh): Avoid internal overflow calculating sinh and cosh
6192 values before multiplying by sin and cos values.
6193 * math/s_ccoshf.c: Likewise.
6194 * math/s_ccoshl.c: Likewise.
6195 * math/s_csin.c: Likewise.
6196 * math/s_csinf.c: Likewise.
6197 * math/s_csinl.c: Likewise.
6198 * math/s_csinh.c: Likewise.
6199 * math/s_csinhf.c: Likewise.
6200 * math/s_csinhl.c: Likewise.
6201 * math/libm-test.inc (ccos_test): Add more tests.
6202 (ccosh_test): Likewise.
6203 (csin_test): Likewise.
6204 (csinh_test): Likewise.
6205 * sysdeps/i386/fpu/libm-test-ulps: Update.
6206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6207
6ad13e08
L
62082012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6209
f66f0ce8
L
6210 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6211 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6212
6ad13e08
L
6213 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6214
b1d072a7
JM
62152012-05-19 Joseph Myers <joseph@codesourcery.com>
6216
6217 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6218 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6219 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6220 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6221 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6222 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6223 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6224 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6225 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6226 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6227 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6228 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6229 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6230 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6231 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6232 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6233 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6234 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6235 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6236 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6237 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6238 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6239 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6240 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6241 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6242 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6243 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6244 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6245 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6246 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6247 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6248
9eae47cb
AJ
62492012-05-18 Andreas Jaeger <aj@suse.de>
6250
6251 * csu/.gitignore: Delete.
6252
bb07f69f
L
62532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6254
6255 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6256 (timex): Use __syscall_slong_t.
6257
e6bdb741
AJ
62582012-05-18 Andreas Jaeger <aj@suse.de>
6259 Carlos O'Donell <carlos_odonell@mentor.com>
6260
6261 * manual/install.texi (Configuring and compiling): Update
6262 description about files modified in the source directory.
d6c33fda 6263 * INSTALL: Regenerated.
e6bdb741 6264
1b74487e
L
62652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6266
6267 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6268 value. Use "or" to set return value to -1.
6269 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6270 negate return value.
6271
a88b64b9
TMQMF
62722012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6273
6274 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6275 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6276 failure if the compiler has Graphite support disabled.
6277 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6278 Likewise.
6279 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6280 CFLAGS-memmove.c): Likewise.
6281 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6282 Likewise.
6283
3707636e
L
62842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6285
610b8622
L
6286 * sysdeps/x86_64/x32/_itoa.h: New file.
6287
7cd195df
L
6288 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6289 getdents system call only if kernel and user dirents have the
6290 same d_ino and d_off.
6291
94b07d20
L
6292 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6293 LLONG_MAX != LONG_MAX.
6294 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6295 (_fitoa_word): Likewise.
6296
18298070
L
6297 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6298 years.
6299 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6300 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6301 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6302
553c7ea4
L
6303 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6304 include <bits/wordsize.h>. Check __x86_64__ instead of
6305 __WORDSIZE.
6306 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6307 if __x86_64__ is defined. Use anonymous union on fpstate.
6308
3707636e
L
6309 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6310 anonymous union.
6311
b53ef01a
AS
63122012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6313
37fb1dc0
AS
6314 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6315 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6316 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6317 Refer to _rtld_local_ro instead of _rtld_global_ro.
6318 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6319 Likewise.
6320 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6321 Likewise.
6322 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6323 Likewise.
6324 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6325 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6326 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6327
b53ef01a
AS
6328 * sysdeps/powerpc/powerpc32/dl-machine.c
6329 (__elf_machine_runtime_setup) [PROF]: Don't reference
6330 _dl_prof_resolve.
6331
7a185db2
AJ
63322012-05-18 Andreas Jaeger <aj@suse.de>
6333
6334 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6335 function only available for GCCs before 3.4 since GCC 3.4
6336 introduced a builtin.
6337 (lrint): Likewise.
6338 (llrintf): Likewise.
6339 (llrint): Likewise.
6340 (fmaxf): Likewise.
6341 (fmax): Likewise.
6342 (fminf): Likewise.
6343 (fmin): Likewise.
6344 (rint): Likewise.
6345 (rintf): Likewise.
6346 (nearbyint): Likewise.
6347 (nearbyintf): Likewise.
6348 (ceil): Likewise.
6349 (ceilf): Likewise.
6350 (floor): Likewise.
6351 (floorf): Likewise.
6352
3e5aef87
L
63532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6354
428bd707
L
6355 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6356 on both fields and cast pointer to __syscall_ulong_t.
6357
3e5aef87
L
6358 * bits/types.h (__fsword_t): New type.
6359 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6360 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6361 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6362 (__FSWORD_T_TYPE): Likewise.
6363 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6364 (__FSWORD_T_TYPE): Likewise.
6365 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6366 (__FSWORD_T_TYPE): Likewise.
6367 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6368 (__FSWORD_T_TYPE): Likewise.
6369 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6370 __SWORD_TYPE with __fsword_t.
6371 (statfs64): Likewise.
6372
1ba7c3dc
DM
63732012-05-17 David S. Miller <davem@davemloft.net>
6374
6375 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6376
59910343
AJ
63772012-05-17 Andreas Jaeger <aj@suse.de>
6378
6379 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6380 warning.
6381
2e4c1e9e
L
63822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6383
6384 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6385
de7f5ce7
AJ
63862012-05-17 Andreas Jaeger <aj@suse.de>
6387
6388 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6389 when it is used.
6390
286abc3d
CM
63912012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6392
6393 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6394
477cc68e
L
63952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6396
6397 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6398 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6399
1a0994f5
CD
64002012-05-17 Andreas Jaeger <aj@suse.de>
6401 Carlos O'Donell <carlos_odonell@mentor.com>
6402
6403 [BZ #14059]
6404 * sysdeps/x86_64/multiarch/init-arch.h
6405 (bit_YMM_Usable): Rename to...
6406 (bit_AVX_Usable): ... this.
6407 (bit_FMA4_Usable): New macro.
6408 (bit_XMM_state): New macro.
6409 (bit_YMM_state): New macro.
6410 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6411 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6412 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6413 (CPUID_OSXSAVE): New macro.
6414 (CPUID_AVX): New macro.
6415 (CPUID_FMA4): New macro.
6416 (index_YMM_Usable): Rename to...
6417 (index_AVX_Usable): ... this.
6418 (HAS_AVX): Use HAS_ARCH_FEATURE.
6419 (HAS_FMA4): Likewise.
6420 (HAS_YMM_USABLE): Remove.
6421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6422 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6423 are present.
6424 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6425 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6426 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6427 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6428 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6429
0af797de
CM
64302012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6431
6432 * math/libm-test.c: Support platforms without multiple rounding modes.
6433 * math/bug-nextafter.c: Support platforms without FP exceptions.
6434 * math/bug-nexttoward.c: Likewise.
6435 * math/test-fenv.c: Likewise.
6436 * math/test-misc.c: Likewise.
6437 * stdlib/bug-getcontext.c: Likewise.
6438
e39745ff
AJ
64392012-05-17 Andreas Jaeger <aj@suse.de>
6440
6441 * manual/examples/search.c (critter_cmp): Change signature to
6442 avoid warnings.
6443 * manual/string.texi (Collation Functions): Likewise.
6444
48970aba
L
64452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6446
6447 * bits/types.h: Fold copyright years.
6448 * bits/typesizes.h: Likewise.
6449 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6450 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6451 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6452 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6453 * time/time.h: Likewise.
6454
bedee953
PP
64552012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6456
6457 [BZ #208]
6458 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6459 in instead of returning them. Return void.
6460 (__libc_mallinfo): Accumulate over all arenas.
6461 (__malloc_stats): Adjust for change in int_mallinfo interface.
6462
61653dfb
RM
64632012-05-16 Roland McGrath <roland@hack.frob.com>
6464
30b99d79
RM
6465 [BZ #10375]
6466 * configure.in (NM): Add AC_CHECK_TOOL for it.
6467 (libc_extra_cflags): New substituted variable.
6468 Check for -fstack-protector being used implicitly.
6469 * configure: Regenerated.
6470 * config.make.in (config-extra-cflags): New variable,
6471 gets @libc_extra_cflags@.
6472 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6473
61653dfb
RM
6474 [BZ #10375]
6475 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6476 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6477 * configure: Regenerated.
6478 * config.make.in (CPPUNDEFS): New substituted variable.
6479 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6480 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6481 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6482
661768bb
L
64832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6484
6485 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6486 (mq_attr): Use __syscall_slong_t.
6487
d4261567
L
64882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6489
6490 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6491 Check __x86_64__ instead of __WORDSIZE.
6492 (_STAT_VER_LINUX): Likewise.
6493 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6494 __syscall_ulong_t and __syscall_slong_t.
6495 (stat64): Likewise.
6496
cf3ff365
L
64972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6498
6499 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6500
76cf3e4d
L
65012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6502
6503 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6504
a637753a
L
65052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6506
6507 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6508 __syscall_ulong_t.
6509
d5e05119
L
6510 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6511 include <bits/wordsize.h>. Check __x86_64__ instead of
6512 __WORDSIZE.
6513 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6514 defined.
6515 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6516
f62ee380
L
6517 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6518 include <bits/wordsize.h>. Check __x86_64__ instead of
6519 __WORDSIZE.
6520 (user_regs_struct): Use "__extension__ unsigned long long"
6521 instead of "unsigned long" if __x86_64__ is defined.
6522 (user): Likewise. Pad after pointer field if __ILP32__ is
6523 defined.
6524
4e124ced
JM
65252012-05-16 Joseph Myers <joseph@codesourcery.com>
6526
6a3951a0
JM
6527 * configure.in (makeinfo): Require version 4.5 or later. Allow
6528 versions 5 to 9.
6529 * configure: Regenerated.
6530 * manual/install.texi (texinfo): Increase version requirement to
6531 4.5 or later.
6532 * INSTALL: Regenerated.
6533
4e124ced
JM
6534 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6535
953ca31a
L
65362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6537
6538 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6539
617aca05
L
6540 * sysdeps/x86_64/x32/ffs.c: New file.
6541
5762f7ae
L
6542 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6543 __syscall_ulong_t.
6544 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6545 defined. Use __syscall_ulong_t.
6546 (shminfo): Use __syscall_ulong_t.
6547 (shm_info): Likewise.
6548
a26b6856
L
6549 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6550 __syscall_ulong_t.
6551
cb2b9ef7
L
6552 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6553 <bits/wordsize.h>.
6554 (msgqnum_t): Use __syscall_ulong_t.
6555 (msglen_t): Likewise.
6556 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6557 __syscall_ulong_t.
6558
34683bb0
L
6559 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6560 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6561
84a68786
L
6562 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6563
48baa5f1
L
6564 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6565 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6566
180be88b
L
6567 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6568 __syscall_slong_t.
6569
5e90c8ad
L
6570 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6571 include <bits/wordsize.h>. Check __x86_64__ instead of
6572 __WORDSIZE.
6573
23dfb58b
L
6574 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6575 "unsigned long long int" if __x86_64__ is defined.
6576 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6577
ce5d54b0
L
6578 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6579 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6580 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6581
13dc9eac
L
6582 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6583 <stdint.h>.
6584 (GET_PC): Cast to uintptr_t first.
6585 (GET_FRAME): Likewise.
6586 (GET_STACK): Likewise.
6587
a7895d15
L
6588 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6589 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6590 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6591 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6592 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6593 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6594 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6595 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6596 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6597 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6598 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6599 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6600 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6601 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6602 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6603 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6604 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6605 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6606 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6607 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6608 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6609 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6610 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6611 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6612 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6613 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6614 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6615 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6616 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6617
656416c9
AS
66182012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6619
5bd66283
AS
6620 * Makerules (+depfiles): Also collect depfiles from .oS in
6621 $(extra-objs).
6622 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6623 .oS, $(libnldbl-routines)).
6624
656416c9
AS
6625 * Makerules (native-compile-mkdep-flags): Define.
6626 * sunrpc/Makefile (extra-objs): Add $(addprefix
6627 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6628 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6629 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6630 calling $(make-target-directory).
6631
a46f2169
L
66322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6633
6634 * bits/types.h (__snseconds_t): Removed.
6635 * time/time.h (struct timespec): Replace __snseconds_t with
6636 __syscall_slong_t.
6637 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6638 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6639 Likewise.
6640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6641 (__SNSECONDS_T_TYPE): Likewise.
6642 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6643 (__SNSECONDS_T_TYPE): Likewise.
6644 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6645 (__SNSECONDS_T_TYPE): Likewise.
6646
6af6528b
L
66472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6648
6649 * sysdeps/mach/hurd/bits/typesizes.h
6650 (__SYSCALL_SLONG_TYPE): New macro.
6651 (__SYSCALL_ULONG_TYPE): Likewise.
6652
de986b56
L
66532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6654
6655 * bits/types.h (__syscall_slong_t): New type.
6656 (__syscall_ulong_t): Likewise.
6657
6658 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6659 (__SYSCALL_ULONG_TYPE): Likewise.
6660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6661 (__SYSCALL_SLONG_TYPE): Likewise.
6662 (__SYSCALL_ULONG_TYPE): Likewise.
6663 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6664 (__SYSCALL_SLONG_TYPE): Likewise.
6665 (__SYSCALL_ULONG_TYPE): Likewise.
6666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6667 (__SYSCALL_SLONG_TYPE): Likewise.
6668 (__SYSCALL_ULONG_TYPE): Likewise.
6669
85736dc7
L
66702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6671
6672 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6673 Add sigaltstack-offsets.sym.
6674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6675 <sigaltstack-offsets.h>.
6676 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6677 longjmp_msg pointer.
6678 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6679 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6680 signal stack.
6681 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6682
cc03b296
JM
66832012-05-15 Joseph Myers <joseph@codesourcery.com>
6684
a9538892
JM
6685 * elf/stackguard-macros.h: Remove file.
6686 * sysdeps/generic/stackguard-macros.h: New file.
6687 * sysdeps/i386/stackguard-macros.h: Likewise.
6688 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6689 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6690 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6691 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6692 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6693 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6694 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6695 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6696 <elf/stackguard-macros.h>.
6697
cc03b296
JM
6698 [BZ #14109]
6699 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6700 __aligned__ in attribute.
6701 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6702 (gregset_t): Likewise.
6703
93171016
L
67042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6705
6706 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6707 * sysdeps/x86_64/64/Implies-after: Here. New file.
6708 * sysdeps/x86_64/x32/Implies-after: New file.
6709
d86813a0
L
67102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6711
6712 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6713 and access return value for _dl_profile_fixup. Use R10_LP to
6714 load frame size.
6715
2953ec75
L
67162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6717
6718 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6719
3b550e9e
L
67202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6721
6722 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6723 * sysdeps/x86_64/x32/sysdep.h: New file.
6724
eda41706
L
67252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6726
6727 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6728 * sysdeps/x86_64/setjmp.S: Likewise.
6729
9ea01d93
AZ
67302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6731
6732 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6733 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6734 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6735 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6736 remove unused global constant.
6737
02a91938
CM
67382012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6739
6740 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6741 include of <not-cancel.h>.
6742
6540185f
RM
67432012-05-15 Roland McGrath <roland@hack.frob.com>
6744
6745 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6746
509072a0
AJ
67472012-05-15 Jeff Law <law@redhat.com>
6748 Andreas Jaeger <aj@suse.de>
6749
6750 [BZ #13594]
6751 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6752 out from...
6753 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6754 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6755 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6756 code changing __hst_map_handle.map.
6757
ba75122d
RM
67582012-05-15 Roland McGrath <roland@hack.frob.com>
6759
6760 * configure.in (sysnames): Look for Implies-before and Implies-after
6761 files.
6762 * configure: Regenerated.
6763
890d8bd8
L
67642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6765
6766 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6767 8-byte data alignment with LP_SIZE alignment.
6768
f6ee6623
L
67692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6770
6771 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6772 into R10_LP.
6773
ea2626f6
L
67742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6775
6776 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6777
085f715e
L
67782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6779
6780 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6781 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6782 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6783 Likewise.
6784 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6785
be8498fc
L
67862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6787
6788 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6789 (stackinfo_sub_sp): Likewise.
6790
70bc83b9
L
67912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6792
6793 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6794 RAX_LP.
6795
9bc0b730
L
67962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6797
6798 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6799 into R*_LP.
6800
6d2850e7
L
68012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6802
6803 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6804 sizes into R*_LP.
6805
3cb84561
L
68062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6807
6808 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6809
54e2ed81
L
68102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6811
6812 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6813 into R11_LP and load __x86_64_shared_cache_size_half into
6814 R8_LP.
6815
8a17f349
L
68162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6817
6818 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6819 R8_LP.
6820
777b1eea
AZ
68212012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6822
6823 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6824 logb for POWER7.
6825 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6826 logbf for POWER7.
6827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6828 logbl for POWER7.
6829 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6830 powerpc32/power7/fpu/s_logb.c via #include.
6831 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6832 powerpc32/power7/fpu/s_logbf.c via #include.
6833 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6834 powerpc32/power7/fpu/s_logbl.c via #include.
6835
d20d4ac2
JM
68362012-05-15 Joseph Myers <joseph@codesourcery.com>
6837
6838 * README.libm: Remove file.
6839
6cdef1ab
L
68402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6841
6842 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6843 count for x32. Use R*_LP and omit operand-size suffix.
6844
0b254d8f
L
68452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6846
6847 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6848 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6849 * sysdeps/x86_64/x32/shlib-versions: New file.
6850
ceb809dc
RM
68512012-05-14 Roland McGrath <roland@hack.frob.com>
6852
6853 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6854 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6855 Use _dl_fatal_printf instead.
6856
37f1abd4
JM
68572012-05-14 Joseph Myers <joseph@codesourcery.com>
6858
6859 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6860 set if not set by the user. Do not allow for being unset.
6861 * sysdeps/unix/sysv/linux/configure: Regenerated.
6862
11de3a33
L
68632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6864
6865 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6866 the `q' suffix from lea and replace .quad with ASM_ADDR.
6867
e02f153a
L
68682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6869
6870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6871 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6872 instead of $17.
6873 (PTR_DEMANGLE): Likewise.
6874
520ae0fd
L
68752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6876
6877 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6878 (LP_OP): Likewise.
6879 (ASM_ADDR): Likewise.
6880 (RAX_LP): Likewise.
6881 (RBP_LP): Likewise.
6882 (RBX_LP): Likewise.
6883 (RCX_LP): Likewise.
6884 (RDI_LP): Likewise.
6885 (RSI_LP): Likewise.
6886 (RSP_LP): Likewise.
6887 (R8_LP): Likewise.
6888 (R9_LP): Likewise.
6889 (R10_LP): Likewise.
6890 (R10_LP): Likewise.
6891 (R11_LP): Likewise.
6892 (R12_LP): Likewise.
6893 (R13_LP): Likewise.
6894 (R14_LP): Likewise.
6895 (R15_LP): Likewise.
6896
b985be81
L
68972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6898
6899 * sysdeps/x86_64/x32/dl-machine.h: New file.
6900
6a4888ff
AJ
69012012-05-14 Andreas Jaeger <aj@suse.de>
6902
6903 * manual/Makefile (subdir): Remove export of subdir.
6904 (all): Remove target.
6905 (.PHONY): Remove all from list.
6906 (mkinstalldirs): Remove.
6907 (.PHONY): Remove installdirs from list.
6908 ($(inst_infodir)/libc.info): Use make-target-directory.
6909 (installdirs): Remove.
6910 (subdir_%): Remove.
6911 (glibc-targets): Remove.
6912 (lib): Remove.
6913 (stubs): Remove.
6914 ($(objpfx)stubs ../po/manual.pot): Remove.
6915 ($(objpfx)stamp%): Remove.
6916 (make-target-directory): Remove.
6917 (subdir_install): Remove.
6918 (routines): Remove.
6919 (aux): Remove.
6920 (sources): Remove.
6921 (objects): Remove.
6922 (headers): Remove.
6923
6924 [BZ #13750]
6925 * manual/.gitignore: Remove, it's not needed anymore.
6926 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6927 all files in it.
6928 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6929 directory.
6930 (texis): Renamed to $(objpfx)texis.
6931 (texis-path): New, contains path to generated files.
6932 (chapters.%): Use texis-path for complete path, add extra argument
6933 libc-texinfo.sh.
6934 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6935 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6936 (summary,texi, stamp-summary): Use complete path of
6937 files. Generate files in build dir.
6938 (dir-add.texi): Build in build dir.
6939 (libm-err.texi,stamp-libm-err): Likewise.
6940 (version.texi, stamp-version): Likewise.
6941 (.%c.texi): Likewise.
6942 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6943 (mostlyclean): Remove target.
6944 (realclean): Remove target.
6945 (generated): Add new variable with contents from mostlyclean and
6946 realclean, remove entries duplicated in common-mostlyclean, add
6947 stamp-libm-err and stamp-version.
6948 (generated-dirs): Add libc directory.
6949 ($(inst_infodir)/libc.info): Install files from build dir.
6950
6951 * manual/install.texi (Configuring and compiling): Adjust since
6952 the info files are not part of the tar ball anymore.
6953
7ac77294
AJ
69542012-05-14 Andreas Jaeger <aj@suse.de>
6955
6956 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6957 variable.
6958
ffb7875d
JM
69592012-05-14 Joseph Myers <joseph@codesourcery.com>
6960
6961 [BZ #13717]
6962 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6963 to 2.2.0 where earlier.
6964 * sysdeps/unix/sysv/linux/configure: Regenerated.
6965 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6966 Remove conditional code.
6967 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6968 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6969 Remove conditional code.
6970 [!__NR_lchown]: Likewise.
6971 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6972 [__NR_lchown]: Likewise.
6973 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6974 comment referencing __ASSUME_LCHOWN_SYSCALL.
6975 * sysdeps/unix/sysv/linux/i386/sigaction.c
6976 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6977 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6978 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6979 Remove conditional code.
6980 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6981 (__protocol_available): Remove #if 0 code.
6982 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6983 conditional code.
6984 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6985 * sysdeps/unix/sysv/linux/kernel-features.h
6986 (__ASSUME_GETCWD_SYSCALL): Don't define.
6987 (__ASSUME_REALTIME_SIGNALS): Likewise.
6988 (__ASSUME_PREAD_SYSCALL): Likewise.
6989 (__ASSUME_PWRITE_SYSCALL): Likewise.
6990 (__ASSUME_POLL_SYSCALL): Likewise.
6991 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6992 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6993 non-SPARC.
6994 (__ASSUME_SIOCGIFNAME): Don't define.
6995 (__ASSUME_MSG_NOSIGNAL): Likewise.
6996 (__ASSUME_SENDFILE): Define unconditionally.
6997 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6998 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6999 conditional code.
7000 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7001 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7002 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7003 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7004 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7005 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7006 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7008 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7009 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7011 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7014 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7017 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7018 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7020 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7021 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7023 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7024 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7026 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7027 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7029 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7030 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7031 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7032 Remove conditional code.
7033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7034 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7035 Remove conditional code.
7036 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7037 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7038 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7039 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7040 Remove conditional code.
7041 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7042 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7043 Remove conditional code.
7044 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7045 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7046 Remove conditional code.
7047 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7048 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7049 Remove conditional code.
7050 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7051 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7052 Remove conditional code.
7053 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7054 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7055 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7056 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7057 * sysdeps/unix/sysv/linux/sigaction.c
7058 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7059 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7060 * sysdeps/unix/sysv/linux/sigpending.c
7061 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7062 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7063 * sysdeps/unix/sysv/linux/sigprocmask.c
7064 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7065 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7066 * sysdeps/unix/sysv/linux/sigsuspend.c
7067 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7068 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7069 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7070 (__libc_missing_rt_sigs): Remove.
7071 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7072 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7073 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7074 Remove conditional code.
7075 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7076 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7077 return 1.
7078 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7079 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7080 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7081 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7082
1bfb7291
AJ
70832012-05-14 Andreas Jaeger <aj@suse.de>
7084
caae5a81
AJ
7085 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7086 it's not used in glibc.
7087 (__coshm1): Likewise.
7088 (__acosh1p): Likewise.
7089 (__sgn): Likewise.
7090
1bfb7291
AJ
7091 * manual/string.texi (Copying and Concatenation): Add missing
7092 variable in concat example.
7093 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7094
c044d724
L
70952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7096
144c5467 7097 [BZ #14103]
c044d724
L
7098 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7099 __builtin_clzl with __builtin_clzll.
7100
2523c62b
L
71012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7102
7103 [BZ #14104]
7104 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7105 libc_freeres_ptr.
7106
d7bb4c42
LD
71072012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7108
7109 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7110 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7111 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7112 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7113
9dc4e1fb
MF
71142012-05-14 Mike Frysinger <vapier@gentoo.org>
7115
7116 * NEWS: Update ia64 info.
7117
c7df0112
AS
71182012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7119
7120 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7121 used as bcopy.
7122
dc70356c
TS
71232012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7124
7125 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7126 * sysdeps/unix/syscalls.list (dup3): Likewise.
7127 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7128 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7129
9fb1a21f
L
71302012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7131
7132 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7133 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7134
4822a2a5
L
71352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7136
7137 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7138 thread pointer.
7139 (TLS_IE): Use mov/add instead of movq/addq to load thread
7140 pointer.
7141 (TLS_GD_PREFIX): New.
7142 (TLS_GD): Use it.
7143
842b81d6
DM
71442012-05-11 David S. Miller <davem@davemloft.net>
7145
7146 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7147 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7148 (_FPU_SETCW): Likewise.
7149
1cf463cd
L
71502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7151
7152 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7153 is 32-byte aligned.
7154
60cc4a18
AS
71552012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7156
7157 [BZ #11837]
7158 * iconvdata/gb18030.c: Update tables.
7159 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7160 characters specially.
7161 (BODY for TO_LOOP): Add encoding of missing ranges.
7162
febb44a4
TS
71632012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7164
7165 [BZ #13673]
7166 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7167 * sysdeps/mach/hurd/dup3.c: Likewise.
7168 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7169 * sysdeps/powerpc/memmove.c:: Likewise.
7170
0a10fb9e
L
71712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7172
7173 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7174 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7175
df8a552f
L
71762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7177
7178 * elf/elf.h (R_X86_64_RELATIVE64): New.
7179 (R_X86_64_NUM): Updated.
7180 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7181 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7182 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7183 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7184 tst-quad1pie tst-quad2pie
7185 (modules-names): Add tst-quadmod1 tst-quadmod2.
7186 ($(objpfx)tst-quad1): New dependency.
7187 ($(objpfx)tst-quad2): Likewise.
7188 ($(objpfx)tst-quad1pie): Likewise.
7189 ($(objpfx)tst-quad2pie): Likewise.
7190 * sysdeps/x86_64/tst-quad1.c: New file.
7191 * sysdeps/x86_64/tst-quad1pie.c: New file.
7192 * sysdeps/x86_64/tst-quad2.c: Likewise.
7193 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7194 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7195 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7196 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7197 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7198
f34d6f84
ST
71992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7200
f42d41d1
ST
7201 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7202 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7203 * streams/stropts.h (t_scalar_t): Define type.
7204
3c3571fc
ST
7205 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7206 (_PATH_PRESERVE): Set to "/var/lib".
7207 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7208
61f06bd3
ST
7209 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7210 instead of int.
7211
918d4d71
ST
7212 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7213 if __dir_mkfile succeeded.
7214
f34d6f84
ST
7215 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7216 checking for _hurd_dtablesize. Unlock it right after having
7217 finished _hurd_dtable allocation.
7218
10589b4a
TS
72192012-05-10 Thomas Schwinge <thomas@schwinge.name>
7220
674cdbc7
TS
7221 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7222 * sysdeps/mach/hurd/configure: Regenerated.
7223 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7224 special-casing to...
7225 * sysdeps/gnu/configure.in: ... this new file.
7226 * sysdeps/unix/sysv/linux/configure: Regenerated.
7227 * sysdeps/gnu/configure: New generated file.
7228
8e41b99f
TS
7229 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7230 for Linux: use nsec instead of usec, as well as:
7231 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7232 members of type struct timespec.
7233 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7234 New macros.
7235 (struct stat64): Likewise.
7236 (_STATBUF_ST_NSEC): New macro.
7237 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7238
10589b4a
TS
7239 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7240 __strtoul_internal rather than strtoul.
7241
63643c85
PT
72422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7243
7244 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7245 and reject them.
7246
3faebe6a
ST
72472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7248
7249 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7250 which preserves existing values.
7251 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7252
c6474b07
PT
72532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7254
7255 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7256 TIMEOUT values. Return EINVAL for NFDS values either negative or
7257 greater than FD_SETSIZE.
7258
1043890b
ST
72592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7260
7261 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7262 allocated, call __vm_protect to finish enabling the existing space, and
7263 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7264 allocate the remainder.
7265
37ed8b9b
PT
72662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7267
7268 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7269 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7270
db653660
ST
72712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7272
37ed8b9b
PT
7273 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7274 sysdeps/mach/hurd/readlink.c.
b29d4053 7275
db653660
ST
7276 * posix/tst-sysconf.c (posix_options): Only use
7277 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7278 _POSIX_SYNCHRONIZED_IO when they are defined
7279 * sysdeps/mach/hurd/bits/posix_opt.h:
7280 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7281 (_XOPEN_REALTIME): Undefine macro.
7282 (_XOPEN_REALTIME_THREADS): Undefine macro.
7283 (_XOPEN_SHM): Undefine macro.
7284 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7285 macro to -1.
7286 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7287 macro to -1.
7288 (_POSIX_ASYNC_IO): Undefine macro.
7289 (_POSIX_PRIORITIZED_IO): Undefine macro.
7290 (_POSIX_SPIN_LOCKS): Define macro to -1.
7291
ee16e894
ST
7292 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7293 SA_NODEFER, SA_RESETHAND.
7294 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7295 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7296 F_DUPFD_CLOEXEC.
7297
6103ae3b
TS
72982012-05-10 Thomas Schwinge <thomas@schwinge.name>
7299
7300 * elf/Makefile (pldd-modules): Define unconditionally.
7301
80b4e5f3
TS
73022012-05-10 Thomas Schwinge <thomas@schwinge.name>
7303
7304 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7305
edadcbd6
ST
73062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7307
7308 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7309 Return ENOENT when name is empty.
7310 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7311
80694780
TS
73122012-05-10 Thomas Schwinge <thomas@schwinge.name>
7313
1792c087
TS
7314 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7315
80694780
TS
7316 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7317
6b645f0d
ST
73182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7319
80694780
TS
7320 Fix mlock in all cases except non-readable pages.
7321 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7322 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 7323
6b645f0d
ST
7324 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7325 (__mkdir): When path is `/', just fail with EEXIST.
7326 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7327
e468f8a3
TS
73282012-05-10 Thomas Schwinge <thomas@schwinge.name>
7329
7330 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7331 <sys/uio.h> (for writev).
7332 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7333 and <sys/param.h> (for MIN).
7334
a4186cff
PT
73352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7336
7337 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7338 REQUESTED_TIME. Properly set the remaining time and return EINTR
7339 if interrupted.
7340
510bbf14
TS
73412012-05-10 Thomas Schwinge <thomas@schwinge.name>
7342
7343 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7344 Depend on against $(link-rpcuserlibs).
7345
5d5722e8
ST
73462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7347
a4186cff
PT
7348 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7349 (__libc_stack_end): Do not use attribute_relro.
7350 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7351 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 7352 to libthread-provided value.
a4186cff
PT
7353 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7354 attribute_relro.
5d5722e8 7355
37233df9
TS
73562012-05-10 Thomas Schwinge <thomas@schwinge.name>
7357
be971a2b
TS
7358 [BZ #3748]
7359 * bits/libc-lock.h (__libc_once_get): New macro.
7360 * sysdeps/mach/bits/libc-lock.h: Likewise.
7361 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7362 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7363 instead of using implementation details.
7364
37233df9
TS
7365 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7366 * libio/freopen.c: Likewise.
7367 * libio/freopen64.c: Likewise.
7368 * misc/syslog.c: Likewise.
7369 * nscd/connections.c: Likewise.
7370 * nscd/netgroupcache.c: Likewise.
7371 * sysdeps/posix/getcwd.c: Likewise.
7372
38de94a5
RM
73732012-05-10 Roland McGrath <roland@hack.frob.com>
7374
7375 * math/w_ilogbf.c: Add #include <limits.h>.
7376
67530489
ST
73772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7378
a4186cff 7379 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
7380 path instead of returning without unlocking.
7381
67530489
ST
7382 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7383 immediate-write ioctls.
7384 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7385
5aa3a74a
TS
73862012-05-10 Thomas Schwinge <thomas@schwinge.name>
7387
18bad2ae
TS
7388 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7389 __builtin_frame_address instead of making assumptions about the
7390 location of the return address relative to DATA. Force early load of
7391 the return address.
7392 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7393 __builtin_frame_address.
7394
5aa3a74a
TS
7395 dup3 for GNU Hurd.
7396 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7397 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7398 implement dup3 and do some further code clean-ups.
7399 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7400 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7401
ecd0de9a
ST
74022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7403
cd9fa985
ST
7404 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7405
a4186cff
PT
7406 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7407 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7408 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7409 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7410 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7411 d->port.lock.
802ca5a5 7412
a4186cff
PT
7413 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7414 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7415 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 7416
bcf55240
TS
74172012-05-10 Thomas Schwinge <thomas@schwinge.name>
7418
6960eb42
TS
7419 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7420 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7421 definitions.
7422
eb43375f
TS
7423 accept4 for GNU Hurd.
7424 * include/sys/socket.h (__libc_accept4): New prototype.
7425 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7426 to implement __libc_accept4.
7427 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7428 __libc_accept4.
7429 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7430
bcf55240
TS
7431 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7432 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7433 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7434 signal-defines.sym.
7435
6178c55b
ST
74362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7437
a4186cff 7438 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 7439
6f080c2f
TS
74402012-05-10 Thomas Schwinge <thomas@schwinge.name>
7441
7442 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7443 assertion on O_CLOEXEC flag.
7444 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7445 * hurd/intern-fd.c: Likewise.
7446 * hurd/port2fd.c: Likewise.
7447
bcfe3a54
ST
74482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7449
7450 [BZ #3906]
7451 * bits/in.h (IPV6_PKTINFO): Define new macro.
7452 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7453
89c9aa49
AZ
74542012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7455
7456 [BZ #13954]
7457 [BZ #13955]
7458 [BZ #13956]
7459 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7460 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7461 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7462 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7463 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7464 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7465 * math/libm-test.inc (logb_test) : Additional logb tests.
7466
021db4be
AJ
74672012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7468 Andreas Jaeger <aj@suse.de>
7469
7470 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7471 * configure: Regenerated.
7472 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7473 * config.make.in (link-obsolete-rpc): New substituted variable.
7474 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7475 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7476 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7477 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7478 so that libc.a contains the symbols.
7479 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7480 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7481 * sunrpc/auth_none.c: Likewise.
7482 * sunrpc/auth_unix.c: Likewise.
7483 * sunrpc/authdes_prot.c: Likewise.
7484 * sunrpc/authuxprot.c: Likewise.
7485 * sunrpc/clnt_gen.c: Likewise.
7486 * sunrpc/clnt_perr.c: Likewise.
7487 * sunrpc/clnt_raw.c: Likewise.
7488 * sunrpc/clnt_simp.c: Likewise.
7489 * sunrpc/clnt_tcp.c: Likewise.
7490 * sunrpc/clnt_udp.c: Likewise.
7491 * sunrpc/clnt_unix.c: Likewise.
7492 * sunrpc/des_crypt.c: Likewise.
7493 * sunrpc/des_soft.c: Likewise.
7494 * sunrpc/get_myaddr.c: Likewise.
7495 * sunrpc/key_call.c: Likewise.
7496 * sunrpc/key_prot.c: Likewise.
7497 * sunrpc/netname.c: Likewise.
7498 * sunrpc/pm_getmaps.c: Likewise.
7499 * sunrpc/pm_getport.c: Likewise.
7500 * sunrpc/pmap_clnt.c: Likewise.
7501 * sunrpc/pmap_prot.c: Likewise.
7502 * sunrpc/pmap_prot2.c: Likewise.
7503 * sunrpc/pmap_rmt.c: Likewise.
7504 * sunrpc/publickey.c: Likewise.
7505 * sunrpc/rpc_cmsg.c: Likewise.
7506 * sunrpc/rpc_common.c: Likewise.
7507 * sunrpc/rpc_dtable.c: Likewise.
7508 * sunrpc/rpc_prot.c: Likewise.
7509 * sunrpc/rpc_thread.c: Likewise.
7510 * sunrpc/rtime.c: Likewise.
7511 * sunrpc/svc.c: Likewise.
7512 * sunrpc/svc_auth.c: Likewise.
7513 * sunrpc/svc_raw.c: Likewise.
7514 * sunrpc/svc_run.c: Likewise.
7515 * sunrpc/svc_tcp.c: Likewise.
7516 * sunrpc/svc_udp.c: Likewise.
7517 * sunrpc/svc_unix.c: Likewise.
7518 * sunrpc/svcauth_des.c: Likewise.
7519 * sunrpc/xcrypt.c: Likewise.
7520 * sunrpc/xdr.c: Likewise.
7521 * sunrpc/xdr_array.c: Likewise.
7522 * sunrpc/xdr_float.c: Likewise.
7523 * sunrpc/xdr_intXX_t.c: Likewise.
7524 * sunrpc/xdr_mem.c: Likewise.
7525 * sunrpc/xdr_rec.c: Likewise.
7526 * sunrpc/xdr_ref.c: Likewise.
7527 * sunrpc/xdr_sizeof.c: Likewise.
7528 * sunrpc/xdr_stdio.c: Likewise.
7529
b5c086a2
RM
75302012-05-10 Roland McGrath <roland@hack.frob.com>
7531
7532 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7533 change. Update copyright years.
7534
6d74dd09
JM
75352012-05-10 Joseph Myers <joseph@codesourcery.com>
7536
7537 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7538
28e72501
MK
75392012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7540 Joseph Myers <joseph@codesourcery.com>
7541 Paul Pluzhnikov <ppluzhnikov@google.com>
7542
7543 [BZ #14012]
7544 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7545 requiring rpcgen.
7546 [cross-compiling] (extra-libs): Likewise.
7547 [cross-compiling] (extra-libs-others): Likewise.
7548 [cross-compiling] (librpcsvc-routines): Likewise.
7549 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7550 [cross-compiling] (omit-deps): Likewise.
7551 (sunrpc-CPPFLAGS): New variable.
7552 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7553 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7554 (cross-rpcgen-objs): New variable.
7555 (extra-objs): Append $(cross-rpcgen-objs).
7556 ($(cross-rpcgen-objs)): New rule.
7557 ($(objpfx)cross-rpcgen): Likewise.
7558 (rpcgen-cmd): Define to use $(built-program-file). Expand
7559 comment.
7560 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7561 ($(objpfx)x%.stmp): Likewise.
7562 * sunrpc/proto.h [IS_IN_build] (_): Define.
7563 [IS_IN_build] (_libc_intl_domainname): Likewise.
7564
c8c59454
L
75652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7566
7567 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7568 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7569 and R_X86_64_TPOFF64.
7570
6f27cd16
JM
75712012-05-10 Joseph Myers <joseph@codesourcery.com>
7572
7573 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7574 sysdeps/unix/sysv/syscalls.list.
7575 (stime): Likewise.
7576 (utime): Likewise.
7577 * sysdeps/unix/sysv/syscalls.list: Remove file.
7578
02467e1c
PE
75792012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7580
7581 [BZ #3440]
7582 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7583 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7584 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7585 (__LC_IDENTIFICATION): Make these macros useful in #if
7586 expressions, as required by C99.
7587
da392631
AS
75882012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7589
7590 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7591 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7592 after this.
7593
8115f29b
L
75942012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7595
7596 * stdlib/longlong.h: Updated from GCC.
7597
bdd74070
AJ
75982012-05-09 Andreas Jaeger <aj@suse.de>
7599
edfe0dbe
AJ
7600 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7601 default is first entry.
7602 (run_mode): Set type.
7603 (main): Remove informal message about syslog.
7604 (options): Fix typo.
7605
bcfe3a54
ST
7606 [BZ #14053]
7607 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7608 to asm.
bcfe3a54
ST
7609 (lrint): Likewise.
7610 (llrintf): Likewise.
7611 (llrint): Likewise.
7612 (rint): Likewise.
7613 (rintf): Likewise.
7614 (nearbyint): Likewise.
7615 (nearbyintf): Likewise.
bdd74070 7616
91d8d69e
AJ
76172012-05-09 Andreas Jaeger <aj@suse.de>
7618 Pedro Alves <palves@redhat.com>
7619
7620 * nscd/nscd.c (run_mode): Use enum.
7621 (main): Cleanup coding style issue.
7622
bb90b80b
AJ
76232012-05-09 Alexandre Oliva <aoliva@redhat.com>
7624 Andreas Jaeger <aj@suse.de>
7625
bcfe3a54
ST
7626 * nscd/nscd.c (go_background): Replaced with...
7627 (run_mode): ... this.
bb90b80b 7628 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7629 (options): Add -F --foreground.
7630 (main): Implement it.
7631 (parse_opt): Parse it.
bb90b80b 7632
1a4b75a1
AJ
76332012-05-09 Andreas Jaeger <aj@suse.de>
7634
7635 [BZ #14083]
7636 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7637 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7638 -Wconversion warning.
7639 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7640 Likewise.
7641
b1cc2472
JM
76422012-05-09 Joseph Myers <joseph@codesourcery.com>
7643
7644 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7645 == 0.
7646 (LC_ALL): Use macro-int-constant.
7647 (LC_COLLATE): Likewise.
7648 (LC_CTYPE): Likewise.
7649 (LC_MESSAGES): Likewise.
7650 (LC_MONETARY): Likewise.
7651 (LC_NUMERIC): Likewise.
7652 (LC_TIME): Likewise.
7653 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7654 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7655 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7656 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7657 Specify type.
7658 [C99-based standards] (float_t): Expect type.
7659 [C99-based standards] (double_t): Expect type.
7660 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7661 type.
7662 [C99-based standards] (HUGE_VALL): Likewise.
7663 [C99-based standards] (INFINITY): Likewise.
7664 [C99-based standards] (NAN): Likewise.
7665 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7666 [C99-based standards] (FP_NAN): Likewise.
7667 [C99-based standards] (FP_NORMAL): Likewise.
7668 [C99-based standards] (FP_SUBNORMAL): Likewise.
7669 [C99-based standards] (FP_ZERO): Likewise.
7670 [C99-based standards] (FP_FAST_FMA): Use
7671 optional-macro-int-constant. Specify type. Require == 1.
7672 [C99-based standards] (FP_FAST_FMAF): Likewise.
7673 [C99-based standards] (FP_FAST_FMAL): Likewise.
7674 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7675 [C99-based standards] (FP_ILOGBNAN): Likewise.
7676 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7677 Specify type.
7678 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7679 [C99-based standards] (math_errhandling): Specify type.
7680 [ISO99 || ISO11] (signgam): Do not allow.
7681 [non-C99-based standards] (copysignf): Do not allow.
7682 [non-C99-based standards] (exp2f): Likewise.
7683 [non-C99-based standards] (log2f): Likewise.
7684 [non-C99-based standards] (modff): Allow.
7685 [non-C99-based standards] (erff): Do not allow.
7686 [non-C99-based standards] (erfcf): Likewise.
7687 [non-C99-based standards] (gammaf): Likewise.
7688 [non-C99-based standards] (hypotf): Likewise.
7689 [non-C99-based standards] (j0f): Likewise.
7690 [non-C99-based standards] (j1f): Likewise.
7691 [non-C99-based standards] (jnf): Likewise.
7692 [non-C99-based standards] (lgammaf): Likewise.
7693 [non-C99-based standards] (tgammaf): Likewise.
7694 [non-C99-based standards] (y0f): Likewise.
7695 [non-C99-based standards] (y1f): Likewise.
7696 [non-C99-based standards] (ynf): Likewise.
7697 [non-C99-based standards] (isnanf): Likewise.
7698 [non-C99-based standards] (acoshf): Likewise.
7699 [non-C99-based standards] (asinhf): Likewise.
7700 [non-C99-based standards] (atanhf): Likewise.
7701 [non-C99-based standards] (cbrtf): Likewise.
7702 [non-C99-based standards] (expm1f): Likewise.
7703 [non-C99-based standards] (ilogbf): Likewise.
7704 [non-C99-based standards] (log1pf): Likewise.
7705 [non-C99-based standards] (logbf): Likewise.
7706 [non-C99-based standards] (nextafterf): Likewise.
7707 [non-C99-based standards] (remainderf): Likewise.
7708 [non-C99-based standards] (rintf): Likewise.
7709 [non-C99-based standards] (scalbf): Likewise.
7710 [non-C99-based standards] (copysignl): Likewise.
7711 [non-C99-based standards] (exp2l): Likewise.
7712 [non-C99-based standards] (log2l): Likewise.
7713 [non-C99-based standards] (modfl): Allow.
7714 [non-C99-based standards] (erfl): Do not allow.
7715 [non-C99-based standards] (erfcl): Likewise.
7716 [non-C99-based standards] (gammal): Likewise.
7717 [non-C99-based standards] (hypotl): Likewise.
7718 [non-C99-based standards] (j0l): Likewise.
7719 [non-C99-based standards] (j1l): Likewise.
7720 [non-C99-based standards] (jnl): Likewise.
7721 [non-C99-based standards] (lgammal): Likewise.
7722 [non-C99-based standards] (tgammal): Likewise.
7723 [non-C99-based standards] (y0l): Likewise.
7724 [non-C99-based standards] (y1l): Likewise.
7725 [non-C99-based standards] (ynl): Likewise.
7726 [non-C99-based standards] (isnanl): Likewise.
7727 [non-C99-based standards] (acoshl): Likewise.
7728 [non-C99-based standards] (asinhl): Likewise.
7729 [non-C99-based standards] (atanhl): Likewise.
7730 [non-C99-based standards] (cbrtl): Likewise.
7731 [non-C99-based standards] (expm1l): Likewise.
7732 [non-C99-based standards] (ilogbl): Likewise.
7733 [non-C99-based standards] (log1pl): Likewise.
7734 [non-C99-based standards] (logbl): Likewise.
7735 [non-C99-based standards] (nextafterl): Likewise.
7736 [non-C99-based standards] (remainderl): Likewise.
7737 [non-C99-based standards] (rintl): Likewise.
7738 [non-C99-based standards] (scalbl): Likewise.
7739 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7740 [non-C99-based standards] (FP_*): Do not allow.
7741 [C99-based standards] (FP_*): Change to
7742 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7743 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7744 allow.
7745 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7746 (SIG_ERR): Likewise.
7747 [X/Open-based standards] (SIG_HOLD): Likewise.
7748 (SIG_IGN): Likewise.
7749 (SIGABRT): Use macro-int-constant. Specify type. Require
7750 positive value.
7751 (SIGFPE): Likewise.
7752 (SIGILL): Likewise.
7753 (SIGINT): Likewise.
7754 (SIGSEGV): Likewise.
7755 (SIGTER): Likewise.
7756 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7757 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7758 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7759 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7760 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7761 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7762 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7763 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7764 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7765 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7766 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7767 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7768 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7769 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7770 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7771 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7772 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7773 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7774 [X/Open-based standards] (SIGTRAP): Likewise.
7775 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7776 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7777 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7778 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7779 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7780 allow.
7781
b9f1922d
IW
77822012-05-08 Ian Wienand <ianw@vmware.com>
7783
7784 [BZ #14080]
7785 * time/tzset.c (__tzset_parse_tz): Update default rules for
7786 daylight time changes in the Energy Policy Act of 2005.
7787
1db86e88
AJ
77882012-05-09 Andreas Jaeger <aj@suse.de>
7789
7790 [BZ #13983]
7791 * elf/ldconfig.c (parse_conf): Change string to make clear that
7792 ldconfig only issued a warning if ld.so.conf does not exist.
7793
dee4a4e3
DM
77942012-05-08 David S. Miller <davem@davemloft.net>
7795
ee0db190
DM
7796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7797 movxtod instead of popping the value on the stack.
7798
dee4a4e3
DM
7799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7800
6a43ec98
CD
78012012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7802
7803 * config.h.in: Add HAVE_ARM_PCS_VFP.
7804
05c2c961
RMG
78052012-05-08 Roland Mc Grath <roland@hack.frob.com>
7806
bcfe3a54
ST
7807 [BZ #13979]
7808 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7809 checking but the checks are disabled for any reason.
05c2c961 7810
4b30f61a
L
78112012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7812
7813 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7814 and ELF64_R_TYPE with ELFW(R_TYPE).
7815
eee2bc67
JM
78162012-05-08 Joseph Myers <joseph@codesourcery.com>
7817
7ea5391a
JM
7818 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7819 (ulimit): Likewise.
7820
eee2bc67
JM
7821 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7822 (settimeofday): Likewise.
7823
abb66a67
MF
78242012-05-08 Mike Frysinger <vapier@gentoo.org>
7825
7826 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7827 a struct th_u2 inside the union, and move tu_block/tu_code into
7828 a new th_u3 union of tu_block/tu_code inside of that. Move
7829 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7830 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7831 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7832 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7833 (th_stuff): Change to th_u1.tu_stuff.
7834 (th_data): Define.
7835 (th_msg): Change to th_u1.th_u2.tu_data.
7836
7f18b530
DM
78372012-05-07 David S. Miller <davem@davemloft.net>
7838
05760585
DM
7839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7840
7f18b530
DM
7841 [BZ #14074]
7842 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7843 (SETUP_PIC_REG): Use it.
7844 (SETUP_PIC_REG_LEAF): Use it.
7845
495fd99f
JM
78462012-05-07 Joseph Myers <joseph@codesourcery.com>
7847
7848 [BZ #13885]
7849 [BZ #13923]
7850 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7851 USE_AS_EXPM1L.
7852 (EXPL_FINITE): Likewise.
7853 (FLDLOG): Likewise.
7854 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7855 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7856 e_expl.S.
7857 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7858 USE_AS_EXPM1L.
7859 (EXPL_FINITE): Likewise.
7860 (FLDLOG): Likewise.
7861 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7862 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7863 e_expl.S.
7864 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7865 test of -max_value argument for long double.
7866 * sysdeps/i386/fpu/libm-test-ulps: Update.
7867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7868
6693d694
DM
78692012-05-06 David S. Miller <davem@davemloft.net>
7870
7871 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7872 quad soft-float symbols whose references which are compiler
7873 generated.
7874 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7875
6c23e11c
JM
78762012-05-06 Joseph Myers <joseph@codesourcery.com>
7877
d8b82cad
JM
7878 [BZ #13884]
7879 [BZ #13914]
7880 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7881 USE_AS_EXP10L.
7882 (EXPL_FINITE): Likewise.
7883 (FLDLOG): Likewise.
7884 (c0): Likewise.
7885 (c1): Likewise.
7886 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7887 Adjust comments for base varying.
7888 (__expl_finite): Change alias to EXPL_FINITE.
7889 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7890 e_expl.S.
7891 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7892 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7893 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7894 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7895 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7896 USE_AS_EXP10L.
7897 (EXPL_FINITE): Likewise.
7898 (FLDLOG): Likewise.
7899 (c0): Likewise.
7900 (c1): Likewise.
7901 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7902 Adjust comments for base varying.
7903 (__expl_finite): Change alias to EXPL_FINITE.
7904 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7905 tests for bugs.
7906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7907
6c23e11c
JM
7908 [BZ #14064]
7909 * math/libm-test.inc (check_float_internal): Correct ulp
7910 calculation for subnormal expected results.
7911
29ba805c
AJ
79122012-05-06 Andreas Jaeger <aj@suse.de>
7913
7914 * Makeconfig (+math-flags): New, set to -frounding-math.
7915 (+cflags): Add +math-flags so that all of glibc gets compiled with
7916 it.
7917
7918 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7919
7b17aeda
JM
79202012-05-05 Joseph Myers <joseph@codesourcery.com>
7921
5779f134
JM
7922 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7923 Disable one test.
7924
41498f4d
JM
7925 [BZ #13787]
7926 [BZ #13922]
7927 [BZ #14036]
7928 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7929 (__ieee754_expl): Allow for and saturate large arguments.
7930 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7931 (u_threshold): Likewise.
7932 (__exp): Call __ieee754_exp before checking for overflow and
7933 underflow.
7934 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7935 (u_threshold): Likewise.
7936 (__expf): Call __ieee754_expf before checking for overflow and
7937 underflow.
7938 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7939 (u_threshold): Likewise.
7940 (__expl): Call __ieee754_expl before checking for overflow and
7941 underflow.
7942 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7943 (__ieee754_expl): Allow for and saturate large arguments.
7944 * math/libm-test.inc (exp_test): Add another test. Do not allow
7945 missing overflow exception on overflow.
7946 (expm1_test): Do not allow missing overflow exception on overflow.
7947
6698b8bf
JM
7948 * sysdeps/i386/fpu/e_expl.c: Move to ...
7949 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7950 rather than using inline asm.
7951 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7952 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7953 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7954
7b17aeda
JM
7955 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7956 (nice): Likewise.
7957 (poll): Likewise.
7958 (signal): Likewise.
7959 (time): Likewise.
7960 (times): Likewise.
7961
f7c85819
JM
79622012-05-04 Joseph Myers <joseph@codesourcery.com>
7963
7964 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7965 sysdeps/unix/common/syscalls.list.
7966 (fchmod): Likewise.
7967 (fchown): Likewise.
7968 (ftruncate): Likewise.
7969 (getrusage): Likewise.
7970 (gettimeofday): Likewise.
7971 (setpgid): Likewise.
7972 (setregid): Likewise.
7973 (setreuid): Likewise.
7974 (sigaction): Likewise.
7975 (truncate): Likewise.
7976 (vhangup): Likewise.
7977 * sysdeps/unix/common/syscalls.list: Remove file.
7978 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7979 * sysdeps/unix/sysv/linux/Implies: Likewise.
7980
336270d0
L
79812012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7982
7983 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7985 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7986 Moved to ...
7987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7988 Here.
7989 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7990 to ...
7991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7992 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7993 to ...
7994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7995 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7996 to ...
7997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7998 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7999 to ...
8000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8001 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8002 to ...
8003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8004 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8005 to ...
8006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8007 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8008 to ...
8009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8010 Here.
8011 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8012 to ...
8013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8014 Here.
8015 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8016 to ...
8017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8018 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8019 Moved to ...
8020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8021 Here.
8022 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8023 to ...
8024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8025
d128e450
JM
80262012-05-04 Joseph Myers <joseph@codesourcery.com>
8027
fa8ee516
JM
8028 * sysdeps/unix/common/bits/dirent.h: Remove file.
8029 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8030
d128e450
JM
8031 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8032 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8033 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8034 * sysdeps/unix/bsd/isatty.c: Likewise.
8035 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8036 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8037 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8038
ff8faaf0 80392012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 8040
62881be4 8041 [BZ #13563]
31dc8730
AZ
8042 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8043 long double comparison inaccuracies.
8044 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8046
6fef930c
AS
80472012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8048
8049 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8050 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8051
8f203e6c
JM
80522012-05-04 Joseph Myers <joseph@codesourcery.com>
8053
8054 [BZ #14049]
8055 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8056 nonzero digits before rounding a hex value.
8057 * stdlib/tst-strtod.c (tests): Add another test.
8058
5197d9c2
AK
80592012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8060
8061 * sysdeps/s390/fpu/libm-test-ulps: Update.
8062
f0c1dedf
AJ
80632012-05-03 Andreas Jaeger <aj@suse.de>
8064
8065 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8066 does not get optimized out.
8067 (malloc_opt_barrier): New.
8068
a65ef2ae 80692012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 8070 Roland McGrath <roland@hack.frob.com>
a65ef2ae 8071
2b942cb7 8072 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 8073 intermediate file deletion.
2b942cb7 8074 (generated): Add .symlist files.
a65ef2ae 8075
54b71e02
JM
80762012-05-03 Joseph Myers <joseph@codesourcery.com>
8077
8078 [BZ #13775]
8079 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8080 Redirect under this condition.
8081 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8082 [__USE_GNU] (__dprintf_chk): Not under this condition.
8083 [__USE_GNU] (__vdprintf_chk): Likewise.
8084 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8085 under this condition.
8086 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8087 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8088 [__USE_XOPEN2K8] (vdprintf): Likewise.
8089 [__USE_GNU] (__dprintf_chk): Not under this condition.
8090 [__USE_GNU] (__vdprintf_chk): Likewise.
8091 [__USE_GNU] (dprintf): Likewise.
8092 [__USE_GNU] (vdprintf): Likewise.
8093
d3dfcc41
RM
80942012-05-03 Roland McGrath <roland@hack.frob.com>
8095
8096 * elf/Makefile (common-generated): Set this instead of generated for
8097 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8098 $(all-built-dso)-derived lists.
8099
7ac30cc5
AJ
81002012-05-03 Andreas Jaeger <aj@suse.de>
8101
0c51e550
AJ
8102 * sysdeps/i386/fpu/libm-test-ulps: Update.
8103
7ac30cc5
AJ
8104 * FAQ: Removed.
8105 * FAQ.in: Likewise.
8106 * scripts/gen-FAQ.pl: Likewise.
8107 * manual/install.texi (Installation): Point to online location of
8108 FAQ.
8109 * Makefile (files-for-dist): Remove FAQ.
8110 (FAQ): Remove.
8111
d4c2917f
AM
81122012-05-02 Allan McRae <allan@archlinux.org>
8113
8114 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8115 (LDFLAGS-reldepmod5.so): Likewise.
8116 (LDFLAGS-reldep6mod1.so): Likewise.
8117 (LDFLAGS-reldep6mod4.so): Likewise.
8118 (LDFLAGS-reldep8mod3.so): Likewise.
8119 (LDFLAGS-unload4mod1.so): Likewise.
8120 (LDFLAGS-unload4mod2.so): Likewise.
8121 (LDFLAGS-tst-initorder): Likewise.
8122 (LDFLAGS-tst-initordera2.so): Likewise.
8123 (LDFLAGS-tst-initordera3.so): Likewise.
8124 (LDFLAGS-tst-initordera4.so): Likewise.
8125 (LDFLAGS-tst-initorderb2.so): Likewise.
8126 (LDFLAGS-noload): Likewise.
8127 (LDFLAGS-next): Likewise.
8128 (LDFLAGS-order2mod1.so): Likewise.
8129 (LDFLAGS-order2mod2.so): Likewise.
8130 (LDFLAGS-tst-initorder2): Likewise.
8131 (LDFLAGS-tst-initorder2a.so): Likewise.
8132 (LDFLAGS-tst-initorder2b.so): Likewise.
8133 (LDFLAGS-tst-initorder2c.so): Likewise.
8134 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8135
d77f993f
DM
81362012-05-02 David S. Miller <davem@davemloft.net>
8137
8138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8139
171a70b4
PP
81402012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8141
8142 [BZ #14055]
8143 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8144
0be196ad
AJ
81452012-05-02 Andreas Jaeger <aj@suse.de>
8146
8147 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8148 since we manipulate rounding mode.
8149 (CPPFLAGS-test-idouble.c): Likewise.
8150 (CPPFLAGS-test-ifloat.c): Likewise.
8151 (CFLAGS-test-ldouble.c): Likewise.
8152 (CFLAGS-test-double.c): Likewise.
8153 (CFLAGS-test-float.c): Likewise.
8154 (CFLAGS-test-misc.c): Likewise.
8155 (CFLAGS-test-test-fenv.c): Likewise.
8156
4f9d04aa
AZ
81572012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8158
2b942cb7
RM
8159 [BZ #2550]
8160 [BZ #2570]
8161 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8162 comparisons to determine direction to adjust input.
4f9d04aa 8163
82a79e7d
RM
81642012-05-01 Roland McGrath <roland@hack.frob.com>
8165
f5a01ca9
RM
8166 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8167 output to the target.
8168
90fe4186
RM
8169 * scripts/localplt.awk: New file.
8170 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8171 (check-localplt-CFLAGS): Variable removed.
8172 ($(all-built-dso:=.jmprel)): New static pattern rule.
8173 (generated): Add those targets.
8174 (localplt-built-dso): New variable.
8175 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8176
8177 * elf/check-localplt.c: File removed.
8178
82397ed6
RM
8179 * scripts/check-execstack.awk: New file.
8180 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8181 (check-execstack-CFLAGS): Variable removed.
8182 ($(objpfx)check-execstack.h): Target removed.
8183 ($(objpfx)execstack-default): New target.
8184 (generated): Add that instead of check-execstack.h.
8185 ($(all-built-dso:=.phdr)): New static pattern rule.
8186 (generated): Add those targets.
8187 * elf/check-execstack.c: File removed.
8188
82a79e7d
RM
8189 * scripts/check-textrel.awk: New file.
8190 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8191 (check-textrel-CFLAGS): Variable removed.
8192 (all-built-dso): Use := to define.o
8193 ($(all-built-dso:=.dyn)): New static pattern rule.
8194 (generated): Add those targets.
8195 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8196 * config.make.in (READELF): New substituted variable.
8197 * elf/check-textrel.c: File removed.
8198
62fde54f 81992012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 8200
615605c9
JM
8201 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8202 allow.
8203 * conform/data/ctype.h-data [C99-based standards] (isblank):
8204 Expect function.
8205 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8206 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8207 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8208 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8209 Specify type. Require positive value.
8210 (EILSEQ): Likewise.
8211 (ERANGE): Likewise.
8212 [ISO || POSIX] (EILSEQ): Do not expect.
8213 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8214 Specify type. Require positive value.
8215 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8216 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8217 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8218 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8219 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8220 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8221 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8222 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8223 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8224 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8225 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8226 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8227 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8228 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8229 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8230 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8231 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8232 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8233 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8234 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8235 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8236 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8237 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8238 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8239 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8240 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8241 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8242 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8243 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8244 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8245 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8246 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8247 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8248 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8249 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8250 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8251 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8252 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8253 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8254 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8255 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8256 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8257 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8258 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8259 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8260 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8261 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8262 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8263 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8264 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8265 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8266 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8267 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8268 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8269 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8270 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8271 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8272 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8273 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8274 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8275 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8276 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8277 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8278 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8279 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8280 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8281 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8282 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8283 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8284 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8285 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8286 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8287 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8288 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8289 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8290 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8291 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8292 Require >= 2.
8293 (FLT_ROUNDS): Expect as macro, not constant.
8294 (FLT_MANT_DIG): Use macro-int-constant.
8295 (DBL_MANT_DIG): Likewise.
8296 (LDBL_MANT_DIG): Likewise.
8297 (FLT_DIG): Likewise.
8298 (DBL_DIG): Likewise.
8299 (LDBL_DIG): Likewise.
8300 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8301 (DBL_MIN_EXP): Likewise.
8302 (LDBL_MIN_EXP): Likewise.
8303 (FLT_MAX_EXP): Use macro-int-constant.
8304 (DBL_MAX_EXP): Likewise.
8305 (LDBL_MAX_EXP): Likewise.
8306 (FLT_MAX_10_EXP): Likewise.
8307 (DBL_MAX_10_EXP): Likewise.
8308 (LDBL_MAX_10_EXP): Likewise.
8309 (FLT_MAX): Use macro-constant.
8310 (DBL_MAX): Likewise.
8311 (LDBL_MAX): Likewise.
8312 (FLT_EPSILON): Use macro-constant. Give upper bound.
8313 (DBL_EPSILON): Likewise.
8314 (LDBL_EPSILON): Likewise.
8315 (FLT_MIN): Likewise.
8316 (DBL_MIN): Likewise.
8317 (LDBL_MIN): Likewise.
8318 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8319 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8320 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8321 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8322 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8323 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8324 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8325 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8326 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8327 [ISO11] (FLT_TRUE_MIN): Likewise.
8328 [ISO11] (LDBL_TRUE_MIN): Likewise.
8329 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8330 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8331 (SCHAR_MIN): Use macro-int-constant. Specify type.
8332 (SCHAR_MAX): Likewise.
8333 (UCHAR_MAX): Likewise.
8334 (CHAR_MIN): Likewise.
8335 (CHAR_MAX): Likewise.
8336 (MB_LEN_MAX): Use macro-int-constant.
8337 (SHRT_MIN): Use macro-int-constant. Specify type.
8338 (SHRT_MAX): Likewise.
8339 (USHRT_MAX): Likewise.
8340 (INT_MAX): Likewise.
8341 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8342 bound negative.
8343 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8344 bound with "U".
8345 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8346 bound with "L".
8347 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8348 bound negative. Suffix upper bound with "L".
8349 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8350 bound with "UL".
8351 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8352 Specify type.
8353 [C99-based standards] (LLONG_MAX): Likewise.
8354 [C99-based standards] (ULLONG_MAX): Likewise.
8355 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8356 == 0.
8357 [ISO11] (max_align_t): Require type.
8358 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8359
c9140a62
JM
8360 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8361 from $CFLAGS, without defining away __attribute__ calls.
8362 (checknamespace): Use $CFLAGS_namespace.
8363
9af0bf29
JM
8364 * conform/conformtest.pl (@keywords): Only include C99 keywords
8365 for standards based on C99 or C11.
8366
343222a2
JM
8367 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8368 Disable tests.
8369 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8370 UNIX98]: Likewise.
8371
661f8cf0
JM
8372 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8373 usability of symbols in #if.
8374
ee74b9cb
JM
8375 * conform/conformtest.pl: If macro or constant types start
8376 "promoted:", expect the symbol to be of the following type
8377 promoted by the integer promotions.
62fde54f 8378
aafc49b3
JM
8379 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8380 in one place. Also handle "macro-constant".
8381
fefdf574
JM
8382 * conform/conformtest.pl: Only accept expected macro values with
8383 "==". Parse all "macro" lines in one place.
8384 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8385
f2d922fe
JM
8386 * conform/conformtest.pl: Handle braced types on "constant" lines
8387 instead of handling "typed-constant".
8388 * conform/data/signal.h-data: Use "constant" instead of
8389 "typed-constant".
8390
d22956c9
JM
8391 * conform/conformtest.pl: Handle "optional-" at start of lines in
8392 one place rather than duplicating several cases. Handle each
8393 format of "macro" line with initial "optional-".
8394
028e2e38
JM
8395 * conform/conformtest.pl: Only accept expected constant or
8396 optional-constant values with "==". Parse all "constant" lines in
8397 one place. Parse all "optional-constant" lines in one place.
8398 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8399 * conform/data/fmtmsg.h-data: Likewise.
8400 * conform/data/netinet/in.h-data: Likewise.
8401 * conform/data/tar.h-data: Likewise.
8402 * conform/data/limits.h-data: Use "==" form on "constant" and
8403 "optional-constant" lines.
8404
1b8f2850
JM
8405 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8406 Use -std=c99 for XOPEN2K.
8407 (@knownproblems): Remove.
8408 (newtoken): Don't check %isknown.
8409
a05a144b
JM
8410 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8411 Do not expect macro.
8412 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8413 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8414 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8415 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8416 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8417 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8418 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8419 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8420 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8421 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8422 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8423 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8424 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8425 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8426 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8427 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8428 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8429 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8430 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8431 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8432 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8433 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8434 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8435 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8436 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8437 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8438 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8439 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8440 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8441 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8442 [XPG3] (acosh): Likewise.
8443 [XPG3] (asinh): Likewise.
8444 [XPG3] (atanh): Likewise.
8445 [XPG3] (cbrt): Likewise.
8446 [XPG3] (expm1): Likewise.
8447 [XPG3] (ilogb): Likewise.
8448 [XPG3] (log1p): Likewise.
8449 [XPG3] (logb): Likewise.
8450 [XPG3] (nextafter): Likewise.
8451 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8452 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8453 [XPG3] (remainder): Likewise.
8454 [XPG3] (rint): Likewise.
8455 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8456 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8457 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8458 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8459 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8460 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8461 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8462 [UNIX98 || XOPEN2K] (scalb): Expect.
8463 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8464 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8465 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8466 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8467 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8468 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8469 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8470 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8471 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8472 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8473 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8474 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8475 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8476 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8477 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8478 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8479 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8480 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8481 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8482 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8483 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8484 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8485 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8486 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8487 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8488 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8489 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8490 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8491 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8492 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8493 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8494 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8495 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8496 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8497 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8498 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8499 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8500 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8501 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8502 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8503 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8504 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8505 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8506 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8507 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8508 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8509 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8510 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8511 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8512 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8513 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8514 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8515 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8516 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8517 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8518 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8519 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8520 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8521 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8522 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8523 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8524 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8525 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8526 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8527 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8528 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8529 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8530 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8531 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8532 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8533 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8534 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8535 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8536 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8537 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8538 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8539 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8540 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8541 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8542 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8543 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8544 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8545 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8546 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8547 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8548 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8549 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8550 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8551 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8552 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8553 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8554 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8555 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8556 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8557 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8558 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8559 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8560 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8561 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8562 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8563 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8564 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8565 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8566 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8567 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8568 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8569 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8570 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8571 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8572 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8573 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8574 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8575 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8576 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8577 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8578 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8579 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8580 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8581 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8582 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8583 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8584 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8585 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8586 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8587 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8588 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8589 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8590 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8591 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8592 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8593 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8594 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8595 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8596 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8597 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8598 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8599 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8600
73c5ebe3
JM
8601 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8602 _XOPEN_SOURCE_EXTENDED for XPG4.
8603
39c33b6c
JM
8604 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8605
62fde54f
JM
8606 * Makeconfig (localtime): Remove variable.
8607 (inst_localtime-file): Likewise.
8608
0741d64c
AS
86092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8610
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8612 Update.
8613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8614 Update.
8615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8616 Update.
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8618 Update.
8619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8620 Update.
8621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8622 Update.
8623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8624 Update.
8625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8626 Update.
8627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8628 Update.
8629
7cb029ee
JM
86302012-05-01 Joseph Myers <joseph@codesourcery.com>
8631
8632 [BZ #2550]
8633 [BZ #2570]
8634 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8635 comparisons to determine direction to adjust input.
8636 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8637 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8638 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8639 Likewise.
8640 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8641 Likewise.
8642 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8643 Likewise.
8644 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8645 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8646 Likewise.
8647 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8648 Likewise.
8649 * math/libm-test.inc (nexttoward_test): Add more tests.
8650
412bd966
AS
86512012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8652
8653 [BZ #14040]
8654 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8655 in version GLIBC_2.1, not GLIBC_2.0.
8656 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8657 Likewise.
8658
9568c0c2
JM
86592012-04-30 Joseph Myers <joseph@codesourcery.com>
8660
adfbc8ac
JM
8661 [BZ #13942]
8662 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8663 (1 - x) * (1 + x).
8664 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8665 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8666 * math/libm-test.inc (acos_test): Add more tests.
8667 (asin_test): Likewise.
8668 * sysdeps/i386/fpu/libm-test-ulps: Update.
8669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8670
5ba3cc69
JM
8671 [BZ #14034]
8672 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8673 of square root.
8674 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8675 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8676 * math/libm-test.inc (acos_test_tonearest): New function.
8677 (acos_test_towardzero): Likewise.
8678 (acos_test_downward): Likewise.
8679 (acos_test_upward): Likewise.
8680 (asin_test_tonearest): Likewise.
8681 (asin_test_towardzero): Likewise.
8682 (asin_test_downward): Likewise.
8683 (asin_test_upward): Likewise.
8684 (main): Call the new functions.
8685 * sysdeps/i386/fpu/libm-test-ulps: Update.
8686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8687
9568c0c2
JM
8688 [BZ #13884]
8689 [BZ #13924]
8690 * math/e_exp10.c: Include <float.h>.
8691 (__ieee754_exp10): Handle underflow here rather than multiplying
8692 large negative argument by M_LN10.
8693 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8694 of __ieee754_expf.
8695 * math/e_exp10l.c: Include <float.h>.
8696 (__ieee754_exp10l): Handle underflow here rather than multiplying
8697 large negative argument by M_LN10l.
8698 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8699 spurious overflow exception on underflow.
8700
5ac3ea17
MP
87012012-04-29 Marek Polacek <polacek@redhat.com>
8702
8703 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8704 (__fortify_function): New macro.
8705 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8706 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8707 __extern_always_inline.
8708 * libio/bits/stdio2.h: Likewise.
8709 * libio/bits/stdio.h: Likewise.
8710 * string/string.h: Likewise.
8711 * string/bits/string3.h: Likewise.
8712 * include/stdio.h: Likewise.
8713 * stdlib/bits/stdlib.h: Likewise.
8714 * stdlib/stdlib.h: Likewise.
8715 * rt/bits/mqueue2.h: Likewise.
8716 * rt/mqueue.h: Likewise.
8717 * posix/bits/unistd.h: Likewise.
8718 * posix/unistd.h: Likewise.
8719 * io/bits/poll2.h: Likewise.
8720 * io/bits/fcntl2.h: Likewise.
8721 * io/fcntl.h: Likewise.
8722 * io/sys/poll.h: Likewise.
8723 * misc/bits/syslog.h: Likewise.
8724 * misc/bits/syslog-ldbl.h: Likewise.
8725 * misc/sys/syslog.h: Likewise.
8726 * socket/bits/socket2.h: Likewise.
8727 * socket/sys/socket.h: Likewise.
8728 * debug/tst-chk1.c: Likewise.
8729 * wcsmbs/bits/wchar2.h: Likewise.
8730 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8731 * wcsmbs/wchar.h: Likewise.
8732
ecf0ebfb
AJ
87332012-04-29 Andreas Jaeger <aj@suse.de>
8734
8735 * Makerules (tests): Remove enable-check-abi protection.
8736 (check-abi-warn): Remove.
8737 (check-abi-%): Remove check-abi-warn usage.
8738
8739 * configure.in: Remove check-abi configure option.
8740 * configure: Regenerated.
8741 * config.make.in (enable-check-abi): Remove.
8742
6d5c57fa
AS
87432012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8744
24c5d07e 8745 [BZ #14033]
ded5180a
AS
8746 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8747 double functions to double *_finite functions.
8748
7e0d315d
AS
8749 [BZ #13941]
8750 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8751 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8752 LDBL_MIN_EXP.
8753 * stdio-common/Makefile (tests): Add tst-sprintf3.
8754 * stdio-common/tst-sprintf3.c: New file.
8755
6d5c57fa
AS
8756 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8757 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8758
0749ff8b
JM
87592012-04-28 Joseph Myers <joseph@codesourcery.com>
8760
8761 * conform/conformtest.pl: Remove duplicate typed-constant
8762 handling.
8763
8dbd5d7b
DM
87642012-04-28 David S. Miller <davem@davemloft.net>
8765
8766 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8767 (check-abi-%): Remove AWK script prerequisite and explicit
8768 abilist directory.
8769 (check-abi): Rewrite to just diff the symlist with the abilist.
8770 (config-tls, config-abi-config): Delete, no longer used.
8771 (update-abi-%): Remove AWK script and explicit abilist directory.
8772 (update-abi): Rewrite to simply compare and conditionally copy the
8773 symlist and the sysdep abilist file. Remove update-abi-config
8774 checks.
8775 * abilist/ld.abilist: Remove.
8776 * abilist/libBrokenLocale.abilist: Remove.
8777 * abilist/libanl.abilist: Remove.
8778 * abilist/libcrypt.abilist: Remove.
8779 * abilist/libdl.abilist: Remove.
8780 * abilist/librt.abilist: Remove.
8781 * abilist/libthread_db.abilist: Remove.
8782 * abilist/libutil.abilist: Remove.
8783 * scripts/extract-abilist.awk: Remove.
8784 * scripts/merge-abilist.awk: Remove.
8785 * sysdeps/generic/libcidn.abilist: New file.
8786 * sysdeps/generic/libnss_compat.abilist: New file.
8787 * sysdeps/generic/libnss_db.abilist: New file.
8788 * sysdeps/generic/libnss_dns.abilist: New file.
8789 * sysdeps/generic/libnss_files.abilist: New file.
8790 * sysdeps/generic/libnss_hesiod.abilist: New file.
8791 * sysdeps/generic/libnss_nis.abilist: New file.
8792 * sysdeps/generic/libnss_nisplus.abilist: New file.
8793 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8794 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8795 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8796 file.
8797 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8798 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8799 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8800 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8801 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8802 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8803 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8804 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8805 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8806 file.
8807 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8808 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8809 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8810 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8811 file.
8812 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8813 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8814 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8815 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8816 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8817 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8818 file.
8819 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8820 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8821 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8822 file.
8823 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8825 New file.
8826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8827 New file.
8828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8829 New file.
8830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8831 New file.
8832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8833 New file.
8834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8835 New file.
8836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8837 New file.
8838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8839 New file.
8840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8841 New file.
8842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8843 New file.
8844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8845 New file.
8846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8847 New file.
8848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8849 New file.
8850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8851 file.
8852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8853 New file.
8854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8855 New file.
8856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8857 file.
8858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8859 New file.
8860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8861 New file.
8862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8863 file.
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8865 New file.
8866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8867 New file.
8868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8869 New file.
8870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8871 New file.
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8873 New file.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8875 New file.
8876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8878 file.
8879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8880 New file.
8881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8882 file.
8883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8884 file.
8885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8886 file.
8887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8888 file.
8889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8890 file.
8891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8892 New file.
8893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8894 file.
8895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8896 file.
8897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8898 New file.
8899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8900 file.
8901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8903 file.
8904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8905 New file.
8906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8907 file.
8908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8909 file.
8910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8911 file.
8912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8913 file.
8914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8915 file.
8916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8917 New file.
8918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8919 file.
8920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8921 file.
8922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8923 New file.
8924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8925 file.
8926 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8927 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8928 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8929 file.
8930 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8931 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8932 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8933 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8934 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8935 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8936 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8937 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8938 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8939 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8942 file.
8943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8944 New file.
8945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8946 file.
8947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8948 file.
8949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8950 file.
8951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8952 file.
8953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8954 file.
8955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8956 New file.
8957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8958 New file.
8959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8960 file.
8961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8962 New file.
8963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8964 file.
8965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8967 file.
8968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8969 New file.
8970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8971 file.
8972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8973 file.
8974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8975 file.
8976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8977 file.
8978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8979 file.
8980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8981 New file.
8982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8983 New file.
8984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8985 file.
8986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8987 New file.
8988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8989 file.
8990
41d73a1b
JM
89912012-04-28 Joseph Myers <joseph@codesourcery.com>
8992
8993 * conform/conformtest.pl: Fix typo in handling typed-constant from
8994 allow-header.
8995
28aeeda4
JM
89962012-04-27 Joseph Myers <joseph@codesourcery.com>
8997
adae8f5e
JM
8998 * README: Cut down references to pre-2.6 Linux kernels and
8999 Linuxthreads. Update lists of configurations in libc and ports
9000 and sort alphabetically. Say "or newer" with Linux kernel version
9001 requirements.
9002
28aeeda4
JM
9003 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9004
a462cb63
RA
90052012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9006
9007 [BZ #887]
9008 * math/libm-test.inc (logb_test_downward): New test to expose
9009 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9010 rounding mode.
9011
6ad3493e
JM
90122012-04-27 Joseph Myers <joseph@codesourcery.com>
9013
9014 [BZ #14027]
9015 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9016 to be done.
9017 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9018 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9019
2ce4f015
JM
90202012-04-26 Joseph Myers <joseph@codesourcery.com>
9021
5aeb141a
JM
9022 * sysdeps/unix/i386/brk.S: Remove file.
9023 * sysdeps/unix/i386/dl-brk.S: Likewise.
9024 * sysdeps/unix/i386/pipe.S: Likewise.
9025 * sysdeps/unix/i386/sigreturn.S: Likewise.
9026 * sysdeps/unix/i386/syscall.S: Likewise.
9027 * sysdeps/unix/i386/vfork.S: Likewise.
9028 * sysdeps/unix/i386/wait.S: Likewise.
9029
7143acae
JM
9030 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9031 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9032
2ce4f015
JM
9033 * configure.in (arm*-none*): Do not allow without
9034 --enable-hacker-mode.
9035 (netbsd*): Remove case setting base_os.
9036 (386bsd*): Likewise.
9037 (freebsd*): Likewise.
9038 (bsdi*): Likewise.
9039 (osf*): Likewise.
9040 (sunos*): Likewise.
9041 (ultrix*): Likewise.
9042 (newsos*): Likewise.
9043 (dynix*): Likewise.
9044 (*bsd*): Likewise.
9045 (sysv*): Likewise.
9046 (isc*): Likewise.
9047 (esix*): Likewise.
9048 (sco*): Likewise.
9049 (minix*): Likewise.
9050 (irix4*): Likewise.
9051 (irix6*): Likewise.
9052 (solaris[2-9]*): Likewise.
9053 (none): Likewise.
9054 * configure: Regenerated.
9055
0ac229c8
AZ
90562012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9057
9058 [BZ #11521]
9059 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9060 overflow or cancellation in calculating denominator.
9061 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9062 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9063 down expression to avoid unexpected rounding in newer GCCs.
9064 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9065
33f244f4
DM
90662012-04-26 David S. Miller <davem@davemloft.net>
9067
9068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9069 long-double compat symbols.
9070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9083
cfa1f3e8
DM
90842012-04-25 David S. Miller <davem@davemloft.net>
9085
9086 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9087 HWCAP_* values only after the memory barriers have been defined.
9088 (atomic_full_barrier): Define.
9089 (atomic_read_barrier): Define.
9090 (atomic_write_barrier): Define.
9091
6e236b92
SP
90922012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9093
9094 * shlib-versions: Add libgcc_s version information.
9095 * sysdeps/generic/libgcc_s.h: Remove.
9096 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9097 libgcc_s.h.
9098 * sysdeps/gnu/unwind-resume.c: Likewise.
9099 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9100
aab39a09
DM
91012012-04-25 David S. Miller <davem@davemloft.net>
9102
9103 * sysdeps/unix/sparc/brk.S: Delete.
9104 * sysdeps/unix/sparc/dl-brk.S: Delete.
9105 * sysdeps/unix/sparc/pipe.S: Delete.
9106 * sysdeps/unix/sparc/sysdep.S: Delete.
9107 * sysdeps/unix/sparc/sysdep.h: Delete.
9108 * sysdeps/unix/sparc/vfork.S: Delete.
9109 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9110 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9111 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9112 ret_ERRVAL, r0, r1, MOVE): Define.
9113 (JUMPTARGET): Remove.
9114 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9115 sysdeps/unix/sparc/sysdep.h
9116 (ENTRY, END): Remove.
9117 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9118
a3cc4f48
JM
91192012-04-25 Joseph Myers <joseph@codesourcery.com>
9120
2ed8cda2
JM
9121 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9122 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9123 -DIS_IN_build.
9124
35d76d59
JM
9125 * timezone/README: Update upstream location and email address for
9126 tzcode and tzdata.
9127 * timezone/zdump.c: Update from tzcode 2012b.
9128 * timezone/zic.c: Likewise.
9129
a3cc4f48
JM
9130 * configure.in (libc_cv_as_needed): Remove test.
9131 * configure: Regenerated.
9132 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9133 conditional definition.
9134 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9135 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9136 * config.make.in (have-as-needed): Remove variable.
9137
ceab42c3
SP
91382012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9139 Paul Pluzhnikov <ppluzhnikov@google.com>
9140
9141 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9142 strings correctly.
9143
3ce2865f
CLT
91442012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9145
9146 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9147 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9148 * sysdeps/sh/strlen.S: Likewise.
9149
f37e0d68
JM
91502012-04-24 Joseph Myers <joseph@codesourcery.com>
9151
ae186e9a
JM
9152 * sysdeps/unix/fork.S: Remove file.
9153 * sysdeps/unix/i386/fork.S: Likewise.
9154 * sysdeps/unix/sparc/fork.S: Likewise.
9155
b96914af
JM
9156 * sysdeps/unix/system.c: Remove file.
9157 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9158
f37e0d68
JM
9159 * sysdeps/unix/getegid.S: Remove file.
9160 * sysdeps/unix/geteuid.S: Likewise.
9161
87ef29ca
RM
91622012-04-24 Roland McGrath <roland@hack.frob.com>
9163
83bcd236
RM
9164 * scripts/check-localplt.awk: New file.
9165 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9166 of diff.
9167 * scripts/data/localplt-generic.data: Add a comment.
9168
87ef29ca
RM
9169 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9170 NODE when __dir_mkfile failed.
9171 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9172 Reported by Ludovic Courtès <ludo@gnu.org>.
9173
e5a6e567
AJ
91742012-04-24 Andreas Jaeger <aj@suse.de>
9175
9176 * Makerules (common-clean): Also remove gen-as-const-headers
9177 files.
9178
c1820385
JM
91792012-04-24 Joseph Myers <joseph@codesourcery.com>
9180
9181 * Makerules (native-compile): Do not change working directory for
9182 build. Use $(OUTPUT_OPTION) in command.
9183 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9184
94e02fc4
AZ
91852012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9186
9187 [BZ #13886]
9188 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9189 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9190 * math/libm-test.inc (floor_test): Add more tests.
9191 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9192
3a533ca3
JM
91932012-04-24 Joseph Myers <joseph@codesourcery.com>
9194
940ab4b3
JM
9195 * sysdeps/unix/getdents.c: Remove file.
9196 * sysdeps/unix/sysv/getdents.c: Likewise.
9197 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9198
90e037bd
JM
9199 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9200 sysdeps/unix/mman/syscalls.list.
9201 (mmap): Likewise.
9202 (mprotect): Likewise.
9203 (msync): Likewise.
9204 (munmap): Likewise.
9205 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9206 * sysdeps/unix/mman/syscalls.list: Remove.
9207 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9208
3a533ca3
JM
9209 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9210 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9211 * configure: Regenerated.
9212 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9213 $(libgcc_s_suffix).
9214 * config.make.in (libgcc_s_suffix): Remove variable.
9215
1ad743de
JM
92162012-04-23 Joseph Myers <joseph@codesourcery.com>
9217
4ad451e2
JM
9218 * sysdeps/unix/sysv/gethostname.c: Move to ...
9219 * sysdeps/posix/gethostname.c: ... here.
9220
5e37ce39
JM
9221 * sysdeps/unix/execve.S: Remove file.
9222
1ad743de
JM
9223 * sysdeps/unix/_exit.S: Remove file.
9224
4e681b5b
AJ
92252012-04-23 Andreas Jaeger <aj@suse.de>
9226
9227 [BZ #13739]
9228 * manual/Makefile: Remove make dist support, there's no
9229 need for a stand-alone documentation tar ball.
9230 (TEXI2DVI): Define always, it's not in Makeconfig.
9231 (dist): Removed.
9232 (tar-it): Removed.
9233 (edition): Removed.
9234 (glibc-doc-$(edition).tar): Removed
9235 (%.Z): Removed.
9236 (%.gz): Removed.
9237 (%.uu): Removed.
9238 (ETAGS): Remove, it's in Makeconfig.
9239 (move-if-change): Remove, it's in Makeconfig.
9240
c0baea34
PE
92412013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9242
9243 [BZ #13970]
9244 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9245 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9246 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9247 (strtod_l, strtof_l, strtold_l): Remove __wur.
9248 It is not necessarily an error to ignore strtol's return value.
9249 One can reliably look at the stored endptr to decide whether
9250 the number had valid syntax.
9251
7c0616fa
AJ
92522012-04-21 Andreas Jaeger <aj@suse.de>
9253
803cb6b7 9254 [BZ #13739]
7c0616fa
AJ
9255 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9256
b0fe253f
JM
92572012-04-21 Joseph Myers <joseph@codesourcery.com>
9258
9259 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9260 * sysdeps/unix/sysv/Versions: Remove file.
9261
8280f22d
MT
92622012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9263
9264 [BZ #13927]
9265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9266
75ce411f 92672012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
9268
9269 [BZ #7064]
9270 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9271 version from __vm86.
9272
097d59fa
JM
92732012-04-20 Joseph Myers <joseph@codesourcery.com>
9274
a90f3bcb
JM
9275 * sysdeps/unix/common/lxstat.c: Remove file.
9276 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9277
edc7ea78
JM
9278 * sysdeps/unix/sysv/Makefile: Remove file.
9279
cb78c221
JM
9280 * sysdeps/unix/sysv/direct.h: Remove file.
9281
efa6a45f
JM
9282 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9283 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9284 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9285 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9286 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9287 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9288 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9289
9c9f2d0c
JM
9290 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9291
4541c83b
JM
9292 * sysdeps/unix/xmknod.c: Remove file.
9293 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9294
f5d153a0
JM
9295 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9296
aa746595
JM
9297 * sysdeps/unix/sysv/i386/time.S: Remove file.
9298
cce5905e
JM
9299 * sysdeps/unix/fxstat.c: Remove file.
9300 * sysdeps/unix/xstat.c: Likewise.
9301 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9302
37fa3841
JM
9303 * sysdeps/unix/sysv/sigaction.c: Remove file.
9304
ff1962a3
JM
9305 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9306 (sysdep_headers): Remove variable.
9307 [termio.h not in sysdep_headers] (generated): Likewise.
9308 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9309 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9310 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9311 * sysdeps/unix/sysv/tcflow.c: Likewise.
9312 * sysdeps/unix/sysv/tcflush.c: Likewise.
9313 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9314 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9315 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9316 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9317 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9318
e7740d31
JM
9319 * sysdeps/unix/siglist.c: Remove file.
9320
ee06f18b
JM
9321 * sysdeps/unix/getppid.S: Remove file.
9322
097d59fa
JM
9323 * sysdeps/unix/mkdir.c: Remove file.
9324 * sysdeps/unix/rmdir.c: Likewise.
9325
ff3d51ec
AS
93262012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9327
9328 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9329 ERR_MAX value.
9330 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9331 errlist-compat value.
9332
50f81fd7
DM
93332012-04-18 David S. Miller <davem@davemloft.net>
9334
9335 * sysdeps/generic/memcopy.h (reg_char): Delete.
9336 * debug/strcat_chk.c: Use char, not reg_char.
9337 * debug/strcpy_chk.c: Likewise.
9338 * debug/strncat_chk.c: Likewise.
9339 * debug/strncpy_chk.c: Likewise.
9340 * string/memchr.c: Likewise.
9341 * string/memrchr.c: Likewise.
9342 * string/rawmemchr.c: Likewise.
9343 * string/strcat.c: Likewise.
9344 * string/strchr.c: Likewise.
9345 * string/strchrnul.c: Likewise.
9346 * string/strcmp.c: Likewise.
9347 * string/strcpy.c: Likewise.
9348 * string/strncat.c: Likewise.
9349 * string/strncmp.c: Likewise.
9350 * string/strncpy.c: Likewise.
9351
8ff41c46
WS
93522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9353
9354 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9355 __builtin_memcopy is called when src and dest ranges are known to not
9356 overlap.
9357
6b652f46
WS
93582012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9359
9360 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9361 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9362 fwd_align_merge macro call.
9363 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9364 bwd_align_merge macro call.
9365 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9366
b282631e
WS
93672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9368
9369 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9370 bwd_align_merge macros.
9371 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9372 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9373 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9374
95aa737c
DM
93752012-04-18 David S. Miller <davem@davemloft.net>
9376
9377 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9378
7a99a614
AJ
93792012-04-18 Andreas Jaeger <aj@suse.de>
9380
9381 [BZ# 6794]
9382 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9383 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9384 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9385
9386 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9387 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9388 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9389
9390 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9391 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9392 Adjust for changed ldbl-128 files.
9393
9394 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9395 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9396 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9397
e5270c23
DM
93982012-04-17 David S. Miller <davem@davemloft.net>
9399
9400 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9401
fb5e92c9
AS
94022012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9403
9404 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9405 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9406 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9407 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9408 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9409 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9410
76da7265
AZ
94112012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9412
9413 [BZ #6794]
9414 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9415 * math/libm-test.inc: Add ilogb errno and exception tests.
9416 * math/w_ilogb.c: New file: ilogb wrapper.
9417 * math/w_ilogbf.c: New file: ilogbf wrapper.
9418 * math/w_ilogbl.c: New file: ilogbl wrapper.
9419 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9420 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9421 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9422 exception being thrown with 0.0 as argument.
9423 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9424 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9425 exception being thrown with 0.0 as argument.
9426 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9427 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9428 exception being thrown with 0.0 as argument.
9429 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9430 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9431 exception being thrown with 0.0 as argument.
9432 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9433 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 9434 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
9435 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9436 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9437 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9438 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9439 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9440 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9441
0396e69d
PB
94422012-04-17 Petr Baudis <pasky@ucw.cz>
9443
9444 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9445 with altivec.
9446
750b5926
MP
94472012-04-16 Marek Polacek <polacek@redhat.com>
9448
9449 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9450
751728a1
MP
94512012-04-16 Marek Polacek <polacek@redhat.com>
9452
9453 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9454 operands of fdivp instruction.
9455
34a27407
L
94562012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9457
9458 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9459 * elf/tst-auditmod3b.c: Likewise.
9460 * elf/tst-auditmod4b.c: Likewise.
9461 * elf/tst-auditmod5b.c: Likewise.
9462 * elf/tst-auditmod6b.c: Likewise.
9463 * elf/tst-auditmod6c.c: Likewise.
9464 * elf/tst-auditmod7b.c: Likewise.
9465 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9466 * sysdeps/x86_64/preconfigure.in: Likewise.
9467 * sysdeps/x86_64/preconfigure: Regenerated.
9468
7e73e17d
L
94692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9470
9471 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9472 __ILP32__.
9473
c7a6ab72
AB
94742012-04-13 Antoine Balestrat <merkil33@gmail.com>
9475
9476 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9477 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9478
a9e8e0e0
CL
94792012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9480
9481 [BZ #13973]
9482 * locale/iso-639.def: Fix gl language name. Spotted by
9483 Yaron Shahrabani.
9484
ec98af7d
RM
94852012-04-12 Roland McGrath <roland@hack.frob.com>
9486
9487 [BZ #2074]
9488 * libio/libio.h (__io_write_fn): Update comment.
9489
247c3ede
PB
94902012-04-12 Petr Baudis <pasky@ucw.cz>
9491
9492 [BZ #2074]
9493 * stdio.texi (Hook Functions): The user provided writer function
9494 is not allowed to return -1.
9495
55939d6d
DM
94962012-04-11 David S. Miller <davem@davemloft.net>
9497
9498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9499
90020f5a
MF
95002012-04-11 Mike Frysinger <vapier@gentoo.org>
9501
9502 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9503 Add a leading slash to rtkaio.
9504
288f9098
JM
95052012-04-11 Jim Meyering <meyering@redhat.com>
9506
90020f5a
MF
9507 [BZ #11959]
9508 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9509 It is not necessarily an error to ignore fwrite's return
9510 value. One can reliably use ferror to test for errors after
9511 the fact.
288f9098 9512
4be2b570
L
95132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9514
9515 * bits/types.h (__snseconds_t): New type.
9516 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9517
9518 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9519 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9520 (__SNSECONDS_T_TYPE): Likewise.
9521 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9522 (__SNSECONDS_T_TYPE): Likewise.
9523 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9524 (__SNSECONDS_T_TYPE): Likewise.
9525
288f9098 95262012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9527
9528 [BZ #2636]
9529 * manual/time.texi (Processor Time): Return type of times is
9530 elapsed real time since an arbitrary point in the past.
9531 (CPU Time): Move CLK_TCK from here...
9532 (Processor Time): ...to here. Correct description.
9533 * manual/conf.texi (Constants for Sysconf): Correct description of
9534 _SC_CLK_TCK.
9535
d7dd4413
DM
95362012-04-10 David S. Miller <davem@davemloft.net>
9537
9538 [BZ #13967]
9539 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9540 where the is a gap between DT_REL(A) and DT_JMPREL.
9541
b46068fc
L
95422012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9543
9544 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9545 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9546 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9547
73d65cc3
SP
95482012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9549
9550 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9551 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9552 (dl_main): Handle --inhibit-cache.
9553 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9554 _dl_inhibit_cache.
9555 * elf/dl-load.c (_dl_map_object): Use it.
9556 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9557
bcc8d661
JM
95582012-04-09 Joseph Myers <joseph@codesourcery.com>
9559
8f9a2fae
JM
9560 [BZ #13872]
9561 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9562 (__ieee754_powl): Saturate large exponents rather than testing for
9563 overflow of y*log2(x).
9564 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9565 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9566 exceptions.
9567
bcc8d661
JM
9568 [BZ #11521]
9569 * math/s_ctan.c: Include <float.h>.
9570 (__ctan): Avoid internal overflow or cancellation in calculating
9571 denominator.
9572 * math/s_ctanf.c: Likewise.
9573 * math/s_ctanl.c: Likewise.
9574 * math/s_ctanh.c: Likewise.
9575 * math/s_ctanhf.c: Likewise.
9576 * math/s_ctanhl.c: Likewise.
9577 * math/libm-test.inc (ctan_test): Add more tests.
9578 (ctanh_test): Likewise.
9579 * sysdeps/i386/fpu/libm-test-ulps: Update.
9580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9581
823fbbb4
AJ
95822012-04-09 Andreas Jaeger <aj@suse.de>
9583
03879793
AJ
9584 [BZ #6894]
9585 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9586 is an optional BSD extension.
9587
823fbbb4
AJ
9588 [BZ #10254]
9589 * manual/stdio.texi (Opening Streams): Document additional fopen
9590 parameters.
9591
8de131cb
RM
95922012-04-09 Roland McGrath <roland@hack.frob.com>
9593
9594 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9595 %eax without telling the compiler.
9596
c0ed9d7d
CD
95972012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9598
9599 [BZ # 13963]
9600 * manual/install.texi: Use sourceware.org.
9601
c483f6b4
JM
96022012-04-09 Joseph Myers <joseph@codesourcery.com>
9603
d7dd9453
JM
9604 [BZ #13873]
9605 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9606 (__ieee754_pow): Generate overflow and underflow using huge*huge
9607 and tiny*tiny rather than just returning constant infinity or zero
9608 for large exponents.
9609 * math/libm-test.inc (pow_test): Require overflow exceptions for
9610 applicable cases of large exponents.
9611
c483f6b4
JM
9612 [BZ #706]
9613 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9614 (__ieee754_pow): Use iterative multiplication algorithm only for
9615 integer exponents with absolute value below 1024. Check for odd
9616 integer exponents when using algorithm for real exponents.
9617 * math/libm-test.inc (pow_test): Add more tests.
9618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9619
d2de7579
JM
96202012-04-08 Joseph Myers <joseph@codesourcery.com>
9621
9622 [BZ #13705]
9623 * math/libm-test.inc (exp_test): Do not allow overflow exception
9624 on underflow test.
9625
f77f1232
AJ
96262012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9627
9628 [BZ #13705]
9629 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9630 instead of __kernel_standard_f.
9631
3884932b
MF
96322012-04-08 Mike Frysinger <vapier@gentoo.org>
9633
9634 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9635 * sysdeps/x86_64/memset_chk.S: Likewise.
9636
54472e9c
AJ
96372012-04-08 Andreas Jaeger <aj@suse.de>
9638
6ab0fbfc
AJ
9639 [BZ #10153]
9640 * manual/startup.texi (Environment Access): Describe return value
9641 for putenv and setenv.
9642
61efba8c
AJ
9643 [BZ #6895]
9644 * manual/filesys.texi (Directory Entries): Add description for
9645 DT_LNK.
9646
95c3f29a
AJ
9647 [BZ #6890]
9648 * manual/filesys.texi (Directory Entries): Clarify that it's file
9649 system not operating system in the description of DT_UNKNOWN.
9650
54472e9c
AJ
9651 [BZ #6578]
9652 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9653
624254b1
SC
96542012-04-08 Stephen Compall <s11@member.fsf.org>
9655
9656 [BZ #6649]
9657 * manual/llio.texi (Opening and Closing Files): Add cross
9658 reference to explain mode argument.
9659
1e4920e0
MF
96602012-04-07 Mike Frysinger <vapier@gentoo.org>
9661
9662 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9663 * sysdeps/x86_64/memset_chk.S: Likewise.
9664
5ed848f3
DM
96652012-04-07 David S. Miller <davem@davemloft.net>
9666
9667 * elf/elf.h (R_SPARC_WDISP10): Define.
9668 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9669 R_SPARC_SIZE32.
9670 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9671 R_SPARC_SIZE64 and R_SPARC_H34.
9672
96154cd8
CD
96732012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9674
9675 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9676 conditions and remove no longer applicable assertion.
9677
9904dc47
L
96782012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9679
9680 * bits/byteswap.h: Include <features.h>.
9681 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9682 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9683
f8887d0a
L
96842012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9685
9686 * bits/byteswap.h (__bswap_16): Removed.
9687 Include <bits/byteswap-16.h> to get __bswap_16.
9688 * sysdeps/i386/bits/byteswap.h: Likewise.
9689 * sysdeps/s390/bits/byteswap.h: Likewise.
9690 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9691 * bits/byteswap-16.h: New file.
9692 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9693 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9694 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9695 * string/Makefile (headers): Add bits/byteswap-16.h.
9696
62470f60
PP
96972012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9698
9699 [BZ #13895]
9700 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9701 extra indirection.
9702 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9703 * nss/tst-nss-static.c: New.
9704
4dad7bab
RM
97052012-04-06 Robert Millan <rmh@gnu.org>
9706
9707 [BZ #6486]
9708 * manual/llio.texi (File Position Primitive): lseek
9709 refers to WHENCE when it really means OFFSET.
9710
e9142a17
AJ
97112012-04-06 Andreas Jaeger <aj@suse.de>
9712
2c040eff
AJ
9713 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9714 strncmp declarations.
9715
e9142a17
AJ
9716 * abilist/libc.abilist: Add __poll and __ppoll.
9717
ff9f1c5f
DM
97182012-04-05 David S. Miller <davem@davemloft.net>
9719
dcd2ae90
DM
9720 * scripts/check-local-headers.sh: Accept a host triplet in the
9721 path matched by the exclude regexp.
9722
993eb054
DM
9723 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9724 definition.
9725 * sysdeps/powerpc/powerpc32/dl-machine.h
9726 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9727 * sysdeps/s390/s390-32/dl-machine.h
9728 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9729 * sysdeps/sparc/sparc32/dl-machine.h
9730 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9731 * sysdeps/sparc/sparc64/dl-machine.h
9732 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9733
ff9f1c5f
DM
9734 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9735 lazy binding.
48e2e132 9736 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9737 undefined symbol errors.
9738
48e2e132 9739 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9740 DT_NEEDED entries.
9741
e80d6f94
MM
97422012-04-05 Michael Matz <matz@suse.de>
9743
9744 [BZ #13592]
9745 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9746
349fa79f
AJ
97472012-04-05 Andreas Jaeger <aj@suse.de>
9748
9749 [BZ #13908]
9750 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9751 comment.
9752
f402708f
KK
97532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9754
9755 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9756 which ROUND is no valid rounding mode.
9757
2ecccfc9
KK
97582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9759
9760 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9761 read again.
9762 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9763
8a53f50f
KK
97642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9765
9766 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9767 an exception using FPU order intentionally.
9768
97692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9770
9771 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9772 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9773 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9774 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9775
d653abb7
SJ
97762012-04-05 Simon Josefsson <simon@josefsson.org>
9777
9778 [BZ #12340]
9779 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9780 EINVAL when BUFLEN is too smal.
9781
c3b1bf7d
TS
97822012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9783
9784 [BZ #13553]
9785 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9786 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9787
b1aa60f3
AJ
97882012-04-03 Andreas Jaeger <aj@suse.de>
9789
c3b1bf7d 9790 [BZ #13938]
67f60a26
AJ
9791 * manual/setjmp.texi (System V contexts): Fix sentence.
9792
b1aa60f3
AJ
9793 [BZ #13926]
9794 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9795 New macro for this case.
9796 [!__GNUC__] (__bswap_64): New inline function for this case.
9797 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9798 * bits/byteswap.h: Likewise.
9799 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9800 ull, guard with __GLIBC_HAVE_LONG_LONG.
9801
9802 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9803 __GLIBC_HAVE_LONG_LONG.
9804
9805 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9806 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9807
39c59c35
TMQMF
98082012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9809
9810 [BZ #13691]
9811 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9812 inptr and inend, rather than using last_ch.
9813
135ffda8
DM
98142012-04-02 David S. Miller <davem@davemloft.net>
9815
9816 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9817 * stdio-common/printf-parse.h (read_int): Change return type to
9818 'int', return -1 on INT_MAX overflow.
9819 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9820 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9821 overflows INT_MAX. Check for overflow of in-format-string precision
9822 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9823 SIZE_MAX not INT_MAX for integer overflow test.
9824 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9825 skip the construct in the format string but do not record anything.
9826 * stdio-common/bug22.c: Adjust to test both width/prevision
9827 INT_MAX overflow as well as total length INT_MAX overflow. Check
9828 explicitly for proper errno values.
9829
228c019e
TS
98302012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9831
302cadd3
TS
9832 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9833 CHAR_MAX.
9834 * string/test-strcmp.c [! WIDE]: Likewise.
9835 * time/tst-mktime2.c: Likewise for INT_MAX.
9836 * string/test-string.h: #include <sys/param.h> for MIN.
9837
228c019e
TS
9838 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9839 * sysdeps/i386/init-first.c (init): Likewise.
9840 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9841 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9842 * sysdeps/sh/init-first.c (init): Likewise.
9843
cfa633f5
UD
98442012-04-01 Ulrich Drepper <drepper@gmail.com>
9845
9846 * po/ru.po: Update from translation team.
d1635ef8 9847 * po/vi.po: Likewise.
cfa633f5 9848
6cd0a5ea
SP
98492012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9850
9851 * resolv/nss_dns/dns-host.c: Merge copyright years.
9852
4b43400f
LD
98532012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9854
9855 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9856 Optimize memcpy with prefetch if
9857 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9858 src, dst pointers have unequal 16 byte alignments.
9859
48c41d04
SP
98602012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9861
9862 [BZ #13928]
9863 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9864 from a CNAME entry and return the minimum ttl for the query.
9865 (gaih_getanswer_slice): Likewise.
9866
b8dc394d
JL
98672012-03-30 Jeff Law <law@redhat.com>
9868
9869 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9870 due to long keys.
9871 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9872 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9873
2f5a5ed0
JL
9874 * resolv/nss_dns/dns-host.c: Update copyright year.
9875
1d39e359
UD
98762012-03-30 Ulrich Drepper <drepper@gmail.com>
9877
c030f70c 9878 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9879 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9880
1d39e359
UD
9881 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9882 comments for sendmmsg.
9883
98842012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9885
9886 [BZ #13691]
9887 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9888 with only 1 character between 0x0041 and 0x01b0.
9889 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9890 * wcsmbs/tst-mbsnrtowcs.c: New file.
9891
20fde227
DM
98922012-03-29 David S. Miller <davem@davemloft.net>
9893
9894 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9895 small copies by hand.
9896
984a4237
JL
98972012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9898
9899 [BZ #13761]
9900 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9901 _nss_compat_initgroups_dyn): Fall back to malloc/free
9902 for large group memberships.
9903
18c9d62b
DM
99042012-03-28 David S. Miller <davem@davemloft.net>
9905
88d85d4f
DM
9906 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9907 that branches into memcpy.
9908 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9909 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9910 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9911 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9912 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9913 bits.
9914 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9915 implementation too.
9916 * sysdeps/sparc/mempcpy.S: New file.
9917
e5aa83e1
DM
9918 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9919 the IFUNC routine in the libc case.
9920 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9921
88570753
DM
9922 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9923 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9924 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9925 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9926 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9927 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9928 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9929 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9930
249d7567
DM
9931 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9932 loop to 256 bytes instead of 64 bytes and fix test signedness.
9933
18c9d62b
DM
9934 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9935 * sysdeps/sparc/sparc32/Makefile: rather than here...
9936 * sysdeps/sparc/sparc64/Makefile: and here.
9937
05f3d1f6
UD
99382012-03-28 Ulrich Drepper <drepper@gmail.com>
9939
9940 * malloc/mallocbug.c: Avoid warnings about unused variables.
9941
86ae07a8
JL
99422012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9943
9944 [BZ #13760]
9945 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9946 in the right place. Discard and retry query if response is
9947 larger than input buffer size.
9948
41bf21a1
JM
99492012-03-28 Joseph Myers <joseph@codesourcery.com>
9950
d6270972
JM
9951 [BZ #369]
9952 [BZ #2678]
9953 [BZ #3866]
9954 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9955 x for large integer exponent.
9956 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9957 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9958 sign of result as needed afterwards.
9959 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9960 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9961 result for underflowing pow the same as for overflow.
9962 (__kernel_standard_l): Handle powl overflow and underflow here
9963 rather than calling __kernel_standard.
9964 * math/libm-test.inc (pow_test): Add more tests.
9965
414fca03 9966 [BZ #3868]
41bf21a1
JM
9967 [BZ #13879]
9968 [BZ #13910]
9969 [BZ #13911]
9970 [BZ #13912]
9971 [BZ #13913]
9972 [BZ #13915]
9973 [BZ #13916]
9974 [BZ #13917]
9975 [BZ #13918]
9976 [BZ #13919]
9977 [BZ #13920]
9978 [BZ #13921]
9979 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9980 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9981 (__kernel_standard_l): New function.
9982 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9983 __kernel_standard.
9984 * math/w_acosl.c (__acosl): Likewise.
9985 * math/w_asinl.c (__asinl): Likewise.
9986 * math/w_atan2l.c (__atan2l): Likewise.
9987 * math/w_atanhl.c (__atanhl): Likewise.
9988 * math/w_coshl.c (__coshl): Likewise.
9989 * math/w_exp10l.c (__exp10l): Likewise.
9990 * math/w_exp2l.c (__exp2l): Likewise.
9991 * math/w_fmodl.c (__fmodl): Likewise.
9992 * math/w_hypotl.c (__hypotl): Likewise.
9993 * math/w_j0l.c (__j0l, __y0l): Likewise.
9994 * math/w_j1l.c (__j1l, __y1l): Likewise.
9995 * math/w_jnl.c (__jnl, __ynl): Likewise.
9996 * math/w_lgammal.c (__lgammal): Likewise.
9997 * math/w_log10l.c (__log10l): Likewise.
9998 * math/w_log2l.c (__log2l): Likewise.
9999 * math/w_logl.c (__logl): Likewise.
10000 * math/w_powl.c (__powl): Likewise.
10001 * math/w_remainderl.c (__remainderl): Likewise.
10002 * math/w_scalbl.c (sysv_scalbl): Likewise.
10003 * math/w_sinhl.c (__sinhl): Likewise.
10004 * math/w_sqrtl.c (__sqrtl): Likewise.
10005 * math/w_tgammal.c (__tgammal): Likewise.
10006 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10007 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10008 * math/libm-test.inc (acos_test): Add more tests.
10009 (acosh_test): Likewise.
10010 (asin_test): Likewise.
10011 (atanh_test): Likewise.
10012 (exp_test): Likewise.
10013 (exp10_test): Likewise.
10014 (exp2_test): Likewise.
10015 (expm1_test): Likewise.
10016 (lgamma_test): Likewise.
10017 (log_test): Likewise.
10018 (log10_test): Likewise.
10019 (log1p_test): Likewise.
10020 (log2_test): Likewise.
10021 (pow_test): Do not allow some spurious overflow exceptions.
10022 (sqrt_test): Add more tests.
10023 (tgamma_test): Likewise.
10024 (y0_test): Likewise.
10025 (y1_test): Likewise.
10026 (yn_test): Likewise.
10027
dd62fda6
AB
100282012-03-27 Anton Blanchard <anton@samba.org>
10029
10030 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10031 MAP_HUGETLB.
10032 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10033 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10034 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10035
1e3cdfda
AJ
100362012-03-27 David S. Miller <davem@davemloft.net>
10037
b855ab85
DM
10038 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10039
1e3cdfda
AJ
10040 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10041 have-as-vis3 check.
10042
100432012-03-27 Andreas Jaeger <aj@suse.de>
10044
10045 * sysdeps/x86_64/elf/configure.in: Moved to ...
10046 * sysdeps/x86_64/configure.in: ... here.
10047 * sysdeps/x86_64/elf/start.S: Moved to ...
10048 * sysdeps/x86_64/start.S: ... here.
10049 * sysdeps/x86_64/elf/configure: Delete.
10050
10051 * sysdeps/x86_64/configure.in: Merge contents from
10052 sysdeps/i386/configure.in (without i686 check).
10053
10054 * sysdeps/i386/elf/Versions: Merge into ...
10055 * sysdeps/i386/Versions: ... this.
10056 * sysdeps/i386/elf/Versions: Delete file.
10057 * sysdeps/i386/elf/start.S: Moved to ...
10058 * sysdeps/i386/start.S: ...here.
10059 * sysdeps/i386/elf/configure.in: Merge into...
10060 * sysdeps/i386/configure.in: ...here.
10061 * sysdeps/i386/elf/configure.in: Delete file.
10062 * sysdeps/i386/elf/configure: Delete file.
10063
10064 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10065 * debug/backtracesyms.c: ... here.
10066 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10067 * debug/backtracesymsfd.c: ... here.
10068 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10069 * sysdeps/generic/ifunc-sel.h: ... here.
10070
10071 * sysdeps/unix/i386/start.c: Delete file.
10072 * sysdeps/unix/sparc/start.c: Delete file.
10073 * sysdeps/unix/start.c: Delete file.
10074
10075 * sysdeps/sh/elf/configure.in: Moved to ...
10076 * sysdeps/sh/configure.in: ... here.
10077 * sysdeps/sh/elf/start.S: Moved to ...
10078 * sysdeps/sh/start.S: ... here.
10079 * sysdeps/sh/elf/configure: Delete file.
10080
10081 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10082 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10083 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10084 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10085 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10086 * sysdeps/powerpc/powerpc64/start.S: here.
10087 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10088 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10089 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10090 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10091 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10092
10093 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10094 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10095 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10096 * sysdeps/powerpc/powerpc32/start.S: ... here.
10097 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10098 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10099 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10100
10101 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10102 * sysdeps/powerpc/ifunc-sel.h: ... here.
10103 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10104 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10105
10106 * sysdeps/sparc/elf/configure.in: Moved to ...
10107 * sysdeps/sparc/configure.in: ... here.
10108 * sysdeps/sparc/elf/configure: Delete file.
10109 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10110 * sysdeps/sparc/sparc32/start.S: ... here.
10111 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10112 * sysdeps/sparc/sparc64/start.S: ... here.
10113 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10114 * sysdeps/sparc/sparc32/Makefile: ... this.
10115 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10116 * sysdeps/sparc/sparc64/Makefile: ... this.
10117
10118 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10119 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10120 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10121 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10122 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10123 * sysdeps/s390/s390-32/setjmp.S: ... here.
10124 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10125 * sysdeps/s390/s390-32/configure.in: ... here.
10126 * sysdeps/s390/s390-32/elf/configure: Delete file.
10127 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10128 * sysdeps/s390/s390-32/start.S: ... here.
10129
10130 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10131 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10132 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10133 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10134 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10135 * sysdeps/s390/s390-64/setjmp.S: ... here.
10136 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10137 * sysdeps/s390/s390-64/configure.in: ... here
10138 * sysdeps/s390/s390-64/elf/configure: Delete file.
10139 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10140 * sysdeps/s390/s390-64/start.S: ... here.
10141 * sysdeps/s390/s390-64/elf/configure: Delete.
10142
10143 * configure.in: Remove support for elf directories in sysdeps.
10144
10145 * configure: Regenerated.
10146 * sysdeps/i386/configure: Regenerated.
10147 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10148 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10149 * sysdeps/s390/s390-32/configure: Regenerated.
10150 * sysdeps/s390/s390-64/configure: Regenerated.
10151 * sysdeps/sh/configure: Regenerated.
10152 * sysdeps/sparc/configure: Regenerated.
10153 * sysdeps/x86_64/configure: Regenerated.
10154
a3f61311
AS
101552012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10156
c876e002
AS
10157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10158
a3f61311
AS
10159 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10160 denormal result into account.
10161
ac4c54f0
RM
101622012-03-25 Roland McGrath <roland@hack.frob.com>
10163
10164 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10165 Reported by Allan McRae <allan@archlinux.org>.
10166
6a9b9c02
JL
101672012-03-23 Jeff Law <law@redhat.com>
10168
10169 * nss/getnssent.c (__nss_getent): Fix typo.
10170
4c42a0c1
DM
101712012-03-23 David S. Miller <davem@davemloft.net>
10172
10173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10174
1532c7ac
L
101752012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10176
10177 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10178 to pad to uint64_t for each field.
10179 (dl_tls_index): Replace unsigned long with uint64_t.
10180
3ff42526
PP
101812012-03-23 Daniel Jacobowitz <dmj@google.com>
10182 Paul Pluzhnikov <ppluzhnikov@google.com>
10183
10184 [BZ #6528]
10185 * grp/Makefile (otherlibs): Don't set it.
10186 * inet/Makefile (otherlibs): Likewise.
10187 * login/Makefile (otherlibs): Likewise.
10188 * nscd/Makefile (otherlibs): Likewise.
10189 * posix/Makefile (otherlibs): Likewise.
10190 * pwd/Makefile (otherlibs): Likewise.
10191 * rt/Makefile (otherlibs): Likewise.
10192 * sunrpc/Makefile (otherlibs): Likewise.
10193 * nss/Makefile (otherlibs): Likewise.
10194 Add libnss_files to routines and static-only-routines.
10195 ($(objpfx)getent): Remove rule.
10196 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10197 static-only-routines.
10198
7c69cd14
JM
101992012-03-22 Joseph Myers <joseph@codesourcery.com>
10200
10201 [BZ #13892]
10202 * math/s_cexp.c: Include <float.h>.
10203 (__cexp): Handle exp result overflowing not necessarily
10204 overflowing both real and imaginary parts of result.
10205 * math/s_cexpf.c: Likewise.
10206 * math/s_cexpl.c: Likewise.
10207 * math/libm-test.inc (cexp_test): Add more tests.
10208 * sysdeps/i386/fpu/libm-test-ulps: Update.
10209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10210
81b035fe
L
102112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10212
10213 * include/link.h (ELFW): New macro.
10214 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10215 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10216
1da7940c
L
102172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10218
10219 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10220 with uint64_t.
10221
b749dbb9
L
102222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10223
10224 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10225 declaration.
10226 (struct La_x32_retval): Likewise.
10227
2ff87f3f
L
102282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10229
10230 * sysdeps/x86_64/preconfigure.in: New file.
10231 * sysdeps/x86_64/preconfigure: New generated file.
10232
c0df8e69
JM
102332012-03-22 Joseph Myers <joseph@codesourcery.com>
10234
48e44791
JM
10235 [BZ #13824]
10236 * math/e_exp2l.c: Include <float.h>.
10237 (__ieee754_exp2l): Handle overflow and underflow cases
10238 separately. Only pass fractional part of argument to
10239 __ieee754_expl.
10240 * math/libm-test.inc (exp2_test): Add more tests.
10241
c0df8e69
JM
10242 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10243 negating x to take absolute value.
10244 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10245 Likewise.
10246 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10247 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10248 Likewise.
10249 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10250 computing low part if x was negated.
10251 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10252
c8e43ba7
L
102532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10254
10255 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10256 la_x32_gnu_pltexit.
10257 (pltexit): Cast int_retval to ptrdiff_t.
10258 * elf/tst-auditmod3b.c: Likewise.
10259 * elf/tst-auditmod4b.c: Likewise.
10260 * elf/tst-auditmod5b.c: Likewise.
10261 * elf/tst-auditmod6b.c: Likewise.
10262 * elf/tst-auditmod6c.c: Likewise.
10263 * elf/tst-auditmod7b.c: Likewise.
10264
10265 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10266 and x32_gnu_pltexit.
10267
10268 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10269 __ELF_NATIVE_CLASS.
10270 (La_x32_regs): New macro.
10271 (La_x32_retval): Likewise.
10272 (la_x32_gnu_pltenter): New function prototype.
10273 (la_x32_gnu_pltexit): Likewise.
10274
7998fa78
AS
102752012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10276
dcb33988
AS
10277 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10278 exponent.
10279
233fc563
AS
10280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10281
7998fa78
AS
10282 * configure.in (libc_cv_cc_nofma): Check for option to disable
10283 generation of FMA instructions.
10284 * configure: Regenerate.
10285 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10286 * sysdeps/ieee754/dbl-64/Makefile: New file.
10287 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10288 Remove brandred-fma4.
10289 (CFLAGS-brandred-fma4.c): Remove.
10290 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10291 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10292 define.
10293 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10294 define.
10295
8e95c99a
L
102962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10297
10298 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10299 LLONG_MAX != LONG_MAX.
10300 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10301 (_fitoa_word): Likewise.
10302 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10303 LLONG_MAX != LONG_MAX.
10304 * stdio-common/_itowa.h: Include <_itoa.h>.
10305 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10306 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10307 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10308 only if not defined.
10309 (_ITOA_WORD_TYPE): Likewise.
10310 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10311 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10312
6f4db457
DM
103132012-03-21 David S. Miller <davem@davemloft.net>
10314
10315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10316
7785fe5a
L
103172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10318
10319 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10320 of x86_64 when setting libc_cv_slibdir, libdir and
10321 libc_cv_localedir.
10322 * sysdeps/unix/sysv/linux/configure: Regenerated.
10323
4535cd55
JM
103242012-03-21 Joseph Myers <joseph@codesourcery.com>
10325
10326 * manual/lang.texi (Old Varargs): Remove section.
10327 (How Variadic): Update menu.
10328 (va_start): Do not mention varargs.h.
10329
17228132
TS
103302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10331 Joseph Myers <joseph@codesourcery.com>
10332
10333 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10334 link test.
10335 * configure: Regenerated.
10336
8149f976
TS
103372012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10338
05f3d1f6
UD
10339 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10340 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10341 conformtest.pl
8149f976 10342
1a4ac776
JM
103432012-03-21 Joseph Myers <joseph@codesourcery.com>
10344
be22ce65
JM
10345 * NOTES: Remove.
10346 * Makefile (files-for-dist): Remove NOTES.
10347 (NOTES): Remove rule.
10348 * README: Don't refer to NOTES.
10349 * manual/creature.texi: Don't include macros.texi.
10350 * manual/intro.texi (creature.texi): Remove comment referring to
10351 NOTES.
10352
40b601fb
JM
10353 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10354 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10355 * configure: Regenerated.
10356 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10357 LIBC_TRY_CC_OPTION.
10358 (libc_cv_as_i686): Likewise.
10359 (libc_cv_cc_avx): Likewise.
10360 (libc_cv_cc_sse2avx): Likewise.
10361 (libc_cv_cc_fma4): Likewise.
10362 (libc_cv_cc_novzeroupper): Likewise.
10363 * sysdeps/i386/configure: Regenerated.
10364
1a4ac776
JM
10365 [BZ #13883]
10366 * sysdeps/i386/fpu/s_cexp.S: Remove.
10367 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10368 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10369 * math/libm-test.inc (cexp_test): Add more tests.
10370 * sysdeps/i386/fpu/libm-test-ulps: Update.
10371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10372
a458e7fe
AM
103732012-03-21 Allan McRae <allan@archlinux.org>
10374
10375 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10376
0cb7efc5
JM
103772012-03-21 Joseph Myers <joseph@codesourcery.com>
10378
10379 [BZ #13871]
10380 * math/w_exp2.c: Do not include <float.h>.
10381 (o_threshold, u_threshold): Remove.
10382 (__exp2): Calculate result before checking finiteness and calling
10383 __kernel_standard.
10384 * math/w_exp2f.c: Likewise.
10385 * math/w_exp2l.c: Likewise.
10386 * math/libm-test.inc (exp2_test): Require overflow exception for
10387 1e6 input.
2460d3aa
JM
10388
10389 [BZ #3866]
10390 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10391 range of signed 64-bit integers before using fistpll. Remove
10392 checks for whether integers fit in mantissa bits.
10393 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10394 the range of signed 32-bit integers before using fistpl. Remove
10395 checks for whether integers fit in mantissa bits.
10396 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10397 (__ieee754_powl): Test for y outside the range of signed 64-bit
10398 integers before using fistpll. Reduce 64-bit values to 63-bit
10399 ones as needed.
10400 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10401 divide-by-zero is raised for zero to large negative powers.
10402 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10403 (__ieee754_powl): Test for y outside the range of signed 64-bit
10404 integers before using fistpll. Reduce 64-bit values to 63-bit
10405 ones as needed.
10406 * math/libm-test.inc (pow_test): Add more tests.
10407
eb96ffb0
L
104082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10409
10410 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10411 <stdio-common/_itoa.h>.
10412 * debug/segfault.c: Likewise.
10413 * elf/dl-cache.c: Likewise.
10414 * elf/dl-minimal.c: Likewise.
10415 * elf/dl-misc.c: Likewise.
10416 * elf/dl-sysdep.c: Likewise.
10417 * elf/dl-version.c: Likewise.
10418 * elf/rtld.c: Likewise.
10419 * hurd/hurdsock.c: Likewise.
10420 * hurd/lookup-retry.c: Likewise.
10421 * malloc/malloc.c: Likewise.
10422 * malloc/mtrace.c: Likewise.
10423 * nscd/nscd_getgr_r.c: Likewise.
10424 * nscd/nscd_getpw_r.c: Likewise.
10425 * nscd/nscd_getserv_r.c: Likewise.
10426 * posix/getopt_init.c: Likewise.
10427 * posix/wordexp.c: Likewise.
10428 * stdio-common/_itoa.c: Likewise.
10429 * stdio-common/printf_fphex.c: Likewise.
10430 * stdio-common/vfprintf.c: Likewise.
10431 * string/_strerror.c: Likewise.
10432 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10433 * sysdeps/i386/i686/hp-timing.h: Likewise.
10434 * sysdeps/mach/_strerror.c: Likewise.
10435 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10436 * sysdeps/mach/hurd/sethostid.c: Likewise.
10437 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10438 * sysdeps/mach/xpg-strerror.c: Likewise.
10439 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10440 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10441 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10442 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10443 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10444 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10445 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10446 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10447 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10448 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10449 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10450 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10451 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10452 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10453 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10454 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10455 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10456 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10457 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10458 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10459 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10460
10461 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10462
10463 * stdio-common/_itoa.h: Moved to ...
10464 * sysdeps/generic/_itoa.h: Here.
10465
10466 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10467
10468 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10469 instead of "_itoa.h" and "_itowa.h".
10470 * stdio-common/vfprintf.: Likewise.
10471
d1af992d
L
104722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10473
10474 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10475 <bits/wordsize.h>.
10476 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10477 (__signbit): Likwise.
10478 (llrintf): Likwise.
10479 (llrint): Likwise.
10480
114883e0
L
104812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10482
10483 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10484 __WORDSIZE != 64.
10485
c135cc1b
JM
104862012-03-20 Joseph Myers <joseph@codesourcery.com>
10487
10488 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10489 OVERFLOW_EXCEPTION_OK.
10490 * math/libm-test.inc ("Philosophy"): Update comment about
10491 exception testing.
10492 (OVERFLOW_EXCEPTION): Define.
10493 (OVERFLOW_EXCEPTION_OK): Likewise.
10494 (INVALID_EXCEPTION_OK): Renumber.
10495 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10496 (IGNORE_ZERO_INF_SIGN): Likewise.
10497 (test_exceptions): Handle FE_OVERFLOW.
10498 (exp10_test): Expect overflow exceptions.
10499 (exp2_test): Likewise.
10500 (expm1_test): Likewise.
10501 (nextafter_test): Likewise.
10502 (pow_test): Likewise.
10503 (scalbn_test): Likewise.
10504 (scalbln_test): Likewise.
10505
95443d88
L
105062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10507
10508 * sysdeps/x86_64/bits/atomic.h
10509 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10510 64bit integer.
10511 (atomic_exchange_acq): Likewise.
10512 (__arch_exchange_and_add_body): Likewise.
10513 (__arch_add_body): Likewise.
10514 (atomic_add_negative): Likewise.
10515 (atomic_add_zero): Likewise.
10516
490df6c4
L
105172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10518
c2722551 10519 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10520 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10521
5e52b189
L
105222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10523
10524 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10525 Check __x86_64__ instead of __WORDSIZE.
10526
a9879d4c
L
105272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10528
10529 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10530
5df98260
DM
105312012-03-19 David S. Miller <davem@davemloft.net>
10532
e1497744
DM
10533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10534
5df98260
DM
10535 * sysdeps/sparc/fpu/fenv_private.h: New file.
10536 * sysdeps/sparc/fpu/math_private.h: Use it.
10537 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10538 Remove.
10539 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10540 (libc_feholdexcept_setroundl): Remove.
10541 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10542 Remove.
10543 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10544 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10545
b4c35121
L
105462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10547
10548 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10549 int64_t instead of long int.
10550 (INSERT_WORDS64): Likwise.
10551
56965fd7
L
105522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10553
10554 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10555 _Unwind_GetCFA return to _Unwind_Ptr first.
10556
83d1aec8
JM
105572012-03-19 Joseph Myers <joseph@codesourcery.com>
10558
1897ad44
JM
10559 [BZ #13629]
10560 * math/s_clog.c: Include <float.h>.
10561 (__clog): Scale large or subnormal inputs.
10562 * math/s_clogf.c: Likewise.
10563 * math/s_clogl.c: Likewise.
10564 * math/s_clog10.c: Include <float.h>.
10565 (M_LOG10_2): Define.
10566 (__clog10): Scale large or subnormal inputs.
10567 * math/s_clog10f.c: Likewise.
10568 * math/s_clog10l.c: Likewise.
10569 * math/libm-test.inc (clog_test): Add more tests.
10570 (clog10_test): Likewise.
10571 * sysdeps/i386/fpu/libm-test-ulps: Update.
10572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10573
7726d6a9
JM
10574 [BZ #11451]
10575 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10576 x and y.
10577 * math/libm-test.inc (atan2_test): Add another test.
10578
83d1aec8
JM
10579 * Makerules (common-objdir-compile): Remove.
10580 * sysdeps/unix/Makefile (config-generated): Do not add
10581 $(unix-generated) to variable.
10582 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10583 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10584 Remove rule.
10585 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10586 Likewise.
10587 [generic bits/local_lim.h] (before-compile): Do not append to
10588 variable.
10589 [generic bits/local_lim.h] (common-generated): Likewise.
10590 [generic sys/param.h] (before-compile): Do not append to variable.
10591 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10592 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10593 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10594 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10595 include.
10596 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10597 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10598 [generic sys/param.h] ($(addprefix
10599 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10600 [generic sys/param.h] (common-generated): Do not append to
10601 variable.
10602 [generic sys/param.h] (sysdep_headers): Likewise.
10603 [generic bits/errno.h] (before-compile): Do not append to
10604 variable.
10605 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10606 rule.
10607 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10608 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10609 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10610 [generic bits/errno.h] (common-generated): Do not append to
10611 variable.
10612 [generic bits/ioctls.h] (before-compile): Do not append to
10613 variable.
10614 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10615 rule.
10616 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10617 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10618 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10619 rule.
10620 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10621 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10622 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10623 [generic bits/ioctls.h] (common-generated): Do not append to
10624 variable.
10625 [generic sys/syscall.h] (syscall.h): Remove variable.
10626 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10627 rule.
10628 [generic sys/syscall.h] (before-compile): Do not append to
10629 variable.
10630 [generic sys/syscall.h] (common-generated): Likewise.
10631 * sysdeps/unix/errnos-tmpl.c: Remove file.
10632 * sysdeps/unix/errnos.awk: Likewise.
10633 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10634 * sysdeps/unix/ioctls.awk: Likewise.
10635 * sysdeps/unix/mk-local_lim.c: Likewise.
10636 * sysdeps/unix/snarf-ioctls: Likewise.
10637
4851a949
RH
106382012-03-19 Richard Henderson <rth@twiddle.net>
10639
bd37f2ee
RH
10640 * sysdeps/i386/fpu/fenv_private.h: New file.
10641 * sysdeps/i386/fpu/math_private.h: Use it.
10642 (math_opt_barrier, math_force_eval): Remove.
10643 (libc_feholdexcept_setround_53bit): Remove.
10644 (libc_feupdateenv_53bit): Remove.
10645 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10646 (math_opt_barrier, math_force_eval): Remove.
10647 (libc_feholdexcept): Remove.
10648 (libc_feholdexcept_setround): Remove.
10649 (libc_fetestexcept, libc_fesetenv): Remove.
10650 (libc_feupdateenv_test): Remove.
10651 (libc_feupdateenv, libc_feholdsetround): Remove.
10652 (libc_feresetround): Remove.
10653
d0adc922
RH
10654 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10655 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10656
0fe0f1f8
RH
10657 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10658 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10659 (libc_feupdateenv_testl): New.
10660 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10661 (libc_feupdateenv_testf): New.
10662 (libc_feupdateenv): Use libc_feupdateenv_test.
10663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10664 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10665
eb92c487
RH
10666 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10667 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10668 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10669 (libc_feresetround_noex): New.
10670 (libc_feresetround_noexf): New.
10671 (libc_feresetround_noexl): New.
10672 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10673 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10674 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10675 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10676 SET_RESTORE_ROUND.
10677 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10678 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10679 (__cos): Likewise.
10680 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10681 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10682 SET_RESTORE_ROUND_NOEX.
10683 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10684 SET_RESTORE_ROUND_NOEXF.
10685 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10686 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10687 (libc_feholdsetroundf): New.
10688 (libc_feresetround, libc_feresetroundf): New.
10689
7d2e8012
RH
10690 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10691 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10692 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10693
b4dabbb4
RH
10694 * sysdeps/generic/math_private.h: Include <fenv.h>.
10695 (default_libc_feholdexcept): New.
10696 (default_libc_feholdexcept_setround): New.
10697 (default_libc_fesetenv, default_libc_feupdateenv): New.
10698 (libc_feholdexcept): Only define if undefined.
10699 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10700 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10701 (libc_feholdexcept_setroundl): Likewise.
10702 (libc_feholdexcept_setround_53bit): Likewise.
10703 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10704 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10705 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10706 (libc_feupdateenv_53bit): Likewise.
10707 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10708 (libc_feholdexcept): Convert from macro to inline function.
10709 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10710 (libc_fesetenv, libc_feupdateenv): Likewise.
10711
4851a949
RH
10712 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10713 not previously defined.
10714 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10715 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10716 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10717 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10718 * sysdeps/ieee754/flt-32/math_private.h: New file.
10719 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10720 math_private.h below SET_FLOAT_WORD.
10721 (__isnan, __isinf_ns, __finite): Remove.
10722 (__isnanf, __isinf_nsf, __finitef): Remove.
10723
e79d442e
AS
107242012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10725
10726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10727
90b80344
DM
107282012-03-17 David S. Miller <davem@davemloft.net>
10729
10730 [BZ #6471]
10731 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10732 for 2.16.
10733
edc21804
DM
107342012-03-16 David S. Miller <davem@davemloft.net>
10735
77e927af
DM
10736 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10737 warnings.
10738
374976dd
DM
10739 [BZ #6471]
10740 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10741 properly.
10742 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10743 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10744 sysdep_routines when subdir is sysvipc.
10745 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10746 __getshmlba helper.
10747
edc21804
DM
10748 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10749
473c3ef3
L
107502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10751
10752 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10753 [__LP64__].
10754
eb0f39b6
L
107552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10756
10757 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10758 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10759 (__lround): Renamed to ...
10760 (__llround): This. Replace long int with long long int.
10761 Define lround functions as aliases of llround functions.
10762 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10763
6b6cd74b
L
107642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10765
10766 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10767 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10768 adresses to uintptr_t. Replace "long int" and "unsigned long
10769 int" with "greg_t" on va_arg.
10770
f1a77b01
L
107712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10772
10773 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10774 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10775
10776 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10777 Move e_machine check before EI_CLASS check. Handle x32
10778 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10779 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10780 SKIP_EM_IA_64 and include
10781 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10782
10783 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10784 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10785 (add_system_dir): New macro.
10786
10787 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10788 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10789
11b90b9f
JM
107902012-03-16 Joseph Myers <joseph@codesourcery.com>
10791
c36e1d23
JM
10792 [BZ #2551]
10793 [BZ #2552]
10794 [BZ #2553]
10795 [BZ #2554]
10796 [BZ #2562]
10797 [BZ #2563]
10798 [BZ #2565]
10799 [BZ #2566]
10800 [BZ #2576]
10801 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10802 (y0): Likewise.
10803 * math/w_j0f.c (j0f): Likewise.
10804 (y0f): Likewise.
10805 * math/w_j0l.c (__j0l): Likewise.
10806 (__y0l): Likewise.
10807 * math/w_j1.c (j1): Likewise.
10808 (y1): Likewise.
10809 * math/w_j1f.c (j1f): Likewise.
10810 (y1f): Likewise.
10811 * math/w_j1l.c (__j1l): Likewise.
10812 (__y1l): Likewise.
10813 * math/w_jn.c (jn): Likewise.
10814 (yn): Likewise.
10815 * math/w_jnf.c (jnf): Likewise.
10816 (ynf): Likewise.
10817 * math/w_jnl.c (__jnl): Likewise.
10818 (__ynl): Likewise.
10819 * math/libm-test.inc (j0_test): Add more tests.
10820 (j1_test): Likewise.
10821 (jn_test): Likewise. Add trailing semicolon to existing test.
10822 (y0_test): Likewise.
10823 (y1_test): Likewise.
10824 * sysdeps/i386/fpu/libm-test-ulps: Update.
10825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10826
11b90b9f
JM
10827 [BZ #13851]
10828 [BZ #13854]
10829 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10830 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10831 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10832 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10833 (__tanl): Set errno for infinite argument.
10834 * sysdeps/i386/fpu/mptan.c: Remove.
10835 * sysdeps/i386/fpu/s_tan.S: Likewise.
10836 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10837 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10838 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10839 * math/libm-test.inc (tan_test): Add more tests and enable more
10840 tests for double and long double.
10841 * sysdeps/i386/fpu/libm-test-ulps: Update.
10842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10843
6a1bd2a1
JK
108442012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10845
10846 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10847 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10848
10a803e0
RM
108492012-03-16 Roland McGrath <roland@hack.frob.com>
10850
10851 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10852 * configure.in: Use it for both main tree and add-ons.
10853 * configure: Regenerated.
10854
f196c7f7
L
108552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10856
10857 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10858
8848d99d
JM
108592012-03-16 Joseph Myers <joseph@codesourcery.com>
10860
96cbe7f4
JM
10861 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10862 in comment.
10863
8848d99d
JM
10864 [BZ #13851]
10865 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10866 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10867 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10868 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10869 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10870 infinite argument.
10871 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10872 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10873 != 0 for prec == 2.
10874 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10875 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10876 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10877 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10878 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10879 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10880 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10881 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10882 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10883 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10884 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10885 * math/libm-test.inc (cos_test): Add more tests and enable more
10886 tests for long double.
10887 (sin_test): Likewise.
10888 (sincos_test): Likewise.
10889 * sysdeps/i386/fpu/libm-test-ulps: Update.
10890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10891
dd7f4703
DM
108922012-03-16 David S. Miller <davem@davemloft.net>
10893
10894 * sysdeps/sparc/fpu/math_private.h: New file.
10895
006f1daa
DM
108962012-03-15 David S. Miller <davem@davemloft.net>
10897
c0c83bc8
DM
10898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10899 file.
e6a62e18 10900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10902 file.
e6a62e18
DM
10903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10908 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10909 sysdep routines.
10910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10911
88cb87d9
DM
10912 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10913 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10914
006f1daa 10915 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10917 sparc-ifunc.h
006f1daa 10918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10920 Likewise.
10921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10922 Likewise.
006f1daa
DM
10923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10927 Likewise.
006f1daa
DM
10928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10933 Likewise.
10934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10935 Likewise.
006f1daa
DM
10936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10943 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10955 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10956 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10957 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10958 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10959 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10960
11e0098e
AS
109612012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10962
10963 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10964 scaling.
10965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10966
e85b09d0
AJ
109672012-03-15 Andreas Jaeger <aj@suse.de>
10968
10969 [BZ #13852]
10970 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10971 ieee754/flt-32 implementation for sin, cos and sincos.
10972 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10973 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10974 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10975 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10976 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10977 ieee754/flt-32 implementation for tan.
10978
10979 * math/libm-test.inc (cos_test): Enable some large input tests for
10980 float as well
10981 (sin_test): Likewise.
10982 (sincos_test): Likewise.
10983 (tan_test): Add tests for large input.
10984
10985 * sysdeps/i386/fpu/libm-test-ulps: Update.
10986
81c64153
AJ
109872012-03-15 Andreas Jaeger <aj@suse.de>
10988
10989 [BZ #13658]
10990 * math/libm-test.inc (cos_test): Add more test cases.
10991 (sin_test): Likewise.
10992 (sincos_test): Likewise.
10993
7bbfa5c6
AJ
109942012-03-15 Andreas Jaeger <aj@suse.de>
10995
10996 [BZ #13837]
10997 * math/libm-test.inc (cos_test): Add a test case for large input
10998 value.
10999 (sin_test): Likewise.
11000 (sincos_test): Likewise.
11001
110022012-03-15 Andreas Jaeger <aj@suse.de>,
11003 Joseph Myers <joseph@codesourcery.com>
11004
11005 [BZ #13658]
0671f479 11006 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
11007 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11008 * sysdeps/i386/fpu/branred.c: Likewise.
11009 * sysdeps/i386/fpu/dosincos.c: Likewise.
11010 * sysdeps/i386/fpu/mpa.c: Likewise.
11011 * sysdeps/i386/fpu/s_cos.S: Likewise.
11012 * sysdeps/i386/fpu/s_sin.S: Likewise.
11013 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11014 * sysdeps/i386/fpu/sincos32.c: Likewise.
11015
11016 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11017 Define.
11018 (libc_feupdateenv_53bit): Define.
11019 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11020 Define.
11021 (libc_feupdateenv_53bit): Define.
11022
11023 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11024 53 bit (without extend i386 double precision).
11025
11026 * math/libm-test.inc (sincos_test): Add tests for large input.
11027 (sin): Likewise.
11028 (cos): Likewise.
11029
11030 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11031
9cad04ea
AS
110322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11033
11034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11035
f7062b9a
DM
110362012-03-15 David S. Miller <davem@davemloft.net>
11037
11038 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11039 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11040 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11041 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
11053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11054 file.
f7062b9a 11055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
11056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11057 file.
f7062b9a 11058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
11059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11060 file.
f7062b9a 11061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
11062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11063 file.
f7062b9a
DM
11064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11065 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11066 fmin/fmax sysdep routines.
11067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11068
7bd951ff
DM
110692012-03-14 David S. Miller <davem@davemloft.net>
11070
559398ab
DM
11071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11075 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11076 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11077 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11078 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11091 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11092 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11093 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11094 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11095 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11096 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11097 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11098 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11099 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11100 routines.
11101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11102 file.
559398ab 11103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
11104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11105 file.
559398ab 11106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
11107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11108 file.
559398ab 11109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
11110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11111 file.
559398ab 11112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
11113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11114 file.
559398ab 11115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
11116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11117 file.
11118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11119 file.
11120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11121 file.
11122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11123 file.
11124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11125 New file.
11126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11127 file.
11128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11129 file.
559398ab 11130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
11131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11132 file.
559398ab 11133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11135 file.
559398ab 11136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
11137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11138 file.
559398ab 11139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
11140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11141 VIS3 routines.
559398ab
DM
11142
11143 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11144 New file.
11145
5a1c1e32
DM
11146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11147
eae47a36
DM
11148 * sysdeps/sparc/configure.in: New file.
11149 * sysdeps/sparc/configure: Generate.
11150 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11151 * configure: Regenerate.
11152 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11153 * config.make.in (have-as-vis3): New.
11154 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11155 available use -Av9d instead of -Av9a.
11156 * sysdeps/sparc/sparc64/Makefile: Likewise.
11157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
11158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11159 New file.
11160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11161 file.
11162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11163 New file.
11164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11165 file.
eae47a36
DM
11166 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11170 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11171
c0c83bc8
DM
11172 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11173 fzeros/fnegs to load 0x80000000 into a float register instead of
11174 using the stack.
7bd951ff
DM
11175 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11176
bd951ccb
JM
111772012-03-14 Joseph Myers <joseph@codesourcery.com>
11178
11179 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11180 bits/syscall.h.
11181 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11182 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11183 ($(inst_includedir)/bits/syscall.h): Remove rule.
11184 ($(objpfx)bits/syscall.d): Include instead of
11185 $(objpfx)syscall-list.d.
11186 (generated): Change syscall-list.h and syscall-list.d to
11187 bits/syscall.h and bits/syscall.d.
11188
bb4e6db2
RM
111892012-03-14 Roland McGrath <roland@hack.frob.com>
11190
11191 [BZ #13846]
11192 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11193
aa4a2ae1
JM
111942012-03-14 Joseph Myers <joseph@codesourcery.com>
11195
e456826d
JM
11196 [BZ #13841]
11197 * math/s_csqrt.c: Include <float.h>.
11198 (__csqrt): Scale large or subnormal inputs.
11199 * math/s_csqrtf.c: Likewise.
11200 * math/s_csqrtl.c: Likewise.
11201 * math/libm-test.inc (csqrt_test): Add more tests.
11202 * sysdeps/i386/fpu/libm-test-ulps: Update.
11203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11204
aa4a2ae1
JM
11205 [BZ #13840]
11206 * math/libm-test.inc (hypot_test): Add more tests.
11207
7c10fd35
DM
112082012-03-13 David S. Miller <davem@davemloft.net>
11209
11210 [BZ #13840]
11211 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11212 double-precision for the calculation instead of scaling.
11213
f453b98b
JM
112142012-03-13 Joseph Myers <joseph@codesourcery.com>
11215
11216 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11217 manipulate bits before adding and subtracting TWO52[sx].
11218 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11219 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11220 Likewise.
11221 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11222
09a3453f
DM
112232012-03-13 David S. Miller <davem@davemloft.net>
11224
8e59da90
DM
11225 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11226 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11227 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11228 rtld-global-offsets.h
11229 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11230
2a8ab7f2
DM
11231 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11232 large parameters.
11233
10f62770
DM
11234 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11235
5f0bdb18
DM
11236 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11237 'err' in the ifdef scope in which it is actually used.
11238
09a3453f
DM
11239 * nss/nss_db/db-init.c: Include string.h
11240
b4b2eb5e
DM
112412012-03-12 David S. Miller <davem@davemloft.net>
11242
98bb2f1c
DM
11243 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11244 masking out of the most significant byte of random value used.
11245 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11246 Fix coding style in previous change.
11247
b4b2eb5e
DM
11248 * sysdeps/unix/sysv/linux/kernel-features.h
11249 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11250 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11251 expression.
11252 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11253 later.
11254
6e226b09
DM
112552012-03-11 David S. Miller <davem@davemloft.net>
11256
a1bcbd40
DM
11257 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11258 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11259 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11260 for 'resultvar' otherwise things get truncated on 64-bit.
11261
cb9d6174
DM
11262 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11263 Fix masking out of the most significant byte of random value used.
11264
6e226b09
DM
11265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11266
058c132d
AS
112672012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11268
11269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11270
2d2cd515
DM
112712012-03-09 David S. Miller <davem@davemloft.net>
11272
11273 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11274 variables with appropriate CPP guards.
11275 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11276 frame pointer, not the stack pointer. Correct layout comments. Fix test
11277 on resulting framesize and the management of the outregs buffer for pltexit.
11278 Preserve floating point return values across _dl_call_pltexit call.
11279 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11280 framesize and the management of the outregs buffer for pltexit.
11281 Preserve floating point return values across _dl_call_pltexit
11282 call.
11283 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11284 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11285 (print_exit): Fix format string for return register value.
11286
9a07f9d0
JM
112872012-03-10 Joseph Myers <joseph@codesourcery.com>
11288
11289 * sunrpc/Makefile (others): Add rpcgen.
11290 ($(objpfx)rpcgen): Remove special build rule and dependency on
11291 libc.
11292 * sunrpc/rpcgen.c: New file.
11293
547b5e30
PE
112942012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11295
c524201a
PE
11296 [BZ #13673]
11297 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11298 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11299 * sysdeps/i386/crti.S: Likewise.
11300 * sysdeps/i386/crtn.S: Likewise.
11301 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11302 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11303 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11304 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11305 * sysdeps/sh/crti.S: Likewise.
11306 * sysdeps/sh/crtn.S: Likewise.
11307 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11308
7b6235f2
PE
11309 [BZ #13673]
11310 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11311 with URL.
11312 * locale/programs/locfile-kw.gperf: Likewise.
11313 * locale/programs/charmap-kw.h: Regenerated.
11314 * locale/programs/locfile-kw.h: Likewise.
11315
547b5e30
PE
11316 [BZ #13673]
11317 * intl/plural.y: Replace FSF snail mail address with URL.
11318 * intl/plural.c: Regenerated.
11319
5f0a5dae
RH
113202012-03-09 Richard Henderson <rth@twiddle.net>
11321
11322 * include/math_private.h: Remove file.
11323 * math/math_private.h: Move file ...
11324 * sysdeps/generic/math_private.h: ... here.
11325
b8c03620
RH
11326 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11327 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11328 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11329
4e234f5d 11330 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
11331 and <math_private.h>.
11332 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11333 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11334 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11335 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11336 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11337 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11338 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11340 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11341 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11343 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11344 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11345 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11346 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11347 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11348 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11349 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11350 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11351 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11353 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11354 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11367 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11368 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11369 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11370 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11371 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11372 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11373 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11374 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11375 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11376 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11377 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11378 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11379 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11380 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11381 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11382 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11383 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11384 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11386 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11387 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11388 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11390 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11391 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11392 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11393 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11394 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11395 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11396 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11397 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11398 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11399 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11400 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11401 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11402 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11403 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11404 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11405 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11406 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11407 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11408 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11409 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11410 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11411 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11412 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11416 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11417 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11418 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11419 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11420 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11421 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11422 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11423 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11424 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11425 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11426 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11427 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11428 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11429 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11430 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11431 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11432 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11433 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11434 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11435 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11436 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11437 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11438 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11439 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11440 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11441 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11442 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11443 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11444 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11445 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11446 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11447 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11448 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11449 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11450 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11451 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11452 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11453 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11454 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11455 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11456 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11457 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11458 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11459 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11460 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11461 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11462 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11463 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11464 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11465 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11466 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11467 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11468 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11469 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11470 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11471 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11472 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11473 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11474 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11475 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11476 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11477 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11478 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11479 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11480 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11481 * sysdeps/ieee754/k_standard.c: Likewise.
11482 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11483 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11484 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11485 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11486 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11487 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11488 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11489 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11491 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11492 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11493 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11494 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11495 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11496 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11497 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11498 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11499 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11500 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11555 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11556 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11557 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11558 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11559 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11560 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11561 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11573 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11575 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11580 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11581 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11583 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11584 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11585 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11586 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11587 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11590 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11591 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11593 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11596 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11597 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11598 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11599 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11600 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11601 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11602 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11604 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11605 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11606 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11607 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11609 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11612 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11614 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11619 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11621 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11622 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11628 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11630 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11631 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11632 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11635 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11642 * sysdeps/ieee754/s_lib_version.c: Likewise.
11643 * sysdeps/ieee754/s_matherr.c: Likewise.
11644 * sysdeps/ieee754/s_signgam.c: Likewise.
11645 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11646 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11647 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11648 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11649 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11650 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11651 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11652 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11653 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11654 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11655 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11656 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11657 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11658 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11659 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11660 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11661 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11662 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11663 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11664 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11665 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11666
1991fa03
JM
116672012-03-09 Joseph Myers <joseph@codesourcery.com>
11668
11669 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11670 * sunrpc/rpc_main.c: Likewise.
11671 * sunrpc/rpc_svcout.c: Likewise.
11672
60d6f5a6
DM
116732012-03-09 David S. Miller <davem@davemloft.net>
11674
11675 * include/math_private.h: New file.
11676
4962050e
JM
116772012-03-09 Joseph Myers <joseph@codesourcery.com>
11678
02a6f887
JM
11679 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11680 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11681 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11682 from <bits/socket_type.h>.
11683 (enum __socket_type): Don't define here.
11684 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11686 bits/socket_type.h.
11687
c6e013c1
JM
11688 [BZ #13566]
11689 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11690 checking __USE_GNU.
11691
4962050e
JM
11692 * Makerules ($(inst_includedir)/%.h): New rule.
11693 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11694 (install-others): Remove variable setting.
11695 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11696
38842f45
RH
116972012-03-08 Richard Henderson <rth@twiddle.net>
11698
67bb6da6
RH
11699 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11700 from macro to inline function; merge with the
11701 !__LIBC_INTERNAL_MATH_INLINES version.
11702 (__ieee754_sqrtf): Likewise.
11703
15194b4b
RH
11704 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11705 to inline function.
11706 (__rintf, __floor, __floorf): Likewise.
11707
64e21ede
RH
11708 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11709 macro to inline function.
11710 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11711
38842f45
RH
11712 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11713 not <math/math_private.h>.
11714
c64bf5fe
DM
117152012-03-08 David S. Miller <davem@davemloft.net>
11716
11717 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11718 copyright year.
11719 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11720
82d86f28
TS
117212012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11722
11723 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11724 normalization.
11725 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11726 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11727
aea5d727
UD
117282012-03-08 Ulrich Drepper <drepper@gmail.com>
11729
11730 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11731 be defined individually, they must be defined as a block. Define
11732 S for printing a string instead of hidint the different by using a
11733 macro for adding the 'l'.
11734 * stdio-common/tst-fphex-wide.c: Adjust.
11735
70bca0a3
MP
117362012-03-07 Marek Polacek <polacek@redhat.com>
11737
11738 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11739
65b81130
MP
117402012-03-08 Marek Polacek <polacek@redhat.com>
11741
11742 [BZ #13806]
11743 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11744 * stdio-common/tst-fphex.c: Define a few macros to make the
11745 test reusable. Use them.
11746 * stdio-common/tst-fphex-wide.c: New file.
11747
07037eeb
JM
117482012-03-08 Joseph Myers <joseph@codesourcery.com>
11749
a7a93d50
JM
11750 [BZ #6911]
11751 * manual/macros.texi (gnusystems): New macro.
11752 (nongnusystems): Likewise.
11753 (gnulinuxhurdsystems): Likewise.
11754 (gnuhurdsystems): Likewise..
11755 (gnulinuxsystems): Likewise.
11756 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11757 variants of the GNU system, not "GNU system".
11758 * manual/conf.texi: Likewise.
11759 * manual/errno.texi: Likewise. Update example of errno macro
11760 expansion.
11761 * manual/filesys.texi: Likewise.
11762 (getumask): Document as specific to GNU/Hurd.
11763 * manual/install.texi: Likewise. Reword some references to
11764 GNU/Linux.
11765 * manual/intro.texi: Likewise.
11766 * manual/io.texi: Likewise.
11767 (File Name Portability): Detail which constraints are inapplicable
11768 to all GNU systems and which are only inapplicable to GNU/Hurd.
11769 * manual/job.texi: Likewise.
11770 * manual/llio.texi: Likewise.
11771 (O_NOCTTY): Document as present on GNU/Linux.
11772 * manual/maint.texi: Likewise.
11773 * manual/memory.texi: Likewise.
11774 * manual/pattern.texi: Likewise.
11775 * manual/pipe.texi: Likewise.
11776 * manual/process.texi: Likewise.
11777 * manual/resource.texi: Likewise.
11778 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11779 child on GNU/Hurd.
11780 * manual/setjmp.texi: Likewise.
11781 * manual/signal.texi: Likewise.
11782 * manual/startup.texi: Likewise.
11783 * manual/stdio.texi: Likewise.
11784 * manual/terminal.texi: Likewise.
11785 (ONLCR): Document as POSIX.
11786 (OXTABS): Document availability on GNU/Linux as XTABS.
11787 (ONOEOT): Document availability separately from other bits.
11788 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11789 * manual/time.texi: Likewise.
11790 * manual/users.texi: Likewise.
11791 * INSTALL: Regenerated.
11792 * sysdeps/gnu/errlist.c: Regenerated.
11793
07037eeb
JM
11794 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11795 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11796 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11797 puts.
11798 * configure: Regenerated.
11799
d1d3431a
JM
118002012-03-07 Joseph Myers <joseph@codesourcery.com>
11801
af6a1e37
JM
11802 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11803 default includes instead of AC_HEADER_CHECK.
11804 * sysdeps/i386/configure: Regenerated.
11805
d1d3431a
JM
11806 [BZ #10716]
11807 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11808 * math/s_cacoshf.c (__cacoshf): Likewise.
11809 * math/s_cacoshl.c (__cacoshl): Likewise.
11810 * math/s_casinh.c (__casinh): Set signs of result from argument.
11811 * math/s_casinhf.c (__casinhf): Likewise.
11812 * math/s_casinhl.c (__casinhl): Likewise.
11813 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11814 (casinh_test): Add more tests.
11815 * sysdeps/i386/fpu/libm-test-ulps: Update.
11816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11817
482ff4da
UD
118182012-03-07 Ulrich Drepper <drepper@gmail.com>
11819
872fda05
UD
11820 * po/zh_TW.po: Update from translation team.
11821
a4300c7a
UD
11822 * login/Makefile (distribute): Remove variable.
11823 * catgets/Makefile: Likewise.
11824 * mach/Makefile: Likewise.
11825 * malloc/Makefile: Likewise.
11826 * misc/Makefile: Likewise.
11827 * iconv/Makefile: Likewise.
11828 * nscd/Makefile: Likewise.
11829 * hurd/Makefile: Likewise.
11830 * manual/Makefile: Likewise.
11831 * locale/Makefile: Likewise.
11832 * intl/Makefile: Likewise.
11833 * conform/Makefile: Likewise.
11834 * nss/Makefile: Likewise.
11835 * time/Makefile: Likewise.
11836 * soft-fp/Makefile: Likewise.
11837 * dirent/Makefile: Likewise.
11838 * gmon/Makefile: Likewise.
11839 * po/Makefile: Likewise.
11840 * rt/Makefile: Likewise.
11841 * socket/Makefile: Likewise.
11842 * math/Makefile: Likewise.
11843 * signal/Makefile: Likewise.
11844 * debug/Makefile: Likewise.
11845 * elf/Makefile: Likewise.
11846 * timezone/Makefile: Likewise.
11847 * stdlib/Makefile: Likewise.
11848 * iconvdata/Makefile: Likewise.
11849 * sunrpc/Makefile: Likewise.
11850 * io/Makefile: Likewise.
11851 * argp/Makefile: Likewise.
11852 * inet/Makefile: Likewise.
11853 * hesiod/Makefile: Likewise.
11854 * grp/Makefile: Likewise.
11855 * csu/Makefile: Likewise.
11856 * wctype/Makefile: Likewise.
11857 * crypt/Makefile: Likewise.
11858 * libio/Makefile: Likewise.
11859 * string/Makefile: Likewise.
11860 * nis/Makefile: Likewise.
11861 * resolv/Makefile: Likewise.
11862 * stdio-common/Makefile: Likewise.
11863 * wcsmbs/Makefile: Likewise.
11864 * dlfcn/Makefile: Likewise.
11865 * posix/Makefile: Likewise.
11866
3b7c4e74 11867 [BZ #6959]
482ff4da
UD
11868 * timezone/Makefile: Don't install timezone files, just the programs
11869 and scripts.
11870
f72ed77d
UD
118712012-03-06 Ulrich Drepper <drepper@gmail.com>
11872
a000466f
UD
11873 * nss/databases.def: Add missing gshadow entry.
11874
f72ed77d
UD
11875 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11876
a53b7a4e
MP
118772012-03-06 Marek Polacek <polacek@redhat.com>
11878
11879 [BZ #13726]
11880 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11881 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11882 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11883 * stdio-common/tst-long-dbl-fphex.c: New file.
11884
e9258400
DM
118852012-03-06 David S. Miller <davem@davemloft.net>
11886
11887 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11888 (set_obp_int): New function.
11889 (get_obp_int): New function.
11890 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11891 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11892 Avoid unused variable warnings on 'val' and use builtin_expect.
11893 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11894 __builtin_expect.
e9258400
DM
11895 (INLINE_CLONE_SYSCALL): Likewise.
11896
3bd2c723
DM
118972012-03-05 David S. Miller <davem@davemloft.net>
11898
11899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11900
bbb78d03
AS
119012012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11902
884c5db4
AS
11903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11904
bbb78d03
AS
11905 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11906 only for |x| >= 40.
11907 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11908
1c9f702a 119092012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11910
11911 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11912 Replace gettimeofday with __vdso_gettimeofday.
11913
7be16f82
RM
11914 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11915 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11916 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11917
11918 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11919 time with __vdso_time.
11920
ed58a00f
JM
119212012-03-05 Joseph Myers <joseph@codesourcery.com>
11922
11923 * manual/lang.texi (size_t): Note types to which size_t may be
11924 equivalent with the GNU C Library, but do not describe when
11925 differences between them are significant.
11926
30ee4ced
AJ
119272012-03-05 Andreas Jaeger <aj@suse.de>
11928
11929 * sysdeps/i386/fpu/libm-test-ulps: Update.
11930
b7cd39e8
JM
119312012-03-05 Joseph Myers <joseph@codesourcery.com>
11932
11933 [BZ #3976]
11934 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11935 (__ieee754_pow): Save and restore rounding mode and use
11936 round-to-nearest for main computations.
11937 * math/libm-test.inc (pow_test_tonearest): New function.
11938 (pow_test_towardzero): Likewise.
11939 (pow_test_downward): Likewise.
11940 (pow_test_upward): Likewise.
11941 (main): Call the new functions.
11942 * sysdeps/i386/fpu/libm-test-ulps: Update.
11943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11944
11945 [BZ #3976]
11946 * math/libm-test.inc (cosh_test_tonearest): New function.
11947 (cosh_test_towardzero): Likewise.
11948 (cosh_test_downward): Likewise.
11949 (cosh_test_upward): Likewise.
11950 (sinh_test_tonearest): Likewise.
11951 (sinh_test_towardzero): Likewise.
11952 (sinh_test_downward): Likewise.
11953 (sinh_test_upward): Likewise.
11954 (main): Call the new functions.
11955 * sysdeps/i386/fpu/libm-test-ulps: Update.
11956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11957
6c6a98c9
TV
119582012-03-05 Tom de Vries <tom@codesourcery.com>
11959
11960 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11961 default stack guard is set in last bytes.
11962 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11963
21bb2d2e 119642012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11965
21bb2d2e 11966 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11967
21bb2d2e
AJ
11968 [BZ #13656]
11969 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11970 possibly allocate from heap instead of stack.
11971 * stdio-common/bug-vfprintf-nargs.c: New file.
11972 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11973
c6922934
AS
119742012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11975
11976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11977
bc957d53
MP
119782012-03-03 Marek Polacek <polacek@redhat.com>
11979
11980 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11981 * math/math_private.h: Likewise.
11982 * stdlib/tst-strtod.c: Likewise.
11983 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11984 * sysdeps/x86_64/bits/atomic.h: Likewise.
11985
6358490d
DM
119862012-03-02 David S. Miller <davem@davemloft.net>
11987
11988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11992 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11993 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11994 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11995 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11996
01ae168d
RM
119972012-03-02 Roland McGrath <roland@hack.frob.com>
11998
d9a17c07
RM
11999 [BZ #13792]
12000 * manual/examples/README: New file, says the example source files
12001 can be used under GPL>=2.
12002 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12003 line containing just "*/".
12004 * manual/examples/add.c: Add copyright header (GPL>=2).
12005 * manual/examples/argp-ex1.c: Likewise.
12006 * manual/examples/argp-ex2.c: Likewise.
12007 * manual/examples/argp-ex3.c: Likewise.
12008 * manual/examples/argp-ex4.c: Likewise.
12009 * manual/examples/atexit.c: Likewise.
12010 * manual/examples/db.c: Likewise.
12011 * manual/examples/dir.c: Likewise.
12012 * manual/examples/dir2.c: Likewise.
12013 * manual/examples/execinfo.c: Likewise.
12014 * manual/examples/filecli.c: Likewise.
12015 * manual/examples/filesrv.c: Likewise.
12016 * manual/examples/fmtmsgexpl.c: Likewise.
12017 * manual/examples/genpass.c: Likewise.
12018 * manual/examples/inetcli.c: Likewise.
12019 * manual/examples/inetsrv.c: Likewise.
12020 * manual/examples/isockad.c: Likewise.
12021 * manual/examples/longopt.c: Likewise.
12022 * manual/examples/memopen.c: Likewise.
12023 * manual/examples/memstrm.c: Likewise.
12024 * manual/examples/mkfsock.c: Likewise.
12025 * manual/examples/mkisock.c: Likewise.
12026 * manual/examples/mygetpass.c: Likewise.
12027 * manual/examples/pipe.c: Likewise.
12028 * manual/examples/popen.c: Likewise.
12029 * manual/examples/rprintf.c: Likewise.
12030 * manual/examples/search.c: Likewise.
12031 * manual/examples/select.c: Likewise.
12032 * manual/examples/setjmp.c: Likewise.
12033 * manual/examples/sigh1.c: Likewise.
12034 * manual/examples/sigusr.c: Likewise.
12035 * manual/examples/stpcpy.c: Likewise.
12036 * manual/examples/strdupa.c: Likewise.
12037 * manual/examples/strftim.c: Likewise.
12038 * manual/examples/strncat.c: Likewise.
12039 * manual/examples/subopt.c: Likewise.
12040 * manual/examples/swapcontext.c: Likewise.
12041 * manual/examples/termios.c: Likewise.
12042 * manual/examples/testopt.c: Likewise.
12043 * manual/examples/testpass.c: Likewise.
12044 * manual/examples/timeval_subtract.c: Likewise.
12045
01ae168d
RM
12046 [BZ #13792]
12047 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12048 function to ...
12049 * manual/timeval_subtract.c.texi: ... here, new file.
12050
49efa33d
DM
120512012-03-02 David S. Miller <davem@davemloft.net>
12052
12053 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12054
28afd92d
JM
120552012-03-02 Joseph Myers <joseph@codesourcery.com>
12056
804360ed
JM
12057 [BZ #3976]
12058 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12059 (__sin): Save and restore rounding mode and use round-to-nearest
12060 for all computations.
12061 (__cos): Save and restore rounding mode and use round-to-nearest
12062 for all computations.
12063 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12064 <fenv.h>.
12065 (tan): Save and restore rounding mode and use round-to-nearest for
12066 all computations.
12067 * math/libm-test.inc (cos_test_tonearest): New function.
12068 (cos_test_towardzero): Likewise.
12069 (cos_test_downward): Likewise.
12070 (cos_test_upward): Likewise.
12071 (sin_test_tonearest): Likewise.
12072 (sin_test_towardzero): Likewise.
12073 (sin_test_downward): Likewise.
12074 (sin_test_upward): Likewise.
12075 (tan_test_tonearest): Likewise.
12076 (tan_test_towardzero): Likewise.
12077 (tan_test_downward): Likewise.
12078 (tan_test_upward): Likewise.
12079 (main): Call the new functions.
12080 * sysdeps/i386/fpu/libm-test-ulps: Update.
12081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12082
a6d06d7b
JM
12083 [BZ #10135]
12084 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12085 small n, then large n, before computing and testing k+n.
12086 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12087 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12088 Likewise.
12089 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12090 Likewise.
12091 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12092 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12093 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12094 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12095 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12096 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12097 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12098 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12099 * math/libm-test.inc (scalbn_test): Add more tests.
12100 (scalbln_test): Likewise.
12101
07e12bb3
JM
12102 * manual/filesys.texi (mode_t): Describe constraints on size and
12103 signedness, not exact equivalence to a particular type.
12104 (ino_t): Likewise.
12105 (ino64_t): Likewise.
12106 (dev_t): Likewise.
12107 (nlink_t): Likewise.
12108 (blkcnt_t): Likewise.
12109 (blkcnt64_t): Likewise.
12110 * manual/llio.texi (off_t): Likewise.
12111
28afd92d
JM
12112 [BZ #3976]
12113 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12114 (__ieee754_exp): Save and restore rounding mode and use
12115 round-to-nearest for all computations.
12116 * math/libm-test.inc (exp_test_tonearest): New function.
12117 (exp_test_towardzero): Likewise.
12118 (exp_test_downward): Likewise.
12119 (exp_test_upward): Likewise.
12120 (main): Call the new functions.
12121 * sysdeps/i386/fpu/libm-test-ulps: Update.
12122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12123
b1eeb65d
CD
121242012-03-01 Chris Demetriou <cgd@google.com>
12125
12126 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12127 have predictable order.
12128
53362a4b
DM
121292012-03-01 David S. Miller <davem@davemloft.net>
12130
3c969083
DM
12131 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12132
759707de
DM
12133 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12134 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12135 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12136 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12137
dfdb8ff2
DM
12138 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12139 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12140 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12142 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12143 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12144 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12145 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12146 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12147
ead89f96
DM
12148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12149
7f66bd07
DM
12150 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12151 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12152 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12153
53362a4b
DM
12154 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12155 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12156 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12157 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12158 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12159 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12160 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12161 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12162 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12163 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12164 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12165 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12166 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12167 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12168 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12170 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12171 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12172 * sysdeps/sparc/elf/configure: Regenerated.
12173
7b1902cb
JM
121742012-03-01 Joseph Myers <joseph@codesourcery.com>
12175
bec039bc
JM
12176 * configure.in (AS, LD): Require binutils 2.20 or later.
12177 * configure: Regenerated.
12178 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12179 as required minimum version.
12180 * INSTALL: Regenerated.
12181
7b1902cb
JM
12182 [BZ #2541]
12183 [BZ #4108]
12184 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12185 before squaring exponent.
12186 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12187 bottom long double and 27 bits of top long double before squaring
12188 exponent.
12189 * math/libm-test.inc (erfc_test): Add more tests.
12190 * sysdeps/i386/fpu/libm-test-ulps: Update.
12191 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12193
f775c276
KT
121942012-03-01 Kai Tietz <ktietz@redhat.com>
12195
12196 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12197 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12198 containing bit-fields.
12199 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12200 * soft-fp/single.h (_FP_UNION_S): Likewise.
12201 * soft-fp/double.h (_FP_UNION_D): Likewise.
12202
5b8a4d4a
JM
122032012-02-29 Joseph Myers <joseph@codesourcery.com>
12204
0bab47b6
JM
12205 [BZ #13786]
12206 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12207 not include ../strcmp.S.
12208 [USE_AS_STRNCASECMP_L]: Likewise.
12209 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12210 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12211 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12212 (__strncasecmp_l_ia32): Define as alias to
12213 __strncasecmp_l_nonascii.
12214
0fcad3e2
JM
12215 [BZ #5794]
12216 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12217 * sysdeps/i386/fpu/libm-test-ulps: Update.
12218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12219
5b8a4d4a
JM
12220 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12222
8fdceb2e
JL
122232012-02-29 Jeff Law <law@redhat.com>
12224
12225 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12226 out of bounds read.
12227
1f393a11
MP
122282012-02-29 Marek Polacek <polacek@redhat.com>
12229
12230 [BZ #13706]
12231 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12232 * elf/Makefile: Add rules to run tst-unused-dep.out.
12233
8847f037
DM
122342012-02-28 David S. Miller <davem@davemloft.net>
12235
12236 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12237 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12238 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12239 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12240 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12241 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12242
169d7f11
JM
122432012-02-29 Joseph Myers <joseph@codesourcery.com>
12244
12245 * math/libm-test.inc (llround_test): Move one test from
12246 lround_test. Use TEST_f_L in moved test.
12247 (lround_test): Move misplaced test to llround_test. Add testcase
12248 from bug 2561.
12249
39adf059
UD
122502012-02-28 Ulrich Drepper <drepper@gmail.com>
12251
12252 * sysdeps/x86_64/fpu/e_expf.S: New file.
12253 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12254
71b5d1c5
SB
122552012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12256
12257 [BZ #13637]
12258 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12259 of remain_len that may cause incomplete multi-byte character and
12260 false match.
12261 * posix/bug-regex33.c: New file.
12262 * posix/Makefile (tests): Add bug-regex33.
12263
1f77f049
JM
122642012-02-28 Joseph Myers <joseph@codesourcery.com>
12265
12266 * manual/macros.texi: New file.
12267 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12268 * manual/libc.texinfo: Include macros.texi.
12269 * manual/creatute.texi: Likewise.
12270 * manual/install.texi: Likewise.
12271 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12272 @glibcadj{} in references to the GNU C Library.
12273 * manual/charset.texi: Likewise.
12274 * manual/conf.texi: Likewise.
12275 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12276 when not using those macros.
12277 * manual/creature.texi: Likewise.
12278 * manual/crypt.texi: Likewise.
12279 * manual/errno.texi: Likewise.
12280 * manual/filesys.texi: Likewise.
12281 * manual/header.texi: Likewise.
12282 * manual/install.texi: Likewise.
12283 * manual/intro.texi: Likewise.
12284 * manual/io.texi: Likewise.
12285 * manual/job.texi: Likewise.
12286 * manual/lang.texi: Likewise.
12287 * manual/libc.texiinfo: Likewise.
12288 * manual/llio.texi: Likewise.
12289 * manual/locale.texi: Likewise.
12290 * manual/maint.texi: Likewise.
12291 * manual/math.texi: Likewise.
12292 * manual/memory.texi: Likewise.
12293 * manual/message.texi: Likewise.
12294 * manual/nss.texi: Likewise.
12295 * manual/pattern.texi: Likewise.
12296 * manual/process.texi: Likewise.
12297 * manual/resource.texi: Likewise.
12298 * manual/search.texi: Likewise.
12299 * manual/setjmp.texi: Likewise.
12300 * manual/signal.texi: Likewise.
12301 * manual/socket.texi: Likewise.
12302 * manual/startup.texi: Likewise.
12303 * manual/stdio.texi: Likewise.
12304 * manual/string.texi: Likewise.
12305 * manual/sysinfo.texi: Likewise.
12306 * manual/syslog.texi: Likewise.
12307 * manual/terminal.texi: Likewise.
12308 * manual/time.texi: Likewise.
12309 * manual/users.texi: Likewise.
12310 * INSTALL: Regenerated.
12311 * NOTES: Regenerated.
d40c5d54 12312 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 12313
450bf206
AS
123142012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12315
12316 * include/dirent.h: Include <dirstream.h> before
12317 <dirent/dirent.h>.
12318
741a235b
DM
123192012-02-28 David S. Miller <davem@davemloft.net>
12320
12321 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12322 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12323 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12324 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12325
d6b5aa58
DM
123262012-02-27 David S. Miller <davem@davemloft.net>
12327
1aff59a3
DM
12328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12330 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12331 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12332
d6b5aa58
DM
12333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12334 frame pointer instead of stack pointer relative arg slot.
12335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12336 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12337 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12338
433f48bf
CD
123392012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12340
12341 [BZ #3992]
12342 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12343
d674b76d
DM
123442012-02-27 David S. Miller <davem@davemloft.net>
12345
12346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12350 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12351 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12352 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12353 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12354
0e7727f7
JM
123552012-02-27 Joseph Myers <joseph@codesourcery.com>
12356
12357 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12358 later. Allow versions 5-9.
43be4ca2 12359 * configure: Regenerated.
0e7727f7
JM
12360 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12361 required minimum version and 4.6 as recommended version. Do not
12362 mention bugs in GCC 2.7 and 2.8.
43be4ca2 12363 * INSTALL: Regenerated.
0e7727f7 12364
a78bc654
DM
123652012-02-27 David S. Miller <davem@davemloft.net>
12366
428d5830
DM
12367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12371 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12372 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12373 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12374 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12375
a78bc654
DM
12376 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12377 manipulate bits before adding and subtracting TWO112[sx].
12378 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12379
4579f81c
RM
123802012-02-27 Roland McGrath <roland@hack.frob.com>
12381
36c8acb4
RM
12382 [BZ #13775]
12383 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12384 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12385 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12386 being in POSIX, because they are in 1003.1-2008.
12387
84ad622b
RM
12388 * rt/tst-aio.c: Include <fcntl.h>.
12389 * rt/tst-aio7.c: Likewise.
12390 * rt/tst-aio64.c: Likewise.
12391
4579f81c
RM
12392 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12393
abd923db
JM
123942012-02-27 Joseph Myers <joseph@codesourcery.com>
12395
12396 * manual/install.texi (--with-headers): Describe headers as
12397 interface headers, not private headers.
12398 (Specific advice for GNU/Linux systems): Describe use of headers
12399 from "make headers_install", not private headers from older
12400 kernels.
43be4ca2 12401 * INSTALL: Regenerated.
abd923db
JM
12402 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12403 Change to 2.6.19.
12404 * sysdeps/unix/sysv/linux/configure: Regenerated.
12405
6664049b
JM
12406 * manual/llio.texi (fclean): Remove documentation.
12407
bb8b6697
JM
12408 * manual/Makefile (libc-texi-generated): New variable. Include
12409 version.texi.
12410 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12411 $(libc-texi-generated), not duplicated list of files.
12412 (version.texi, stamp-version): New rules.
12413 (realclean): Remove $(libc-texi-generated), not individual files
12414 from that list. Do not remove dir-add.texinfo.
12415 * manual/libc.texinfo: Comment out uses of edition numbers and
12416 references to printed manual. Remove last-updated dates.
12417 (EDITION): Comment out.
12418 (ISBN): Likewise.
12419 (VERSION, UPDATED): Remove.
12420 (version.texi): Include.
12421
12e5c3b9
AS
124222012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12423
12424 * sysdeps/posix/spawni.c: Include <signal.h>.
12425 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12426 * sysdeps/pthread/aio_fsync.c: Likewise.
12427
4efeffc1 124282012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 12429
ba63ba08
UD
12430 * conform/Makefile (tests): Run only when not cross-compiling and
12431 when fast-check is not defined.
12432
d94a4670
UD
12433 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12434 * conform/data/limits.h-data: Fixes for POSIX2008.
12435 * conform/run-conformtest.sh: Run all tests.
12436 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12437 headers.
12438 * include/bits/dlfcn.h: Likewise.
12439 * include/langinfo.h: Likewise.
12440 * include/monetary.h: Likewise.
12441 * include/sys/poll.h: Likewise.
12442
12443 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12444 for __USE_GNU.
12445 * posix/spawn.h: Define __need_sigset_t.
12446 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12447 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12448 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12449 to get sigevent_t only.
12450 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12451 only for __USE_GNU.
12452 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12453 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12454 process_vm_writev only for __USE_GNU.
12455 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12456
12457 * conform/Makefile: For now ignore errors from run-conformtest.
12458 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12459 POSIX to avoid namespace pollution. Don't prepend headers.
12460 * conform/data/aio.h-data: Fixes for POSIX testing.
12461 * conform/data/fcntl.h-data: Likewise.
12462 * conform/data/glob.h-data: Likewise.
12463 * conform/data/grp.h-data: Likewise.
12464 * conform/data/pthread.h-data: Likewise.
12465 * conform/data/pwd.h-data: Likewise.
12466 * conform/data/signal.h-data: Likewise.
12467 * conform/data/spawn.h-data: Likewise.
12468 * conform/data/stdio.h-data: Likewise.
12469 * conform/data/stdlib.h-data: Likewise.
12470 * conform/data/stropts.h-data: Likewise.
12471 * conform/data/sys/mman.h-data: Likewise.
12472 * conform/data/sys/stat.h-data: Likewise.
12473 * conform/data/sys/types.h-data: Likewise.
12474 * conform/data/sys/wait.h-data: Likewise.
12475 * conform/data/time.h-data: Likewise.
12476 * conform/data/unistd.h-data: Likewise.
12477 * conform/data/utime.h-data: Likewise.
12478
12479 * io/sys/stat.h: fchmod was always in POSIX.
12480 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12481 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12482 * rt/aio.h: Define __need_timespec before including <time.h>.
12483 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12484 struct. Add forward declaration of pthread_attr_t and use it in
12485 sigevent.
12486 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12487 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12488 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12489 always remove CLK_TCK definition.
12490
c20105c3
AS
124912012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12492
12493 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12494
7a270350
UD
124952012-02-25 Ulrich Drepper <drepper@gmail.com>
12496
31341567
UD
12497 * conform/run-conformtest.sh: New file.
12498 * conform/Makefile: Run run-conformtest for tests.
12499 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12500 support.
12501
12502 * conform/data/uchar.h-data: New file.
12503 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12504 * conform/data/arpa/inet.h-data: Likewise.
12505 * conform/data/assert.h-data: Likewise.
12506 * conform/data/complex.h-data: Likewise.
12507 * conform/data/cpio.h-data: Likewise.
12508 * conform/data/ctype.h-data: Likewise.
12509 * conform/data/dirent.h-data: Likewise.
12510 * conform/data/dlfcn.h-data: Likewise.
12511 * conform/data/errno.h-data: Likewise.
12512 * conform/data/fcntl.h-data: Likewise.
12513 * conform/data/float.h-data: Likewise.
12514 * conform/data/fmtmsg.h-data: Likewise.
12515 * conform/data/fnmatch.h-data: Likewise.
12516 * conform/data/ftw.h-data: Likewise.
12517 * conform/data/glob.h-data: Likewise.
12518 * conform/data/grp.h-data: Likewise.
12519 * conform/data/iconv.h-data: Likewise.
12520 * conform/data/inttypes.h-data: Likewise.
12521 * conform/data/langinfo.h-data: Likewise.
12522 * conform/data/libgen.h-data: Likewise.
12523 * conform/data/limits.h-data: Likewise.
12524 * conform/data/locale.h-data: Likewise.
12525 * conform/data/math.h-data: Likewise.
12526 * conform/data/monetary.h-data: Likewise.
12527 * conform/data/mqueue.h-data: Likewise.
12528 * conform/data/ndbm.h-data: Likewise.
12529 * conform/data/net/if.h-data: Likewise.
12530 * conform/data/netdb.h-data: Likewise.
12531 * conform/data/netinet/in.h-data: Likewise.
12532 * conform/data/nl_types.h-data: Likewise.
12533 * conform/data/poll.h-data: Likewise.
12534 * conform/data/pthread.h-data: Likewise.
12535 * conform/data/pwd.h-data: Likewise.
12536 * conform/data/regex.h-data: Likewise.
12537 * conform/data/sched.h-data: Likewise.
12538 * conform/data/search.h-data: Likewise.
12539 * conform/data/semaphore.h-data: Likewise.
12540 * conform/data/setjmp.h-data: Likewise.
12541 * conform/data/signal.h-data: Likewise.
12542 * conform/data/spawn.h-data: Likewise.
12543 * conform/data/stdarg.h-data: Likewise.
12544 * conform/data/stdio.h-data: Likewise.
12545 * conform/data/stdlib.h-data: Likewise.
12546 * conform/data/string.h-data: Likewise.
12547 * conform/data/strings.h-data: Likewise.
12548 * conform/data/stropts.h-data: Likewise.
12549 * conform/data/sys/ipc.h-data: Likewise.
12550 * conform/data/sys/mman.h-data: Likewise.
12551 * conform/data/sys/msg.h-data: Likewise.
12552 * conform/data/sys/resource.h-data: Likewise.
12553 * conform/data/sys/select.h-data: Likewise.
12554 * conform/data/sys/sem.h-data: Likewise.
12555 * conform/data/sys/shm.h-data: Likewise.
12556 * conform/data/sys/socket.h-data: Likewise.
12557 * conform/data/sys/stat.h-data: Likewise.
12558 * conform/data/sys/statvfs.h-data: Likewise.
12559 * conform/data/sys/time.h-data: Likewise.
12560 * conform/data/sys/timeb.h-data: Likewise.
12561 * conform/data/sys/times.h-data: Likewise.
12562 * conform/data/sys/types.h-data: Likewise.
12563 * conform/data/sys/uio.h-data: Likewise.
12564 * conform/data/sys/un.h-data: Likewise.
12565 * conform/data/sys/utsname.h-data: Likewise.
12566 * conform/data/sys/wait.h-data: Likewise.
12567 * conform/data/syslog.h-data: Likewise.
12568 * conform/data/tar.h-data: Likewise.
12569 * conform/data/termios.h-data: Likewise.
12570 * conform/data/utime.h-data: Likewise.
12571 * conform/data/utmpx.h-data: Likewise.
12572 * conform/data/varargs.h-data: Likewise.
12573 * conform/data/wchar.h-data: Likewise.
12574 * conform/data/wctype.h-data: Likewise.
12575 * conform/data/wordexp.h-data: Likewise.
12576
12577 * include/stropts.h: New file.
12578 * include/uchar.h: New file.
12579 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12580 * include/assert.h: Likewise.
12581 * include/ctype.h: Likewise.
12582 * include/dirent.h: Likewise.
12583 * include/dlfcn.h: Likewise.
12584 * include/fcntl.h: Likewise.
12585 * include/fnmatch.h: Likewise.
12586 * include/glob.h: Likewise.
12587 * include/grp.h: Likewise.
12588 * include/libio.h: Likewise.
12589 * include/locale.h: Likewise.
12590 * include/math.h: Likewise.
12591 * include/net/if.h: Likewise.
12592 * include/netdb.h: Likewise.
12593 * include/netinet/in.h: Likewise.
12594 * include/pthread.h: Likewise.
12595 * include/pwd.h: Likewise.
12596 * include/regex.h: Likewise.
12597 * include/sched.h: Likewise.
12598 * include/search.h: Likewise.
12599 * include/setjmp.h: Likewise.
12600 * include/signal.h: Likewise.
12601 * include/stdio.h: Likewise.
12602 * include/stdlib.h: Likewise.
12603 * include/string.h: Likewise.
12604 * include/sys/cdefs.h: Likewise.
12605 * include/sys/mman.h: Likewise.
12606 * include/sys/msg.h: Likewise.
12607 * include/sys/resource.h: Likewise.
12608 * include/sys/select.h: Likewise.
12609 * include/sys/socket.h: Likewise.
12610 * include/sys/stat.h: Likewise.
12611 * include/sys/statvfs.h: Likewise.
12612 * include/sys/time.h: Likewise.
12613 * include/sys/times.h: Likewise.
12614 * include/sys/uio.h: Likewise.
12615 * include/sys/utsname.h: Likewise.
12616 * include/sys/wait.h: Likewise.
12617 * include/termios.h: Likewise.
12618 * include/time.h: Likewise.
12619 * include/ulimit.h: Likewise.
12620 * include/unistd.h: Likewise.
12621 * include/utime.h: Likewise.
12622 * include/wchar.h: Likewise.
12623 * include/wctype.h: Likewise.
12624 * include/wordexp.h: Likewise.
12625
12626 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12627
7a270350
UD
12628 * time/time.h: TIME_UTC must be a macro.
12629 Make timespec_get available for ISO C11 only as well.
12630
7724defc
UD
126312012-02-24 Ulrich Drepper <drepper@gmail.com>
12632
12633 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12634 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12635
6b1d1d46
JM
126362012-02-24 Joseph Myers <joseph@codesourcery.com>
12637
12638 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12639
0f8bbd69
JM
126402012-02-24 Joseph Myers <joseph@codesourcery.com>
12641
12642 * manual/texinfo.tex: Update to version 2012-01-19.16.
12643
66ab80bc
JM
126442012-02-24 Joseph Myers <joseph@codesourcery.com>
12645
12646 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12647
74981cc5
RM
126482012-02-24 Roland McGrath <roland@hack.frob.com>
12649
ee968201
RM
12650 [BZ #13738]
12651 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12652 * manual/fdl-1.3.texi: New file.
12653 * manual/fdl-1.1.texi: File removed.
12654
74981cc5
RM
12655 [BZ #13738]
12656 * manual/libc.texinfo (FDL_VERSION): New @set.
12657 Use it for mention of FDL in cover text.
12658 (Documentation License): Use it in @include file name.
12659
7bb764bc
JM
126602012-02-22 Joseph Myers <joseph@codesourcery.com>
12661 Roland McGrath <roland@hack.frob.com>
12662
12663 [BZ #5461]
12664 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12665 not LONG_LONG_MAX and LONG_LONG_MIN.
12666 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12667 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12668 name.
12669 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12670
6cbeae47
JM
126712012-02-22 Joseph Myers <joseph@codesourcery.com>
12672
12673 [BZ #2547]
12674 [BZ #11365]
12675 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12676 manipulate bits before adding and subtracting TWO23[sx].
12677 * math/libm-test.inc (nearbyint_test): Add more tests.
12678
fe45ce09
JM
126792012-02-22 Joseph Myers <joseph@codesourcery.com>
12680
12681 [BZ #2548]
12682 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12683 bits before adding and subtracting TWO23[sx].
12684 * math/libm-test.inc (rint_test): Add more tests.
12685 (rint_test_tonearest): Likewise.
12686 (rint_test_towardzero): Likewise.
12687 (rint_test_downward): Likewise.
12688 (rint_test_upward: Likewise.
12689
ff3b3d82
JM
126902012-02-22 Joseph Myers <joseph@codesourcery.com>
12691
12692 [BZ #10110]
12693 * include/stdc-predef.h: New file. Extracted from features.h.
12694 * include/features.h: Include stdc-predef.h.
12695 * Makefile (headers): Add stdc-predef.h.
12696 * CONFORMANCE (Compiler limitations): Update.
12697
ef0aab35
JM
126982012-02-22 Joseph Myers <joseph@codesourcery.com>
12699
12700 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12701
58639409
DM
127022012-02-21 David S. Miller <davem@davemloft.net>
12703
12704 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12705 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12706
c0e70b25
DM
127072012-02-20 David S. Miller <davem@davemloft.net>
12708
12709 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12710 using a normal save/restore sequence, rather than allocating a
12711 dummy stack frame just to store a frame pointer and restore.
12712 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12713
fb06851d
JM
127142012-02-21 Joseph Myers <joseph@codesourcery.com>
12715
12716 * manual/install.texi: Fix stray word in line-wrapped comment.
12717
7a8b71c3
DM
127182012-02-20 David S. Miller <davem@davemloft.net>
12719
d510c123
DM
12720 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12721 both binutils and gcc support GOTDATA.
12722
0722d7c2
DM
12723 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12724 "rd %pc" in the PIC register setup sequences.
12725
3d2b3019
DM
12726 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12727 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12728 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12729 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12730 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12731 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12732 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12733 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12734 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12735 (SYSCALL_ERROR_HANDLER): Likewise.
12736 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12737 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12739 (SYSCALL_ERROR_HANDLER): Likewise.
12740
c80098a9
DM
12741 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12742 (HAVE_GCC_GOTDATA): New.
12743 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12744 relocation support in both binutils and gcc.
12745 * sysdeps/sparc/elf/configure: Regenerate.
12746
3a2545a0
DM
12747 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12748 * sysdeps/sparc/sparc32/elf/configure: Delete.
12749 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12750 * sysdeps/sparc/sparc64/elf/configure: Delete.
12751 * sysdeps/sparc/elf/configure.in: New file.
12752 * sysdeps/sparc/elf/configure: Generate.
12753
7a8b71c3
DM
12754 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12755 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12756 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12757 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12758 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12759
f1e86fca
JM
127602012-02-21 Joseph Myers <joseph@codesourcery.com>
12761
12762 * manual/install.texi: Do not mention specific glibc version
12763 numbers.
12764 * manual/libc.texinfo (VERSION, UPDATED): Update.
12765 (@copying): Use @copyright{} and range of years.
12766
0e7dfaef
JM
127672012-02-21 Joseph Myers <joseph@codesourcery.com>
12768
12769 [BZ #13695]
12770 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12771 [crti.S not in sysdirs] (generated): Do not append.
12772 [crti.S not in sysdirs] (omit-deps): Likewise.
12773 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12774 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12775 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12776 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12777 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12778 Likewise.
12779 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12780 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12781 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12782 * csu/defs.awk: Remove file.
12783 * sysdeps/generic/initfini.c: Likewise.
12784 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12785 variable.
12786 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12787 Likewise.
12788
599af3ca
JM
127892012-02-20 Joseph Myers <joseph@codesourcery.com>
12790
12791 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12792 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12793 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12794 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12795 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12796 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12797 <bits/epoll.h>.
12798 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12799 (__EPOLL_PACKED): Define to empty if not defined by
12800 <bits/epoll.h>.
12801 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12803 bits/epoll.h.
12804
0e499750
JM
128052012-02-20 Joseph Myers <joseph@codesourcery.com>
12806
12807 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12808 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12809 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12810 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12811 <bits/timerfd.h>.
12812 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12814 bits/timerfd.h.
12815
5ad91f6e
JM
128162012-02-20 Joseph Myers <joseph@codesourcery.com>
12817
12818 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12819 in C locale.
12820 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12821 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12822 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12824
06b99b02
AJ
128252012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12826
12827 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12828 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12829
7638c0fd
AS
128302012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12831
12832 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12833 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12834 defined.
12835 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12836 Likewise.
12837 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12838 entry for 2.16.
12839
92221550
AJ
128402012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12841
12842 * math/w_acos.c: Use non-signaling floating-point comparisons.
12843 * math/w_acosf.c: Likewise.
12844 * math/w_acosh.c: Likewise.
12845 * math/w_acoshf.c: Likewise.
12846 * math/w_acoshl.c: Likewise.
12847 * math/w_acosl.c: Likewise.
12848 * math/w_asin.c: Likewise.
12849 * math/w_asinf.c: Likewise.
12850 * math/w_asinl.c: Likewise.
12851 * math/w_atanh.c: Likewise.
12852 * math/w_atanhf.c: Likewise.
12853 * math/w_atanhl.c: Likewise.
12854 * math/w_exp2.c: Likewise.
12855 * math/w_exp2f.c: Likewise.
12856 * math/w_exp2l.c: Likewise.
12857 * math/w_j0.c: Likewise.
12858 * math/w_j0f.c: Likewise.
12859 * math/w_j0l.c: Likewise.
12860 * math/w_j1.c: Likewise.
12861 * math/w_j1f.c: Likewise.
12862 * math/w_j1l.c: Likewise.
12863 * math/w_jn.c: Likewise.
12864 * math/w_jnf.c: Likewise.
12865 * math/w_log.c: Likewise.
12866 * math/w_log10.c: Likewise.
12867 * math/w_log10f.c: Likewise.
12868 * math/w_log10l.c: Likewise.
12869 * math/w_log2.c: Likewise.
12870 * math/w_log2f.c: Likewise.
12871 * math/w_log2l.c: Likewise.
12872 * math/w_logf.c: Likewise.
12873 * math/w_logl.c: Likewise.
12874 * math/w_sqrt.c: Likewise.
12875 * math/w_sqrtf.c: Likewise.
12876 * math/w_sqrtl.c: Likewise.
12877 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12878 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12879 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12880 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12881 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12882
ebaf36eb
JM
128832012-02-19 Joseph Myers <joseph@codesourcery.com>
12884
12885 [BZ #9739]
12886 * manual/string.texi (strnlen): Use correct parameter name in
12887 equivalent expression.
12888
71c254a6
JM
128892012-02-19 Joseph Myers <joseph@codesourcery.com>
12890
12891 [BZ #11174]
12892 * manual/users.texi (seteuid): Consistently use neweuid for
12893 argument name.
12894
16d2c631
JM
128952012-02-19 Joseph Myers <joseph@codesourcery.com>
12896
12897 [BZ #13704]
12898 * manual/nss.texi (Services in the NSS configuration): Correct
12899 list of services in example configuration file.
12900
cd837b09
NB
129012012-02-19 Nick Bowler <nbowler@draconx.ca>
12902
12903 [BZ #11322]
12904 * manual/arith.texi: Remove statements about negative zero
12905 behaving identically to zero.
12906
02c4bbad
JM
129072012-02-18 Joseph Myers <joseph@codesourcery.com>
12908
12909 [BZ #5993]
12910 * manual/install.texi: Do not document upgrading from libc5.
12911
366842e7
JM
129122012-02-18 Joseph Myers <joseph@codesourcery.com>
12913
12914 [BZ #4596]
12915 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12916
dd54084d
DM
129172012-02-18 David S. Miller <davem@davemloft.net>
12918
12919 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12920 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12921 %o7 across the call.
12922 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12923 instead.
12924 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12925 SETUP_PIC_REG_LEAF.
12926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12927 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12928 * sysdeps/sparc/crtn.S: Likewise.
12929
2bcc53a3
UD
129302012-02-17 Ulrich Drepper <drepper@gmail.com>
12931
12932 * aout/Makefile: Remove.
12933
09c093b5
RK
129342012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12935
12936 [BZ #13058]
12937 * manual/examples/argp-ex1.c (main): Format definition in GNU
12938 style.
12939 * manual/examples/argp-ex2.c (main): Likewise.
12940 * manual/examples/argp-ex3.c (main): Likewise.
12941 * manual/examples/argp-ex4.c (main): Likewise.
12942 * manual/examples/longopt.c (main): Use new-style prototype
12943 definition.
12944 * manual/examples/strncat.c (main): Specify return type and use
12945 (void) for arguments.
12946 * manual/examples/subopt.c (main): Use char **argv argument.
12947
2ee633a2
JM
129482012-02-17 Joseph Myers <joseph@codesourcery.com>
12949
12950 [BZ #5077]
12951 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12952 rounding modes.
12953
0520adde
FB
129542012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12955
12956 [BZ #6907]
12957 * manual/string.texi (strchr): Change when strchrnul is
12958 recommended.
12959
3f4081cd
DGM
129602012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12961
12962 [BZ #174]
12963 * manual/locale.texi (setlocale): Document LOCPATH.
12964
d1b10e78
JM
129652012-02-17 Joseph Myers <joseph@codesourcery.com>
12966
12967 [BZ #10210]
12968 * manual/process.texi (execle): Move @dots{} before last argument.
12969
79c6869c
PB
129702012-02-17 Paul Bolle <pebolle@tiscali.nl>
12971
12972 [BZ #12047]
12973 * manual/charset.texi (Generic Charset Conversion): Fix typo
12974 (LC_TYPE -> LC_CTYPE).
12975
cc6e48bc
NB
129762012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12977
12978 [BZ #5805]
12979 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12980 (scalbnf): Likewise.
12981 (scalbnl): Likewise.
12982 (scalbln): Likewise.
12983 (scalblnf): Likewise.
12984 (scalblnl): Likewise.
12985 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12986 (vwarnx): Likewise.
12987 (verr): Likewise.
12988 (verrx): Likewise.
12989 * manual/filesys.texi (telldir): Use braces around return type.
12990 * manual/llio.texi (mmap): Add space after comma.
12991 (mmap64): Likewise.
12992 * manual/math.texi (jn): Use @var{} on parameter names.
12993 (jnf): Likewise.
12994 (jnl): Likewise.
12995 (yn): Likewise.
12996 (ynf): Likewise.
12997 (ynl): Likewise.
12998 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12999 line.
13000 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13001 "...".
13002 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13003 (sched_get_priority_max): Likewise.
13004 * manual/signal.texi (sigvec): Add space after comma.
13005 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13006 names.
13007 (if_indextoname): Likewise.
13008 (if_freenameindex): Likewise.
13009 (sendto): Use ',' instead of '.' in prototype.
13010 * manual/startup.texi (syscall): Use @dots{} instead of literal
13011 "...".
13012 * manual/stdio.texi (__fpending): Separate initial words of
13013 paragraph from @deftypefun line.
13014 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13015 "...".
13016 (vsyslog): Use @var{} on parameter names.
13017 * manual/terminal.texi (stty): Use @var{} on parameter names.
13018 * manual/users.texi (getutmp): Use @var{} on parameter names.
13019 (getutmpx): Likewise.
13020
5b23062f
JM
130212012-02-17 Joseph Myers <joseph@codesourcery.com>
13022
13023 [BZ #6884]
13024 * manual/stdio.texi (fopen): Fix typos in description of
13025 ",ccs=STRING".
13026
8dee4833
AJ
130272012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13028
13029 [BZ #4026]
13030 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13031 get clock_id definition.
13032
9078ce93
TS
130332012-02-17 Thomas Schwinge <thomas@schwinge.name>
13034
13035 [BZ #4822]
13036 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13037 (madvise): Cast every argument to void on its own.
13038
3835c55f
JM
130392012-02-17 Joseph Myers <joseph@codesourcery.com>
13040
13041 [BZ #9902]
13042 * manual/startup.texi (Exit Status): Fix typo.
13043
35c47e37
JM
130442012-02-17 Joseph Myers <joseph@codesourcery.com>
13045
13046 [BZ #10140]
13047 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13048 * manual/examples/argp-ex2.c: Likewise.
13049 * manual/examples/argp-ex3.c: Likewise.
13050
e3b69ca7
RH
130512012-02-16 Richard Henderson <rth@redhat.com>
13052
13053 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13054 * sysdeps/s390/s390-32/initfini.c: Remove.
13055 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13056 * sysdeps/s390/s390-64/initfini.c: Remove.
13057
df83af67
KK
130582012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13059
13060 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13061 compiler output for sysdeps/generic/initfini.c.
13062 * sysdeps/sh/elf/initfini.c: Remove file.
13063
f63f3380
DM
130642012-02-16 David S. Miller <davem@davemloft.net>
13065
fb59b3a4
DM
13066 [BZ #11494]
13067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13068
f63f3380
DM
13069 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13070 * sysdeps/sparc/crti.S: New file.
13071 * sysdeps/sparc/crtn.S: New file.
13072 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13073 * sysdeps/sparc/sparc64/Makefile: Likewise.
13074
df6a4a4a
MF
130752012-02-15 Mike Frysinger <vapier@gentoo.org>
13076
6dd8f3dc 13077 [BZ #3335]
df6a4a4a
MF
13078 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13079
1cac7236
RM
130802012-02-15 Roland McGrath <roland@hack.frob.com>
13081
d2c736f8
RM
13082 [BZ #4822]
13083 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13084
1cac7236
RM
13085 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13086 (write, read, close): Likewise.
13087 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13088
8e475601
JM
130892012-02-15 Joseph Myers <joseph@codesourcery.com>
13090
13091 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13092 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13093 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13094 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13095 <bits/signalfd.h>.
13096 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13098 bits/signalfd.h.
13099
ed656b40
MP
131002012-02-14 Marek Polacek <polacek@redhat.com>
13101
13102 * sysdeps/x86_64/crti.S: New file.
13103 * sysdeps/x86_64/crtn.S: New file.
13104 * sysdeps/x86_64/elf/initfini.c: Remove file.
13105
2a979d3a
JM
131062012-02-13 Joseph Myers <joseph@codesourcery.com>
13107
13108 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13109 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13110 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13111 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13112 <bits/inotify.h>.
13113 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13115 bits/inotify.h.
13116
2a418ac3
JM
131172012-02-13 Joseph Myers <joseph@codesourcery.com>
13118
13119 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13120 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13121 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13122 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13123 <bits/eventfd.h>.
13124 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13125 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13126 bits/eventfd.h.
13127
fb779be7
TS
131282012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13129
e19e83c5
RM
13130 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13131 __feraiseexcept instead of feraiseexcept.
7c35ffed 13132
fb779be7
TS
13133 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13134 nanosleep invocations.
13135 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13136 strings, and add error checking for a nanosleep invocations.
13137
59ba27a6
PE
131382012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13139
13140 Replace FSF snail mail address with URLs, as per GNU coding standards.
13141 Most of the snail mail addresses were wrong anyway, and omitting
13142 them makes the source code easier to maintain. Almost all of the
13143 changes are to license notices and to locale LC_IDENTIFICATION
13144 addresses, except for this one:
13145 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13146 not its snail mail address.
13147
57b957eb
RH
131482012-02-09 Richard Henderson <rth@twiddle.net>
13149
af850b1c
RH
13150 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13151 of kernel-features.h.
13152
57b957eb
RH
13153 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13154
6b73181a
MP
131552012-02-08 Marek Polacek <polacek@redhat.com>
13156
13157 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13158 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13159 * sysdeps/gnu/_G_config.h: Likewise.
13160 * sysdeps/generic/_G_config.h: Likewise.
13161
26ecc33a
AS
131622012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13163
6c6dbc63
AS
13164 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13165 tests.
13166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13167
e216c012
AS
13168 * sysdeps/powerpc/powerpc32/crti.S: New file.
13169 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13170 * sysdeps/powerpc/powerpc64/crti.S: New file.
13171 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13172
26ecc33a
AS
13173 * Makeconfig (have-initfini): Don't set.
13174 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13175 * configure.in (nopic_initfini): Don't substitute.
13176 * config.h.in (HAVE_INITFINI): Don't #undef.
13177 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13178 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13179
3add8e13
JM
131802012-02-08 Joseph Myers <joseph@codesourcery.com>
13181
13182 Support crti.S and crtn.S provided directly by architectures.
13183 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13184 [crti.S in sysdirs] (omit-deps): Likewise.
13185 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13186 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13187 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13188 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13189 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13190 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13191 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13192 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13193 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13194 compiler output for sysdeps/generic/initfini.c.
13195 * sysdeps/i386/elf/Makefile: Remove file.
13196 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13197
a22f12b4
MP
131982012-02-07 Marek Polacek <polacek@redhat.com>
13199
13200 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13201 * sysdeps/gnu/_G_config.h: Likewise.
13202 * sysdeps/mach/hurd/_G_config.h: Likewise.
13203
148cf100
MP
132042012-02-07 Marek Polacek <polacek@redhat.com>
13205
13206 * math/Makefile (tests): Add tst-CMPLX2.
13207 * math/tst-CMPLX2.c: New file.
13208
cfdc0dd7
AS
132092012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13210
84ba42c4
AS
13211 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13212
cfdc0dd7
AS
13213 * math/libm-test.inc (jn_test): Add missing L suffix.
13214
622c86f4
MP
132152012-02-06 Marek Polacek <polacek@redhat.com>
13216
13217 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13218 * sysdeps/i386/fpu/e_powf.S: Likewise.
13219 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13220 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13221 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13222 * sysdeps/i386/fpu/e_pow.S: Likewise.
13223 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13224 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13225 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13226 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13227 * sysdeps/i386/fpu/e_log2.S: Likewise.
13228 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13229 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13230 * sysdeps/i386/fpu/e_powl.S: Likewise.
13231 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13232 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13233 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13234 * sysdeps/i386/fpu/e_logl.S: Likewise.
13235 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13236 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13237 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13238 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13239 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13240 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13241 * sysdeps/i386/fpu/e_log.S: Likewise.
13242 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13243 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13244 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13245 * sysdeps/i386/fpu/e_logf.S: Likewise.
13246 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13247 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13248 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13249 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13250 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13251 * sysdeps/i386/fpu/e_log10.S: Likewise.
13252 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13253 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13254 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13255 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13256 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13257 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13258 * sysdeps/i386/asm-syntax.h: Likewise.
13259 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13260 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13261 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13262 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13263 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13264 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13265 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13266 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13267 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13268 * sysdeps/powerpc/sysdep.h: Likewise.
13269 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13270 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13271
d4a54ac6
JM
132722012-02-06 Joseph Myers <joseph@codesourcery.com>
13273
13274 [BZ #411]
13275 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13276
314054ea
JM
132772012-02-06 Joseph Myers <joseph@codesourcery.com>
13278
13279 * sysdeps/i386/sysdep.h: Include <features.h>.
13280 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13281 version.
13282
d8e0ca50
JM
132832012-02-05 Joseph Myers <joseph@codesourcery.com>
13284
13285 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13286 Define.
13287 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13288 LOAD_PIC_REG_STR.
13289
b1da7dd9
JM
132902012-02-03 Joseph Myers <joseph@codesourcery.com>
13291
13292 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13293 (SETUP_PIC_REG): Use GET_PC_THUNK.
13294 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13295 macro.
13296
9a1d9254
JM
132972012-02-03 Joseph Myers <joseph@codesourcery.com>
13298
13299 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13300 for non-PIC compilation.
13301 (SETUP_PIC_REG): Add .p2align directive.
13302 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13303 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13304 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13305 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13306 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13307 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13308 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13309 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13310 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13311 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13312 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13313 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13314 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13315 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13316 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13317 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13318 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13319 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13320 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13321 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13322 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13323 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13324 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13325 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13326 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13328 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13329 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13330 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13331 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13332 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13333 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13334 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13335 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13336 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13337 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13338 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13339 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13340 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13341 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13342 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13343
65dc3b75
JM
133442012-02-03 Joseph Myers <joseph@codesourcery.com>
13345
13346 * math/tst-CMPLX.c: Include <stdio.h>.
13347
d55bf177
JM
133482012-01-31 Joseph Myers <joseph@codesourcery.com>
13349
13350 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13351 float.
13352 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13353 * sysdeps/sparc/bits/mathdef.h: Likewise.
13354
69db4f8f
MP
133552012-01-31 Marek Polacek <polacek@redhat.com>
13356
13357 * libio/libio.h: Don't define _PARAMS.
13358 * locale/programs/config.h: Don't define PARAMS.
13359 * stdlib/strtol_l.c: Likewise.
13360 (__strtol_l): Remove PARAMS from the prototype.
13361
41b81892
UD
133622012-01-31 Ulrich Drepper <drepper@gmail.com>
13363
3b49edc0
UD
13364 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13365 names. Just use the correct names. Remove unnecessary wrapper
13366 functions.
13367 * malloc/arena.c: Likewise.
13368 * malloc/hooks.c: Likewise.
13369
41b81892
UD
13370 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13371 ARENA_TEST says not to. Simplify test for creation of a new arena.
13372 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13373
27a25b6e
UD
133742012-01-30 Ulrich Drepper <drepper@gmail.com>
13375
13376 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13377 into tail calls.
13378 (update_get_addr): New function.
13379 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13380 GET_ADDR_MODULE parameter.
13381
c8a89e7d
JM
133822012-01-30 Joseph Myers <joseph@codesourcery.com>
13383
13384 * crypt/cert.c: Remove __STDC__ conditionals.
13385 * crypt/crypt-entry.c: Likewise.
13386 * crypt/crypt_util.c: Likewise.
13387 * libio/filedoalloc.c: Likewise.
13388 * libio/fileops.c: Likewise.
13389 * libio/genops.c: Likewise.
13390 * libio/iofclose.c: Likewise.
13391 * libio/iofdopen.c: Likewise.
13392 * libio/iofopen.c: Likewise.
13393 * libio/iofopen64.c: Likewise.
13394 * libio/iogetdelim.c: Likewise.
13395 * libio/iopopen.c: Likewise.
13396 * libio/obprintf.c: Likewise.
13397 * libio/oldfileops.c: Likewise.
13398 * libio/oldiofclose.c: Likewise.
13399 * libio/oldiofdopen.c: Likewise.
13400 * libio/oldiofopen.c: Likewise.
13401 * libio/oldiopopen.c: Likewise.
13402 * libio/wfiledoalloc.c: Likewise.
13403 * libio/wgenops.c: Likewise.
13404 * locale/programs/xmalloc.c: Likewise.
13405 * misc/syslog.c: Likewise.
13406 * stdio-common/xbug.c: Likewise.
13407 * string/memchr.c: Likewise.
13408 * string/memcmp.c: Likewise.
13409 * string/memrchr.c: Likewise.
13410 * string/rawmemchr.c: Likewise.
13411 * sysdeps/posix/getcwd.c: Likewise.
13412 * time/strftime_l.c: Likewise.
13413
3b100462
JM
134142012-01-30 Joseph Myers <joseph@codesourcery.com>
13415
13416 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
13417 * config.make.in (config-cflags-sse2avx): Define.
13418 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13419 Fix typo.
13420
607998af
CM
134212012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13422
13423 * scripts/config.guess: Update from upstream config git repository.
13424 * scripts/config.sub: Likewise.
13425
3601428f
CM
134262012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13427
3ac8b282
CM
13428 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13429 (EM_NUM): Update.
13430 (R_TILEPRO_*, R_TILEGX_*): New macros.
13431
e034841e
CM
13432 * scripts/firstversions.awk: Fix bug in version range handling.
13433
540d7568
CM
13434 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13435
3601428f
CM
13436 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13437
463de862
CM
13438 * include/sys/epoll.h: New file.
13439 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13440 libc_hidden_def.
13441
73139a76
UD
134422012-01-28 Ulrich Drepper <drepper@gmail.com>
13443
96bc5b45
UD
13444 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13445 Avoid unnecessary __WORDSIZE == 64 test.
13446 (fmaxf): Use VEX format if possible.
13447 (fmax): Likewise.
13448 (fminf): Likewise.
13449 (fmin): Likewise.
13450
56f6f6a2
UD
13451 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13452 * math/math_private.h: Remove libc_fegetround* and
13453 libc_fesetround*.
13454 * sysdeps/i386/configure.in: Check for -msse2avx.
13455 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13456 also if SSE2AVX is defined.
13457 Remove libc_fegetround* and libc_fesetround*.
13458 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13459 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13460 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13461 of HAS_YMM_USABLE.
13462 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13463 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13464 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13465 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13466 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13467
73139a76
UD
13468 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13469
d73f93a4
AZ
134702012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13471
13472 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13473 size is not set.
13474 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13475
6ee65ed6
UD
134762012-01-27 Ulrich Drepper <drepper@gmail.com>
13477
13478 [BZ #13618]
13479 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13480 relocation.
13481 * Makeconfig (libm): Define.
13482 * elf/Makefile: Add rules to build and run tst-relsort1.
13483 * elf/tst-relsort1.c: New file.
13484 * elf/tst-relsort1mod1.c: New file.
13485 * elf/tst-relsort1mod2.c: New file.
13486
8db21882
JM
134872012-01-27 Joseph Myers <joseph@codesourcery.com>
13488
13489 * math/s_ldexp.c: Remove __STDC__ conditionals.
13490 * math/s_ldexpf.c: Likewise.
13491 * math/s_ldexpl.c: Likewise.
13492 * math/s_nextafter.c: Likewise.
13493 * math/s_nexttowardf.c: Likewise.
13494 * math/s_significand.c: Likewise.
13495 * math/s_significandf.c: Likewise.
13496 * math/s_significandl.c: Likewise.
13497 * math/w_jnl.c: Likewise.
13498 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13499 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13500 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13501 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13502 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13503 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13504 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13505 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13506 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13507 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13511 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13512 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13513 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13515 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13517 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13518 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13519 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13520 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13521 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13522 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13523 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13524 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13525 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13526 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13527 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13528 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13529 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13530 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13531 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13532 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13533 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13534 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13535 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13536 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13537 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13538 * sysdeps/ieee754/k_standard.c: Likewise.
13539 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13543 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13544 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13553 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13554 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13556 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13557 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13558 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13559 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13560 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13561 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13562 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13563 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13566 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13567 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13568 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13569 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13580 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13582 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13587 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13588 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13589 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13591 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13593 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13595 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13600 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13601 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13602 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13603 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13604 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13605 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13606 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13607 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13608 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13610 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13611 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13612 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13613 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13614 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13615 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13616 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13618 * sysdeps/ieee754/s_matherr.c: Likewise.
13619 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13620 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13621 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13622 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13623
965a54a4
JM
136242012-01-26 Joseph Myers <joseph@codesourcery.com>
13625
13626 * crypt/md5.h: Remove __STDC__ conditionals.
13627 * libio/libioP.h: Likewise.
13628 * locale/programs/config.h: Likewise.
13629 * sysdeps/generic/sysdep.h: Likewise.
13630 * sysdeps/i386/asm-syntax.h: Likewise.
13631 * sysdeps/s390/asm-syntax.h: Likewise.
13632 * sysdeps/unix/sysdep.h: Likewise.
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13635
7071ad79
JM
136362012-01-26 Joseph Myers <joseph@codesourcery.com>
13637
13638 * libio/libio.h: Remove __STDC__ conditionals.
13639 * malloc/obstack.h: Likewise.
13640 * math/complex.h: Likewise.
13641 * math/math.h: Likewise.
13642 * sysdeps/generic/_G_config.h: Likewise.
13643 * sysdeps/gnu/_G_config.h: Likewise.
13644 * sysdeps/mach/hurd/_G_config.h: Likewise.
13645 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13646 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13647 * sysdeps/sparc/bits/mathdef.h: Likewise.
13648
afc5ed09
UD
136492012-01-26 Ulrich Drepper <drepper@gmail.com>
13650
13651 [BZ #13583]
13652 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13653 Clean up HAS_* macros.
afc5ed09 13654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13655 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13656 possible.
13657 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13658 HAS_AVX.
13659 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13660 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13661 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13662 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13663 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13664
bdb6de1d
JM
136652012-01-25 Joseph Myers <joseph@codesourcery.com>
13666
13667 * elf/tst-unique3.cc (gets): Remove declaration.
13668 * elf/tst-unique3lib.cc (gets): Likewise.
13669 * elf/tst-unique3lib2.cc (gets): Likewise.
13670 * elf/tst-unique4.cc (gets): Likewise.
13671
b15549e6
UD
136722012-01-24 Ulrich Drepper <drepper@gmail.com>
13673
13674 * include/stdio.h: Add C++ protection. Add gets declarations and
13675 definitions.
13676 * debug/tst-chk1.c: Don't declare gets here.
13677 * stdio-common/tst-gets.c: Likewise.
13678
a037381f
JM
136792012-01-24 Joseph Myers <joseph@codesourcery.com>
13680
13681 * posix/glob: Remove directory.
13682
f1d4aa75
JM
136832012-01-24 Joseph Myers <joseph@codesourcery.com>
13684
13685 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13686
81c0c964
PT
136872012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13688
13689 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13690 of the non-standard EPFNOSUPPORT.
13691
0ea698ae
ST
136922011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13693
13694 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13695 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13696 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13697
d220b117
UD
136982012-01-21 Ulrich Drepper <drepper@gmail.com>
13699
13700 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13701
3e1aa84e
UD
137022012-01-20 Ulrich Drepper <drepper@gmail.com>
13703
13704 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13705 transient errors.
13706 * nscd/grpcache.c (cache_addgr): Likewise.
13707 * nscd/hstcache.c (cache_addhst): Likewise.
13708 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13709 * nscd/pwdcache.c (cache_addpw): Likewise.
13710 * nscd/servicescache.c (cache_addserv): Likewise.
13711
400aa020
UD
137122012-01-16 Ulrich Drepper <drepper@gmail.com>
13713
d77e7869
UD
13714 * malloc/malloc.c: Various cleanups.
13715 * malloc/hooks.c: Likewise.
13716
400aa020
UD
13717 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13718 * stdlib/bug-fmtmsg1.c: New file.
13719
13720 * stdlib/fmtmsg.c (init): Add missing unlock.
13721 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13722
e0a309cf
MP
137232012-01-12 Marek Polacek <polacek@redhat.com>
13724
13725 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13726 and _GNU_SOURCE.
13727
929d11c7
WS
137282012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13729
13730 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13731 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13732 macro to ensure uniqueness of label name.
13733 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13734 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13735
41d0e869
UD
137362012-01-11 Ulrich Drepper <drepper@gmail.com>
13737
0cc5ed3b
UD
13738 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13739
41d0e869
UD
13740 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13741 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13742 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13743 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13744
a47a831a
UD
137452012-01-10 Ulrich Drepper <drepper@gmail.com>
13746
daa891c0
UD
13747 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13748
13749 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13750 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13751 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13752
e58ef0f2
UD
13753 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13754
a47a831a 13755 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13756 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13757 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13758 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13759
13760 * math/bits/math-finite.h: Add ldexp support.
13761
a0bfc9c7
MP
137622012-01-10 Marek Polacek <polacek@redhat.com>
13763
13764 * locale/programs/localedef.h (show_archive_content): Add noreturn
13765 attribute.
13766
d6e97a1d
UD
137672012-01-09 Ulrich Drepper <drepper@gmail.com>
13768
13769 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13770
d5835c26
UD
137712012-01-08 Ulrich Drepper <drepper@gmail.com>
13772
e5f484c6
UD
13773 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13774
d5835c26
UD
13775 * io/Makefile (headers): Add bits/poll2.h.
13776
d1f741e9
WS
137772011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13778
13779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13780 typo #include statement.
13781
ec09c1c4
UD
137822012-01-08 Ulrich Drepper <drepper@gmail.com>
13783
13784 * include/sys/cdefs.h: Define __attribute_alloc_size.
13785 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13786 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13787 * elf/pldd.c: Likewise.
13788 * iconv/iconv_charmap.c: Likewise.
13789 * iconv/iconvconfig.c: Likewise.
13790 * iconv/strtab.c: Likewise.
13791 * locale/programs/locale.c: Likewise.
13792 * locale/programs/localedef.h: Likewise.
13793 * locale/programs/simple-hash.c: Likewise.
13794 * nscd/nscd.h: Likewise.
13795 * nss/makedb.c: Likewise.
13796 * sysdeps/generic/ldconfig.h: Likewise.
13797 * locale/programs/localedef.c: Remove xmalloc prototype.
13798 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13799
20b38e03
PP
138002012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13801
13802 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13803 appropriate.
13804
a0da5fe1
UD
138052012-01-08 Ulrich Drepper <drepper@gmail.com>
13806
1d5a644a 13807 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13808 * math/tst-CMPLX.c: New file.
1d5a644a 13809
8784a6db
UD
13810 * math/complex.h (CMPLXL): Fix typo.
13811
d9a216c0
UD
13812 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13813 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13814 GLIBC_2.16.
13815 * debug/tst-chk1.c: Add poll and ppoll tests.
13816 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13817 * include/sys/poll.h: Add hidden proto for ppoll.
13818 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13819 * sysdeps/mach/hurd/ppoll.c: Likewise.
13820 * io/ppoll.c: Likewise.
13821 * debug/poll_chk.c: New file.
13822 * debug/ppoll_chk.c: New file.
13823 * include/bits/poll2.h: New file.
13824 * io/bits/poll2.h: New file.
13825
ac097f5c
UD
13826 [BZ #1350]
13827 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13828
2119dcfa
UD
13829 * configure.in: static is always set to yes. Remove.
13830 * config.make.in: Don't set build-static.
13831 * Makeconfig: Remove use of build-static.
13832 * dlfcn/Makefile: Likewise.
13833 * elf/Makefile: Likewise.
13834 * math/Makefile: Likewise.
13835 * misc/Makefile: Likewise.
13836 * nptl/Makefile: Likewise.
13837 * sysdeps/mach/hurd/Makefile: Likewise.
13838
121766a9
UD
13839 * configure.in: PWD_P is not used anymore.
13840 * config.make.in: Remove PWD_P entry.
13841
51a1d39c 13842 * configure.in: Remove last remnants of RANLIB.
8720d066 13843 No need to check for signed size_t anymore.
215f4bdc
UD
13844 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13845 and IA-64.
3857022a 13846 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13847 * aclocal.m4: Likewise.
13848
d3ed7225
UD
13849 * wcsmbs/mbrtoc16.c: Implement using towc function.
13850 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13851 * wcsmbs/wcsmbsload.c: Likewise.
13852 * iconv/gconv_simple.c: Likewise.
13853 * iconv/gconv_int.h: Likewise.
13854 * iconv/gconv_builtin.h: Likewise.
13855 * iconv/iconv_prog.c: Remove CHAR16 handling.
13856
13857 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13858
13859 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13860
a0da5fe1
UD
13861 * configure.in: Remove --with-elf and --enable-bounded options.
13862 Dont set base_machine for ia64. More non-ELF conditions removed.
13863 Remove testing and setting of leading underscore information.
13864 * config.make.in (build-bounded): Set to no.
13865 * config.h.in: Remove NO_UNDERSCORES entry.
13866 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13867 them.
13868 * csu/start.c: Remove !NO_UNDERSCORE code.
13869 * locale/localeinfo.h: Likewise.
13870 * sysdeps/generic/machine-gmon.h: Likewise.
13871 * sysdeps/generic/sysdep.h: Likewise.
13872 * sysdeps/i386/sysdep.h: Likewise.
13873 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13874 * sysdeps/mach/sysdep.h: Likewise.
13875 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13876 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13877 * sysdeps/sh/sysdep.h: Likewise.
13878 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13879 * sysdeps/unix/i386/sysdep.S: Likewise.
13880 * sysdeps/unix/sparc/start.c: Likewise.
13881 * sysdeps/unix/sparc/sysdep.S: Likewise.
13882 * sysdeps/unix/sparc/sysdep.h: Likewise.
13883 * sysdeps/unix/start.c: Likewise.
13884 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13885 * sysdeps/x86_64/sysdep.h: Likewise.
13886
df78418a
UD
138872012-01-07 Ulrich Drepper <drepper@gmail.com>
13888
a784e502
UD
13889 [BZ #13553]
13890 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13891 for non-gcc.
13892 * argp/argp-fmtstream.h: Use const instead __const.
13893 * argp/argp.h: Likewise.
13894 * assert/assert.h: Likewise.
13895 * bits/fenv.h: Likewise.
13896 * bits/sched.h: Likewise.
13897 * bits/sigset.h: Likewise.
13898 * bits/sigthread.h: Likewise.
13899 * catgets/nl_types.h: Likewise.
13900 * conform/data/pthread.h-data: Likewise.
13901 * crypt/crypt-private.h: Likewise.
13902 * crypt/crypt.h: Likewise.
13903 * crypt/crypt_util.c: Likewise.
13904 * ctype/ctype.h: Likewise.
13905 * debug/execinfo.h: Likewise.
13906 * debug/mbsnrtowcs_chk.c: Likewise.
13907 * debug/mbsrtowcs_chk.c: Likewise.
13908 * debug/wcsnrtombs_chk.c: Likewise.
13909 * debug/wcsrtombs_chk.c: Likewise.
13910 * debug/wcstombs_chk.c: Likewise.
13911 * dirent/dirent.h: Likewise.
13912 * dlfcn/dlfcn.h: Likewise.
13913 * elf/neededtest4.c: Likewise.
13914 * grp/grp.h: Likewise.
13915 * gshadow/gshadow.h: Likewise.
13916 * iconv/gconv.h: Likewise.
13917 * iconv/gconv_int.h: Likewise.
13918 * iconv/gconv_simple.c: Likewise.
13919 * iconv/iconv.h: Likewise.
13920 * iconv/loop.c: Likewise.
13921 * iconv/skeleton.c: Likewise.
13922 * include/aio.h: Likewise.
13923 * include/aliases.h: Likewise.
13924 * include/argz.h: Likewise.
13925 * include/arpa/inet.h: Likewise.
13926 * include/assert.h: Likewise.
13927 * include/dirent.h: Likewise.
13928 * include/dlfcn.h: Likewise.
13929 * include/execinfo.h: Likewise.
13930 * include/fcntl.h: Likewise.
13931 * include/fenv.h: Likewise.
13932 * include/glob.h: Likewise.
13933 * include/grp.h: Likewise.
13934 * include/libintl.h: Likewise.
13935 * include/mntent.h: Likewise.
13936 * include/netdb.h: Likewise.
13937 * include/pwd.h: Likewise.
13938 * include/rpc/netdb.h: Likewise.
13939 * include/sched.h: Likewise.
13940 * include/search.h: Likewise.
13941 * include/shadow.h: Likewise.
13942 * include/signal.h: Likewise.
13943 * include/stdio.h: Likewise.
13944 * include/stdlib.h: Likewise.
13945 * include/string.h: Likewise.
13946 * include/sys/socket.h: Likewise.
13947 * include/sys/stat.h: Likewise.
13948 * include/sys/statfs.h: Likewise.
13949 * include/sys/statvfs.h: Likewise.
13950 * include/sys/syslog.h: Likewise.
13951 * include/sys/time.h: Likewise.
13952 * include/sys/uio.h: Likewise.
13953 * include/time.h: Likewise.
13954 * include/unistd.h: Likewise.
13955 * include/utmp.h: Likewise.
13956 * include/wchar.h: Likewise.
13957 * include/wctype.h: Likewise.
13958 * inet/aliases.h: Likewise.
13959 * inet/arpa/inet.h: Likewise.
13960 * inet/netinet/ether.h: Likewise.
13961 * inet/netinet/in.h: Likewise.
13962 * intl/libintl.h: Likewise.
13963 * io/bits/fcntl2.h: Likewise.
13964 * io/fcntl.h: Likewise.
13965 * io/ftw.h: Likewise.
13966 * io/sys/poll.h: Likewise.
13967 * io/sys/stat.h: Likewise.
13968 * io/sys/statfs.h: Likewise.
13969 * io/sys/statvfs.h: Likewise.
13970 * io/utime.h: Likewise.
13971 * libio/bits/stdio.h: Likewise.
13972 * libio/bits/stdio2.h: Likewise.
13973 * libio/libio.h: Likewise.
13974 * libio/libioP.h: Likewise.
13975 * libio/stdio.h: Likewise.
13976 * locale/lc-ctype.c: Likewise.
13977 * locale/locale.h: Likewise.
13978 * login/utmp.h: Likewise.
13979 * malloc/arena.c: Likewise.
13980 * malloc/malloc.c: Likewise.
13981 * malloc/malloc.h: Likewise.
13982 * malloc/mcheck.c: Likewise.
13983 * malloc/mtrace.c: Likewise.
13984 * math/bits/mathcalls.h: Likewise.
13985 * math/fenv.h: Likewise.
13986 * math/math_private.h: Likewise.
13987 * misc/bits/error.h: Likewise.
13988 * misc/bits/syslog.h: Likewise.
13989 * misc/err.h: Likewise.
13990 * misc/error.h: Likewise.
13991 * misc/fstab.h: Likewise.
13992 * misc/mntent.h: Likewise.
13993 * misc/regexp.h: Likewise.
13994 * misc/search.h: Likewise.
13995 * misc/sgtty.h: Likewise.
13996 * misc/sys/mman.h: Likewise.
13997 * misc/sys/syslog.h: Likewise.
13998 * misc/sys/uio.h: Likewise.
13999 * misc/sys/xattr.h: Likewise.
14000 * misc/ttyent.h: Likewise.
14001 * nis/rpcsvc/ypclnt.h: Likewise.
14002 * nss/nss.h: Likewise.
14003 * posix/bits/unistd.h: Likewise.
14004 * posix/fnmatch.h: Likewise.
14005 * posix/glob.h: Likewise.
14006 * posix/sched.h: Likewise.
14007 * posix/spawn.h: Likewise.
14008 * posix/sys/wait.h: Likewise.
14009 * posix/unistd.h: Likewise.
14010 * posix/wordexp.h: Likewise.
14011 * pwd/pwd.h: Likewise.
14012 * resolv/netdb.h: Likewise.
14013 * resource/sys/resource.h: Likewise.
14014 * rt/aio.h: Likewise.
14015 * rt/bits/mqueue2.h: Likewise.
14016 * rt/mqueue.h: Likewise.
14017 * shadow/shadow.h: Likewise.
14018 * signal/signal.h: Likewise.
14019 * socket/send.c: Likewise.
14020 * socket/sendto.c: Likewise.
14021 * socket/sys/socket.h: Likewise.
14022 * stdio-common/printf.h: Likewise.
14023 * stdlib/bits/stdlib.h: Likewise.
14024 * stdlib/fmtmsg.h: Likewise.
14025 * stdlib/monetary.h: Likewise.
14026 * stdlib/stdlib.h: Likewise.
14027 * stdlib/ucontext.h: Likewise.
14028 * streams/stropts.h: Likewise.
14029 * string/argz.h: Likewise.
14030 * string/bits/string2.h: Likewise.
14031 * string/string.h: Likewise.
14032 * string/strings.h: Likewise.
14033 * sunrpc/rpc/auth.h: Likewise.
14034 * sunrpc/rpc/auth_des.h: Likewise.
14035 * sunrpc/rpc/clnt.h: Likewise.
14036 * sunrpc/rpc/netdb.h: Likewise.
14037 * sunrpc/rpc/pmap_clnt.h: Likewise.
14038 * sunrpc/rpc/xdr.h: Likewise.
14039 * sysdeps/generic/inttypes.h: Likewise.
14040 * sysdeps/generic/net/if.h: Likewise.
14041 * sysdeps/generic/sys/swap.h: Likewise.
14042 * sysdeps/gnu/net/if.h: Likewise.
14043 * sysdeps/gnu/utmpx.h: Likewise.
14044 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14045 * sysdeps/i386/i486/bits/string.h: Likewise.
14046 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14047 * sysdeps/s390/bits/string.h: Likewise.
14048 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14049 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14050 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14051 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14052 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14053 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14054 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14055 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14056 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14057 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14058 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14059 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14060 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14061 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14062 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14063 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14064 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14066 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14067 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14068 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14069 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14070 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14071 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14072 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14073 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14074 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14075 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14076 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14077 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14078 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14079 * sysvipc/sys/ipc.h: Likewise.
14080 * sysvipc/sys/msg.h: Likewise.
14081 * sysvipc/sys/sem.h: Likewise.
14082 * sysvipc/sys/shm.h: Likewise.
14083 * termios/termios.h: Likewise.
14084 * time/sys/time.h: Likewise.
14085 * time/time.h: Likewise.
14086 * wcsmbs/bits/wchar2.h: Likewise.
14087 * wcsmbs/uchar.h: Likewise.
14088 * wcsmbs/wchar.h: Likewise.
14089 * wctype/wctype.h: Likewise.
14090
0269750c
UD
14091 [BZ #13551]
14092 * Makeconfig: Remove all but ELF support including AIX support.
14093 * Makerules: Likewise.
14094 * config.h.in: Likewise.
14095 * config.make.in: Likewise.
14096 * configure: Likewise.
14097 * configure.in: Likewise.
14098 * csu/Makefile: Likewise.
14099 * csu/version.c: Likewise.
14100 * debug/Makefile: Likewise.
14101 * dlfcn/Makefile: Likewise.
14102 * elf/Makefile: Likewise.
14103 * extra-lib.mk: Likewise.
14104 * iconv/Makefile: Likewise.
14105 * include/libc-symbols.h: Likewise.
14106 * include/shlib-compat.h: Likewise.
14107 * resolv/Makefile: Likewise.
14108 * resolv/res_libc.c: Likewise.
14109 * rt/Makefile: Likewise.
14110 * sysdeps/i386/asm-syntax.h: Likewise.
14111 * sysdeps/i386/sysdep.h: Likewise.
14112 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14113 * sysdeps/mach/sysdep.h: Likewise.
14114 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14115 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14116 * sysdeps/s390/asm-syntax.h: Likewise.
14117 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14118 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14119 * sysdeps/sh/sysdep.h: Likewise.
14120 * sysdeps/unix/sparc/sysdep.h: Likewise.
14121 * sysdeps/wordsize-32/divdi3.c: Likewise.
14122 * sysdeps/x86_64/sysdep.h: Likewise.
14123
00bbd29b
UD
14124 * argp/Versions: Remove _argp_unlock_xxx.
14125
14126 [BZ #13559]
14127 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14128 * abilist/libBrokenLocale.abilist: Likewise.
14129 * abilist/libanl.abilist: Likewise.
14130 * abilist/libc.abilist: Likewise.
14131 * abilist/libcrypt.abilist: Likewise.
14132 * abilist/libdl.abilist: Likewise.
14133 * abilist/libm.abilist: Likewise.
14134 * abilist/libnsl.abilist: Likewise.
14135 * abilist/libpthread.abilist: Likewise.
14136 * abilist/libresolv.abilist: Likewise.
14137 * abilist/librt.abilist: Likewise.
14138 * abilist/libthread_db.abilist: Likewise.
14139 * abilist/libutil.abilist: Likewise.
14140 * abilist/libnss_db.abilist: New file.
14141
14142 * scripts/abilist.awk: Add support for indirect functions.
14143
a2693a0e
UD
14144 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14145
3f05895f
UD
14146 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14147
ecb6fb48
UD
14148 * shlib-versions: Remove entries for ports architectures.
14149
664f8cb9
UD
14150 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14151 files in ports.
14152 * elf/stackguard-macros.h: Remove support for IA-64.
14153 * elf/tst-auditmod1.c: Likewise.
14154 * sysdeps/generic/ldsodefs.h: Likewise.
14155
7ae81d88
UD
14156 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14157 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14158 configure files.
14159
bdeba135
UD
14160 [BZ #13552]
14161 * configure.in: Remove --enable-omitfp support.
14162 * FAQ.in: Adjust.
14163 * config.make.in: Likewise.
14164 * Makeconfig: Likewise.
14165 * manual/install.texi: Likewise.
14166
d75a0a62
UD
14167 In case anyone cares, the IA-64 architecture could move to ports.
14168 * sysdeps/ia64/*: Removed.
14169 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 14170 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 14171
dcc9756b
UD
14172 [BZ #13555]
14173 * configure.in: Remove entries for unsupported architectures.
14174
d3761ebc 14175 [BZ #13533]
9954432e
UD
14176 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14177 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14178 routines.
14179 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14180 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14181 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14182 fall back to using wcrtomb.
14183 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14184 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14185 renaming.
14186 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14187 * wcsmbs/tst-c16c32-1.c: New file.
14188
14189 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14190 local variable.
14191
c3a87236
UD
14192 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14193
28926a1b
UD
14194 * elf/tst-unique3.cc: Add explicit declaration of gets.
14195 * elf/tst-unique3lib.cc: Likewise.
14196 * elf/tst-unique3lib2.cc: Likewise.
14197 * elf/tst-unique4.cc: Likewise.
14198
df78418a
UD
14199 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14200
8ecd6b2a
JM
142012012-01-06 Joseph Myers <joseph@codesourcery.com>
14202
14203 [BZ #13566]
14204 * assert/assert.h (static_assert): Don't define for C++.
14205 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14206 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14207
9f115170
UD
142082012-01-03 Ulrich Drepper <drepper@gmail.com>
14209
5e0d0300
UD
14210 * iconv/loop.c (single loop): Fix assertion in storing of
14211 remaining bytes.
14212
9f115170
UD
14213 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14214
81fb02b0
UD
142152012-01-01 Ulrich Drepper <drepper@gmail.com>
14216
14217 * posix/getconf.c: Update copyright year.
14218 * nss/getent.c: Likewise.
a316c1f6 14219 * nss/makedb.c: Likewise.
81fb02b0
UD
14220 * iconv/iconvconfig.c: Likewise.
14221 * iconv/iconv_prog.c: Likewise.
14222 * elf/ldconfig.c: Likewise.
a316c1f6
UD
14223 * elf/pldd.c: Likewise.
14224 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
14225 * catgets/gencat.c: Likewise.
14226 * csu/version.c: Likewise.
14227 * elf/ldd.bash.in: Likewise.
14228 * elf/sprof.c (print_version): Likewise.
14229 * locale/programs/locale.c: Likewise.
14230 * locale/programs/localedef.c: Likewise.
a316c1f6 14231 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
14232 * nscd/nscd.c (print_version): Likewise.
14233 * debug/xtrace.sh: Likewise.
14234 * malloc/memusage.sh: Likewise.
14235 * malloc/mtrace.pl: Likewise.
14236 * debug/catchsegv.sh: Likewise.
14237
2ba92745
JJ
142382011-12-30 Jakub Jelinek <jakub@redhat.com>
14239
14240 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14241 pure attribute.
14242
dadebdae
UD
142432011-12-24 Ulrich Drepper <drepper@gmail.com>
14244
d3761ebc 14245 [BZ #13533]
db6af3eb
UD
14246 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14247 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14248 transformations.
14249 * iconv/gconv_int.h: Likewise.
14250 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14251 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14252 from libc for GLIBC_2.16.
14253 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14254 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14255 * wcsmbs/uchar.h: Really define mbstate_t.
14256 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14257 * wcsmbs/c16rtomb.c: New file.
14258 * wcsmbs/mbrtoc16.c: New file.
14259 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14260 for C/POSIX locale.
14261 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14262 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14263
dadebdae
UD
14264 * wcsmbs/wchar.h: Add missing __restrict.
14265
67371b56
UD
142662011-12-23 Ulrich Drepper <drepper@gmail.com>
14267
74033a25
UD
14268 [BZ #13532]
14269 * time/Makefile (routines): Add timespec_get.
14270 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14271 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14272 timespec for ISO C11.
14273 * time/timespec_get.c: New file.
14274 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14275 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14276
380d7e87
UD
14277 [BZ #13531]
14278 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14279 * stdlib/stdlib.h: Declare aligned_alloc.
14280 * Versions.def: Add GLIBC_2.16 for libc.
14281 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14282
4e9e7a35
UD
14283 [BZ 13527]
14284 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14285 ISO C11.
14286
380d7e87 14287 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
14288 code.
14289
03a71829
UD
14290 [BZ #13528]
14291 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14292
839e283e
UD
14293 [BZ #13529]
14294 * assert/assert.h (static_assert): Define.
14295
ce5294e2 14296 * version.h: Update for 2.16 development version.
90fa7312 14297
8d44e150 14298 [BZ #13526]
d7809905
UD
14299 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14300 _ISOC11_SOURCE.
14301
c0da14cd
UD
14302 * version.h (RELEASE): Bump for 2.15 release.
14303 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14304
530a3249
MP
14305 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14306 Patch by Marek Polacek <mpolacek@redhat.com>.
14307
67371b56
UD
14308 * bits/byteswap.h: Protect long long constants with __extension__.
14309 * sysdeps/i386/bits/byteswap.h: Likewise.
14310 * sysdeps/ia64/bits/byteswap.h: Likewise.
14311 * sysdeps/s390/bits/byteswap.h: Likewise.
14312 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14313
15db4de1
LD
143142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14315
14316 [BZ #13540]
bbe315ea
LD
14317 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14318 destination buffer.
15db4de1
LD
14319 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14320
2b2596b1
MP
143212011-12-23 Marek Polacek <polacek@redhat.com>
14322
14323 * elf/dl-addr.c (determine_info): Add inline keyword.
14324 * elf/tst-auditmod4b.c (check_avx): Likewise.
14325 * elf/tst-auditmod6b.c (check_avx): Likewise.
14326 * elf/tst-auditmod6c.c (check_avx): Likewise.
14327 * elf/tst-auditmod7b.c (check_avx): Likewise.
14328
70c6c246
UD
143292011-12-23 Ulrich Drepper <drepper@gmail.com>
14330
14331 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14332 !__SSE_MATH__.
14333
c044cf14
LD
143342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14335
15db4de1 14336 [BZ #13540]
c044cf14
LD
14337 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14338 processing for last bytes.
14339
6b13d9d9
BH
143402011-08-06 Bruno Haible <bruno@clisp.org>
14341
d455f537
BH
14342 [BZ #13061]
14343 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14344 U+0385, not to U+1FEE.
14345
6b13d9d9
BH
14346 [BZ #13062]
14347 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14348 entry for U+00A5 U+0301.
14349
db910efd
UD
143502011-12-22 Ulrich Drepper <drepper@gmail.com>
14351
27deeafc
UD
14352 [BZ #13166]
14353 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14354 buffer for the output is too small.
14355
aed9d171
UD
14356 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14357 optimization.
14358
db910efd
UD
14359 [BZ #13185]
14360 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14361 SSE flags if possible.
14362
2bd779ae
LD
143632011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14364
e7f9dac3 14365 [BZ #13540]
2bd779ae
LD
14366 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14367 processing for last bytes.
14368
154bfc16
JM
143692011-12-22 Joseph Myers <joseph@codesourcery.com>
14370
14371 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14372 (syscall-list-default-options, syscall-list-default-condition)
14373 (syscall-list-includes): Define.
14374 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14375 list of ABIs and options and #if conditions for each ABI. Do not
14376 handle common syscalls between ABIs specially.
14377 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14378 Remove.
14379 (syscall-list-variants, syscall-list-32bit-options)
14380 (syscall-list-32bit-condition, syscall-list-64bit-options)
14381 (syscall-list-64bit-condition): Define.
14382 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14383 (syscall-list-variants, syscall-list-32bit-options)
14384 (syscall-list-32bit-condition, syscall-list-64bit-options)
14385 (syscall-list-64bit-condition): Define.
14386 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14387 Remove.
14388 (syscall-list-variants, syscall-list-32bit-options)
14389 (syscall-list-32bit-condition, syscall-list-64bit-options)
14390 (syscall-list-64bit-condition): Define.
14391 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14392 Remove.
14393 (syscall-list-variants, syscall-list-32bit-options)
14394 (syscall-list-32bit-condition, syscall-list-64bit-options)
14395 (syscall-list-64bit-condition): Define.
14396
21eaf3a5
UD
143972011-12-22 Ulrich Drepper <drepper@gmail.com>
14398
16c6f992
UD
14399 * locale/iso-639.def: Add brx entry.
14400
41043168
UD
14401 [BZ #13328]
14402 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14403 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14404
21eaf3a5
UD
14405 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14406 __feraiseexcept_renamed.
14407
e3a851a2
UD
144082011-12-21 Ulrich Drepper <drepper@gmail.com>
14409
4920765e
UD
14410 [BZ #13538]
14411 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14412 EPOLLET with unsigned values.
14413 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14414 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14415
e3a851a2
UD
14416 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14417 to large cancellation.
14418 * math/s_cacoshf.c: Likewise.
14419 * math/s_cacoshl.c: Likewise.
14420
b27e24b8
RK
144212011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14422
14423 [BZ #13305]
aebefeee 14424 [BZ #12786]
b27e24b8
RK
14425 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14426 * math/s_cacoshf.c: Likewise.
14427 * math/s_cacoshl.c: Likewise.
14428
ee190f67
UD
144292011-12-21 Ulrich Drepper <drepper@gmail.com>
14430
14431 [BZ #13439]
14432 * iconv/gconv.h: Define __GCONV_SWAP.
14433 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14434 * iconvdata/utf-16.c: Likewise.
14435 * iconvdata/utf-32.c: Likewise.
14436
707f25df
AS
144372011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14438
14439 [BZ #13524]
14440 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14441 numerator after shifting it by one limb.
14442
d2daaa1e
RÁE
144432011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14444
14445 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14446 under [__USE_EXTERN_INLINES].
14447
a4647e72
UD
144482011-12-17 Ulrich Drepper <drepper@gmail.com>
14449
14450 [BZ #13446]
14451 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14452
f0b264f1
AZ
144532011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14454
14455 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14456 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14457 optimized code.
14458 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14459 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14460 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14461 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14462 for strncasecmp/strncasecmp_l compilation.
14463 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14464 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14465
8ef4f244
MP
144662011-12-08 Marek Polacek <mpolacek@redhat.com>
14467
14468 [BZ #13484]
14469 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14470 of __asm__.
14471
97ac2654
UD
144722011-12-17 Ulrich Drepper <drepper@gmail.com>
14473
14474 [BZ #13506]
14475 * time/tzfile.c (__tzfile_read): Check values from file header.
14476
91d2a845
WS
144772011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14478
14479 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14480 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14481 * powerpc/powerpc32/dl-start.S: Likewise.
14482 * powerpc/powerpc32/elf/start.S: Likewise.
14483 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14484 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14485 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14486 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14487 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14488 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14489 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14490 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14491 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14492 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14493 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14494 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14495 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14496 * powerpc/powerpc32/memset.S: Likewise.
14497 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14498 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14499 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14500 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14501 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14502 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14503 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14504 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14505 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14506 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14507 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14508 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14509 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14510
a1267ba1
AZ
145112011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14512
14513 * math/libm-test.inc: Added more nearbyint tests.
14514 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14515 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14516 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14517 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14518
ad8ac1bd
RL
145192011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14520
14521 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14522 FD_CLOEXEC.
14523
1d3e4b61
UD
145242011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14525
14526 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14527 Add wcscpy-ssse3 wcscpy-c.
14528 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14529 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14530 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14531 * sysdeps/x86_64/wcschr.S: New file.
14532 * sysdeps/x86_64/wcsrchr.S: New file.
14533 * string/test-strcmp.c: Remove checking of wcscmp function for
14534 wrong alignments.
14535 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14536 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14537 wcsrchr-sse2 wcsrchr-c.
14538 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14539 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14540 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14541 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14542 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14543 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14544 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14545 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14546 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14547 * wcsmbc/wcschr.c (WCSCHR): New macro.
14548
5b330a2d
UD
145492011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14550
14551 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14552 * wcsmbs/test-wcsrchr.c: New file.
14553 * string/test-strrchr.c: Add wcsrchr support.
14554 (WIDE): New macro.
14555 * wcsmbs/test-wcscpy.c: New file.
14556 * string/test-strcpy.c: Add wcscpy support.
14557 (WIDE): New macro.
26428b7c 14558
f039c043
UD
145592011-12-10 Ulrich Drepper <drepper@gmail.com>
14560
14561 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14562 the inner loop.
14563
850fb039
AS
145642011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14565
14566 [BZ #13472]
14567 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14568
4efbd5cb
UD
145692011-12-04 Ulrich Drepper <drepper@gmail.com>
14570
52ff5dd0 14571 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14572 Minor optimizations.
52ff5dd0 14573
4efbd5cb
UD
14574 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14575 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14576 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14577
8a426e12
UD
145782011-12-03 Ulrich Drepper <drepper@gmail.com>
14579
aff2453d
UD
14580 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14581 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14582 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14583 for gcc to avoid warnings.
14584 * inet/Makefile (tests): Add tst-checks.
14585 * inet/tst-checks.c: New file.
14586
14587 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14588 warning.
14589
14590 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14591 __wmemcmp_sse2.
14592
14593 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14594 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14595
8a426e12
UD
14596 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14597
9bea3473
UD
145982011-12-02 Ulrich Drepper <drepper@gmail.com>
14599
3a965496
UD
14600 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14601 problem.
14602
9bea3473
UD
14603 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14604
f101631b
UD
146052011-11-29 Joseph Myers <joseph@codesourcery.com>
14606
14607 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14608 conditional on GCC version.
14609 (__arch_compare_and_exchange_val_8_acq)
14610 (__arch_compare_and_exchange_val_16_acq)
14611 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14612 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14613 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14614
a98275aa
UD
146152011-12-02 Joseph Myers <joseph@codesourcery.com>
14616
14617 * sysdeps/sh/backtrace.c: New file.
14618
d4cc29a2
AS
146192011-12-02 Andreas Schwab <schwab@redhat.com>
14620
14621 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14622 parenthesis.
14623
6257af2d
AS
146242011-12-01 Andreas Schwab <schwab@redhat.com>
14625
14626 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14627 falling back to utime.
14628
b5f44c1a
AS
146292011-11-30 Andreas Schwab <schwab@redhat.com>
14630
14631 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14632 expectations for float.
14633
f3a6cc0a
AS
146342011-11-29 Andreas Schwab <schwab@redhat.com>
14635
14636 * locale/weight.h (findidx): Add parameter len.
14637 * locale/weightwc.h (findidx): Likewise.
14638 * posix/fnmatch_loop.c (FCT): Adjust caller.
14639 * posix/regcomp.c (build_equiv_class): Likewise.
14640 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14641 * posix/regexec.c (check_node_accept_bytes): Likewise.
14642 * string/strcoll_l.c (STRCOLL): Likewise.
14643 * string/strxfrm_l.c (STRXFRM): Likewise.
14644
9d65ea3a
UD
146452011-11-17 Ulrich Drepper <drepper@gmail.com>
14646
14647 * Makefile.in: Remove CVSOPT handling.
14648 * configure.in: Remove use of AC_REVISION.
14649 * iconvdata/Makefile (distribute): No need to filter out CVS.
14650 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14651 handling.
14652
5583a086
AS
146532011-11-16 Andreas Schwab <schwab@redhat.com>
14654
14655 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14656 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14657 [USE_AS_STRNCASECMP_L]: Likewise.
14658 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14659 NO_TLS_DIRECT_SEG_REFS.
14660 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14661 Fix argument offsets for non-PIC.
14662 [USE_AS_STRNCASECMP_L]: Likewise.
14663 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14664 NO_TLS_DIRECT_SEG_REFS.
14665
d62a8200
UD
146662011-11-15 Ulrich Drepper <drepper@gmail.com>
14667
9d65ea3a 14668 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14669 O_CLOEXEC.
14670 * locale/loadlocale.c (_nl_load_locale): Likewise.
14671
09f93bd3
AS
146722011-11-15 Andreas Schwab <schwab@redhat.com>
14673
446514f9
AS
14674 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14675 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14676 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14677 (SYSCALL_GETTIME): Set errno on error.
14678
09f93bd3
AS
14679 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14680 count references to noai6ai_cached.
14681
312be3f9
UD
146822011-11-15 Ulrich Drepper <drepper@gmail.com>
14683
14684 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14685
14686 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14687 FD_CLOEXEC for /proc/self/maps.
14688
14689 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14690 FD_CLOEXEC for /proc/meminfo.
14691
14692 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14693 gai.conf.
14694
14695 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14696 FD_CLOEXEC for given file.
14697
14698 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14699
14700 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14701 FD_CLOEXEC for /etc/hosts.
14702 (_gethtent): Likewise.
14703
14704 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14705
14706 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14707 cancellation and set FD_CLOEXEC for /etc/netgroup.
14708
14709 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14710 reading /etc/publickey.
14711
14712 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14713 allow cancellation when reading /etc/group.
14714
14715 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14716 cancellation.
14717 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14718
14719 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14720 when using data file.
14721
14722 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14723
14724 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14725 (write_nis_obj): Use "c" and "e" in fopen.
14726
14727 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14728
14729 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14730
14731 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14732
14733 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14734
14735 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14736 locale.alias.
14737
14738 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14739
14740 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14741
14742 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14743
14744 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14745 file parsing and set FD_CLOEXEC.
14746
82af0fa8
UD
147472011-11-14 Ulrich Drepper <drepper@gmail.com>
14748
14749 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14750
a5fb313c
AS
147512011-11-14 Andreas Schwab <schwab@redhat.com>
14752
14753 * malloc/arena.c (arena_get2): Don't call reused_arena when
14754 _int_new_arena failed.
14755
6abf3465
UD
147562011-11-14 Ulrich Drepper <drepper@gmail.com>
14757
14758 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14759 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14760 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14761 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14762 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14763 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14764 to compile strcasecmp and strncasecmp.
14765 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14766 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14767
14768 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14769
76e3966e
UD
147702011-11-13 Ulrich Drepper <drepper@gmail.com>
14771
14772 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14773 locale-defines.sym to gen-as-const-headers.
14774 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14775 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14776 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14777 to compile strcasecmp and strncasecmp.
14778 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14779 strcasecmp_l and strncasecmp_l.
14780 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14781 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14782 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14783 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14784 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14785 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14786 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14787 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14788 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14789 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14790 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14791
ab26144e
UD
147922011-11-12 Ulrich Drepper <drepper@gmail.com>
14793
7edb22ef
UD
14794 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14795 result of SYSDEP_GETTIME_CPU to retval.
14796 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14797 parameter list to macro. Remove trailing semicolon. Adjust users.
14798
9694fc44
UD
14799 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14800 variable.
14801
8ad89ef8
UD
14802 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14803 mantissa words.
14804 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14805
0c822ef9
UD
14806 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14807 from unused variable.
14808
874e0564
UD
14809 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14810 DWARF definitions.
14811 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14812 for assembling.
14813
3a2edc79
UD
14814 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14815 over namespaces.
14816
f3c2577f
UD
14817 * sunrpc/rpc_prot.c (rejected): Fix case value.
14818
294ce126
UD
14819 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14820 unsigned long long int to avoid warnings in shift.
14821
5e2b63c6
UD
14822 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14823 of use of trans.
14824 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14825 variable tmp.
14826
e7f4b08e
UD
14827 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14828 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14829 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14830
ab26144e
UD
14831 * nis/nis_table.c (nis_list): Use variable of correct type for
14832 result of __follow_path call.
14833
8a6d5255
AZ
148342011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14835
14836 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14837 of math functions ceil, trunc, floor, round, and sqrt, when
14838 avaliable on the platform.
14839 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14840 name clash.
14841 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14842 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14843 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14844
aaddc98c
MP
148452011-10-30 Marek Polacek <mpolacek@redhat.com>
14846
14847 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14848 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14849
95b7042b
RM
148502011-11-11 Roland McGrath <roland@hack.frob.com>
14851
14852 * include/unistd.h: Fix __readlink return type.
14853 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14854
57769839
UD
148552011-11-11 Ulrich Drepper <drepper@gmail.com>
14856
14857 * stdlib/ucontext.h: Undo last change for makecontext.
14858
edc5984d
AS
148592011-11-11 Andreas Schwab <schwab@redhat.com>
14860
98591e58
AS
14861 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14862
edc5984d
AS
14863 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14864 * setjmp/setjmp.h: Mark functions as non-leaf.
14865 * setjmp/bits/setjmp2.h: Likewise.
14866 * stdlib/ucontext.h: Likewise.
14867
77cdc054
AS
148682011-11-10 Andreas Schwab <schwab@redhat.com>
14869
14870 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14871 (reused_arena): Don't check arena limit.
14872 (arena_get2): Atomically check arena limit.
14873
fe72eebd
UD
148742011-11-08 Ulrich Drepper <drepper@gmail.com>
14875
5f078c32
UD
14876 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14877 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14878
fe72eebd
UD
14879 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14880 instructions.
14881
ae1bc2fa
AS
148822011-11-07 Andreas Schwab <schwab@redhat.com>
14883
7583a88d
AS
14884 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14885 handler when locking.
14886
ae1bc2fa
AS
14887 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14888 Fix size of allocated buffer.
14889
10fb0bfa
AS
148902011-11-04 Andreas Schwab <schwab@redhat.com>
14891
998832a4
AS
14892 [BZ #10103]
14893 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14894 declarations for long double functions.
14895 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14896
10fb0bfa
AS
14897 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14898
3d7ba52b
AS
148992011-11-03 Andreas Schwab <schwab@redhat.com>
14900
a9ae54a1
AS
14901 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14902 installed.
14903
3d7ba52b
AS
14904 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14905 is disabled.
14906
bc8db248
ST
149072011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14908
14909 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14910
45b96dd6
AS
149112011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14912
647776f6
AS
14913 * include/alloca.h (stackinfo_alloca_round): Define.
14914 (extend_alloca): Use it.
14915 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14916 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14917 here.
14918
d91a8b93
AS
14919 * scripts/check-local-headers.sh: Ignore libaudit.h.
14920
45b96dd6
AS
14921 * nscd/Makefile (extra-objs): Make recursively expanded.
14922
432d41ce
UD
149232011-11-01 Ulrich Drepper <drepper@gmail.com>
14924
34372fc6
UD
14925 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14926 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14927
fadb59f8
UD
14928 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14929 * posix/tst-rfc3484-2.c: Likewise.
14930 * posix/tst-rfc3484-3.c: Likewise.
14931
78239589
UD
14932 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14933 process_vm_writev.
14934 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14935 process_vm_writev.
14936 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14937 process_vm_writev from libc using GLIBC_2.15 version.
14938
432d41ce
UD
14939 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14940
02f9c6cf
PP
149412011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14942
14943 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14944 stack usage.
14945
3a2c0242
UD
149462011-10-31 Ulrich Drepper <drepper@gmail.com>
14947
f4ec4833
UD
14948 [BZ #13367]
14949 * nss/getent.c (initgroups_keys): Show error message in case no group
14950 names are given.
14951
3a2c0242
UD
14952 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14953 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14954 __bump_nl_timestamp.
14955 * nscd/connections (nscd_init): When host database is served open
14956 netlink socket and request notification about configuration changes.
14957 (main_loop_poll): Track netlink file descriptor and bump timestamp
14958 in case data becomes available.
14959 (main_loop_epoll): Likewise.
14960 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14961 (database_pers_head): Add extra_data fileds.
14962 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14963 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14964 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14965 Adjust caller.
14966 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14967 in6ai data, call __free_in6ai.
14968 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14969 Add -DHAVE_NETLINK.
14970 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14971 interface information. Reuse previous data if netlink timestamp
14972 is not changed.
14973 (__bump_nl_timestamp): New function.
14974 (__free_in6ai): New function.
14975
636064eb
UD
149762011-10-30 Ulrich Drepper <drepper@gmail.com>
14977
14978 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14979 close_not_cancel_no_status here.
14980 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14981
9beb2334
UD
149822011-10-29 Ulrich Drepper <drepper@gmail.com>
14983
6ef76f3b
UD
14984 [BZ #13276]
14985 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14986 return value.
14987
0ffc4f3e 14988 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14989 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14990 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14991
cb95113e
UD
149922011-07-03 Andreas Jaeger <aj@suse.de>
14993
14994 [BZ #10709]
14995 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14996 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14997 * math/libm-test.inc (sin_test): Add test case.
14998
a1b560ff
UD
149992011-10-29 Ulrich Drepper <drepper@gmail.com>
15000
c9aaface
UD
15001 [BZ #13337]
15002 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15003 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15004
d272e7f1
UD
15005 * elf/chroot_canon.c (chroot_canon): Cleanups.
15006
1bc33071
UD
15007 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15008
1760874d
TJ
15009 [BZ #13335]
15010 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15011 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15012
51d91b18
UD
15013 * string/test-strchr.c: Make usable for strchrnul testing.
15014 * string/test-strchrnul.c: New file.
15015 * string/Makefile (strop-tests): Add strchrnul.
15016
a1b560ff 15017 * po/it.po: Update from translation team.
b611fb81 15018 * po/es.po: Likewise.
a1b560ff 15019
a5b81e1f
UD
150202011-10-28 Ulrich Drepper <drepper@gmail.com>
15021
fd52bc6d
UD
15022 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15023 the three constants needed as parameters. Drop the others.
15024 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15025 __m128i_strloadu_tolower.
52e4b9eb
UD
15026 Create and initialize variable zero and use it in all the places
15027 where _mm_setzero_si128 was used.
fd52bc6d 15028
a5b81e1f
UD
15029 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15030 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15031 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15032 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15033 anymore.
15034 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15035 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15036 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15037 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15038 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15039 __mpranred, __mptan.
15040 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15041 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15042 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15043 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15044 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15045 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15046 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15047 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15048 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15049
b4343346
AS
150502011-10-28 Andreas Schwab <schwab@redhat.com>
15051
0c92d8a8
AS
15052 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15053 redefine if SHARED.
15054 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15055
b4343346
AS
15056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15057 wide char related routines to wcsmbs subdir.
15058
3871f58f
AS
150592011-10-27 Andreas Schwab <schwab@redhat.com>
15060
15061 [BZ #13344]
15062 * misc/sys/cdefs.h (__THROWNL): Define.
15063 * posix/unistd.h: Use __THREADNL instead of __THREAD
15064 for memory synchronization functions.
15065
94d44d9f
RM
150662011-10-26 Roland McGrath <roland@hack.frob.com>
15067
21b64b15 15068 [BZ #13349]
94d44d9f
RM
15069 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15070 doesn't exist.
15071 * manual/stdio.texi (Obstack Streams): Node removed.
15072
f6ce9294
AS
150732011-10-26 Andreas Schwab <schwab@redhat.com>
15074
80479147
AS
15075 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15076 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15077 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15078
f6ce9294
AS
15079 * math/math_private.h (math_force_eval): Allow non-addressable
15080 arguments.
15081 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15082
618280a1
UD
150832011-10-25 Ulrich Drepper <drepper@gmail.com>
15084
e0016b11
UD
15085 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15086 file is not needed.
15087
15088 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15089 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15090 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15091 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15092 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15093 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15094 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15095 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15096 Add AVX variants.
15097 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15098 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15099 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15100 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15101 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15102 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15103 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15104 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15105 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15106 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15107 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15108 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15109 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15110 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15111 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15112 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15113 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15114 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15115 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15116
15117 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15118 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15119
618280a1
UD
15120 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15121 place. Use VEX encoding when compiling for AVX.
15122
37822576
AS
151232011-10-25 Andreas Schwab <schwab@redhat.com>
15124
1f1e1947
AS
15125 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15126 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15127
37822576
AS
15128 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15129
31ea014d
UD
151302011-10-25 Ulrich Drepper <drepper@gmail.com>
15131
d7826aa1 15132 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 15133 useless if() expression.
d7826aa1
UD
15134 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15135 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15136 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15137 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15138 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15139 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15140 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15141 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15142 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15143 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15144 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15145 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15146 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15147 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15148 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15149 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15150 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15151 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15152 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15153
31ea014d
UD
15154 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15155
16437fec
AS
151562011-10-25 Andreas Schwab <schwab@redhat.com>
15157
15158 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15159 condition.
15160 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15161
31d3cc00
UD
151622011-10-25 Ulrich Drepper <drepper@gmail.com>
15163
15164 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15165 .text section. Avoid duplicate constants.
15166 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15168 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15169 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15170 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15173 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15174 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15175 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15176 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15177 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15178 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15179 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15180 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15181 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15182 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15183 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15184 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15185 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15186 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15187 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15188 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15189 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15190 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15191 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15192 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15193 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15194 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15195 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15196 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15197 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15198 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15199 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15200 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15201 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15202 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15203 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15204 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15205 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15206 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15207 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15208 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15209 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15210 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15211
58985aa9
UD
152122011-10-24 Ulrich Drepper <drepper@gmail.com>
15213
202c9deb
UD
15214 * sysdeps/x86_64/dla.h: Move to ...
15215 * sysdeps/x86_64/fpu/dla.h: ...here.
15216 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15217 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 15218
af968f62
UD
15219 * config.make.in: Add have-mfma4 entry.
15220 * configure.in: Substitute libc_cv_cc_fma4.
15221 * math/Makefile (dbl-only-routines): Add sincostab.
15222 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15223 Use __sincostab not sincos.
15224 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15225 name is a macro.
15226 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15227 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15229 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15230 using __copysign.
15231 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15232 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15233 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15234 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15235 and __inv.
15236 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15237 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15238 __copysign.
15239 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15240 define aliases when function name is a macro.
15241 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15242 sysdeps/ieee754/dbl-64/sincos.tbl.
15243 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15244 fma4-enabled routines.
15245 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15246 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15247 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15248 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15249 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15250 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15251 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15252 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15253 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15254 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15255 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15256 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15257 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15258 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15259 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15260 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15261 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15262 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15263 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15264 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15265 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15266 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15267 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15268 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15269 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15270 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15271 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15272 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15273 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15274 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15275
58985aa9
UD
15276 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15277 rename.
15278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15279 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15280 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15281 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15282 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15283 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15284 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15285 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15286
a201fbcf
AS
152872011-10-24 Andreas Schwab <schwab@redhat.com>
15288
15289 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15290
fc2ee42a
LD
152912011-10-23 Ulrich Drepper <drepper@gmail.com>
15292
bb3129bd
UD
15293 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15294
0275fff8
UD
15295 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15296 prediction.
15297 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15298
2fa2ae85
UD
15299 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15300 Remove unused variable magic_bits.
15301 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15302
fc2ee42a
LD
15303 * string/strnlen.c: Define and use STRNLEN macro.
15304 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15305 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15306 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15307 * wcsmbs/wcslen.c: Define and use WCSLEN.
15308 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15309 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15310 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15311 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15312 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15313 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15314 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15315
ce7dd29f
LD
153162011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15317
15318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15319 strnlen-sse2-no-bsf.
15320 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15321 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15322 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15323 Add strnlen support.
15324 (USE_AS_STRNLEN): New macro.
15325 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15326 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15327 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15328 * sysdeps/x86_64/wcslen.S: New file.
15329
979c70a3
MZ
153302011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15331
15332 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15333 XMM-moves are used for copying on small sizes.
15334
2d09f82f
LD
153352011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15336
15337 * wcsmbs/Makefile (strop-tests): Add wcschr.
15338 * wcsmbs/test-wcschr.c: New file.
15339 * string/test-strchr.c: Update.
15340 Add wcschr support.
15341 (WIDE): New macro.
15342
619fccca
LD
153432011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15344
2d09f82f 15345 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
15346 * wcsmbs/test-wcslen.c: New file.
15347 * string/test-strlen.c: Update.
15348 Add wcslen support.
15349 (WIDE): New macro.
15350
09f699ea
UD
153512011-10-23 Ulrich Drepper <drepper@gmail.com>
15352
15353 * po/it.po: Update from translation team.
15354
95584d3b
LD
153552011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15356
15357 * sysdeps/x86_64/wcscmp.S: Update.
15358 Fix wrong comparison semantics.
15359 wcscmp shall use signed comparison not unsigned.
15360 Don't use substraction to avoid overflow bug.
15361 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15362 * wcsmbc/wcscmp.c: Likewise.
15363 * string/test-strcmp.c: Likewise.
15364 Add new tests to check cases with negative values.
15365
c8b3296b
UD
153662011-10-23 Ulrich Drepper <drepper@gmail.com>
15367
15368 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15369 * sysdeps/x86_64/dla.h: ...here. New file.
15370 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15371 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15373 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15375 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15376 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15377 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15378 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15379
246ad57a
AS
153802011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15381
15382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15383 __ynl_finite aliases.
15384
a1a87169
UD
153852011-10-22 Ulrich Drepper <drepper@gmail.com>
15386
0d355eb7
UD
15387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15388
a1a87169
UD
15389 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15390 define DLA_FMA.
15391 [DLA_FMA] (EMULV): Use DLA_FMA.
15392 [DLA_FMA] (MUL12): Use EMULV.
15393 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15394 that are not needed.
15395 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15397 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15398 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15399 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15401 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15402
ee2aafe0
AS
154032011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15404
15405 * math/s_nan.c: Undef __nan.
15406 * math/s_nanf.c: Undef __nanf.
15407 * math/s_nanl.c: Undef __nanl.
15408 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15409 "math_private.h".
15410
bc62c2fb
UD
154112011-10-22 Ulrich Drepper <drepper@gmail.com>
15412
77425c63
UD
15413 * math/s_catan.c: Add branch predictions.
15414 * math/s_catanf.c: Likewise.
15415 * math/s_catanh.c: Likewise.
15416 * math/s_catanhf.c: Likewise.
15417 * math/s_catanhl.c: Likewise.
15418 * math/s_catanl.c: Likewise.
15419 * math/s_cexp.c: Likewise.
15420 * math/s_cexpf.c: Likewise.
15421 * math/s_cexpl.c: Likewise.
15422 * math/s_clog.c: Likewise.
15423 * math/s_clog10.c: Likewise.
15424 * math/s_clog10f.c: Likewise.
15425 * math/s_clog10l.c: Likewise.
15426 * math/s_clogf.c: Likewise.
15427 * math/s_clogl.c: Likewise.
15428 * math/s_csqrt.c: Likewise.
15429 * math/s_csqrtf.c: Likewise.
15430 * math/s_csqrtl.c: Likewise.
15431 * math/s_ctanf.c: Likewise.
15432 * math/s_ctanh.c: Likewise.
15433 * math/s_ctanhf.c: Likewise.
15434 * math/s_ctanhl.c: Likewise.
15435 * math/s_ctanl.c: Likewise.
15436
bc62c2fb
UD
15437 * math/math_private.h: Define __nan, __nanf, __nanl.
15438 * math/s_cacosh.c: Include <math_private.h>.
15439 * math/s_cacoshl.c: Likewise.
15440 * math/s_casinh.c: Likewise.
15441 * math/s_casinhf.c: Likewise.
15442 * math/s_casinhl.c: Likewise.
15443 * math/s_ccos.c: Rely entire on ccosh.
15444 * math/s_ccosf.c: Rely entire on ccoshf.
15445 * math/s_ccosl.c: Rely entirely on ccoshl.
15446 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15447 Remove tests for FE_INVALID.
15448 * math/s_ccoshf.c: Likewise.
15449 * math/s_ccoshl.c: Likewise.
15450 * math/s_csin.c: Likewise.
15451 * math/s_csinf.c: Likewise.
15452 * math/s_csinh.c Likewise.
15453 * math/s_csinhf.c: Likewise.
15454 * math/s_csinhl.c: Likewise.
15455 * math/s_csinl.c: Likewise.
15456 * math/s_ctan.c: Likewise.
15457 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15458 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15459 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15460
8ec250a4
UD
154612011-10-21 Ulrich Drepper <drepper@gmail.com>
15462
c196fed8
UD
15463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15464 compilation problems.
15465
8ec250a4
UD
15466 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15467 __builtin_expect.
15468
8d4f46c6
UD
154692011-10-20 Ulrich Drepper <drepper@gmail.com>
15470
ed72b654
UD
15471 * sysdeps/i386/configure.in: Test for -mfma4 option.
15472 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15473 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15474 COMMON_CPUID_INDEX_80000001.
15475 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15476 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15477 use it if FMA3 is not supported.
15478 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15479
8d4f46c6
UD
15480 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15481 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15482
d45c60c2
AS
154832011-10-20 Andreas Schwab <schwab@redhat.com>
15484
15485 [BZ #12892]
15486 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15487 it would create a cycle with a link time dependency.
15488
d9a4d2ab
UD
154892011-10-19 Ulrich Drepper <drepper@gmail.com>
15490
855d1560
UD
15491 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15492 instruction.
15493 * string/Makefile (strop-tests): Add rawmemchr.
15494 * string/test-rawmemchr.c: New file.
15495
d9a4d2ab
UD
15496 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15497 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15498 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15499 when compiling str{,n}casecmp and when AVX is available. Hook up
15500 new optimized code in initializers.
15501
8f3b1ffe
AS
155022011-10-19 Andreas Schwab <schwab@redhat.com>
15503
15504 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15505 __feraiseexcept instead of feraiseexcept.
15506
d38f1dba
UD
155072011-10-18 Ulrich Drepper <drepper@gmail.com>
15508
d9a8d0ab
UD
15509 * math/math_private.h: Define defaults for libc_fetestexcept and
15510 libc_feupdateenv.
15511 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15512 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15513 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15514 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15515 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15516 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15517 libc_fetestexcept and libc_feupdateenv.
15518
4855e3dd
UD
15519 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15520 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15521 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15522 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15523 libc_feholdexcept_setround.
15524
581d30e3
UD
15525 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15526 Add s_nearbyint-c and s_nearbyintf-c.
15527 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15528 nearbyintf inlines.
15529 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15530 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15531 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15532 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15533
d38f1dba
UD
15534 * math/math_private.h: Define defaults for libc_fegetround,
15535 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15536 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15537 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15538 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15539 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15540 standard functions.
15541 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15542 Remove comments and hacks for old compiler versions.
15543 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15544 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15545 libc_feholdexceptl.
15546
caa6c9d8
AS
155472011-10-18 Andreas Schwab <schwab@redhat.com>
15548
15549 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15550 (__feraiseexcept_renamed): Add __NTH.
15551 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15552 namespace violations.
15553
97c066e6
UD
155542011-10-17 Ulrich Drepper <drepper@gmail.com>
15555
99ce7b04
UD
15556 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15557
1004d182
UD
15558 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15559
228a984d
UD
15560 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15561 recently added interfaces.
15562 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15563
c8553a6a
UD
15564 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15565 about macro parameter expansion.
15566
ed22dcf6
UD
15567 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15568 __NO_MATH_INLINES is defined. Cleanups.
15569
15570 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15571 and __floorf is target has SSE4.1.
15572 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15573 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15574 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15575 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15576
b171c137
UD
15577 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15578 name.
15579 (floorf): Likewise.
15580
97c066e6
UD
15581 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15582
629f62ef
AS
155832011-10-17 Andreas Schwab <schwab@redhat.com>
15584
49a43d80
AS
15585 * misc/sys/cdefs.h: Fix last change.
15586
629f62ef
AS
15587 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15588 database lookup.
15589
e453f6cd
UD
155902011-10-16 Ulrich Drepper <drepper@gmail.com>
15591
aa78043a
UD
15592 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15593
ad0f5cad
UD
15594 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15595 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15596 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15597 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15598 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15599 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15600 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15601 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15602 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15603 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15604 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15605 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15606 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15607 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15608 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15609 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15610 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15611 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15612 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15613 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15614 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15615 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15616
15617 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15618 ceil, ceilf, floor, floorf.
15619
15620 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15621 Perform IRELATIVE relocations last.
15622
e453f6cd
UD
15623 * elf/do-rel.h: Add another parameter nrelative, replacing the
15624 local variable with the same name. Change name of the function
15625 to end in Rel or Rela (uppercase).
15626 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15627 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15628 elf_dynamic_do_##reloc function.
15629
fd5bdc09
UD
156302011-10-15 Ulrich Drepper <drepper@gmail.com>
15631
79b195b5
UD
15632 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15633 is sufficient, at least on modern CPUs.
15634
d4a28569
UD
15635 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15636
b61099b5
UD
15637 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15638 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15639
bcf01e6d
UD
15640 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15641 __expl_finite.
15642 * math/bits/math-finite.h: Add entries for exp.
15643 * math/e_expl.c: Add __*_finite alias.
15644 * sysdeps/i386/fpu/e_exp.S: Likewise.
15645 * sysdeps/i386/fpu/e_expf.S: Likewise.
15646 * sysdeps/i386/fpu/e_expl.c: Likewise.
15647 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15648 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15649 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15650 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15651 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15652 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15653 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15654
ba1a0d59
UD
15655 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15656 is sufficient, at least on modern CPUs.
15657
fd5bdc09
UD
15658 * ctype/ctype-info.c (__ctype_init): Define.
15659 * include/ctype.h (__ctype_init): Declare.
15660 (__ctype_b_loc): The variable is always initialized.
15661 (__ctype_toupper_loc): Likewise.
15662 (__ctype_tolower_loc): Likewise.
15663 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15664 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15665
7872cfb0
AS
156662011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15667
b468825a
AS
15668 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15669
7872cfb0
AS
15670 * configure.in: Also look in $cxxmachine/include for C++ system
15671 headers.
15672
be13f7bf
LD
156732011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15674
15675 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15676 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15677 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15678 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15679 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15680 (USE_AS_WMEMCMP): New macro.
15681 Fixing indents.
15682 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15683 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15684 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15685 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15686 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15687 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15688 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15689 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15690 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15691 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15692 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15693 (USE_AS_WMEMCMP): New macro.
15694 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15695 * sysdeps/string/test-memcmp.c: Update.
15696 Fix simple_wmemcmp.
15697 Add new tests.
15698 * wcsmbs/wmemcmp.c: Update.
15699 (WMEMCMP): New macro.
15700 Fix overflow bug.
15701
556a2007
AJ
157022011-10-12 Andreas Jaeger <aj@suse.de>
15703
15704 [BZ #13268]
15705 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15706
538faaa7
UD
157072011-10-15 Ulrich Drepper <drepper@gmail.com>
15708
ab6737ff
UD
15709 * libio/iofwide.c (do_length): Avoid warning.
15710
538faaa7
UD
15711 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15712
396a21b1
UD
157132011-10-14 Ulrich Drepper <drepper@gmail.com>
15714
cdf2901f
UD
15715 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15716
38ad40ce
UD
15717 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15718 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15719 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15720 * sysdeps/i386/i686/fpu/e_log.S: New file.
15721 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15722 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15723
396a21b1
UD
15724 * ctype/ctype.h: Add support for inlined isXXX functions when
15725 compiling C++ code.
15726
6b1f68c9
AS
157272011-10-14 Andreas Schwab <schwab@redhat.com>
15728
349290c0
AS
15729 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15730
6b1f68c9
AS
15731 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15732
f2282d42
RM
157332011-10-13 Roland McGrath <roland@hack.frob.com>
15734
15735 [BZ #13291]
15736 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15737
5298ffa8
AS
157382011-10-13 Andreas Schwab <schwab@redhat.com>
15739
714fad23
AS
15740 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15741 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15742 feraiseexcept.
15743
81dcc7fb
AS
15744 * sysdeps/x86_64/memrchr.S: Check for zero size.
15745
5298ffa8
AS
15746 * string/stratcliff.c: Add memrchr tests.
15747
951fbcec
LD
157482011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15749
15750 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15751 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15752 rawmemchr-sse2 rawmemchr-sse2-bsf.
15753 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15754 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15755 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15756 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15757 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15758 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15759 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15760 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15761 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15762 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15763 * string/memrchr.c (MEMRCHR): New macro.
15764
0ac5ae23
UD
157652011-10-12 Ulrich Drepper <drepper@gmail.com>
15766
15767 Add integration with gcc's -ffinite-math-only and optimize wrapper
15768 functions in libm.
15769 * Versions.def: Define GLIBC_2.15 version for libm.
15770 * math/Makefile (headers): Add bits/math-finite.h.
15771 * math/bits/math-finite.h: New file.
15772 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15773 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15774 * math/e_acoshl.c: Add __*_finite alias.
15775 * math/e_acosl.c: Likewise.
15776 * math/e_asinl.c: Likewise.
15777 * math/e_atan2l.c: Likewise.
15778 * math/e_atanhl.c: Likewise.
15779 * math/e_coshl.c: Likewise.
15780 * math/e_exp10.c: Likewise.
15781 * math/e_exp10f.c: Likewise.
15782 * math/e_exp10l.c: Likewise.
15783 * math/e_exp2l.c: Likewise.
15784 * math/e_fmodl.c: Likewise.
15785 * math/e_gammal_r.c: Likewise.
15786 * math/e_hypotl.c: Likewise.
15787 * math/e_j0l.c: Likewise.
15788 * math/e_j1l.c: Likewise.
15789 * math/e_jnl.c: Likewise.
15790 * math/e_lgammal_r.c: Likewise.
15791 * math/e_log10l.c: Likewise.
15792 * math/e_log2l.c: Likewise.
15793 * math/e_logl.c: Likewise.
15794 * math/e_powl.c: Likewise.
15795 * math/e_sinhl.c: Likewise.
15796 * math/e_sqrtl.c: Likewise.
15797 * math/e_scalb.c: Completely rewritten and optimized.
15798 * math/e_scalbf.c: Likewise.
15799 * math/e_scalbl.c: Likewise.
15800 * math/w_acos.c: Likewise.
15801 * math/w_acosf.c: Likewise.
15802 * math/w_acosl.c: Likewise.
15803 * math/w_acosh.c: Likewise.
15804 * math/w_acoshf.c: Likewise.
15805 * math/w_acoshl.c: Likewise.
15806 * math/w_asin.c: Likewise.
15807 * math/w_asinf.c: Likewise.
15808 * math/w_asinl.c: Likewise.
15809 * math/w_atan2.c: Likewise.
15810 * math/w_atan2f.c: Likewise.
15811 * math/w_atan2l.c: Likewise.
15812 * math/w_atanh.c: Likewise.
15813 * math/w_atanhf.c: Likewise.
15814 * math/w_atanhl.c: Likewise.
15815 * math/w_exp10.c: Likewise.
15816 * math/w_exp10f.c: Likewise.
15817 * math/w_exp10l.c: Likewise.
15818 * math/w_fmod.c: Likewise.
15819 * math/w_fmodf.c: Likewise.
15820 * math/w_fmodl.c: Likewise.
15821 * math/w_j0.c: Likewise.
15822 * math/w_j0f.c: Likewise.
15823 * math/w_j0l.c: Likewise.
15824 * math/w_j1.c: Likewise.
15825 * math/w_j1f.c: Likewise.
15826 * math/w_j1l.c: Likewise.
15827 * math/w_jn.c: Likewise.
15828 * math/w_jnf.c: Likewise.
15829 * math/w_log.c: Likewise.
15830 * math/w_logf.c: Likewise.
15831 * math/w_logl.c: Likewise.
15832 * math/w_log10.c: Likewise.
15833 * math/w_log10f.c: Likewise.
15834 * math/w_log10l.c: Likewise.
15835 * math/w_log2.c: Likewise.
15836 * math/w_log2f.c: Likewise.
15837 * math/w_log2l.c: Likewise.
15838 * math/w_pow.c: Likewise.
15839 * math/w_powf.c: Likewise.
15840 * math/w_powl.c: Likewise.
15841 * math/w_remainder.c: Likewise.
15842 * math/w_remainderf.c: Likewise.
15843 * math/w_remainderl.c: Likewise.
15844 * math/w_scalb.c: Likewise.
15845 * math/w_scalbf.c: Likewise.
15846 * math/w_scalbl.c: Likewise.
15847 * math/w_sqrt.c: Likewise.
15848 * math/w_sqrtf.c: Likewise.
15849 * math/w_sqrtl.c: Likewise.
15850 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15851 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15852 used.
15853 * math/math_private.h: Declare __kernel_standard_f.
15854 * math/w_cosh.c: Remove cruft and optimize a bit.
15855 * math/w_coshf.c: Likewise.
15856 * math/w_coshl.c: Likewise.
15857 * math/w_exp2.c: Likewise.
15858 * math/w_exp2f.c: Likewise.
15859 * math/w_exp2l.c: Likewise.
15860 * math/w_hypot.c: Likewise.
15861 * math/w_hypotf.c: Likewise.
15862 * math/w_hypotl.c: Likewise.
15863 * math/w_lgamma.c: Likewise.
15864 * math/w_lgamma_r.c: Likewise.
15865 * math/w_lgammaf.c: Likewise.
15866 * math/w_lgammaf_r.c: Likewise.
15867 * math/w_lgammal.c: Likewise.
15868 * math/w_lgammal_r.c: Likewise.
15869 * math/w_sinh.c: Likewise.
15870 * math/w_sinhf.c: Likewise.
15871 * math/w_sinhl.c: Likewise.
15872 * math/w_tgamma.c: Likewise.
15873 * math/w_tgammaf.c: Likewise.
15874 * math/w_tgammal.c: Likewise.
15875 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15876 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15877 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15878 Minor optimizations. Pretty printing. Remove cruft.
15879 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15880 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15881 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15882 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15883 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15884 * sysdeps/i386/fpu/e_asin.S: Likewise.
15885 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15886 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15887 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15888 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15889 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15890 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15891 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15892 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15893 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15894 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15895 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15896 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15897 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15898 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15899 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15900 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15901 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15902 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15903 * sysdeps/i386/fpu/e_log.S: Likewise.
15904 * sysdeps/i386/fpu/e_log10.S: Likewise.
15905 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15906 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15907 * sysdeps/i386/fpu/e_log2.S: Likewise.
15908 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15909 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15910 * sysdeps/i386/fpu/e_logf.S: Likewise.
15911 * sysdeps/i386/fpu/e_logl.S: Likewise.
15912 * sysdeps/i386/fpu/e_pow.S: Likewise.
15913 * sysdeps/i386/fpu/e_powf.S: Likewise.
15914 * sysdeps/i386/fpu/e_powl.S: Likewise.
15915 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15916 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15917 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15918 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15919 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15920 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15921 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15922 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15923 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15924 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15925 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15926 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15927 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15928 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15929 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15930 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15931 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15932 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15933 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15934 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15935 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15936 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15937 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15938 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15939 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15940 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15941 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15942 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15943 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15944 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15945 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15946 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15947 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15948 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15949 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15950 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15951 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15952 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15953 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15954 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15955 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15956 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15957 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15958 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15959 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15960 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15961 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15962 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15963 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15964 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15965 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15966 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15967 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15968 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15969 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15970 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15971 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15972 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15974 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15975 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15976 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15977 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15979 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15980 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15981 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15982 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15995 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15996 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15998 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16001 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16002 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16004 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16005 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16006 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16007 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16008 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16009 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16010 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16011 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16012 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16013 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16014 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16015 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16016 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16017 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16018 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16019 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16020 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16021 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16022 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16023 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16024 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16025 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16026 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16027 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16028 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16029 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16030 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16031 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16032 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16033 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16034 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16035 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16036 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16037 (__isnanf): Likewise.
16038 (__isinf_ns): Likewise.
16039 (__isinf_nsf): Likewise.
16040 (__finite): Likewise.
16041 (__finitef): Likewise.
16042 (__ieee754_sqrt): Define as macro.
16043 (__ieee754_sqrtf): Define as macro.
16044 (__ieee754_sqrtl): Define as macro.
16045 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16046 inlined copy.
16047 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16048 __FINITE_MATH_ONLY__ consistent.
16049 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16050
12cc2fcd
AS
160512011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16052
a843a204
AS
16053 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16054 of rawmemchr.
16055
12cc2fcd
AS
16056 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16057
c853acd5
UD
160582011-10-09 Ulrich Drepper <drepper@gmail.com>
16059
16060 * po/ja.po: Update from translation team.
16061
c658d255
RM
160622011-10-08 Roland McGrath <roland@hack.frob.com>
16063
110946e4
RM
16064 * locale/programs/locarchive.c (prepare_address_space): New function.
16065 (create_archive, enlarge_archive, open_archive): Use it.
16066
50604220
RM
16067 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16068 inside [SHARED], where it is used.
16069
c658d255
RM
16070 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16071
16072 * nss/getent.c (netgroup_keys): Remove unused variable.
16073 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16074
6a621eb7
UD
160752011-10-08 Ulrich Drepper <drepper@gmail.com>
16076
7edb55ce
UD
16077 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16078 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16079 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16080 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16081 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16082 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16083 * math/Makefile (libm-calls): Add s_isinf_ns.
16084 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16085 * math/multc3.c: Likewise.
16086 * math/s_casin.c: Likewise.
16087 * math/s_casinf.c: Likewise.
16088 * math/s_casinl.c: Likewise.
16089 * math/s_ccos.c: Likewise.
16090 * math/s_ccosf.c: Likewise.
16091 * math/s_ccosl.c: Likewise.
16092 * math/s_ctan.c: Likewise.
16093 * math/s_ctanf.c: Likewise.
16094 * math/s_ctanh.c: Likewise.
16095 * math/s_ctanhf.c: Likewise.
16096 * math/s_ctanhl.c: Likewise.
16097 * math/s_ctanl.c: Likewise.
16098 * math/w_fmod.c: Likewise.
16099 * math/w_fmodf.c: Likewise.
16100 * math/w_fmodl.c: Likewise.
16101 * math/w_remainder.c: Likewise.
16102 * math/w_remainderf.c: Likewise.
16103 * math/w_remainderl.c: Likewise.
16104 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16105 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16106 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16107 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16108 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16109 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16110 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16111 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16112
187da0ae
UD
16113 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16114 of the number.
16115 * stdio-common/printf_fphex.c: Likewise.
16116 * stdio-common/printf_size.c: Likewise.
16117
9277c064
UD
16118 * math/e_exp10.c: Include math_private.h using <...> not "...".
16119 * math/e_exp10f.c: Likewise.
16120 * math/e_exp10l.c: Likewise.
16121 * math/e_exp2l.c: Likewise.
16122 * math/e_j0l.c: Likewise.
16123 * math/e_j1l.c: Likewise.
16124 * math/e_jnl.c: Likewise.
16125 * math/e_lgammal_r.c: Likewise.
16126 * math/e_rem_pio2l.c: Likewise.
16127 * math/e_scalb.c: Likewise.
16128 * math/e_scalbf.c: Likewise.
16129 * math/e_scalbl.c: Likewise.
16130 * math/k_cosl.c: Likewise.
16131 * math/k_sinl.c: Likewise.
16132 * math/k_tanl.c: Likewise.
16133 * math/s_cacoshf.c: Likewise.
16134 * math/s_catan.c: Likewise.
16135 * math/s_catanf.c: Likewise.
16136 * math/s_catanh.c: Likewise.
16137 * math/s_catanhf.c: Likewise.
16138 * math/s_catanhl.c: Likewise.
16139 * math/s_catanl.c: Likewise.
16140 * math/s_ccosh.c: Likewise.
16141 * math/s_ccoshf.c: Likewise.
16142 * math/s_ccoshl.c: Likewise.
16143 * math/s_cexp.c: Likewise.
16144 * math/s_cexpf.c: Likewise.
16145 * math/s_cexpl.c: Likewise.
16146 * math/s_clog.c: Likewise.
16147 * math/s_clog10.c: Likewise.
16148 * math/s_clog10f.c: Likewise.
16149 * math/s_clog10l.c: Likewise.
16150 * math/s_clogf.c: Likewise.
16151 * math/s_clogl.c: Likewise.
16152 * math/s_csin.c: Likewise.
16153 * math/s_csinf.c: Likewise.
16154 * math/s_csinh.c: Likewise.
16155 * math/s_csinhf.c: Likewise.
16156 * math/s_csinhl.c: Likewise.
16157 * math/s_csinl.c: Likewise.
16158 * math/s_csqrt.c: Likewise.
16159 * math/s_csqrtf.c: Likewise.
16160 * math/s_csqrtl.c: Likewise.
16161 * math/s_ctan.c: Likewise.
16162 * math/s_ctanf.c: Likewise.
16163 * math/s_ctanh.c: Likewise.
16164 * math/s_ctanhf.c: Likewise.
16165 * math/s_ctanhl.c: Likewise.
16166 * math/s_ctanl.c: Likewise.
16167 * math/s_ldexp.c: Likewise.
16168 * math/s_ldexpf.c: Likewise.
16169 * math/s_ldexpl.c: Likewise.
16170 * math/s_significand.c: Likewise.
16171 * math/s_significandf.c: Likewise.
16172 * math/s_significandl.c: Likewise.
16173 * math/w_acos.c: Likewise.
16174 * math/w_acosf.c: Likewise.
16175 * math/w_acosh.c: Likewise.
16176 * math/w_acoshf.c: Likewise.
16177 * math/w_acoshl.c: Likewise.
16178 * math/w_acosl.c: Likewise.
16179 * math/w_asin.c: Likewise.
16180 * math/w_asinf.c: Likewise.
16181 * math/w_asinl.c: Likewise.
16182 * math/w_atan2.c: Likewise.
16183 * math/w_atan2f.c: Likewise.
16184 * math/w_atan2l.c: Likewise.
16185 * math/w_atanh.c: Likewise.
16186 * math/w_atanhf.c: Likewise.
16187 * math/w_atanhl.c: Likewise.
16188 * math/w_cosh.c: Likewise.
16189 * math/w_coshf.c: Likewise.
16190 * math/w_coshl.c: Likewise.
16191 * math/w_dremf.c: Likewise.
16192 * math/w_exp10.c: Likewise.
16193 * math/w_exp10f.c: Likewise.
16194 * math/w_exp10l.c: Likewise.
16195 * math/w_exp2.c: Likewise.
16196 * math/w_exp2f.c: Likewise.
16197 * math/w_fmod.c: Likewise.
16198 * math/w_fmodf.c: Likewise.
16199 * math/w_fmodl.c: Likewise.
16200 * math/w_hypot.c: Likewise.
16201 * math/w_hypotf.c: Likewise.
16202 * math/w_hypotl.c: Likewise.
16203 * math/w_j0.c: Likewise.
16204 * math/w_j0f.c: Likewise.
16205 * math/w_j0l.c: Likewise.
16206 * math/w_j1.c: Likewise.
16207 * math/w_j1f.c: Likewise.
16208 * math/w_j1l.c: Likewise.
16209 * math/w_jn.c: Likewise.
16210 * math/w_jnf.c: Likewise.
16211 * math/w_jnl.c: Likewise.
16212 * math/w_lgamma.c: Likewise.
16213 * math/w_lgamma_r.c: Likewise.
16214 * math/w_lgammaf.c: Likewise.
16215 * math/w_lgammaf_r.c: Likewise.
16216 * math/w_lgammal.c: Likewise.
16217 * math/w_lgammal_r.c: Likewise.
16218 * math/w_log.c: Likewise.
16219 * math/w_log10.c: Likewise.
16220 * math/w_log10f.c: Likewise.
16221 * math/w_log10l.c: Likewise.
16222 * math/w_log2.c: Likewise.
16223 * math/w_log2f.c: Likewise.
16224 * math/w_log2l.c: Likewise.
16225 * math/w_logf.c: Likewise.
16226 * math/w_logl.c: Likewise.
16227 * math/w_pow.c: Likewise.
16228 * math/w_powf.c: Likewise.
16229 * math/w_powl.c: Likewise.
16230 * math/w_remainder.c: Likewise.
16231 * math/w_remainderf.c: Likewise.
16232 * math/w_remainderl.c: Likewise.
16233 * math/w_scalb.c: Likewise.
16234 * math/w_scalbf.c: Likewise.
16235 * math/w_scalbl.c: Likewise.
16236 * math/w_sinh.c: Likewise.
16237 * math/w_sinhf.c: Likewise.
16238 * math/w_sinhl.c: Likewise.
16239 * math/w_sqrt.c: Likewise.
16240 * math/w_sqrtf.c: Likewise.
16241 * math/w_sqrtl.c: Likewise.
16242 * math/w_tgamma.c: Likewise.
16243 * math/w_tgammaf.c: Likewise.
16244 * math/w_tgammal.c: Likewise.
16245
6a621eb7
UD
16246 * po/ja.po: Update from translation team.
16247
bf582445
AJ
162482011-09-29 Andreas Jaeger <aj@suse.de>
16249
f9efbf3a
AJ
16250 [BZ #13179]
16251 * sunrpc/netname.c (netname2host): Fix logic.
16252
bf582445
AJ
16253 [BZ #6779]
16254 [BZ #6783]
16255 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16256 correctly.
16257 * math/w_remainder.c (__remainder): Likewise.
16258 * math/w_remainderf.c (__remainderf): Likewise.
16259 * math/libm-test.inc (remainder_test): Add test cases.
16260
48693bea
AK
162612011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16262
16263 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16264 sdiv_qrnnd.
16265
42622229
LD
162662011-10-07 Ulrich Drepper <drepper@gmail.com>
16267
16268 * string/test-memcmp.c: Avoid unncessary #defines.
16269 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16270
093ecf92
LD
162712011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16272
16273 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16274 Use new sse2 version for core i3 - i7 as it's faster
16275 than sse42 version.
16276 (bit_Prefer_PMINUB_for_stringop): New.
16277 * sysdeps/x86_64/rawmemchr.S: Update.
16278 Replace with faster SSE2 version.
16279 * sysdeps/x86_64/memrchr.S: New file.
16280 * sysdeps/x86_64/memchr.S: Update.
16281 Replace with faster SSE2 version.
16282
fde56e5c
MP
162832011-09-12 Marek Polacek <mpolacek@redhat.com>
16284
16285 * elf/dl-load.c (lose): Add cast to avoid warning.
16286
21fd49a9
UD
162872011-10-07 Ulrich Drepper <drepper@gmail.com>
16288
5a06e643
UD
16289 * po/ca.po: Update from translation team.
16290
684ae515
UD
16291 * inet/getnetgrent_r.c: Hook up nscd.
16292 * nscd/Makefile (routines): Add nscd_netgroup.
16293 (nscd-modules): Add netgroupcache.
16294 (CFLAGS-netgroupcache.c): Define.
16295 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16296 (cache_search): Add const to second parameter.
16297 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16298 INNETGR.
16299 (dbs): Add netgrdb entry.
16300 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16301 (verify_persistent_db): Handle netgrdb.
16302 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16303 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16304 GETFDNETGR.
16305 (netgroup_response_header): Define.
16306 (innetgroup_response_header): Define.
16307 (datahead): Add netgroup_response_header and innetgroup_response_header
16308 elements.
16309 * nscd/nscd.conf: Add entries for netgroup cache.
16310 * nscd/nscd.h (dbtype): Add netgrdb.
16311 (_PATH_NSCD_NETGROUP_DB): Define.
16312 (netgroup_iov_disabled): Declare.
16313 (xmalloc, xcalloc, xrealloc): Move declarations here.
16314 (cache_search): Adjust prototype.
16315 Add netgroup-related prototypes.
16316 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16317 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16318 (__nscd_innetgr): Declare.
16319 * nscd/selinux.c (perms): Use access_vector_t as element type and
16320 add netgroup-related initializers.
16321 * nscd/netgroupcache.c: New file.
16322 * nscd/nscd_netgroup.c: New file.
16323 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16324 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16325 For four parameters use innetgr.
16326 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16327 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16328 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16329 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16330
21fd49a9
UD
16331 * nscd/connections.c (register_traced_file): Don't register file
16332 for disabled databases.
16333
054c0457
UD
163342011-10-06 Ulrich Drepper <drepper@gmail.com>
16335
32b63198
UD
16336 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16337
054c0457
UD
16338 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16339 from tree and freeing node.
16340
64031225
JO
163412011-09-25 Jiri Olsa <jolsa@redhat.com>
16342
16343 * nss/nsswitch.c (__nss_database_lookup): Handle
16344 nss_parse_service_list out of memory case.
16345
0490345c
JO
163462011-09-15 Jiri Olsa <jolsa@redhat.com>
16347
16348 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16349 out of memory case.
16350
3a62d00d
AS
163512011-10-04 Andreas Schwab <schwab@redhat.com>
16352
16353 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16354 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16355 pass it down.
16356 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16357 elf_machine_rela, elf_machine_lazy_rel.
16358 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16359 (ELF_DYNAMIC_DO_REL): Likewise.
16360 (ELF_DYNAMIC_DO_RELA): Likewise.
16361 (ELF_DYNAMIC_RELOCATE): Likewise.
16362 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16363 to ELF_DYNAMIC_DO_REL.
16364 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16365 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16366 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16367 elf_machine_rela.
16368 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16369 skip_ifunc, don't call ifunc function if non-zero.
16370 (elf_machine_rela): Likewise.
16371 (elf_machine_lazy_rel): Likewise.
16372 (elf_machine_lazy_rela): Likewise.
16373 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16374 (elf_machine_lazy_rel): Likewise.
16375 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16376 Likewise.
16377 (elf_machine_lazy_rel): Likewise.
16378 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16379 Likewise.
16380 (elf_machine_lazy_rel): Likewise.
16381 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16382 (elf_machine_lazy_rel): Likewise.
16383 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16384 (elf_machine_lazy_rel): Likewise.
16385 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16386 (elf_machine_lazy_rel): Likewise.
16387 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16388 (elf_machine_lazy_rel): Likewise.
16389 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16390 (elf_machine_lazy_rel): Likewise.
16391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16392 (elf_machine_lazy_rel): Likewise.
16393
68577918
UD
163942011-09-28 Ulrich Drepper <drepper@gmail.com>
16395
16396 * nss/nss_files/files-init.c (_nss_files_init): Use static
16397 initialization for all the *_traced_file variables.
16398
68822d74
AS
163992011-09-28 Andreas Schwab <schwab@redhat.com>
16400
16401 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16402
2056100b
RM
164032011-09-27 Roland McGrath <roland@hack.frob.com>
16404
16405 [BZ #13226]
16406 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16407
32c76b63
AS
164082011-09-27 Andreas Schwab <schwab@redhat.com>
16409
16410 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16411 Reread the line before reparsing it.
16412
bf972c9d
AS
164132011-09-26 Andreas Schwab <schwab@redhat.com>
16414
16415 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16416
e057a1b5
JM
164172011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16418 Maxim Kuvyrkov <maxim@codesourcery.com>
16419 Joseph Myers <joseph@codesourcery.com>
16420
16421 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16422 if needed for __stack_chk_guard.
16423
bc7e1c36
RM
164242011-09-19 Roland McGrath <roland@hack.frob.com>
16425
ecb1482f
RM
16426 * sysdeps/posix/spawni.c (script_execute): Always define it.
16427 It will be optimized away if unused.
16428 (maybe_script_execute): New function.
16429 (__spawni): Call it.
16430
bc7e1c36
RM
16431 * Makerules: Don't include tls.make.
16432 (config-tls): Always set to thread.
16433 * tls.make.c: File removed.
16434
1c3b002b
MF
164352011-09-19 Mike Frysinger <vapier@gentoo.org>
16436
16437 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16438 * config.make.in (CPPFLAGS-config): New substituted variable.
16439
2840865d
UD
164402011-09-15 Ulrich Drepper <drepper@gmail.com>
16441
88738eb6
UD
16442 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16443
cbf645a6 16444 [BZ #13192]
2840865d
UD
16445 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16446 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16447
b402e91a
RM
164482011-09-15 Roland McGrath <roland@hack.frob.com>
16449
16450 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16451 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16452 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16453 (CALL_FAIL): Likewise.
16454 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16455 (CALL_FAIL): Macro removed.
16456 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16457
4c1a1f71
UD
164582011-09-15 Ulrich Drepper <drepper@gmail.com>
16459
16460 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16461 for __FINITE_MATH_ONLY__ == 1.
16462
edc121be
AS
164632011-09-15 Andreas Schwab <schwab@redhat.com>
16464
16465 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16466 __ieee754_sqrt instead of sqrt.
16467 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16468 __ieee754_sqrtf instead of sqrtf.
16469 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16470 __floorf instead of floorf.
16471 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16472 __floorf, __truncf instead of floorf, truncf.
16473
cd205654
UD
164742011-09-14 Ulrich Drepper <drepper@gmail.com>
16475
ee4d0315
UD
16476 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16477
cd205654
UD
16478 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16479 __extern_always_inline.
16480 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16481 32-bit.
16482
48b67d71
AS
164832011-09-14 Andreas Schwab <schwab@redhat.com>
16484
16485 * elf/rtld.c (dl_main): Also relocate in dependency order when
16486 doing symbol dependency testing.
16487
1ae12c75
AS
164882011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16489
16490 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16491 Always define `refsym'.
16492
995a80df
AS
164932011-09-13 Andreas Schwab <schwab@redhat.com>
16494
e529793b
AS
16495 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16496 (__FD_ELT): Renamed from __FDELT.
16497 * misc/bits/select2.h (__FD_ELT): Likewise.
16498 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16499 __FD_MASK instead of __FDELT, __FDMASK.
16500 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16501 Likewise.
16502 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16503 Likewise.
16504
52d4fef8
AS
16505 * elf/Makefile (gen-ldd): Fix pattern.
16506
995a80df
AS
16507 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16508 (init_tls): Likewise.
16509
8682f8b0
UD
165102011-09-12 Ulrich Drepper <drepper@gmail.com>
16511
16512 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16513
de82006d
AS
165142011-09-12 Andreas Schwab <schwab@redhat.com>
16515
a7c8e6a1
AS
16516 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16517 `struct cmsghdr *' instead of `void *'.
16518 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16519 Likewise.
16520
0f31fe77
AS
165212011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16522
16523 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16524 if non-absolute.
16525 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16526 ldd_rewrite_script.
0f31fe77 16527
32b4c839
UD
165282011-09-11 Ulrich Drepper <drepper@gmail.com>
16529
83cd1420
UD
16530 * configure.in: Remove --with-tls option.
16531 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16532 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16533 out in case it is missing.
16534 * sysdeps/ia64/elf/configure.in: Likewise.
16535 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16536 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16537 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16538 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16539 * sysdeps/sh/elf/configure.in: Likewise.
16540 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16541 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16542 * sysdeps/x86_64/elf/configure.in: Likewise.
16543 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16544 * sysdeps/mach/hurd/tls.h: Likewise.
16545
633f745d
UD
16546 [BZ #13067]
16547 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16548
f318beb8
UD
16549 [BZ #13090]
16550 * configure.in: Fix use of AC_INIT.
16551
32b4c839
UD
16552 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16553
3ce1f295
UD
165542011-09-10 Ulrich Drepper <drepper@gmail.com>
16555
bb016596
UD
16556 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16557 __set_errno.
8e58439c
UD
16558 * malloc/hooks.c: Likewise.
16559
aebae053 16560 [BZ #11929]
02d46fc4
UD
16561 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16562 variables statically.
16563 (narenas): Initialize.
16564 (list_lock): Initialize.
bb016596
UD
16565 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16566 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16567 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16568 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16569 Add initializers to main_arena and mp_.
16570 (malloc_state): Remove pagesize member. Change all users to use
16571 GLRO(dl_pagesize).
16572
16573 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16574 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16575 is always initialized.
16576
22a89187
UD
16577 * malloc/malloc.c: Removed unused configurations and dead code.
16578 * malloc/arena.c: Likewise.
16579 * malloc/hooks.c: Likewise.
02d46fc4 16580 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16581
d063d164
UD
16582 * include/tls.h: Removed. USE___THREAD must always be defined.
16583 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16584 * elf/dl-libc.c: Likewise.
16585 * elf/dl-tsd.c: Likewise.
16586 * include/errno.h: Likewise.
16587 * include/netdb.h: Likewise.
16588 * include/resolv.h: Likewise.
16589 * inet/herrno-loc.c: Likewise.
16590 * inet/herrno.c: Likewise.
16591 * malloc/arena.c: Likewise.
16592 * malloc/hooks.c: Likewise.
16593 * malloc/malloc.c: Likewise.
16594 * resolv/res-state.c: Likewise.
16595 * resolv/res_libc.c: Likewise.
16596 * sysdeps/i386/dl-machine.h: Likewise.
16597 * sysdeps/ia64/dl-machine.h: Likewise.
16598 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16599 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16600 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16601 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16602 * sysdeps/sh/dl-machine.h: Likewise.
16603 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16604 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16605 * sysdeps/unix/i386/sysdep.S: Likewise.
16606 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16607 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16609 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16610 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16611 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16612 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16613 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16614 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16616 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16617 * sysdeps/x86_64/dl-machine.h: Likewise.
16618 * tls.make.c: Likewise.
16619
3ce1f295
UD
16620 * configure.in: Remove --with-__thread option. Make tests for
16621 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16622 tls_model attribute fail if no support is available. Remove
16623 USE_IN_LIBIO.
16624 * Makeconfig: Adjust for dropped configure option. All features are
16625 now mandatory.
16626 * Makerules: Likewise.
16627 * Versions.def: Likewise.
16628 * argp/argp-fmtstream.c: Likewise.
16629 * argp/argp-fmtstream.h: Likewise.
16630 * argp/argp-help.c: Likewise.
16631 * assert/assert.c: Likewise.
16632 * config.h.in: Likewise.
16633 * config.make.in: Likewise.
16634 * configure: Likewise.
16635 * configure.in: Likewise.
16636 * csu/Versions: Likewise.
16637 * csu/init.c: Likewise.
16638 * elf/tst-audit2.c: Likewise.
16639 * elf/tst-tls10.c: Likewise.
16640 * elf/tst-tls10.h: Likewise.
16641 * elf/tst-tls11.c: Likewise.
16642 * elf/tst-tls12.c: Likewise.
16643 * elf/tst-tls14.c: Likewise.
16644 * elf/tst-tlsmod11.c: Likewise.
16645 * elf/tst-tlsmod12.c: Likewise.
16646 * elf/tst-tlsmod13.c: Likewise.
16647 * elf/tst-tlsmod13a.c: Likewise.
16648 * elf/tst-tlsmod14a.c: Likewise.
16649 * elf/tst-tlsmod15b.c: Likewise.
16650 * elf/tst-tlsmod16a.c: Likewise.
16651 * elf/tst-tlsmod16b.c: Likewise.
16652 * elf/tst-tlsmod7.c: Likewise.
16653 * elf/tst-tlsmod8.c: Likewise.
16654 * elf/tst-tlsmod9.c: Likewise.
16655 * gmon/gmon.c: Likewise.
16656 * grp/fgetgrent_r.c: Likewise.
16657 * grp/putgrent.c: Likewise.
16658 * hurd/fopenport.c: Likewise.
16659 * include/libc-symbols.h: Likewise.
16660 * include/tls.h: Likewise.
16661 * intl/gettextP.h: Likewise.
16662 * intl/loadinfo.h: Likewise.
16663 * locale/global-locale.c: Likewise.
16664 * locale/localeinfo.h: Likewise.
16665 * mach/devstream.c: Likewise.
16666 * malloc/arena.c: Likewise.
16667 * malloc/set-freeres.c: Likewise.
16668 * misc/err.c: Likewise.
16669 * misc/getttyent.c: Likewise.
16670 * misc/mntent_r.c: Likewise.
16671 * posix/getopt.c: Likewise.
16672 * posix/wordexp.c: Likewise.
16673 * pwd/fgetpwent_r.c: Likewise.
16674 * resolv/Versions: Likewise.
16675 * resolv/res_hconf.c: Likewise.
16676 * shadow/fgetspent_r.c: Likewise.
16677 * shadow/putspent.c: Likewise.
16678 * stdio-common/printf_fphex.c: Likewise.
16679 * stdio-common/tmpfile.c: Likewise.
16680 * stdlib/abort.c: Likewise.
16681 * stdlib/fmtmsg.c: Likewise.
16682 * sunrpc/auth_unix.c: Likewise.
16683 * sunrpc/clnt_perr.c: Likewise.
16684 * sunrpc/clnt_tcp.c: Likewise.
16685 * sunrpc/clnt_udp.c: Likewise.
16686 * sunrpc/clnt_unix.c: Likewise.
16687 * sunrpc/openchild.c: Likewise.
16688 * sunrpc/svc_simple.c: Likewise.
16689 * sunrpc/svc_tcp.c: Likewise.
16690 * sunrpc/svc_udp.c: Likewise.
16691 * sunrpc/svc_unix.c: Likewise.
16692 * sunrpc/xdr.c: Likewise.
16693 * sunrpc/xdr_array.c: Likewise.
16694 * sunrpc/xdr_rec.c: Likewise.
16695 * sunrpc/xdr_ref.c: Likewise.
16696 * sunrpc/xdr_stdio.c: Likewise.
16697
1248c1c4
PB
166982011-09-09 Ulrich Drepper <drepper@gmail.com>
16699
16700 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16701
167022011-07-03 Andreas Jaeger <aj@suse.de>
16703
16704 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16705 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16706 regenerate with gen-libm-tests.pl.
16707
167082010-05-12 Petr Baudis <pasky@suse.cz>
16709
16710 [BZ #11589]
16711 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16712 around j0() zero points by switching to j1().
16713 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16714 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16716 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16717
f22e1074
UD
167182011-09-09 Ulrich Drepper <drepper@gmail.com>
16719
f19009c1
UD
16720 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16721 instead of 0.
16722 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16723 instead of 0. .
16724 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16725 Patch in part by Pavel Roskin <proski@gnu.org>.
16726
3f8cc204
UD
16727 [BZ #13138]
16728 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16729 realloc.
16730 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16731 Free memory block if necessary.
16732
f22e1074
UD
16733 [BZ #12847]
16734 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16735 be NULL. Don't lock in this case.
16736
0a2349f9
RM
167372011-09-09 Roland McGrath <roland@hack.frob.com>
16738
16739 * elf/elf.h (ELFOSABI_GNU): New macro.
16740 (ELFOSABI_LINUX): Define to that.
16741
f3cdd467
DZ
167422011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16743
16744 * string/strncat.c (strncat): Undef the symbol in case it has been
16745 defined in bits/string.h.
16746
74718d13
UD
167472011-09-09 Ulrich Drepper <drepper@gmail.com>
16748
633e9e0f
UD
16749 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16750
0a2349f9 16751 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16752 link map.
16753
f9924780
AJ
167542011-08-17 Andreas Jaeger <aj@suse.de>
16755
16756 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16757
7f5517aa
PP
167582011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16759 Ian Lance Taylor <iant@google.com>
16760
16761 * math/libm-test.inc (lround_test): New testcase.
16762 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16763
762011fe
UD
167642011-09-08 Ulrich Drepper <drepper@gmail.com>
16765
92963737
UD
16766 * Makefile: Remove support for automatic cvs check-ins.
16767 * Makerules: Likewise.
16768 * config.make.in: Likewise.
16769 * configure.in: Likewise.
16770 * intl/Makefile: Likewise.
16771 * locale/Makefile: Likewise.
16772 * po/Makefile: Likewise.
16773 * posix/Makefile: Likewise.
16774 * sysdeps/gnu/Makefile: Likewise.
16775 * sysdeps/mach/hurd/Makefile: Likewise.
16776 * sysdeps/sparc/sparc32/Makefile: Likewise.
16777
b0727fd8
JS
16778 [BZ #13118]
16779 * posix/Makefile (bug-regex32-ENV): Define.
16780 Patch by John Stanley <jpsinthemix@verizon.net>.
16781
a0f33f99
UD
16782 * misc/Makefile (headers): Add bits/select2.h.
16783 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16784 * misc/bits/select2.h: New file.
16785 * include/bits/select2.h: New file.
16786 * debug/Makefile (routines): Add fdelt_chk.
16787 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16788 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16789 FD_ISSET.
16790 * debug/fdelt_chk.c: New file.
16791
762011fe
UD
16792 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16793 * wcsmbs/test-wmemcmp.c: Likewise.
16794 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16795 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16796
167972011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16798
16799 * string/Makefile (strop-tests): Add memcmp.
16800 * string/test-wmemcmp.c: New file.
16801 * string/test-memcmp.c: Add wmemcmp support.
16802
7f513ec8
RM
168032011-09-08 Roland McGrath <roland@hack.frob.com>
16804
0442afb4
RM
16805 [BZ #13153]
16806 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16807 2011-07-19 change.
16808
7f513ec8
RM
16809 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16810 garbage value in a __mach_port_mod_refs call in the cases of the
16811 task-self and thread-self ports.
16812
a12b2239
ST
168132011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16814
16815 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16816
610f9ab4
AS
168172011-09-08 Andreas Schwab <schwab@redhat.com>
16818
7f513ec8 16819 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16820
48882a1a
LD
168212011-09-07 Ulrich Drepper <drepper@gmail.com>
16822
b49865be
UD
16823 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16824
fdc86bc9
UD
16825 * elf/dl-libc.c (dlerror_run): Pass back error code from
16826 dl_catch_error.
16827
c966526a
UD
16828 [BZ #13123]
16829 * elf/dl-load.c (lose): Free l_origin if it is valid.
16830
48882a1a
LD
16831 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16832 names.
16833 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16834 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16835 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16836 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16837 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16838 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16839
77a2a8b4
AZ
168402011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16841
16842 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16843 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16844 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16845 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16846 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16847 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16848 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16849 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16850 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16851 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16852
24f579d8
AM
168532011-08-15 Alan Modra <amodra@gmail.com>
16854
16855 [BZ #13092]
16856 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16857 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16858 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16859 ppc_mcount to static-only-routines.
16860 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16861 __mcount_internal.
16862 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16863 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16864
3d4837df
UD
168652011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16866
16867 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16868 for finite and infinity parameters.
16869
22700377
WS
168702011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16871
16872 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16873 and add nop instructions for throughput optimization.
16874 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16875
5025581e
WS
168762011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16877
16878 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16879 aligned copy for power7 with vector-scalar instructions.
16880 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16881
08a300c9
L
168822011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16883
16884 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16885 AVX check.
16886
59178ef9
AS
168872011-09-07 Andreas Schwab <schwab@redhat.com>
16888
16889 [BZ #13144]
16890 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16891 last change.
16892
e38ba7ab
UD
168932011-09-07 Ulrich Drepper <drepper@gmail.com>
16894
16895 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16896 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16897 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16898 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16899 clock_gettime.
16900
d53a73ac
UD
169012011-09-06 Ulrich Drepper <drepper@gmail.com>
16902
fc8bffcc
UD
16903 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16904 Forgot to demangle the pointer.
16905
ceaa0c5d
UD
16906 * sysdeps/i386/sysdep.h: Define atom_text_section.
16907 * sysdeps/x86_64/sysdep.h: Likewise.
16908 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16909 section with atom_text_section.
16910 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16911 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16912 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16913 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16914 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16915
a77d3c17
UD
16916 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16917 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16918 already be defined. Change to take two parameters and don't assign
16919 result to variable. Adjust all users.
16920 Define INTERNAL_GETTIME if not already defined.
16921 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16922 call.
16923 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16924 HAVE_CLOCK_GETTIME_VSYSCALL.
16925 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16926
d53a73ac
UD
16927 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16928 gettimeofday vsyscall, just use time.
16929
a8f84144
AS
169302011-09-06 Andreas Schwab <schwab@redhat.com>
16931
16932 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16933 <errno.h>.
16934
ef606249
UD
169352011-09-06 Ulrich Drepper <drepper@gmail.com>
16936
16937 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16938 syscall on x86-64.
16939 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16940 syscall.
16941 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16942 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16943 syscall if possible.
16944
6585cb60
UD
169452011-09-05 Ulrich Drepper <drepper@gmail.com>
16946
16947 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16948 e_ident. Don't pass to find_mapsXX.
16949 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16950
a5f524e4
LD
169512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16952
16953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16954 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16955 * sysdeps/x86_64/multiarch/strchr.S: Update.
16956 Check bit_slow_BSF bit.
16957 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16958 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16959 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16960
554881ef
UD
169612011-09-05 Ulrich Drepper <drepper@gmail.com>
16962
d96de963
UD
16963 [BZ #13134]
16964 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16965 before glibc 2.15.
16966 (tryshell): Define.
16967 (__spawni): Change last parameter to be flag. Test
16968 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16969 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16970 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16971 * posix/spawni.c: Likewise.
16972 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16973 * posix/spawnp.c: Likewise. Change normal version to use
16974 SPAWN_XFLAGS_USE_PATH.
16975 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16976 SPAWN_XFLAGS_TRY_SHELL.
16977
d48e5868
UD
16978 [BZ #13150]
16979 * posix/glob.h: Remove gcc 1.x support.
16980
554881ef
UD
16981 [BZ #13068]
16982 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16983
693fb948
LD
169842011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16985
16986 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16987 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16988 strrchr-sse2-bsf
16989 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16990 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16991 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16992 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16993 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16994 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16995
1b48c537
UD
169962011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16997
49d42c37
UD
16998 * sysdeps/x86_64/wcscmp.S: New file.
16999
1b48c537
UD
17000 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17001 wcscmp-c wcscmp-sse2
17002 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17003 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17004 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17005 * wcsmbs/wcscmp.c: Allow renaming.
17006
15c95c5d
DM
170072011-09-05 David S. Miller <davem@davemloft.net>
17008
17009 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17010 stack slot, rather than the struct return pointer slot.
17011 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17012 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17014 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17015
2f0ad8f3
UD
170162011-09-05 Ulrich Drepper <drepper@gmail.com>
17017
d88ae418
UD
17018 * po/ja.po: Update from translation team.
17019
2f0ad8f3
UD
17020 [BZ #13144]
17021 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17022 kernel in 64-bit binaries.
17023
5f4318d1
DM
170242011-09-01 David S. Miller <davem@davemloft.net>
17025
17026 * elf/elf.h (HWCAP_SPARC_*): Move to..
17027 * sysdeps/sparc/sysdep.h: this new file and add new values.
17028 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17029 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17030 _DL_HWCAP_COUNT to 24.
17031 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17032 entries.
17033 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17034 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17035 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17036 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17037 instead of magic constants.
17038 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17039
3ba57516
DM
170402011-08-31 David S. Miller <davem@davemloft.net>
17041
17042 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17043 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17044 Reimplement to do errno handling inline.
17045 (SYSCALL_ERROR_HANDLER): New macro.
17046 (__SYSCALL_STRING): Do not do errno handling in asm.
17047 (__CLONE_SYSCALL_STRING): Delete.
17048 (__INTERNAL_SYSCALL_STRING): Delete.
17049 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17050 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17051 (PSEUDO): Reimplement to do errno handling inline.
17052 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17053 (SYSCALL_ERROR_HANDLER): New macro.
17054 (__SYSCALL_STRING): Do not do errno handling in asm.
17055 (__CLONE_SYSCALL_STRING): Delete.
17056 (__INTERNAL_SYSCALL_STRING): Delete.
17057 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17058 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17059 i386.
17060 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17061 (inline_syscall*): Add 'err' argument.
17062 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17063 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17064 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17065 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17066
17067 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17068 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17069
2bc17433
AS
170702011-08-30 Andreas Schwab <schwab@redhat.com>
17071
17072 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17073
fbeb5f4d
JO
170742011-08-29 Jiri Olsa <jolsa@redhat.com>
17075
17076 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17077 directive.
17078
ad69cc26
DM
170792011-08-24 David S. Miller <davem@davemloft.net>
17080
17081 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17082
39dd69df
AS
170832011-08-24 Andreas Schwab <schwab@redhat.com>
17084
17085 * elf/Makefile: Add rules to build and run unload8 test.
17086 * elf/unload8.c: New file.
17087 * elf/unload8mod1.c: New file.
17088 * elf/unload8mod1x.c: New file.
17089 * elf/unload8mod2.c: New file.
17090 * elf/unload8mod3.c: New file.
17091
17092 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17093 it wasn't used.
17094
2c0b250a
DM
170952011-08-23 David S. Miller <davem@davemloft.net>
17096
17097 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17098 subtract stack bias.
17099 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17100 %sp not %fp in calculations.
17101 (_JMPBUF_UNWINDS_ADJ): Likewise.
17102
22044b48
DM
17103 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17104 (aio_suspend): Call it to force an exception region around the
17105 AIO_MISC_WAIT() invocation.
17106
2cae4995
AS
171072011-08-23 Andreas Schwab <schwab@redhat.com>
17108
17109 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17110 backslash.
17111
873a772e
AJ
171122011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17113
17114 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17115 protection macro.
17116 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17117 and <dl-machine.h>.
17118 (Elf64_FuncDesc): Remove.
17119
25ad0df1
DM
171202011-08-22 David S. Miller <davem@davemloft.net>
17121
17122 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17123 sigaltstack check, add missing cfi directives.
17124 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17125 missing cfi directives, and sigaltstack handling.
17126
e888bcbe
AS
171272011-08-16 Andreas Schwab <schwab@redhat.com>
17128
17129 [BZ #11724]
17130 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17131 object is seen twice.
17132 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17133
17134 * elf/Makefile (distribute): Add tst-initorder2.c.
17135 (tests): Add tst-initorder2.
17136 (modules-names): Add tst-initorder2a tst-initorder2b
17137 tst-initorder2c tst-initorder2d. Add rules to build them.
17138 ($(objpfx)tst-initorder2.out): New rule.
17139 * elf/tst-initorder2.c: New file.
17140 * elf/tst-initorder2.exp: New file.
17141
87162f46
AS
171422011-08-22 Andreas Schwab <schwab@redhat.com>
17143
70538b7f
AS
17144 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17145
f55ffe58
AS
17146 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17147 dependencies back to end of function.
17148
87162f46
AS
17149 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17150 $(elfobjdir)/ld.so.
17151
91b392a4
UD
171522011-08-21 Ulrich Drepper <drepper@gmail.com>
17153
17154 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17155 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17156 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17157 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17158 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17159 of __vdso_gettimeofday.
17160 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17161 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17162 attribute_hidden.
17163 (_libc_vdso_platform_setup): Remove initialization of
17164 __vdso_gettimeofday and __vdso_time.
17165
5c43483f
UD
171662011-08-20 Ulrich Drepper <drepper@gmail.com>
17167
775a77e7
UD
17168 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17169 and fgetc_unlocked.
17170 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17171 getc_unlocked.
89f447ed 17172
49c74ba9
UD
17173 * elf/dl-open.c (add_to_global): Report additions to the global scope
17174 for LD_DEBUG=scopes.
17175 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 17176 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 17177
5c43483f
UD
17178 [BZ #13114]
17179 * stdio-common/Makefile (tests): Add bug24.
17180 * stdio-common/bug24.c: New file.
17181
a101b025
AJ
171822011-08-19 Andreas Jaeger <aj@suse.de>
17183
17184 [BZ #13114]
17185 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17186 non-existant file when using close-on-exec mode.
17187
c88f1766
UD
171882011-08-20 Ulrich Drepper <drepper@gmail.com>
17189
0276a718
UD
17190 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17191 the very first instruction.
17192
c88f1766
UD
17193 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17194 the CFI state in the end.
17195 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17196 inclusion of dl-trampoline.h.
17197 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17198
51ccffa0
AS
171992011-08-19 Andreas Schwab <schwab@redhat.com>
17200
94d7165f
AS
17201 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17202 expectations for long double.
17203
51ccffa0
AS
17204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17205 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17206
fd708658 172072011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
17208
17209 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17210 artificual limit depends upon the system page size.
17211
44f0a71e
UD
172122011-08-17 Ulrich Drepper <drepper@gmail.com>
17213
17214 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17215 * resolv/Makefile: Define CFLAGS-libresolv.
17216
8de79a24
AS
172172011-08-17 Andreas Schwab <schwab@redhat.com>
17218
17219 * nss/makedb.c (compute_tables): Make variables used in nested
17220 function static.
17221
27724598
UD
172222011-08-17 Ulrich Drepper <drepper@gmail.com>
17223
c5305d88
UD
17224 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17225 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17226 if buffer was too small.
17227
27724598
UD
17228 * elf/pldd.c (main): Attach to all threads in the process.
17229 Rewrite /proc handling to use *at functions.
17230
076fe015
UD
172312011-08-16 Ulrich Drepper <drepper@gmail.com>
17232
174baab3
UD
17233 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17234 specifies first scope to show.
17235 (dl_open_worker): Update callers. Move printing scope of new
17236 object to before the relocation.
44f0a71e 17237 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
17238 * sysdeps/generic/ldsodefs.h: Update declaration.
17239
076fe015
UD
17240 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17241 string for the scope number.
17242
a60df2c3
UD
172432011-08-14 Ulrich Drepper <drepper@gmail.com>
17244
17245 * nscd/servicescache.c (cache_addserv): Make sure written is always
17246 initialized.
17247
5e4287d1
RM
172482011-08-14 Roland McGrath <roland@hack.frob.com>
17249
85ae0589
RM
17250 * sysdeps/i386/i486/bits/atomic.h
17251 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17252 statement expression, so as to suppress "set but not used" warning.
17253 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17254
69f63097
RM
17255 * string/strncat.c (STRNCAT): Use prototype definition.
17256
675456ef
RM
17257 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17258 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17259 -Iprograms here.
17260 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17261 (localedef-modules): Add localedef.
17262 (locale-modules): Add locale.
17263
5e4287d1
RM
17264 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17265 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17266 to avoid a warning.
17267
9c96ff23
DM
172682011-08-14 David S. Miller <davem@davemloft.net>
17269
17270 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17271 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17272
f9ddf089
UD
172732011-08-13 Ulrich Drepper <drepper@gmail.com>
17274
44f0a71e 17275 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
17276 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17277 * elf/rtld.c (dl_main): Set l_name of vDSO.
17278 Call _dl_show_scope when DL_DEBUG_SCOPES.
17279 (process_dl_debug): Recognize scopes flag and also set it for all.
17280 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17281 Declare _dl_show_scope.
17282
1dc27704
UD
17283 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17284 (do_dlopen): Pass caller_dlopen to dl_open.
17285 (__libc_dlopen_mode): Initialize caller_dlopen.
17286
f9ddf089
UD
17287 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17288 of libc. Make tolower call locale-independent. Optimize a bit by
17289 using isdigit instead of isalnum.
17290 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17291
9ac533d3
UD
172922011-08-12 Ulrich Drepper <drepper@gmail.com>
17293
17294 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17295 was a dependency or dynamically loaded.
17296
89edf2e9
UD
172972011-08-11 Ulrich Drepper <drepper@gmail.com>
17298
8e999d29
UD
17299 * intl/l10nflist.c: Allow architecture-specific pop function.
17300 * sysdeps/x86_64/l10nflist.c: New file.
17301
89edf2e9
UD
17302 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17303 classification.
17304
14d96785
AS
173052011-08-10 Andreas Schwab <schwab@redhat.com>
17306
17307 * include/dirent.h: Add libc_hidden_proto for scandirat and
17308 scandirat64. Don't declare __scandirat64.
17309 * dirent/scandirat.c: Add libc_hidden_def.
17310 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17311 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17312
6761ac04
DM
173132011-08-10 David S. Miller <davem@davemloft.net>
17314
17315 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17316 enum.
17317 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17318 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17319 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17320
c55fbd1e
UD
173212011-08-09 Ulrich Drepper <drepper@gmail.com>
17322
17323 * Versions.def [libc]: Add GLIBC_2.15.
17324 * dirent/Makefile (routines): Add scandirat and scandirat64.
17325 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17326 GLIBC_2.15.
17327 * dirent/dirent.h: Declare scandirat and scandirat64.
17328 * dirent/scandirat.c: New file.
17329 * dirent/scandirat64.c: New file.
17330 * sysdeps/wordsize-64/scandirat.c: New file.
17331 * sysdeps/wordsize-64/scandirat64.c: New file.
17332 * dirent/opendir.c: Define opendirat.
17333 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17334 using scandirat.
17335 * dirent/scandir64.c: Adjust for scandir.c change.
17336 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17337 __scandirat64, and __scandir_cancel_handler.
17338 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17339 additional parameter and use openat instead of open (outside of ld.so).
17340 Add new __opendir as wrapper around __opendirat.
17341 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17342 here without requiring old scandirat implementation.
17343
879165f2
UD
173442011-08-08 Ulrich Drepper <drepper@gmail.com>
17345
17346 * dirent/scandir.c (cancel_handler): Renamed to
17347 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17348 defined. Adjust users.
17349 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17350 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17351
cb7e923b
UD
173522011-08-04 Ulrich Drepper <drepper@gmail.com>
17353
16292edd
UD
17354 * string/test-string.h (IMPL): Use __STRING to expand name and then
17355 stringify it.
17356
cb7e923b
UD
17357 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17358 of cleanups.
17359
cff82933
LD
173602011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17361
17362 * string/Makefile: Update.
17363 (strop-tests): Append strncat.
17364 * string/test-wcscmp.c: New file.
17365 New comprehensive test for wcscmp.
17366 * string/test-strcmp.c: Update.
17367 (WIDE): New define.
17368
9be9bfcc
AS
173692011-07-22 Andreas Schwab <schwab@redhat.com>
17370
17371 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17372 line.
17373
2e96f1c7
AS
173742011-07-26 Andreas Schwab <schwab@redhat.com>
17375
17376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17377 encoding to ACE if AI_IDN.
17378
85188888
JJ
173792011-08-01 Jakub Jelinek <jakub@redhat.com>
17380
17381 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17382 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17383
5fa16e9b
LD
173842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17385
17386 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17387 Fix overflow bug in strncat.
17388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17389
17390 * string/test-strncat.c: Update.
17391 Add new tests for checking overflow bugs.
17392
173932011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17394
17395 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17396 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17397 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17398 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17399 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17400 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17401 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17402 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17403 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17404
17405 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17406 (USE_AS_STRCAT): Define.
17407 Add strcat and strncat support.
17408 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17409
8c1a459f
AS
174102011-07-25 Andreas Schwab <schwab@redhat.com>
17411
17412 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17413 __n bigger than INT_MAX+1.
17414 (__strncmp_g): Likewise.
17415
bba33c28
UD
174162011-07-23 Ulrich Drepper <drepper@gmail.com>
17417
798be72d
UD
17418 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17419 * libio/stido.h: Likewise.
17420
8accd4dc
UD
17421 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17422 (AF_NFC): Define.
17423 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17424 (AF_NFC): Define.
17425
cbff0d96
UD
17426 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17427 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17428 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17429 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17430 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17431
9191c04a
UD
17432 [BZ #13021]
17433 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17434 installed.
17435
bba33c28
UD
17436 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17437 typo.
17438 (_dl_x86_64_save_sse): Likewise.
17439
90f139dd
UD
174402011-07-22 Ulrich Drepper <drepper@gmail.com>
17441
1aae088a
UD
17442 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17443 OSXSAVE.
17444 (_dl_x86_64_save_sse): Likewise.
17445
8e2045f5
UD
17446 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17447
90f139dd
UD
17448 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17449
1d002f25
AS
174502011-07-21 Andreas Schwab <schwab@redhat.com>
17451
17452 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17453 change.
17454 (_dl_x86_64_save_sse): Use correct AVX check.
17455
21137f89
UD
174562011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17457
17458 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17459 bug in strncpy/strncat.
17460 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17461
a65c0b7a
UD
174622011-07-21 Ulrich Drepper <drepper@gmail.com>
17463
17464 * string/tester.c (test_strcat): Add tests for different alignments
17465 of source and destination.
17466 (test_strncat): Likewise.
17467
6986b98a
UD
174682011-07-20 Ulrich Drepper <drepper@gmail.com>
17469
90bb2039
UD
17470 [BZ #12852]
17471 * posix/glob.c (glob): Check passed in values before using them in
17472 expressions to avoid some overflows.
17473 (glob_in_dir): Likewise.
17474
5644ef54
UD
17475 [BZ #13007]
17476 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17477 check for AVX enablement so that we don't crash with old kernels and
17478 new hardware.
17479 * elf/tst-audit4.c: Add same checks here.
17480 * elf/tst-audit6.c: Likewise.
17481
17482 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17483
bfc9dc9b
AS
174842011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17485
17486 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17487
702e64bb
UD
174882011-07-20 Ulrich Drepper <drepper@gmail.com>
17489
17490 * po/cs.po: Update from translation team.
17491 * po/bg.po: Likewise.
17492
295e904f
MP
174932011-07-12 Marek Polacek <mpolacek@redhat.com>
17494
17495 * misc/sys/cdefs.h: Add support for const attribute.
17496 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17497 to gnu_dev_{major,minor,makedev} functions.
17498
3ff94596
MP
174992011-07-20 Marek Polacek <mpolacek@redhat.com>
17500
17501 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17502
28b59fca
AS
175032011-07-20 Andreas Schwab <schwab@redhat.com>
17504
17505 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17506 strlen results.
17507
19df733e
AK
175082011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17509
17510 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17511 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17512 register in order to avoid conflicts with the soft frame pointer
17513 being held in r11 when necessary.
17514 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17515 (INTERNAL_VSYSCALL_NCS): Likewise.
17516
c8835729
MP
175172011-07-14 Marek Polacek <mpolacek@redhat.com>
17518
17519 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17520 * elf/dl-fini.c (_dl_fini): Adjust caller.
17521 * elf/dl-close.c (_dl_close_worker): Likewise.
17522 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17523
b902330c
MP
175242011-07-15 Marek Polacek <mpolacek@redhat.com>
17525
8991e135
MP
17526 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17527 "aux_cache->nlibs < 0".
17528
b902330c
MP
17529 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17530 in the reload-count case.
17531
99710781
LD
175322011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17533
17534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17535 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17536 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17537 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17538 * sysdeps/x86_64/multiarch/strcat.S: New file.
17539 * sysdeps/x86_64/multiarch/strncat.S: New file.
17540 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17541 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17542 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17543 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17544 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17545 (USE_AS_STRCAT): Define.
17546 Add strcat and strncat support.
17547 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17548 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17549 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17550 * string/strncat.c: Update.
17551 (USE_AS_STRNCAT): Define.
17552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17553 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17554 and i7.
17555 * sysdeps/x86_64/multiarch/init-arch.h
17556 (bit_Prefer_PMINUB_for_stringop): New.
17557 (index_Prefer_PMINUB_for_stringop): Likewise.
17558 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17559 bit_Prefer_PMINUB_for_stringop.
17560
7dc6bd90
UD
175612011-07-19 Ulrich Drepper <drepper@gmail.com>
17562
17563 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17564 buffer64.
17565 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17566 of casting of buffer.
17567 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17568 buffer32 and buffer64.
17569 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17570 writes instead of casting of buffer.
17571 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17572 buffer32.
17573 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17574 casting of buffer.
17575
e0e72284
AS
175762011-07-19 Andreas Schwab <schwab@redhat.com>
17577
17578 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17579
feb1eb0b
UD
175802011-07-19 Ulrich Drepper <drepper@gmail.com>
17581
17582 * nscd/nscd.c (termination_handler): Don't do anything for a database
17583 if it has not yet been initialized.
17584
298711ff
UD
175852011-07-18 Ulrich Drepper <drepper@gmail.com>
17586
17587 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17588
175892011-07-15 Marek Polacek <mpolacek@redhat.com>
17590
17591 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17592
f9d68389
UD
175932011-07-18 Ulrich Drepper <drepper@gmail.com>
17594
17595 * po/nl.po: Update from translation team.
17596 * po/sv.po: Likewise.
17597
db290cf5
RM
175982011-07-16 Roland McGrath <roland@hack.frob.com>
17599
17600 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17601 now disallowed by GCC.
5c550700 17602
fd5e21c7
RM
17603 * configure.in (use-default-link): Default to yes if a test -shared
17604 link meets our qualifications.
17605 * configure: Regenerated.
17606
5c550700
RM
17607 * config.make.in (output-format): New variable.
17608 * configure.in: Check for ld --print-output-format support.
17609 * configure: Regenerated.
17610 * Makerules ($(common-objpfx)format.lds)
17611 [$(output-format) != unknown]: Just use $(output-format),
17612 instead of the linker-script munging.
17613
9fa2c032
RM
176142011-07-14 Roland McGrath <roland@hack.frob.com>
17615
a6928d51
RM
17616 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17617 of $(common-objpfx)shlib.lds.
17618 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17619
661607b3
RM
17620 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17621 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17622
9fa2c032
RM
17623 * configure.in (-z relro check): Adjust test code to add a large
17624 writable data section after it.
17625 * configure: Regenerated.
17626
defe9061
RM
176272011-07-11 Roland McGrath <roland@hack.frob.com>
17628
17629 * configure.in (-z relro check): Fix test code to make the variable
17630 truly const.
17631 * configure: Regenerated.
17632
319b9ad4
UD
176332011-07-11 Ulrich Drepper <drepper@gmail.com>
17634
17635 * nscd/nscd.h (struct traced_file): Define.
17636 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17637 elements. Add traced_files.
17638 (inotify_fd): Declare.
17639 (register_traced_file): Declare.
17640 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17641 (inotify_fd): Export.
17642 (resolv_conf_descr): Remove.
17643 (nscd_init): Move inotify descriptor creation to main.
17644 Don't register files for notification here.
17645 (register_traced_file): New function.
17646 (invalidate_cache): Don't use reset_res to determine whether to call
17647 res_init, go through the list of registered files.
17648 (main_loop_poll): The inotify descriptors are now stored in the
17649 structures for the traced files.
17650 (main_loop_epoll): Likewise
17651 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17652 to __nss_disable_nscd.
17653 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17654 for a database anymore. Check the records for all the registered
17655 files instead.
17656 * nss/Makefile (libnss_files-routines): Add files-init.
17657 (libnss_db-routines): Add db-init.
17658 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17659 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17660 * nss/nss_db/db-init.c: New file.
17661 * nss/nss_files/files-init.c: New file.
17662 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17663 __nss_lookup_function.
17664 (__nss_lookup_function): Call nss_load_library.
17665 (nss_load_all_libraries): New function.
17666 (__nss_disable_nscd): Take parameter with callback function for files
17667 to register. Set is_nscd. Load all the DSOs for the NSS modules
17668 used for the cached services.
17669 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17670 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17671 options for features to all the files in nscd.
17672
17673 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17674
23bee3e8
RM
176752011-07-10 Roland McGrath <roland@hack.frob.com>
17676
17677 * csu/elf-init.c (__libc_csu_init): Comment typo.
17678
46a5b7f0
UD
176792011-07-09 Ulrich Drepper <drepper@gmail.com>
17680
17681 * po/pl.po: Update from translation team.
17682 * po/ja.po: Likewise.
17683 * po/ru.po: Likewise.
17684 * po/ko.po: Likewise.
17685 * po/fr.po: Likewise.
17686
d30cf5bb
RM
176872011-07-09 Roland McGrath <roland@hack.frob.com>
17688
113ddea4
RM
17689 * configure.in (.ctors/.dtors header and trailer check):
17690 Use an empirical test on a built program.
17691 * configure: Regenerated.
17692
574920b4
RM
17693 * configure.in (-z relro check): Use an empirical test on a built DSO.
17694 Detect, but do not require, on ia64.
17695 * configure: Regenerated.
17696
d30cf5bb
RM
17697 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17698 Update tests that use readelf to use $READELF instead.
17699 * configure: Regenerated.
17700
8538fdb3
UD
177012011-07-08 Ulrich Drepper <drepper@gmail.com>
17702
17703 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17704 if the result is not used.
17705
04d08991
AJ
177062011-07-05 Andreas Jaeger <aj@suse.de>
17707
17708 [BZ#9696]
17709 * stdlib/tst-strtod.c: Add testcase.
17710
de283087
AD
177112011-07-07 Ulrich Drepper <drepper@gmail.com>
17712
4e5f31c8 17713 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17714 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17715 The latter has a higher limit. Take additional parameter to pass to
17716 the new function.
17717 (__pathconf): Pass file to __statfs_link_max.
17718 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17719 __statfs_link_max.
17720 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17721 __statfs_link_max.
17722
de283087
AD
17723 [BZ #12868]
17724 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17725 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17726 Handle Lustre.
17727 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17728 (__statfs_filesize_max): Likewise.
17729 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17730
c75fa153
AJ
177312011-07-05 Andreas Jaeger <aj@suse.de>
17732
17733 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17734
1a544854
UD
177352011-07-06 Marek Polacek <mpolacek@redhat.com>
17736
17737 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17738 `status' variable.
17739 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17740 Likewise.
17741
6f0eec67
UD
177422011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17743
17744 * Makefile (strop-tests): Add strncat.
17745 * string/test-strncat.c: New file.
17746
aae30307
UD
177472011-06-30 Marek Polacek <mpolacek@redhat.com>
17748
17749 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17750
c0cfb5eb
UD
177512011-06-21 Andreas Jaeger <aj@suse.de>
17752
17753 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17754 Copy rule from iconvdata/Makefile.
17755
01636b21
UD
177562011-07-06 Ulrich Drepper <drepper@gmail.com>
17757
17758 [BZ #12922]
17759 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17760 but no long options are defined, just return 'W'.
17761
9895c8bc
UD
177622011-06-22 Marek Polacek <mpolacek@redhat.com>
17763
17764 [BZ #9696]
17765 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17766
5d4cf042
UD
177672011-07-06 Ulrich Drepper <drepper@gmail.com>
17768
17769 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17770 netgroups to read.
960e5535 17771 (innetgr): Likewise.
5d4cf042 17772
751eb97e
RM
177732011-07-05 Roland McGrath <roland@hack.frob.com>
17774
17775 * config.make.in (install_root): Default to $(DESTDIR).
17776
f15f1e45
UD
177772011-07-05 Ulrich Drepper <drepper@gmail.com>
17778
17779 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17780
4e34ac6a
RM
177812011-07-02 Roland McGrath <roland@hack.frob.com>
17782
5e9b6af4
RM
17783 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17784
84f9ea0f
RM
17785 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17786 containing directory rather than embedding absolute directory names.
17787
ea5ee9f7
RM
17788 * scripts/check-local-headers.sh: Rewritten using awk.
17789 Match by word, not by line. Print error messages for matches.
17790 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17791
1b74661a
RM
17792 * Makerules [shlib-lds-flags empty]:
17793 ($(common-objpfx)libc_pic.opts): New target.
17794 ($(common-objpfx)libc_pic.os.clean): New target.
17795 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17796
17797 * config.make.in (OBJCOPY): New variable.
17798 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17799 * configure: Regenerated.
17800
f781ef40
RM
17801 * config.make.in (use-default-link): New variable.
17802 * configure.in (use_default_link): Grok --with-default-link to set it.
17803 * configure: Regenerated.
17804 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17805 (shlib-lds, shlib-lds-flags): Define to empty.
17806
2d4fa81e
RM
17807 * Makerules (shlib-lds): New variable.
17808 (shlib-lds-flags): New variable.
17809 (build-shlib, build-moduile, build-module-asneeded): Use it.
17810 ($(common-objpfx)libc.so): Use $(shlib-lds).
17811 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17812 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17813
31fffa6b
RM
17814 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17815 DT_FLAGS/DT_FLAGS_1 with zero flags.
17816
4e34ac6a
RM
17817 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17818 linker script munging.
17819
fcfc776b
UD
178202011-07-02 Ulrich Drepper <drepper@gmail.com>
17821
17822 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17823 as 128-bit value.
17824 * crypt/sha512.c (sha512_process_block): Perform total addition using
17825 128-bit if possible.
17826 (__sha512_finish_ctx): Likewise.
17827 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17828 as 64-bit value.
17829 * crypt/sha256.c (SWAP64): Define.
17830 (sha256_process_block): Perform total addition using 64-bit if
17831 possible.
17832 (__sha256_finish_ctx): Likewise.
17833
99231d9a
UD
178342011-07-01 Ulrich Drepper <drepper@gmail.com>
17835
17836 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17837 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17838 * nscd/hstcache.c (cache_addhst): Likewise.
17839 * nscd/grpcache.c (cache_addgr): Likewise.
17840 * nscd/aicache.c (addhstaiX): Likewise
17841 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17842
445b4a53
TK
178432011-07-01 Thorsten Kukuk <kukuk@suse.de>
17844
17845 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17846 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17847 * nscd/hstcache.c (cache_addhst): Likewise.
17848 * nscd/grpcache.c (cache_addgr): Likewise.
17849 * nscd/aicache.c (addhstaiX): Likewise
17850
6d4d8e8e
AS
178512011-07-01 Andreas Schwab <schwab@redhat.com>
17852
17853 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17854 domain only when needed.
17855
89f654c5
AS
178562011-06-30 Andreas Schwab <schwab@redhat.com>
17857
17858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17859 is always restored.
17860
cf3b23ff
UD
178612011-06-29 Ulrich Drepper <drepper@gmail.com>
17862
17863 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17864 are re-adding the entry.
17865 * nscd/servicescache.c (cache_addserv): Likewise.
17866
751626f9
AJ
178672011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17868
17869 * sysdeps/generic/dl-irel.h: fix protection against multiple
17870 inclusions.
17871 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17872
9113ea1f
UD
178732011-06-28 Ulrich Drepper <drepper@gmail.com>
17874
5c0b8d90
UD
17875 [BZ #12935]
17876 * malloc/memusage.sh: Fix quoting in message.
17877 * debug/xtrace.sh: Likewise.
17878
9113ea1f
UD
17879 * configure.in: Remove support for --experimental-malloc option, make
17880 it the default.
17881 * config.make.in: Likewise.
17882 * malloc/Makefile: Likewise.
17883
a4172181
AS
178842011-06-27 Andreas Schwab <schwab@redhat.com>
17885
17886 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17887 two-byte characters.
17888
78a7eee7
RM
178892011-06-27 Roland McGrath <roland@hack.frob.com>
17890
62bede13
RM
17891 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17892 AC_CACHE_CHECK invocation.
17893 * configure: Regenerated.
17894
78a7eee7
RM
17895 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17896
5ce33a62
UD
178972011-06-27 Ulrich Drepper <drepper@gmail.com>
17898
034807a9
UD
17899 [BZ #12350]
17900 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17901 bit from old_res_options.
17902
4902da17
UD
17903 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17904
5ce33a62
UD
17905 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17906 value type for setfct.
17907
c2344f56
L
179082011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17909
17910 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17911 __gettimeofday instead of gettimeofday.
17912
68468076
UD
179132011-06-26 Ulrich Drepper <drepper@gmail.com>
17914
17915 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17916
acb0d739
L
179172011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17918
17919 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17920
17921 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17922 info.
17923
8912479f
L
179242011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17925
17926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17927 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17928 strcpy-sse2-unaligned strncpy-sse2-unaligned
17929 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17930 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17931 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17932 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17933 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17934 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17935 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17936 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17937 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17938 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17939 (STRCPY): Support SSE2 and SSSE3 versions.
17940
d5495a11
UD
179412011-06-24 Ulrich Drepper <drepper@gmail.com>
17942
17943 [BZ #12874]
17944 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17945 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17946 kernels which artificially limit size of requests.
17947
0b1cbaae
L
179482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17949
17950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17951 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17952 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17953 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17954 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17955 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17956 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17957 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17958 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17959 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17960 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17961 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17962 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17963 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17964 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17966 Enable unaligned load optimization for Intel Core i3, i5 and i7
17967 processors.
17968 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17969 Define.
17970 (index_Fast_Unaligned_Load): Define.
17971 (HAS_FAST_UNALIGNED_LOAD): Define.
17972
07f494a0
MP
179732011-06-23 Marek Polacek <mpolacek@redhat.com>
17974
17975 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17976
fa3fc0fe
UD
179772011-06-22 Ulrich Drepper <drepper@gmail.com>
17978
17979 [BZ #12907]
17980 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17981 until it is clear that the information is realy needed.
17982 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17983
e12df166
AS
179842011-06-22 Andreas Schwab <schwab@redhat.com>
17985
17986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17987
852eb34d
UD
179882011-06-22 Ulrich Drepper <drepper@gmail.com>
17989
84e2a551
UD
17990 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17991 /sys/devices/system/cpu/online if it is usable.
17992
852eb34d
UD
17993 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17994 reading the information from the /proc filesystem to once a second.
17995
6e502e19
UD
179962011-06-21 Andreas Jaeger <aj@suse.de>
17997
17998 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17999 NULL after inclusion of kernel headers.
18000
75d39ff2
UD
180012011-06-21 Ulrich Drepper <drepper@gmail.com>
18002
51f9aa6a
UD
18003 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18004 calls to internal_setent.
18005
c0244a9d
UD
18006 [BZ #12885]
18007 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18008 addresses using gethostbyname4_r ignore IPv4 addresses.
18009
c5e3c2ae
UD
18010 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18011 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18012
75d39ff2
UD
18013 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18014
42675c6f
DM
180152011-06-20 David S. Miller <davem@davemloft.net>
18016
18017 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18018 inclusions.
18019 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18020
18021 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18022 (elf_irel): Use it.
18023 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18024 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18025 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18026 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18027 * sysdeps/x86_64/dl-irel.h: Likewise.
18028
18029 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18030 * elf/dl-sym.c: Likewise.
18031
57912a71
UD
180322011-06-15 Ulrich Drepper <drepper@gmail.com>
18033
18034 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18035 need to dereference resplen2.
18036
ee22793d
AS
180372011-06-14 Andreas Schwab <schwab@redhat.com>
18038
18039 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18040
a9e836b0
UD
180412011-06-15 Ulrich Drepper <drepper@gmail.com>
18042
77fb9117
UD
18043 * Makeconfig: Define vardbdir and inst_vardbdir.
18044 * nss/Makefile: Add rules to install db-Makefile.
18045
40c1b22c
UD
18046 * nss/nss_db/db-XXX.c: Cleanup.
18047
9f2da732
UD
18048 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18049 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18050 GLIBC_PRIVATE.
18051 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18052 * nss/makedb.c: Implement -g option to specify that value strings
18053 are generated and should not be added to table iterated over for
18054 get*ent calls.
18055 * nss/nss_db/db-initgroups.c: New file.
18056
82e9a1f7
UD
18057 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18058 interface.
18059
c41af17e
UD
18060 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18061 (internal_getgrouplist): Adjust to name change.
18062 Update use_initgroups_entry if this is not the first call.
18063 * nss/databases.def: Add initgroups entry.
18064
a9e836b0
UD
18065 * nss/makedb.c (compute_tables): Check result of multiple hash table
18066 sizes to minimize maximum chain length.
18067
2666d441
UD
180682011-06-14 Ulrich Drepper <drepper@gmail.com>
18069
18070 * Versions.def: Add entry for libnss_db.
18071 * shlib-versions: Likewise.
18072 * nss/Makefile: Add rules to build libnss_db.
18073 * nss/Versions: Add libnss_db information. Organize libnss_files
18074 entries better.
18075 * nss/db-Makefile: Add gshadow support. Change rules for the new
18076 makedb progra. Some minor improvements to generate smaller files.
18077 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18078 here from...
18079 * nss/makedb.c: ...here.
18080 Improve database format to be smaller and require less memory at
18081 runtime.
18082 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18083 db anymore.
18084 * nss/nss_db/db-netgrp.c: Likewise.
18085 * nss/nss_db/db-open.c: Likewise.
18086 * nss/nss_files/flies-XXX.x: Adjust comments.
18087 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18088 * nss/nss_files/files-grp.c: Likewise.
18089 * nss/nss_files/files-hosts.c: Likewise.
18090 * nss/nss_files/files-network.c: Likewise.
18091 * nss/nss_files/files-proto.c: Likewise.
18092 * nss/nss_files/files-pwd.c: Likewise.
18093 * nss/nss_files/files-rpc.c: Likewise.
18094 * nss/nss_files/files-service.c: Likewise.
18095 * nss/nss_files/files-sgrp.c: Likewise.
18096 * nss/nss_files/files-spwd.c: Likewise.
18097 * nss/nss_db/db-alias.c: Removed.
18098 * nss/nss_db/dummy-db.h: Removed.
18099
9ee76b5a
UD
181002011-06-02 Ulrich Drepper <drepper@gmail.com>
18101
18102 * nss/makedb.c: Rewritten to not use database library.
18103 * nss/Makefile: Update to build new makedb program.
18104
c71ca1f8
AJ
181052011-06-14 Andreas Jaeger <aj@suse.de>
18106
18107 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18108 memset declaration.
18109
3154bfb8
UD
181102011-06-10 Andreas Schwab <schwab@redhat.com>
18111
18112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18113 tmpbuf.
18114
b350afab
RM
181152011-06-10 Roland McGrath <roland@hack.frob.com>
18116
decd4e50
RM
18117 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18118 * elf/Makefile ($(objpfx)ld.so): Likewise.
18119
5615eaf2
RM
18120 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18121 Don't list ld.so twice in dependencies.
18122
18123 * posix/bug-regex31.c: Include <stdlib.h>.
18124
18125 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18126
18127 * nis/nss_compat/compat-spwd.c
18128 (getspent_next_nss_netgr): Remove unused variable.
18129 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18130
18131 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18132 nonmembers" output to use the right array.
18133
18134 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18135
18136 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18137
18138 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18139 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18140 * catgets/gencat.c (read_input_file): Likewise.
18141 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18142
18143 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18144 variable definition inside #if's controlling its use.
18145
18146 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18147
18148 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18149
18150 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18151
18152 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18153 unreachable code.
18154
18155 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18156
b68e08db
RM
18157 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18158 * configure: Regenerated.
18159
b350afab
RM
18160 * Makerules: Revert last change.
18161 * elf/Makefile: Likewise.
18162
28368601
RM
181632011-06-09 Roland McGrath <roland@hack.frob.com>
18164
18165 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18166 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18167 (reloc-link): Likewise.
18168
11988f8f
UD
181692011-06-09 Ulrich Drepper <drepper@gmail.com>
18170
18171 * elf/Makefile: Add rules to build pldd.
18172 * elf/pldd.c: New file.
18173 * elf/pldd-xx.c: New file.
18174
e80fab37
UD
181752011-06-07 Ulrich Drepper <drepper@gmail.com>
18176
18177 * version.h: Update for 2.15 development version.
18178
9b849836
DM
181792011-06-07 David S. Miller <davem@davemloft.net>
18180
18181 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18182 ifuncs.
18183 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18184 elf_machine_lazy_rel): Likewise.
18185 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18186 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18187 elf_machine_lazy_rel): Likewise.
18188 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18189 dl_hwcap via passed in argument.
18190 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18191 Likewise.
18192
5a31b283
AK
181932011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18194
18195 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18196
069e52f8
RM
181972011-06-06 Roland McGrath <roland@hack.frob.com>
18198
18199 [BZ #12849]
18200 * manual/fdl-1.1.texi: New file, verbatim from:
18201 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18202 * manual/lgpl-2.1.texi: New file, verbatim from:
18203 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18204 * manual/Makefile (licenses): New variable, list those new file names.
18205 (texis): Use it.
18206 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18207
18208 * manual/fdl.texi: File removed.
18209 * manual/lesser.texi: File removed.
18210 * manual/libc.texinfo (Copying, Documentation License):
18211 Use new @include file names, put @appendix directive before @include.
18212
f16846a5
JJ
182132011-06-04 Jakub Jelinek <jakub@redhat.com>
18214
18215 [BZ #12841]
18216 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18217 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18218 (mq_open): Add __NTH.
18219
3d29045b
L
182202011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18221
18222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18223 Assume Intel Core i3/i5/i7 processor if AVX is available.
18224
8c297311
UD
182252011-05-31 Ulrich Drepper <drepper@gmail.com>
18226
18227 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18228 typo.
18229
c8fc0c91
UD
182302011-05-31 Andreas Schwab <schwab@redhat.com>
18231
18232 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18233 memory. Use alloca_account. Fix memory leak when retrying.
18234
5b27a807
UD
182352011-05-31 Ulrich Drepper <drepper@gmail.com>
18236
356f8bc6
UD
18237 * version.h (RELEASE): Bump for 2.14 release.
18238 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18239
5b27a807
UD
18240 * config.make.in (RANLIB): Remove entry.
18241
01f16ab0
UD
182422011-05-30 Ulrich Drepper <drepper@gmail.com>
18243
41fce8bd
UD
18244 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18245 (libc.pot): Work around missing support for .ksh extension in xgettext.
18246
4769ae77
UD
18247 [BZ #12684]
18248 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18249 if both request failed.
18250 (send_dg): In case of server errors clear resplen or *resplen2.
18251
6b1e7d19
UD
18252 [BZ #12454]
18253 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18254 when there are multiple maps.
18255 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18256 (_dl_fini): Remove test here.
18257
01f16ab0
UD
18258 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18259
b1ebd700
UD
182602011-05-29 Ulrich Drepper <drepper@gmail.com>
18261
7ae22829
UD
18262 [BZ #12350]
18263 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18264 bit from old_res_options.
18265 (gaih_inet): Likewise.
18266
553149f6 18267 [BZ #11099]
18a84741 18268 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
18269 as signed.
18270
652ffab1
UD
18271 * resolv/res_init.c (res_setoptions): Make the code more compact.
18272
16985fd0
UD
18273 [BZ #11558]
18274 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18275 set RES_USEVC.
18276
0464f746
UD
18277 [BZ #11634]
18278 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18279
7d17596c
UD
18280 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18281
cf6bbbd7
UD
18282 [BZ #11781]
18283 * malloc/malloc.h: Declare malloc hook variables as volatile.
18284
13f1ab36
UD
18285 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18286 in last patch.
18287
b1ebd700
UD
18288 [BZ #11799]
18289 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 18290 raise in the comment.
80e2212d
UD
18291 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18292 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18293 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 18294
ce67228d
UD
182952011-05-28 Ulrich Drepper <drepper@gmail.com>
18296
8887a920
UD
18297 [BZ #12811]
18298 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18299 grow the buffers more if it already has to be sufficient.
18300 (build_wcs_upper_buffer): Likewise.
18301 * posix/regexec.c (check_matching): Likewise.
18302 (clean_state_log_if_needed): Likewise.
18303 (extend_buffers): Don't enlarge buffers beyond size of the input
18304 buffer.
18305 Patches mostly by Emil Wojak <emil@wojak.eu>.
18306 * posix/bug-regex32.c: New file.
18307 * posix/Makefile (tests): Add bug-regex32.
18308
4f031072
UD
18309 * locale/findlocale.c (_nl_find_locale): Return right away if
18310 _nl_explode_name failed.
18311 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18312
d0478f0c
UD
18313 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18314
de81b246
UD
18315 * debug/xtrace.sh: Unify messages.
18316 * malloc/memusage.sh: Likewise.
18317
c738465a
UD
18318 [BZ #12813]
18319 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18320 time symbol from vDSO. Substitute with vsyscall if not available.
18321 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18322 __vdso_time.
18323
f1f929d7
UD
18324 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18325 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18326 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18327 Add sendmmsg and internal_sendmmsg.
18328 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18329 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18330 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18331
ce67228d
UD
18332 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18333 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18334 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18335
e57420c6
UD
183362011-05-27 Ulrich Drepper <drepper@gmail.com>
18337
a8509ca5
UD
18338 [BZ #12813]
18339 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18340 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18341 available.
18342 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18343 __vdso_getcpu.
18344
e57420c6
UD
18345 [BZ #12814]
18346 * iconvdata/Makefile (tests): Add bug-iconv9.
18347 * iconvdata/bug-iconv9.c: New file.
18348
4d07db15
AS
183492011-05-27 Andreas Schwab <schwab@redhat.com>
18350
18351 [BZ #12814]
18352 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18353
ea486f69
JJ
183542011-05-25 Jakub Jelinek <jakub@redhat.com>
18355
18356 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18357 (struct user_regs_struct): Change intcs field back to cs.
18358
6f038433
UD
183592011-05-25 Ulrich Drepper <drepper@gmail.com>
18360
18361 * po/ja.po: Update from translation team.
18362
67f86a25
UD
183632011-05-23 Ulrich Drepper <drepper@gmail.com>
18364
18365 [BZ #12795]
18366 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18367 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18368
def7fbd6
AS
183692011-05-20 Andreas Schwab <schwab@redhat.com>
18370
18371 * stdlib/longlong.h: Update from GCC.
18372
f50ef8f1
AS
183732011-05-23 Andreas Schwab <schwab@redhat.com>
18374
18375 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18376 parameter name.
18377 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18378 Add parameter name.
18379 (__sysconf): Pass it down.
18380
de7ce8f1
UD
183812011-05-22 Ulrich Drepper <drepper@gmail.com>
18382
f2962a71
UD
18383 [BZ #12671]
18384 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18385 some situations.
18386 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18387 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18388 add in in __libc_use_alloca calls. Adjust callers.
18389 (glob): Use malloc in some situations.
18390
de7ce8f1
UD
18391 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18392 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18393 pltexit.
18394
aec84f53
UD
183952011-05-21 Ulrich Drepper <drepper@gmail.com>
18396
05bb4a68
UD
18397 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18398 and CLOCK_BOOTTIME_ALARM.
18399
7ea72f99
UD
18400 [BZ #12782]
18401 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18402 is returned.
18403
7e4afad5
UD
18404 * string/_strerror.c (__strerror_r): Print negative errors as signed
18405 numbers.
18406
8e211fec
UD
18407 [BZ #12777]
18408 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18409 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18410 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18411
f7d82dc9
UD
18412 * configure.in: Fix typo in redirection and correct removal of test
18413 files in two cases.
18414
cc9e536d
UD
18415 [BZ #12788]
18416 * locale/setlocale.c (new_composite_name): Fix test to check for
18417 identical name of all categories.
18418
aec84f53
UD
18419 [BZ #12792]
18420 * libio/filedoalloc.c (local_isatty): New function.
18421 (_IO_file_doallocate): Use local_isatty.
18422 * stdio-common/perror.c (perror): In case a new stream is used
18423 forward the stream error.
18424 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18425 error flag.
18426
78e64fdc
RT
184272011-05-20 Ulrich Drepper <drepper@gmail.com>
18428
34a9094f
UD
18429 [BZ #11869]
18430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18431 alloca.
18432 * include/alloca.h (extend_alloca_account): Define.
18433
78e64fdc
RT
18434 [BZ #11857]
18435 * posix/regex.h: Fix comments with documentation of user-accessible
18436 fields after compilation and describe correct free'ing of pattern
18437 after re_compile_pattern.
18438 Patch by Reuben Thomas <rrt@sc3d.org>.
18439
457bddfc
RA
184402011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18441
18442 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18443 and -mno-altivec to prevent the compiler from using Altivec and/or
18444 VSX instructions when the corresponding registers are not available.
18445
a4527b51
AS
184462011-05-19 Andreas Schwab <schwab@redhat.com>
18447
18448 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18449
ed690b2f
UD
184502011-05-19 Ulrich Drepper <drepper@gmail.com>
18451
18452 * libio/freopen.c (freopen): Use __dup2, not dup2.
18453 * libio/freopen64.c (freopen64): Likewise.
18454
8db73634
L
184552011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18456
18457 [BZ #12775]
18458 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18459 * math/Makefile (tests): Add test-powl.
18460 (CFLAGS-test-powl.c): Define.
18461 * math/test-powl.c: New file.
18462
0a197a9d
L
184632011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18464
18465 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18466
ee30c380
UD
184672011-05-17 Ulrich Drepper <drepper@gmail.com>
18468
18469 [BZ #11837]
18470 * iconvdata/gb18030.c: Update to GB18020-2005.
18471
6ce75379
UD
184722011-05-16 Ulrich Drepper <drepper@gmail.com>
18473
a4b89fd8
AR
18474 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18475 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18476 Patch by Aharon Robbins <arnold@skeeve.com>.
18477
ea389b12
UD
18478 [BZ #11892]
18479 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18480 on the stack.
18481
68a3f91f
UD
18482 [BZ #11895]
18483 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18484 through underflows.
18485
15cc7dd1
UD
18486 [BZ #12766]
18487 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18488 point to strings before performing equality test for error_one_per_line
18489 mode.
18490
f3799213
UD
18491 [BZ #11697]
18492 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18493
d79a9c94
UD
18494 [BZ #11820]
18495 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18496 (struct user_fpregs_struct): Avoid __uint*_t types.
18497
56e5eb46
UD
18498 [BZ #6420]
18499 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18500 symbol info. Use it instead of calling _dl_addr locally.
18501 (lock_and_info): New function.
18502 (tr_freehook): Call lock_and_info and pass symbol info as additional
18503 parameter to tr_where.
18504 (tr_mallochook): Likewise.
18505 (tr_reallochook): Likewise.
18506 (tr_memalignhook): Likewise.
18507
6ce75379
UD
18508 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18509 used and couldn't be at all thread-safe.
18510
f8a3b5bf
UD
185112011-05-15 Ulrich Drepper <drepper@gmail.com>
18512
94b7cc37
UD
18513 * libio/freopen.c (freopen): Don't close old file descriptor
18514 before the new one is opened. Instead dup the new file descriptor
18515 to the old one after the new stream is created.
18516 * libio/freopen64.c (freopen64): Likewise.
18517 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18518 * libio/fileops.c (_IO_new_file_close_it): Handle new
18519 _IO_FLAGS2_NOCLOSE flag.
18520 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18521 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18522 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18523 _IO_FLAGS2_NOCLOSE flag.
18524 * include/unistd.h: Add hidden_proto for dup3.
18525 Define __have_dup3.
18526 * io/dup3.c: Define hidden symbol.
18527 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18528
bd25564e
UD
18529 [BZ #7101]
18530 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18531 when an incomplete long option is used.
18532 * posix/tst-getopt_long1.c: New file.
18533 * posix/Makefile (tests): Add tst-getopt_long1.
18534
c84cfef4
UD
18535 [BZ #10138]
18536 * scripts/config.guess: Update from autoconf-2.68.
18537 * scripts/config.sub: Likewise.
18538
3b85df27
UD
18539 [BZ #10157]
18540 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18541 tests into ...
18542 (has_cpuclock): ...this. New function.
18543 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18544 macro here based on has_cpuclock code.
18545
15a856b1
UD
18546 [BZ #10149]
18547 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18548 First byte (not low byte) is now always NUL.
18549 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18550
05f399e6
UD
18551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18552 Use non-cancelable interfaces.
18553
10a52685 18554 [BZ #9809]
94ecc67d
UD
18555 * locale/iso-639.def: Add entry for Sorani.
18556
f8a3b5bf
UD
18557 [BZ #11901]
18558 * include/stdlib.h: Move include protection to the right place.
18559 Define abort_msg_s. Declare __abort_msg with it.
18560 * stdlib/abort.c (__abort_msg): Adjust type.
18561 * assert/assert.c (__assert_fail_base): New function. Majority
18562 of code from __assert_fail. Allocate memory for __abort_msg with
18563 mmap.
18564 (__assert_fail): Now call __assert_fail_base.
18565 * assert/assert-perr.c: Remove bulk of implementation. Use
18566 __assert_fail_base.
18567 * include/assert.hL Declare __assert_fail_base.
18568 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18569 mmap.
18570 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18571
1af4e298
UD
185722011-05-14 Ulrich Drepper <drepper@gmail.com>
18573
f8a3b5bf 18574 [BZ #11952]
d26dfc60
MG
18575 [BZ #12453]
18576 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18577 until all modules are registered in the DTV.
18578 * elf/Makefile: Add rules to build and run tst-tls19.
18579 * elf/tst-tls19.c: New file.
18580 * elf/tst-tls19mod1.c: New file.
18581 * elf/tst-tls19mod2.c: New file.
18582 * elf/tst-tls19mod3.c: New file.
18583 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18584
2fc54d6f
UD
18585 [BZ #12083]
18586 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18587 correctly.
18588
98d76b46
UD
18589 [BZ #12601]
18590 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18591 two-byte sequence errors.
18592 * iconvdata/Makefile (tests): Add bug-iconv8.
18593 * iconvdata/bug-iconv8.c: New file.
18594
da3c19ef
UD
18595 [BZ #12626]
18596 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18597 buf2 definition.
18598
ca408c15
UD
18599 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18600
d6f67f7d
UD
18601 [BZ #12432]
18602 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18603 (dummy_getcfa): New function.
18604 (init): Get _Unwind_GetCFA address, use dummy if not found.
18605 (backtrace_helper): In recursion check, also check whether CFA changes.
18606 (__backtrace): Completely initialize arg.
18607
1af4e298 18608 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18609 storing incomplete byte sequence in state object. Avoid testing for
18610 guaranteed too small input if we know there is enough data available.
1af4e298 18611
da62f81b
AS
186122011-05-11 Andreas Schwab <schwab@redhat.com>
18613
18614 * Makeconfig (+link-pie): Indent.
18615 * Rules (binaries-pie): Define if $(have-fpie) and
18616 $(build-shared).
18617 (binaries-shared): Also filter out $(binaries-pie).
18618 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18619 * nscd/Makefile (others-pie): Add nscd.
18620 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18621 ($(objpfx)nscd): Remove command override.
18622 * login/Makefile (others-pie): Add pt_chown.
18623 ($(objpfx)pt_chown): Remove command override.
18624 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18625 remove command overrides.
18626
fcabc0f8
UD
186272011-05-13 Ulrich Drepper <drepper@gmail.com>
18628
20030ae6
UD
18629 * libio/tst_putwc.c: Fix error messages.
18630
fcabc0f8
UD
18631 [BZ #12724]
18632 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18633 currently writing and seek to current position when not.
18634 * libio/Makefile (tests): Add bug-fclose1.
18635 * libio/bug-fclose1.c: New file.
18636
320a5dc0
PB
186372011-05-12 Ulrich Drepper <drepper@gmail.com>
18638
18639 [BZ #12511]
18640 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18641 don't set DF_1_NODELETE here.
18642 (do_lookup_x): When entering new entry test for copy relocation
18643 and if necessary set DF_1_NODELETE flag.
18644 * elf/tst-unique4.cc: New file.
18645 * elf/tst-unique4.h: New file.
18646 * elf/tst-unique4lib.cc: New file.
18647 * elf/Makefile: Add rules to build and run tst-unique4.
18648 Patch by Piotr Bury <pbury@goahead.com>.
18649
22836f52
UD
186502011-05-11 Ulrich Drepper <drepper@gmail.com>
18651
f574184a
UD
18652 [BZ #12052]
18653 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18654
e1fb097f
UD
18655 [BZ #12625]
18656 * misc/mntent_r.c (addmntent): Flush the stream after the output
18657
22836f52
UD
18658 [BZ #12393]
18659 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18660 (is_trusted_path_normalize): Skip initial colon. Append slash
18661 to empty buffer. Duplicate is_trusted_path code but allow
18662 constructed patch to be prefix.
18663 (is_dst): Allow $ORIGIN followed by /.
18664 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18665 Correct testing of result of is_trusted_path_normalize
18666 (decompose_rpath): Fix warning.
18667
7b3b0b2a
UD
186682011-05-10 Ulrich Drepper <drepper@gmail.com>
18669
18670 [BZ #11257]
18671 * grp/initgroups.c (internal_getgrouplist): When we found the service
18672 list through the initgroups entry in nsswitch.conf do not always
18673 continue on a successful lookup. Don't always use the
eac80ce2 18674 __nss_group_database value if it is set.
7b3b0b2a
UD
18675 * nss/nsswitch.conf (initgroups): Change action for successful db
18676 lookup to continue for compatibility.
18677
2a81eaa5
UD
186782011-05-09 Ulrich Drepper <drepper@gmail.com>
18679
be97a69e
UD
18680 [BZ #11532]
18681 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18682 and CP774 modules.
18683 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18684 and CP774 modules.
18685 * iconvdata/tst-tables.sh: Likewise.
18686 * iconvdata/cp770.c: New file.
18687 * iconvdata/cp771.c: New file.
18688 * iconvdata/cp772.c: New file.
18689 * iconvdata/cp773.c: New file.
18690 * iconvdata/cp774.c: New file.
18691 * iconvdata/testdata/CP770: New file.
18692 * iconvdata/testdata/CP770..UTF8: New file.
18693 * iconvdata/testdata/CP771: New file.
18694 * iconvdata/testdata/CP771..UTF8: New file.
18695 * iconvdata/testdata/CP772: New file.
18696 * iconvdata/testdata/CP772..UTF8: New file.
18697 * iconvdata/testdata/CP773: New file.
18698 * iconvdata/testdata/CP773..UTF8: New file.
18699 * iconvdata/testdata/CP774: New file.
18700 * iconvdata/testdata/CP774..UTF8: New file.
18701
18702 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18703 END CHARMAP line.
18704 * iconvdata/gen-8bit-gap.sh: Likewise.
18705 * iconvdata/gen-8bit.sh: Likewise.
18706
c1e9e399
UD
18707 * locale/iso-639.def: Add ary entry.
18708
24c55fb3 18709 [BZ #11258]
96b4b1b0
UD
18710 * locale/C-translit.h.in: Add U20A1 transliteration.
18711
bdc2f971
KB
18712 [BZ #12178]
18713 * locale/iso-639.def: Add wae entry.
18714 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18715
2952b117
UD
18716 [BZ #12545]
18717 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18718 for n.
18719
2a81eaa5
UD
18720 [BZ #12711]
18721 * locale/C-translit.h.in: Add entry for U20B9.
18722 Patch by pravin.d.s@gmail.com.
18723
28377d1b
UD
187242011-05-08 Ulrich Drepper <drepper@gmail.com>
18725
7fb90fb8
UD
18726 [BZ #12713]
18727 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18728 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18729 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18730 in rtld. Use *stat64.
7fb90fb8 18731 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18732 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18733 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18734 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18735 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18736 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18737 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18738 __fstatat64 macros.
7fb90fb8
UD
18739 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18740 * dirent/rewinddir.c: Add libc_hidden_def.
18741 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18742 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18743
28377d1b
UD
18744 * include/dirent.h (__alloc_dir): Add flags parameter.
18745 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18746 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18747 __alloc_dir.
18748 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18749 from fdopendir if O_CLOEXEC is already set.
18750
66bdbaa4
AM
187512011-03-15 Alan Modra <amodra@gmail.com>
18752
18753 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18754 l_tls_firstbyte_offset non-zero. Save padding offset in
18755 l_tls_firstbyte_offset for later use.
18756 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18757 freeing static tls block.
18758
95721191
JN
187592011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18760
18761 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18762 where #ifdef was intended. The intent is to prevent ARG_MAX from
18763 being defined by the kernel headers.
18764
f87dfb1f
UD
187652011-05-07 Ulrich Drepper <drepper@gmail.com>
18766
18767 [BZ #12734]
18768 * resolv/resolv.h: Define RES_NOTLDQUERY.
18769 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18770 no-tld-query and set RES_NOTLDQUERY.
18771 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18772 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18773 modern BIND to search name as TLD unless forbidden.
18774
47c3cd7a
UD
187752011-05-07 Petr Baudis <pasky@suse.cz>
18776 Ulrich Drepper <drepper@gmail.com>
18777
18778 [BZ #12393]
18779 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18780 (is_trusted_path): ...to here.
c1e9ea35 18781 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18782 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18783 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18784
8a35c912
PP
187852011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18786
18787 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18788 __BEGIN/__END_DECLS.
18789
acd41f47
UD
187902011-05-06 Ulrich Drepper <drepper@gmail.com>
18791
18792 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18793 NSS_STATUS_NOTFOUND if no record was found.
18794
597df647
AS
187952011-05-05 Andreas Schwab <schwab@redhat.com>
18796
18797 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18798 (headers-not-in-tirpc): Remove rpc/netdb.h
18799 * resolv/netdb.h: Revert last change.
18800
b9af1301
PP
188012011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18802
18803 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18804 circular dependency between libgcc.a and libc.a.
18805
4e34d5f5
AS
188062011-05-05 Andreas Schwab <schwab@redhat.com>
18807
18808 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18809 * nis/Makefile: Don't install rpcsvc/*.
18810 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18811 instead of <rpc/types.h>.
18812 (MAXHOSTNAMELEN): Define.
18813
00ee369c
AS
188142011-05-03 Andreas Schwab <schwab@redhat.com>
18815
18816 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18817
0b592a30
MB
188182011-04-28 Maciej Babinski <mbabinski@google.com>
18819
18820 [BZ #12714]
18821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18822 gethostbyname4_r when IPv6 results are possible.
18823
6e04cbbe
UD
188242011-05-02 Ulrich Drepper <drepper@gmail.com>
18825
18826 [BZ #12723]
18827 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18828 _PC_PIPE_BUF handling.
18829
e4ecafe0
BH
188302011-04-30 Bruno Haible <bruno@clisp.org>
18831
18832 [BZ #12717]
18833 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18834 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18835 to 'int'.
18836 * inet/getnameinfo.c (getnameinfo): Likewise.
18837
125ee683
UD
188382011-04-29 Ulrich Drepper <drepper@gmail.com>
18839
18840 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18841 to groups setting in database lookup.
18842 * nss/nsswitch.conf: Add initgroups entry.
18843
b722481a
EB
188442011-04-22 Ulrich Drepper <drepper@gmail.com>
18845
18846 [BZ #12685]
18847 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18848 mode string.
18849 Patch by Eric Blake <eblake@redhat.com>.
18850
4df46dbd
L
188512011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18852
18853 * sunrpc/Makefile (need-export-routines): Add svc_run.
18854 (routines): Remove svc_run.
18855 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18856 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18857 * sunrpc/svc_run.c (svc_run): Likewise.
18858 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18859
e84142d2
UD
188602011-04-21 Ulrich Drepper <drepper@gmail.com>
18861
18862 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18863 problem in reallocation in last patch.
18864
877175d8
UD
188652011-04-20 Ulrich Drepper <drepper@gmail.com>
18866
18867 * sunrpc/Makefile: Move inclusion of Rules.
18868
ab8eed78
UD
188692011-04-19 Ulrich Drepper <drepper@gmail.com>
18870
18871 * nss/nss_files/files-initgroups.c: New file.
18872 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18873 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18874 _nss_files_initgroups_dyn.
18875
e3d8f584
RS
188762011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18877
18878 * elf/elf.h (R_ARM_IRELATIVE): Define.
18879
af190f45
UD
188802011-04-19 Ulrich Drepper <drepper@gmail.com>
18881
18882 * po/ru.po: Update from translation team.
18883
53cf59ef
UD
188842011-04-17 Ulrich Drepper <drepper@gmail.com>
18885
18886 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18887 dependencies.
18888
4c559bcd
MF
188892011-02-06 Mike Frysinger <vapier@gentoo.org>
18890
18891 [BZ #12653]
18892 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18893 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18894 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18895 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18896 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18897
4420675c
AS
188982011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18899
18900 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18901 differing bytes.
18902 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18903 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18904 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18905
75ea32ab
UD
189062011-04-17 Ulrich Drepper <drepper@gmail.com>
18907
18908 [BZ #12420]
18909 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18910 storing it.
18911 * stdlib/bug-getcontext.c: New file.
18912 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18913
27390476
AK
189142011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18915
18916 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18917 instructions into .machine "z9-109".
18918 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18919 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18920
10442705
AK
189212011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18922
18923 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18924 between environment variables and auxiliary vector.
18925
7b57bfe5
UD
189262011-04-16 Ulrich Drepper <drepper@gmail.com>
18927
18928 * Makefile: Add rules to build linkobj/libc.so.
18929 * include/libc-symbols.h: Define libc_hidden_nolink.
18930 * include/rpc/auth.h: Mark functions which are to be hidden.
18931 * include/rpc/auth_des.h: Likewise.
18932 * include/rpc/auth_unix.h: Likewise.
18933 * include/rpc/clnt.h: Likewise.
18934 * include/rpc/des_crypt.h: Likewise.
18935 * include/rpc/key_prot.h: Likewise.
18936 * include/rpc/pmap_clnt.h: Likewise.
18937 * include/rpc/pmap_prot.h: Likewise.
18938 * include/rpc/pmap_rmt.h: Likewise.
18939 * include/rpc/rpc_msg.h: Likewise.
18940 * include/rpc/svc.h: Likewise.
18941 * include/rpc/svc_auth.h: Likewise.
18942 * include/rpc/xdr.h: Likewise.
18943 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18944 * nss/Makefile: Likewise.
18945 * sunrpc/Makefile: Don't install headers. Build library with normal
18946 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18947 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18948 for the compat linking library. Remove use of INTDEF/INTUSE.
18949 * sunrpc/auth_none.c: Likewise.
18950 * sunrpc/auth_unix.c: Likewise.
18951 * sunrpc/authdes_prot.c: Likewise.
18952 * sunrpc/authuxprot.c: Likewise.
18953 * sunrpc/clnt_gen.c: Likewise.
18954 * sunrpc/clnt_perr.c: Likewise.
18955 * sunrpc/clnt_raw.c: Likewise.
18956 * sunrpc/clnt_simp.c: Likewise.
18957 * sunrpc/clnt_tcp.c: Likewise.
18958 * sunrpc/clnt_udp.c: Likewise.
18959 * sunrpc/clnt_unix.c: Likewise.
18960 * sunrpc/des_crypt.c: Likewise.
18961 * sunrpc/des_soft.c: Likewise.
18962 * sunrpc/get_myaddr.c: Likewise.
18963 * sunrpc/key_call.c: Likewise.
18964 * sunrpc/key_prot.c: Likewise.
18965 * sunrpc/netname.c: Likewise.
18966 * sunrpc/pm_getmaps.c: Likewise.
18967 * sunrpc/pm_getport.c: Likewise.
18968 * sunrpc/pmap_clnt.c: Likewise.
18969 * sunrpc/pmap_prot.c: Likewise.
18970 * sunrpc/pmap_prot2.c: Likewise.
18971 * sunrpc/pmap_rmt.c: Likewise.
18972 * sunrpc/publickey.c: Likewise.
18973 * sunrpc/rpc_cmsg.c: Likewise.
18974 * sunrpc/rpc_common.c: Likewise.
18975 * sunrpc/rpc_dtable.c: Likewise.
18976 * sunrpc/rpc_prot.c: Likewise.
18977 * sunrpc/rpc_thread.c: Likewise.
18978 * sunrpc/rtime.c: Likewise.
18979 * sunrpc/svc.c: Likewise.
18980 * sunrpc/svc_auth.c: Likewise.
18981 * sunrpc/svc_authux.c: Likewise.
18982 * sunrpc/svc_raw.c: Likewise.
18983 * sunrpc/svc_run.c: Likewise.
18984 * sunrpc/svc_simple.c: Likewise.
18985 * sunrpc/svc_tcp.c: Likewise.
18986 * sunrpc/svc_udp.c: Likewise.
18987 * sunrpc/svc_unix.c: Likewise.
18988 * sunrpc/svcauth_des.c: Likewise.
18989 * sunrpc/xcrypt.c: Likewise.
18990 * sunrpc/xdr.c: Likewise.
18991 * sunrpc/xdr_array.c: Likewise.
18992 * sunrpc/xdr_float.c: Likewise.
18993 * sunrpc/xdr_intXX_t.c: Likewise.
18994 * sunrpc/xdr_mem.c: Likewise.
18995 * sunrpc/xdr_rec.c: Likewise.
18996 * sunrpc/xdr_ref.c: Likewise.
18997 * sunrpc/xdr_sizeof.c: Likewise.
18998 * sunrpc/xdr_stdio.c: Likewise.
18999
e6c61494
UD
190002011-04-10 Ulrich Drepper <drepper@gmail.com>
19001
19002 [BZ #12650]
19003 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19004 * sysdeps/ia64/dl-tls.h: Likewise.
19005 * sysdeps/powerpc/dl-tls.h: Likewise.
19006 * sysdeps/s390/dl-tls.h: Likewise.
19007 * sysdeps/sh/dl-tls.h: Likewise.
19008 * sysdeps/sparc/dl-tls.h: Likewise.
19009 * sysdeps/x86_64/dl-tls.h: Likewise.
19010 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19011
34fe483e
AS
190122011-03-14 Andreas Schwab <schwab@redhat.com>
19013
19014 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19015 rpath element also skip the following colon.
19016 (expand_dynamic_string_token): Add is_path parameter and pass
19017 down to DL_DST_REQUIRED and _dl_dst_substitute.
19018 (decompose_rpath): Call expand_dynamic_string_token with
19019 non-zero is_path. Ignore empty rpaths.
19020 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19021 with zero is_path.
19022
f12a32e6
AS
190232011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19024
19025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19026 Make cancelable.
19027
38a7d692
UD
190282011-04-09 Ulrich Drepper <drepper@gmail.com>
19029
19030 [BZ #12655]
19031 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19032 Patch by Filipe David Manana <fdmanana@apache.org>.
19033
e451d22b
AS
190342011-04-07 Andreas Schwab <schwab@redhat.com>
19035
19036 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19037 Maintain aligned stack.
19038 (CHECK_RSP): Remove unused macro.
19039
dedc7c7b
UD
190402011-04-03 Ulrich Drepper <drepper@gmail.com>
19041
19042 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19043 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19044
94521213
UD
190452011-04-02 Ulrich Drepper <drepper@gmail.com>
19046
19047 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19048
8cb700c0 19049 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 19050
0354e355
L
190512011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19052
19053 [BZ #12518]
19054 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19055 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19056 * sysdeps/x86_64/memmove.c: New file.
19057 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19058 (memcpy): Renamed to ...
19059 (__new_memcpy): This.
19060 (memcpy): Provide GLIBC_2_14 memcpy.
19061 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19062 (memcpy): Provide GLIBC_2_2_5 memcpy.
19063
8593482f
UD
190642011-04-01 Ulrich Drepper <drepper@gmail.com>
19065
19066 [BZ #12631]
19067 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19068
81a5726b
AS
190692011-03-30 Andreas Schwab <schwab@redhat.com>
19070
19071 * misc/syncfs.c: New file.
19072 * misc/Makefile (routines): Add syncfs.
19073 * posix/unistd.h: Declare syncfs.
19074 * sysdeps/unix/syscalls.list: Add syncfs.
19075
00e5419f
AS
190762011-04-01 Andreas Schwab <schwab@redhat.com>
19077
19078 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19079 open_by_handle_at.
19080 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19081 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19082 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19083 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19085 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19086 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19087
748876bf
UD
190882011-04-01 Ulrich Drepper <drepper@gmail.com>
19089
658e451d
UD
19090 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19091 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19092 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19093 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19094 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19095 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19096 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19097
748876bf
UD
19098 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19099 sync_file_range.c with -fexceptions.
19100 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19101 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19102 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19103 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19104 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19105 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19106 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
19107 sync_file_range as cancellation point
19108 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19109 now a wrapper around __call_sync_file_range with cancellation handling.
19110 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19111 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19112 function name to __call_sync_file_range.
19113 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19114 Add call_sync_file_range.
748876bf 19115
6e63d5e1
AS
191162011-04-01 Andreas Schwab <schwab@redhat.com>
19117
19118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 19119 bits/timex.h.
6e63d5e1 19120
46998f74
UD
191212011-04-01 Ulrich Drepper <drepper@gmail.com>
19122
4c1423ed
UD
19123 * iconv/iconv.h: Fix typo in comment.
19124 * io/fcntl.h: Likewise.
19125 * libio/stdio.h: Likewise.
19126 * posix/spawn.h: Likewise.
19127 * posix/unistd.h: Likewise.
19128 * stdlib/stdlib.h: Likewise.
19129 * time/time.h: Likewise.
19130 * wcsmbs/wchar.h: Likewise.
19131
158648c0
UD
19132 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19133 open_by_handle): Add.
19134 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19135 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19136 Augment a few comments.
19137 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19138 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19139 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19140 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19141 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19142 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19143 open_by_handle.
19144
46998f74
UD
19145 * io/fcntl.h (AT_EMPTY_PATH): Define.
19146
83fe108b
UD
191472011-03-30 Ulrich Drepper <drepper@gmail.com>
19148
19149 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19150 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19151 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19152 to...
19153 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
19154 * Versions.def: Add GLIBC_2.14.
19155 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19156 Export.
83fe108b 19157
bb242059
UD
191582011-03-22 Ulrich Drepper <drepper@gmail.com>
19159
19160 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19161 round counter.
19162 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19163
c97a1282
L
191642011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19165
19166 [BZ #12597]
19167 * string/test-strncmp.c (do_page_test): New function.
19168 (check2): Likewise.
19169 (test_main): Call check2.
19170 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19171
2a115601
UD
191722011-03-20 Ulrich Drepper <drepper@gmail.com>
19173
19174 [BZ #12587]
19175 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19176 Handle cache information in CPU leaf 4.
19177 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19178
8126d904
UD
191792011-03-18 Ulrich Drepper <drepper@gmail.com>
19180
042c49c6 19181 [BZ #12583]
8126d904
UD
19182 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19183 character representation.
19184 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19185
ccfe366e
RA
191862011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19187
19188 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19189 END(__isnan) to END(__isnanf) to match function entry point/label
19190 EALIGN(__isnanf,...).
19191
c6e13027
JJ
191922011-03-10 Jakub Jelinek <jakub@redhat.com>
19193
19194 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19195
33f85a3f
UD
191962011-03-10 Ulrich Drepper <drepper@gmail.com>
19197
028478fa
UD
19198 [BZ #12510]
19199 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19200 copy from the symbol referenced in the relocation to initialize the
19201 used variable.
19202 Patch by Piotr Bury <pbury@goahead.com>.
19203 * elf/Makefile: Add rules to build and tst-unique3.
19204 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19205 * elf/tst-unique3.cc: New file.
19206 * elf/tst-unique3.h: New file.
19207 * elf/tst-unique3lib.cc: New file.
19208 * elf/tst-unique3lib2.cc: New file.
19209
33f85a3f
UD
19210 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19211
03592fc7
MF
192122011-03-10 Mike Frysinger <vapier@gentoo.org>
19213
19214 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19215 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19216 to _start.
03592fc7 19217
6a5ee102
UD
192182011-03-06 Ulrich Drepper <drepper@gmail.com>
19219
19220 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19221 to-be-loaded object along a path to loader is ld.so.
19222
7e4ba49c
HJ
192232011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19224 Ulrich Drepper <drepper@gmail.com>
19225
19226 * sysdeps/x86_64/memset.S: After aligning destination, code
19227 branches to different locations depending on the value of
19228 misalignment, when multiarch is enabled. Fix this.
19229
192302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19231
19232 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19233 Set _x86_64_preferred_memory_instruction for AMD processsors.
19234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19235 Set bit_Prefer_SSE_for_memop for AMD processors.
19236
13a804de
UD
192372011-03-04 Ulrich Drepper <drepper@gmail.com>
19238
19239 * libio/fmemopen.c (fmemopen): Optimize a bit.
19240
9d25c392
AS
192412011-03-03 Andreas Schwab <schwab@redhat.com>
19242
19243 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19244
a5543c6a
RM
192452011-03-03 Roland McGrath <roland@redhat.com>
19246
19247 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19248
012d35f7
DM
192492011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19250
7e4ba49c 19251 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
19252 __bzero_ultra1 instead of __memset_ultra1.
19253
4bff6e01
AS
192542011-02-23 Andreas Schwab <schwab@redhat.com>
19255 Ulrich Drepper <drepper@gmail.com>
19256
19257 [BZ #12509]
19258 * include/link.h (struct link_map): Add l_orig_initfini.
19259 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19260 returning unsuccessfully.
19261 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19262 close of a file loaded at startup, restore the original l_initfini
19263 list.
19264 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19265 list, store the pointer.
19266 * elf/Makefile ($(objpfx)noload-mem): New rule.
19267 (noload-ENV): Define.
19268 (tests): Add $(objpfx)noload-mem.
19269 * elf/noload.c: Include <memcheck.h>.
19270 (main): Call mtrace. Close all opened handles.
19271
f2092faf
AS
192722011-02-17 Andreas Schwab <schwab@redhat.com>
19273
19274 [BZ #12454]
19275 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19276 dependencies are missing.
19277
6c8a2e88
ST
192782011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19279
f2092faf 19280 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
19281 Hurd needs munmap.
19282 * sysdeps/mach/hurd/ifreq.h: New file.
19283
84a42118
PB
192842011-01-27 Petr Baudis <pasky@suse.cz>
19285 Ulrich Drepper <drepper@gmail.com>
19286
071f805e 19287 [BZ 12445]#
84a42118
PB
19288 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19289 to extend_alloca().
19290 * stdio-common/bug23.c: New file.
19291 * stdio-common/Makefile (tests): Add bug23.
19292
e23fe25b
AS
192932010-09-28 Andreas Schwab <schwab@redhat.com>
19294 Ulrich Drepper <drepper@gmail.com>
19295
19296 [BZ #12489]
19297 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19298 before performing relro protection. At old place add assertion
19299 to make sure nothing changed.
19300
d3f02e10
NS
193012011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19302 Glauber de Oliveira Costa <glommer@gmail.com>
19303
19304 * elf/elf.h: Add new ARM TLS relocs.
19305
d55fd7a5
RA
193062011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19307
19308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19309 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19310 cast from r3.
19311 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19312 'tests' variable.
19313 * sysdeps/wordsize-64/tst-writev.c: New file.
19314
2206397e
RA
193152011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19316
19317 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19318 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19319 insns in _dl_start to prevent a TOC reference before relocs are
19320 resolved.
19321
e9433893
UD
193222011-02-15 Ulrich Drepper <drepper@gmail.com>
19323
19324 [BZ #12469]
19325 * Makeconfig: Remove RANLIB definition.
19326 * Makerules: Don't use RANLIB.
19327 * aclocal.m4: Remove ranlib test.
19328 * configure.in: No need to check for ranlib.
19329 * elf/rtld-Rules: Don't use RANLIB.
19330
f75286c6
ST
193312011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19332
8e31c82d
ST
19333 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19334 protection macro.
19335 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19336 inclusion protection macro.
19337
f75286c6
ST
19338 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19339 SIGRTMIN and SIGRTMAX and print information in that case only when
19340 SIGRTMIN is defined.
19341
c1d0e639
JJ
193422011-02-11 Jakub Jelinek <jakub@redhat.com>
19343
19344 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19345 arginfo fn returning -1.
19346
19347 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19348 and thousands string is zero terminated.
19349
edf9294e
AS
193502011-02-03 Andreas Schwab <schwab@redhat.com>
19351
19352 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19353 sysdeps/unix/sysv/linux/bits/socket.h.
19354
2b7e92df
ST
193552011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19356
edf9294e
AS
19357 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19358 (__CPU_COUNT): Remove old macros.
19359 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19360 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19361 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
19362 (__sched_cpualloc, __sched_cpufree): Add declarations.
19363
a4c7ea7b
UD
193642011-02-05 Ulrich Drepper <drepper@gmail.com>
19365
19366 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19367 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19368 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19369 (readdhstai): Return value of addhstaiX call.
19370 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19371 (addgrbyX): Return value returned by cache_addgr.
19372 (readdgrbyname): Return value returned by addgrbyX.
19373 (readdgrbygid): Likewise.
19374 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19375 (addpwbyX): Return value returned by cache_addpw.
19376 (readdpwbyname): Return value returned by addhstbyX.
19377 (readdpwbyuid): Likewise.
19378 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19379 (addservbyX): Return value returned by cache_addserv.
19380 (readdservbyname): Return value returned by addservbyX:
19381 (readdservbyport): Likewise.
19382 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19383 (addhstbyX): Return value returned by cache_addhst.
19384 (readdhstbyname): Return value returned by addhstbyX.
19385 (readdhstbyaddr): Likewise.
19386 (readdhstbynamev6): Likewise.
19387 (readdhstbyaddrv6): Likewise.
19388 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19389 (readdinitgroups): Return value returned by addinitgroupsX.
19390 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19391 (prune_cache): Keep track of timeout value of re-added entries.
19392 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19393 * nscd/nscd.h: Adjust prototypes of readd* functions.
19394
a0bf67cc
RM
193952011-02-04 Roland McGrath <roland@redhat.com>
19396
19397 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19398 (nis_stats): Likewise.
19399 * nis/nis_modify.c (nis_modify): Likewise.
19400 * nis/nis_remove.c (nis_remove): Likewise.
19401 * nis/nis_add.c (nis_add): Likewise.
19402
19403 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19404
19405 * posix/fnmatch_loop.c: Add some consts.
19406
19407 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19408
435b95eb
L
194092011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19410
19411 [BZ #12460]
19412 * config.make.in (config-cflags-novzeroupper): Define.
19413 * configure.in: Substitute libc_cv_cc_novzeroupper.
19414 * elf/Makefile (AVX-CFLAGS): Define.
19415 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19416 (CFLAGS-tst-auditmod4a.c): Likewise.
19417 (CFLAGS-tst-auditmod4b.c): Likewise.
19418 (CFLAGS-tst-auditmod6b.c): Likewise.
19419 (CFLAGS-tst-auditmod6c.c): Likewise.
19420 (CFLAGS-tst-auditmod7b.c): Likewise.
19421 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19422
8517b15e
UD
194232011-02-02 Ulrich Drepper <drepper@gmail.com>
19424
19425 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19426 function to the callback.
19427 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19428
10a656fe
AS
194292011-02-02 Andreas Schwab <schwab@redhat.com>
19430
19431 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19432 of errno.
19433
968dad0a
UD
194342011-01-19 Ulrich Drepper <drepper@gmail.com>
19435
9f94d2ea 19436 [BZ #11724]
968dad0a
UD
19437 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19438 of constructors.
19439 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19440 of destructors.
19441 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19442
19443 [BZ #11724]
19444 * elf/Makefile: Add rules to build and run new test.
19445 * elf/tst-initorder.c: New file.
19446 * elf/tst-initorder.exp: New file.
19447 * elf/tst-initordera1.c: New file.
19448 * elf/tst-initordera2.c: New file.
19449 * elf/tst-initordera3.c: New file.
19450 * elf/tst-initordera4.c: New file.
19451 * elf/tst-initorderb1.c: New file.
19452 * elf/tst-initorderb2.c: New file.
19453 * elf/tst-order-a1.c: New file.
19454 * elf/tst-order-a2.c: New file.
19455 * elf/tst-order-a3.c: New file.
19456 * elf/tst-order-a4.c: New file.
19457 * elf/tst-order-b1.c: New file.
19458 * elf/tst-order-b2.c: New file.
19459 * elf/tst-order-main.c: New file.
19460 New test case by George Gensure <werkt0@gmail.com>.
19461
86e92359
UD
194622010-10-01 Andreas Schwab <schwab@redhat.com>
19463
19464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19465 decoding ACE if AI_CANONIDN.
19466
5d5732b0
UD
194672011-01-18 Ulrich Drepper <drepper@gmail.com>
19468
19469 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19470
a77e8cbc
UD
194712011-01-17 Ulrich Drepper <drepper@gmail.com>
19472
6392473f
UD
19473 * version.h (RELEASE): Bump for 2.13 release.
19474 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19475
620a0529
UD
19476 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19477
18ba70a5
UD
19478 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19479 MADV_NOHUGEPAGE.
32465c3e
UD
19480 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19481 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19482 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19483 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19484 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19485 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19486
c0dafcf1
UD
19487 * posix/getconf.c: Update copyright year.
19488 * catgets/gencat.c: Likewise.
19489 * csu/version.c: Likewise.
19490 * debug/catchsegv.sh: Likewise.
19491 * debug/xtrace.sh: Likewise.
19492 * elf/ldconfig.c: Likewise.
19493 * elf/ldd.bash.in: Likewise.
19494 * elf/sprof.c (print_version): Likewise.
19495 * iconv/iconv_prog.c: Likewise.
19496 * iconv/iconvconfig.c: Likewise.
19497 * locale/programs/locale.c: Likewise.
19498 * locale/programs/localedef.c: Likewise.
19499 * malloc/memusage.sh: Likewise.
19500 * malloc/mtrace.pl: Likewise.
19501 * nscd/nscd.c (print_version): Likewise.
19502 * nss/getent.c: Likewise.
19503
a77e8cbc
UD
19504 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19505 PF_CAIF, and PF_ALG.
19506 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19507
77e8bddf
AS
195082011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19509
1f20b93a
AS
19510 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19511 (modules-names): Use them.
19512 (ifunc-test-modules, ifunc-pie-tests): Define.
19513 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19514 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19515 (test-extras): Likewise.
19516 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19517 $(compile-command.c).
19518 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19519 (all-built-dso): Define.
19520 (check-textrel.out, check-execstack.out): Depend on it.
19521
77e8bddf
AS
19522 * configure.in: Don't override --enable-multi-arch.
19523
bc425b33
UD
195242011-01-15 Ulrich Drepper <drepper@gmail.com>
19525
19526 [BZ #6812]
19527 * nscd/hstcache.c (tryagain): Define.
19528 (cache_addhst): Return tryagain not notfound for temporary errors.
19529 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19530 failed.
19531
794c3ad3
UD
195322011-01-14 Ulrich Drepper <drepper@gmail.com>
19533
70181fdd
UD
19534 [BZ #10563]
19535 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19536 to make the syscall.
19537 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19538
794c3ad3
UD
19539 [BZ #12378]
19540 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19541 and fall back to matching as normal character if the string ends before
19542 the matching ']' is found. This is what POSIX requires.
19543 * posix/testfnm.c: Adjust test result.
19544 * posix/globtest.sh: Adjust test result. Add new test.
19545 * posix/tst-fnmatch.input: Likewise.
19546 * posix/tst-fnmatch2.c: Add new test.
19547
68dc9497
AS
195482010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19549
19550 * elf/Makefile (check-execstack): Revert last change. Depend on
19551 check-execstack.h.
19552 (check-execstack.h): New target.
19553 (generated): Add check-execstack.h.
19554 * elf/check-execstack.c: Include "check-execstack.h".
19555 (main): Revert last change.
19556 (handle_file): Return zero if GNU_STACK is absent and
19557 DEFAULT_STACK_PERMS doesn't include PF_X.
19558
451f001b
UD
195592011-01-13 Ulrich Drepper <drepper@gmail.com>
19560
cfa28e56
UD
19561 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19562 in child fails because the descriptor is already closed.
8cf8ce17
UD
19563 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19564 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19565 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19566
1086d70d
UD
19567 [BZ #12397]
19568 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19569 syscall.
19570
451f001b
UD
19571 [BZ #10484]
19572 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19573 temporary buffer used to handle multi lookups locally.
a85b5cb4 19574 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19575
08769175
UD
195762011-01-12 Ulrich Drepper <drepper@gmail.com>
19577
19578 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19579 loader is ld.so.
19580
5e49c52e
UD
195812011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19582
19583 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19584 alignment for SSE2.
19585
60522a5f
UD
195862011-01-12 Ulrich Drepper <drepper@gmail.com>
19587
19588 [BZ #12394]
19589 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19590 characters. When rounding increased number of integer digits recompute
19591 number of groups.
19592 * stdio-common/tst-grouping.c: New file.
19593 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19594
f257bbd7
UD
195952011-01-09 Ulrich Drepper <drepper@gmail.com>
19596
19597 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19598 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19599
19600 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19601 void.
19602 * bits/select.h: Likewise.
19603
fa9c15cb
UD
196042011-01-08 Ulrich Drepper <drepper@gmail.com>
19605
19606 * po/ja.po: Update from translation team.
19607
16c2895f
DM
196082011-01-04 David S. Miller <davem@sunset.davemloft.net>
19609
19610 [BZ #11155]
19611 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19612 implementation just like for lxstat, fxstatat, et al.
19613
2543fef2
JM
196142010-12-27 Jim Meyering <meyering@redhat.com>
19615
19616 [BZ #12348]
19617 * posix/regexec.c (build_trtable): Return failure indication upon
19618 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19619
98727dbe
UD
196202010-12-25 Ulrich Drepper <drepper@gmail.com>
19621
5bd6dc5c
UD
19622 [BZ #12201]
19623 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19624 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19625 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19626 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19627
97983464
UD
19628 [BZ #12207]
19629 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19630
98727dbe
UD
19631 [BZ #12204]
19632 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19633 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19634
4a531bb0
L
196352010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19636
19637 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19638 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19639 script has SORT_BY_INIT_PRIORITY.
19640 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19641 NO_CTORS_DTORS_SECTIONS is defined.
19642 * elf/soinit.c: Likewise.
19643 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19644 NO_CTORS_DTORS_SECTIONS is defined.
19645 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19646 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19647 * sysdeps/sh/init-first.c: Likewise.
19648 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19649
07eb4b71
UD
196502010-12-24 Ulrich Drepper <drepper@gmail.com>
19651
19652 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19653 always use the slow path.
19654
30950a5f
RA
196552010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19656
19657 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19658 similar rule which adds the sysdep directories to the header search in
19659 order to pick up the correct platform stackinfo.h.
19660 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19661 perform test if it is, otherwise return successfully without testing.
19662 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19663 DEFAULT_STACK_PERMS define in stackinfo.h.
19664 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19665 defined in stackinfo.h.
19666 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19667 DEFAULT_STACK_PERMS defined in stackinfo.h.
19668 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19669 * sysdeps/ia64/stackinfo.h: Likewise.
19670 * sysdeps/s390/stackinfo.h: Likewise.
19671 * sysdeps/sh/stackinfo.h: Likewise.
19672 * sysdeps/sparc/stackinfo.h: Likewise.
19673 * sysdeps/x86_64/stackinfo.h: Likewise.
19674 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19675 PF_X for powerpc64. Retain PF_X for powerpc32.
19676
db753e2c
UD
196772010-12-19 Ulrich Drepper <drepper@gmail.com>
19678
14b697f7
UD
19679 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19680 accurately.
db753e2c
UD
19681 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19682 GETDENTS_64BIT_ALIGNED.
19683
28300719
UD
196842010-12-14 Ulrich Drepper <dreper@gmail.com>
19685
14b697f7 19686 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19687
4f197237
AS
196882010-12-10 Andreas Schwab <schwab@redhat.com>
19689
dbb0472f
AS
19690 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19691 _GNU_SOURCE.
19692
4f197237
AS
19693 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19694 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19695 Remove __restrict.
19696 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19697 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19698
fb88ac72
UD
196992010-12-09 Ulrich Drepper <drepper@gmail.com>
19700
19701 [BZ #11655]
19702 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19703 are initialized.
19704
42acbb92
JJ
197052010-12-09 Jakub Jelinek <jakub@redhat.com>
19706
19707 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19708
c038d98d
UD
197092010-12-03 Ulrich Drepper <drepper@gmail.com>
19710
19711 * po/it.po: Update from translation team.
19712
3a4a2499
L
197132010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19714
19715 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19716 unused codes.
19717
1e24cf6e
UD
197182010-11-30 Ulrich Drepper <drepper@gmail.com>
19719
19720 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19721
a7690819
AS
197222010-11-24 Andreas Schwab <schwab@redhat.com>
19723
19724 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19725 specially.
19726 (gaih_getanswer_slice): Likewise.
19727
3bf8d1b1
JJ
197282010-10-20 Jakub Jelinek <jakub@redhat.com>
19729
19730 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19731
6db52fbb
PB
197322010-05-31 Petr Baudis <pasky@suse.cz>
19733
19734 [BZ #11149]
19735 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19736 silently even in the chroot mode.
19737
eaca7569
UD
197382010-11-22 Ulrich Drepper <drepper@gmail.com>
19739
19740 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19741 last patch a bit. Pretty printing
19742
3056dcdb
UD
197432010-05-31 Petr Baudis <pasky@suse.cz>
19744
19745 [BZ #10085]
19746 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19747 initialization of skip_initgroups_dyn.
19748
cf7c9078
UD
197492010-11-19 Ulrich Drepper <drepper@gmail.com>
19750
19751 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19752 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19753
a1fb5e3e
UD
197542010-11-16 Ulrich Drepper <drepper@gmail.com>
19755
19756 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19757
3540d66b
AS
197582010-11-11 Andreas Schwab <schwab@redhat.com>
19759
19760 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19761 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19762 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19763 ($(objpfx)tst-fnmatch-mem): New rule.
19764 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19765 * posix/tst-fnmatch.c (main): Call mtrace.
19766
13b69574
L
197672010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19768
19769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19770 Support Intel processor model 6 and model 0x2c.
19771
da93d214
LM
197722010-11-10 Luis Machado <luisgpm@br.ibm.com>
19773
19774 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19775 signed comparison.
19776
8ca52c6e
L
197772010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19778
19779 [BZ #12205]
19780 * string/test-strncasecmp.c (check_result): New function.
19781 (do_one_test): Use it.
19782 (check1): New function.
19783 (test_main): Use it.
19784 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19785 Support strcasecmp and strncasecmp.
19786
69da074d
UD
197872010-11-08 Ulrich Drepper <drepper@gmail.com>
19788
19789 [BZ #12194]
19790 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19791 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19792
ff02d528
L
197932010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19794
19795 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19796 IFUNC support.
19797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19798 memset-x86-64.
19799 * sysdeps/x86_64/multiarch/bzero.S: New file.
19800 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19801 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19802 * sysdeps/x86_64/multiarch/memset.S: New file.
19803 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19804 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19805 Set bit_Prefer_SSE_for_memop for Intel processors.
19806 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19807 Define.
19808 (index_Prefer_SSE_for_memop): Define.
19809 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19810
344d0b54
LM
198112010-11-04 Luis Machado <luisgpm@br.ibm.com>
19812
19813 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19814 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19815
c0dde15b
UD
198162010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19817
19818 [BZ #12191]
19819 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19820 (__x86_64_raw_data_cache_size_half): Likewise.
19821 (__x86_64_raw_shared_cache_size): Likewise.
19822 (__x86_64_raw_shared_cache_size_half): Likewise.
19823
19824 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19825 (__x86_64_raw_data_cache_size_half): Likewise.
19826 (__x86_64_raw_shared_cache_size): Likewise.
19827 (__x86_64_raw_shared_cache_size_half): Likewise.
19828 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19829 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19830 and __x86_64_raw_shared_cache_size_half. Round
19831 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19832 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19833 to multiple of 256 bytes.
19834
0e516e0e
MS
198352010-11-03 Ulrich Drepper <drepper@gmail.com>
19836
19837 [BZ #12167]
19838 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19839 of inacessible symlinks. Verify result of symlink before returning it.
19840 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19841 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19842
0e012e87
ER
198432010-10-28 Erich Ritz <erichritz@gmail.com>
19844
19845 * math/math.h (isinf): Fix typo in comment.
19846
de0ff7bc
UD
198472010-11-01 Ulrich Drepper <drepper@gmail.com>
19848
19849 * po/da.po: Update from translation team.
19850
fa41c84d
UD
198512010-10-26 Ulrich Drepper <drepper@gmail.com>
19852
19853 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19854 is added to the list.
19855
f0967738
AK
198562010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19857 Ulrich Drepper <drepper@gmail.com>
19858
19859 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19860 the global list here. Move code to...
19861 (_dl_add_to_namespace_list): ...here. New function.
19862 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19863 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19864 * elf/dl-load.c (lose): Don't remove the element from the list.
19865 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19866 (_dl_map_object): Likewise.
19867
198682010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19869
19870 [BZ #12159]
19871 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19872 into all bytes of SSE register.
19873 Patch by Richard Li <richardpku@gmail.com>.
19874
f0967738 198752010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19876
19877 [BZ #12140]
19878 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19879 perturbing.
19880
d0b9e94f
MB
198812010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19882
19883 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19884 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19885 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19886 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19888 submachine.
19889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19890
8e9f92e9
AS
198912010-10-22 Andreas Schwab <schwab@redhat.com>
19892
19893 * include/dlfcn.h (__RTLD_SECURE): Define.
19894 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19895 mode & __RTLD_SECURE instead.
19896 (open_path): Rename preloaded parameter to secure.
19897 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19898 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19899 * elf/dl-deps.c (openaux): Likewise.
19900 * elf/rtld.c (struct map_args): Remove is_preloaded.
19901 (map_doit): Don't use it.
19902 (dl_main): Likewise.
19903 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19904 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19905
bc96fbda
AS
199062010-09-09 Andreas Schwab <schwab@redhat.com>
19907
19908 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19909 (sysd-rules-targets): Remove duplicates.
19910 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19911 rtld-%.$o dependency.
19912
22cd1c9b
AS
199132010-10-18 Andreas Schwab <schwab@redhat.com>
19914
19915 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19916 _dl_map_object do it.
19917
18edac48
UD
199182010-10-19 Ulrich Drepper <drepper@gmail.com>
19919
19920 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19921 fast fma builtins, define the macros in the C99 standard.
19922 (FP_FAST_FMAF): Likewise.
19923 (FP_FAST_FMAL): Likewise.
19924 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19925
19926 * bits/mathdef.h: Update copyright year.
19927 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19928
d2050124
MM
199292010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19930
19931 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19932 builtins, define the macros in the C99 standard.
19933 (FP_FAST_FMAF): Likewise.
19934 (FP_FAST_FMAL): Likewise.
19935 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19936 multiply/add.
19937 (FP_FAST_FMAF): Likewise.
19938
475facd1
JJ
199392010-10-15 Jakub Jelinek <jakub@redhat.com>
19940
19941 [BZ #3268]
19942 * math/libm-test.inc (fma_test): Some new testcases.
19943 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19944 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19945 y and infinite z. Do multiplication by C already in long double.
19946 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19948 y and infinite z. Do bitwise or of inexact bit into u.d.
19949 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19950 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19951 * sysdeps/i386/fpu/s_fma.S: Removed.
19952 * sysdeps/i386/fpu/s_fmal.S: Removed.
19953
7c08a05c
JJ
199542010-10-16 Jakub Jelinek <jakub@redhat.com>
19955
19956 [BZ #3268]
19957 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19958 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19959 computation is not scheduled after fetestexcept. Fix value
19960 of minimum denormal long double.
19961
f3f7372d
JJ
199622010-10-14 Jakub Jelinek <jakub@redhat.com>
19963
19964 [BZ #3268]
19965 * math/libm-test.inc (fma_test): Add some more tests.
19966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19967 correctly.
19968
14d43591
AS
199692010-10-15 Andreas Schwab <schwab@redhat.com>
19970
19971 * scripts/data/localplt-s390-linux-gnu.data: New file.
19972 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19973
5e908464
JJ
199742010-10-13 Jakub Jelinek <jakub@redhat.com>
19975
19976 [BZ #3268]
19977 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19978 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19979 instead of dbl-64.
19980 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19981 inlines.
19982 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19984 if one of x and y is very large and the other is subnormal.
19985 * sysdeps/s390/fpu/s_fmaf.c: New file.
19986 * sysdeps/s390/fpu/s_fma.c: New file.
19987 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19988 * sysdeps/powerpc/fpu/s_fma.S: New file.
19989 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19990 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19991 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19992
199932010-10-12 Jakub Jelinek <jakub@redhat.com>
19994
19995 [BZ #3268]
19996 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19997 fma tests.
19998 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19999 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20000 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20001 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20002 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20003 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20004 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20005
b833d51f
UD
200062010-10-12 Ulrich Drepper <drepper@redhat.com>
20007
20008 [BZ #12078]
20009 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20010 * posix/bug-regex31.input: Add test case.
20011
1751705d
UD
200122010-10-11 Ulrich Drepper <drepper@gmail.com>
20013
e9b9cbf5
UD
20014 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20015 * posix/bug-regex31.input: New file.
20016
20017 [BZ #12078]
20018 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20019 (parse_sub_exp): Fix last change, use postorder.
20020
ef06edbe
UD
20021 * posix/bug-regex31.c: New file.
20022 * posix/Makefile: Add rules to build and run bug-regex31.
20023
a129c80d
UD
20024 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20025
20026 [BZ #12078]
20027 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20028
b76b818e
UD
20029 [BZ #12108]
20030 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20031 to have entries in sys_siglist.
20032
1751705d
UD
20033 [BZ #12093]
20034 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20035 be NULL.
20036
9ff8d36f
JJ
200372010-10-07 Jakub Jelinek <jakub@redhat.com>
20038
20039 [BZ #3268]
20040 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20041 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20042 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20043 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20044 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20045 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20046 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20047 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20048 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20049 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20050 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20051 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20052 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20053 * math/ftestexcept.c (fetestexcept): Likewise.
20054 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20055 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20056 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20057 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20058 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20059 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20060 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20061
af325969
UD
200622010-10-11 Ulrich Drepper <drepper@gmail.com>
20063
c579b202 20064 [BZ #12107]
af325969
UD
20065 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20066 newline.
20067
67a67b95
UD
200682010-10-06 Ulrich Drepper <drepper@gmail.com>
20069
20070 * string/bug-strstr1.c: New file.
20071 * string/Makefile: Add rules to build and run bug-strstr1.
20072
5fb308bc
EB
200732010-10-05 Eric Blake <eblake@redhat.com>
20074
20075 [BZ #12092]
20076 * string/str-two-way.h (two_way_long_needle): Always clear memory
20077 when skipping input due to the shift table.
20078
45db99c7
UD
200792010-10-03 Ulrich Drepper <drepper@gmail.com>
20080
3b111893
UD
20081 [BZ #12005]
20082 * malloc/mcheck.c: Handle large requests.
20083
45db99c7
UD
20084 [BZ #12077]
20085 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20086 for strncmp and strncasecmp.
20087 * string/stratcliff.c: Add tests for strcmp and strncmp.
20088 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20089
cf7a1eb8
NI
200902010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20091
20092 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20093 __set_fpscr.
20094
6484ba5e
AJ
200952010-09-30 Andreas Jaeger <aj@suse.de>
20096
20097 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20098 (CGROUP_SUPER_MAGIC): Define.
20099 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20100 Handle btrfs and cgroup file systems.
20101 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20102 Likewise.
20103
91c42559
LM
201042010-09-27 Luis Machado <luisgpm@br.ibm.com>
20105
20106 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20107 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20108
87a97932
AK
201092010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20110
20111 [BZ #12067]
20112 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20113 trying to locate the ELF header.
20114
c21cc9bc
AS
201152010-09-27 Andreas Schwab <schwab@redhat.com>
20116
20117 [BZ #11611]
20118 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20119 Mask out sign-bit copies when constructing f_fsid.
20120
315970f6
PB
201212010-09-24 Petr Baudis <pasky@suse.cz>
20122
20123 * debug/stack_chk_fail_local.c: Add missing licence exception.
20124 * debug/warning-nop.c: Likewise.
20125
1ac7a2c7
JM
201262010-09-15 Joseph Myers <joseph@codesourcery.com>
20127
20128 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20129 implementing getdents64 using getdents syscall, set d_type if
20130 __ASSUME_GETDENTS32_D_TYPE.
20131
56801c50
AS
201322010-09-16 Andreas Schwab <schwab@redhat.com>
20133
20134 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20135 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20136
dda51327
UD
201372010-09-21 Ulrich Drepper <drepper@redhat.com>
20138
20139 [BZ #12037]
20140 * posix/unistd.h: Undo change of feature selection for ftruncate from
20141 2010-01-11.
20142
8ffcee4a
UD
201432010-09-20 Ulrich Drepper <drepper@redhat.com>
20144
a545ecd9 20145 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
20146 detection.
20147
e24f0a8b
AS
201482010-09-20 Andreas Schwab <schwab@redhat.com>
20149
20150 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20151 fanotify_mark.
20152 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20153
7291c56f
AS
201542010-09-14 Andreas Schwab <schwab@redhat.com>
20155
20156 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20157 variables after CHECK_SP call.
20158 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20159
bc5fb037
AS
201602010-09-13 Andreas Schwab <schwab@redhat.com>
20161 Ulrich Drepper <drepper@redhat.com>
20162
20163 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20164 re-relocationg ld.so.
20165 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20166 _dl_init_paths call.
20167 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20168 here anymore.
20169
e66e7419
UD
201702010-09-14 Ulrich Drepper <drepper@redhat.com>
20171
20172 * resolv/res_init.c (__res_vinit): Count the default server we added.
20173
c044aa75
CLT
201742010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20175 Ulrich Drepper <drepper@redhat.com>
20176
20177 [BZ #11968]
20178 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20179 (____longjmp_chk): Use %ebx for saving value across system call.
20180 Add unwind info.
20181
32cf4069
AS
201822010-09-06 Andreas Schwab <schwab@redhat.com>
20183
20184 * manual/Makefile: Don't mix pattern rules with normal rules.
20185
817328ee
AS
201862010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20187
20188 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20189 operation.
20190 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20191 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20192 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20193 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20194 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20195 Likewise.
20196
29fddf61
UD
201972010-09-04 Ulrich Drepper <drepper@redhat.com>
20198
20199 [BZ #11979]
20200 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20201 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20202
0959ffc9
UD
202032010-09-02 Ulrich Drepper <drepper@redhat.com>
20204
20205 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20206 * sysdeps/x86_64/addmul_1.S: Likewise.
20207 * sysdeps/x86_64/lshift.S: Likewise.
20208 * sysdeps/x86_64/mul_1.S: Likewise.
20209 * sysdeps/x86_64/rshift.S: Likewise.
20210 * sysdeps/x86_64/sub_n.S: Likewise.
20211 * sysdeps/x86_64/submul_1.S: Likewise.
20212
ece29840
ST
202132010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20214
0959ffc9
UD
20215 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20216 Define __sched_param instead of SCHED_* and sched_param when
ece29840 20217 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 20218 * bits/sched.h [__need_schedparam]
ece29840 20219 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
20220 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20221 (__defined_schedparam): Define to 1.
ece29840
ST
20222 (__sched_param): New structure, identical to sched_param.
20223 (__need_schedparam): Undefine.
20224
e53a31fe
MF
202252010-08-31 Mike Frysinger <vapier@gentoo.org>
20226
fdc0c10d
MF
20227 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20228 (epoll_create1): Declare.
20229
e53a31fe
MF
20230 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20231
a726d796
AS
202322010-08-31 Andreas Schwab <schwab@redhat.com>
20233
20234 [BZ #7066]
20235 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20236 shifting retval into place.
20237
2f3e3dc7
UD
202382010-09-01 Ulrich Drepper <drepper@redhat.com>
20239
f2933da9
UD
20240 * nis/rpcsvc/nis.h: Update copyright notice.
20241 * nis/rpcsvc/nis.x: Likewise.
20242 * nis/rpcsvc/nis_callback.h: Likewise.
20243 * nis/rpcsvc/nis_callback.x: Likewise.
20244 * nis/rpcsvc/nis_object.x: Likewise.
20245 * nis/rpcsvc/nis_tags.h: Likewise.
20246 * nis/rpcsvc/yp.h: Likewise.
20247 * nis/rpcsvc/yp.x: Likewise.
20248 * nis/rpcsvc/ypupd.h: Likewise.
20249 * nis/yp_xdr.c: Likewise.
20250 * nis/ypupdate_xdr.c: Likewise.
20251
2f3e3dc7
UD
20252 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20253 mainly the body of pmap_getport. Add parameters to specify timeouts.
20254 (pmap_getport): Use __libc_rpc_getport.
20255 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20256 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20257 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20258
f3dcc2f9
AS
202592010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20260
20261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20262 fanotify_mark.
20263
6d34eb5b
RM
202642010-08-27 Roland McGrath <roland@redhat.com>
20265
20266 * sysdeps/i386/i686/multiarch/Makefile
20267 (CFLAGS-varshift.c): New variable.
20268
9ea3de11
UD
202692010-08-27 Ulrich Drepper <drepper@redhat.com>
20270
c96d23fc
UD
20271 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20272 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20273
9ea3de11
UD
20274 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20275
20276 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20277
623aac7f
L
202782010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20279
20280 * sysdeps/x86_64/strlen.S: Unroll the loop.
20281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20282 strlen-sse2 strlen-sse2-bsf.
20283 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20284 __strlen_no_bsf if bit_Slow_BSF is set.
20285 (__strlen_sse42): Removed.
20286 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20287 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20288
8b2b7715
RM
202892010-08-25 Roland McGrath <roland@redhat.com>
20290
20291 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20292 * sysdeps/x86_64/multiarch/varshift.c: New file.
20293 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20294 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20295 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20296 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20297
e73015f2
L
202982010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20299
20300 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20301 strlen-sse2 strlen-sse2-bsf.
20302 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20303 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20304 (__strlen_sse2): Removed.
20305 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20306 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20308 bit_Slow_BSF for Atom.
20309 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20310 (index_Slow_BSF): Define.
20311 (HAS_SLOW_BSF): Define.
20312
df24a73e
UD
203132010-08-25 Ulrich Drepper <drepper@redhat.com>
20314
20315 [BZ #10851]
20316 * resolv/res_init.c (__res_vinit): When no server address at all
20317 is given default to loopback.
20318
f2ac4868
RM
203192010-08-24 Roland McGrath <roland@redhat.com>
20320
09055553
RM
20321 * configure.in: Remove config-name.h generation.
20322 * configure: Regenerated.
20323 * config-name.in: File removed.
20324 * scripts/config-uname.sh: New file.
20325 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20326 ($(objdir)config-name.h): New target.
20327
f2ac4868
RM
20328 * sunrpc/rpc_parse.h: Avoid nested comment.
20329
73f27d5e
RH
203302010-08-24 Richard Henderson <rth@redhat.com>
20331 Ulrich Drepper <drepper@redhat.com>
20332 H.J. Lu <hongjiu.lu@intel.com>
20333
20334 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20336 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20337 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20338 _mm_alignr_epi8 with _mm_loadu_si128.
20339 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20340 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20341 (__m128i_shift_right): Removed.
20342 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20343 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20344 * sysdeps/x86_64/multiarch/varshift.h: New file.
20345 * sysdeps/x86_64/multiarch/varshift.S: New file.
20346
84b9230c
MF
203472010-08-21 Mike Frysinger <vapier@gentoo.org>
20348
20349 * configure.in: Move assembler checks to before sysdep dir checking.
20350
9bbd0ddc
PB
203512010-08-20 Petr Baudis <pasky@suse.cz>
20352
20353 * LICENSES: Sync the sunrpc license.
20354
9da4bb31
UD
203552010-08-19 Ulrich Drepper <drepper@redhat.com>
20356
a7ab6ec8
UD
20357 * sunrpc/auth_des.c: Update copyright notice once again.
20358 * sunrpc/auth_none.c: Likewise.
20359 * sunrpc/auth_unix.c: Likewise.
20360 * sunrpc/authdes_prot.c: Likewise.
20361 * sunrpc/authuxprot.c: Likewise.
20362 * sunrpc/bindrsvprt.c: Likewise.
20363 * sunrpc/clnt_gen.c: Likewise.
20364 * sunrpc/clnt_perr.c: Likewise.
20365 * sunrpc/clnt_raw.c: Likewise.
20366 * sunrpc/clnt_simp.c: Likewise.
20367 * sunrpc/clnt_tcp.c: Likewise.
20368 * sunrpc/clnt_udp.c: Likewise.
20369 * sunrpc/clnt_unix.c: Likewise.
20370 * sunrpc/des_crypt.c: Likewise.
20371 * sunrpc/des_soft.c: Likewise.
20372 * sunrpc/get_myaddr.c: Likewise.
20373 * sunrpc/getrpcport.c: Likewise.
20374 * sunrpc/key_call.c: Likewise.
20375 * sunrpc/key_prot.c: Likewise.
20376 * sunrpc/openchild.c: Likewise.
20377 * sunrpc/pm_getmaps.c: Likewise.
20378 * sunrpc/pm_getport.c: Likewise.
20379 * sunrpc/pmap_clnt.c: Likewise.
20380 * sunrpc/pmap_prot.c: Likewise.
20381 * sunrpc/pmap_prot2.c: Likewise.
20382 * sunrpc/pmap_rmt.c: Likewise.
20383 * sunrpc/rpc/auth.h: Likewise.
20384 * sunrpc/rpc/auth_unix.h: Likewise.
20385 * sunrpc/rpc/clnt.h: Likewise.
20386 * sunrpc/rpc/des_crypt.h: Likewise.
20387 * sunrpc/rpc/key_prot.h: Likewise.
20388 * sunrpc/rpc/netdb.h: Likewise.
20389 * sunrpc/rpc/pmap_clnt.h: Likewise.
20390 * sunrpc/rpc/pmap_prot.h: Likewise.
20391 * sunrpc/rpc/pmap_rmt.h: Likewise.
20392 * sunrpc/rpc/rpc.h: Likewise.
20393 * sunrpc/rpc/rpc_des.h: Likewise.
20394 * sunrpc/rpc/rpc_msg.h: Likewise.
20395 * sunrpc/rpc/svc.h: Likewise.
20396 * sunrpc/rpc/svc_auth.h: Likewise.
20397 * sunrpc/rpc/types.h: Likewise.
20398 * sunrpc/rpc/xdr.h: Likewise.
20399 * sunrpc/rpc_clntout.c: Likewise.
20400 * sunrpc/rpc_cmsg.c: Likewise.
20401 * sunrpc/rpc_common.c: Likewise.
20402 * sunrpc/rpc_cout.c: Likewise.
20403 * sunrpc/rpc_dtable.c: Likewise.
20404 * sunrpc/rpc_hout.c: Likewise.
20405 * sunrpc/rpc_main.c: Likewise.
20406 * sunrpc/rpc_parse.c: Likewise.
20407 * sunrpc/rpc_parse.h: Likewise.
20408 * sunrpc/rpc_prot.c: Likewise.
20409 * sunrpc/rpc_sample.c: Likewise.
20410 * sunrpc/rpc_scan.c: Likewise.
20411 * sunrpc/rpc_scan.h: Likewise.
20412 * sunrpc/rpc_svcout.c: Likewise.
20413 * sunrpc/rpc_tblout.c: Likewise.
20414 * sunrpc/rpc_util.c: Likewise.
20415 * sunrpc/rpc_util.h: Likewise.
20416 * sunrpc/rpcinfo.c: Likewise.
20417 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20418 * sunrpc/rpcsvc/key_prot.x: Likewise.
20419 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20420 * sunrpc/rpcsvc/mount.x: Likewise.
20421 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20422 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20423 * sunrpc/rpcsvc/rex.x: Likewise.
20424 * sunrpc/rpcsvc/rstat.x: Likewise.
20425 * sunrpc/rpcsvc/rusers.x: Likewise.
20426 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20427 * sunrpc/rpcsvc/spray.x: Likewise.
20428 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20429 * sunrpc/rtime.c: Likewise.
20430 * sunrpc/svc.c: Likewise.
20431 * sunrpc/svc_auth.c: Likewise.
20432 * sunrpc/svc_authux.c: Likewise.
20433 * sunrpc/svc_raw.c: Likewise.
20434 * sunrpc/svc_run.c: Likewise.
20435 * sunrpc/svc_simple.c: Likewise.
20436 * sunrpc/svc_tcp.c: Likewise.
20437 * sunrpc/svc_udp.c: Likewise.
20438 * sunrpc/svc_unix.c: Likewise.
20439 * sunrpc/svcauth_des.c: Likewise.
20440 * sunrpc/xcrypt.c: Likewise.
20441 * sunrpc/xdr.c: Likewise.
20442 * sunrpc/xdr_array.c: Likewise.
20443 * sunrpc/xdr_float.c: Likewise.
20444 * sunrpc/xdr_mem.c: Likewise.
20445 * sunrpc/xdr_rec.c: Likewise.
20446 * sunrpc/xdr_ref.c: Likewise.
20447 * sunrpc/xdr_sizeof.c: Likewise.
20448 * sunrpc/xdr_stdio.c: Likewise.
20449
9da4bb31
UD
20450 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20451 handling.
20452
bdaa77bc
AS
204532010-08-19 Andreas Schwab <schwab@redhat.com>
20454
20455 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20456
fe2f79db
LM
204572010-08-19 Luis Machado <luisgpm@br.ibm.com>
20458
20459 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20460 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20461 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20462 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20463 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20464 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20465 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20466 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20467 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20468 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20469 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20470 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20471 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20472 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20473
b9b42ee0
AB
204742010-07-26 Anton Blanchard <anton@samba.org>
20475
20476 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20477 * malloc/arena.c (heap_trim): Likewise.
20478
1c06ba31
UD
204792010-08-16 Ulrich Drepper <drepper@redhat.com>
20480
20481 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20482 here. Not...
20483 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20484 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20485
f8392f40
L
204862010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20487
20488 * sysdeps/i386/elf/Makefile: New file.
20489
3162f12e
AS
204902010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20491
20492 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20493 from fanotify_init.
20494 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20495 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20496
28c90b2c
UD
204972010-08-15 Ulrich Drepper <drepper@redhat.com>
20498
20499 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20500 of strncasecmp_l.
1feccb6c 20501 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20502
ca6bb004
UD
205032010-08-14 Ulrich Drepper <drepper@redhat.com>
20504
e9f82e0d
UD
20505 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20506 strncase_l-nonascii.
20507 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20508 Add strncase_l-ssse3.
20509 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20510 * sysdeps/x86_64/strcmp.S: Likewise.
20511 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20512 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20513 * sysdeps/x86_64/strncase.S: New file.
20514 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20515 * sysdeps/x86_64/strncase_l.S: New file.
20516 * string/Makefile (strop-tests): Add strncasecmp.
20517 * string/test-strncasecmp.c: New file.
20518
20519 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20520 warning.
20521
ca6bb004
UD
20522 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20523 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20524
052fa7b3
AS
205252010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20526
20527 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20528
962dba78
UD
205292010-08-12 Ulrich Drepper <drepper@redhat.com>
20530
20531 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20532 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20533 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20534
bebff237
AM
205352010-05-01 Alan Modra <amodra@gmail.com>
20536
20537 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20538 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20539 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20540 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20541 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20542 tidying. Don't tail-call __sigjmp_save for static lib.
20543 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20544 save location.
20545 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20546 (CALL_MCOUNT): Add eh info, and nop after bl.
20547 (TAIL_CALL_SYSCALL_ERROR): New macro.
20548 (PSEUDO_RET): Use it.
20549 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20550 Correct save location of integer regs and cr.
20551 (_dl_profile_resolve): Correct cr save location. Delete nops
20552 after bl when SHARED. Reduce cfi size a little by better
20553 placement of cfi directives.
20554 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20555 make a stack frame. Instead use parm save area as a temp.
20556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20557 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20559 Don't make a stack frame for parent, use parm save area.
20560 Increase child stack frame to 112 bytes. Don't save unused reg,
20561 and adjust reg usage. Set up cfi on error recovery and
20562 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20564 (__makecontext): Add dummy nop after jump to exit.
20565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20566 Use correct parm save area and cr save, reduce stack frame.
20567 Correct cfi for possible PSEUDO_RET frame setup.
20568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20569 Branch to local label emitted by PSEUDO_RET rather than
20570 __syscall_error.
20571
02637374
AS
205722010-08-12 Andreas Schwab <schwab@redhat.com>
20573
20574 [BZ #11904]
20575 * locale/programs/locale.c (print_assignment): New function.
20576 (show_locale_vars): Use it.
20577
c3e2f19b
UD
205782010-08-11 Ulrich Drepper <drepper@redhat.com>
20579
3cdaa6ad
UD
20580 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20581 field.
20582 (struct statfs64): Likewise.
20583 (_STATFS_F_FLAGS): Define.
20584 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20585 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20586 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20587 (ST_VALID): Define locally.
20588 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20589 __statvfs_getflags, use the provided value.
20590 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20591 __ASSUME_STATFS_F_FLAGS.
20592
754f7da3
UD
20593 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20594
10b3bedc
UD
20595 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20596 Add sys/fanotify.h.
20597 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20598 fanotify_mask for GLIBC_2.13.
20599 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20600 fanotify_init and fanotify_mark.
20601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20602 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20603
c08fb0d7
UD
20604 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20605 Add prlimit.
20606 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20607 prlimit64 for GLIBC_2.13.
20608 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20609 prlimit64.
20610 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20611 syscall.
20612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20613 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20614 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20615 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20616 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20617 add prlimit alias.
20618 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20619
15bac72b
UD
20620 [BZ #11903]
20621 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20622 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20623
c3e2f19b
UD
20624 * nss/Makefile: Add rules to build and run tst-nss-test1.
20625 * shlib-versions: Add entry for libnss_test1.
20626 * nss/nss_test1.c: New file.
20627 * nss/tst-nss-test1.c: New file.
20628
20629 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20630 (__nss_configure_lookup): Set appropriate entry in
20631 __nss_configure_lookup to true.
20632 * nss/nsswitch.h: Define enum with indeces of databases in
20633 databases and __nss_database_custom arrays. Declare
20634 __nss_database_custom.
20635 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20636 to avoid using nscd when custom rules are installed.
20637 * nss/getXXbyYY_r.c: Likewise.
20638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20639
20640 * nss/nss_files/files-parse.c: Whitespace fixes.
20641
f15ce4d8
UD
206422010-08-09 Ulrich Drepper <drepper@redhat.com>
20643
20644 [BZ #11883]
20645 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20646 * posix/fnmatch_loop.c: Likewise.
20647
d22e4cc9
AK
206482010-07-17 Andi Kleen <ak@linux.intel.com>
20649
20650 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20651 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20652 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20653 * Versions.def [GLIBC_2.13]: Add.
20654
805bc17d
UD
206552010-08-06 Ulrich Drepper <drepper@redhat.com>
20656
20657 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20658 Also fail if tpwd after pwuid call is NULL.
20659
5a42321d
ST
206602010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20661
20662 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20663 when converting to ms.
20664
fd3ebeda
ST
206652010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20666
20667 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20668 EOPNOTSUPP errors with ENOTTY.
20669 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20670 EOPNOTSUPP errors with ENOTTY.
20671
73507d3a
UD
206722010-07-31 Ulrich Drepper <drepper@redhat.com>
20673
20674 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20675 Add strcasecmp_l-ssse3.
20676 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20677 strcasecmp.
20678 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20679 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20680 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20681
fe36dd02
UD
206822010-07-30 Ulrich Drepper <drepper@redhat.com>
20683
66f6765a
UD
20684 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20685
42e08a54
UD
20686 * string/Makefile (strop-tests): Add strcasecmp.
20687 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20688 strcasecmp_l-nonascii.
20689 (gen-as-const-headers): Add locale-defines.sym.
20690 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20691 * sysdeps/x86_64/strcasecmp.S: New file.
20692 * sysdeps/x86_64/strcasecmp_l.S: New file.
20693 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20694 * sysdeps/x86_64/locale-defines.sym: New file.
20695 * string/test-strcasecmp.c: New file.
20696
fe36dd02
UD
20697 * string/test-strcasestr.c: Test both ends of the range of characters.
20698 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20699
48cbc0d6
RM
207002010-07-29 Roland McGrath <roland@redhat.com>
20701
76e6d6bc 20702 [BZ #11856]
48cbc0d6
RM
20703 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20704
880113d9
UD
207052010-07-27 Ulrich Drepper <drepper@redhat.com>
20706
20707 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20708 for ld.so.
20709
deb9cabb
AS
207102010-07-27 Andreas Schwab <schwab@redhat.com>
20711
20712 * manual/memory.texi (Malloc Tunable Parameters): Document
20713 M_PERTURB.
20714
1c7570ff
RM
207152010-07-26 Roland McGrath <roland@redhat.com>
20716
20717 [BZ #11840]
20718 * configure.in (-fgnu89-inline check): Set and substitute
20719 gnu89_inline, not libc_cv_gnu89_inline.
20720 * configure: Regenerated.
20721 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20722
24fb0f88
UD
207232010-07-26 Ulrich Drepper <drepper@redhat.com>
20724
20725 * string/test-strnlen.c: New file.
20726 * string/Makefile (strop-tests): Add strnlen.
20727 * string/tester.c (test_strnlen): Add a few more test cases.
20728 * string/tst-strlen.c: Better error reporting.
20729
20730 * sysdeps/x86_64/strnlen.S: New file.
20731
8e96b93a
UD
207322010-07-24 Ulrich Drepper <drepper@redhat.com>
20733
20734 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20735 lower-latency instructions.
20736
dbc676d4
UD
207372010-07-23 Ulrich Drepper <drepper@redhat.com>
20738
20739 * string/test-strcasestr.c: New file.
20740 * string/test-strstr.c: New file.
20741 * string/Makefile (strop-tests): Add strstr and strcasestr.
20742 * string/str-two-way.h: Don't undefine MAX.
20743 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20744
f6a31e0e
AS
207452010-07-21 Andreas Schwab <schwab@redhat.com>
20746
20747 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20748 strcasestr-nonascii.
20749 (CFLAGS-strcasestr-nonascii.c): Define.
20750 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20751 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20752 Remove unused attribute.
20753
5dbc3b6c
RM
207542010-07-20 Roland McGrath <roland@redhat.com>
20755
20756 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20757 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20758 ld.so.cache was broken. With it, there is no way to disable dsocaps
20759 like LD_HWCAP_MASK can disable hwcaps.
20760
23d101d8
EPM
207612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20762
20763 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20764
cc9f2e47
UD
207652010-07-16 Ulrich Drepper <drepper@redhat.com>
20766
20767 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20768 call in strcasestr.
20769 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20770 __strcasestr_sse42_nonascii.
20771 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20772 strcasestr-nonascii.c.
20773 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20774
77c1b069
LM
207752010-06-15 Luis Machado <luisgpm@br.ibm.com>
20776
20777 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20778 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20779 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20780 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20781
440566c3
UD
207822010-07-09 Ulrich Drepper <drepper@redhat.com>
20783
20784 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20785 fcntl.
20786
5be9d05d
AS
207872010-07-06 Andreas Schwab <schwab@redhat.com>
20788
c30b7ee2 20789 [BZ #11577]
5be9d05d
AS
20790 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20791 dl_signal_cerror.
20792
8a492a67
UD
207932010-07-06 Ulrich Drepper <drepper@redhat.com>
20794
20795 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20796 _PC_PIPE_BUF using F_GETPIPE_SZ.
20797
713df3d5
RM
207982010-07-05 Roland McGrath <roland@redhat.com>
20799
20800 * manual/arith.texi (Rounding Functions): Fix rint description
20801 implicit in round description.
20802
702e8f14
UD
208032010-07-02 Ulrich Drepper <drepper@redhat.com>
20804
20805 * elf/Makefile: Fix linking for a few tests to make recent linker
20806 happy.
20807
52ed8be9
AS
208082010-06-30 Andreas Schwab <schwab@redhat.com>
20809
20810 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20811 $(common-objpfx)libc_nonshared.a.
20812
f47c9a11
LM
208132010-06-21 Luis Machado <luisgpm@br.ibm.com>
20814
20815 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20816 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20817 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20818 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20819 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20820 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20821 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20822 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20837 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20838 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20839 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20840 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20841 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20842 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20843 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20844 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20845 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20846 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20847 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20848 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20863
6fb8cbcb
L
208642010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20865
20866 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20867 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20868 * string/memmove.c (memmove): Renamed to ...
20869 (MEMMOVE): ...this. Default to memmove.
20870 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20871 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20872 (END_CHK): Define.
20873 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20874 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20875 mempcpy-ssse3-back memmove-ssse3-back.
20876 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20877 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20878 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20879 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20880 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20881 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20882 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20883 * sysdeps/x86_64/multiarch/memmove.c: New file.
20884 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20885 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20886 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20887 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20888 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20889 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20890 Define.
20891 (index_Fast_Copy_Backward): Define.
20892 (HAS_ARCH_FEATURE): Define.
20893 (HAS_FAST_REP_STRING): Define.
20894 (HAS_FAST_COPY_BACKWARD): Define.
20895
4e733bac 208962010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20897
20898 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20899 Restore proper fallback handling.
20900
63c4ed22
UD
209012010-06-19 Ulrich Drepper <drepper@redhat.com>
20902
ac2b484c
UD
20903 [BZ #11701]
20904 * posix/group_member.c (__group_member): Correct checking loop.
20905
63c4ed22
UD
20906 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20907 OOM in getpwuid_r correctly. Return error number when the caller
20908 should return, otherwise -1.
20909 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20910 call returning > 0 value.
20911 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20912
765ade4b
AS
209132010-06-07 Andreas Schwab <schwab@redhat.com>
20914
20915 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20916 libc_nonshared.a from targets in modules-names.
20917
80da2e09
KS
209182010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20919
20920 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20921 requires it.
20922
158db122
LM
209232010-06-10 Luis Machado <luisgpm@br.ibm.com>
20924
20925 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20926 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20927 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20928 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20929
caa78cf8
AS
209302010-06-02 Andreas Schwab <schwab@redhat.com>
20931
20932 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20933
b2ef2c01
UD
209342010-06-14 Ulrich Drepper <drepper@redhat.com>
20935
20936 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20937 and F_GETPIPE_SZ.
20938 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20939 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20940 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20941 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20942 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20943 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20944
fbd643b6
RM
209452010-06-14 Roland McGrath <roland@redhat.com>
20946
20947 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20948
f32f2869
JJ
209492010-06-07 Jakub Jelinek <jakub@redhat.com>
20950
20951 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20952 __REDIRECT followed by __THROW.
20953 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20954 * posix/getopt.h (getopt): Likewise.
20955
2a50c078
EPM
209562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20957
20958 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20959 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20960 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20961 in AT_FLAGS.
20962 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20963 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20964
eb5ad2eb
LM
209652010-05-28 Luis Machado <luisgpm@br.ibm.com>
20966
20967 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20968
3c88fe1e
L
209692010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20970
20971 [BZ #11640]
20972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20973 Properly check family and model.
20974
d2f73151
TY
209752010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20976
20977 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20978
ebd2e13d
LM
209792010-05-24 Luis Machado <luisgpm@br.ibm.com>
20980
20981 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20982
b32b8b45
UD
209832010-05-21 Ulrich Drepper <drepper@redhat.com>
20984
20985 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20986 symbol reference.
20987
9acbe24d
AS
209882010-05-19 Andreas Schwab <schwab@redhat.com>
20989
20990 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20991 symbol reference.
20992
f0ccf6ea
AS
209932010-05-21 Andreas Schwab <schwab@redhat.com>
20994
3d04ff3a
AS
20995 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20996 and internal_recvmmsg.
20997 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20998 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20999 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21000 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21001
f0ccf6ea
AS
21002 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21003 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21004 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21005
5b08ac57
AS
210062010-05-20 Andreas Schwab <schwab@redhat.com>
21007
21008 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21009
4828935d
LM
210102010-05-17 Luis Machado <luisgpm@br.ibm.com>
21011
21012 POWER7 optimizations.
21013 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21014 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21015
373d545e
UD
210162010-05-19 Ulrich Drepper <drepper@redhat.com>
21017
21018 * version.h: Update for 2.13 development version.
21019
21a2b1ae
AS
210202010-05-12 Andrew Stubbs <ams@codesourcery.com>
21021
21022 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21023 exceptions. Return 0.
21024
3f7dcb2b
RM
210252010-05-07 Roland McGrath <roland@redhat.com>
21026
21027 * elf/ldconfig.c (main): Add a const.
21028
5f24d53a 210292010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 21030
a160f8d8
UD
21031 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21032 (args_options): Add no-idn option.
21033 (ahosts_keys_int): Add idn_flags to ai_flags.
21034 (parse_option): Handle 'i' option to clear idn_flags.
21035
5f24d53a
UD
21036 * malloc/malloc.c (_int_free): Possible race in the most recently
21037 added check. Only act on the data if no current modification
21038 happened.
265bb1ce
UD
21039
21040See ChangeLog.17 for earlier changes.
This page took 2.898558 seconds and 5 git commands to generate.