]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Convert alpha to use <bits/fcntl-linux.h>
[thirdparty/glibc.git] / ChangeLog
CommitLineData
903252aa
JM
12012-10-31 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4 New variable.
5
cbc818d0
TS
62012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7
8 * rt/tst-shm.c (worker): Correct checking for mmap failure.
9
5a03cb1e
AS
102012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11
12 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13 Fix sort order.
14 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15 Likewise.
16
90aff2ff
TMQMF
172012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18
19 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20 Fix the order of the list for glibc 2.17.
21 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22 Likewise.
23
1818fcb7
AS
242012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25
26 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27
ef82f4da
JM
282012-10-31 Joseph Myers <joseph@codesourcery.com>
29
16a0e2ec
JM
30 [BZ #14610]
31 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32 for low part of x being zero before using __atanl (y).
33 * math/libm-test.inc (atan2_test): Add another test.
34
0eb69512
JM
35 * manual/install.texi (Configuring and compiling): Document
36 general use of test-wrapper and test-wrapper-env.
37 * INSTALL: Regenerated.
38
ef82f4da
JM
39 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40 (__fma): Do not extract and scale down low bits on after-rounding
41 systems when result rounded to normal precision would have normal
42 exponent.
43 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44 (__fmal): Do not extract and scale down low bits on after-rounding
45 systems when result rounded to normal precision would have normal
46 exponent.
47 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
48 (__fmal): Do not extract and scale down low bits on after-rounding
49 systems when result rounded to normal precision would have normal
50 exponent.
51 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
52 macro.
53 (fma_test): Add more tests.
54 (fma_test_towardzero): Likewise.
55 (fma_test_downward): Likewise.
56 (fma_test_upward): Likewise.
57
954ef0d9
L
582012-10-30 H.J. Lu <hongjiu.lu@intel.com>
59
60 * sysdeps/i386/tininess.h: Renamed to ...
61 * sysdeps/x86/tininess.h: This.
62 * sysdeps/x86_64/tininess.h: Removed.
63
df61ffb2
JM
642012-10-30 Joseph Myers <joseph@codesourcery.com>
65
66 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
67 input. Use $(build-program-cmd).
68 ($(objpfx)tst-array1-static.out): Likewise.
69 ($(objpfx)tst-array2.out): Likewise.
70 ($(objpfx)tst-array3.out): Likewise.
71 ($(objpfx)tst-array4.out): Likewise.
72 ($(objpfx)tst-array5.out): Likewise.
73 ($(objpfx)tst-array5-static.out): Likewise.
74
01767843
CM
752012-10-30 Chris Metcalf <cmetcalf@tilera.com>
76
47cc1490
CM
77 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
78 if defined.
79
01767843
CM
80 * nss/nsswitch.h (nss_interface_function): Provide new
81 macro for use with NSS functions.
82 * grp/initgroups.c: Use new macro.
83 * nss/getXXbyYY.c: Likewise.
84 * nss/getXXbyYY_r.c: Likewise.
85 * nss/getXXent.c: Likewise.
86 * nss/getXXent_r.c: Likewise.
87 * sysdeps/posix/getaddrinfo.c: Likewise.
88
8321aa97
AJ
892012-10-30 Andreas Jaeger <aj@suse.de>
90
91 * po/ru.po: Update Russion translation from translation project.
92
2a27fd6d
JM
932012-10-30 Joseph Myers <joseph@codesourcery.com>
94
8627a232
JM
95 [BZ #14152]
96 [BZ #14783]
97 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
98 result and shift together with sticky bit instead of replicating
99 round-to-nearest rounding.
100 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
101 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
102 * math/libm-test.inc (fma_test): Add more tests. Do not permit
103 missing underflow exceptions.
104 (fma_test_towardzero): Add more tests.
105 (fma_test_downward): Likewise.
106 (fma_test_upward): Likewise.
107
2a27fd6d
JM
108 [BZ #14047]
109 * sysdeps/generic/tininess.h: New file.
110 * sysdeps/i386/tininess.h: Likewise.
111 * sysdeps/sh/tininess.h: Likewise.
112 * sysdeps/x86_64/tininess.h: Likewise.
113 * stdlib/tst-strtod-underflow.c: Likewise.
114 * stdlib/tst-tininess.c: Likewise.
115 * stdlib/strtod_l.c: Include <tininess.h>.
116 (round_and_return): Do not set errno for exact underflow cases.
117 Force an underflow exception when setting errno for underflow.
118 Determine underflow based on rounding to normal precision if
119 TININESS_AFTER_ROUNDING.
120 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
121 ERANGE for exact underflow cases.
122 * stdlib/Makefile (tests): Add tst-tininess and
123 tst-strtod-underflow.
124 ($(objpfx)tst-tininess): Use $(link-libm).
125 ($(objpfx)tst-strtod-underflow): Likewise.
126
e7170363
AJ
1272012-10-30 Andreas Jaeger <aj@suse.de>
128
e5088dc6
AJ
129 [BZ#14767]
130 * elf/Makefile (tests): Remove conditional for have-initfini-array
131 since this is now always required and the variable does not exist
132 anymore.
133 (tests-static): Likewise.
134 (modules-names): Likewise.
135
e7170363 136 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
137
138 * elf/tst-array1.c (fini_array): Make writeable so that it can be
139 merged with constructor/destructor.
140 (init_array): Likewise.
141 * elf/tst-array2dep.c (fini_array): Likewise.
142 (init_array): Likewise.
143
60457d8a
MF
1442012-10-29 Mike Frysinger <vapier@gentoo.org>
145
146 * manual/message.texi: Delete @cartouche tags.
147
8bece752
PT
1482012-10-29 Pino Toscano <toscano.pino@tiscali.it>
149
94ce799f
PT
150 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
151 EOPNOTSUPP.
152 * sysdeps/mach/hurd/fsync.c: Likewise.
153
8bece752
PT
154 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
155 [_POSIX_REALTIME_SIGNALS]: Change condition to
156 [_POSIX_REALTIME_SIGNALS > 0].
157
86ebe6b1
AJ
1582012-10-27 Andreas Jaeger <aj@suse.de>
159
160 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
161 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
163 [__WORDSIZE != 64]: Likewise.
164
54399c08
L
1652012-10-26 H.J. Lu <hongjiu.lu@intel.com>
166
167 * iconvdata/tst-table.sh: Remove ${SHELL}.
168 * iconvdata/tst-tables.sh: Likewise.
169
e2211bed
DM
1702012-10-25 David S. Miller <davem@davemloft.net>
171
172 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
173 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
174 of strtoull.
175
f303f97c
DM
176 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
177 ifunc-impl-list.c
178 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
179 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
180 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
181 file.
182
1e9d84cd
RM
1832012-10-25 Roland McGrath <roland@hack.frob.com>
184
185 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
186 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
187 __getdirentries.
188
df381762
JM
1892012-10-25 Joseph Myers <joseph@codesourcery.com>
190 Jim Blandy <jimb@codesourcery.com>
191
192 * scripts/cross-test-ssh.sh: New file.
193 * manual/install.texi (Configuring and compiling): Document use of
194 cross-test-ssh.sh.
195 * INSTALL: Regenerated.
196
bff64913
PT
1972012-10-25 Pino Toscano <toscano.pino@tiscali.it>
198
199 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
200 EOPNOTSUPP.
201
25fe8932
JM
2022012-10-25 Joseph Myers <joseph@codesourcery.com>
203
204 * Makeconfig (run-program-prefix): Fix comment.
205
cc1290d0
JM
2062012-10-24 Joseph Myers <joseph@codesourcery.com>
207 Jim Blandy <jimb@codesourcery.com>
208
209 * Makeconfig (test-wrapper): New variable,
210 (test-wrapper-env): Likewise.
211 [$(cross-compiling) = yes && $(test-wrapper) != ""]
212 (run-built-tests): Define to yes.
213 (run-program-prefix): Use $(test-wrapper).
214 (built-program-cmd): Likewise.
215 * Rules (make-test-out): Use $(test-wrapper-env) and
216 $(host-built-program-cmd).
217 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
218 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
219 tst-pathopt.sh.
220 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
221 $(test-wrapper-env) to tst-rtld-load-self.sh.
222 ($(objpfx)order2.out): Use $(test-wrapper).
223 ($(objpfx)tst-initorder.out): Likewise.
224 ($(objpfx)tst-initorder2.out): Likewise.
225 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
226 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
227 (test_wrapper_env): New variable. Use it to run ld.so.
228 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
229 Use it to run ld.so.
230 (test_wrapper_env): Likewise.
231 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
232 $(test-wrapper) to run-iconv-test.sh.
233 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
234 (ICONV): Use $test_wrapper.
235 * posix/Makefile ($(objpfx)globtest.out): Pass
236 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
237 globtest.sh, not $(run-program-prefix).
238 * posix/globtest.sh (run_via_rtld_prefix): New variable.
239 (test_wrapper): Likewise.
240 (test_wrapper_env): Likewise. Use it to run globtest with HOME
241 set together with run_via_rtld_prefix.
242 (run_program_prefix): Define in terms of test_wrapper and
243 run_via_rtld_prefix.
244
6e6249d0
RM
2452012-10-24 Roland McGrath <roland@hack.frob.com>
246
247 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
248 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
249 Targets removed.
250
251 [BZ #14743]
252 * include/time.h: Remove librt_hidden_proto (clock_gettime).
253 Declare __clock_getres, __clock_gettime, __clock_settime,
254 __clock_nanosleep, and __clock_getcpuclockid.
255 * rt/clock_gettime.c: Define __clock_gettime as an alias.
256 Remove librt_hidden_def (clock_gettime).
257 * sysdeps/unix/clock_gettime.c: Likewise.
258 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
259 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
260 * rt/clock_getres.c: Define __clock_getres as an alias.
261 * sysdeps/posix/clock_getres.c: Likewise.
262 * rt/clock_settime.c: Define __clock_settime as an alias.
263 * sysdeps/unix/clock_settime.c: Likewise.
264 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
265 * sysdeps/unix/clock_nanosleep.c: Likewise.
266 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
267 * rt/clock-compat.c: New file.
268 * rt/Makefile (librt-routines): Add clock-compat and move
269 $(clock-routines) to ...
270 (routines): ... here, new variable.
271 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
272 Don't add get_clockfreq here.
273 * rt/Versions (libc: GLIBC_2.17): New version set.
274 Add clock_* symbols here.
275 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
276 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
277 (GLIBC_2.17): Add clock_* symbols.
278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
280 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
282 Likewise.
283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
284 Likewise.
285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
289 * NEWS: Mention the move.
290
291 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
292 Use __open, __read, __close rather than their public counterparts.
293 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
294 (__get_clockfreq_via_cpuinfo): Likewise.
295 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
296 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
297
298 * config.h.in (HAVE_IFUNC): New #undef.
299 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
300 was successful.
301 * configure: Regenerated.
302
0cae3f4b
MF
3032012-10-24 Mike Frysinger <vapier@gentoo.org>
304
305 * configure.in: Move READELF check to start of file.
306 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
307 libc_cv_asm_gnu_indirect_function in the process.
308 * configure: Regenerated.
309
8175a253
MF
3102012-10-24 Mike Frysinger <vapier@gentoo.org>
311
312 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
313 send the output to /dev/null.
314 (libc_cv_cc_with_libunwind): Likewise.
315 (libc_cv_as_noexecstack): Likewise.
316 * configure: Regenerate.
317
0708a7d1
JM
3182012-10-24 Joseph Myers <joseph@codesourcery.com>
319
10b40d85
JM
320 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
321
0708a7d1
JM
322 * posix/globtest.sh (TMPDIR): Do not set.
323 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
324 (testout): Likewise.
325
9fddec1a
AJ
3262012-10-24 Andreas Jaeger <aj@suse.de>
327
3a8db22f
AJ
328 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
329 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
330 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
331 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
332 posix_fadvise64, posix_fallocate64.
333
9fddec1a
AJ
334 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
335 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
336 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
337 Likewise.
338 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
339 Likewise.
340 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
341
342 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
343 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
344 <bits/fcntl-linux.h>.
345 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
346
347 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
348 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
349 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
350 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
351 [__WORDSIZE != 64]: Likewise.
352
ebfd1bbd
JM
3532012-10-23 Joseph Myers <joseph@codesourcery.com>
354
03ac099f
JM
355 * Makeconfig (run-built-tests): New variable.
356 * Rules [$(cross-compiling) = yes]: Change condition to
357 [$(run-built-tests) = no].
358 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
359 to [$(run-built-tests) = yes].
360 * elf/Makefile [$(cross-compiling) = no]: Likewise
361 * grp/Makefile [$(cross-compiling) = no]: Likewise.
362 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
363 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
364 * intl/Makefile [$(cross-compiling) = no]: Likewise.
365 * io/Makefile [$(cross-compiling) = no]: Likewise.
366 * libio/Makefile [$(cross-compiling) = no]: Likewise.
367 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
368 * misc/Makefile [$(cross-compiling) = no]: Likewise.
369 * posix/Makefile [$(cross-compiling) = no]: Likewise.
370 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
371 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
372 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
373 * string/Makefile [$(cross-compiling) = no]: Likewise.
374
ebfd1bbd
JM
375 * posix/Makefile ($(objpfx)globtest.out): Pass
376 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
377 $(rtld-installed-name).
378 * posix/globtest.sh (elf_objpfx): Remove variable.
379 (rtld_installed_name): Likewise.
380 (library_path): Likewise.
381 (run_program_prefix): New variable. Use for running globtest
382 binary.
383
166bca24
JB
3842012-10-23 Jim Blandy <jimb@codesourcery.com>
385 Joseph Myers <joseph@codesourcery.com>
386
387 * Makeconfig (host-built-program-cmd): New variable.
388 * elf/Makefile (tst-stackguard1-ARGS): Use
389 $(host-built-program-cmd).
390 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
391 (tst-spawn-ARGS): Likewise.
392 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
393
88866099
JM
3942012-10-23 Joseph Myers <joseph@codesourcery.com>
395 Jim Blandy <jimb@codesourcery.com>
396
397 * Makeconfig (run-via-rtld-prefix): New variable.
398 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
399 (built-program-cmd): Likewise.
400
b4b4c296
AJ
4012012-10-22 Andreas Jaeger <aj@suse.de>
402
403 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
404 __O_RSYNC if it exists, otherwise to O_SYNC.
405
6fb54a22
JB
4062012-10-22 Jim Blandy <jimb@codesourcery.com>
407 Joseph Myers <joseph@codesourcery.com>
408
409 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
410 /dev/null.
411 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
412 from /dev/null
413 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
414 /dev/null.
415
481b90b9
AJ
4162012-10-22 Andreas Jaeger <aj@suse.de>
417
2a0e2669
AJ
418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
419 Define always.
420 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
421
76e38f9a
AJ
422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
423 bits/fcntl-linux.h.
424
7cd37b43
AJ
425 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
426 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
427
481b90b9
AJ
428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
429 to __O_LARGEFILE.
430 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
431 to __O_LARGEFILE.
432
aba75984
JB
4332012-10-21 Jim Blandy <jimb@codesourcery.com>
434 Joseph Myers <joseph@codesourcery.com>
435
436 * config.make.in (NM): New variable.
437
88d4247f
AJ
4382012-10-21 Andreas Jaeger <aj@suse.de>
439
440 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
441 definitions and declarations that are provided by
442 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
443
f2eed205
L
4442012-10-20 H.J. Lu <hongjiu.lu@intel.com>
445
446 [BZ #14683]
447 * elf/Makefile (tests-static): Add tst-leaks1-static.
448 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
449 ($(objpfx)tst-leaks1-static): New rule.
450 ($(objpfx)tst-leaks1-static-mem): Likewise.
451 (tst-leaks1-static-ENV): New macro.
452 * elf/dl-open.c (dl_open_worker): Check the main application
453 only if SHARED is defined.
454 * elf/tst-leaks1-static.c: New file.
455
335e6931
AJ
4562012-10-20 Andreas Jaeger <aj@suse.de>
457
458 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
459 generic values for Linux.
460 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
461 and declarations that are provided by <bits/fcntl-linux.h> and
462 include <bits/fcntl-linux.h>.
463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
465
ac5c94d3
RM
4662012-10-20 Roland McGrath <roland@hack.frob.com>
467
468 * io/fcntl.h: Move include of <bits/types.h> to the top and
469 include it unconditionally.
470
de54b33a
L
4712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
472
228cfb01
L
473 * wcsmbs/Makefile (tests-ifunc): New variable.
474 (tests): Add $(tests-ifunc).
475 * wcsmbs/test-wcschr-ifunc.c: New file.
476 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
477 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
478 * wcsmbs/test-wcslen-ifunc.c: Likewise.
479 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
480 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
481
69f07e5f
L
482 * string/Makefile (tests-ifunc): New variable.
483 (tests): Add $(tests-ifunc).
484 * string/test-memccpy.c (TEST_NAME): New macro.
485 * string/test-memchr.c (TEST_NAME): Likewise.
486 * string/test-memcmp.c (TEST_NAME): Likewise.
487 * string/test-memcpy.c (TEST_NAME): Likewise.
488 * string/test-memmem.c (TEST_NAME): Likewise.
489 * string/test-memmove.c (TEST_NAME): Likewise.
490 * string/test-memset.c (TEST_NAME): Likewise.
491 * string/test-rawmemchr.c (TEST_NAME): Likewise.
492 * string/test-stpcpy.c (TEST_NAME): Likewise.
493 * string/test-stpncpy.c (TEST_NAME): Likewise.
494 * string/test-strcasecmp.c (TEST_NAME): Likewise.
495 * string/test-strcasestr.c (TEST_NAME): Likewise.
496 * string/test-strcat.c (TEST_NAME): Likewise.
497 * string/test-strchr.c (TEST_NAME): Likewise.
498 * string/test-strcmp.c(TEST_NAME): Likewise.
499 * string/test-strcpy.c (TEST_NAME): Likewise.
500 * string/test-strcspn.c (TEST_NAME): Likewise.
501 * string/test-strlen.c (TEST_NAME): Likewise.
502 * string/test-strncasecmp.c (TEST_NAME): Likewise.
503 * string/test-strncmp.c (TEST_NAME): Likewise.
504 * string/test-strncpy.c (TEST_NAME): Likewise.
505 * string/test-strnlen.c (TEST_NAME): Likewise.
506 * string/test-strpbrk.c (TEST_NAME): Likewise.
507 * string/test-strrchr.c (TEST_NAME): Likewise.
508 * string/test-strspn.c (TEST_NAME): Likewise.
509 * string/test-strstr.c (TEST_NAME): Likewise.
510 * string/test-bcopy-ifunc.c: New file.
511 * string/test-bzero-ifunc.c: Likewise.
512 * string/test-memccpy-ifunc.c: Likewise.
513 * string/test-memchr-ifunc.c: Likewise.
514 * string/test-memcmp-ifunc.c: Likewise.
515 * string/test-memcpy-ifunc.c: Likewise.
516 * string/test-memmem-ifunc.c: Likewise.
517 * string/test-memmove-ifunc.c: Likewise.
518 * string/test-mempcpy-ifunc.c: Likewise.
519 * string/test-memset-ifunc.c: Likewise.
520 * string/test-rawmemchr-ifunc.c: Likewise.
521 * string/test-stpcpy-ifunc.c: Likewise.
522 * string/test-stpncpy-ifunc.c: Likewise.
523 * string/test-strcasecmp-ifunc.c: Likewise.
524 * string/test-strcasestr-ifunc.c: Likewise.
525 * string/test-strcat-ifunc.c: Likewise.
526 * string/test-strchr-ifunc.c: Likewise.
527 * string/test-strchrnul-ifunc.c: Likewise.
528 * string/test-strcmp-ifunc.c: Likewise.
529 * string/test-strcpy-ifunc.c: Likewise.
530 * string/test-strcspn-ifunc.c: Likewise.
531 * string/test-strlen-ifunc.c: Likewise.
532 * string/test-strncasecmp-ifunc.c: Likewise.
533 * string/test-strncat-ifunc.c: Likewise.
534 * string/test-strncmp-ifunc.c: Likewise.
535 * string/test-strncpy-ifunc.c: Likewise.
536 * string/test-strnlen-ifunc.c: Likewise.
537 * string/test-strpbrk-ifunc.c: Likewise.
538 * string/test-strrchr-ifunc.c: Likewise.
539 * string/test-strspn-ifunc.c: Likewise.
540 * string/test-strstr-ifunc.c: Likewise.
541
de54b33a
L
542 * debug/Makefile (tests-ifunc): New variable.
543 (tests): Add $(tests-ifunc).
544 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
545 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
546 * debug/test-stpcpy_chk-ifunc.c: New file.
547 * debug/test-strcpy_chk-ifunc.c: Likewise.
548
88481c16
SP
5492012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
550
551 [BZ #13601]
552 * elf/dl-load.c (open_verify): Retry read if the entire ELF
553 header is not read in.
554
135948bd
JM
5552012-10-19 Joseph Myers <joseph@codesourcery.com>
556
89f1c388
JM
557 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
558 script to $(SHELL) as $<. Pass $(common-objpfx) to script
559 directly. Pass built executable to script as
560 $(built-program-cmd).
561 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
562 $testprogram without using LD_LIBRARY_PATH and $ldso.
563
e40a0d21
JM
564 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
565 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
566 $(rtld-installed-name).
567 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
568 (rtld_installed_name): Likewise.
569 (library_path): Likewise.
570 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
571 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
572 $(run-program-prefix) to tst-tables.sh.
573 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
574 it to run tst-table-from and tst-table-to.
575 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
576 Pass it to tst-table.sh.
577 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
578 $(run-program-prefix) to tst-gettext.sh.
579 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
580 tst-translit.sh.
581 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
582 tst-gettext2.sh.
583 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
584 to run tst-gettext.
585 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
586 to run tst-gettext2.
587 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
588 to run tst-translit.
589 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
590 $(run-program-prefix) to tst-mtrace.sh.
591 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
592 to run tst-mtrace.
593 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
594 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
595 $(rtld-installed-name).
596 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
597 (rtld_installed_name): Likewise.
598 (run_program_prefix): New variable. Use it to run wordexp-test.
599
728e272a
JM
600 * Makeconfig (ARCH): Remove all definitions.
601 (machine): Likewise.
602 [ARCH]: Remove conditional code.
603 [!objdir]: Give error.
604 [!objdir] (objpfx): Remove.
605 [!objdir] (common-objpfx): Likewise.
606 [!objdir] (common-objdir): Likewise.
607 * configure.in (config_makefile): Remove. Hardcode Makefile in
608 AC_CONFIG_FILES call.
609 * configure: Regenerated.
610
d528cdcf
JM
611 [BZ #13888]
612 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
613 or TMPDIR.
614 (testout): Likewise.
615
135948bd
JM
616 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
617 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
618 $(rtld-installed-name).
619 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
620 (rtld_installed_name): Likwise.
621 (runit): Remove function.
622 (run_getconf): New variable, Use it for running getconf binary.
623
38c78296
L
6242012-10-18 H.J. Lu <hongjiu.lu@intel.com>
625
626 [BZ #14716]
627 * string/test-memmem.c (check_result): New function.
628 (do_one_test): Use it.
629 (check1): New function.
630 (test_main): Use it.
631
d077f65f
MT
6322012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
633
634 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
635
ced52c71
JM
6362012-10-18 Joseph Myers <joseph@codesourcery.com>
637
638 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
639 (_G_LSEEK64): Likewise.
640 (_G_MMAP64): Likewise.
641 (_G_FSTAT64): Likewise.
642 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
643 (_G_LSEEK64): Likewise.
644 (_G_MMAP64): Likewise.
645 (_G_FSTAT64): Likewise.
646 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
647 unconditional. Call __mmap64 directly.
648 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
649 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
650 __lseek64 directly.
651 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
652 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
653 __mmap64 directly.
654 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
655 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
656 __lseek64 directly.
657 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
658 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
659 __lseek64 directly.
660 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
661 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
662 __lseek64 directly.
663 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
664 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
665 __fxstat64 directly.
666 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
667 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
668 unconditional.
669 (freopen64) [!_G_OPEN64]: Remove conditional code.
670 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
671 unconditional.
672 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
673 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
674 unconditional.
675 (ftello64) [!_G_LSEEK64]: Remove conditional code.
676 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
677 unconditional.
678 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
679 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
680 unconditional.
681 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
682 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
683 unconditional.
684 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
685 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
686 unconditional.
687 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
688 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
689 unconditional.
690 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
691
b741de23
SP
6922012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
693
694 [BZ #12140]
695 * manual/memory.texi (Malloc Tunable Parameters): Add note
696 about free list pointers overwriting some perturb bytes.
697 Wording suggested by Roland McGrath.
698
f9b9d9c9
JM
6992012-10-17 Joseph Myers <joseph@codesourcery.com>
700
701 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
702 (lgamma_test): Likewise.
703 (tgamma_test): Likewise.
704
172a631a
FW
7052012-10-16 Florian Weimer <fweimer@redhat.com>
706
707 [BZ #14700]
708 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
709 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
710
e9f37252
MK
7112012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
712
713 * NEWS: Mention BZ #14716.
714 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
715 when removing AVAILABLE1_USES_J macro.
716
d394eb74
L
7172012-10-12 H.J. Lu <hongjiu.lu@intel.com>
718
719 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
720 (__bswap_64): __uint64_t for unsigned 64-bit int.
721
ca38dc17
AS
7222012-10-12 Andreas Schwab <schwab@linux-m68k.org>
723
724 * include/string.h (memmem): Declare libc hidden alias.
725 * string/memmem.c (memmem): Define libc hidden alias.
726 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
727 __read, __close instead of open, read, close.
728
9a387d1f
L
7292012-10-11 H.J. Lu <hongjiu.lu@intel.com>
730
ac49ecaf
L
731 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
732 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
733 global and hidden.
734 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
735 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
736 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
737 Likewise.
738 (__rawmemchr_sse2): Likewise.
739 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
740 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
741 (__strchr_sse2): Likewise.
742 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
743 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
744 (__strcasecmp_sse2): Likewise.
745 (__strncasecmp_sse2): Likewise.
746 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
747 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
748 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
749 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
750 (__strrchr_sse2): Likewise.
751 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
752 ifunc-impl-list.c.
753 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
754 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
755 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
756 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
757 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
758 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
759 * sysdeps/x86_64/multiarch/memset.S: Likewise.
760 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
761 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
762 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
763 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
764 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
765 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
766 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
767 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
768 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
769 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
770 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
771 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
772 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
773 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
774 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
775 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
776 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
777 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
778 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
779 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
780 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
781 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
782 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
783
b090e8ea
L
784 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
785 global and hidden.
786 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
787 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
788 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
789 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
790 Likewise.
791 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
792 Likewise.
793 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
794 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
795 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
796 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
797 ifunc-impl-list.c.
798 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
799 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
800 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
801 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
802 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
803 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
804 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
805 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
806 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
807 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
808 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
809 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
810 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
811 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
812 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
813 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
814 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
815 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
816 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
817 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
818 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
819 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
820 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
821 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
822 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
823 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
824 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
825 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
826 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
827 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
828 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
829 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
830 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
831 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
832 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
833 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
834 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
835 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
836 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
837 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
838 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
839
11dd4af6
L
840 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
841 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
842 * include/ifunc-impl-list.h: New file.
843 * misc/ifunc-impl-list.c: Likewise.
844 * misc/Makefile (routines): Add ifunc-impl-list.
845 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
846 * string/test-string.h: Include <ifunc-impl-list.h>.
847 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
848 impl_array): New variables.
849 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
850 are defined.
851 (test_init): Call __libc_ifunc_impl_list to initialize
852 func_list if TEST_IFUNC and TEST_NAME are defined.
853
9a387d1f
L
854 * string/Makefile (strop-tests): Add bcopy and bzero.
855 * string/test-bcopy.c: New file.
856 * string/test-bzero.c: Likewise.
857 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
858 defined.
859 * string/test-memset.c: Support bzero test if TEST_BZERO is
860 defined.
861 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
862 __libc_memmove.
863 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
864 __libc_memset.
865 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
866 of memset.
867
472371b9
JM
8682012-10-10 Joseph Myers <joseph@codesourcery.com>
869
1e4a9536
JM
870 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
871 * configure: Regenerated.
872
d173d12e
JM
873 * Makeconfig (+link-static-before-libc): Don't include
874 $(link-static-libc).
875
472371b9
JM
876 * libio/libio.h (_IO_pos_t): Remove.
877
89a3ad0b
AO
8782012-10-10 Alexandre Oliva <aoliva@redhat.com>
879
880 * NEWS: Add note about FIPS mode. Wording suggested by Roland
881 McGrath.
882
e7451425
AO
8832012-10-10 Alexandre Oliva <aoliva@redhat.com>
884
885 * crypt/crypt-entry.c: Include fips-private.h.
886 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
887 * crypt/md5c-test.c (main): Tolerate disabled MD5.
888 * sysdeps/unix/sysv/linux/fips-private.h: New file.
889 * sysdeps/generic/fips-private.h: New file, dummy fallback.
890
4ba74a35
AO
8912012-10-10 Alexandre Oliva <aoliva@redhat.com>
892
893 * crypt/crypt-private.h: Include stdbool.h.
894 (_ufc_setup_salt_r): Return bool.
895 * crypt/crypt-entry.c: Include errno.h.
896 (__crypt_r): Return NULL with EINVAL for bad salt.
897 * crypt/crypt_util.c (bad_for_salt): New.
898 (_ufc_setup_salt_r): Check that salt is long enough and within
899 the specified alphabet.
900 * crypt/badsalttest.c: New file.
901 * crypt/Makefile (tests): Add it.
902 ($(objpfx)badsalttest): New.
903
f96f1242
MK
9042012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
905
906 * NEWS: Add entry for BZ #14602.
907
0e8e0c1c
JM
9082012-10-09 Joseph Myers <joseph@codesourcery.com>
909
910 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
911 type-generic.
912 * math/libm-test.inc: Update comment listing what functions and
913 macros are tested.
914 (isgreater_test): New function.
915 (isgreaterequal_test): Likewise.
916 (isless_test): Likewise.
917 (islessequal_test): Likewise.
918 (islessgreater_test): Likewise.
919 (isunordered_test): Likewise.
920 (main): Call the new functions.
921
273edc5e
RM
9222012-10-09 Roland McGrath <roland@hack.frob.com>
923
b8493de0
RM
924 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
925 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
926 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
927 * sysdeps/i386/configure: Regenerated.
928 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
929 * sysdeps/mach/configure: Regenerated.
930 * sysdeps/mach/hurd/configure: Regenerated.
931 * sysdeps/powerpc/configure: Regenerated.
932 * sysdeps/powerpc/powerpc32/configure: Regenerated.
933 * sysdeps/powerpc/powerpc64/configure: Regenerated.
934 * sysdeps/s390/s390-32/configure: Regenerated.
935 * sysdeps/s390/s390-64/configure: Regenerated.
936 * sysdeps/sh/configure: Regenerated.
937 * sysdeps/sparc/configure: Regenerated.
938 * sysdeps/unix/sysv/linux/configure: Regenerated.
939 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
940 * sysdeps/x86_64/configure: Regenerated.
941
273edc5e
RM
942 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
943 defined. Don't check if MAP is NULL.
944
c8450f70
JM
9452012-10-09 Joseph Myers <joseph@codesourcery.com>
946
947 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
948 (_G_stat64): Likewise.
949 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
950 (_G_stat64): Likewise.
951 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
952 instead of struct _G_stat64.
953 * libio/fileops.c (mmap_remap_check): Likewise.
954 (decide_maybe_mmap): Likewise.
955 (_IO_new_file_seekoff): Likewise.
956 (_IO_file_stat): Likewise.
957 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
958 _G_off64_t.
959 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
960 instead of struct _G_stat64.
961 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
962
57e605ba
MK
9632012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
964
965 [BZ #14602]
966 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
967 Replace with ...
968 (CHECK_EOL): New macro.
969 (two_way_short_needle): Check beginning of haystack for EOL. Use
970 CHECK_EOL.
971 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
972 Replace with CHECK_EOL.
973 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
974 Replace with CHECK_EOL.
975
ef1bb361
JM
9762012-10-08 Joseph Myers <joseph@codesourcery.com>
977
978 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
979 type-generic.
980 * math/libm-test.inc: Update comment listing what functions and
981 macros are tested.
982 (finite_test): New function.
983 (isinf_test): Likewise.
984 (isnan_test): Likewise.
985 (fpclassify_test): Test subnormal input.
986 (isfinite_test): Likewise.
987 (isnormal_test): Likewise.
988 (main): Call the new functions.
989
55f11534
JN
9902012-10-08 Jonathan Nieder <jrnieder@gmail.com>
991
992 [BZ #14660]
993 * Makerules (%.dynsym): Force C locale when running
994 $(OBJDUMP) --dynamic-syms.
995
1ab29350
AS
9962012-10-08 Andreas Schwab <schwab@linux-m68k.org>
997
998 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
999 <stdint.h>.
1000
f1ecb7ef
DM
10012012-10-06 David S. Miller <davem@davemloft.net>
1002
1003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1004 upper 32-bits of the length value in %o2 since we use branch-on-register
1005 tests which consider the entire 64-bit register.
1006
5d41d91a
L
10072012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1008
1009 * string/test-strstr.c (check2): Add a test for page boundary.
1010
3baddb72
DM
10112012-10-05 David S. Miller <davem@davemloft.net>
1012
1013 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1014 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1015 file.
1016 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1017 sysdep_routines.
1018 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1019 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1020 and bzero when HWCAP_SPARC_CRYPTO is present.
1021
9cee5585
L
10222012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1023
d7e0dab9
L
1024 [BZ #14602]
1025 * string/test-strstr.c (check2): New function.
1026 (test_main): Call check2.
1027
03759f47
L
1028 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1029 and bug-strchr1.
1030 * string/bug-strcasestr1.c (do_test): Moved to ...
1031 * string/test-strcasestr.c (check1): Here. New function.
1032 (do_one_test): Break out result checking code into ...
1033 (check_result): This. New function.
1034 (do_one_test): Call check_result.
1035 (test_main): Call check1.
1036 * string/bug-strchr1.c (do_test): Moved to ...
1037 * string/test-strchr.c (check1): Here. New function.
1038 (do_one_test): Break out result checking code into ...
1039 (check_result): This. New function.
1040 (do_one_test): Call check_result.
1041 (test_main): Call check1.
1042 * string/bug-strstr1.c (main): Moved to ...
1043 * string/test-strchr.c (check1): Here. New function.
1044 (do_one_test): Break out result checking code into ...
1045 (check_result): This. New function.
1046 (do_one_test): Call check_result.
1047 (test_main): Call check1.
1048 * string/bug-strcasestr1.c: Removed.
1049 * string/bug-strchr1.c: Likewise.
1050 * string/bug-strstr1.c: Likewise.
1051
53cea63e
L
1052 * elf/Makefile (dl-routines): Add hwcaps.
1053 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1054 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1055 (_dl_important_hwcaps): Moved to ...
1056 * elf/dl-hwcaps.c: Here. New file.
1057 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1058
9cee5585 1059 [BZ #14557]
bb859b06
L
1060 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1061 if IS_IN_rtld isn't defined.
1062
9cee5585
L
1063 * elf/dl-support.c (_dl_sysinfo_map): New.
1064 Include "get-dynamic-info.h" and "setup-vdso.h".
1065 (_dl_non_dynamic_init): Call setup_vdso.
1066 * elf/dynamic-link.h: Don't include <assert.h>.
1067 (elf_get_dynamic_info): Moved to ...
1068 * elf/get-dynamic-info.h: Here. New file.
1069 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1070 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1071 * elf/setup-vdso.h: Here. New file.
1072 * elf/rtld.c: Include "setup-vdso.h".
1073 (dl_main): Call setup_vdso.
1074
23c31b76
JM
10752012-10-05 Joseph Myers <joseph@codesourcery.com>
1076
28234b07
JM
1077 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1078 creal in comment listing functions tested. List finite, isinf,
1079 isnan, isless, islessequal, isgreater, isgreaterequal,
1080 islessgreater, isunordered, lgamma_r and pow10 as functions and
1081 macros not tested. Mention which functions not tested are aliases
1082 for other functions. Fix typo. Note that signs of NaNs are not
1083 tested.
1084
23c31b76
JM
1085 * scripts/config.guess: Update from config.git.
1086 * scripts/config.sub: Likewise.
1087
9043e228
RM
10882012-10-04 Roland McGrath <roland@hack.frob.com>
1089
1090 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1091 * misc/madvise.c (madvise): Renamed to __madvise.
1092 Make madvise a weak alias.
1093 * include/sys/mman.h: Declare __madvise.
1094 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1095 * sysdeps/unix/syscalls.list
1096 (madvise): Make __madvise the strong name, and madvise a weak alias.
1097 * sysdeps/unix/sysv/linux/syscalls.list
1098 (madvise, mmap): Remove redundant entries.
1099 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1100 * malloc/malloc.c (mtrim): Likewise.
1101 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1102
f57f8055
RM
11032012-10-03 Roland McGrath <roland@hack.frob.com>
1104
1105 * sysdeps/mach/hurd/dl-cache.c: File removed.
1106 * config.h.in (USE_LDCONFIG): New #undef.
1107 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1108 * configure: Regenerated.
1109 * elf/Makefile (dl-routines): Add dl-cache only under
1110 [$(use-ldconfig) = yes].
1111 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1112 cache on [USE_LDCONFIG].
1113 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1114 [USE_LDCONFIG].
1115 * elf/rtld.c (dl_main): Likewise.
1116
5bb0c10a
PT
11172012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1118
1119 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1120 _SC_LEVEL4_CACHE_LINESIZE.
1121
010188c6
RM
11222012-10-03 Roland McGrath <roland@hack.frob.com>
1123
1124 * sysdeps/unix/bsd/confstr.h: File removed.
1125
b6c5ec07
AO
11262012-10-02 Alexandre Oliva <aoliva@redhat.com>
1127
1128 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1129 sys/sdt-config.h.
1130
408223d4
RM
11312012-10-02 Roland McGrath <roland@hack.frob.com>
1132
1133 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1134 Make 'mapoff' field ElfW(Off) rather than off_t.
1135
bb9510dc
DL
11362012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1137
fc997c6e
DL
1138 * nscd/Makefile: Remove nscd-cflags and all its users.
1139 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1140 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1141
bb9510dc
DL
1142 [BZ #10631]
1143 * malloc.c (malloc_printerr): Clarify error message.
1144
05699367
L
11452012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1146
1147 [BZ #14648]
1148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1149 Set bit_FMA_Usable if FMA is supported.
1150 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1151 macro.
1152 (bit_FMA4_Usable): Updated.
1153 (index_FMA_Usable): New macro.
1154 (CPUID_FMA): Likewise
1155 (HAS_FMA): Defined with bit_FMA_Usable.
1156
51367701
RM
11572012-10-01 Roland McGrath <roland@hack.frob.com>
1158
1159 * bits/types.h (__swblk_t): Type removed.
1160 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1161 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1163 (__SWBLK_T_TYPE): Likewise.
1164 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1165 (__SWBLK_T_TYPE): Likewise.
1166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1167 (__SWBLK_T_TYPE): Likewise.
1168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1169 (__SWBLK_T_TYPE): Likewise.
1170
4d57bf63 11712012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 1172 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
1173
1174 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1175 (xdr_mapname): Use YPMAXMAP as maxsize.
1176 (xdr_peername): Use YPMAXPEER as maxsize.
1177 (xdr_keydat): Use YPAXRECORD as maxsize.
1178 (xdr_valdat): Use YPMAXRECORD as maxsize.
1179
93c65d43
RM
11802012-10-01 Roland McGrath <roland@hack.frob.com>
1181
497a03d6
RM
1182 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1183
93c65d43
RM
1184 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1185 * csu/init-first.c: ... here.
1186 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1187 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1188 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1189 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1190 * sysdeps/i386/init-first.c: File removed.
1191 * sysdeps/sh/init-first.c: File removed.
1192
bec749fd
JM
11932012-10-01 Joseph Myers <joseph@codesourcery.com>
1194
1195 [BZ #14645]
1196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1197 if x * y might underflow to zero and z is zero.
1198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1199 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1200 * math/libm-test.inc (min_subnorm_value): New variable.
1201 (fma_test): Add more tests.
1202 (fma_test_towardzero): Likewise.
1203 (fma_test_downward): Likewise
1204 (fma_test_upward): Likewise.
1205 (initialize): Set min_subnorm_value.
1206
8ec5b013
JM
12072012-09-29 Joseph Myers <joseph@codesourcery.com>
1208
1209 [BZ #14638]
1210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1211 0 + 0.
1212 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1213 mode for addition resulting in exact zero.
1214 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1215 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1216 exact 0 + 0.
1217 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1218 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1219 * math/libm-test.inc (fma_test): Add more tests.
1220 (fma_test_towardzero): New function.
1221 (fma_test_downward): Likewise.
1222 (fma_test_upward): Likewise.
1223 (main): Call the new functions.
1224
b1fa802e
DM
12252012-09-28 David S. Miller <davem@davemloft.net>
1226
1227 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1228
d3b9fd9e
RM
12292012-09-28 Roland McGrath <roland@hack.frob.com>
1230
ea4d37b3
RM
1231 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1232 instead of SIGALRM.
1233
ac51c949
RM
1234 * sysdeps/gnu/_G_config.h: Moved to ...
1235 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1236 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1237 * sysdeps/generic/_G_config.h: ... here.
1238
28c195f7
RM
1239 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1240
848917f9
RM
1241 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1242
6bacf05b
RM
1243 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1244 Conditionalize target on [libnss_test1.so-version].
1245
91363dbb
RM
1246 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1247
cc87f7d8
RM
1248 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1249 (elfobjdir): Move out of conditionals.
1250
b1c608fe
RM
1251 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1252 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1253 (__nss_lookup_function): Conditionalize label remove_from_tree on
1254 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 1255
1d9a6d96
DM
12562012-09-28 David S. Miller <davem@davemloft.net>
1257
1258 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1259 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1260 file.
1261 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1262 sysdep_routines.
1263 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1264 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1265 when HWCAP_SPARC_CRYPTO is present.
1266
72581615
PT
12672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1268
1269 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1270
715a900c
JL
12712012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1272
1273 [BZ #6530]
1274 * stdio-common/vfprintf.c (process_string_arg): Revert
1275 2000-07-22 change.
1276
12772011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1278
1279 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1280 for testcase.
1281 * stdio-common/tst-sprintf.c: Include <locale.h>
1282 (main): Test sprintf's handling of incomplete multibyte
1283 characters.
1284
9bac1d86
L
12852012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1286
1287 * elf/dl-runtime.c (VERSYMIDX): Removed.
1288 * elf/dl-version.c (VERSYMIDX): Likewise.
1289 * elf/do-rel.h (VERSYMIDX): Likewise.
1290 (VALIDX): Likewise.
1291 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1292 * elf/rtld.c (VALIDX): Likewise.
1293 (ADDRIDX): Likewise.
9bac1d86
L
1294 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1295 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1296 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
1297 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1298 (VALIDX): Likewise.
1299 (ADDRIDX): Likewise.
9bac1d86 1300
b31606c0
PT
13012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1302
1303 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1304
11541177
JL
13052012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1306
1307 [BZ #11438]
1308 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1309 to global scope.
1310 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1311 addresses are in the same scope as 192.0.2/24.
1312 * posix/gai.conf: Document new scope table defaults.
1313
adb26fae
SP
13142012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1315
1316 [BZ #5298]
1317 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1318 for ftell. Compute offsets from write pointers instead.
1319 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1320
4573c6b0
SP
13212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1322
1323 [BZ #14543]
1324 * libio/Makefile (tests): New test case tst-fseek.
1325 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1326 combination works in wide mode.
1327 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1328 state when the external buffer state changes.
1329
aa9bbfe6
DM
13302012-09-27 David S. Miller <davem@davemloft.net>
1331
1332 [BZ #14376]
1333 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1334 pass reloc->r_addend in as the 'high' argument to
1335 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1336
784421e7
DM
1337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1338
c39bc8b8
PT
13392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1340
1341 * rt/tst-aio2.c: Include <pthread.h>.
1342 * rt/tst-aio3.c: Likewise.
1343
1ccc2399
SE
13442012-09-27 Steve Ellcey <sellcey@mips.com>
1345
1346 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1347
31ed4153
L
13482012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1349
25f5f885
L
1350 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1351 contents on [SHARED].
31ed4153 1352
b7bfe116
MP
13532012-09-26 Marek Polacek <polacek@redhat.com>
1354
1355 [BZ #14530]
1356 [BZ #13741]
1357 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1358 for C++ and GCC <4.3 as well as for non GCC compilers.
1359
43c4edba
MT
13602012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1361
1362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1363
6a1bf82f
RM
13642012-09-25 Roland McGrath <roland@hack.frob.com>
1365
1366 * Makefile.in (all, install): Declare with .PHONY.
1367 Reported by Michael Hope <michael.hope@linaro.org>.
1368
8ad11b9a
TMQMF
13692012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1370
1371 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1372 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1373 system header.
1374 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1375 Likewise.
1376 (sydep_routines): Add the new and the internal functions.
1377 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1378 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1380 (GLIBC_2.17): Add the new function.
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1382 (GLIBC_2.17): Likewise.
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1384 (GLIBC_2.17): Likewise.
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1386 (GLIBC_2.17): Likewise.
1387 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1388
7e2fca8d
AM
13892012-09-25 Alan Modra <amodra@gmail.com>
1390
1391 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1392 Add release barrier before setting once_control to say
1393 initialisation is done. Add hints on lwarx. Use macro in
1394 place of isync.
1395 (clear_once_control): Add release barrier.
1396
b87c4b24
JM
13972012-09-25 Joseph Myers <joseph@codesourcery.com>
1398
d032e0d2
JM
1399 [BZ #13629]
1400 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1401 specially.
1402 * math/s_clog10.c (__clog10): Likewise.
1403 * math/s_clog10f.c (__clog10f): Likewise.
1404 * math/s_clog10l.c (__clog10l): Likewise.
1405 * math/s_clogf.c (__clogf): Likewise.
1406 * math/s_clogl.c (__clogl): Likewise.
1407 * math/Makefile (libm-calls): Add x2y2m1.
1408 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1409 (__x2y2m1): Likewise.
1410 (__x2y2m1l): Likewise.
1411 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1412 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1413 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1414 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1415 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1416 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1417 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1418 * sysdeps/i386/fpu/libm-test-ulps: Update.
1419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1420
b87c4b24
JM
1421 [BZ #14621]
1422 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1423 int as type of variable DEPTH.
1424 (glob): Use size_t instead of int as type of variables NEWCOUNT
1425 and OLD_PATHC.
1426
6d3bf199
LD
14272012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1428
22bf5c17
LD
1429 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1430 Add s_sincosf-sse2.
1431 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1432 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1433 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1434 macros for using routine as __sincosf_ia32.
1435 Use macro for function declaration and weak_alias.
1436 * sysdeps/i386/fpu/libm-test-ulps: Update.
1437
1438 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1440
1441 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1442 subnormal argument.
1443 * math/s_cexpf.c (__cexpf): Likewise.
1444 * math/s_csinf.c (__csinf): Likewise.
1445 * math/s_csinhf.c (__csinhf): Likewise.
1446 * math/s_ctanf.c (__ctanf): Likewise.
1447 * math/s_ctanhf.c (__ctanhf): Likewise.
1448 * math/s_ccosh.c (__ccoshf): Likewise.
1449 * math/s_cexp.c (__cexpl): Likewise.
1450 * math/s_csin.c (__csin): Likewise.
1451 * math/s_csinh.c (__csinh): Likewise.
1452 * math/s_ctan.c (__ctan): Likewise.
1453 * math/s_ctanh.c (ctanh): Likewise.
1454 * math/s_ccoshl.c (__ccoshl): Likewise.
1455 * math/s_cexpl.c (__cexpl): Likewise.
1456 * math/s_csinl.c (__csinl): Likewise.
1457 * math/s_csinhl.c (__csinhl): Likewise.
1458 * math/s_ctanl.c (__ctanl): Likewise.
1459 * math/s_ctanhl.c (__ctanhl): Likewise.
1460
203e5603
JM
14612012-09-25 Joseph Myers <joseph@codesourcery.com>
1462
1463 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1464 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1465 (_IO_off_t): Define to __off_t, not _G_off_t.
1466 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1467 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1468 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1469 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1470 type of __dummy and __dummy2 fields.
1471 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1472 (_G_ssize_t): Likewise.
1473 (_G_off_t): Likewise.
1474 (_G_pid_t): Likewise.
1475 (_G_uid_t): Likewise.
1476 (_G_wchar_t): Likewise.
1477 (_G_wint_t): Likewise.
1478 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1479 (_G_ssize_t): Likewise.
1480 (_G_off_t): Likewise.
1481 (_G_pid_t): Likewise.
1482 (_G_uid_t): Likewise.
1483 (_G_wchar_t): Likewise.
1484 (_G_wint_t): Likewise.
1485 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1486 (_G_ssize_t): Likewise.
1487 (_G_off_t): Likewise.
1488 (_G_pid_t): Likewise.
1489 (_G_uid_t): Likewise.
1490 (_G_wchar_t): Likewise.
1491 (_G_wint_t): Likewise.
1492
9fab36eb
SP
14932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1494
1495 * malloc/arena.c: Include malloc-sysdep.h.
1496 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1497 is sufficient to shrink the heap or an unmap is needed.
1498 * sysdeps/generic/malloc-sysdep.h: New file. Define
1499 new function check_may_shrink_heap.
1500 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1501 new function check_may_shrink_heap.
1502
2b4f00d1
SP
15032012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1504
1505 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1506 comments.
1507
9a9028b1
DL
15082012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1509
57c69bef
DL
1510 * catgets/test-gencat.sh: Add "set -e".
1511 * elf/tst-pathopt.sh: Likewise.
1512 * grp/tst_fgetgrent.sh: Likewise.
1513 * iconvdata/run-iconv-test.sh: Likewise.
1514 * intl/tst-gettext.sh: Likewise.
1515 * intl/tst-gettext2.sh: Likewise.
1516 * intl/tst-gettext4.sh: Likewise.
1517 * intl/tst-gettext6.sh: Likewise.
1518 * intl/tst-translit.sh: Likewise.
1519 * io/ftwtest-sh: Likewise.
1520 * libio/test-freopen.sh: Likewise.
1521 * malloc/tst-mtrace.sh: Likewise.
1522 * posix/globtest.sh: Likewise.
1523 * posix/tst-getconf.sh: Likewise.
1524 * posix/wordexp-tst.sh: Likewise.
1525 * stdio-common/tst-printf.sh: Likewise.
1526 * stdio-common/tst-unbputc.sh: Likewise.
1527 * stdlib/tst-fmtmsg.sh: Likewise.
1528 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1529 * catgets/Makefile: Do not specify -e option when running
1530 testsuite shell scripts.
1531 * elf/Makefile: Likewise.
1532 * grp/Makefile: Likewise.
1533 * iconvdata/Makefile: Likewise.
1534 * intl/Makefile: Likewise.
1535 * io/Makefile: Likewise.
1536 * libio/Makefile: Likewise.
1537 * malloc/Makefile: Likewise.
1538 * posix/Makefile: Likewise.
1539 * stdio-common/Makefile: Likewise.
1540 * stdlib/Makefile: Likewise.
1541 * sysdeps/x86_64/Makefile: Likewise.
1542
9a9028b1
DL
1543 * io/ftwtest-sh: Add copyright header.
1544 * posix/globtest.sh: Likewise.
1545 * posix/tst-getconf.sh: Likewise.
1546 * posix/wordexp-tst.sh: Likewise.
1547 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1548
ced6f16e
L
15492012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1550
94b32c39
L
1551 [BZ #13679]
1552 * Makeconfig (+link): Defined as $(+link-static) if
1553 $(build-shared) isn't yes.
1554 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1555 isn't yes.
1556 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1557
189e935b
L
1558 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1559
ced6f16e
L
1560 [BZ #14562]
1561 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1562 new chunk size with MALLOC_ALIGN_MASK.
1563
a9f8e53a
JM
15642012-09-24 Joseph Myers <joseph@codesourcery.com>
1565
1566 [BZ #5044]
1567 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1568 <rounding-mode.h>.
1569 (__printf_fphex): Determine rounding using get_rounding_mode and
1570 round_away.
1571 * stdio-common/tst-printf-round.c (struct hex_test): New
1572 structure.
1573 (hex_tests): New variable.
1574 (test_hex_in_one_mode): New function.
1575 (do_test): Also run tests for hex float output.
1576
43153109
JM
15772012-09-21 Joseph Myers <joseph@codesourcery.com>
1578
1579 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1580 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1581 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1582 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1583 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1584 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1585 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1586 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1587
8a26625d
JM
15882012-09-20 Joseph Myers <joseph@codesourcery.com>
1589
1590 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1591 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1592 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1593 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1594
f3fd569c
DL
15952012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1596
1597 [BZ #14579]
1598 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1599 mode only.
1600 * elf/tst-rtld-load-self.sh: New test.
1601 * elf/Makefile: Run it.
1602
63bbedd4
JM
16032012-09-18 Joseph Myers <joseph@codesourcery.com>
1604
1605 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1606 (tst-writev-ENV): Remove.
1607 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1608
626f8b6a
CM
16092012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1610
1611 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1612
b7aaa4d6
JM
16132012-09-17 Joseph Myers <joseph@codesourcery.com>
1614
1615 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1616 unconditional.
1617 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1618 Likewise.
1619 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1620 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1621 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1622 Likewise.
1623
65513990
L
16242012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1625
1626 [BZ #14587]
1627 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1628 * config.make.in (have-cpp-asm-debuginfo): Removed.
1629 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1630 * configure: Regenerated.
1631
784761be
JM
16322012-09-14 Joseph Myers <joseph@codesourcery.com>
1633
1634 [BZ #5044]
1635 * stdio-common/printf_fp.c: Include <stdbool.h> and
1636 <rounding-mode.h>.
1637 (___printf_fp): Determine rounding using get_rounding_mode and
1638 round_away.
1639 * stdio-common/tst-printf-round.c: New file.
1640 * stdio-common/Makefile (tests): Add tst-printf-round.
1641 (link-libm): New variable.
1642 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1643
9503345f
L
16442012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1645
1646 [BZ #14576]
1647 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1648 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1649 Likewise.
1650 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1651 Likewise.
1652
ad35fc00
JM
16532012-09-13 Joseph Myers <joseph@codesourcery.com>
1654
1655 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1656 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1657 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1658 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1659
6c9b0f68
JM
16602012-09-12 Joseph Myers <joseph@codesourcery.com>
1661
1662 [BZ #14518]
1663 * include/rounding-mode.h: New file.
1664 * sysdeps/generic/get-rounding-mode.h: Likewise.
1665 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1666 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1667 (MAX_VALUE): New macro.
1668 (MIN_VALUE): Likewise.
1669 (overflow_value): New function.
1670 (underflow_value): Likewise.
1671 (round_and_return): Use overflow_value and underflow_value to
1672 determine return values in overflow and underflow cases. Use
1673 round_away to determine rounding depending on rounding mode.
1674 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1675 determine return values in overflow and underflow cases.
1676 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1677 (struct test_results): New structure.
1678 (struct test): Use struct test_results to store expected results
1679 for all rounding modes.
1680 (TEST): Include expected results for all rounding modes.
1681 (test_in_one_mode): New function.
1682 (do_test): Use test_in_one_mode to compute and check results.
1683 Check results for all rounding modes.
1684 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1685 $(link-libm).
1686
19fcedd5
AM
16872012-12-09 Allan McRae <allan@archlinux.org>
1688
1e9d84cd 1689 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 1690
8bbfd2f1
JM
16912012-09-11 Joseph Myers <joseph@codesourcery.com>
1692
1693 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1694 (_G_int32_t): Likewise.
1695 (_G_uint16_t): Likewise.
1696 (_G_uint32_t): Likewise.
1697 (_G_HAVE_BOOL): Likewise.
1698 (_G_HAVE_ATEXIT): Likewise.
1699 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1700 (_G_HAVE_IO_FILE_OPEN): Likewise.
1701 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1702 (_G_int32_t): Likewise.
1703 (_G_uint16_t): Likewise.
1704 (_G_uint32_t): Likewise.
1705 (_G_HAVE_BOOL): Likewise.
1706 (_G_HAVE_ATEXIT): Likewise.
1707 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1708 (_G_HAVE_IO_FILE_OPEN): Likewise.
1709 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1710 (_G_int32_t): Likewise.
1711 (_G_uint16_t): Likewise.
1712 (_G_uint32_t): Likewise.
1713 (_G_HAVE_BOOL): Likewise.
1714 (_G_HAVE_ATEXIT): Likewise.
1715 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1716 (_G_HAVE_IO_FILE_OPEN): Likewise.
1717
b1dc5912
L
17182012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1719
1720 * csu/libc-tls.c: Update copyright years.
1721
0e886ef9
JM
17222012-09-10 Joseph Myers <joseph@codesourcery.com>
1723
28361c5e
JM
1724 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1725 [!_G_USING_THUNKS]: Remove conditional code.
1726 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1727 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1728
0e886ef9
JM
1729 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1730 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1731 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1732 (_G_VTABLE_LABEL_PREFIX): Likewise.
1733 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1734 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1735 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1736 (_G_VTABLE_LABEL_PREFIX): Likewise.
1737 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1738 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1739 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1740 (_G_VTABLE_LABEL_PREFIX): Likewise.
1741 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1742
bcba7aa2
L
17432012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1744
1745 * libio/Makefile: Include ../Makeconfig before tests.
1746 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1747 only if $(build-shared) is yes.
1748
06585ee8
L
1749 * iconv/gconv_db.c: Update copyright years.
1750
80ccd52c
LD
17512012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1752
1753 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1754 unwind info if defined PIC. Fix special cases description.
1755 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1756
1757 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1758 DP_HI_MASK entry.
1759 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1760
691bc9c1
L
17612012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1762
3d9b46b3
L
1763 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1764
de2139a9
L
1765 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1766 is NULL.
1767
5ca78dd0
L
1768 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1769 (LDLIBS-tst-chk4): This.
1770 (LDFLAGS-tst-chk5): Renamed to ...
1771 (LDLIBS-tst-chk5): This.
1772 (LDFLAGS-tst-chk6): Renamed to ...
1773 (LDLIBS-tst-chk6): This.
1774 (LDFLAGS-tst-lfschk4): Renamed to ...
1775 (LDLIBS-tst-lfschk4): This.
1776 (LDFLAGS-tst-lfschk5): Renamed to ...
1777 (LDLIBS-tst-lfschk5): This.
1778 (LDFLAGS-tst-lfschk6): Renamed to ...
1779 (LDLIBS-tst-lfschk6): This.
1780
691bc9c1
L
1781 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1782 on $(common-objpfx)soversions.mk.
1783
65cafb1c
JM
17842012-09-07 Joseph Myers <joseph@codesourcery.com>
1785
1786 [BZ #10014]
1787 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1788 example host name.
1789
c78ab094
SP
17902012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1791
1792 * malloc/arena.c (arena_get_retry): New function that gets
1793 another arena for the caller to try its request on.
1794 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1795 current arena cannot fulfill the request.
1796 (__libc_memalign): Likewise.
1797 (__libc_memalign): Likewise.
1798 (__libc_pvalloc): Likewise.
1799 (__libc_calloc): Likewise.
1800
01f49f59
JT
18012012-09-05 John Tobey <john.tobey@gmail.com>
1802
1803 [BZ #13542]
1804 * manual/arith.texi (Operations on Complex): Fix description
1805 of carg branch cut.
1806
4c23fed5
JM
18072012-09-06 Joseph Myers <joseph@codesourcery.com>
1808
1d3c8572
JM
1809 [BZ #10014]
1810 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1811 host name.
1812
4c23fed5
JM
1813 [BZ #10038]
1814 * manual/memory.texi (Memory): Make order of menu items match
1815 order of sections.
1816
04570aaa
L
18172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1818
1819 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1820 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1821 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1822
b80af2f4
L
18232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1824
1825 * csu/libc-tls.c (static_dtv): Renamed to ...
1826 (_dl_static_dtv): This. Make it global.
1827 (_dl_initial_dtv): Removed.
1828 (__libc_setup_tls): Updated.
1829 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1830 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1831 DL_INITIAL_DTV.
1832
2abe9f15
PM
18332012-09-06 Petr Machata <pmachata@redhat.com>
1834
1835 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1836 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1837 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1838 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1839
0948c3af
L
18402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1841
1842 [BZ #14545]
1843 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1844 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1845 freeing dtv[-1].
1846
a5055ad1
L
18472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1848
1849 [BZ #14544]
1850 * Makeconfig (link-static-before-libc): Replace $(+prector)
1851 with $(+prectorT).
1852 (link-static-after-libc): Replace $(+postctor) with
1853 $(+postctorT).
1854 (link-bounded): Replace $(+prector)/$(+postctor) with
1855 $(+prectorT)/$(+postctorT).
1856 (+prectorT): New macro.
1857 (+postctorT): Likewise.
1858
ed8c2ecd
JM
18592012-09-06 Joseph Myers <joseph@codesourcery.com>
1860
1861 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1862 (round_str): Handle values above the maximum for IBM long double
1863 as inexact.
1864 * stdlib/tst-strtod-round.c (tests): Regenerated.
1865
14c996c8
AK
18662012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1867
1868 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1869 assembler flag.
1870 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1871 zarch_nohighgprs around the zarch optimized routines.
1872 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1873 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1874 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1875 for zarch.
1876
430d6ce6
DM
18772012-09-05 David S. Miller <davem@davemloft.net>
1878
1879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1880
ff04dda4
DM
1881 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1882 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1883 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1884 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1885 entries.
1886
24d4e01b
AO
18872012-09-05 Alexandre Oliva <aoliva@redhat.com>
1888
1889 * malloc/arena.c: Fold copyright years.
1890 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1891
61d58174
AO
18922012-09-05 Alexandre Oliva <aoliva@redhat.com>
1893
1894 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1895
20196a5e
AO
18962012-09-05 Alexandre Oliva <aoliva@redhat.com>
1897
1898 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1899
5c447383
AO
19002012-09-05 Alexandre Oliva <aoliva@redhat.com>
1901
1902 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1903 change internal state upon failure.
1904
fad64255
AO
19052012-09-05 Alexandre Oliva <aoliva@redhat.com>
1906
1907 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1908 * malloc/memusage.c (mmap): Likewise.
1909 (mmap64, mremap): Likewise. Adjust name in comment.
1910
1ffb8c90
SP
19112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1912
1913 * libio/fileops.c: Fix typos in comments.
1914 * libio/oldfileops.c: Likewise.
1915 * libio/wfileops.c: Likewise.
1916
6ef9cc37
SP
19172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1918
1919 [BZ #1349]
1920 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1921 (tst-malloc-usable-ENV): Set environment for test case.
1922 * malloc/hooks.c (malloc_check_get_size): New function to get
1923 requested size.
1924 * malloc/malloc.c (musable): Use malloc_check_get_size.
1925 * malloc/tst-malloc-usable.c: New test case.
1926
4d038ae3
AS
19272012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1928
1929 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1930
c4e85184
AM
19312012-09-05 Allan McRae <allan@archlinux.org>
1932
b9dafc56 1933 [BZ #13966]
c4e85184
AM
1934 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1935 determine header location.
1936 * configure: Regenerated.
1937
e1343020
AS
19382012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1939
1940 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1941 float format.
1942 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1943 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1944 format.
e1343020
AS
1945 (test): Regenerate.
1946
0a9f1987
DM
19472012-09-04 David S. Miller <davem@davemloft.net>
1948
1949 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1950 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1951 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1952
29237804
FW
19532012-09-04 Florian Weimer <fweimer@redhat.com>
1954
1955 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1956 failures.
1957
edb3cb88
FW
1958 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1959
60160d83
JM
19602012-09-04 Joseph Myers <joseph@codesourcery.com>
1961
1962 [BZ #9914]
1963 * libio/iogetdelim.c: Include <limits.h>.
1964 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1965 + len + 1 would overflow.
1966
bcd6c8dc
AJ
19672012-09-03 Andreas Jaeger <aj@suse.de>
1968
1969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1970 * sysdeps/i386/fpu/libm-test-ulps: Update.
1971
4ffffbd2
LD
19722012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1973
1974 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1975 Add s_sinf-sse2, s_conf-sse2.
1976
1977 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1978 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1979 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1980 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1981
1982 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1983 for using routine as __sinf_ia32.
1984 Use macro for function declaration and weak_alias.
1985 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1986 for using routine as __cosf_ia32.
1987 Use macro for function declaration and weak_alias.
1988
1989 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1990 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1991
1992 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1993 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1995
1996 * math/libm-test.inc (cos_test): Add more test cases.
1997 (sin_test): Likewise.
1998 (sincos_test): Likewise.
1999
511fa286
AK
20002012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2001
2002 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2003 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2004 hidden.
2005 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2006
5f30cfec
L
20072012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2008
2009 [BZ #14538]
2010 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2011 first element of the GOT.
2012 (elf_machine_load_address): Return the difference between
2013 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2014
0786794f
AM
20152012-09-01 Allan McRae <allan@archlinux.org>
2016
5f30cfec
L
2017 [BZ #13412]
2018 * configure.in (AWK): Require gawk version 3.0 or later.
2019 * configure: Regenerated.
0786794f 2020
26889eac
JM
20212012-09-01 Joseph Myers <joseph@codesourcery.com>
2022
2023 * sysdeps/unix/sysv/linux/kernel-features.h
2024 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2025 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2026 [__NR_clock_getres]: Make code unconditional.
2027 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2028 (clock_getcpuclockid): Remove code left unreachable by removal of
2029 conditionals.
2030 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2031 code unconditional.
2032 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2033 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2034 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2035 Make code unconditional.
2036 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2037 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2038 * sysdeps/unix/sysv/linux/clock_settime.c
2039 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2040 conditional code.
2041 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2042 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2043
d22e28b0
L
20442012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 [BZ #14476]
2047 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2048 scripts/test-installation.pl.
2049
2050 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2051 and $ld_so_version if it is set.
2052
050af9c4
SP
20532012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2054
2055 [BZ #14516]
2056 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2057 failure if reading from procfs failed.
2058 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2059
ad845c0b
JM
20602012-08-27 Joseph Myers <joseph@codesourcery.com>
2061
2062 * sysdeps/unix/sysv/linux/kernel-features.h
2063 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2064 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2065 Remove conditional code.
2066 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2067 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2068 Remove conditional code.
2069 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2070 * sysdeps/unix/sysv/linux/i386/fxstat.c
2071 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2072 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2073 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2074 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2075 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2076 * sysdeps/unix/sysv/linux/i386/lxstat.c
2077 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2078 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2079 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2080 Remove conditional code.
2081 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2082 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2083 Remove conditional code.
2084 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2085 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2086 <kernel-features.h>.
2087 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2088 Remove.
2089 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2090 Remove conditional code.
2091 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2092 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2093 Remove conditional.
2094
5dbf56af
MF
20952012-08-27 Mike Frysinger <vapier@gentoo.org>
2096
2097 [BZ #5400]
2098 * NEWS: Add fixed bug number.
2099
d6e70f43
JM
21002012-08-27 Joseph Myers <joseph@codesourcery.com>
2101
7efb4737
JM
2102 [BZ #14519]
2103 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2104 underflowing exponent in case of negative sign.
2105 * stdlib/tst-strtod-round-data: Add more tests.
2106 * stdlib/tst-strtod-round.c (tests): Regenerated.
2107
af92131a
JM
2108 [BZ #3479]
2109 * stdlib/strtod_l.c (NDIG): Remove.
2110 (HEXNDIG): Likewise.
2111 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2112 smallest representable value.
2113 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2114 lie within an exact representation of 1/2 ulp of the result.
2115 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2116 unconditionally.
2117 (TENS_P9_IDX): Define unconditionally.
2118 (TENS_P9_SIZE): Likewise.
2119 (TENS_P10_IDX): Likewise.
2120 (TENS_P10_SIZE): Likewise.
2121 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2122 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2123 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2124 entries for 10^2^13 and 10^2^14.
2125 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2126 (TENS_P13_IDX): Define.
2127 (TENS_P13_SIZE): Likewise.
2128 (TENS_P14_IDX): Likewise.
2129 (TENS_P14_SIZE): Likewise.
2130 (_fpioconst_pow10): Change array size to
2131 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2132 unconditional.
2133 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2134 1024]: Add entries for 10^2^13 and 10^2^14.
2135 [LAST_POW10 > _LAST_POW10]: Remove #error.
2136 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2137 (_fpioconst_pow10): Change array size to
2138 FPIOCONST_POW10_ARRAY_SIZE.
2139 * stdlib/gen-fpioconst.c: New file.
2140 * stdlib/gen-tst-strtod-round.c: Likewise.
2141 * stdlib/tst-strtod-round-data: Likewise.
2142 * stdlib/tst-strtod-round.c: Likewise.
2143 * stdlib/Makefile (tests): Add tst-strtod-round.
2144
d6e70f43
JM
2145 [BZ #14459]
2146 * stdlib/strtod_l.c: Include <stdint.h>.
2147 (NDEBUG): Do not define.
2148 (round_and_return): Change EXPONENT parameter to type intmax_t.
2149 Rearrange calculations to avoid internal overflow possibilities.
2150 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2151 Rearrange calculations to avoid internal overflow possibilities.
2152 Assert that number fits inside MPNSIZE limbs.
2153 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2154 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2155 calculations and add assertions to avoid internal overflow
2156 possibilities. Add casts to avoid signed/unsigned operations.
2157 * stdlib/tst-strtod-overflow.c: New file.
2158 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2159
1f529f7d
MP
21602012-08-25 Marek Polacek <polacek@redhat.com>
2161
2162 * time/time.h: Fix some typos in comments.
2163
59a629f1
RM
21642012-08-23 Roland McGrath <roland@hack.frob.com>
2165
2166 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2167 * posix/tst-rfc3484-2.c: Likewise.
2168 * posix/tst-rfc3484-3.c: Likewise.
2169
d3bafbc9
SM
21702012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2171
2172 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2173 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2174
4efcc022
JM
21752012-08-23 Joseph Myers <joseph@codesourcery.com>
2176
2177 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2178 #include of fxstatat64.c.
2179
3cc3ef96
RM
21802012-08-22 Roland McGrath <roland@hack.frob.com>
2181
f04e2132
RM
2182 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2183 * shadow/getspent_r.c: Likewise.
2184 * shadow/getspnam.c: Likewise.
2185 * shadow/getspnam_r.c: Likewise.
2186 * gshadow/getsgent.c: Likewise.
2187 * gshadow/getsgent_r.c: Likewise.
2188 * gshadow/getsgnam.c: Likewise.
2189 * gshadow/getsgnam_r.c: Likewise.
2190 * inet/getnetbyad.c: Likewise.
2191 * inet/getnetbyad_r.c: Likewise.
2192 * inet/getnetbynm.c: Likewise.
2193 * inet/getnetbynm_r.c: Likewise.
2194 * inet/getnetent.c: Likewise.
2195 * inet/getnetent_r.c: Likewise.
2196 * inet/getproto.c: Likewise.
2197 * inet/getproto_r.c: Likewise.
2198 * inet/getprtent.c: Likewise.
2199 * inet/getprtent_r.c: Likewise.
2200 * inet/getprtname.c: Likewise.
2201 * inet/getprtname_r.c: Likewise.
2202 * inet/getrpcbyname.c: Likewise.
2203 * inet/getrpcbyname_r.c: Likewise.
2204 * inet/getrpcbynumber.c: Likewise.
2205 * inet/getrpcbynumber_r.c: Likewise.
2206 * inet/getrpcent.c: Likewise.
2207 * inet/getrpcent_r.c: Likewise.
2208 * inet/getaliasent.c: Likewise.
2209 * inet/getaliasent_r.c: Likewise.
2210 * inet/getaliasname.c: Likewise.
2211 * inet/getaliasname_r.c: Likewise.
2212 * nscd/getgrgid_r.c: Likewise.
2213 * nscd/getgrnam_r.c: Likewise.
2214 * nscd/gethstbyad_r.c: Likewise.
2215 * nscd/gethstbynm3_r.c: Likewise.
2216 * nscd/getpwnam_r.c: Likewise.
2217 * nscd/getpwuid_r.c: Likewise.
2218 * nscd/getsrvbynm_r.c: Likewise.
2219 * nscd/getsrvbypt_r.c: Likewise.
2220 * nscd/gai.c: Likewise.
2221
c53d909c
RM
2222 * configure.in (build_nscd): New substituted variable, set
2223 by --disable-build-nscd and defaults to $use_nscd.
2224 * configure: Regenerated.
2225 * config.make.in (build-nscd): New substituted variable.
2226 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2227 Change conditional to require [$(build-nscd) = yes] as well.
2228 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2229
3cc3ef96
RM
2230 [BZ# 13696]
2231 * configure.in (use_nscd): New substituted variable, set by
2232 --disable-nscd. If enabled, define USE_NSCD.
2233 * configure: Regenerated.
2234 * config.h.in: Add USE_NSCD.
2235 * config.make.in (use-nscd): New substituted variable.
2236 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2237 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2238 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2239 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2240 (CFLAGS-getgrnam_r.c): Likewise.
2241 (CFLAGS-initgroups.c): Likewise.
2242 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2243 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2244 Variables removed.
2245 * inet/getnetgrent_r.c
2246 (nscd_setnetgrent): New function, broken out of ...
2247 (setnetgrent): ... here. Call it.
2248 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2249 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2250 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2251 * nscd/Makefile (routines, aux): Move definitions after include of
2252 Makeconfig. Conditionalize on [$(use-nscd) != no].
2253 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2254 Conditionalize on [USE_NSCD].
2255 (is_nscd, nscd_init_cb): Likewise.
2256 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2257 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2258 * nss/nss_db/db-init.c: Likewise.
2259 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2260 [USE_NSCD].
2261 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2262 (make_request): Use it.
2263 (cache_valid_p): New function.
2264 (__check_pf): Use it.
2265 * NEWS: Add item for --disable-nscd.
2266
07e51550
DL
22672012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2268
2269 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2270 to support sed >= 4.2.1-20-ga9bf076.
2271 * configure: Regenerated.
2272
35a5b08b
RM
22732012-08-22 Roland McGrath <roland@hack.frob.com>
2274
2275 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2276 Conditionalize whole body on [IREL].
2277
8479f23a
JL
22782012-08-22 Jeff Law <law@redhat.com>
2279
2280 [BZ #14505]
2281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2282 if the family is PF_UNSPEC.
2283
48da0b21
MF
22842012-08-22 Mike Frysinger <vapier@gentoo.org>
2285
2286 * Makerules (lib-version): Rename from V.
2287 (install-lib-nosubdir): Change V to lib-version.
2288
15d0da8c
WS
22892012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2290
2291 [BZ #14252]
2292 * powerpc32/power6/wcschr.c: New file.
2293 * powerpc32/power6/wcscpy.c: New file.
2294 * powerpc32/power6/wcsrchr.c: New file.
2295 * powerpc64/power6/wcschr.c: New file.
2296 * powerpc64/power6/wcscpy.c: New file.
2297 * powerpc64/power6/wcsrchr.c: New file.
2298
bcca0895
MK
22992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2300
2301 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2302 (two_way_short_needle): Use it.
5a4aaa33
RM
2303 * string/strstr.c (AVAILABLE1_USES_J): Define.
2304 * string/strcasestr.c: Likewise.
99677e57
MK
2305
2306 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2307 array references.
2308 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2309
400726de
MK
2310 [BZ #11607]
2311 * NEWS: Add an entry.
2312 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2313 define their defaults.
2314 (two_way_short_needle): Detect end-of-string on-the-fly.
2315 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2316 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2317 * string/bug-strcasestr1.c: New test.
2318 * string/Makefile: Run it.
2319
20a71f2c
MK
23202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2321
2322 [BZ #11607]
2323 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2324 the first character.
2325
21ad0558
RM
23262012-08-21 Roland McGrath <roland@hack.frob.com>
2327
2328 * csu/elf-init.c (__libc_csu_irel): Function removed.
2329 * csu/libc-start.c (apply_irel): New function.
2330 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2331
0e1d9911
JM
23322012-08-21 Joseph Myers <joseph@codesourcery.com>
2333
2334 * sysdeps/unix/sysv/linux/kernel-features.h
2335 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2336 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2337 <kernel-features.h>.
2338 [__NR_fadvise64_64]: Make code unconditional.
2339 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2340 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2341 !__NR_fadvise64_64)]: Likewise.
2342 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2343 !__NR_fadvise64_64))]: Likewise.
2344 [__NR_fadvise64]: Make code unconditional.
2345 [!__NR_fadvise64]: Remove conditional code.
2346 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2347 <kernel-features.h>.
2348 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2349 unconditional.
2350 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2351 conditional code.
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2353 not include <kernel-features.h>.
2354 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2355 unconditional.
2356 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2357 conditional code.
2358 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2359 include <kernel-features.h>.
2360 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2361 unconditional.
2362 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2363 conditional code.
2364
14a50c9d
WS
23652012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2366
2367 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2368 slight instruction rearrangements per scrollpipe analysis.
2369 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2370
c0f4faf0
RM
23712012-08-20 Roland McGrath <roland@hack.frob.com>
2372
696da859
RM
2373 * manual/syslog.texi (syslog; vsyslog, closelog):
2374 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2375 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2376
c0f4faf0
RM
2377 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2378 DSOCAPS to match condition on defining it.
2379
348363b2
JM
23802012-08-20 Joseph Myers <joseph@codesourcery.com>
2381
a35cbf28
JM
2382 * sysdeps/unix/sysv/linux/kernel-features.h
2383 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2385 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2386 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2388 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2389 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2391 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2392 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2393
445f7ecd
JM
2394 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2395 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2396
348363b2
JM
2397 * sysdeps/unix/sysv/linux/kernel-features.h
2398 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2399 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2400 unconditional.
2401 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2402 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2403 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2404 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2405 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2406 Make code unconditional.
2407 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2408 (__mmap64) [!__NR_mmap2]: Likewise.
2409 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2410 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2411 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2412 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2413 [__NR_mmap2]: Make code unconditional.
2414 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2415 (__mmap64) [!__NR_mmap2]: Likewise.
2416
bc5bc0e5
AK
24172012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2418
2419 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2420
88d506de
AJ
24212012-08-18 Andreas Jaeger <aj@suse.de>
2422
2423 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2424
493387d2
MF
24252012-08-18 Mike Frysinger <vapier@gentoo.org>
2426
2427 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2428 * include/unistd.h (__have_sock_cloexec): Likewise.
2429 (__have_pipe2): Likewise.
2430 (__have_dup3): Likewise.
2431
a277af22
MF
24322012-08-18 Mike Frysinger <vapier@gentoo.org>
2433
2434 [BZ #9685]
2435 * include/unistd.h (__have_pipe2): Change define into an extern int.
2436 (__have_dup3): Likewise.
2437 * socket/have_sock_cloexec.c: Include fcntl.h.
2438 (__have_pipe2): New variable.
2439 (__have_dup3): Likewise.
2440
fdab8fd3
MF
24412012-08-17 Mike Frysinger <vapier@gentoo.org>
2442
2443 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2444
31035e80
MP
24452012-08-17 Marek Polacek <polacek@redhat.com>
2446
2447 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2448 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2449
3bd9e993
RM
24502012-08-17 Roland McGrath <roland@hack.frob.com>
2451
c91c505f
RM
2452 * configure.in: Add AC_SUBST for sysheaders.
2453 * configure: Regenerated.
2454 * config.make.in (sysheaders): New substituted variable.
2455
7c6f9d53
RM
2456 * sysdeps/unix/mkfifo.c: Moved ...
2457 * sysdeps/posix/mkfifo.c: ... here.
2458 * sysdeps/unix/mkfifoat.c: Moved ...
2459 * sysdeps/posix/mkfifoat.c: ... here.
2460
2461 * sysdeps/unix/utime.c: Moved ...
2462 * sysdeps/posix/utime.c: ... here.
2463
2464 * sysdeps/unix/time.c: Moved ...
2465 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2466 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2467 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2468
2469 * sysdeps/unix/nice.c: Moved ...
2470 * sysdeps/posix/nice.c: ... here.
2471
2472 * sysdeps/unix/alarm.c: Moved ...
2473 * sysdeps/posix/alarm.c: ... here.
2474
3bd9e993
RM
2475 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2476
d1f09384
JL
24772012-08-17 Jeff Law <law@redhat.com>
2478
2479 * intl/Makefile (codeset_mo): New variable.
2480 ($(codeset_mo)): New target.
2481 (tst-codeset.out): Depend on that. Remove explicit rule.
2482 (tst-gettext3.out, tst-gettext5.out): Likewise.
2483 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2484 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2485 * intl/tst-codeset.sh: Remove.
2486 * intl/tst-gettext3.sh: Likewise.
2487 * intl/tst-gettext5.sh: Likewise.
2488
2ae1ae5c
RM
24892012-08-17 Roland McGrath <roland@hack.frob.com>
2490
c31fdb83
RM
2491 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2492 * sysdeps/unix/syscalls.list: ... here.
2493
a0844057
RM
2494 * sysdeps/posix/getaddrinfo.c
2495 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2496 (gaiconf_init, gaiconf_reload): Use them.
2497 [!_STATBUF_ST_NSEC]
2498 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2499 Define using time_t rather than struct timespec.
2500
750c1f2a
RM
2501 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2502 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2503 Macros removed.
2504 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2505 [!NO_THREADS].
2506 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2507 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2508 Likewise.
2509
2ae1ae5c
RM
2510 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2511 __libc_cleanup_push argument.
2512
e66a42f5
RM
2513 * bits/param.h: New file.
2514 * misc/sys/param.h: New file.
2515 * include/sys/param.h: New file.
2516 * misc/Makefile (headers): Add bits/param.h.
2517 * sysdeps/generic/sys/param.h: File removed.
2518 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2519 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2520 * sysdeps/mach/hurd/bits/param.h: New file.
2521 * sysdeps/mach/hurd/sys/param.h: New file.
2522
b7c08a66
RM
2523 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2524 last change.
2525
b2e1c562
RM
2526 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2527 [_IO_MTSAFE_IO].
2528 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2529 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2530 New macros.
2531
c75ccd4c
RM
2532 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2533 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2534 rather than -D_IO_MTSAFE_IO conditionally.
2535 * stdio-common/Makefile (CPPFLAGS): Likewise.
2536 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2537 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2538 Use $(libio-mtsafe).
2539 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2540 of -D_IO_MTSAFE_IO.
2541 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2542 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2543 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2544 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2545 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2546 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2547 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2548 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2549 (CFLAGS-fread_u_chk.c): Likewise.
2550 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2551 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2552 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2553 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2554 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2555 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2556 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2557 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2558 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2559
2560 * libio/Makefile: Test [$(libc-reentrant) = yes]
2561 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2562
2563 * Makeconfig
2564 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2565 * sysdeps/pthread/configure: File removed.
2566 * sysdeps/pthread/Makeconfig: New file.
2567 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2568 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2569
d9195db8
GB
25702012-08-16 Gary Benson <gbenson@redhat.com>
2571
2572 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2573 unmapping the first object in a namespace.
2574
86466cd9
RM
25752012-08-16 Roland McGrath <roland@hack.frob.com>
2576
2577 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2578 (__internal_setnetgrent): ... this. Add internal_function to
2579 definition. Add libc_hidden_def.
2580 (setnetgrent): Update caller.
2581 (internal_endnetgrent): Renamed to ...
2582 (__internal_endnetgrent): ... this. Add internal_function to
2583 definition. Add libc_hidden_def.
2584 (endnetgrent): Update caller.
2585 (internal_getnetgrent_r): Renamed to ...
2586 (__internal_getnetgrent_r): ... this. Add internal_function to
2587 definition. Add libc_hidden_def.
2588 (__getnetgrent_r): Update caller.
2589 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2590
c3c8283c
JM
25912012-08-16 Joseph Myers <joseph@codesourcery.com>
2592
2593 * stdlib/longlong.h: Update from GCC.
2594
db1ee0a8
RM
25952012-08-16 Roland McGrath <roland@hack.frob.com>
2596
2597 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2598 on _QL, which is set by umul_ppmm but never used.
2599 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2600 variables, which are set by GMP macros but never used.
2601 * stdio-common/_itowa.c (_itowa): Likewise.
2602 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2603 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2604
30f69637
CD
26052012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2606
2607 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2608 struct La_sh_regs is not constant.
2609 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2610 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2611 and struct La_sparc64_regs are not constant.
2612
93a78ac4
JM
26132012-08-16 Joseph Myers <joseph@codesourcery.com>
2614
2615 * sysdeps/unix/sysv/linux/kernel-features.h
2616 (__ASSUME_POSIX_TIMERS): Remove.
2617 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2618 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2619 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2620 Make code unconditional.
2621 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2622 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2623 Make code unconditional.
2624 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2625 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2626 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2627 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2628 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2629 Make code unconditional.
2630 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2631 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2632 (__libc_missing_posix_timers): Remove.
2633
dd924cd7
RM
26342012-08-15 Roland McGrath <roland@hack.frob.com>
2635
4b4f2771
RM
2636 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2637 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2638
601c888b
RM
2639 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2640
176790a7
RM
2641 * elf/dl-sym.c: Include <stdlib.h>.
2642
329bc018
RM
2643 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2644 constants, which avoids warnings in 32-bit builds.
2645
e04e272d
RM
2646 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2647 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2648
952bf94a
RM
2649 * misc/lseek.c: File moved to ...
2650 * io/lseek.c: ... here.
2651
7c99b50a
RM
2652 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2653
dd924cd7
RM
2654 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2655 shifting LEN more than 31 bits at once.
2656
b3f479a8
LD
26572012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2658
2659 [BZ #14195]
8c4ae0d4
RM
2660 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2661 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2662 * string/test-strncasecmp.c (check1): Renamed to...
2663 (bz12205): ...this.
2664 (bz14195): Add new testcase for two empty input strings and N > 0.
2665 (test_main): Call new testcase, adapt for renamed function.
2666
9c55864e
AJ
26672012-08-15 Andreas Jaeger <aj@suse.de>
2668
2669 [BZ #14090]
2670 * crypt/md5test2.c: New test, based on test supplied by Serge
2671 Belyshev <belyshev@depni.sinp.msu.ru>.
2672 * crypt/Makefile (xtests): Add md5test-giant..
2673 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2674
02dcb6c5
PE
26752012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2676
2677 [BZ #14090]
2678 * crypt/md5.c (md5_process_block): Don't assume the buffer
2679 length is less than 2**32.
2680 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2681 length is less than 2**64.
2682
a3f95dcc
RM
26832012-08-15 Roland McGrath <roland@hack.frob.com>
2684
be75d758
RM
2685 * string/str-two-way.h: Include <sys/param.h>.
2686 (MAX): Macro removed.
2687
7312ca90
RM
2688 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2689 Move #define and #undef of memmove to just before and after
2690 including <string.h>.
2691
9a0a5486
RM
2692 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2693 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2694 and after including <string.h>. Move declarations of
2695 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2696 to before #include "string/memmove.c".
2697
67cc348d
RM
2698 * include/dirent.h: Declare __getdirentries.
2699
a3f95dcc
RM
2700 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2701 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2702
ca98e171
MF
27032012-08-14 Mike Frysinger <vapier@gentoo.org>
2704
2705 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2706 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2707 * sysdeps/i386/configure: Regenerated.
2708 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2709 STABS_CURRENT_FILE, and STABS_FUN.
2710 (END): Remove call to STABS_FUN_END.
2711 (STABS_CURRENT_FILE1): Delete.
2712 (STABS_CURRENT_FILE): Likewise.
2713 (STABS_FUN): Likewise.
2714 (STABS_FUN_END): Likewise.
2715 (STABS_FUN2): Likewise.
2716 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2717 * sysdeps/x86_64/configure: Regenerated.
2718
5908bf46
RM
27192012-08-14 Roland McGrath <roland@hack.frob.com>
2720
2721 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2722 * elf/dl-lookup.c: Likewise.
5908bf46 2723
f2c05b9e
JM
27242012-08-14 Joseph Myers <joseph@codesourcery.com>
2725
2726 * sysdeps/unix/sysv/linux/kernel-features.h
2727 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2728 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2729 unconditionally.
2730 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2731 unconditionally.
2732 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2733 condition on __ASSUME_CLONE_THREAD_FLAGS.
2734
e11f5155
AJ
27352012-08-14 Andreas Jaeger <aj@suse.de>
2736
2737 * sysdeps/i386/fpu/libm-test-ulps: Update.
2738
51a9ba86
MK
27392012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2740
2fdd4f78
AJ
2741 * include/atomic.h (atomic_exchange_and_add): Split into ...
2742 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2743 New atomic macros.
51a9ba86 2744
ba6cba9e
MT
27452012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2746
2747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2748
42443a47
JL
27492012-08-13 Jeff Law <law@redhat.com>
2750
2751 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2752 null byte in the output string.
2753
121dce05
JM
27542012-08-10 Joseph Myers <joseph@codesourcery.com>
2755
2756 * sysdeps/unix/sysv/linux/kernel-features.h
2757 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2758 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2759 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2760 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2761 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2762 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2763 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2764
bf51f568
JL
27652012-08-09 Jeff Law <law@redhat.com>
2766
2767 [BZ #13939]
2768 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2769 When avoid_arena is set, don't retry in the that arena. Pick the
2770 next one, whatever it might be.
2771 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2772 (arena_lock): Pass in new parameter to arena_get2.
2773 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2774 arena_get2.
2775 (__libc_malloc): Unify retrying after main arena failure with
2776 __libc_memalign version.
2777 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2778
f85fa270
L
27792012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2780
2781 [BZ #14166]
2782 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2783 to __redirect_strstr.
2784 (__strstr_sse42): Use typeof __redirect_strstr.
2785 (__strstr_ia32): Likewise.
2786 (__libc_strstr): New prototype.
2787 (strstr): Renamed to ...
2788 (__libc_strstr): This.
2789 (strstr): New strong alias of __libc_strstr.
2790 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2791 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2792 __redirect_time.
2793 Include <time.h>.
2794 (__libc_time): New prototype.
2795 (time_ifunc): Replace time with __libc_time.
2796 (time): New strong alias and hidden definition of __libc_time.
2797 (__GI_time): Remove strong alias.
2798 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2799 Include <stddef.h>.
2800 (memmove): Redefined to __redirect_memmove.
2801 (__memmove_sse2): Use typeof __redirect_memmove.
2802 (__memmove_ssse3): Likewise.
2803 (__memmove_ssse3_back): Likewise.
2804 (__libc_memmove): New prototype.
2805 (memmove): Renamed to ...
2806 (__libc_memmove): This.
2807 (memmove): New strong alias of __libc_memmove.
2808
33b4a91e
MS
28092012-08-08 Mark Salter <msalter@redhat.com>
2810
2811 * elf/elf.h
2812 (R_MN10300_TLS_GD): Define.
2813 (R_MN10300_TLS_LD): Likewise.
2814 (R_MN10300_TLS_LDO): Likewise.
2815 (R_MN10300_TLS_GOTIE): Likewise.
2816 (R_MN10300_TLS_IE): Likewise.
2817 (R_MN10300_TLS_LE): Likewise.
2818 (R_MN10300_TLS_DTPMOD): Likewise.
2819 (R_MN10300_TLS_DTPOFF): Likewise.
2820 (R_MN10300_TLS_TPOFF): Likewise.
2821 (R_MN10300_SYM_DIFF): Likewise.
2822 (R_MN10300_ALIGN): Likewise.
2823 (R_MN10300_NUM): Update.
2824
b36137f1
JM
28252012-08-08 Joseph Myers <joseph@codesourcery.com>
2826
2827 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2828 Remove.
2829
cdd915fd
RM
28302012-08-08 Roland McGrath <roland@hack.frob.com>
2831
a2433aac
RM
2832 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2833
cdd915fd
RM
2834 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2835 sysdeps/unix -> sysdeps/posix move.
2836 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2837
bf9b740a
AM
28382012-08-07 Allan McRae <allan@archlinux.org>
2839
2840 [BZ #14303]
2841 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2842 (SUNOS_CPP): Likewise.
2843 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2844 not found.
2845 (open_input): Call CPP using execvp.
2846
93df14ee
JM
28472012-08-07 Joseph Myers <joseph@codesourcery.com>
2848
2849 * sysdeps/unix/sysv/linux/kernel-features.h
2850 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2851 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2852 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2853 (__ASSUME_WAITID_SYSCALL): Likewise.
2854 * sysdeps/unix/sysv/linux/dl-execstack.c
2855 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2856 code unconditional.
2857 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2858 conditional code.
2859 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2860 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2861 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2862 code.
2863 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2864 unconditional.
2865 [__ASSUME_WAITID_SYSCALL]: Likewise.
2866 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2867
d34689de
RM
28682012-08-07 Roland McGrath <roland@hack.frob.com>
2869
a281decc
RM
2870 * sysdeps/unix/closedir.c: Renamed to ...
2871 * sysdeps/posix/closedir.c: ... here.
2872 * sysdeps/unix/dirfd.c: Renamed to ...
2873 * sysdeps/posix/dirfd.c: ... here.
2874 * sysdeps/unix/dirstream.h: Renamed to ...
2875 * sysdeps/posix/dirstream.h: ... here.
2876 * sysdeps/unix/fdopendir.c: Renamed to ...
2877 * sysdeps/posix/fdopendir.c: ... here.
2878 * sysdeps/unix/opendir.c: Renamed to ...
2879 * sysdeps/posix/opendir.c: ... here.
2880 * sysdeps/unix/readdir.c: Renamed to ...
2881 * sysdeps/posix/readdir.c: ... here.
2882 * sysdeps/unix/readdir_r.c: Renamed to ...
2883 * sysdeps/posix/readdir_r.c: ... here.
2884 * sysdeps/unix/rewinddir.c: Renamed to ...
2885 * sysdeps/posix/rewinddir.c: ... here.
2886 * sysdeps/unix/seekdir.c: Renamed to ...
2887 * sysdeps/posix/seekdir.c: ... here.
2888 * sysdeps/unix/telldir.c: Renamed to ...
2889 * sysdeps/posix/telldir.c: ... here.
2890 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2891 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2892 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2893 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2894
22895b47
RM
2895 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2896 * bits/fcntl.h: ... here.
2897
707a53b6
RM
2898 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2899 not 0.
2900 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2901 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2902 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2903 (struct flock): Move l_start, l_len to the beginning.
2904 Use __pid_t for l_pid.
2905 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2906 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2907 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2908 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2909 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2910 [__USE_LARGEFILE64] (struct flock64): New type.
2911 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2912
f0bd3e25
RM
2913 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2914 * bits/dirent.h: ... here.
2915
d34689de
RM
2916 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2917 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2918
6dad2c06
JM
29192012-08-07 Joseph Myers <joseph@codesourcery.com>
2920
2921 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2922 Change from 2.6.0 to 2.6.16.
2923 * sysdeps/unix/sysv/linux/configure: Regenerated.
2924 * sysdeps/unix/sysv/linux/kernel-features.h
2925 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2926 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2927 version.
2928 (__ASSUME_UTIMES): Likewise.
2929 (__ASSUME_CLONE_STOPPED): Remove.
2930 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2931 architectures, not kernel version.
2932 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2933 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2934 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2935 (__ASSUME_WAITID_SYSCALL): Likewise.
2936 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2937 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2938 * README: State 2.6.16 as minimum Linux kernel version. Do not
2939 refer to older versions.
2940
03af9520
RM
29412012-08-06 Roland McGrath <roland@hack.frob.com>
2942
8e49df1d
RM
2943 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2944 Define alphasort64 as an alias.
2945 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2946 Define versionsort64 as an alias.
2947 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2948 Define scandir64 as an alias.
2949 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2950 Define scandirat64 as an alias.
2951 * dirent/alphasort64.c (alphasort64):
2952 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2953 * dirent/versionsort64.c: Likewise.
2954 * dirent/scandir64.c: Likewise.
2955 * dirent/scandirat64.c: Likewise.
2956 * sysdeps/wordsize-64/alphasort.c: File removed.
2957 * sysdeps/wordsize-64/alphasort64.c: File removed.
2958 * sysdeps/wordsize-64/scandir.c: File removed.
2959 * sysdeps/wordsize-64/scandir64.c: File removed.
2960 * sysdeps/wordsize-64/scandirat.c: File removed.
2961 * sysdeps/wordsize-64/scandirat64.c: File removed.
2962 * sysdeps/wordsize-64/versionsort.c: File removed.
2963 * sysdeps/wordsize-64/versionsort64.c: File removed.
2964 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2965 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2966 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2967 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2968 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2969 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2970 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2971 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2972
2973 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2974 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2975 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2976 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2977 [defined __arch64__ || defined __sparcv9]
2978 (__INO_T_MATCHES_INO64_T): New macro.
2979 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2980 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2981 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2982 * sysdeps/unix/sysv/linux/bits/dirent.h
2983 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2984 (_DIRENT_MATCHES_DIRENT64): New macro.
2985
03af9520
RM
2986 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2987 Define lockf64 as an alias.
2988 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2989 Define fseeko64 as an alias.
2990 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2991 Define ftello64 as an alias.
2992 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2993 Define _IO_fgetpos64 and fgetpos64 as aliases.
2994 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2995 Define _IO_fsetpos64 and fsetpos64 as aliases.
2996 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2997 Conditionalize body on this.
2998 * libio/fseeko64.c: Likewise.
2999 * libio/ftello64.c: Likewise.
3000 * libio/iofgetpos64.c: Likewise.
3001 * libio/iofsetpos64.c: Likewise.
3002 * sysdeps/wordsize-64/lockf.c: File removed.
3003 * sysdeps/wordsize-64/lockf64.c: File removed.
3004 * sysdeps/wordsize-64/fseeko.c: File removed.
3005 * sysdeps/wordsize-64/fseeko64.c: File removed.
3006 * sysdeps/wordsize-64/ftello.c: File removed.
3007 * sysdeps/wordsize-64/ftello64.c: File removed.
3008 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3009 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3010 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3011 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3012 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3013 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3014 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3015 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3016 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3017 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3018 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3019 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3020 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3021 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3022
3023 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3025 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3026 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3027 [defined __arch64__ || defined __sparcv9]
3028 (__OFF_T_MATCHES_OFF64_T): New macro.
3029 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3030 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3031 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3032 (__OFF_T_MATCHES_OFF64_T): New macro.
3033
c5757acd
L
30342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3035
3036 * stdlib/secure-getenv.c (__secure_getenv): Replace
3037 GLIBC_2_16 with GLIBC_2_17.
3038
3a31811e
L
30392012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3040
3041 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3042 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3043
faa2bccb
DM
30442012-08-03 David S. Miller <davem@davemloft.net>
3045
3046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3047
85fe1997
JM
30482012-08-03 Joseph Myers <joseph@codesourcery.com>
3049
3050 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3051 Remove.
3052 (__ASSUME_CORRECT_SI_PID): Likewise.
3053 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3054 (__ASSUME_TMPFS_NAME): Likewise.
3055 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3056 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3057 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3058 (HAVE_AUX_SECURE): Make definition unconditional.
3059 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3060 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3061
4f75b7a0
RM
30622012-08-03 Roland McGrath <roland@hack.frob.com>
3063
3064 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3065 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3066 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3067 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3068 __eloop_threshold instead of SYMLOOP_MAX.
3069
3070 * sysdeps/generic/eloop-threshold.h: New file.
3071 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3072 of MAXSYMLINKS.
3073 * elf/chroot_canon.c (chroot_canon): Likewise.
3074
7aab07e4
JM
30752012-08-03 Joseph Myers <joseph@codesourcery.com>
3076
3077 [BZ #13717]
3078 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3079 Change to 2.6.0 everywhere.
3080 * sysdeps/unix/sysv/linux/configure: Regenerated.
3081 * sysdeps/unix/sysv/linux/kernel-features.h
3082 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3083 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3084 kernel versions.
3085 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3086 (__ASSUME_FUTEX_REQUEUE): Remove.
3087 (__ASSUME_STATFS64): Define unconditionally.
3088 (__ASSUME_AT_SECURE): Likewise.
3089 (__ASSUME_CORRECT_SI_PID): Likewise.
3090 (__ASSUME_TGKILL): Define without depending on kernel version for
3091 i386.
3092 (__ASSUME_UTIMES): Likewise.
3093 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3094 kernel version.
3095 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3096 (__ASSUME_TMPFS_NAME): Likewise.
3097 * README: Update reference to Linux kernel versions.
3098
b67e9372
MP
30992012-08-02 Marek Polacek <polacek@redhat.com>
3100
1f529f7d 3101 [BZ# 14150]
b67e9372
MP
3102 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3103 libc_cv_asm_type_prefix with %.
3104 * configure: Regenerated.
d2441631
RM
3105 * include/libc-symbols.h: Remove comment about
3106 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
3107 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3108 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3109 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3110 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3111 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3112 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3113 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3114 * elf/tst-unique2mod1.c: Likewise.
3115 * elf/tst-unique1mod2.c: Likewise.
3116 * elf/tst-unique1mod1.c: Likewise.
3117 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3118 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3119 Replace ASM_TYPE_DIRECTIVE with .type.
3120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3121 * sysdeps/i386/sysdep.h: Likewise.
3122 * sysdeps/x86_64/sysdep.h: Likewise.
3123 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
3124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3125 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 3126 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
3127 * sysdeps/powerpc/powerpc32/sysdep.h:
3128 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
3129 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3130 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3131 * sysdeps/i386/fpu/e_powf.S: Likewise.
3132 * sysdeps/i386/fpu/e_expl.S: Likewise.
3133 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3134 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3135 * sysdeps/i386/fpu/e_pow.S: Likewise.
3136 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3137 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3138 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3139 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3140 * sysdeps/i386/fpu/e_log2.S: Likewise.
3141 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3142 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3143 * sysdeps/i386/fpu/e_powl.S: Likewise.
3144 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3145 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3146 * sysdeps/i386/fpu/e_logl.S: Likewise.
3147 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3148 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3149 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3150 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3151 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3152 * sysdeps/i386/fpu/e_log.S: Likewise.
3153 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3154 * sysdeps/i386/fpu/e_logf.S: Likewise.
3155 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3156 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3157 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3158 * sysdeps/i386/fpu/e_log10.S: Likewise.
3159 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3160 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3161 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3162 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3163 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3164 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3165 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3166 * sysdeps/i386/i686/strtok.S: Likewise.
3167 * sysdeps/i386/i386-mcount.S: Likewise.
3168 * sysdeps/i386/strtok.S: Likewise.
3169 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3170 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3171 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3172 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3173 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3174 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3175 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3176 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3177 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3178 * sysdeps/x86_64/_mcount.S: Likewise.
3179 * sysdeps/x86_64/strtok.S: Likewise.
3180 * sysdeps/sh/_mcount.S: Likewise.
3181
2747bf9a
RM
31822012-08-01 Roland McGrath <roland@hack.frob.com>
3183
3184 * libio/iofopen.c: Include <fcntl.h>.
3185 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3186 (_IO_fopen64, fopen64): Define as aliases.
3187 * libio/iofopen64.c: Include <fcntl.h>.
3188 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3189 Conditionalize body on this.
3190 * sysdeps/wordsize-64/iofopen.c: File removed.
3191 * sysdeps/wordsize-64/iofopen64.c: File removed.
3192
3fb791b8
MP
31932012-08-01 Marek Polacek <polacek@redhat.com>
3194
3195 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3196 Use dlfcn directly instead of a variable.
3197 (binfmt-subdir): Do not define.
3198 (dlfcn): Likewise.
3199
a9f1039f
JM
32002012-08-01 Joseph Myers <joseph@codesourcery.com>
3201
23bddc06
JM
3202 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3203 Remove all definitions.
3204 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3205 <kernel-features.h>.
3206 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3207 (miss_F_GETOWN_EX): Remove all definitions.
3208 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3209 macro definition.
3210 [!__ASSUME_FCNTL64]: Remove conditional code.
3211 [__ASSUME_FCNTL64]: Make code unconditional.
3212 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3213 <kernel-features.h>.
3214 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3215 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3216 (lockf64) [__NR_fcntl64]: Make code unconditional.
3217 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3218
a9f1039f
JM
3219 * sysdeps/unix/sysv/linux/kernel-features.h
3220 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3221 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3222 Make code unconditional.
3223 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3224 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3226 [__NR_vfork]: Make code unconditional.
3227 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3228 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3230 [__NR_vfork]: Make code unconditional.
3231 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3232 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3233
09c0ee5f
RM
32342012-08-01 Roland McGrath <roland@hack.frob.com>
3235
48aec5b9
RM
3236 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3237 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3238
cd97c966
RM
3239 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3240 Define mkstemp64 as an alias.
3f55550c
RM
3241 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3242 Define mkstemps64 as an alias.
cd97c966
RM
3243 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3244 Define mkostemp64 as an alias.
b8625cfc
RM
3245 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3246 Define mkostemps64 as an alias.
cd97c966
RM
3247 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3248 Conditionalize body on this.
3249 * misc/mkostemp64.c: Likewise.
b8625cfc 3250 * misc/mkostemps64.c: Likewise.
3f55550c 3251 * misc/mkstemps64.c: Likewise.
cd97c966
RM
3252 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3253 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3254 * sysdeps/wordsize-64/mkostemp.c: File removed.
3255 * sysdeps/wordsize-64/mkstemp.c: File removed.
3256 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3257 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3258 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3259 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3260
09c0ee5f
RM
3261 [BZ #14138]
3262 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3263 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3264 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3265 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3266
3267 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3268 compat_symbol macros from <shlib-compat.h> rather than the underlying
3269 default_symbol_version and symbol_version macros, so that DEFAULT
3270 lines in shlib-versions are respected.
3271 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3272
7e66ee51
FW
32732012-08-01 Florian Weimer <fweimer@redhat.com>
3274
3275 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3276 Declare with warn_unused_result.
3277 (setgid, setregid, setegid, setresgid): Likewise.
3278 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3279 Likewise.
3280 * WUR-REPORT: Remove set*id functions.
3281
d2a54255
PT
32822012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3283
3284 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3285
7ecdb005
RM
32862012-07-31 Roland McGrath <roland@hack.frob.com>
3287
789bd351
RM
3288 * include/sys/socket.h (__libc_accept, __libc_accept4):
3289 Add attribute_hidden.
3290 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3291
40ce302d
RM
3292 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3293 use of PTR_MANGLE.
3294 * inet/getnetgrent_r.c (setup): Likewise.
3295
7ecdb005
RM
3296 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3297
e2eabb2c
DM
32982012-07-31 David S. Miller <davem@davemloft.net>
3299
3300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3301
d0419dbf
JM
33022012-07-31 Joseph Myers <joseph@codesourcery.com>
3303
3304 [BZ #13629]
3305 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3306 value between 1.0 and 2.0 and smaller part has absolute value less
3307 than 1.0.
3308 * math/s_clog10.c (__clog10): Likewise.
3309 * math/s_clog10f.c (__clog10f): Likewise.
3310 * math/s_clog10l.c (__clog10l): Likewise.
3311 * math/s_clogf.c (__clogf): Likewise.
3312 * math/s_clogl.c (__clogl): Likewise.
3313 * math/libm-test.inc (clog_test): Add more tests.
3314 (clog10_test): Likewise.
3315 * sysdeps/i386/fpu/libm-test-ulps: Update.
3316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3317
2bc13872
FW
33182012-07-31 Florian Weimer <fweimer@redhat.com>
3319
3320 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3321 Exit with zero in case no suitable GID is found, and write a
3322 message to standard error.
3323
bea9b193
RM
33242012-07-30 Roland McGrath <roland@hack.frob.com>
3325
3326 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3327 rather than to 1.
3328 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3329 (MAXPATHLEN): Removed.
3330 (NOGROUP, NODEV): New macros.
3331 (setbit, clrbit, isset, isclr): New macros.
3332 (howmany, roundup, powerof2): New macros.
3333 (DEV_BSIZE): New macro.
3334
3335 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3336 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3337
3338 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3339 definition on [!__NO_LONG_DOUBLE_MATH].
3340
3341 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3342 PTR_MANGLE and PTR_DEMANGLE.
3343
3344 * socket/accept4.c (accept4): Rename to __libc_accept4.
3345 Define accept4 as a weak alias.
3346
3347 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3348 on [_DIRENT_HAVE_D_TYPE].
3349 * io/ftw.c (ftw_dir): Likewise.
3350
3351 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3352
3353 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3354
3355 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3356 Use the BSD numbers rather than the arbitrary ones we had.
3357 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3358 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3359 (SIGXCPU, SIGXFSZ): New macros.
3360 (_NSIG): Now 32.
3361
3362 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3363 initializer on [_LIBC_REENTRANT].
3364
3365 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3366 definitions inside [_POSIX_MAPPED_FILES].
3367
3368 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3369
3370 * dirent/opendir.c: Include <fcntl.h>.
3371
3372 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3373 (__libc_getspecific): Likewise.
3374 (__libc_key_create): Likewise.
3375
3376 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3377 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3378 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3379 (tmpfile64): Define as alias.
3380 * sysdeps/wordsize-64/tmpfile.c: File removed.
3381 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3382 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3383 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3384
3385 * stdio-common/vfscanf.c: Include <stdbool.h>.
3386 * nss/makedb.c: Likewise.
3387 * stdio-common/_i18n_number.h: Likewise.
3388 * argp/argp-help.c: Likewise.
3389 * posix/wordexp.c: Likewise.
3390 * sysdeps/posix/spawni.c: Likewise.
3391 * nss/nss_files/files-initgroups.c: Likewise.
3392 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3393 * nss/nss_files/files-initgroups.c: Likewise.
3394 * nss/nss_db/db-netgrp.c: Likewise.
3395 * nss/nss_db/db-initgroups.c: Likewise.
3396 * io/fchmodat.c: Include <sys/stat.h>.
3397
3398 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3399 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3400
3401 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3402 [HAVE_MMAP].
3403
3404 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3405 Add multiple inclusion protection.
3406
e5abc686
DM
34072012-07-27 David S. Miller <davem@davemloft.net>
3408
3409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3410
815e6fa3
GB
34112012-07-27 Gary Benson <gbenson@redhat.com>
3412
3413 [BZ #14298]
3414 * elf/rtld.c: Include <stap-probe.h>.
3415 (dl_main): Added static probes "init_start" and "init_complete".
3416 * elf/dl-load.c: Include <stap-probe.h>.
3417 (lose): Take new parameter "nsid".
3418 Added static probe "map_failed".
3419 (_dl_map_object_from_fd): Pass namespace id to lose.
3420 Added static probe "map_start".
3421 (open_verify): Pass namespace id to lose.
3422 * elf/dl-open.c: Include <stap-probe.h>.
3423 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3424 and "reloc_complete".
3425 * elf/dl-close.c: Include <stap-probe.h>.
3426 (_dl_close_worker): Added static probes "unmap_start" and
3427 "unmap_complete".
3428 * elf/rtld-debugger-interface.txt: New file documenting the above.
3429
9f98c16c
RM
34302012-07-26 Roland McGrath <roland@hack.frob.com>
3431
3432 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3433 rather than a string variable.
3434 * sunrpc/rpc_main.c (h_output): Likewise.
3435 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3436
f3c22df3
PT
34372012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3438
3439 * inet/check_native.c: New file.
3440
3129cfc6
JM
34412012-07-26 Joseph Myers <joseph@codesourcery.com>
3442
da865e95
JM
3443 [BZ #13629]
3444 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3445 if larger part has absolute value 1.0.
3446 * math/s_clog10.c (__clog10): Likewise.
3447 * math/s_clog10f.c (__clog10f): Likewise.
3448 * math/s_clog10l.c (__clog10l): Likewise.
3449 * math/s_clogf.c (__clogf): Likewise.
3450 * math/s_clogl.c (__clogl): Likewise.
3451 * math/libm-test.inc (clog_test): Add more tests.
3452 (clog10_test): Likewise.
3453 * sysdeps/i386/fpu/libm-test-ulps: Update.
3454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3455
3129cfc6
JM
3456 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3457 (pltexit): Likewise.
3458 (La_regs): Likewise.
3459 (La_retval): Likewise.
3460 (int_retval): Likewise.
3461 Update #error for removed macros to refer only to definitions in
3462 tst-audit.h.
3463 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3464 macro.
3465 (pltexit): Likewise.
3466 (La_regs): Likewise.
3467 (La_retval): Likewise.
3468 (int_retval): Likewise.
3469 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3470 macro.
3471 (pltexit): Likewise.
3472 (La_regs): Likewise.
3473 (La_retval): Likewise.
3474 (int_retval): Likewise.
3475 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3476 macro.
3477 (pltexit): Likewise.
3478 (La_regs): Likewise.
3479 (La_retval): Likewise.
3480 (int_retval): Likewise.
3481 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3482 macro.
3483 (pltexit): Likewise.
3484 (La_regs): Likewise.
3485 (La_retval): Likewise.
3486 (int_retval): Likewise.
3487 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3488 macro.
3489 (pltexit): Likewise.
3490 (La_regs): Likewise.
3491 (La_retval): Likewise.
3492 (int_retval): Likewise.
3493 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3494 macro.
3495 (pltexit): Likewise.
3496 (La_regs): Likewise.
3497 (La_retval): Likewise.
3498 (int_retval): Likewise.
3499 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3500 macro definitions in tst-audit.h.
3501 * sysdeps/i386/tst-audit.h: New file.
3502 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3503 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3504 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3505 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3506 * sysdeps/sh/tst-audit.h: Likewise.
3507 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3508 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3509 * sysdeps/x86_64/tst-audit.h: Likewise.
3510
bfc07087
AJ
35112012-07-26 Andreas Jaeger <aj@suse.de>
3512
b1b2aaf8
AJ
3513 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3514 ptrace.
3515
3516 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3517 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3518 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3519 PTRACE_O_MASK.
3520 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3521 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3522 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3523
bfc07087
AJ
3524 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3525 value.
3526
3527 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3528 _sigsys.
3529 (si_call_addr, si_syscall, si_arch): Define new macro.
3530 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3531 _sigsys.
3532 (si_call_addr, si_syscall, si_arch): Define new marcro.
3533 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3534 _sigsys.
3535 (si_call_addr, si_syscall, si_arch): Define new macro.
3536 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3537 _sigsys.
3538 (si_call_addr, si_syscall, si_arch): Define new macro.
3539
89b4b02f
JM
35402012-07-25 Joseph Myers <joseph@codesourcery.com>
3541
3542 [BZ #13717]
3543 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3544 Change to 2.4.21 where previously 2.4.1.
3545 * sysdeps/unix/sysv/linux/configure: Regenerated.
3546 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3547 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3548 Linux kernel version.
3549 (__ASSUME_STD_AUXV): Remove.
3550 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3551 kernel version.
3552 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3553 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3554 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3555 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3556 (__ASSUME_NETLINK_SUPPORT): Likewise.
3557 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3558 (__no_netlink_support): Remove conditional definition.
3559 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3560 Remove.
3561 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3562 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3563 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3564 (if_nameindex_ioctl): Remove.
3565 (if_nameindex_netlink): Do not handle __no_netlink_support.
3566 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3567 code.
3568 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3569 Remove conditional code.
3570 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3571 code.
3572 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3573 unconditional.
3574 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3575 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3576 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3577 Remove.
3578 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3579 [!__ASSUME_STD_AUXV]: Remove conditional code.
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3581 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3582 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3584 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3585 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3586 code.
3587 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3589 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3590 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3591 conditional code.
3592 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3594 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3595 code.
3596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3597 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3598 conditional code.
3599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3600 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3601 code unconditional.
3602 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3603 conditional code.
3604 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3605 unconditional.
3606 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3607 conditional code.
3608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3609 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3610 unconditional.
3611 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3612 conditional code.
3613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3614 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3615 code unconditional.
3616 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3617 conditional code.
3618 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3619 unconditional.
3620 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3621 conditional code.
3622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3623 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3624 code unconditional.
3625 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3626 conditional code.
3627 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3628 unconditional.
3629 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3630 conditional code.
3631
842a39cd
AS
36322012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3633
3634 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3635 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3636 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3637 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3638 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3639 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3640 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3641 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3642 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3643 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3644 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3645 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3646 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3647 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3648 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3649 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3650 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3651 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3652 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3653 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3654 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3655 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3656 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3657
84b3fd84
FW
36582012-07-25 Florian Weimer <fweimer@redhat.com>
3659
3660 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3661 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3662 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3663 Introduce __libc_secure_getenv.
0c7936d5
FW
3664 * stdlib/Versions (2.17): Add secure_getenv
3665 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3666 * stdlib/secure-getenv.c: Rename __secure_getenv to
3667 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3668 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3669 * stdlib/tst-secure-getenv.c: New.
3670 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3671 * manual/startup.texi (Environment Access): Document
3672 secure_getenv.
84b3fd84
FW
3673 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3674 __libc_secure_getenv.
3675 * inet/ruserpass.c (ruserpass): Likewise.
3676 * malloc/mtrace.c (mtrace): Likewise.
3677 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3678 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3679 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3680 * sysdeps/posix/tempname.c: Likewise. Evaluate
3681 HAVE_SECURE_GETENV.
3682 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3683 __secure_getenv to __libc_secure_getenv.
84b3fd84 3684 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3686 Likewise.
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3688 Likewise.
3689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3691 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3696
56e49b71
JM
36972012-07-25 Joseph Myers <joseph@codesourcery.com>
3698
3699 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3700 (struct La_i86_retval): Likewise.
3701 (struct La_x86_64_regs): Likewise.
3702 (struct La_x86_64_retval): Likewise.
3703 (struct La_x32_regs): Likewise.
3704 (struct La_x32_retval): Likewise.
3705 (struct La_ppc32_regs): Likewise.
3706 (struct La_ppc32_retval): Likewise.
3707 (struct La_ppc64_regs): Likewise.
3708 (struct La_ppc64_retval): Likewise.
3709 (struct La_sh_regs): Likewise.
3710 (struct La_sh_retval): Likewise.
3711 (struct La_s390_32_regs): Likewise.
3712 (struct La_s390_32_retval): Likewise.
3713 (struct La_s390_64_regs): Likewise.
3714 (struct La_s390_64_retval): Likewise.
3715 (struct La_sparc32_regs): Likewise.
3716 (struct La_sparc32_retval): Likewise.
3717 (struct La_sparc64_regs): Likewise.
3718 (struct La_sparc64_retval): Likewise.
3719 (struct audit_ifaces): Remove architecture-specific pltenter and
3720 pltexit members.
3721 * sysdeps/i386/ldsodefs.h: New file.
3722 * sysdeps/powerpc/ldsodefs.h: Likewise.
3723 * sysdeps/s390/ldsodefs.h: Likewise.
3724 * sysdeps/sh/ldsodefs.h: Likewise.
3725 * sysdeps/sparc/ldsodefs.h: Likewise.
3726 * sysdeps/x86_64/ldsodefs.h: Likewise.
3727
354691b7
MP
37282012-07-25 Marek Polacek <polacek@redhat.com>
3729
3730 [BZ #6808]
3731 * math/libm-test.inc (yn_test): Add another test.
3732 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3733 to ERANGE when the result is +-Inf.
3734 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3735 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3736 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3737 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3738
bf9e2071
JM
37392012-07-24 Joseph Myers <joseph@codesourcery.com>
3740
3741 * conform/data/time.h-data (NULL): Use macro-constant. Require
3742 equal to 0.
3743 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3744 clock_t.
3745 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3746
57633811
TS
37472012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3748
3749 * configure.in <sysdeps resolving>: Correct printing
3750 Implies_before.
3751 * configure: Regenerate.
3752
c23c33b0
TS
37532012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3754
3755 * math/w_ilogb.c: Include <limits.h>.
3756 * math/w_ilogbl.c: Likewise.
3757
b5982523
JM
37582012-07-20 Joseph Myers <joseph@codesourcery.com>
3759
3760 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3761 va_copy. Document allowing for unavailable va_copy only as
3762 pre-C99 compatibility.
3763 * manual/string.texi (Copying and Concatenation): Use va_copy
3764 instead of __va_copy in concat example.
3765
ac4ea442
PT
37662012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3767
3768 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3769 (__sendto): Use create_address_port. Initialize APORT and deallocate
3770 it if not null.
3771
f98eafbd
PT
3772 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3773 with O_NOLINK passed to __file_name_lookup.
3774
898c7aab
PT
3775 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3776 with O_NOLINK passed to __file_name_lookup.
3777
0ced335a
PT
3778 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3779 negative N or less than NGIDS.
3780
b3404dbd
PT
3781 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3782 type to string_t. Set ERANGE as errno and return it if NAME is not big
3783 enough. Use memcpy instead of strncpy.
3784
0f48659e
JM
37852012-07-20 Joseph Myers <joseph@codesourcery.com>
3786
3787 * elf/Makefile (check-data): Remove.
3788 (localplt.data): New vpath directive.
3789 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3790 instead of $(check-data).
3791 * scripts/data/localplt-generic.data: Move to ...
3792 * sysdeps/generic/localplt.data: ... here.
3793 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3794 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3795 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3797 ... here.
3798 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3800 ... here.
3801 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3803 ... here.
3804 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3806 ... here.
3807 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3809 ... here.
3810 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3812 ... here.
3813
d37cbdaa
AZ
38142012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3815
3816 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3817 PPC32 and PPC64 files.
3818 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3819 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3820
46f85fc2
AK
38212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3822
3823 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3824 __makecontext_ret to ...
3825 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3826 ... here and call exit if uc_link is NULL. New file.
3827 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3828 __makecontext_ret.S.
3829 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3830 __makecontext_ret to ...
3831 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3832 ... here and call exit if uc_link is NULL. New file.
3833 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3834 __makecontext_ret.S.
3835
08f43f9b
AK
38362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3837
3838 * elf/elf.h (R_390_IRELATIVE): New definition.
3839 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3840 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3841 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3842 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3843 (elf_machine_lazy_rel): Likewise.
3844 * sysdeps/s390/dl-irel.h: New file.
3845 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3846 * sysdeps/s390/s390-64/memset.S: New asm code.
3847 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3848 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3849 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3850 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3851 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3852 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3853 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3854 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3855 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3856 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3857 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3858 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3859 * sysdeps/s390/s390-32/memset.S: New asm code.
3860 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3861
3b05db33
MP
38622012-07-17 Marek Polacek <polacek@redhat.com>
3863
3864 [BZ #14349]
3865 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3866 * sysdeps/s390/s390-64/configure.in: Likewise.
3867 * sysdeps/sparc/configure.in: Likewise.
3868 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3869 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3870 * sysdeps/i386/configure.in: Likewise.
3871 * sysdeps/x86_64/configure.in: Likewise.
3872 * sysdeps/sh/configure.in: Likewise.
3873 * sysdeps/s390/s390-32/configure: Regenerated.
3874 * sysdeps/s390/s390-64/configure: Likewise.
3875 * sysdeps/x86_64/configure: Likewise.
3876 * sysdeps/sh/configure: Likewise.
3877 * sysdeps/powerpc/powerpc64/configure: Likewise.
3878 * sysdeps/powerpc/powerpc32/configure: Likewise.
3879 * sysdeps/sparc/configure: Likwise.
3880 * sysdeps/i386/configure: Likewise.
3881
a66877c6
MP
3882 * elf/dl-open.c: Comment fixes.
3883
cfc82fd8
JM
38842012-07-17 Joseph Myers <joseph@codesourcery.com>
3885
bd29910a
JM
3886 * Makefile [CXX] (check-data): Remove.
3887 [CXX] (c++-types.data): New vpath directive.
3888 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3889 vpath. Do not allow for C++ type data being missing.
3890 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3891 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3892 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3893 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3894 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3895 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3896 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3898 ... here.
3899 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3901 ... here.
3902 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3904 ... here.
3905 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3907 ... here.
3908 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3910 ... here.
3911 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3913 ... here.
3914 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3916 ... here.
3917 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3919
cfc82fd8
JM
3920 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3921 definitions to architecture-specific files.
3922 (TLS_IE): Likewise.
3923 (TLS_LD): Likewise.
3924 (TLS_GD): Likewise.
3925 * sysdeps/i386/tls-macros.h: New file.
3926 * sysdeps/powerpc/tls-macros.h: Likewise.
3927 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3928 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3929 * sysdeps/sh/tls-macros.h: Likewise.
3930 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3931 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3932 * sysdeps/x86_64/tls-macros.h: Likewise.
3933
f7db3170
TS
39342012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3935
07cbfc23
TS
3936 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3937 zero value for regular exit case.
3938
f7db3170
TS
3939 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3940 (__start_context): Preserve zero value for regular exit case.
3941
dc97c227
TS
39422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3943 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3944
3945 * manual/setjmp.texi (setcontext): Clarify normal process
3946 termination when uc_link is the null pointer.
3947 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3948 exit call.
3949
d0cd7d02
AS
39502012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3951
3952 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3953 preprocessor. Test for each exception mask separately.
3954
dd318934
AJ
39552012-07-16 Andreas Jaeger <aj@suse.de>
3956
3957 * po/ru.po: Update from translation team.
3958
8048311a
JM
39592012-07-15 Joseph Myers <joseph@codesourcery.com>
3960
3961 * conform/data/string.h-data (NULL): Use macro-constant. Require
3962 equal to 0.
3963 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3964 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3965 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3966 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3968
b637d46e
AJ
39692012-07-13 Andreas Jaeger <aj@suse.de>
3970
3971 * po/fr.po: Update from translation team.
3972
541428fe
MP
39732012-07-12 Marek Polacek <polacek@redhat.com>
3974
3975 [BZ #14173]
3976 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3977 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3978 loop condition.
3979
ec332e94
JM
39802012-07-12 Joseph Myers <joseph@codesourcery.com>
3981
3982 [BZ #13717]
3983 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3984 Change to 2.4.1 where previously 2.4.0.
3985 * sysdeps/unix/sysv/linux/configure: Regenerated.
3986 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3987 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3988 version.
3989 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3990 (__ASSUME_AT_CLKTCK): Remove.
3991 (__ASSUME_AT_PAGESIZE): Likewise.
3992 (__ASSUME_AT_XID): Likewise.
3993 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3994 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3995 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3996 unconditionally.
3997 (HAVE_AUX_PAGESIZE): Likewise.
3998 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3999 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4000 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4001
7b6e99be
JB
40022012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4003
4004 [BZ #14307]
4005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4006 the temporary buffer used to invoke __gethostbyname2_r,
4007 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4008 host_data / struct gaih_addrtuple.
4009 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4010 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4011 header file nss/nsswitch.h.
4012 * nss/nsswitch.h (global scope): Add definition of implementation
4013 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4014 resolv/nss_dns/dns-host.c).
4015
608404eb
AJ
40162012-07-11 Andreas Jaeger <aj@suse.de>
4017
4018 * po/fr.po: Update from translation team.
4019
71220aca
AJ
4020 * po/sv.po: Update from translation team
4021 * po/fr.po: Another update from translation team.
4022
28cfe843
AZ
40232012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4024
4025 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4026 for subnormals or multiply small sinh result by itself.
4027 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4029
6b90f981
DM
40302012-07-11 David S. Miller <davem@davemloft.net>
4031
4032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4033
c6825772
AS
40342012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4035
4036 [BZ #14347]
4037 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4038 (INTERNAL_MARK): Shift it here.
4039
7b8e0d49
MP
40402012-07-10 Marek Polacek <polacek@redhat.com>
4041
4042 [BZ #14151]
4043 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4044 libc_cv_asm_global_directive with .globl.
4045 * configure: Regenerated.
4046 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4047 with .globl.
4048 * sysdeps/i386/configure: Regenerated.
4049 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4050 with .globl.
4051 * sysdeps/x86_64/configure: Regenerated.
4052 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4053 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4054 * elf/tst-unique2mod2.c: Likewise.
4055 * elf/tst-unique2mod1.c: Likewise.
4056 * elf/tst-unique1mod2.c: Likewise.
4057 * elf/tst-unique1mod1.c: Likewise.
4058 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4059 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4060 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4061 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4062 * sysdeps/mach/sysdep.h: Likewise.
4063 * sysdeps/i386/sysdep.h: Likewise.
4064 * sysdeps/i386/i386-mcount.S: Likewise.
4065 * sysdeps/x86_64/_mcount.S: Likewise.
4066 * sysdeps/x86_64/sysdep.h: Likewise.
4067 * sysdeps/sh/_mcount.S: Likewise.
4068 * sysdeps/sh/sysdep.h: Likewise.
4069 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4070 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4071 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4072 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4073 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4074 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4075 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4076 * locale/localeinfo.h: Likewise.
4077 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4078 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4079
6c55cda3
RM
40802012-07-09 Roland McGrath <roland@hack.frob.com>
4081
4082 [BZ #14336]
4083 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4084 system".
4085 * manual/message.texi (The Uniforum approach): Likewise.
4086 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4087 (glibc iconv Implementation): Likewise.
4088
638a572e
JM
40892012-07-09 Joseph Myers <joseph@codesourcery.com>
4090
4091 [BZ #14337]
4092 * math/s_clog.c (__clog): Avoid scaling a value down where that
4093 could result in underflow.
4094 * math/s_clog10.c (__clog10): Likewise.
4095 * math/s_clog10f.c (__clog10f): Likewise.
4096 * math/s_clog10l.c (__clog10l): Likewise.
4097 * math/s_clogf.c (__clogf): Likewise.
4098 * math/s_clogl.c (__clogl): Likewise.
4099 * math/libm-test.inc (clog_test): Add more tests.
4100 (clog10_test): Likewise.
4101 * sysdeps/i386/fpu/libm-test-ulps: Update.
4102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4103
261f4859
AS
41042012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4105
0abaf3e4
AS
4106 [BZ #14283]
4107 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4108 by 7 not 8 to examine high bit of fractional part.
4109
261f4859
AS
4110 [BZ #14042]
4111 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4112 for call to __mcount_internal.
4113 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4114 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4115 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4116
f17ac40d
JM
41172012-07-06 Joseph Myers <joseph@codesourcery.com>
4118
9ad63c23
JM
4119 [BZ #14154]
4120 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4121 approximation for values within 0x1p-13f of an odd multiple of
4122 pi/4.
4123 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4124 exception. Add more tests.
4125 * sysdeps/i386/fpu/libm-test-ulps: Update.
4126
f17ac40d
JM
4127 [BZ #6778]
4128 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4129 inputs and return -1 for them. Do not check for +Inf in case not
4130 reachable for +Inf.
4131 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4132 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4133 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4134 and return -1 for them. Do not check for +Inf in case not
4135 reachable for +Inf.
4136 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4137 define.
4138 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4139 and return -1 for them. Do not check for +Inf in case not
4140 reachable for +Inf.
4141 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4142 spurious underflow.
4143 * sysdeps/i386/fpu/libm-test-ulps: Update.
4144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4145
fb21f89b
MF
41462012-07-06 Mike Frysinger <vapier@gentoo.org>
4147
4148 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4149
cdfe2c5e
JM
41502012-07-05 Joseph Myers <joseph@codesourcery.com>
4151
4152 [BZ #14157]
4153 [BZ #14331]
4154 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4155 could result in spurious underflow. Scale down values above
4156 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4157 * math/s_csqrtf.c (__csqrtf): Likewise.
4158 * math/s_csqrtl.c (__csqrtl): Likewise.
4159 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4160 spurious underflow.
4161 * sysdeps/i386/fpu/libm-test-ulps: Update.
4162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4163
70d35b67
AS
41642012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4165
704bc459
AS
4166 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4167 xopen-msg.sed.
4168 * catgets/xopen-msg.awk: New file.
4169 * catgets/xopen-msg.sed: Removed.
4170
70d35b67
AS
4171 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4172 po2text.sed.
4173 * intl/po2test.awk: New file.
4174 * intl/po2test.sed: Removed.
4175
ca61cf32
JM
41762012-07-04 Joseph Myers <joseph@codesourcery.com>
4177
4178 [BZ #14328]
4179 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4180 or multiply small sinh result by itself.
4181 * math/s_ctanf.c (__ctanf): Likewise.
4182 * math/s_ctanh.c (__ctanh): Likewise.
4183 * math/s_ctanhf.c (__ctanhf): Likewise.
4184 * math/s_ctanhl.c (__ctanhl): Likewise.
4185 * math/s_ctanl.c (__ctanl): Likewise.
4186 * math/libm-test.inc (ctan_test_tonearest): New function.
4187 (ctan_test_towardzero): Likewise.
4188 (ctan_test_downward): Likewise.
4189 (ctan_test_upward): Likewise.
4190 (ctanh_test_tonearest): Likewise.
4191 (ctanh_test_towardzero): Likewise.
4192 (ctanh_test_downward): Likewise.
4193 (ctanh_test_upward): Likewise.
4194 (main): Call these new functions.
4195 * sysdeps/i386/fpu/libm-test-ulps: Update.
4196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4197
ca48a46a
MF
41982012-07-03 Mike Frysinger <vapier@gentoo.org>
4199
4200 * .gitignore: Delete /ports entry.
4201
9d63d37d
AJ
42022012-07-03 Andreas Jaeger <aj@suse.de>
4203
4204 * po/bg.po: Update from translation team.
4205 * po/cs.po: Likewise.
4206 * po/de.po: Likewise.
4207 * po/hr.po: Likewise.
4208 * po/nl.pl: Likewise.
4209 * po/pl.po: Likewise.
4210 * po/vi.po: Likewise.
4211
370ca3d2
JM
42122012-07-03 Joseph Myers <joseph@codesourcery.com>
4213
95f5a9a8
JM
4214 * Makeconfig [!+link] (+link-before-libc): New variable.
4215 [!+link] (+link-after-libc): Likewise.
4216 [!+link] (+link-tests): Likewise.
4217 [!+link] (+link): Define in terms of $(+link-before-libc) and
4218 $(+link-after-libc).
4219 [!+link-static] (+link-static-before-libc): New variable.
4220 [!+link-static] (+link-static-after-libc): Likewise.
4221 [!+link-static] (+link-static-tests): Likewise.
4222 [!+link-static] (+link-static): Define in terms of
4223 $(+link-static-before-libc) and $(+link-static-after-libc).
4224 [build-shared] (link-libc-before-gnulib): New variable.
4225 [build-shared] (link-libc-tests): Likewise.
4226 [build-shared] (link-libc): Define in terms of
4227 $(link-libc-before-gnulib).
4228 [!build-shared] (link-libc-tests): New variable.
4229 (link-libc-static-tests): New variable.
4230 [!gnulib] (gnulib-arch): New variable.
4231 [!gnulib] (gnulib-tests): Likewise.
4232 [!gnulib] (static-gnulib-arch): Likewise.
4233 [!gnulib] (static-gnulib-tests): Likewise.
4234 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4235 Define with "=" instead of ":=".
4236 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4237 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4238 * Rules (binaries-all-notests): New variable.
4239 (binaries-all-tests): Likewise.
4240 (binaries-static-notests): Likewise.
4241 (binaries-static-tests): Likewise.
4242 (binaries-all): Define using $(binaries-all-notests) and
4243 $(binaries-all-tests).
4244 (binaries-static): Define using $(binaries-static-notests) and
4245 $(binaries-static-tests).
4246 (binaries-shared-tests): New variable.
4247 (binaries-shared-notests): Likewise.
4248 (binaries-shared): Remove variable.
4249 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4250 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4251 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4252 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4253 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4254 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4255 * elf/Makefile (sln-modules): New variable.
4256 (extra-objs): Add $(sln-modules:=.o).
4257 (ldconfig-modules): Add static-stubs.
4258 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4259 * elf/static-stubs.c: New file.
4260
7a845b2c
JM
4261 [BZ #14283]
4262 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4263 by 7 not 8 to examine high bit of fractional part. Use volatile
4264 variables when splitting into final array of floats if
4265 __FLT_EVAL_METHOD__ != 0.
4266 * math/libm-test.inc (cos_test): Add another test.
4267 (sin_test): Likewise.
4268 * sysdeps/i386/fpu/libm-test-ulps: Update.
4269
e2283f38
JM
4270 [BZ #14273]
4271 * math/libm-test.inc (cosh_test): Add more tests.
4272
370ca3d2
JM
4273 * version.h (RELEASE): Set to "development".
4274 (VERSION): Set to "2.16.90".
4275
ee9247c3
CD
42762012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4277
4278 * NEWS: Update copyright. Remove last-updated date.
4279 Mention math library bug fixes and timezone data changes.
4280 * README: Mention GNU/Hurd, x32, and HPPA support status.
4281
4648c381
TS
42822012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4283
4284 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4285
aac78a43
AJ
42862012-06-27 Andreas Jaeger <aj@suse.de>
4287
4288 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4289
ed3dbfad
AJ
42902012-06-25 Andreas Jaeger <aj@suse.de>
4291
4292 * sysdeps/s390/fpu/libm-test-ulps: Update.
4293
4d0ee855
AS
42942012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4295 Thomas Schwinge <thomas@codesourcery.com>
4296
4297 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4298 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4299 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4300 fanotify_mark.
4301
af1bce34
TS
43022012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4303
a9fa33ba
TS
4304 * sysdeps/mach/start.c: Remove file.
4305 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4306 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4307 * sysdeps/sh/init-first.c: Likewise.
4308
58f902b8
TS
4309 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4310 registers for frame unwinding purposes, add CFI directives.
4311 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4312 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4313 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4314 Likewise.
4315
1518f58b
TS
4316 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4317 __fortify_fail returning.
4318 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4319
db9b5059
TS
4320 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4321 sysdeps/sh/____longjmp_chk.S.
4322 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4323 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4324 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4325 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4326
967705fe
TS
4327 * sysdeps/sh/abort-instr.h: New file.
4328 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4329 process in case exit returns.
4330
a9def8c4
TS
4331 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4332 initialize the GOT register before use.
4333
2a649725
TS
4334 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4335 calculation of ARGC > 4.
4336
af1bce34
TS
4337 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4338 meaningful names to some local labels.
4339
d230f50a
KK
43402012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4341 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4342
4343 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4344 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4345 (__arch_compare_and_exchange_val_16_acq): Likewise.
4346 (__arch_compare_and_exchange_val_32_acq): Likewise.
4347 (atomic_exchange_and_add): Fix gUSA sequence.
4348 (atomic_add): Likewise.
4349 (atomic_add_negative): Likewise.
4350 (atomic_add_zero): Likewise.
4351 (atomic_bit_test_set): Likewise.
4352
0479b305
AS
43532012-06-22 Andreas Schwab <schwab@redhat.com>
4354
4355 [BZ #13579]
4356 * include/link.h (struct link_map): Add l_free_initfini.
4357 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4358 l_initfini.
4359 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4360 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4361 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4362 set.
4363
0e3933b9
CD
43642012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4365
4366 * configure.in: Use AC_LANG_SOURCE.
4367 * configure: Regenerate.
4368
4248b1b1
RM
43692012-06-22 Roland McGrath <roland@hack.frob.com>
4370
4371 * configure.in (libc_cv_localstatedir): New substituted variable.
4372 * configure: Regenerated.
4373 * config.make.in (localstatedir): New variable, substituted from
4374 libc_cv_localstatedir.
4375 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4376 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4377 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4378 * sysdeps/gnu/configure: Regenerated.
4379
006dd861
JL
43802012-06-21 Jeff Law <law@redhat.com>
4381
4382 [BZ #14277]
4383 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4384 free. Simplify list management for _LIBC case.
4385
79662d42
JM
43862012-06-21 Joseph Myers <joseph@codesourcery.com>
4387
b7abb4bf
JM
4388 [BZ #14273]
4389 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4390 Clear sign bit of 64-bit integer value before comparing against
4391 overflow value.
4392
79662d42
JM
4393 * sysdeps/mach/configure: Regenerated.
4394
1f150908
L
43952012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4396
4397 [BZ #14278]
4398 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4399
28363bbf
JL
44002012-06-21 Jeff Law <law@redhat.com>
4401
4402 [BZ #13882]
4403 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4404 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4405 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4406 * elf/dl-open.c (dl_open_worker): Likewise.
4407
09615db4
CD
44082012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4409
4410 * scripts/list-sources.sh: Scan PORTS for translations.
4411 * po/libc.pot: Regenerated.
4412
2174c6dd
AJ
44132012-06-21 Andreas Jaeger <aj@suse.de>
4414
4415 [BZ #12194]
4416 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4417 warning.
4418 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4419 * bits/byteswap-16.h (__bswap_16): Likewise.
4420 * bits/byteswap.h (__bswap_constant_16): Likewise.
4421
3ee947b1
L
44222012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4423
4424 [BZ #14117]
a2f34833
L
4425 * sysdeps/i386/fpu_control.h: Removed.
4426 * sysdeps/x86_64/fpu_control.h: Moved to ...
4427 * sysdeps/x86/fpu_control.h: Here.
4428
3ee947b1
L
4429 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4430 (_FPU_SETCW): Likewise.
4431
ed1825f8
L
44322012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4433
25f1282a
L
4434 [BZ #14117]
4435 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4436 * sysdeps/x86/fpu/bits/mathinline.h: This.
4437 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4438
ed1825f8
L
4439 [BZ #14050]
4440 [BZ #14117]
4441 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4442 functions if __x86_64__ is defined.
4443
36d54b74
CLT
44442012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4445
4446 * string/endian.h: Add !__ASSEMBLER__ condition for including
4447 conversion interfaces.
4448
10285c21
JM
44492012-06-15 Joseph Myers <joseph@codesourcery.com>
4450
4451 [BZ #14241]
4452 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4453 of ABS(x) in calculating zero to negative powers other than odd
4454 integers.
4455 * math/libm-test.inc (pow_test): Add more tests.
4456
06c5abbd
AJ
44572012-06-15 Andreas Jaeger <aj@suse.de>
4458
4459 * manual/contrib.texi (Contributors): Update entry of Liubov
4460 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4461 Machado Filho.
4462
a3aeac40
CH
44632012-06-15 Cyril Hrubis <metan@ucw.cz>
4464
4465 * string/string.h: Add __wur to GNU version of strerror_r.
4466
49bdf4c1
L
44672012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4468
4469 [BZ #14229]
4470 * string/Makefile (tests): Add tst-strtok_r.
4471 * string/tst-strtok_r.c: New file.
4472 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4473 RAX_LP/RDX_LP on SAVE_PTR.
4474
834f9b8d
RM
44752012-06-14 Roland McGrath <roland@hack.frob.com>
4476
4477 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4478
75fa1921
JM
44792012-06-14 Joseph Myers <joseph@codesourcery.com>
4480
4481 * libm_test.inc (csqrt_test): Allow more spurious underflow
4482 exceptions.
4483 (j0_test): Likewise.
4484 (j1_test): Likewise.
4485 (y0_test): Likewise.
4486 (y1_test): Likewise.
4487
771766df
CD
44882012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4489
4490 * po/Makefile (libc.pot): Use UTF-8 charset.
4491
ceb9e56b
PP
44922012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4493
4494 [BZ #14210]
4495 Suppress sign-conversion warning from FD_SET.
4496 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4497 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4498 not unsigned long int.
4499 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4500
ddb28975
L
45012012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4502
4503 [BZ #14050]
4504 [BZ #14117]
4505 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4506 __extern_always_inline instead of __extern_inline.
4507 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4508 (__signbit): Likewise.
4509 (__signbitl): Support C++ namespace.
4510 (lrintf): New inline function.
4511 (lrint): Likewise.
4512 (llrintf): Likewise.
4513 (llrint): Likewise.
4514 (fmaxf): Likewise.
4515 (fmax): Likewise.
4516 (fminf): Likewise.
4517 (fmin): Likewise.
4518 (rint): Likewise.
4519 (rintf): Likewise.
4520 (ceil): Likewise.
4521 (ceilf): Likewise.
4522 (floor): Likewise.
4523 (floorf): Likewise.
4524 (nearbyint): Likewise.
4525 (nearbyintf): Likewise.
4526
d7b4fb26
TS
45272012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4528
4529 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4530 non-default versions.
4531
eb55f5c2
RM
45322012-06-11 Roland McGrath <roland@hack.frob.com>
4533
4534 [BZ #14218]
4535 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4536
366af02c
TS
45372012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4538
99ff6e5c
TS
4539 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4540 (FE_UPWARD, FE_DOWNWARD): Don't define.
4541 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4542 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4543
366af02c
TS
4544 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4545 reading it.
4546 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4547 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4548
793ea851
KK
45492012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4550
4551 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4552 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4553 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4554 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4555
a728a38f
L
45562012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4557
4558 [BZ #14117]
c08010c7
L
4559 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4560 * sysdeps/i386/fpu/Implies: New file.
4561 * sysdeps/x86_64/fpu/Implies: Likewise.
4562 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4563 * sysdeps/x86/fpu/bits/fenv.h: This.
4564
a728a38f
L
4565 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4566 __SSE_MATH__.
4567
6e230d11
SP
45682012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4569
4570 [BZ #14134]
4571 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4572 character 0xffff that matches the last element of the
4573 conversion table.
4574
1b671feb
AZ
45752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4576
4577 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4578 fmodl commit.
4579
6043738b
AZ
45802012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4581
4582 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4583 values higher than 25.6283.
4584
34ae0b32
AZ
45852012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4586
4587 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4588 subnormal exponent extraction and add some __builtin_expect.
4589 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4590 Fix for subnormal mantissa calculation.
4591
1214ec8f
MF
45922012-06-04 Mike Frysinger <vapier@gentoo.org>
4593
4594 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4595 cpu2 is -1 and errno is not ENOSYS.
4596
f3d1f93c
L
45972012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4598
4599 [BZ #14117]
0e4a3cd7
L
4600 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4601 * sysdeps/x86/bits/string.h: This.
4602 * sysdeps/x86_64/bits/string.h: Removed.
4603
6704c645
L
4604 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4605 if not compiling for x86-64, but compiling for >= i486.
4606
48495318
L
4607 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4608 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4609
14adcbfc
L
4610 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4611 New macro from Linux kernel 3.4.0.
4612 (FP_XSTATE_MAGIC2): Likewise.
4613 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4614 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4615 (struct _fpx_sw_bytes): New struct.
4616 (struct _xsave_hdr): Likewise.
4617 (struct _ymmh_state): Likewise.
4618 (struct _xstate): Likewise.
4619
68e408ab
L
4620 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4621 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4622 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4623 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4624 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4625 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4626
f3d1f93c
L
4627 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4628 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4629 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4630 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4631 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4632 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4633
d9dc34cd
TMQMF
46342012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4635
4636 [BZ #13743]
4637 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4638 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4639 (sysdep_headers): Include sys/platform/ppc.h.
4640 * sysdeps/powerpc/test-gettimebase.c: Test for
4641 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4642 * manual/Makefile (appendices): Include platform.texi.
4643 * manual/contrib.texi (Contributors): Update @node pointers.
4644 * manual/maint.texi (Maintenance): Likewise.
4645 (Platform): New node.
4646 * manual/platform.texi: New file. Document the new features.
4647
4af3879c
SP
46482012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4649 Jakub Jelinek <jakub@redhat.com>
4650
4651 [BZ #14188]
4652 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4653 where __builtin_expect is unavailable.
4654
2fd6ff13
DM
46552012-06-03 David S. Miller <davem@davemloft.net>
4656
4657 * stdlib/longlong.h: Updated from GCC.
4658
173f7220
AS
46592012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4660
4661 [BZ #14042]
4662 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4663 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4664 __mcount_internal.
4665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4666 (GLIBC_2.16): Likewise.
4667
f34a1c6f
L
46682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4669
4670 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4671
88a4576f
JM
46722012-06-01 Joseph Myers <joseph@codesourcery.com>
4673
ea32bcdd
JM
4674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4675 (default-abi): New variable.
4676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4677 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4678 variable.
4679 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4680 Likewise.
4681 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4682 Likewise.
4683 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4684 Likewise.
4685
88a4576f
JM
4686 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4687 definition. Document in comment.
4688
402fe938
DM
46892012-06-01 David S. Miller <davem@davemloft.net>
4690
4691 * stdlib/longlong.h: Updated from GCC.
4692
3553723f
L
46932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4694
4695 [BZ #14117]
3bd872c4
L
4696 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4697 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4698 sys/debugreg.h sys/io.h here.
4699 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4700 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4701 sys/io.h.
4702 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4703 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4704 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4705 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4706 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4707 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4708
3553723f
L
4709 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4710 Define only if __x86_64__ is defined.
4711
4842e4fe
JM
47122012-06-01 Joseph Myers <joseph@codesourcery.com>
4713
c5bfe3d5
JM
4714 [BZ #14048]
4715 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4716 Use int64_t for variable i.
4717 * math/libm-test.inc (fmod_test): Add more tests.
4718
4842e4fe
JM
4719 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4720 z computation is not scheduled after fetestexcept.
4721 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4722 Use math_force_eval instead of asm to ensure calculation scheduled
4723 before exception test.
4724 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4725 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4726
efb73488
AJ
47272012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4728
4729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4730 computation is not scheduled after fetestexcept.
4731
29bcce7c
L
47322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4733
4734 [BZ #14117]
4735 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4736 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4737
73a68f94
AZ
47382012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4739
4740 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4741 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4742
67b6df78
L
47432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4744
edf2933a 4745 [BZ #14117]
ebc64a18
L
4746 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4747 <bits/wordsize.h>.
4748 (__WCHAR_MIN): Support __WORDSIZE == 64.
4749 (__WCHAR_MAX): Likewise.
4750
edf2933a
L
4751 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4752 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4753
57c6cf40
L
4754 [BZ #14183]
4755 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4756 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4757
67b6df78 4758 [BZ #14117]
8eb6281e
L
4759 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4760 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4761
aac639f4
L
4762 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4763 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4764
67b6df78
L
4765 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4766 Defined to 1 if __x86_64__ isn't defined.
4767 (_STAT_VER_LINUX_OLD): New.
4768 (st_atime): Remove duplicate.
4769 (st_mtime): Likewise.
4770 (st_ctime): Likewise.
4771
1c2cfe81
DM
47722012-05-31 David S. Miller <davem@davemloft.net>
4773
4774 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4775 entries.
4776
5be8418c
AS
47772012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4778
e7725326
AS
4779 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4780 gen-libm-test.pl.
4781
5be8418c
AS
4782 [BZ #14132]
4783 * elf/dl-reloc.c: Include <_itoa.h>.
4784 (_dl_reloc_bad_type): Remove use of INTUSE.
4785 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4786 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4787 * stdio-common/psiginfo.c (psiginfo): Likewise.
4788 * stdio-common/psignal.c (psignal): Likewise.
4789 * string/strsignal.c (strsignal): Likewise.
4790 * include/signal.h (_sys_siglist): Declare hidden proto.
4791 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4792 INTVARDEF with libc_hidden_data_def.
4793 * stdio-common/itoa-udigits.c: Likewise.
4794 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4795 (_itoa_lower_digits_internal): Remove declaration.
4796 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4797 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4798 (_sys_sigabbrev_internal): Remove aliases.
4799 (_sys_siglist): Define hidden alias.
4800
507352f1
MT
48012012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4802
4803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4804 bits/sysctl.h.
4805
42bbb1c3
L
48062012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4807
4808 [BZ #14117]
6bd784b6
L
4809 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4810 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4811
8bca20f0
L
4812 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4813 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4814 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4815 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4816 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4817 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4818
f9e890a9
L
4819 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4820 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4821 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4822
471101a1
L
4823 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4824 with __addr.
4825 (insw): Likewise.
4826 (insl): Likewise.
4827 (outsb): Likewise.
4828 (outsw): Likewise.
4829 (outsl): Likewise.
4830
6451c862
L
4831 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4832 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4833 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4834
a254b8c9
L
4835 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4836 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4837 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4838 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4839 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4840 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4841
b8dfdd92
L
4842 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4843 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4844
578cd270
L
4845 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4846 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4847
de662f5f
L
4848 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4849 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4850 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4851
25653439
L
4852 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4853 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4854 to ...
4855 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4856
6bad24a0
L
4857 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4858 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4859 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4860
42bbb1c3
L
4861 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4862 for x86-64.
4863 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4864
2d10d547
JM
48652012-05-31 Joseph Myers <joseph@codesourcery.com>
4866
4867 * math/math.h (M_El): Use two more decimal places.
4868 (M_LOG2El): Likewise.
4869 (M_LOG10El): Likewise.
4870 (M_LN2l): Likewise.
4871 (M_LN10l): Likewise.
4872 (M_PIl): Likewise.
4873 (M_PI_2l): Likewise.
4874 (M_PI_4l): Likewise.
4875 (M_1_PIl): Likewise.
4876 (M_2_PIl): Likewise.
4877 (M_2_SQRTPIl): Likewise.
4878 (M_SQRT2l): Likewise.
4879 (M_SQRT1_2l): Likewise.
4880
f230c29b
DM
48812012-05-31 David S. Miller <davem@davemloft.net>
4882
4883 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4884 values between float registers.
4885 * sysdeps/sparc/sparc64/memset.S: Likewise.
4886 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4887
fed806c3
MF
48882012-05-31 Mike Frysinger <vapier@gentoo.org>
4889
4890 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4891 -D_FORTIFY_SOURCE=1.
4892 (CPPFLAGS-tst-longjmp_chk.c): Define.
4893 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4894 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4895 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4896 CFLAGS-tst-wchar-h.c.
4897
30917259
MP
48982012-05-31 Marek Polacek <polacek@redhat.com>
4899
4900 [BZ #14132]
4901 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4902 __endmntent_internal): Remove declaration.
4903 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4904 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4905 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4906
1c58d5dc
DM
49072012-05-30 David S. Miller <davem@davemloft.net>
4908
4909 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4910 (___Q_simulate_exceptions): Use real FP ops rather than writing
4911 into the %fsr.
4912 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4913 Likewise.
4914
7dc00e0d
L
49152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4916
4917 [BZ #14117]
0bd53985
L
4918 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4919 * sysdeps/x86/bits/xtitypes.h: This.
4920
3a257e66
L
4921 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4922 * sysdeps/x86/bits/wordsize.h: This.
4923
62f62904
L
4924 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4925 * sysdeps/x86/bits/huge_vall.h: This.
4926
404fe9d9
L
4927 * sysdeps/i386/bits/select.h: Removed.
4928 * sysdeps/x86_64/bits/select.h: Renamed to ...
4929 * sysdeps/x86/bits/select.h: This.
4930
d48d0446
L
4931 * sysdeps/i386/bits/setjmp.h: Removed.
4932 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4933 * sysdeps/x86/bits/setjmp.h: This.
4934
7dc00e0d
L
4935 * sysdeps/i386/bits/mathdef.h: Removed.
4936 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4937 * sysdeps/x86/bits/mathdef.h: This.
4938
03277f8f
AS
49392012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4940
4941 [BZ #14132]
4942 * include/sys/socket.h (__connect_internal)
4943 (__libc_sa_len_internal): Remove declaration.
4944 (__connect, __libc_sa_len): Declare hidden_proto.
4945 (SA_LEN): Remove use of INTUSE.
4946 * socket/connect.c: Add libc_hidden_def.
4947 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4948 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4949 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4950 alias.
4951 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4952 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4953 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4954 of adding _internal alias.
4955
13764867
L
49562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4957
4958 [BZ #14117]
6bd97696
L
4959 * sysdeps/i386/bits/link.h: Removed.
4960 * sysdeps/i386/bits/linkmap.h: Likewise.
4961 * sysdeps/x86_64/bits/link.h: Renamed to ...
4962 * sysdeps/x86/bits/link.h: This.
4963 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4964 * sysdeps/x86/bits/linkmap.h: This.
4965
f726f0bb
L
4966 * sysdeps/i386/bits/endian.h: Removed.
4967 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4968 * sysdeps/x86/bits/endian.h: This.
4969
13764867
L
4970 * sysdeps/i386/bits/byteswap.h: Removed.
4971 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4972 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4973 * sysdeps/x86/bits/byteswap.h: This.
4974 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4975 * sysdeps/x86/bits/byteswap-16.h: This.
4976 * sysdeps/i386/Implies: Add x86.
4977 * sysdeps/x86_64/Implies: Likewise.
4978
ae251b0b
DM
49792012-05-30 David S. Miller <davem@davemloft.net>
4980
4981 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4982 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4983 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4984 (FP_TRAPPING_EXCEPTIONS): Define.
4985 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4986 (FP_TRAPPING_EXCEPTIONS): Define.
4987 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4988 subnormals only when inexact has been signalled or underflow
4989 exceptions are enabled.
4990 (_FP_PACK_CANONICAL): Likewise.
4991
d5c90867
L
49922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4993
4994 [BZ #14183]
4995 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4996 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4997
63f1549e
RH
49982012-05-30 Richard Henderson <rth@twiddle.net>
4999
8d8f2279
RH
5000 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5001 with #ifndef NOT_IN_libc.
5002
63f1549e
RH
5003 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5004 marked to avoid plt entry.
5005
0ab0291b
L
50062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5007
5008 [BZ #14112]
5009 * Makeconfig (default-abi): New macro.
5010 (abi-includes): Likewise.
5011 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5012 $(abi-$(default-abi)-lib-soname) for soname if defined.
5013 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5014 abi-variants.
5015 * Makefile (installed-stubs): Likewise.
5016 * include/stubs-biarch.h: Removed.
5017 * scripts/lib-names.awk: Only handle one library at a time.
5018 * scripts/soversions.awk: Remove WORDSIZE support.
5019 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5020 entries.
5021 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5022 Removed.
5023 (syscall-list-default-condition): Likewise.
5024 (syscall-list-default-condition): Likewise.
5025 (syscall-list-includes): Likewise.
5026 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5027 syscall-list-* with abi-*. Handle undefined abi-variants.
5028 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5029 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5030 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5031 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5032 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5033 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5034 Removed.
5035 (syscall-list-32-options): Likewise.
5036 (syscall-list-32-condition): Likewise.
5037 (syscall-list-64-options): Likewise.
5038 (syscall-list-64-condition): Likewise.
5039 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5040 macro.
5041 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5042 Renamed to ...
5043 (abi-*): This.
5044 (abi-64-ld-soname): New macro.
5045 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5046 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5047 Renamed to ...
5048 (abi-*): This.
5049 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5050 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5051
4da0431d
JM
50522012-05-30 Joseph Myers <joseph@codesourcery.com>
5053
3a85279c
JM
5054 * sysdeps/unix/sysv/linux/kernel-features.h
5055 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5056 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5057 include <kernel-features.h>.
5058 [!__NR_ftruncate64]: Remove conditional code.
5059 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5060 [__NR_ftruncate64]: Make code unconditional.
5061 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5062 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5063 include <kernel-features.h>.
5064 [!__NR_ftruncate64]: Remove conditional code.
5065 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5066 [__NR_ftruncate64]: Make code unconditional.
5067 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5069 include <kernel-features.h>.
5070 [!__NR_ftruncate64]: Remove conditional code.
5071 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5072 [__NR_ftruncate64]: Make code unconditional.
5073 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5075 include <kernel-features.h>.
5076 [!__NR_ftruncate64]: Remove conditional code.
5077 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5078 [__NR_ftruncate64]: Make code unconditional.
5079 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5080
4da0431d
JM
5081 * configure.in (libc_cv_fpie): Weaken to a compile test using
5082 LIBC_TRY_CC_OPTION.
5083 * configure: Regenerated.
5084
11ef492c
AK
50852012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5086
5087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5091 Refreshed.
5092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5098 Refreshed.
5099
d66ef399
DM
51002012-05-27 David S. Miller <davem@davemloft.net>
5101
5102 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5103 (___Q_zero): New.
5104 (__Q_simulate_exceptions): Return void. Change to simulate
5105 exceptions by writing into the %fsr.
5106 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5107 (__Qp_handle_exceptions): Likewise.
5108 (numbers): Delete.
5109 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5110 __Qp_handle_exceptions.
5111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5112 __Qp_handle_exceptions.
5113 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5114 as unused and give dummy FP_RND_NEAREST initializer.
5115 (FP_INHIBIT_RESULTS): Define.
5116 (___Q_simulate_exceptions): Update declaration.
5117 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5118 formatting.
5119 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5120 as unused and give dummy FP_RND_NEAREST initializer.
5121 (__Qp_handle_exceptions): Update declaration.
5122 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5123 formatting.
5124
04fb54b5
TS
51252012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5126
5127 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5128 the temporary FPU control word.
5129 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5130 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5131 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5132 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5133 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5134 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5135 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5136 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5137 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5138 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5139 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5140
3f99608f
KK
51412012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5142
5143 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5144 fields.
5145
65a4de4e
CLT
51462012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5147
5148 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5149 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5150 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5151 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5152 Likewise.
5153 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5154 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5155 Likewise.
5156
15749d40
UD
51572012-05-27 Ulrich Drepper <drepper@gmail.com>
5158
5159 * po/h.po: Update from translation team.
5160
25dbcb27
AS
51612012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5162
3d3f8e55
AS
5163 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5164
25dbcb27
AS
5165 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5166 handling of denormals.
5167 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5168 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5169 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5170 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5171 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5172 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5173 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5174 Likewise.
5175
7ad47a80 51762012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
5177
5178 [BZ #14152]
5179 * math/libm-test.inc (fma_test): Don't always expect underflow
5180 exception.
5181
9c6ea9fa
SP
51822012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5183
5184 [BZ #12416]
5185 * elf/tst-execstack.c: Include stackinfo.h.
5186 (do_test): Adjust test case to ensure that pthread_getattr_np
5187 behaviour remains the same after marking stack executable.
5188
a8239222
JM
51892012-05-25 Joseph Myers <joseph@codesourcery.com>
5190
5191 * sysdeps/unix/sysv/linux/kernel-features.h
5192 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5193 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5194 kernel-features.h.
5195 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5196 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5197 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5198 kernel-features.h.
5199 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5200 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5201
918b5606
L
52022012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5203
5204 * configure.in: Define the default includes to being none.
5205 * configure: Regenerated.
5206
3a097cc7
RM
52072012-05-25 Roland McGrath <roland@hack.frob.com>
5208
8422c9a5
RM
5209 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5210 * sysdeps/x86_64/setjmp.S: Likewise.
5211 * sysdeps/i386/bsd-setjmp.S: Likewise.
5212 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5213 * sysdeps/i386/setjmp.S: Likewise.
5214 * sysdeps/i386/__longjmp.S: Likewise.
5215 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5216 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5217
3a097cc7
RM
5218 * include/stap-probe.h: New file.
5219 * configure.in: Handle --enable-systemtap.
5220 * configure: Regenerated.
5221 * config.h.in (USE_STAP_PROBE): New #undef.
5222 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5223 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5224 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5225
21708942
JM
52262012-05-25 Joseph Myers <joseph@codesourcery.com>
5227
5228 [BZ #13717]
5229 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5230 to 2.4.0 where earlier.
5231 * sysdeps/unix/sysv/linux/configure: Regenerated.
5232 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5233 <kernel-features.h>.
5234 [__ASSUME_32BITUIDS]: Make code unconditional.
5235 [!__ASSUME_32BITUIDS]: Remove conditional code.
5236 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5237 <kernel-features.h>.
5238 [__ASSUME_32BITUIDS]: Make code unconditional.
5239 [!__ASSUME_32BITUIDS]: Remove conditional code.
5240 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5241 [__ASSUME_32BITUIDS]: Make code unconditional.
5242 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5243 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5244 <kernel-features.h>.
5245 [__ASSUME_32BITUIDS]: Make code unconditional.
5246 [!__ASSUME_32BITUIDS]: Remove conditional code.
5247 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5248 <kernel-features.h>.
5249 [__ASSUME_32BITUIDS]: Make code unconditional.
5250 [!__ASSUME_32BITUIDS]: Remove conditional code.
5251 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5252 <kernel-features.h>.
5253 [__ASSUME_32BITUIDS]: Make code unconditional.
5254 [!__ASSUME_32BITUIDS]: Remove conditional code.
5255 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5256 <kernel-features.h>.
5257 [__ASSUME_32BITUIDS]: Make code unconditional.
5258 [!__ASSUME_32BITUIDS]: Remove conditional code.
5259 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5260 <kernel-features.h>.
5261 [__ASSUME_32BITUIDS]: Make code unconditional.
5262 [!__ASSUME_32BITUIDS]: Remove conditional code.
5263 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5264 <kernel-features.h>.
5265 [__ASSUME_32BITUIDS]: Make code unconditional.
5266 [!__ASSUME_32BITUIDS]: Remove conditional code.
5267 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5268 <kernel-features.h>.
5269 [__ASSUME_32BITUIDS]: Make code unconditional.
5270 [!__ASSUME_32BITUIDS]: Remove conditional code.
5271 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5272 <kernel-features.h>.
5273 [__ASSUME_32BITUIDS]: Make code unconditional.
5274 [!__ASSUME_32BITUIDS]: Remove conditional code.
5275 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5276 <kernel-features.h>.
5277 [__ASSUME_32BITUIDS]: Make code unconditional.
5278 [!__ASSUME_32BITUIDS]: Remove conditional code.
5279 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5280 <kernel-features.h>.
5281 [__ASSUME_32BITUIDS]: Make code unconditional.
5282 [!__ASSUME_32BITUIDS]: Remove conditional code.
5283 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5284 <kernel-features.h>.
5285 [__NR_setresgid] (__setresgid): Do not declare.
5286 [__ASSUME_32BITUIDS]: Make code unconditional.
5287 [!__ASSUME_32BITUIDS]: Remove conditional code.
5288 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5289 <kernel-features.h>.
5290 [__NR_setresuid] (__setresuid): Do not declare.
5291 [__ASSUME_32BITUIDS]: Make code unconditional.
5292 [!__ASSUME_32BITUIDS]: Remove conditional code.
5293 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
5298 <kernel-features.h>.
5299 [__ASSUME_32BITUIDS]: Make code unconditional.
5300 [!__ASSUME_32BITUIDS]: Remove conditional code.
5301 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5302 <kernel-features.h>.
5303 [__ASSUME_32BITUIDS]: Make code unconditional.
5304 [!__ASSUME_32BITUIDS]: Remove conditional code.
5305 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5306 <kernel-features.h>.
5307 [__ASSUME_32BITUIDS]: Make code unconditional.
5308 [!__ASSUME_32BITUIDS]: Remove conditional code.
5309 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5310 <kernel-features.h>.
5311 [__ASSUME_32BITUIDS]: Make code unconditional.
5312 [!__ASSUME_32BITUIDS]: Remove conditional code.
5313 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5314 <kernel-features.h>.
5315 [__ASSUME_32BITUIDS]: Make code unconditional.
5316 [!__ASSUME_32BITUIDS]: Remove conditional code.
5317 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5318 <kernel-features.h>.
5319 [__ASSUME_32BITUIDS]: Make code unconditional.
5320 [!__ASSUME_32BITUIDS]: Remove conditional code.
5321 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5322 <kernel-features.h>.
5323 [__ASSUME_32BITUIDS]: Make code unconditional.
5324 [!__ASSUME_32BITUIDS]: Remove conditional code.
5325 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5326 <kernel-features.h>.
5327 [__ASSUME_32BITUIDS]: Make code unconditional.
5328 [!__ASSUME_32BITUIDS]: Remove conditional code.
5329 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5330 <kernel-features.h>.
5331 [__ASSUME_32BITUIDS]: Make code unconditional.
5332 [!__ASSUME_32BITUIDS]: Remove conditional code.
5333 * sysdeps/unix/sysv/linux/kernel-features.h
5334 (__ASSUME_SETRESUID_SYSCALL): Remove.
5335 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5336 (__ASSUME_32BITUIDS): Likewise.
5337 (__ASSUME_LDT_WORKS): Likewise.
5338 (__ASSUME_O_DIRECTORY): Likewise.
5339 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5340 architecture but not kernel version.
5341 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5342 (__ASSUME_MMAP2_SYSCALL): Likewise.
5343 (__ASSUME_STAT64_SYSCALL): Likewise.
5344 (__ASSUME_IPC64): Likewise.
5345 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5346 <kernel-features.h>.
5347 [__ASSUME_32BITUIDS]: Make code unconditional.
5348 [!__ASSUME_32BITUIDS]: Remove conditional code.
5349 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5350 <kernel-features.h>.
5351 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5352 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5353 132096]: Remove conditional code.
5354 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5355 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5356 <kernel-features.h>.
5357 [__ASSUME_32BITUIDS]: Make code unconditional.
5358 [!__ASSUME_32BITUIDS]: Remove conditional code.
5359 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5360 <kernel-features.h>.
5361 [__ASSUME_32BITUIDS]: Make code unconditional.
5362 [!__ASSUME_32BITUIDS]: Remove conditional code.
5363 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5364 <kernel-features.h>.
5365 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5366 unconditional.
5367 (__setresgid): Do not declare.
5368 [__ASSUME_32BITUIDS]: Make code unconditional.
5369 [!__ASSUME_32BITUIDS]: Remove conditional code.
5370 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5371 <kernel-features.h>.
5372 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5373 unconditional.
5374 (__setresuid): Do not declare.
5375 [__ASSUME_32BITUIDS]: Make code unconditional.
5376 [!__ASSUME_32BITUIDS]: Remove conditional code.
5377 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5378 <kernel-features.h>.
5379 [__ASSUME_32BITUIDS]: Make code unconditional.
5380 [!__ASSUME_32BITUIDS]: Remove conditional code.
5381 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5382 <kernel-features.h>.
5383 [__ASSUME_32BITUIDS]: Make code unconditional.
5384 [!__ASSUME_32BITUIDS]: Remove conditional code.
5385
a386f1cc
RH
53862012-05-25 Richard Henderson <rth@twiddle.net>
5387
5388 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5389 dl_hwcap to ifunc resolver.
5390 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5391 elf_ifunc_invoke.
5392 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5393 dl_hwcap to ifunc resolver.
5394 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5395
b6550497
JM
53962012-05-24 Joseph Myers <joseph@codesourcery.com>
5397
5398 [BZ #14153]
5399 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5400 for |x| <= 2**-26, not 2**-57.
5401 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5402 exception.
5403
b0bc23a1
JL
54042012-05-24 Jeff Law <law@redhat.com>
5405
5406 * stdio-common/Makefile (tests): Add bug25.
5407 * stdio-common/bug25.c: New test.
5408
347c92e9
L
54092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5410
5411 [BZ #13576]
5412 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5413 multiple of MALLOC_ALIGNMENT in size.
5414 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5415
6bcc8b3f
JM
54162012-05-24 Joseph Myers <joseph@codesourcery.com>
5417
5418 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5419 Require >= 256.
5420 (FILENAME_MAX): Use macro-int-constant.
5421 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5422 (_IOFBF): Use macro-int-constant.
5423 (_IOLBF): Likewise.
5424 (_IONBF): Likewise.
5425 (SEEK_CUR): Likewise.
5426 (SEEK_END): Likewise.
5427 (SEEK_SET): Likewise.
5428 (TMP_MAX): Likewise.
5429 (EOF): Use macro-int-constant. Require < 0.
5430 (NULL): Use macro-constant. Require == 0.
5431 (stdin): Require type to be FILE *.
5432 (stdout): Likewise.
5433 (stderr): Likewise.
5434 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5435 macro-int-constant.
5436 (EXIT_SUCCESS): Likewise.
5437 (NULL): Use macro-constant. Require == 0.
5438 (RAND_MAX): Use macro-int-constant.
5439 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5440 [C99-based standards] (strtof): Require function.
5441 [C99-based standards] (strtold): Likewise.
5442 [C99-based standards] (strtoll): Likewise.
5443 [C99-based standards] (strtoull): Likewise.
5444 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5445 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5446 [ISO || ISO99 || ISO11] (math.h): Likewise.
5447 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5448 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5449 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5450
d18ea0c5
AS
54512012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5452
5453 [BZ #14132]
56d25bb8
AS
5454 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5455 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5456 * intl/dgettext.c (DCGETTEXT): Likewise.
5457 * intl/gettext.c (DCGETTEXT): Likewise.
5458 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5459 * posix/regex_internal.h (gettext): Likewise.
5460 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5461 Remove declaration.
5462 * include/argz.h (__argz_count_internal)
5463 (__argz_stringify_internal): Remove declaration.
5464 (__argz_count, __argz_stringify): Declare hidden proto.
5465 * intl/dcgettext.c: Remove use of INTDEF.
5466 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5467 * string/argz-stringify.c: Likewise.
5468 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5469 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5470 Declare hidden proto.
d18ea0c5
AS
5471 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5472 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5473 Declare hidden proto.
5474 * include/stdio.h (__asprintf_internal): Don't declare.
5475 (__asprintf): Don't define as macro. Declare hidden proto.
5476 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5477 (__fsetlocking): Declare hidden proto.
5478 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5479 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5480 hidden proto.
5481 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5482 (_IO_setlinebuf): Remove use of INTUSE.
5483 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5484 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5485 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5486 Remove declaration.
5487 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5488 (_IO_do_flush): Remove use of INTUSE.
5489 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5490 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5491 (_IO_adjust_column, _IO_least_wmarker)
5492 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5493 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5494 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5495 (_IO_default_doallocate, _IO_wdefault_doallocate)
5496 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5497 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5498 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5499 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5500 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5501 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5502 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5503 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5504 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5505 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5506 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5507 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5508 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5509 proto.
5510 (_IO_flush_all_internal, _IO_adjust_column_internal)
5511 (_IO_default_uflow_internal, _IO_default_finish_internal)
5512 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5513 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5514 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5515 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5516 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5517 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5518 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5519 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5520 (_IO_file_close_internal, _IO_file_close_it_internal)
5521 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5522 (_IO_file_init_internal, _IO_file_attach_internal)
5523 (_IO_file_fopen_internal, _IO_file_read_internal)
5524 (_IO_file_sync_internal, _IO_file_seek_internal)
5525 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5526 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5527 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5528 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5529 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5530 (_IO_list_all_internal, _IO_link_in_internal)
5531 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5532 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5533 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5534 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5535 (_IO_do_write_internal, _IO_padn_internal)
5536 (_IO_getline_info_internal, _IO_getline_internal)
5537 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5538 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5539 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5540 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5541 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5542 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5543 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5544 with libc_hidden_ver, remove use of INTUSE.
5545 * libio/genops.c: Likewise.
5546 * libio/freopen.c: Likewise.
5547 * libio/freopen64.c: Likewise.
5548 * libio/iofclose.c: Likewise.
5549 * libio/iofdopen.c: Likewise.
5550 * libio/iofflush.c: Likewise.
5551 * libio/iofflush_u.c: Likewise.
5552 * libio/iofgets.c: Likewise.
5553 * libio/iofgets_u.c: Likewise.
5554 * libio/iofopen.c: Likewise.
5555 * libio/iofopncook.c: Likewise.
5556 * libio/iofread.c: Likewise.
5557 * libio/iofread_u.c: Likewise.
5558 * libio/ioftell.c: Likewise.
5559 * libio/iofwrite.c: Likewise.
5560 * libio/iogetline.c: Likewise.
5561 * libio/iogets.c: Likewise.
5562 * libio/iogetwline.c: Likewise.
5563 * libio/iopadn.c: Likewise.
5564 * libio/iopopen.c: Likewise.
5565 * libio/ioseekoff.c: Likewise.
5566 * libio/ioseekpos.c: Likewise.
5567 * libio/iosetbuffer.c: Likewise.
5568 * libio/iosetvbuf.c: Likewise.
5569 * libio/ioungetc.c: Likewise.
5570 * libio/ioungetwc.c: Likewise.
5571 * libio/iovdprintf.c: Likewise.
5572 * libio/iovsprintf.c: Likewise.
5573 * libio/iovsscanf.c: Likewise.
5574 * libio/memstream.c: Likewise.
5575 * libio/obprintf.c: Likewise.
5576 * libio/oldfileops.c: Likewise.
5577 * libio/oldiofclose.c: Likewise.
5578 * libio/oldiofdopen.c: Likewise.
5579 * libio/oldiofopen.c: Likewise.
5580 * libio/oldiopopen.c: Likewise.
5581 * libio/oldstdfiles.c: Likewise.
5582 * libio/putc.c: Likewise.
5583 * libio/setbuf.c: Likewise.
5584 * libio/setlinebuf.c: Likewise.
5585 * libio/stdfiles.c: Likewise.
5586 * libio/strops.c: Likewise.
5587 * libio/vasprintf.c: Likewise.
5588 * libio/vscanf.c: Likewise.
5589 * libio/vsnprintf.c: Likewise.
5590 * libio/vswprintf.c: Likewise.
5591 * libio/wfiledoalloc.c: Likewise.
5592 * libio/wfileops.c: Likewise.
5593 * libio/wgenops.c: Likewise.
5594 * libio/wmemstream.c: Likewise.
5595 * libio/wstrops.c: Likewise.
5596 * libio/__fpurge.c: Likewise.
5597 * libio/__fsetlocking.c: Likewise.
5598 * assert/assert.c: Likewise.
5599 * debug/fgets_chk.c: Likewise.
5600 * debug/fgets_u_chk.c: Likewise.
5601 * debug/fread_chk.c: Likewise.
5602 * debug/fread_u_chk.c: Likewise.
5603 * debug/gets_chk.c: Likewise.
5604 * debug/obprintf_chk.c: Likewise.
5605 * debug/vasprintf_chk.c: Likewise.
5606 * debug/vdprintf_chk.c: Likewise.
5607 * debug/vsnprintf_chk.c: Likewise.
5608 * debug/vsprintf_chk.c: Likewise.
5609 * malloc/mtrace.c: Likewise.
5610 * misc/error.c: Likewise.
5611 * misc/syslog.c: Likewise.
5612 * stdio-common/asprintf.c: Likewise.
5613 * stdio-common/fxprintf.c: Likewise.
5614 * stdio-common/getw.c: Likewise.
5615 * stdio-common/isoc99_fscanf.c: Likewise.
5616 * stdio-common/isoc99_scanf.c: Likewise.
5617 * stdio-common/isoc99_vfscanf.c: Likewise.
5618 * stdio-common/isoc99_vscanf.c: Likewise.
5619 * stdio-common/isoc99_vsscanf.c: Likewise.
5620 * stdio-common/printf-prs.c: Likewise.
5621 * stdio-common/printf_fp.c: Likewise.
5622 * stdio-common/printf_fphex.c: Likewise.
5623 * stdio-common/printf_size.c: Likewise.
5624 * stdio-common/putw.c: Likewise.
5625 * stdio-common/scanf.c: Likewise.
5626 * stdio-common/sprintf.c: Likewise.
5627 * stdio-common/tmpfile.c: Likewise.
5628 * stdio-common/vfprintf.c: Likewise.
5629 * stdio-common/vfscanf.c: Likewise.
5630 * stdlib/strfmon_l.c: Likewise.
5631 * sunrpc/openchild.c: Likewise.
5632 * sunrpc/xdr_stdio.c: Likewise.
5633 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5634 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5635
d6c33fda
RM
56362012-05-24 Roland McGrath <roland@hack.frob.com>
5637
c1487492
RM
5638 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5639
5640 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5641 in the third column, to generate for the shared library an IFUNC
5642 that uses _dl_vdso_vsym.
5643 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5644 * Makeconfig (object-suffixes-noshared): New variable.
5645
5646 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5647 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5648 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5649 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5650
d6c33fda
RM
5651 [BZ #14132]
5652 * include/sys/time.h (__gettimeofday): Remove macro.
5653 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5654 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5655 Remove INTDEF.
5656 (__gettimeofday): Add libc_hidden_def.
5657 (gettimeofday): Add libc_hidden_weak.
5658 * sysdeps/mach/gettimeofday.c: Likewise.
5659 * sysdeps/posix/gettimeofday.c: Likewise.
5660 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5661 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5662 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5663 (__gettimeofday_internal): Remove strong_alias.
5664 (__gettimeofday): Add libc_hidden_def.
5665 (gettimeofday): Add libc_hidden_weak.
5666 * sysdeps/unix/syscalls.list (gettimeofday):
5667 Remove __gettimeofday_internal alias.
5668
b5a2bbe6
L
56692012-05-24 Daniel Jacobowitz <drow@false.org>
5670 H.J. Lu <hongjiu.lu@intel.com>
5671
5672 [BZ #12495]
5673 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5674 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5675 (largebin_index_32_big): New.
5676 (largebin_index): Use it for 16-byte alignment.
5677 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5678 correction with front_misalign.
5679
cfba4fda
L
56802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5681
7f907421
L
5682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5684 Likewise.
5685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5686 Likewise.
5687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5688 Likewise.
5689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5690 Likewise.
5691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5692 Likewise.
5693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5694 Likewise.
5695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5696 Likewise.
5697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5698 Likewise.
5699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5700 Likewise.
5701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5702 Likewise.
5703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5704 Likewise.
5705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5706 Likewise.
5707
cfba4fda
L
5708 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5709 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5710
80bad0cc
JM
57112012-05-24 Joseph Myers <joseph@codesourcery.com>
5712
7a25eb06
JM
5713 [BZ #10846]
5714 [BZ #14036]
5715 * math/libm-test.inc (exp_test): Add test from bug 14036.
5716 (pow_test): Add test from bug 10846.
5717
795405f9
JM
5718 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5719 and other flags.
5720 (special_function): Do not include flags in test name.
5721 (parse_args): Likewise.
5722 * sysdeps/i386/fpu/libm-test-ulps: Update.
5723 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5724 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5725 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5727
80bad0cc
JM
5728 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5729 exceptions.
5730 * math/libm-test.inc ("Philosophy"): Update comment about
5731 exception testing.
5732 (UNDERFLOW_EXCEPTION): New macro.
5733 (UNDERFLOW_EXCEPTION_OK): Likewise.
5734 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5735 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5736 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5737 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5738 (INVALID_EXCEPTION_OK): Update value.
5739 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5740 (OVERFLOW_EXCEPTION_OK): Likewise.
5741 (IGNORE_ZERO_INF_SIGN): Likewise.
5742 (test_exceptions): Handle underflow exceptions.
5743 (acos_test): Update for underflow exception expectations.
5744 (cexp_test): Likewise.
5745 (clog_test): Likewise.
5746 (clog10_test): Likewise.
5747 (csqrt_test): Likewise.
5748 (ctan_test): Likewise.
5749 (ctanh_test): Likewise.
5750 (exp_test): Likewise.
5751 (exp10_test): Likewise.
5752 (exp2_test): Likewise.
5753 (expm1_test): Likewise.
5754 (fma_test): Likewise.
5755 (j0_test): Likewise.
5756 (jn_test): Likewise.
5757 (nexttoward_test): Likewise.
5758 (pow_test): Likewise.
5759 (scalbn_test): Likewise.
5760 (scalbln_test): Likewise.
5761 (tan_test): Likewise.
5762 (y1_test): Likewise.
5763 * sysdeps/i386/fpu/libm-test-ulps: Update.
5764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5765
9e0e3d0b
DM
57662012-05-23 David S. Miller <davem@davemloft.net>
5767
5768 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5769 (__libc_sigaction): Remove unused local variables.
5770
ccd0a08f
L
57712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5772
5773 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5774
62bdf9a6
PE
57752012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5776
f8591f80
PE
5777 mktime: avoid signed integer overflow
5778 * time/mktime.c (__mktime_internal): Do not mishandle the case
5779 where diff == INT_MIN.
5780
94c7d826
PE
5781 mktime: simplify computation of average
5782 * time/mktime.c (ranged_convert): Use new time_t_avg function
5783 instead of rolling our own (probably-slower) code.
5784
ce73d683
PE
5785 mktime: do not assume signed right shift propagates sign bit
5786 * time/mktime.c (isdst_differ): New static function.
5787 (__mktime_internal): No need to normalize tm_isdst now.
5788 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5789 tm_isdst values.
5790
72a22e59
PE
5791 mktime: merge another wrapv change from gnulib
5792 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5793 from some compilers.
5794
68605433
PE
5795 mktime: remove incorrect attempt at unusual arithmetics
5796 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5797 The code didn't really work on such machines anyway.
5798 (TYPE_MINIMUM): Assume two's complement.
5799 (twos_complement_arithmetic): Verify that long_int and time_t
5800 are two's complement (or unsigned, in the latter case).
5801
03cf7fe3
PE
5802 mktime: check signed shifts on long_int and time_t, too
5803 * time/mktime.c (SHR): Check that shifts work as desired
5804 on the types long_int and time_t too, as SHR is used on
5805 such types.
5806
f04dfbc2
PE
5807 mktime: do not assume 'long' is wide enough
5808 * time/mktime.c (verify): Move decl up.
5809 (long_int): New type.
5810 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5811 to remove assumption in the code that 'long' is wide enough to
5812 store year values. This assumption is not true on x32 and on
5813 some non-glibc platforms.
5814
62bdf9a6
PE
5815 mktime: merge wrapv change from gnulib
5816 * time/mktime.c (WRAPV): New macro.
5817 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5818 (guess_time_tm, __mktime_internal): Do not assume that signed
5819 integer overflow wraps around; modern compilers generate code
5820 where this assumption is no longer valid.
5821
5e292e4f
L
58222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5823
5824 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5825 Replace "jmp L(pseudo_end)" with "ret".
5826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5827 Likewise.
5828
8caf8c87
AJ
58292012-05-23 Andreas Jaeger <aj@suse.de>
5830
5831 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5832 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5833
1a09dc56
AJ
58342012-05-23 Andreas Jaeger <aj@suse.de>
5835 Maximilian Attems <max@stro.at>
5836
5837 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5838 New macros.
5839
1c87aba0
L
58402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5841
5842 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5843 code so that pseudo_end is just ret and the stack pointer is
5844 correct also for static library in error case.
5845
40e45bd5
JM
58462012-05-23 Joseph Myers <joseph@codesourcery.com>
5847
c2670533
JM
5848 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5849 move to syscalls.list.
5850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5854
40e45bd5
JM
5855 * manual/install.texi (Running make install): Do not mention Linux
5856 kernel version for which pt_chown is not needed.
5857 (Linux): Do not mention problems with nscd with 2.0 kernels.
5858 * INSTALL: Regenerated.
5859
be08eda5
AJ
58602012-05-23 Andreas Jaeger <aj@suse.de>
5861
5862 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5863 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5864 macro.
5865 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5866 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5867 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5868 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5869 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5870 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5871 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5872 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5873 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5874 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5875 * sysdeps/unix/sysv/linux/bits/in.h
5876 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5877
a6a056bb
RM
58782012-05-22 Roland McGrath <roland@hack.frob.com>
5879
5880 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5881 (PREPARE_VERSION): Just use assert instead, it will be elided
5882 under [NDEBUG] anyway.
5883
c9009328
L
58842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5885
5886 * sysdeps/unix/sysv/linux/Makefile: Include
5887 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5888 (sysdep_routines): Remove sysctl.
c9009328
L
5889 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5890 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5891 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5892 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5893 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5894
73338355
AJ
58952012-05-22 Andreas Jaeger <aj@suse.de>
5896
5897 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5898 that pseudo_end is just ret and the stack pointer is correct also
5899 for static library in error case.
5900
d44638b0
PP
59012012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5902
5903 [BZ #14122]
5904 * nss/nsswitch.c (defconfig_entries): New variable.
5905 (__nss_database_lookup): Don't leak defconfig entries.
5906 (nss_parse_service_list): Don't leak on error paths.
5907 (free_database_entries): New function.
5908 (free_defconfig): New function.
5909 (free_mem): Move common code to free_database_entries.
5910
31a39bd8
L
59112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5912
da0331a8
L
5913 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5914 Add arch_prctl.
5915 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5916
31a39bd8
L
5917 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5918 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5920 New macro.
5921 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5922 (INTERNAL_SYSCALL_TYPES): Likewise.
5923 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5924 (LOAD_REGS_TYPES_[1-6]): Likewise.
5925 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5926 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5927
45470df3
AZ
59282012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5929
5930 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5931 copysignl for GLIBC_2_0.
5932 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5933 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5934 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5935 logbl for GLIBC_2_0.
5936 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5937 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5938
98a61bcb
L
59392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5940
a4f6e481
L
5941 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5942 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5943
f63d5db6
L
5944 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5945 Use "neg %eax".
5946
98a61bcb
L
5947 * time/mktime.c: Update copyright years.
5948
95770f14
PE
59492012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5950
6226efbd
PE
5951 mktime: merge comment-quoting-style change from gnulib
5952 * time/mktime.c: Quote 'like this' in comments.
5953 The GNU coding standards suggest that we no longer quote `like this',
5954 as "`" and "'" are typically rendered asymmetrically nowadays.
5955 The typical gnulib style is to quote 'like this' when quoting
5956 code, and "like this" when quoting English.
5957
b99e4f78
PE
5958 * time/mktime.c (compile-command): Add "-I.".
5959
643e01e6
PE
5960 mktime: merge mktime-internal.h change from gnulib
5961 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5962
2554247d
PE
5963 mktime: merge time_r change from gnulib
5964 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5965
826dd0ab
PE
5966 mktime: merge DEBUG change from gnulib
5967 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5968 case system <time.h> has a #define.
5969
bd83aabe
PE
5970 mktime: merge <sys/types.h> change from gnulib
5971 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5972 since <time.t> is now guaranteed to define time_t.
5973
95770f14
PE
5974 mktime: merge HAVE_CONFIG_H change from gnulib
5975 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5976
5e1a27a9
L
59772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5978
0e44a77e
L
5979 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5980 Use "neg %eax".
5981
5e1a27a9
L
5982 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5983 __rlim_t cast.
5984 (struct rusage): Use anonymous union to pad each field to
5985 __syscall_slong_t.
5986
46259bec
DM
59872012-05-21 David S. Miller <davem@davemloft.net>
5988
5989 * Makefules (o-iterator): Remove .s cases.
5990 (compile-command.s): Delete.
5991 (COMPILE.s): Delete.
5992 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5993
59f0c22e
JM
59942012-05-21 Joseph Myers <joseph@codesourcery.com>
5995
5996 * configure.in (libc_cv_predef_stack_protector): Only consider
5997 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5998 * configure: Regenerated.
5999
20c07380
L
60002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6001
bbb3154b
L
6002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6003 New macro. Use R*LP on int and pointer.
6004 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
6005 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6006 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
6007 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6008
20c07380
L
6009 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6010 [__WORDSIZE_TIME64_COMPAT32] instead of
6011 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6012 (struct utmp): Likewise.
6013 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6014 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6015 Renamed to ...
6016 (__WORDSIZE_TIME64_COMPAT32): This.
6017 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6018 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6019 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6020 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6021 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6022 (__WORDSIZE_TIME64_COMPAT32): New macro.
6023
d8d1017e
AJ
60242012-05-21 Andreas Jaeger <aj@suse.de>
6025
6026 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6027 only if [SHARED]. Add prototype for __wcschr_ia32.
6028
6c7fb145
RM
60292012-05-21 Roland McGrath <roland@hack.frob.com>
6030
6031 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6032 of %rbp unmolested in the jmp_buf while mangling the low bits.
6033 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6034 unmolested high bits of %rbp while demangling the low bits.
6035 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6036
66274218
AJ
60372012-05-21 Andreas Jaeger <aj@suse.de>
6038
07c58f8f
AJ
6039 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6040 * sunrpc/svc_simple.c: Use it for registerrpc.
6041 * sunrpc/xcrypt.c: Use it for passwd2des.
6042
66274218
AJ
6043 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6044
61f65140
L
60452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6046
6047 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6048 Don't define if [__SYSCALL_WORDSIZE != 32].
6049 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6050 New macro.
6051
5fefb436
AJ
60522012-05-21 Bruno Haible <bruno@clisp.org>
6053 Andreas Jaeger <aj@suse.de>
6054
6055 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6056 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6057 inptr and inend for must_buffer_ch.
6058 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6059 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6060 * stdio-common/Makefile (tests): Remove bug15.
6061 (bug15-ENV): Remove macro.
6062 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6063 anymore.
6064
d8e272ab
AJ
60652012-05-19 Andreas Jaeger <aj@suse.de>
6066 Roland McGrath <roland@hack.frob.com>
6067
6068 * manual/contrib.texi: Completely rewritten. It contains now an
6069 alphabetical list of contributors and their contributions.
6070
4a56a162
RH
60712012-05-21 Richard Henderson <rth@twiddle.net>
6072
6073 * misc/getauxval.c (__getauxval): Use unsigned long int.
6074 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6075 (getauxval): Use unsigned long int.
6076
d024d23c
L
60772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6078
6079 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6080
cbc00a03
RM
60812012-05-21 Roland McGrath <roland@hack.frob.com>
6082
6083 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6084 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6085 __alignof__ (long double).
6086
478143fa
AZ
60872012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6088
6089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6090
c7683a6d
RH
60912012-05-20 Richard Henderson <rth@twiddle.net>
6092
6093 * misc/getauxval.c: New file.
6094 * misc/sys/auxv.h: New file.
6095 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6096 (routines): Add getauxval.
6097 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6098 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6099 * elf/dl-sysdep.c (_dl_auxv): Remove.
6100 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6101 * elf/dl-support.c (_dl_auxv): New variable.
6102 (_dl_aux_init): Initialize it.
6103 * manual/startup.texi (Auxiliary Vector): New node.
6104 * sysdeps/generic/bits/hwcap.h: New file.
6105 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6106 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6107 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6108 * sysdeps/sparc/sysdep.h: ... here. Include it.
6109 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6110 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
6111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6112 Update.
c7683a6d
RH
6113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6116 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6121
a6f1845d
AZ
61222012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6123
6124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6125
cbcbe830
DM
61262012-05-19 David S. Miller <davem@davemloft.net>
6127
6128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6129
e0b16cc2
JM
61302012-05-19 Joseph Myers <joseph@codesourcery.com>
6131
6132 [BZ #14123]
6133 * math/s_ccosh.c: Include <float.h>
6134 (__ccosh): Avoid internal overflow calculating sinh and cosh
6135 values before multiplying by sin and cos values.
6136 * math/s_ccoshf.c: Likewise.
6137 * math/s_ccoshl.c: Likewise.
6138 * math/s_csin.c: Likewise.
6139 * math/s_csinf.c: Likewise.
6140 * math/s_csinl.c: Likewise.
6141 * math/s_csinh.c: Likewise.
6142 * math/s_csinhf.c: Likewise.
6143 * math/s_csinhl.c: Likewise.
6144 * math/libm-test.inc (ccos_test): Add more tests.
6145 (ccosh_test): Likewise.
6146 (csin_test): Likewise.
6147 (csinh_test): Likewise.
6148 * sysdeps/i386/fpu/libm-test-ulps: Update.
6149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6150
6ad13e08
L
61512012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6152
f66f0ce8
L
6153 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6154 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6155
6ad13e08
L
6156 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6157
b1d072a7
JM
61582012-05-19 Joseph Myers <joseph@codesourcery.com>
6159
6160 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6161 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6162 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6163 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6164 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6165 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6166 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6167 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6168 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6169 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6170 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6171 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6172 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6173 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6174 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6175 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6176 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6177 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6178 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6179 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6180 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6181 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6182 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6183 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6184 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6185 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6186 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6187 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6188 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6189 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6190 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6191
9eae47cb
AJ
61922012-05-18 Andreas Jaeger <aj@suse.de>
6193
6194 * csu/.gitignore: Delete.
6195
bb07f69f
L
61962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6197
6198 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6199 (timex): Use __syscall_slong_t.
6200
e6bdb741
AJ
62012012-05-18 Andreas Jaeger <aj@suse.de>
6202 Carlos O'Donell <carlos_odonell@mentor.com>
6203
6204 * manual/install.texi (Configuring and compiling): Update
6205 description about files modified in the source directory.
d6c33fda 6206 * INSTALL: Regenerated.
e6bdb741 6207
1b74487e
L
62082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6209
6210 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6211 value. Use "or" to set return value to -1.
6212 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6213 negate return value.
6214
a88b64b9
TMQMF
62152012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6216
6217 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6218 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6219 failure if the compiler has Graphite support disabled.
6220 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6221 Likewise.
6222 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6223 CFLAGS-memmove.c): Likewise.
6224 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6225 Likewise.
6226
3707636e
L
62272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6228
610b8622
L
6229 * sysdeps/x86_64/x32/_itoa.h: New file.
6230
7cd195df
L
6231 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6232 getdents system call only if kernel and user dirents have the
6233 same d_ino and d_off.
6234
94b07d20
L
6235 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6236 LLONG_MAX != LONG_MAX.
6237 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6238 (_fitoa_word): Likewise.
6239
18298070
L
6240 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6241 years.
6242 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6243 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6244 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6245
553c7ea4
L
6246 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6247 include <bits/wordsize.h>. Check __x86_64__ instead of
6248 __WORDSIZE.
6249 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6250 if __x86_64__ is defined. Use anonymous union on fpstate.
6251
3707636e
L
6252 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6253 anonymous union.
6254
b53ef01a
AS
62552012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6256
37fb1dc0
AS
6257 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6258 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6259 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6260 Refer to _rtld_local_ro instead of _rtld_global_ro.
6261 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6262 Likewise.
6263 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6264 Likewise.
6265 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6266 Likewise.
6267 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6268 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6269 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6270
b53ef01a
AS
6271 * sysdeps/powerpc/powerpc32/dl-machine.c
6272 (__elf_machine_runtime_setup) [PROF]: Don't reference
6273 _dl_prof_resolve.
6274
7a185db2
AJ
62752012-05-18 Andreas Jaeger <aj@suse.de>
6276
6277 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6278 function only available for GCCs before 3.4 since GCC 3.4
6279 introduced a builtin.
6280 (lrint): Likewise.
6281 (llrintf): Likewise.
6282 (llrint): Likewise.
6283 (fmaxf): Likewise.
6284 (fmax): Likewise.
6285 (fminf): Likewise.
6286 (fmin): Likewise.
6287 (rint): Likewise.
6288 (rintf): Likewise.
6289 (nearbyint): Likewise.
6290 (nearbyintf): Likewise.
6291 (ceil): Likewise.
6292 (ceilf): Likewise.
6293 (floor): Likewise.
6294 (floorf): Likewise.
6295
3e5aef87
L
62962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6297
428bd707
L
6298 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6299 on both fields and cast pointer to __syscall_ulong_t.
6300
3e5aef87
L
6301 * bits/types.h (__fsword_t): New type.
6302 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6303 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6304 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6305 (__FSWORD_T_TYPE): Likewise.
6306 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6307 (__FSWORD_T_TYPE): Likewise.
6308 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6309 (__FSWORD_T_TYPE): Likewise.
6310 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6311 (__FSWORD_T_TYPE): Likewise.
6312 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6313 __SWORD_TYPE with __fsword_t.
6314 (statfs64): Likewise.
6315
1ba7c3dc
DM
63162012-05-17 David S. Miller <davem@davemloft.net>
6317
6318 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6319
59910343
AJ
63202012-05-17 Andreas Jaeger <aj@suse.de>
6321
6322 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6323 warning.
6324
2e4c1e9e
L
63252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6326
6327 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6328
de7f5ce7
AJ
63292012-05-17 Andreas Jaeger <aj@suse.de>
6330
6331 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6332 when it is used.
6333
286abc3d
CM
63342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6335
6336 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6337
477cc68e
L
63382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6339
6340 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6341 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6342
1a0994f5
CD
63432012-05-17 Andreas Jaeger <aj@suse.de>
6344 Carlos O'Donell <carlos_odonell@mentor.com>
6345
6346 [BZ #14059]
6347 * sysdeps/x86_64/multiarch/init-arch.h
6348 (bit_YMM_Usable): Rename to...
6349 (bit_AVX_Usable): ... this.
6350 (bit_FMA4_Usable): New macro.
6351 (bit_XMM_state): New macro.
6352 (bit_YMM_state): New macro.
6353 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6354 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6355 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6356 (CPUID_OSXSAVE): New macro.
6357 (CPUID_AVX): New macro.
6358 (CPUID_FMA4): New macro.
6359 (index_YMM_Usable): Rename to...
6360 (index_AVX_Usable): ... this.
6361 (HAS_AVX): Use HAS_ARCH_FEATURE.
6362 (HAS_FMA4): Likewise.
6363 (HAS_YMM_USABLE): Remove.
6364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6365 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6366 are present.
6367 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6368 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6369 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6370 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6371 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6372
0af797de
CM
63732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6374
6375 * math/libm-test.c: Support platforms without multiple rounding modes.
6376 * math/bug-nextafter.c: Support platforms without FP exceptions.
6377 * math/bug-nexttoward.c: Likewise.
6378 * math/test-fenv.c: Likewise.
6379 * math/test-misc.c: Likewise.
6380 * stdlib/bug-getcontext.c: Likewise.
6381
e39745ff
AJ
63822012-05-17 Andreas Jaeger <aj@suse.de>
6383
6384 * manual/examples/search.c (critter_cmp): Change signature to
6385 avoid warnings.
6386 * manual/string.texi (Collation Functions): Likewise.
6387
48970aba
L
63882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6389
6390 * bits/types.h: Fold copyright years.
6391 * bits/typesizes.h: Likewise.
6392 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6393 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6394 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6395 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6396 * time/time.h: Likewise.
6397
bedee953
PP
63982012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6399
6400 [BZ #208]
6401 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6402 in instead of returning them. Return void.
6403 (__libc_mallinfo): Accumulate over all arenas.
6404 (__malloc_stats): Adjust for change in int_mallinfo interface.
6405
61653dfb
RM
64062012-05-16 Roland McGrath <roland@hack.frob.com>
6407
30b99d79
RM
6408 [BZ #10375]
6409 * configure.in (NM): Add AC_CHECK_TOOL for it.
6410 (libc_extra_cflags): New substituted variable.
6411 Check for -fstack-protector being used implicitly.
6412 * configure: Regenerated.
6413 * config.make.in (config-extra-cflags): New variable,
6414 gets @libc_extra_cflags@.
6415 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6416
61653dfb
RM
6417 [BZ #10375]
6418 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6419 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6420 * configure: Regenerated.
6421 * config.make.in (CPPUNDEFS): New substituted variable.
6422 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6423 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6424 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6425
661768bb
L
64262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6427
6428 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6429 (mq_attr): Use __syscall_slong_t.
6430
d4261567
L
64312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6432
6433 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6434 Check __x86_64__ instead of __WORDSIZE.
6435 (_STAT_VER_LINUX): Likewise.
6436 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6437 __syscall_ulong_t and __syscall_slong_t.
6438 (stat64): Likewise.
6439
cf3ff365
L
64402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6441
6442 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6443
76cf3e4d
L
64442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6445
6446 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6447
a637753a
L
64482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6449
6450 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6451 __syscall_ulong_t.
6452
d5e05119
L
6453 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6454 include <bits/wordsize.h>. Check __x86_64__ instead of
6455 __WORDSIZE.
6456 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6457 defined.
6458 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6459
f62ee380
L
6460 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6461 include <bits/wordsize.h>. Check __x86_64__ instead of
6462 __WORDSIZE.
6463 (user_regs_struct): Use "__extension__ unsigned long long"
6464 instead of "unsigned long" if __x86_64__ is defined.
6465 (user): Likewise. Pad after pointer field if __ILP32__ is
6466 defined.
6467
4e124ced
JM
64682012-05-16 Joseph Myers <joseph@codesourcery.com>
6469
6a3951a0
JM
6470 * configure.in (makeinfo): Require version 4.5 or later. Allow
6471 versions 5 to 9.
6472 * configure: Regenerated.
6473 * manual/install.texi (texinfo): Increase version requirement to
6474 4.5 or later.
6475 * INSTALL: Regenerated.
6476
4e124ced
JM
6477 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6478
953ca31a
L
64792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6480
6481 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6482
617aca05
L
6483 * sysdeps/x86_64/x32/ffs.c: New file.
6484
5762f7ae
L
6485 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6486 __syscall_ulong_t.
6487 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6488 defined. Use __syscall_ulong_t.
6489 (shminfo): Use __syscall_ulong_t.
6490 (shm_info): Likewise.
6491
a26b6856
L
6492 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6493 __syscall_ulong_t.
6494
cb2b9ef7
L
6495 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6496 <bits/wordsize.h>.
6497 (msgqnum_t): Use __syscall_ulong_t.
6498 (msglen_t): Likewise.
6499 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6500 __syscall_ulong_t.
6501
34683bb0
L
6502 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6503 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6504
84a68786
L
6505 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6506
48baa5f1
L
6507 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6508 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6509
180be88b
L
6510 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6511 __syscall_slong_t.
6512
5e90c8ad
L
6513 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6514 include <bits/wordsize.h>. Check __x86_64__ instead of
6515 __WORDSIZE.
6516
23dfb58b
L
6517 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6518 "unsigned long long int" if __x86_64__ is defined.
6519 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6520
ce5d54b0
L
6521 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6522 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6523 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6524
13dc9eac
L
6525 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6526 <stdint.h>.
6527 (GET_PC): Cast to uintptr_t first.
6528 (GET_FRAME): Likewise.
6529 (GET_STACK): Likewise.
6530
a7895d15
L
6531 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6532 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6533 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6534 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6535 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6536 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6537 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6538 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6539 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6540 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6541 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6542 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6543 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6544 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6545 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6546 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6547 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6548 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6549 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6550 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6551 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6552 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6553 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6554 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6555 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6556 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6557 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6558 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6559 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6560
656416c9
AS
65612012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6562
5bd66283
AS
6563 * Makerules (+depfiles): Also collect depfiles from .oS in
6564 $(extra-objs).
6565 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6566 .oS, $(libnldbl-routines)).
6567
656416c9
AS
6568 * Makerules (native-compile-mkdep-flags): Define.
6569 * sunrpc/Makefile (extra-objs): Add $(addprefix
6570 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6571 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6572 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6573 calling $(make-target-directory).
6574
a46f2169
L
65752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6576
6577 * bits/types.h (__snseconds_t): Removed.
6578 * time/time.h (struct timespec): Replace __snseconds_t with
6579 __syscall_slong_t.
6580 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6581 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6582 Likewise.
6583 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6584 (__SNSECONDS_T_TYPE): Likewise.
6585 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6586 (__SNSECONDS_T_TYPE): Likewise.
6587 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6588 (__SNSECONDS_T_TYPE): Likewise.
6589
6af6528b
L
65902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6591
6592 * sysdeps/mach/hurd/bits/typesizes.h
6593 (__SYSCALL_SLONG_TYPE): New macro.
6594 (__SYSCALL_ULONG_TYPE): Likewise.
6595
de986b56
L
65962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6597
6598 * bits/types.h (__syscall_slong_t): New type.
6599 (__syscall_ulong_t): Likewise.
6600
6601 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6602 (__SYSCALL_ULONG_TYPE): Likewise.
6603 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6604 (__SYSCALL_SLONG_TYPE): Likewise.
6605 (__SYSCALL_ULONG_TYPE): Likewise.
6606 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6607 (__SYSCALL_SLONG_TYPE): Likewise.
6608 (__SYSCALL_ULONG_TYPE): Likewise.
6609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6610 (__SYSCALL_SLONG_TYPE): Likewise.
6611 (__SYSCALL_ULONG_TYPE): Likewise.
6612
85736dc7
L
66132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6614
6615 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6616 Add sigaltstack-offsets.sym.
6617 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6618 <sigaltstack-offsets.h>.
6619 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6620 longjmp_msg pointer.
6621 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6622 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6623 signal stack.
6624 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6625
cc03b296
JM
66262012-05-15 Joseph Myers <joseph@codesourcery.com>
6627
a9538892
JM
6628 * elf/stackguard-macros.h: Remove file.
6629 * sysdeps/generic/stackguard-macros.h: New file.
6630 * sysdeps/i386/stackguard-macros.h: Likewise.
6631 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6632 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6633 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6634 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6635 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6636 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6637 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6638 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6639 <elf/stackguard-macros.h>.
6640
cc03b296
JM
6641 [BZ #14109]
6642 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6643 __aligned__ in attribute.
6644 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6645 (gregset_t): Likewise.
6646
93171016
L
66472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6648
6649 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6650 * sysdeps/x86_64/64/Implies-after: Here. New file.
6651 * sysdeps/x86_64/x32/Implies-after: New file.
6652
d86813a0
L
66532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6654
6655 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6656 and access return value for _dl_profile_fixup. Use R10_LP to
6657 load frame size.
6658
2953ec75
L
66592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6660
6661 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6662
3b550e9e
L
66632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6664
6665 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6666 * sysdeps/x86_64/x32/sysdep.h: New file.
6667
eda41706
L
66682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6669
6670 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6671 * sysdeps/x86_64/setjmp.S: Likewise.
6672
9ea01d93
AZ
66732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6674
6675 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6676 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6677 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6678 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6679 remove unused global constant.
6680
02a91938
CM
66812012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6682
6683 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6684 include of <not-cancel.h>.
6685
6540185f
RM
66862012-05-15 Roland McGrath <roland@hack.frob.com>
6687
6688 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6689
509072a0
AJ
66902012-05-15 Jeff Law <law@redhat.com>
6691 Andreas Jaeger <aj@suse.de>
6692
6693 [BZ #13594]
6694 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6695 out from...
6696 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6697 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6698 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6699 code changing __hst_map_handle.map.
6700
ba75122d
RM
67012012-05-15 Roland McGrath <roland@hack.frob.com>
6702
6703 * configure.in (sysnames): Look for Implies-before and Implies-after
6704 files.
6705 * configure: Regenerated.
6706
890d8bd8
L
67072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6708
6709 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6710 8-byte data alignment with LP_SIZE alignment.
6711
f6ee6623
L
67122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6713
6714 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6715 into R10_LP.
6716
ea2626f6
L
67172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6718
6719 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6720
085f715e
L
67212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6722
6723 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6724 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6725 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6726 Likewise.
6727 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6728
be8498fc
L
67292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6730
6731 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6732 (stackinfo_sub_sp): Likewise.
6733
70bc83b9
L
67342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6735
6736 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6737 RAX_LP.
6738
9bc0b730
L
67392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6740
6741 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6742 into R*_LP.
6743
6d2850e7
L
67442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6745
6746 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6747 sizes into R*_LP.
6748
3cb84561
L
67492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6750
6751 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6752
54e2ed81
L
67532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6754
6755 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6756 into R11_LP and load __x86_64_shared_cache_size_half into
6757 R8_LP.
6758
8a17f349
L
67592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6760
6761 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6762 R8_LP.
6763
777b1eea
AZ
67642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6765
6766 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6767 logb for POWER7.
6768 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6769 logbf for POWER7.
6770 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6771 logbl for POWER7.
6772 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6773 powerpc32/power7/fpu/s_logb.c via #include.
6774 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6775 powerpc32/power7/fpu/s_logbf.c via #include.
6776 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6777 powerpc32/power7/fpu/s_logbl.c via #include.
6778
d20d4ac2
JM
67792012-05-15 Joseph Myers <joseph@codesourcery.com>
6780
6781 * README.libm: Remove file.
6782
6cdef1ab
L
67832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6784
6785 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6786 count for x32. Use R*_LP and omit operand-size suffix.
6787
0b254d8f
L
67882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6789
6790 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6791 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6792 * sysdeps/x86_64/x32/shlib-versions: New file.
6793
ceb809dc
RM
67942012-05-14 Roland McGrath <roland@hack.frob.com>
6795
6796 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6797 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6798 Use _dl_fatal_printf instead.
6799
37f1abd4
JM
68002012-05-14 Joseph Myers <joseph@codesourcery.com>
6801
6802 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6803 set if not set by the user. Do not allow for being unset.
6804 * sysdeps/unix/sysv/linux/configure: Regenerated.
6805
11de3a33
L
68062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6807
6808 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6809 the `q' suffix from lea and replace .quad with ASM_ADDR.
6810
e02f153a
L
68112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6812
6813 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6814 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6815 instead of $17.
6816 (PTR_DEMANGLE): Likewise.
6817
520ae0fd
L
68182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6819
6820 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6821 (LP_OP): Likewise.
6822 (ASM_ADDR): Likewise.
6823 (RAX_LP): Likewise.
6824 (RBP_LP): Likewise.
6825 (RBX_LP): Likewise.
6826 (RCX_LP): Likewise.
6827 (RDI_LP): Likewise.
6828 (RSI_LP): Likewise.
6829 (RSP_LP): Likewise.
6830 (R8_LP): Likewise.
6831 (R9_LP): Likewise.
6832 (R10_LP): Likewise.
6833 (R10_LP): Likewise.
6834 (R11_LP): Likewise.
6835 (R12_LP): Likewise.
6836 (R13_LP): Likewise.
6837 (R14_LP): Likewise.
6838 (R15_LP): Likewise.
6839
b985be81
L
68402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6841
6842 * sysdeps/x86_64/x32/dl-machine.h: New file.
6843
6a4888ff
AJ
68442012-05-14 Andreas Jaeger <aj@suse.de>
6845
6846 * manual/Makefile (subdir): Remove export of subdir.
6847 (all): Remove target.
6848 (.PHONY): Remove all from list.
6849 (mkinstalldirs): Remove.
6850 (.PHONY): Remove installdirs from list.
6851 ($(inst_infodir)/libc.info): Use make-target-directory.
6852 (installdirs): Remove.
6853 (subdir_%): Remove.
6854 (glibc-targets): Remove.
6855 (lib): Remove.
6856 (stubs): Remove.
6857 ($(objpfx)stubs ../po/manual.pot): Remove.
6858 ($(objpfx)stamp%): Remove.
6859 (make-target-directory): Remove.
6860 (subdir_install): Remove.
6861 (routines): Remove.
6862 (aux): Remove.
6863 (sources): Remove.
6864 (objects): Remove.
6865 (headers): Remove.
6866
6867 [BZ #13750]
6868 * manual/.gitignore: Remove, it's not needed anymore.
6869 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6870 all files in it.
6871 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6872 directory.
6873 (texis): Renamed to $(objpfx)texis.
6874 (texis-path): New, contains path to generated files.
6875 (chapters.%): Use texis-path for complete path, add extra argument
6876 libc-texinfo.sh.
6877 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6878 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6879 (summary,texi, stamp-summary): Use complete path of
6880 files. Generate files in build dir.
6881 (dir-add.texi): Build in build dir.
6882 (libm-err.texi,stamp-libm-err): Likewise.
6883 (version.texi, stamp-version): Likewise.
6884 (.%c.texi): Likewise.
6885 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6886 (mostlyclean): Remove target.
6887 (realclean): Remove target.
6888 (generated): Add new variable with contents from mostlyclean and
6889 realclean, remove entries duplicated in common-mostlyclean, add
6890 stamp-libm-err and stamp-version.
6891 (generated-dirs): Add libc directory.
6892 ($(inst_infodir)/libc.info): Install files from build dir.
6893
6894 * manual/install.texi (Configuring and compiling): Adjust since
6895 the info files are not part of the tar ball anymore.
6896
7ac77294
AJ
68972012-05-14 Andreas Jaeger <aj@suse.de>
6898
6899 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6900 variable.
6901
ffb7875d
JM
69022012-05-14 Joseph Myers <joseph@codesourcery.com>
6903
6904 [BZ #13717]
6905 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6906 to 2.2.0 where earlier.
6907 * sysdeps/unix/sysv/linux/configure: Regenerated.
6908 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6909 Remove conditional code.
6910 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6911 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6912 Remove conditional code.
6913 [!__NR_lchown]: Likewise.
6914 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6915 [__NR_lchown]: Likewise.
6916 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6917 comment referencing __ASSUME_LCHOWN_SYSCALL.
6918 * sysdeps/unix/sysv/linux/i386/sigaction.c
6919 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6920 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6921 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6922 Remove conditional code.
6923 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6924 (__protocol_available): Remove #if 0 code.
6925 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6926 conditional code.
6927 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6928 * sysdeps/unix/sysv/linux/kernel-features.h
6929 (__ASSUME_GETCWD_SYSCALL): Don't define.
6930 (__ASSUME_REALTIME_SIGNALS): Likewise.
6931 (__ASSUME_PREAD_SYSCALL): Likewise.
6932 (__ASSUME_PWRITE_SYSCALL): Likewise.
6933 (__ASSUME_POLL_SYSCALL): Likewise.
6934 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6935 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6936 non-SPARC.
6937 (__ASSUME_SIOCGIFNAME): Don't define.
6938 (__ASSUME_MSG_NOSIGNAL): Likewise.
6939 (__ASSUME_SENDFILE): Define unconditionally.
6940 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6941 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6942 conditional code.
6943 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6944 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6945 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6946 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6947 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6948 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6949 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6951 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6952 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6954 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6955 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6957 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6958 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6960 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6961 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6963 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6964 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6966 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6967 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6969 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6970 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6972 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6973 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6974 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6975 Remove conditional code.
6976 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6977 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6978 Remove conditional code.
6979 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6980 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6981 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6982 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6983 Remove conditional code.
6984 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6985 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6986 Remove conditional code.
6987 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6988 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6989 Remove conditional code.
6990 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6991 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6992 Remove conditional code.
6993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6994 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6995 Remove conditional code.
6996 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6997 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6998 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7000 * sysdeps/unix/sysv/linux/sigaction.c
7001 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7002 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7003 * sysdeps/unix/sysv/linux/sigpending.c
7004 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7005 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7006 * sysdeps/unix/sysv/linux/sigprocmask.c
7007 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7008 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7009 * sysdeps/unix/sysv/linux/sigsuspend.c
7010 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7011 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7012 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7013 (__libc_missing_rt_sigs): Remove.
7014 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7015 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7016 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7017 Remove conditional code.
7018 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7019 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7020 return 1.
7021 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7022 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7023 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7024 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7025
1bfb7291
AJ
70262012-05-14 Andreas Jaeger <aj@suse.de>
7027
caae5a81
AJ
7028 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7029 it's not used in glibc.
7030 (__coshm1): Likewise.
7031 (__acosh1p): Likewise.
7032 (__sgn): Likewise.
7033
1bfb7291
AJ
7034 * manual/string.texi (Copying and Concatenation): Add missing
7035 variable in concat example.
7036 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7037
c044d724
L
70382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7039
144c5467 7040 [BZ #14103]
c044d724
L
7041 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7042 __builtin_clzl with __builtin_clzll.
7043
2523c62b
L
70442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7045
7046 [BZ #14104]
7047 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7048 libc_freeres_ptr.
7049
d7bb4c42
LD
70502012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7051
7052 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7053 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7054 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7055 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7056
9dc4e1fb
MF
70572012-05-14 Mike Frysinger <vapier@gentoo.org>
7058
7059 * NEWS: Update ia64 info.
7060
c7df0112
AS
70612012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7062
7063 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7064 used as bcopy.
7065
dc70356c
TS
70662012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7067
7068 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7069 * sysdeps/unix/syscalls.list (dup3): Likewise.
7070 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7071 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7072
9fb1a21f
L
70732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7074
7075 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7076 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7077
4822a2a5
L
70782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7079
7080 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7081 thread pointer.
7082 (TLS_IE): Use mov/add instead of movq/addq to load thread
7083 pointer.
7084 (TLS_GD_PREFIX): New.
7085 (TLS_GD): Use it.
7086
842b81d6
DM
70872012-05-11 David S. Miller <davem@davemloft.net>
7088
7089 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7090 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7091 (_FPU_SETCW): Likewise.
7092
1cf463cd
L
70932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7094
7095 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7096 is 32-byte aligned.
7097
60cc4a18
AS
70982012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7099
7100 [BZ #11837]
7101 * iconvdata/gb18030.c: Update tables.
7102 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7103 characters specially.
7104 (BODY for TO_LOOP): Add encoding of missing ranges.
7105
febb44a4
TS
71062012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7107
7108 [BZ #13673]
7109 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7110 * sysdeps/mach/hurd/dup3.c: Likewise.
7111 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7112 * sysdeps/powerpc/memmove.c:: Likewise.
7113
0a10fb9e
L
71142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7115
7116 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7117 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7118
df8a552f
L
71192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7120
7121 * elf/elf.h (R_X86_64_RELATIVE64): New.
7122 (R_X86_64_NUM): Updated.
7123 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7124 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7125 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7126 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7127 tst-quad1pie tst-quad2pie
7128 (modules-names): Add tst-quadmod1 tst-quadmod2.
7129 ($(objpfx)tst-quad1): New dependency.
7130 ($(objpfx)tst-quad2): Likewise.
7131 ($(objpfx)tst-quad1pie): Likewise.
7132 ($(objpfx)tst-quad2pie): Likewise.
7133 * sysdeps/x86_64/tst-quad1.c: New file.
7134 * sysdeps/x86_64/tst-quad1pie.c: New file.
7135 * sysdeps/x86_64/tst-quad2.c: Likewise.
7136 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7137 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7138 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7139 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7140 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7141
f34d6f84
ST
71422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7143
f42d41d1
ST
7144 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7145 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7146 * streams/stropts.h (t_scalar_t): Define type.
7147
3c3571fc
ST
7148 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7149 (_PATH_PRESERVE): Set to "/var/lib".
7150 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7151
61f06bd3
ST
7152 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7153 instead of int.
7154
918d4d71
ST
7155 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7156 if __dir_mkfile succeeded.
7157
f34d6f84
ST
7158 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7159 checking for _hurd_dtablesize. Unlock it right after having
7160 finished _hurd_dtable allocation.
7161
10589b4a
TS
71622012-05-10 Thomas Schwinge <thomas@schwinge.name>
7163
674cdbc7
TS
7164 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7165 * sysdeps/mach/hurd/configure: Regenerated.
7166 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7167 special-casing to...
7168 * sysdeps/gnu/configure.in: ... this new file.
7169 * sysdeps/unix/sysv/linux/configure: Regenerated.
7170 * sysdeps/gnu/configure: New generated file.
7171
8e41b99f
TS
7172 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7173 for Linux: use nsec instead of usec, as well as:
7174 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7175 members of type struct timespec.
7176 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7177 New macros.
7178 (struct stat64): Likewise.
7179 (_STATBUF_ST_NSEC): New macro.
7180 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7181
10589b4a
TS
7182 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7183 __strtoul_internal rather than strtoul.
7184
63643c85
PT
71852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7186
7187 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7188 and reject them.
7189
3faebe6a
ST
71902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7191
7192 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7193 which preserves existing values.
7194 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7195
c6474b07
PT
71962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7197
7198 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7199 TIMEOUT values. Return EINVAL for NFDS values either negative or
7200 greater than FD_SETSIZE.
7201
1043890b
ST
72022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7203
7204 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7205 allocated, call __vm_protect to finish enabling the existing space, and
7206 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7207 allocate the remainder.
7208
37ed8b9b
PT
72092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7210
7211 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7212 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7213
db653660
ST
72142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7215
37ed8b9b
PT
7216 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7217 sysdeps/mach/hurd/readlink.c.
b29d4053 7218
db653660
ST
7219 * posix/tst-sysconf.c (posix_options): Only use
7220 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7221 _POSIX_SYNCHRONIZED_IO when they are defined
7222 * sysdeps/mach/hurd/bits/posix_opt.h:
7223 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7224 (_XOPEN_REALTIME): Undefine macro.
7225 (_XOPEN_REALTIME_THREADS): Undefine macro.
7226 (_XOPEN_SHM): Undefine macro.
7227 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7228 macro to -1.
7229 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7230 macro to -1.
7231 (_POSIX_ASYNC_IO): Undefine macro.
7232 (_POSIX_PRIORITIZED_IO): Undefine macro.
7233 (_POSIX_SPIN_LOCKS): Define macro to -1.
7234
ee16e894
ST
7235 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7236 SA_NODEFER, SA_RESETHAND.
7237 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7238 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7239 F_DUPFD_CLOEXEC.
7240
6103ae3b
TS
72412012-05-10 Thomas Schwinge <thomas@schwinge.name>
7242
7243 * elf/Makefile (pldd-modules): Define unconditionally.
7244
80b4e5f3
TS
72452012-05-10 Thomas Schwinge <thomas@schwinge.name>
7246
7247 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7248
edadcbd6
ST
72492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7250
7251 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7252 Return ENOENT when name is empty.
7253 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7254
80694780
TS
72552012-05-10 Thomas Schwinge <thomas@schwinge.name>
7256
1792c087
TS
7257 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7258
80694780
TS
7259 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7260
6b645f0d
ST
72612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7262
80694780
TS
7263 Fix mlock in all cases except non-readable pages.
7264 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7265 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 7266
6b645f0d
ST
7267 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7268 (__mkdir): When path is `/', just fail with EEXIST.
7269 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7270
e468f8a3
TS
72712012-05-10 Thomas Schwinge <thomas@schwinge.name>
7272
7273 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7274 <sys/uio.h> (for writev).
7275 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7276 and <sys/param.h> (for MIN).
7277
a4186cff
PT
72782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7279
7280 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7281 REQUESTED_TIME. Properly set the remaining time and return EINTR
7282 if interrupted.
7283
510bbf14
TS
72842012-05-10 Thomas Schwinge <thomas@schwinge.name>
7285
7286 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7287 Depend on against $(link-rpcuserlibs).
7288
5d5722e8
ST
72892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7290
a4186cff
PT
7291 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7292 (__libc_stack_end): Do not use attribute_relro.
7293 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7294 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 7295 to libthread-provided value.
a4186cff
PT
7296 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7297 attribute_relro.
5d5722e8 7298
37233df9
TS
72992012-05-10 Thomas Schwinge <thomas@schwinge.name>
7300
be971a2b
TS
7301 [BZ #3748]
7302 * bits/libc-lock.h (__libc_once_get): New macro.
7303 * sysdeps/mach/bits/libc-lock.h: Likewise.
7304 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7305 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7306 instead of using implementation details.
7307
37233df9
TS
7308 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7309 * libio/freopen.c: Likewise.
7310 * libio/freopen64.c: Likewise.
7311 * misc/syslog.c: Likewise.
7312 * nscd/connections.c: Likewise.
7313 * nscd/netgroupcache.c: Likewise.
7314 * sysdeps/posix/getcwd.c: Likewise.
7315
38de94a5
RM
73162012-05-10 Roland McGrath <roland@hack.frob.com>
7317
7318 * math/w_ilogbf.c: Add #include <limits.h>.
7319
67530489
ST
73202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7321
a4186cff 7322 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
7323 path instead of returning without unlocking.
7324
67530489
ST
7325 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7326 immediate-write ioctls.
7327 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7328
5aa3a74a
TS
73292012-05-10 Thomas Schwinge <thomas@schwinge.name>
7330
18bad2ae
TS
7331 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7332 __builtin_frame_address instead of making assumptions about the
7333 location of the return address relative to DATA. Force early load of
7334 the return address.
7335 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7336 __builtin_frame_address.
7337
5aa3a74a
TS
7338 dup3 for GNU Hurd.
7339 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7340 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7341 implement dup3 and do some further code clean-ups.
7342 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7343 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7344
ecd0de9a
ST
73452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7346
cd9fa985
ST
7347 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7348
a4186cff
PT
7349 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7350 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7351 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7352 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7353 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7354 d->port.lock.
802ca5a5 7355
a4186cff
PT
7356 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7357 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7358 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 7359
bcf55240
TS
73602012-05-10 Thomas Schwinge <thomas@schwinge.name>
7361
6960eb42
TS
7362 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7363 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7364 definitions.
7365
eb43375f
TS
7366 accept4 for GNU Hurd.
7367 * include/sys/socket.h (__libc_accept4): New prototype.
7368 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7369 to implement __libc_accept4.
7370 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7371 __libc_accept4.
7372 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7373
bcf55240
TS
7374 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7375 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7376 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7377 signal-defines.sym.
7378
6178c55b
ST
73792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7380
a4186cff 7381 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 7382
6f080c2f
TS
73832012-05-10 Thomas Schwinge <thomas@schwinge.name>
7384
7385 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7386 assertion on O_CLOEXEC flag.
7387 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7388 * hurd/intern-fd.c: Likewise.
7389 * hurd/port2fd.c: Likewise.
7390
bcfe3a54
ST
73912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7392
7393 [BZ #3906]
7394 * bits/in.h (IPV6_PKTINFO): Define new macro.
7395 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7396
89c9aa49
AZ
73972012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7398
7399 [BZ #13954]
7400 [BZ #13955]
7401 [BZ #13956]
7402 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7403 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7404 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7405 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7406 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7407 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7408 * math/libm-test.inc (logb_test) : Additional logb tests.
7409
021db4be
AJ
74102012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7411 Andreas Jaeger <aj@suse.de>
7412
7413 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7414 * configure: Regenerated.
7415 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7416 * config.make.in (link-obsolete-rpc): New substituted variable.
7417 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7418 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7419 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7420 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7421 so that libc.a contains the symbols.
7422 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7423 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7424 * sunrpc/auth_none.c: Likewise.
7425 * sunrpc/auth_unix.c: Likewise.
7426 * sunrpc/authdes_prot.c: Likewise.
7427 * sunrpc/authuxprot.c: Likewise.
7428 * sunrpc/clnt_gen.c: Likewise.
7429 * sunrpc/clnt_perr.c: Likewise.
7430 * sunrpc/clnt_raw.c: Likewise.
7431 * sunrpc/clnt_simp.c: Likewise.
7432 * sunrpc/clnt_tcp.c: Likewise.
7433 * sunrpc/clnt_udp.c: Likewise.
7434 * sunrpc/clnt_unix.c: Likewise.
7435 * sunrpc/des_crypt.c: Likewise.
7436 * sunrpc/des_soft.c: Likewise.
7437 * sunrpc/get_myaddr.c: Likewise.
7438 * sunrpc/key_call.c: Likewise.
7439 * sunrpc/key_prot.c: Likewise.
7440 * sunrpc/netname.c: Likewise.
7441 * sunrpc/pm_getmaps.c: Likewise.
7442 * sunrpc/pm_getport.c: Likewise.
7443 * sunrpc/pmap_clnt.c: Likewise.
7444 * sunrpc/pmap_prot.c: Likewise.
7445 * sunrpc/pmap_prot2.c: Likewise.
7446 * sunrpc/pmap_rmt.c: Likewise.
7447 * sunrpc/publickey.c: Likewise.
7448 * sunrpc/rpc_cmsg.c: Likewise.
7449 * sunrpc/rpc_common.c: Likewise.
7450 * sunrpc/rpc_dtable.c: Likewise.
7451 * sunrpc/rpc_prot.c: Likewise.
7452 * sunrpc/rpc_thread.c: Likewise.
7453 * sunrpc/rtime.c: Likewise.
7454 * sunrpc/svc.c: Likewise.
7455 * sunrpc/svc_auth.c: Likewise.
7456 * sunrpc/svc_raw.c: Likewise.
7457 * sunrpc/svc_run.c: Likewise.
7458 * sunrpc/svc_tcp.c: Likewise.
7459 * sunrpc/svc_udp.c: Likewise.
7460 * sunrpc/svc_unix.c: Likewise.
7461 * sunrpc/svcauth_des.c: Likewise.
7462 * sunrpc/xcrypt.c: Likewise.
7463 * sunrpc/xdr.c: Likewise.
7464 * sunrpc/xdr_array.c: Likewise.
7465 * sunrpc/xdr_float.c: Likewise.
7466 * sunrpc/xdr_intXX_t.c: Likewise.
7467 * sunrpc/xdr_mem.c: Likewise.
7468 * sunrpc/xdr_rec.c: Likewise.
7469 * sunrpc/xdr_ref.c: Likewise.
7470 * sunrpc/xdr_sizeof.c: Likewise.
7471 * sunrpc/xdr_stdio.c: Likewise.
7472
b5c086a2
RM
74732012-05-10 Roland McGrath <roland@hack.frob.com>
7474
7475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7476 change. Update copyright years.
7477
6d74dd09
JM
74782012-05-10 Joseph Myers <joseph@codesourcery.com>
7479
7480 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7481
28e72501
MK
74822012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7483 Joseph Myers <joseph@codesourcery.com>
7484 Paul Pluzhnikov <ppluzhnikov@google.com>
7485
7486 [BZ #14012]
7487 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7488 requiring rpcgen.
7489 [cross-compiling] (extra-libs): Likewise.
7490 [cross-compiling] (extra-libs-others): Likewise.
7491 [cross-compiling] (librpcsvc-routines): Likewise.
7492 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7493 [cross-compiling] (omit-deps): Likewise.
7494 (sunrpc-CPPFLAGS): New variable.
7495 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7496 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7497 (cross-rpcgen-objs): New variable.
7498 (extra-objs): Append $(cross-rpcgen-objs).
7499 ($(cross-rpcgen-objs)): New rule.
7500 ($(objpfx)cross-rpcgen): Likewise.
7501 (rpcgen-cmd): Define to use $(built-program-file). Expand
7502 comment.
7503 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7504 ($(objpfx)x%.stmp): Likewise.
7505 * sunrpc/proto.h [IS_IN_build] (_): Define.
7506 [IS_IN_build] (_libc_intl_domainname): Likewise.
7507
c8c59454
L
75082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7509
7510 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7511 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7512 and R_X86_64_TPOFF64.
7513
6f27cd16
JM
75142012-05-10 Joseph Myers <joseph@codesourcery.com>
7515
7516 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7517 sysdeps/unix/sysv/syscalls.list.
7518 (stime): Likewise.
7519 (utime): Likewise.
7520 * sysdeps/unix/sysv/syscalls.list: Remove file.
7521
02467e1c
PE
75222012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7523
7524 [BZ #3440]
7525 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7526 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7527 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7528 (__LC_IDENTIFICATION): Make these macros useful in #if
7529 expressions, as required by C99.
7530
da392631
AS
75312012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7532
7533 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7534 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7535 after this.
7536
8115f29b
L
75372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7538
7539 * stdlib/longlong.h: Updated from GCC.
7540
bdd74070
AJ
75412012-05-09 Andreas Jaeger <aj@suse.de>
7542
edfe0dbe
AJ
7543 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7544 default is first entry.
7545 (run_mode): Set type.
7546 (main): Remove informal message about syslog.
7547 (options): Fix typo.
7548
bcfe3a54
ST
7549 [BZ #14053]
7550 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7551 to asm.
bcfe3a54
ST
7552 (lrint): Likewise.
7553 (llrintf): Likewise.
7554 (llrint): Likewise.
7555 (rint): Likewise.
7556 (rintf): Likewise.
7557 (nearbyint): Likewise.
7558 (nearbyintf): Likewise.
bdd74070 7559
91d8d69e
AJ
75602012-05-09 Andreas Jaeger <aj@suse.de>
7561 Pedro Alves <palves@redhat.com>
7562
7563 * nscd/nscd.c (run_mode): Use enum.
7564 (main): Cleanup coding style issue.
7565
bb90b80b
AJ
75662012-05-09 Alexandre Oliva <aoliva@redhat.com>
7567 Andreas Jaeger <aj@suse.de>
7568
bcfe3a54
ST
7569 * nscd/nscd.c (go_background): Replaced with...
7570 (run_mode): ... this.
bb90b80b 7571 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7572 (options): Add -F --foreground.
7573 (main): Implement it.
7574 (parse_opt): Parse it.
bb90b80b 7575
1a4b75a1
AJ
75762012-05-09 Andreas Jaeger <aj@suse.de>
7577
7578 [BZ #14083]
7579 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7580 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7581 -Wconversion warning.
7582 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7583 Likewise.
7584
b1cc2472
JM
75852012-05-09 Joseph Myers <joseph@codesourcery.com>
7586
7587 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7588 == 0.
7589 (LC_ALL): Use macro-int-constant.
7590 (LC_COLLATE): Likewise.
7591 (LC_CTYPE): Likewise.
7592 (LC_MESSAGES): Likewise.
7593 (LC_MONETARY): Likewise.
7594 (LC_NUMERIC): Likewise.
7595 (LC_TIME): Likewise.
7596 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7597 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7598 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7599 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7600 Specify type.
7601 [C99-based standards] (float_t): Expect type.
7602 [C99-based standards] (double_t): Expect type.
7603 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7604 type.
7605 [C99-based standards] (HUGE_VALL): Likewise.
7606 [C99-based standards] (INFINITY): Likewise.
7607 [C99-based standards] (NAN): Likewise.
7608 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7609 [C99-based standards] (FP_NAN): Likewise.
7610 [C99-based standards] (FP_NORMAL): Likewise.
7611 [C99-based standards] (FP_SUBNORMAL): Likewise.
7612 [C99-based standards] (FP_ZERO): Likewise.
7613 [C99-based standards] (FP_FAST_FMA): Use
7614 optional-macro-int-constant. Specify type. Require == 1.
7615 [C99-based standards] (FP_FAST_FMAF): Likewise.
7616 [C99-based standards] (FP_FAST_FMAL): Likewise.
7617 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7618 [C99-based standards] (FP_ILOGBNAN): Likewise.
7619 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7620 Specify type.
7621 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7622 [C99-based standards] (math_errhandling): Specify type.
7623 [ISO99 || ISO11] (signgam): Do not allow.
7624 [non-C99-based standards] (copysignf): Do not allow.
7625 [non-C99-based standards] (exp2f): Likewise.
7626 [non-C99-based standards] (log2f): Likewise.
7627 [non-C99-based standards] (modff): Allow.
7628 [non-C99-based standards] (erff): Do not allow.
7629 [non-C99-based standards] (erfcf): Likewise.
7630 [non-C99-based standards] (gammaf): Likewise.
7631 [non-C99-based standards] (hypotf): Likewise.
7632 [non-C99-based standards] (j0f): Likewise.
7633 [non-C99-based standards] (j1f): Likewise.
7634 [non-C99-based standards] (jnf): Likewise.
7635 [non-C99-based standards] (lgammaf): Likewise.
7636 [non-C99-based standards] (tgammaf): Likewise.
7637 [non-C99-based standards] (y0f): Likewise.
7638 [non-C99-based standards] (y1f): Likewise.
7639 [non-C99-based standards] (ynf): Likewise.
7640 [non-C99-based standards] (isnanf): Likewise.
7641 [non-C99-based standards] (acoshf): Likewise.
7642 [non-C99-based standards] (asinhf): Likewise.
7643 [non-C99-based standards] (atanhf): Likewise.
7644 [non-C99-based standards] (cbrtf): Likewise.
7645 [non-C99-based standards] (expm1f): Likewise.
7646 [non-C99-based standards] (ilogbf): Likewise.
7647 [non-C99-based standards] (log1pf): Likewise.
7648 [non-C99-based standards] (logbf): Likewise.
7649 [non-C99-based standards] (nextafterf): Likewise.
7650 [non-C99-based standards] (remainderf): Likewise.
7651 [non-C99-based standards] (rintf): Likewise.
7652 [non-C99-based standards] (scalbf): Likewise.
7653 [non-C99-based standards] (copysignl): Likewise.
7654 [non-C99-based standards] (exp2l): Likewise.
7655 [non-C99-based standards] (log2l): Likewise.
7656 [non-C99-based standards] (modfl): Allow.
7657 [non-C99-based standards] (erfl): Do not allow.
7658 [non-C99-based standards] (erfcl): Likewise.
7659 [non-C99-based standards] (gammal): Likewise.
7660 [non-C99-based standards] (hypotl): Likewise.
7661 [non-C99-based standards] (j0l): Likewise.
7662 [non-C99-based standards] (j1l): Likewise.
7663 [non-C99-based standards] (jnl): Likewise.
7664 [non-C99-based standards] (lgammal): Likewise.
7665 [non-C99-based standards] (tgammal): Likewise.
7666 [non-C99-based standards] (y0l): Likewise.
7667 [non-C99-based standards] (y1l): Likewise.
7668 [non-C99-based standards] (ynl): Likewise.
7669 [non-C99-based standards] (isnanl): Likewise.
7670 [non-C99-based standards] (acoshl): Likewise.
7671 [non-C99-based standards] (asinhl): Likewise.
7672 [non-C99-based standards] (atanhl): Likewise.
7673 [non-C99-based standards] (cbrtl): Likewise.
7674 [non-C99-based standards] (expm1l): Likewise.
7675 [non-C99-based standards] (ilogbl): Likewise.
7676 [non-C99-based standards] (log1pl): Likewise.
7677 [non-C99-based standards] (logbl): Likewise.
7678 [non-C99-based standards] (nextafterl): Likewise.
7679 [non-C99-based standards] (remainderl): Likewise.
7680 [non-C99-based standards] (rintl): Likewise.
7681 [non-C99-based standards] (scalbl): Likewise.
7682 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7683 [non-C99-based standards] (FP_*): Do not allow.
7684 [C99-based standards] (FP_*): Change to
7685 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7686 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7687 allow.
7688 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7689 (SIG_ERR): Likewise.
7690 [X/Open-based standards] (SIG_HOLD): Likewise.
7691 (SIG_IGN): Likewise.
7692 (SIGABRT): Use macro-int-constant. Specify type. Require
7693 positive value.
7694 (SIGFPE): Likewise.
7695 (SIGILL): Likewise.
7696 (SIGINT): Likewise.
7697 (SIGSEGV): Likewise.
7698 (SIGTER): Likewise.
7699 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7700 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7701 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7702 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7703 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7704 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7705 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7706 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7707 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7708 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7709 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7710 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7711 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7712 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7713 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7714 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7715 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7716 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7717 [X/Open-based standards] (SIGTRAP): Likewise.
7718 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7719 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7720 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7721 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7722 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7723 allow.
7724
b9f1922d
IW
77252012-05-08 Ian Wienand <ianw@vmware.com>
7726
7727 [BZ #14080]
7728 * time/tzset.c (__tzset_parse_tz): Update default rules for
7729 daylight time changes in the Energy Policy Act of 2005.
7730
1db86e88
AJ
77312012-05-09 Andreas Jaeger <aj@suse.de>
7732
7733 [BZ #13983]
7734 * elf/ldconfig.c (parse_conf): Change string to make clear that
7735 ldconfig only issued a warning if ld.so.conf does not exist.
7736
dee4a4e3
DM
77372012-05-08 David S. Miller <davem@davemloft.net>
7738
ee0db190
DM
7739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7740 movxtod instead of popping the value on the stack.
7741
dee4a4e3
DM
7742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7743
6a43ec98
CD
77442012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7745
7746 * config.h.in: Add HAVE_ARM_PCS_VFP.
7747
05c2c961
RMG
77482012-05-08 Roland Mc Grath <roland@hack.frob.com>
7749
bcfe3a54
ST
7750 [BZ #13979]
7751 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7752 checking but the checks are disabled for any reason.
05c2c961 7753
4b30f61a
L
77542012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7755
7756 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7757 and ELF64_R_TYPE with ELFW(R_TYPE).
7758
eee2bc67
JM
77592012-05-08 Joseph Myers <joseph@codesourcery.com>
7760
7ea5391a
JM
7761 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7762 (ulimit): Likewise.
7763
eee2bc67
JM
7764 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7765 (settimeofday): Likewise.
7766
abb66a67
MF
77672012-05-08 Mike Frysinger <vapier@gentoo.org>
7768
7769 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7770 a struct th_u2 inside the union, and move tu_block/tu_code into
7771 a new th_u3 union of tu_block/tu_code inside of that. Move
7772 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7773 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7774 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7775 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7776 (th_stuff): Change to th_u1.tu_stuff.
7777 (th_data): Define.
7778 (th_msg): Change to th_u1.th_u2.tu_data.
7779
7f18b530
DM
77802012-05-07 David S. Miller <davem@davemloft.net>
7781
05760585
DM
7782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7783
7f18b530
DM
7784 [BZ #14074]
7785 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7786 (SETUP_PIC_REG): Use it.
7787 (SETUP_PIC_REG_LEAF): Use it.
7788
495fd99f
JM
77892012-05-07 Joseph Myers <joseph@codesourcery.com>
7790
7791 [BZ #13885]
7792 [BZ #13923]
7793 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7794 USE_AS_EXPM1L.
7795 (EXPL_FINITE): Likewise.
7796 (FLDLOG): Likewise.
7797 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7798 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7799 e_expl.S.
7800 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7801 USE_AS_EXPM1L.
7802 (EXPL_FINITE): Likewise.
7803 (FLDLOG): Likewise.
7804 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7805 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7806 e_expl.S.
7807 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7808 test of -max_value argument for long double.
7809 * sysdeps/i386/fpu/libm-test-ulps: Update.
7810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7811
6693d694
DM
78122012-05-06 David S. Miller <davem@davemloft.net>
7813
7814 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7815 quad soft-float symbols whose references which are compiler
7816 generated.
7817 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7818
6c23e11c
JM
78192012-05-06 Joseph Myers <joseph@codesourcery.com>
7820
d8b82cad
JM
7821 [BZ #13884]
7822 [BZ #13914]
7823 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7824 USE_AS_EXP10L.
7825 (EXPL_FINITE): Likewise.
7826 (FLDLOG): Likewise.
7827 (c0): Likewise.
7828 (c1): Likewise.
7829 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7830 Adjust comments for base varying.
7831 (__expl_finite): Change alias to EXPL_FINITE.
7832 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7833 e_expl.S.
7834 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7835 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7836 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7837 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7838 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7839 USE_AS_EXP10L.
7840 (EXPL_FINITE): Likewise.
7841 (FLDLOG): Likewise.
7842 (c0): Likewise.
7843 (c1): Likewise.
7844 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7845 Adjust comments for base varying.
7846 (__expl_finite): Change alias to EXPL_FINITE.
7847 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7848 tests for bugs.
7849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7850
6c23e11c
JM
7851 [BZ #14064]
7852 * math/libm-test.inc (check_float_internal): Correct ulp
7853 calculation for subnormal expected results.
7854
29ba805c
AJ
78552012-05-06 Andreas Jaeger <aj@suse.de>
7856
7857 * Makeconfig (+math-flags): New, set to -frounding-math.
7858 (+cflags): Add +math-flags so that all of glibc gets compiled with
7859 it.
7860
7861 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7862
7b17aeda
JM
78632012-05-05 Joseph Myers <joseph@codesourcery.com>
7864
5779f134
JM
7865 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7866 Disable one test.
7867
41498f4d
JM
7868 [BZ #13787]
7869 [BZ #13922]
7870 [BZ #14036]
7871 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7872 (__ieee754_expl): Allow for and saturate large arguments.
7873 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7874 (u_threshold): Likewise.
7875 (__exp): Call __ieee754_exp before checking for overflow and
7876 underflow.
7877 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7878 (u_threshold): Likewise.
7879 (__expf): Call __ieee754_expf before checking for overflow and
7880 underflow.
7881 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7882 (u_threshold): Likewise.
7883 (__expl): Call __ieee754_expl before checking for overflow and
7884 underflow.
7885 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7886 (__ieee754_expl): Allow for and saturate large arguments.
7887 * math/libm-test.inc (exp_test): Add another test. Do not allow
7888 missing overflow exception on overflow.
7889 (expm1_test): Do not allow missing overflow exception on overflow.
7890
6698b8bf
JM
7891 * sysdeps/i386/fpu/e_expl.c: Move to ...
7892 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7893 rather than using inline asm.
7894 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7895 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7896 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7897
7b17aeda
JM
7898 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7899 (nice): Likewise.
7900 (poll): Likewise.
7901 (signal): Likewise.
7902 (time): Likewise.
7903 (times): Likewise.
7904
f7c85819
JM
79052012-05-04 Joseph Myers <joseph@codesourcery.com>
7906
7907 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7908 sysdeps/unix/common/syscalls.list.
7909 (fchmod): Likewise.
7910 (fchown): Likewise.
7911 (ftruncate): Likewise.
7912 (getrusage): Likewise.
7913 (gettimeofday): Likewise.
7914 (setpgid): Likewise.
7915 (setregid): Likewise.
7916 (setreuid): Likewise.
7917 (sigaction): Likewise.
7918 (truncate): Likewise.
7919 (vhangup): Likewise.
7920 * sysdeps/unix/common/syscalls.list: Remove file.
7921 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7922 * sysdeps/unix/sysv/linux/Implies: Likewise.
7923
336270d0
L
79242012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7925
7926 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7928 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7929 Moved to ...
7930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7931 Here.
7932 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7933 to ...
7934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7935 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7936 to ...
7937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7938 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7939 to ...
7940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7941 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7942 to ...
7943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7944 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7945 to ...
7946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7947 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7948 to ...
7949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7950 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7951 to ...
7952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7953 Here.
7954 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7955 to ...
7956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7957 Here.
7958 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7959 to ...
7960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7961 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7962 Moved to ...
7963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7964 Here.
7965 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7966 to ...
7967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7968
d128e450
JM
79692012-05-04 Joseph Myers <joseph@codesourcery.com>
7970
fa8ee516
JM
7971 * sysdeps/unix/common/bits/dirent.h: Remove file.
7972 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7973
d128e450
JM
7974 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7975 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7976 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7977 * sysdeps/unix/bsd/isatty.c: Likewise.
7978 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7979 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7980 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7981
ff8faaf0 79822012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7983
62881be4 7984 [BZ #13563]
31dc8730
AZ
7985 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7986 long double comparison inaccuracies.
7987 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7989
6fef930c
AS
79902012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7991
7992 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7993 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7994
8f203e6c
JM
79952012-05-04 Joseph Myers <joseph@codesourcery.com>
7996
7997 [BZ #14049]
7998 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7999 nonzero digits before rounding a hex value.
8000 * stdlib/tst-strtod.c (tests): Add another test.
8001
5197d9c2
AK
80022012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8003
8004 * sysdeps/s390/fpu/libm-test-ulps: Update.
8005
f0c1dedf
AJ
80062012-05-03 Andreas Jaeger <aj@suse.de>
8007
8008 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8009 does not get optimized out.
8010 (malloc_opt_barrier): New.
8011
a65ef2ae 80122012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 8013 Roland McGrath <roland@hack.frob.com>
a65ef2ae 8014
2b942cb7 8015 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 8016 intermediate file deletion.
2b942cb7 8017 (generated): Add .symlist files.
a65ef2ae 8018
54b71e02
JM
80192012-05-03 Joseph Myers <joseph@codesourcery.com>
8020
8021 [BZ #13775]
8022 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8023 Redirect under this condition.
8024 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8025 [__USE_GNU] (__dprintf_chk): Not under this condition.
8026 [__USE_GNU] (__vdprintf_chk): Likewise.
8027 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8028 under this condition.
8029 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8030 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8031 [__USE_XOPEN2K8] (vdprintf): Likewise.
8032 [__USE_GNU] (__dprintf_chk): Not under this condition.
8033 [__USE_GNU] (__vdprintf_chk): Likewise.
8034 [__USE_GNU] (dprintf): Likewise.
8035 [__USE_GNU] (vdprintf): Likewise.
8036
d3dfcc41
RM
80372012-05-03 Roland McGrath <roland@hack.frob.com>
8038
8039 * elf/Makefile (common-generated): Set this instead of generated for
8040 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8041 $(all-built-dso)-derived lists.
8042
7ac30cc5
AJ
80432012-05-03 Andreas Jaeger <aj@suse.de>
8044
0c51e550
AJ
8045 * sysdeps/i386/fpu/libm-test-ulps: Update.
8046
7ac30cc5
AJ
8047 * FAQ: Removed.
8048 * FAQ.in: Likewise.
8049 * scripts/gen-FAQ.pl: Likewise.
8050 * manual/install.texi (Installation): Point to online location of
8051 FAQ.
8052 * Makefile (files-for-dist): Remove FAQ.
8053 (FAQ): Remove.
8054
d4c2917f
AM
80552012-05-02 Allan McRae <allan@archlinux.org>
8056
8057 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8058 (LDFLAGS-reldepmod5.so): Likewise.
8059 (LDFLAGS-reldep6mod1.so): Likewise.
8060 (LDFLAGS-reldep6mod4.so): Likewise.
8061 (LDFLAGS-reldep8mod3.so): Likewise.
8062 (LDFLAGS-unload4mod1.so): Likewise.
8063 (LDFLAGS-unload4mod2.so): Likewise.
8064 (LDFLAGS-tst-initorder): Likewise.
8065 (LDFLAGS-tst-initordera2.so): Likewise.
8066 (LDFLAGS-tst-initordera3.so): Likewise.
8067 (LDFLAGS-tst-initordera4.so): Likewise.
8068 (LDFLAGS-tst-initorderb2.so): Likewise.
8069 (LDFLAGS-noload): Likewise.
8070 (LDFLAGS-next): Likewise.
8071 (LDFLAGS-order2mod1.so): Likewise.
8072 (LDFLAGS-order2mod2.so): Likewise.
8073 (LDFLAGS-tst-initorder2): Likewise.
8074 (LDFLAGS-tst-initorder2a.so): Likewise.
8075 (LDFLAGS-tst-initorder2b.so): Likewise.
8076 (LDFLAGS-tst-initorder2c.so): Likewise.
8077 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8078
d77f993f
DM
80792012-05-02 David S. Miller <davem@davemloft.net>
8080
8081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8082
171a70b4
PP
80832012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8084
8085 [BZ #14055]
8086 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8087
0be196ad
AJ
80882012-05-02 Andreas Jaeger <aj@suse.de>
8089
8090 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8091 since we manipulate rounding mode.
8092 (CPPFLAGS-test-idouble.c): Likewise.
8093 (CPPFLAGS-test-ifloat.c): Likewise.
8094 (CFLAGS-test-ldouble.c): Likewise.
8095 (CFLAGS-test-double.c): Likewise.
8096 (CFLAGS-test-float.c): Likewise.
8097 (CFLAGS-test-misc.c): Likewise.
8098 (CFLAGS-test-test-fenv.c): Likewise.
8099
4f9d04aa
AZ
81002012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8101
2b942cb7
RM
8102 [BZ #2550]
8103 [BZ #2570]
8104 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8105 comparisons to determine direction to adjust input.
4f9d04aa 8106
82a79e7d
RM
81072012-05-01 Roland McGrath <roland@hack.frob.com>
8108
f5a01ca9
RM
8109 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8110 output to the target.
8111
90fe4186
RM
8112 * scripts/localplt.awk: New file.
8113 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8114 (check-localplt-CFLAGS): Variable removed.
8115 ($(all-built-dso:=.jmprel)): New static pattern rule.
8116 (generated): Add those targets.
8117 (localplt-built-dso): New variable.
8118 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8119
8120 * elf/check-localplt.c: File removed.
8121
82397ed6
RM
8122 * scripts/check-execstack.awk: New file.
8123 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8124 (check-execstack-CFLAGS): Variable removed.
8125 ($(objpfx)check-execstack.h): Target removed.
8126 ($(objpfx)execstack-default): New target.
8127 (generated): Add that instead of check-execstack.h.
8128 ($(all-built-dso:=.phdr)): New static pattern rule.
8129 (generated): Add those targets.
8130 * elf/check-execstack.c: File removed.
8131
82a79e7d
RM
8132 * scripts/check-textrel.awk: New file.
8133 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8134 (check-textrel-CFLAGS): Variable removed.
8135 (all-built-dso): Use := to define.o
8136 ($(all-built-dso:=.dyn)): New static pattern rule.
8137 (generated): Add those targets.
8138 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8139 * config.make.in (READELF): New substituted variable.
8140 * elf/check-textrel.c: File removed.
8141
62fde54f 81422012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 8143
615605c9
JM
8144 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8145 allow.
8146 * conform/data/ctype.h-data [C99-based standards] (isblank):
8147 Expect function.
8148 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8149 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8150 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8151 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8152 Specify type. Require positive value.
8153 (EILSEQ): Likewise.
8154 (ERANGE): Likewise.
8155 [ISO || POSIX] (EILSEQ): Do not expect.
8156 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8157 Specify type. Require positive value.
8158 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8159 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8160 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8161 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8162 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8163 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8164 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8165 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8166 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8167 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8168 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8169 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8170 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8171 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8172 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8173 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8174 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8175 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8176 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8177 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8178 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8179 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8180 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8181 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8182 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8183 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8184 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8185 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8186 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8187 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8188 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8189 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8190 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8191 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8192 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8193 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8194 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8195 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8196 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8197 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8198 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8199 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8200 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8201 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8202 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8203 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8204 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8205 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8206 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8207 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8208 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8209 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8210 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8211 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8212 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8213 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8214 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8215 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8216 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8217 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8218 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8219 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8220 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8221 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8222 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8223 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8224 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8225 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8226 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8227 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8228 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8229 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8230 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8231 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8232 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8233 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8234 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8235 Require >= 2.
8236 (FLT_ROUNDS): Expect as macro, not constant.
8237 (FLT_MANT_DIG): Use macro-int-constant.
8238 (DBL_MANT_DIG): Likewise.
8239 (LDBL_MANT_DIG): Likewise.
8240 (FLT_DIG): Likewise.
8241 (DBL_DIG): Likewise.
8242 (LDBL_DIG): Likewise.
8243 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8244 (DBL_MIN_EXP): Likewise.
8245 (LDBL_MIN_EXP): Likewise.
8246 (FLT_MAX_EXP): Use macro-int-constant.
8247 (DBL_MAX_EXP): Likewise.
8248 (LDBL_MAX_EXP): Likewise.
8249 (FLT_MAX_10_EXP): Likewise.
8250 (DBL_MAX_10_EXP): Likewise.
8251 (LDBL_MAX_10_EXP): Likewise.
8252 (FLT_MAX): Use macro-constant.
8253 (DBL_MAX): Likewise.
8254 (LDBL_MAX): Likewise.
8255 (FLT_EPSILON): Use macro-constant. Give upper bound.
8256 (DBL_EPSILON): Likewise.
8257 (LDBL_EPSILON): Likewise.
8258 (FLT_MIN): Likewise.
8259 (DBL_MIN): Likewise.
8260 (LDBL_MIN): Likewise.
8261 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8262 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8263 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8264 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8265 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8266 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8267 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8268 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8269 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8270 [ISO11] (FLT_TRUE_MIN): Likewise.
8271 [ISO11] (LDBL_TRUE_MIN): Likewise.
8272 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8273 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8274 (SCHAR_MIN): Use macro-int-constant. Specify type.
8275 (SCHAR_MAX): Likewise.
8276 (UCHAR_MAX): Likewise.
8277 (CHAR_MIN): Likewise.
8278 (CHAR_MAX): Likewise.
8279 (MB_LEN_MAX): Use macro-int-constant.
8280 (SHRT_MIN): Use macro-int-constant. Specify type.
8281 (SHRT_MAX): Likewise.
8282 (USHRT_MAX): Likewise.
8283 (INT_MAX): Likewise.
8284 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8285 bound negative.
8286 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8287 bound with "U".
8288 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8289 bound with "L".
8290 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8291 bound negative. Suffix upper bound with "L".
8292 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8293 bound with "UL".
8294 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8295 Specify type.
8296 [C99-based standards] (LLONG_MAX): Likewise.
8297 [C99-based standards] (ULLONG_MAX): Likewise.
8298 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8299 == 0.
8300 [ISO11] (max_align_t): Require type.
8301 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8302
c9140a62
JM
8303 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8304 from $CFLAGS, without defining away __attribute__ calls.
8305 (checknamespace): Use $CFLAGS_namespace.
8306
9af0bf29
JM
8307 * conform/conformtest.pl (@keywords): Only include C99 keywords
8308 for standards based on C99 or C11.
8309
343222a2
JM
8310 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8311 Disable tests.
8312 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8313 UNIX98]: Likewise.
8314
661f8cf0
JM
8315 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8316 usability of symbols in #if.
8317
ee74b9cb
JM
8318 * conform/conformtest.pl: If macro or constant types start
8319 "promoted:", expect the symbol to be of the following type
8320 promoted by the integer promotions.
62fde54f 8321
aafc49b3
JM
8322 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8323 in one place. Also handle "macro-constant".
8324
fefdf574
JM
8325 * conform/conformtest.pl: Only accept expected macro values with
8326 "==". Parse all "macro" lines in one place.
8327 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8328
f2d922fe
JM
8329 * conform/conformtest.pl: Handle braced types on "constant" lines
8330 instead of handling "typed-constant".
8331 * conform/data/signal.h-data: Use "constant" instead of
8332 "typed-constant".
8333
d22956c9
JM
8334 * conform/conformtest.pl: Handle "optional-" at start of lines in
8335 one place rather than duplicating several cases. Handle each
8336 format of "macro" line with initial "optional-".
8337
028e2e38
JM
8338 * conform/conformtest.pl: Only accept expected constant or
8339 optional-constant values with "==". Parse all "constant" lines in
8340 one place. Parse all "optional-constant" lines in one place.
8341 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8342 * conform/data/fmtmsg.h-data: Likewise.
8343 * conform/data/netinet/in.h-data: Likewise.
8344 * conform/data/tar.h-data: Likewise.
8345 * conform/data/limits.h-data: Use "==" form on "constant" and
8346 "optional-constant" lines.
8347
1b8f2850
JM
8348 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8349 Use -std=c99 for XOPEN2K.
8350 (@knownproblems): Remove.
8351 (newtoken): Don't check %isknown.
8352
a05a144b
JM
8353 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8354 Do not expect macro.
8355 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8356 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8357 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8358 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8359 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8360 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8361 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8362 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8363 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8364 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8365 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8366 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8367 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8368 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8369 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8370 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8371 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8372 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8373 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8374 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8375 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8376 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8377 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8378 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8379 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8380 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8381 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8382 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8383 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8384 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8385 [XPG3] (acosh): Likewise.
8386 [XPG3] (asinh): Likewise.
8387 [XPG3] (atanh): Likewise.
8388 [XPG3] (cbrt): Likewise.
8389 [XPG3] (expm1): Likewise.
8390 [XPG3] (ilogb): Likewise.
8391 [XPG3] (log1p): Likewise.
8392 [XPG3] (logb): Likewise.
8393 [XPG3] (nextafter): Likewise.
8394 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8395 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8396 [XPG3] (remainder): Likewise.
8397 [XPG3] (rint): Likewise.
8398 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8399 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8400 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8401 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8402 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8403 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8404 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8405 [UNIX98 || XOPEN2K] (scalb): Expect.
8406 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8407 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8408 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8409 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8410 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8411 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8412 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8413 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8414 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8415 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8416 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8417 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8418 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8419 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8420 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8421 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8422 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8423 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8424 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8425 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8426 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8427 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8428 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8429 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8430 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8431 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8432 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8433 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8434 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8435 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8436 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8437 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8438 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8439 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8440 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8441 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8442 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8443 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8444 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8445 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8446 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8447 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8448 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8449 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8450 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8451 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8452 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8453 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8454 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8455 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8456 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8457 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8458 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8459 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8460 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8461 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8462 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8463 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8464 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8465 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8466 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8467 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8468 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8469 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8470 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8471 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8472 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8473 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8474 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8475 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8476 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8477 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8478 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8479 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8480 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8481 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8482 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8483 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8484 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8485 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8486 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8487 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8488 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8489 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8490 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8491 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8492 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8493 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8494 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8495 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8496 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8497 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8498 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8499 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8500 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8501 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8502 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8503 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8504 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8505 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8506 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8507 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8508 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8509 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8510 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8511 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8512 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8513 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8514 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8515 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8516 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8517 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8518 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8519 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8520 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8521 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8522 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8523 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8524 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8525 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8526 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8527 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8528 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8529 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8530 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8531 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8532 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8533 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8534 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8535 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8536 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8537 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8538 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8539 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8540 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8541 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8542 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8543
73c5ebe3
JM
8544 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8545 _XOPEN_SOURCE_EXTENDED for XPG4.
8546
39c33b6c
JM
8547 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8548
62fde54f
JM
8549 * Makeconfig (localtime): Remove variable.
8550 (inst_localtime-file): Likewise.
8551
0741d64c
AS
85522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8553
8554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8555 Update.
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8557 Update.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8559 Update.
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8561 Update.
8562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8563 Update.
8564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8565 Update.
8566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8567 Update.
8568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8569 Update.
8570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8571 Update.
8572
7cb029ee
JM
85732012-05-01 Joseph Myers <joseph@codesourcery.com>
8574
8575 [BZ #2550]
8576 [BZ #2570]
8577 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8578 comparisons to determine direction to adjust input.
8579 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8580 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8581 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8582 Likewise.
8583 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8584 Likewise.
8585 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8586 Likewise.
8587 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8588 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8589 Likewise.
8590 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8591 Likewise.
8592 * math/libm-test.inc (nexttoward_test): Add more tests.
8593
412bd966
AS
85942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8595
8596 [BZ #14040]
8597 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8598 in version GLIBC_2.1, not GLIBC_2.0.
8599 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8600 Likewise.
8601
9568c0c2
JM
86022012-04-30 Joseph Myers <joseph@codesourcery.com>
8603
adfbc8ac
JM
8604 [BZ #13942]
8605 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8606 (1 - x) * (1 + x).
8607 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8608 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8609 * math/libm-test.inc (acos_test): Add more tests.
8610 (asin_test): Likewise.
8611 * sysdeps/i386/fpu/libm-test-ulps: Update.
8612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8613
5ba3cc69
JM
8614 [BZ #14034]
8615 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8616 of square root.
8617 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8618 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8619 * math/libm-test.inc (acos_test_tonearest): New function.
8620 (acos_test_towardzero): Likewise.
8621 (acos_test_downward): Likewise.
8622 (acos_test_upward): Likewise.
8623 (asin_test_tonearest): Likewise.
8624 (asin_test_towardzero): Likewise.
8625 (asin_test_downward): Likewise.
8626 (asin_test_upward): Likewise.
8627 (main): Call the new functions.
8628 * sysdeps/i386/fpu/libm-test-ulps: Update.
8629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8630
9568c0c2
JM
8631 [BZ #13884]
8632 [BZ #13924]
8633 * math/e_exp10.c: Include <float.h>.
8634 (__ieee754_exp10): Handle underflow here rather than multiplying
8635 large negative argument by M_LN10.
8636 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8637 of __ieee754_expf.
8638 * math/e_exp10l.c: Include <float.h>.
8639 (__ieee754_exp10l): Handle underflow here rather than multiplying
8640 large negative argument by M_LN10l.
8641 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8642 spurious overflow exception on underflow.
8643
5ac3ea17
MP
86442012-04-29 Marek Polacek <polacek@redhat.com>
8645
8646 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8647 (__fortify_function): New macro.
8648 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8649 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8650 __extern_always_inline.
8651 * libio/bits/stdio2.h: Likewise.
8652 * libio/bits/stdio.h: Likewise.
8653 * string/string.h: Likewise.
8654 * string/bits/string3.h: Likewise.
8655 * include/stdio.h: Likewise.
8656 * stdlib/bits/stdlib.h: Likewise.
8657 * stdlib/stdlib.h: Likewise.
8658 * rt/bits/mqueue2.h: Likewise.
8659 * rt/mqueue.h: Likewise.
8660 * posix/bits/unistd.h: Likewise.
8661 * posix/unistd.h: Likewise.
8662 * io/bits/poll2.h: Likewise.
8663 * io/bits/fcntl2.h: Likewise.
8664 * io/fcntl.h: Likewise.
8665 * io/sys/poll.h: Likewise.
8666 * misc/bits/syslog.h: Likewise.
8667 * misc/bits/syslog-ldbl.h: Likewise.
8668 * misc/sys/syslog.h: Likewise.
8669 * socket/bits/socket2.h: Likewise.
8670 * socket/sys/socket.h: Likewise.
8671 * debug/tst-chk1.c: Likewise.
8672 * wcsmbs/bits/wchar2.h: Likewise.
8673 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8674 * wcsmbs/wchar.h: Likewise.
8675
ecf0ebfb
AJ
86762012-04-29 Andreas Jaeger <aj@suse.de>
8677
8678 * Makerules (tests): Remove enable-check-abi protection.
8679 (check-abi-warn): Remove.
8680 (check-abi-%): Remove check-abi-warn usage.
8681
8682 * configure.in: Remove check-abi configure option.
8683 * configure: Regenerated.
8684 * config.make.in (enable-check-abi): Remove.
8685
6d5c57fa
AS
86862012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8687
24c5d07e 8688 [BZ #14033]
ded5180a
AS
8689 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8690 double functions to double *_finite functions.
8691
7e0d315d
AS
8692 [BZ #13941]
8693 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8694 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8695 LDBL_MIN_EXP.
8696 * stdio-common/Makefile (tests): Add tst-sprintf3.
8697 * stdio-common/tst-sprintf3.c: New file.
8698
6d5c57fa
AS
8699 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8700 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8701
0749ff8b
JM
87022012-04-28 Joseph Myers <joseph@codesourcery.com>
8703
8704 * conform/conformtest.pl: Remove duplicate typed-constant
8705 handling.
8706
8dbd5d7b
DM
87072012-04-28 David S. Miller <davem@davemloft.net>
8708
8709 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8710 (check-abi-%): Remove AWK script prerequisite and explicit
8711 abilist directory.
8712 (check-abi): Rewrite to just diff the symlist with the abilist.
8713 (config-tls, config-abi-config): Delete, no longer used.
8714 (update-abi-%): Remove AWK script and explicit abilist directory.
8715 (update-abi): Rewrite to simply compare and conditionally copy the
8716 symlist and the sysdep abilist file. Remove update-abi-config
8717 checks.
8718 * abilist/ld.abilist: Remove.
8719 * abilist/libBrokenLocale.abilist: Remove.
8720 * abilist/libanl.abilist: Remove.
8721 * abilist/libcrypt.abilist: Remove.
8722 * abilist/libdl.abilist: Remove.
8723 * abilist/librt.abilist: Remove.
8724 * abilist/libthread_db.abilist: Remove.
8725 * abilist/libutil.abilist: Remove.
8726 * scripts/extract-abilist.awk: Remove.
8727 * scripts/merge-abilist.awk: Remove.
8728 * sysdeps/generic/libcidn.abilist: New file.
8729 * sysdeps/generic/libnss_compat.abilist: New file.
8730 * sysdeps/generic/libnss_db.abilist: New file.
8731 * sysdeps/generic/libnss_dns.abilist: New file.
8732 * sysdeps/generic/libnss_files.abilist: New file.
8733 * sysdeps/generic/libnss_hesiod.abilist: New file.
8734 * sysdeps/generic/libnss_nis.abilist: New file.
8735 * sysdeps/generic/libnss_nisplus.abilist: New file.
8736 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8737 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8738 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8739 file.
8740 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8741 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8742 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8743 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8744 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8745 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8746 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8747 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8748 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8749 file.
8750 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8751 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8752 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8753 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8754 file.
8755 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8756 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8757 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8758 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8759 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8760 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8761 file.
8762 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8763 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8764 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8765 file.
8766 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8767 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8768 New file.
8769 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8770 New file.
8771 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8772 New file.
8773 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8774 New file.
8775 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8776 New file.
8777 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8778 New file.
8779 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8780 New file.
8781 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8782 New file.
8783 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8784 New file.
8785 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8786 New file.
8787 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8788 New file.
8789 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8790 New file.
8791 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8792 New file.
8793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8794 file.
8795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8796 New file.
8797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8798 New file.
8799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8800 file.
8801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8802 New file.
8803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8804 New file.
8805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8806 file.
8807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8808 New file.
8809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8810 New file.
8811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8812 New file.
8813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8814 New file.
8815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8816 New file.
8817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8818 New file.
8819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8821 file.
8822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8823 New file.
8824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8825 file.
8826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8827 file.
8828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8829 file.
8830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8831 file.
8832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8833 file.
8834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8835 New file.
8836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8837 file.
8838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8839 file.
8840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8841 New file.
8842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8843 file.
8844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8846 file.
8847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8848 New file.
8849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8850 file.
8851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8852 file.
8853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8854 file.
8855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8856 file.
8857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8858 file.
8859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8860 New file.
8861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8862 file.
8863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8864 file.
8865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8866 New file.
8867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8868 file.
8869 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8870 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8871 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8872 file.
8873 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8874 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8875 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8876 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8877 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8878 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8879 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8880 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8881 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8882 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8885 file.
8886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8887 New file.
8888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8889 file.
8890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8891 file.
8892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8893 file.
8894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8895 file.
8896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8897 file.
8898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8899 New file.
8900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8901 New file.
8902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8903 file.
8904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8905 New file.
8906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8907 file.
8908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8910 file.
8911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8912 New file.
8913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8914 file.
8915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8916 file.
8917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8918 file.
8919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8920 file.
8921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8922 file.
8923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8924 New file.
8925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8926 New file.
8927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8928 file.
8929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8930 New file.
8931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8932 file.
8933
41d73a1b
JM
89342012-04-28 Joseph Myers <joseph@codesourcery.com>
8935
8936 * conform/conformtest.pl: Fix typo in handling typed-constant from
8937 allow-header.
8938
28aeeda4
JM
89392012-04-27 Joseph Myers <joseph@codesourcery.com>
8940
adae8f5e
JM
8941 * README: Cut down references to pre-2.6 Linux kernels and
8942 Linuxthreads. Update lists of configurations in libc and ports
8943 and sort alphabetically. Say "or newer" with Linux kernel version
8944 requirements.
8945
28aeeda4
JM
8946 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8947
a462cb63
RA
89482012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8949
8950 [BZ #887]
8951 * math/libm-test.inc (logb_test_downward): New test to expose
8952 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8953 rounding mode.
8954
6ad3493e
JM
89552012-04-27 Joseph Myers <joseph@codesourcery.com>
8956
8957 [BZ #14027]
8958 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8959 to be done.
8960 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8961 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8962
2ce4f015
JM
89632012-04-26 Joseph Myers <joseph@codesourcery.com>
8964
5aeb141a
JM
8965 * sysdeps/unix/i386/brk.S: Remove file.
8966 * sysdeps/unix/i386/dl-brk.S: Likewise.
8967 * sysdeps/unix/i386/pipe.S: Likewise.
8968 * sysdeps/unix/i386/sigreturn.S: Likewise.
8969 * sysdeps/unix/i386/syscall.S: Likewise.
8970 * sysdeps/unix/i386/vfork.S: Likewise.
8971 * sysdeps/unix/i386/wait.S: Likewise.
8972
7143acae
JM
8973 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8974 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8975
2ce4f015
JM
8976 * configure.in (arm*-none*): Do not allow without
8977 --enable-hacker-mode.
8978 (netbsd*): Remove case setting base_os.
8979 (386bsd*): Likewise.
8980 (freebsd*): Likewise.
8981 (bsdi*): Likewise.
8982 (osf*): Likewise.
8983 (sunos*): Likewise.
8984 (ultrix*): Likewise.
8985 (newsos*): Likewise.
8986 (dynix*): Likewise.
8987 (*bsd*): Likewise.
8988 (sysv*): Likewise.
8989 (isc*): Likewise.
8990 (esix*): Likewise.
8991 (sco*): Likewise.
8992 (minix*): Likewise.
8993 (irix4*): Likewise.
8994 (irix6*): Likewise.
8995 (solaris[2-9]*): Likewise.
8996 (none): Likewise.
8997 * configure: Regenerated.
8998
0ac229c8
AZ
89992012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9000
9001 [BZ #11521]
9002 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9003 overflow or cancellation in calculating denominator.
9004 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9005 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9006 down expression to avoid unexpected rounding in newer GCCs.
9007 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9008
33f244f4
DM
90092012-04-26 David S. Miller <davem@davemloft.net>
9010
9011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9012 long-double compat symbols.
9013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9026
cfa1f3e8
DM
90272012-04-25 David S. Miller <davem@davemloft.net>
9028
9029 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9030 HWCAP_* values only after the memory barriers have been defined.
9031 (atomic_full_barrier): Define.
9032 (atomic_read_barrier): Define.
9033 (atomic_write_barrier): Define.
9034
6e236b92
SP
90352012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9036
9037 * shlib-versions: Add libgcc_s version information.
9038 * sysdeps/generic/libgcc_s.h: Remove.
9039 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9040 libgcc_s.h.
9041 * sysdeps/gnu/unwind-resume.c: Likewise.
9042 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9043
aab39a09
DM
90442012-04-25 David S. Miller <davem@davemloft.net>
9045
9046 * sysdeps/unix/sparc/brk.S: Delete.
9047 * sysdeps/unix/sparc/dl-brk.S: Delete.
9048 * sysdeps/unix/sparc/pipe.S: Delete.
9049 * sysdeps/unix/sparc/sysdep.S: Delete.
9050 * sysdeps/unix/sparc/sysdep.h: Delete.
9051 * sysdeps/unix/sparc/vfork.S: Delete.
9052 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9053 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9054 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9055 ret_ERRVAL, r0, r1, MOVE): Define.
9056 (JUMPTARGET): Remove.
9057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9058 sysdeps/unix/sparc/sysdep.h
9059 (ENTRY, END): Remove.
9060 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9061
a3cc4f48
JM
90622012-04-25 Joseph Myers <joseph@codesourcery.com>
9063
2ed8cda2
JM
9064 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9065 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9066 -DIS_IN_build.
9067
35d76d59
JM
9068 * timezone/README: Update upstream location and email address for
9069 tzcode and tzdata.
9070 * timezone/zdump.c: Update from tzcode 2012b.
9071 * timezone/zic.c: Likewise.
9072
a3cc4f48
JM
9073 * configure.in (libc_cv_as_needed): Remove test.
9074 * configure: Regenerated.
9075 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9076 conditional definition.
9077 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9078 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9079 * config.make.in (have-as-needed): Remove variable.
9080
ceab42c3
SP
90812012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9082 Paul Pluzhnikov <ppluzhnikov@google.com>
9083
9084 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9085 strings correctly.
9086
3ce2865f
CLT
90872012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9088
9089 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9090 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9091 * sysdeps/sh/strlen.S: Likewise.
9092
f37e0d68
JM
90932012-04-24 Joseph Myers <joseph@codesourcery.com>
9094
ae186e9a
JM
9095 * sysdeps/unix/fork.S: Remove file.
9096 * sysdeps/unix/i386/fork.S: Likewise.
9097 * sysdeps/unix/sparc/fork.S: Likewise.
9098
b96914af
JM
9099 * sysdeps/unix/system.c: Remove file.
9100 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9101
f37e0d68
JM
9102 * sysdeps/unix/getegid.S: Remove file.
9103 * sysdeps/unix/geteuid.S: Likewise.
9104
87ef29ca
RM
91052012-04-24 Roland McGrath <roland@hack.frob.com>
9106
83bcd236
RM
9107 * scripts/check-localplt.awk: New file.
9108 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9109 of diff.
9110 * scripts/data/localplt-generic.data: Add a comment.
9111
87ef29ca
RM
9112 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9113 NODE when __dir_mkfile failed.
9114 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9115 Reported by Ludovic Courtès <ludo@gnu.org>.
9116
e5a6e567
AJ
91172012-04-24 Andreas Jaeger <aj@suse.de>
9118
9119 * Makerules (common-clean): Also remove gen-as-const-headers
9120 files.
9121
c1820385
JM
91222012-04-24 Joseph Myers <joseph@codesourcery.com>
9123
9124 * Makerules (native-compile): Do not change working directory for
9125 build. Use $(OUTPUT_OPTION) in command.
9126 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9127
94e02fc4
AZ
91282012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9129
9130 [BZ #13886]
9131 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9132 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9133 * math/libm-test.inc (floor_test): Add more tests.
9134 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9135
3a533ca3
JM
91362012-04-24 Joseph Myers <joseph@codesourcery.com>
9137
940ab4b3
JM
9138 * sysdeps/unix/getdents.c: Remove file.
9139 * sysdeps/unix/sysv/getdents.c: Likewise.
9140 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9141
90e037bd
JM
9142 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9143 sysdeps/unix/mman/syscalls.list.
9144 (mmap): Likewise.
9145 (mprotect): Likewise.
9146 (msync): Likewise.
9147 (munmap): Likewise.
9148 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9149 * sysdeps/unix/mman/syscalls.list: Remove.
9150 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9151
3a533ca3
JM
9152 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9153 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9154 * configure: Regenerated.
9155 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9156 $(libgcc_s_suffix).
9157 * config.make.in (libgcc_s_suffix): Remove variable.
9158
1ad743de
JM
91592012-04-23 Joseph Myers <joseph@codesourcery.com>
9160
4ad451e2
JM
9161 * sysdeps/unix/sysv/gethostname.c: Move to ...
9162 * sysdeps/posix/gethostname.c: ... here.
9163
5e37ce39
JM
9164 * sysdeps/unix/execve.S: Remove file.
9165
1ad743de
JM
9166 * sysdeps/unix/_exit.S: Remove file.
9167
4e681b5b
AJ
91682012-04-23 Andreas Jaeger <aj@suse.de>
9169
9170 [BZ #13739]
9171 * manual/Makefile: Remove make dist support, there's no
9172 need for a stand-alone documentation tar ball.
9173 (TEXI2DVI): Define always, it's not in Makeconfig.
9174 (dist): Removed.
9175 (tar-it): Removed.
9176 (edition): Removed.
9177 (glibc-doc-$(edition).tar): Removed
9178 (%.Z): Removed.
9179 (%.gz): Removed.
9180 (%.uu): Removed.
9181 (ETAGS): Remove, it's in Makeconfig.
9182 (move-if-change): Remove, it's in Makeconfig.
9183
c0baea34
PE
91842013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9185
9186 [BZ #13970]
9187 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9188 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9189 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9190 (strtod_l, strtof_l, strtold_l): Remove __wur.
9191 It is not necessarily an error to ignore strtol's return value.
9192 One can reliably look at the stored endptr to decide whether
9193 the number had valid syntax.
9194
7c0616fa
AJ
91952012-04-21 Andreas Jaeger <aj@suse.de>
9196
803cb6b7 9197 [BZ #13739]
7c0616fa
AJ
9198 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9199
b0fe253f
JM
92002012-04-21 Joseph Myers <joseph@codesourcery.com>
9201
9202 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9203 * sysdeps/unix/sysv/Versions: Remove file.
9204
8280f22d
MT
92052012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9206
9207 [BZ #13927]
9208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9209
75ce411f 92102012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
9211
9212 [BZ #7064]
9213 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9214 version from __vm86.
9215
097d59fa
JM
92162012-04-20 Joseph Myers <joseph@codesourcery.com>
9217
a90f3bcb
JM
9218 * sysdeps/unix/common/lxstat.c: Remove file.
9219 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9220
edc7ea78
JM
9221 * sysdeps/unix/sysv/Makefile: Remove file.
9222
cb78c221
JM
9223 * sysdeps/unix/sysv/direct.h: Remove file.
9224
efa6a45f
JM
9225 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9226 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9227 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9228 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9229 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9230 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9231 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9232
9c9f2d0c
JM
9233 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9234
4541c83b
JM
9235 * sysdeps/unix/xmknod.c: Remove file.
9236 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9237
f5d153a0
JM
9238 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9239
aa746595
JM
9240 * sysdeps/unix/sysv/i386/time.S: Remove file.
9241
cce5905e
JM
9242 * sysdeps/unix/fxstat.c: Remove file.
9243 * sysdeps/unix/xstat.c: Likewise.
9244 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9245
37fa3841
JM
9246 * sysdeps/unix/sysv/sigaction.c: Remove file.
9247
ff1962a3
JM
9248 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9249 (sysdep_headers): Remove variable.
9250 [termio.h not in sysdep_headers] (generated): Likewise.
9251 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9252 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9253 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9254 * sysdeps/unix/sysv/tcflow.c: Likewise.
9255 * sysdeps/unix/sysv/tcflush.c: Likewise.
9256 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9257 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9258 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9259 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9260 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9261
e7740d31
JM
9262 * sysdeps/unix/siglist.c: Remove file.
9263
ee06f18b
JM
9264 * sysdeps/unix/getppid.S: Remove file.
9265
097d59fa
JM
9266 * sysdeps/unix/mkdir.c: Remove file.
9267 * sysdeps/unix/rmdir.c: Likewise.
9268
ff3d51ec
AS
92692012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9270
9271 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9272 ERR_MAX value.
9273 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9274 errlist-compat value.
9275
50f81fd7
DM
92762012-04-18 David S. Miller <davem@davemloft.net>
9277
9278 * sysdeps/generic/memcopy.h (reg_char): Delete.
9279 * debug/strcat_chk.c: Use char, not reg_char.
9280 * debug/strcpy_chk.c: Likewise.
9281 * debug/strncat_chk.c: Likewise.
9282 * debug/strncpy_chk.c: Likewise.
9283 * string/memchr.c: Likewise.
9284 * string/memrchr.c: Likewise.
9285 * string/rawmemchr.c: Likewise.
9286 * string/strcat.c: Likewise.
9287 * string/strchr.c: Likewise.
9288 * string/strchrnul.c: Likewise.
9289 * string/strcmp.c: Likewise.
9290 * string/strcpy.c: Likewise.
9291 * string/strncat.c: Likewise.
9292 * string/strncmp.c: Likewise.
9293 * string/strncpy.c: Likewise.
9294
8ff41c46
WS
92952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9296
9297 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9298 __builtin_memcopy is called when src and dest ranges are known to not
9299 overlap.
9300
6b652f46
WS
93012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9302
9303 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9304 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9305 fwd_align_merge macro call.
9306 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9307 bwd_align_merge macro call.
9308 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9309
b282631e
WS
93102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9311
9312 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9313 bwd_align_merge macros.
9314 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9315 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9316 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9317
95aa737c
DM
93182012-04-18 David S. Miller <davem@davemloft.net>
9319
9320 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9321
7a99a614
AJ
93222012-04-18 Andreas Jaeger <aj@suse.de>
9323
9324 [BZ# 6794]
9325 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9326 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9327 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9328
9329 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9330 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9331 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9332
9333 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9334 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9335 Adjust for changed ldbl-128 files.
9336
9337 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9338 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9339 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9340
e5270c23
DM
93412012-04-17 David S. Miller <davem@davemloft.net>
9342
9343 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9344
fb5e92c9
AS
93452012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9346
9347 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9348 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9349 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9350 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9351 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9352 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9353
76da7265
AZ
93542012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9355
9356 [BZ #6794]
9357 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9358 * math/libm-test.inc: Add ilogb errno and exception tests.
9359 * math/w_ilogb.c: New file: ilogb wrapper.
9360 * math/w_ilogbf.c: New file: ilogbf wrapper.
9361 * math/w_ilogbl.c: New file: ilogbl wrapper.
9362 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9363 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9364 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9365 exception being thrown with 0.0 as argument.
9366 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9367 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9368 exception being thrown with 0.0 as argument.
9369 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9370 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9371 exception being thrown with 0.0 as argument.
9372 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9373 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9374 exception being thrown with 0.0 as argument.
9375 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9376 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 9377 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
9378 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9379 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9380 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9381 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9382 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9383 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9384
0396e69d
PB
93852012-04-17 Petr Baudis <pasky@ucw.cz>
9386
9387 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9388 with altivec.
9389
750b5926
MP
93902012-04-16 Marek Polacek <polacek@redhat.com>
9391
9392 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9393
751728a1
MP
93942012-04-16 Marek Polacek <polacek@redhat.com>
9395
9396 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9397 operands of fdivp instruction.
9398
34a27407
L
93992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9400
9401 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9402 * elf/tst-auditmod3b.c: Likewise.
9403 * elf/tst-auditmod4b.c: Likewise.
9404 * elf/tst-auditmod5b.c: Likewise.
9405 * elf/tst-auditmod6b.c: Likewise.
9406 * elf/tst-auditmod6c.c: Likewise.
9407 * elf/tst-auditmod7b.c: Likewise.
9408 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9409 * sysdeps/x86_64/preconfigure.in: Likewise.
9410 * sysdeps/x86_64/preconfigure: Regenerated.
9411
7e73e17d
L
94122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9413
9414 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9415 __ILP32__.
9416
c7a6ab72
AB
94172012-04-13 Antoine Balestrat <merkil33@gmail.com>
9418
9419 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9420 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9421
a9e8e0e0
CL
94222012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9423
9424 [BZ #13973]
9425 * locale/iso-639.def: Fix gl language name. Spotted by
9426 Yaron Shahrabani.
9427
ec98af7d
RM
94282012-04-12 Roland McGrath <roland@hack.frob.com>
9429
9430 [BZ #2074]
9431 * libio/libio.h (__io_write_fn): Update comment.
9432
247c3ede
PB
94332012-04-12 Petr Baudis <pasky@ucw.cz>
9434
9435 [BZ #2074]
9436 * stdio.texi (Hook Functions): The user provided writer function
9437 is not allowed to return -1.
9438
55939d6d
DM
94392012-04-11 David S. Miller <davem@davemloft.net>
9440
9441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9442
90020f5a
MF
94432012-04-11 Mike Frysinger <vapier@gentoo.org>
9444
9445 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9446 Add a leading slash to rtkaio.
9447
288f9098
JM
94482012-04-11 Jim Meyering <meyering@redhat.com>
9449
90020f5a
MF
9450 [BZ #11959]
9451 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9452 It is not necessarily an error to ignore fwrite's return
9453 value. One can reliably use ferror to test for errors after
9454 the fact.
288f9098 9455
4be2b570
L
94562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9457
9458 * bits/types.h (__snseconds_t): New type.
9459 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9460
9461 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9462 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9463 (__SNSECONDS_T_TYPE): Likewise.
9464 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9465 (__SNSECONDS_T_TYPE): Likewise.
9466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9467 (__SNSECONDS_T_TYPE): Likewise.
9468
288f9098 94692012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9470
9471 [BZ #2636]
9472 * manual/time.texi (Processor Time): Return type of times is
9473 elapsed real time since an arbitrary point in the past.
9474 (CPU Time): Move CLK_TCK from here...
9475 (Processor Time): ...to here. Correct description.
9476 * manual/conf.texi (Constants for Sysconf): Correct description of
9477 _SC_CLK_TCK.
9478
d7dd4413
DM
94792012-04-10 David S. Miller <davem@davemloft.net>
9480
9481 [BZ #13967]
9482 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9483 where the is a gap between DT_REL(A) and DT_JMPREL.
9484
b46068fc
L
94852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9486
9487 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9488 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9489 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9490
73d65cc3
SP
94912012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9492
9493 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9494 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9495 (dl_main): Handle --inhibit-cache.
9496 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9497 _dl_inhibit_cache.
9498 * elf/dl-load.c (_dl_map_object): Use it.
9499 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9500
bcc8d661
JM
95012012-04-09 Joseph Myers <joseph@codesourcery.com>
9502
8f9a2fae
JM
9503 [BZ #13872]
9504 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9505 (__ieee754_powl): Saturate large exponents rather than testing for
9506 overflow of y*log2(x).
9507 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9508 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9509 exceptions.
9510
bcc8d661
JM
9511 [BZ #11521]
9512 * math/s_ctan.c: Include <float.h>.
9513 (__ctan): Avoid internal overflow or cancellation in calculating
9514 denominator.
9515 * math/s_ctanf.c: Likewise.
9516 * math/s_ctanl.c: Likewise.
9517 * math/s_ctanh.c: Likewise.
9518 * math/s_ctanhf.c: Likewise.
9519 * math/s_ctanhl.c: Likewise.
9520 * math/libm-test.inc (ctan_test): Add more tests.
9521 (ctanh_test): Likewise.
9522 * sysdeps/i386/fpu/libm-test-ulps: Update.
9523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9524
823fbbb4
AJ
95252012-04-09 Andreas Jaeger <aj@suse.de>
9526
03879793
AJ
9527 [BZ #6894]
9528 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9529 is an optional BSD extension.
9530
823fbbb4
AJ
9531 [BZ #10254]
9532 * manual/stdio.texi (Opening Streams): Document additional fopen
9533 parameters.
9534
8de131cb
RM
95352012-04-09 Roland McGrath <roland@hack.frob.com>
9536
9537 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9538 %eax without telling the compiler.
9539
c0ed9d7d
CD
95402012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9541
9542 [BZ # 13963]
9543 * manual/install.texi: Use sourceware.org.
9544
c483f6b4
JM
95452012-04-09 Joseph Myers <joseph@codesourcery.com>
9546
d7dd9453
JM
9547 [BZ #13873]
9548 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9549 (__ieee754_pow): Generate overflow and underflow using huge*huge
9550 and tiny*tiny rather than just returning constant infinity or zero
9551 for large exponents.
9552 * math/libm-test.inc (pow_test): Require overflow exceptions for
9553 applicable cases of large exponents.
9554
c483f6b4
JM
9555 [BZ #706]
9556 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9557 (__ieee754_pow): Use iterative multiplication algorithm only for
9558 integer exponents with absolute value below 1024. Check for odd
9559 integer exponents when using algorithm for real exponents.
9560 * math/libm-test.inc (pow_test): Add more tests.
9561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9562
d2de7579
JM
95632012-04-08 Joseph Myers <joseph@codesourcery.com>
9564
9565 [BZ #13705]
9566 * math/libm-test.inc (exp_test): Do not allow overflow exception
9567 on underflow test.
9568
f77f1232
AJ
95692012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9570
9571 [BZ #13705]
9572 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9573 instead of __kernel_standard_f.
9574
3884932b
MF
95752012-04-08 Mike Frysinger <vapier@gentoo.org>
9576
9577 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9578 * sysdeps/x86_64/memset_chk.S: Likewise.
9579
54472e9c
AJ
95802012-04-08 Andreas Jaeger <aj@suse.de>
9581
6ab0fbfc
AJ
9582 [BZ #10153]
9583 * manual/startup.texi (Environment Access): Describe return value
9584 for putenv and setenv.
9585
61efba8c
AJ
9586 [BZ #6895]
9587 * manual/filesys.texi (Directory Entries): Add description for
9588 DT_LNK.
9589
95c3f29a
AJ
9590 [BZ #6890]
9591 * manual/filesys.texi (Directory Entries): Clarify that it's file
9592 system not operating system in the description of DT_UNKNOWN.
9593
54472e9c
AJ
9594 [BZ #6578]
9595 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9596
624254b1
SC
95972012-04-08 Stephen Compall <s11@member.fsf.org>
9598
9599 [BZ #6649]
9600 * manual/llio.texi (Opening and Closing Files): Add cross
9601 reference to explain mode argument.
9602
1e4920e0
MF
96032012-04-07 Mike Frysinger <vapier@gentoo.org>
9604
9605 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9606 * sysdeps/x86_64/memset_chk.S: Likewise.
9607
5ed848f3
DM
96082012-04-07 David S. Miller <davem@davemloft.net>
9609
9610 * elf/elf.h (R_SPARC_WDISP10): Define.
9611 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9612 R_SPARC_SIZE32.
9613 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9614 R_SPARC_SIZE64 and R_SPARC_H34.
9615
96154cd8
CD
96162012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9617
9618 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9619 conditions and remove no longer applicable assertion.
9620
9904dc47
L
96212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9622
9623 * bits/byteswap.h: Include <features.h>.
9624 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9625 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9626
f8887d0a
L
96272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9628
9629 * bits/byteswap.h (__bswap_16): Removed.
9630 Include <bits/byteswap-16.h> to get __bswap_16.
9631 * sysdeps/i386/bits/byteswap.h: Likewise.
9632 * sysdeps/s390/bits/byteswap.h: Likewise.
9633 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9634 * bits/byteswap-16.h: New file.
9635 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9636 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9637 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9638 * string/Makefile (headers): Add bits/byteswap-16.h.
9639
62470f60
PP
96402012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9641
9642 [BZ #13895]
9643 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9644 extra indirection.
9645 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9646 * nss/tst-nss-static.c: New.
9647
4dad7bab
RM
96482012-04-06 Robert Millan <rmh@gnu.org>
9649
9650 [BZ #6486]
9651 * manual/llio.texi (File Position Primitive): lseek
9652 refers to WHENCE when it really means OFFSET.
9653
e9142a17
AJ
96542012-04-06 Andreas Jaeger <aj@suse.de>
9655
2c040eff
AJ
9656 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9657 strncmp declarations.
9658
e9142a17
AJ
9659 * abilist/libc.abilist: Add __poll and __ppoll.
9660
ff9f1c5f
DM
96612012-04-05 David S. Miller <davem@davemloft.net>
9662
dcd2ae90
DM
9663 * scripts/check-local-headers.sh: Accept a host triplet in the
9664 path matched by the exclude regexp.
9665
993eb054
DM
9666 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9667 definition.
9668 * sysdeps/powerpc/powerpc32/dl-machine.h
9669 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9670 * sysdeps/s390/s390-32/dl-machine.h
9671 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9672 * sysdeps/sparc/sparc32/dl-machine.h
9673 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9674 * sysdeps/sparc/sparc64/dl-machine.h
9675 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9676
ff9f1c5f
DM
9677 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9678 lazy binding.
48e2e132 9679 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9680 undefined symbol errors.
9681
48e2e132 9682 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9683 DT_NEEDED entries.
9684
e80d6f94
MM
96852012-04-05 Michael Matz <matz@suse.de>
9686
9687 [BZ #13592]
9688 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9689
349fa79f
AJ
96902012-04-05 Andreas Jaeger <aj@suse.de>
9691
9692 [BZ #13908]
9693 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9694 comment.
9695
f402708f
KK
96962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9697
9698 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9699 which ROUND is no valid rounding mode.
9700
2ecccfc9
KK
97012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9702
9703 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9704 read again.
9705 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9706
8a53f50f
KK
97072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9708
9709 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9710 an exception using FPU order intentionally.
9711
97122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9713
9714 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9715 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9716 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9717 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9718
d653abb7
SJ
97192012-04-05 Simon Josefsson <simon@josefsson.org>
9720
9721 [BZ #12340]
9722 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9723 EINVAL when BUFLEN is too smal.
9724
c3b1bf7d
TS
97252012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9726
9727 [BZ #13553]
9728 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9729 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9730
b1aa60f3
AJ
97312012-04-03 Andreas Jaeger <aj@suse.de>
9732
c3b1bf7d 9733 [BZ #13938]
67f60a26
AJ
9734 * manual/setjmp.texi (System V contexts): Fix sentence.
9735
b1aa60f3
AJ
9736 [BZ #13926]
9737 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9738 New macro for this case.
9739 [!__GNUC__] (__bswap_64): New inline function for this case.
9740 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9741 * bits/byteswap.h: Likewise.
9742 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9743 ull, guard with __GLIBC_HAVE_LONG_LONG.
9744
9745 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9746 __GLIBC_HAVE_LONG_LONG.
9747
9748 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9749 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9750
39c59c35
TMQMF
97512012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9752
9753 [BZ #13691]
9754 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9755 inptr and inend, rather than using last_ch.
9756
135ffda8
DM
97572012-04-02 David S. Miller <davem@davemloft.net>
9758
9759 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9760 * stdio-common/printf-parse.h (read_int): Change return type to
9761 'int', return -1 on INT_MAX overflow.
9762 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9763 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9764 overflows INT_MAX. Check for overflow of in-format-string precision
9765 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9766 SIZE_MAX not INT_MAX for integer overflow test.
9767 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9768 skip the construct in the format string but do not record anything.
9769 * stdio-common/bug22.c: Adjust to test both width/prevision
9770 INT_MAX overflow as well as total length INT_MAX overflow. Check
9771 explicitly for proper errno values.
9772
228c019e
TS
97732012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9774
302cadd3
TS
9775 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9776 CHAR_MAX.
9777 * string/test-strcmp.c [! WIDE]: Likewise.
9778 * time/tst-mktime2.c: Likewise for INT_MAX.
9779 * string/test-string.h: #include <sys/param.h> for MIN.
9780
228c019e
TS
9781 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9782 * sysdeps/i386/init-first.c (init): Likewise.
9783 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9784 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9785 * sysdeps/sh/init-first.c (init): Likewise.
9786
cfa633f5
UD
97872012-04-01 Ulrich Drepper <drepper@gmail.com>
9788
9789 * po/ru.po: Update from translation team.
d1635ef8 9790 * po/vi.po: Likewise.
cfa633f5 9791
6cd0a5ea
SP
97922012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9793
9794 * resolv/nss_dns/dns-host.c: Merge copyright years.
9795
4b43400f
LD
97962012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9797
9798 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9799 Optimize memcpy with prefetch if
9800 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9801 src, dst pointers have unequal 16 byte alignments.
9802
48c41d04
SP
98032012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9804
9805 [BZ #13928]
9806 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9807 from a CNAME entry and return the minimum ttl for the query.
9808 (gaih_getanswer_slice): Likewise.
9809
b8dc394d
JL
98102012-03-30 Jeff Law <law@redhat.com>
9811
9812 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9813 due to long keys.
9814 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9815 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9816
2f5a5ed0
JL
9817 * resolv/nss_dns/dns-host.c: Update copyright year.
9818
1d39e359
UD
98192012-03-30 Ulrich Drepper <drepper@gmail.com>
9820
c030f70c 9821 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9822 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9823
1d39e359
UD
9824 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9825 comments for sendmmsg.
9826
98272012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9828
9829 [BZ #13691]
9830 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9831 with only 1 character between 0x0041 and 0x01b0.
9832 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9833 * wcsmbs/tst-mbsnrtowcs.c: New file.
9834
20fde227
DM
98352012-03-29 David S. Miller <davem@davemloft.net>
9836
9837 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9838 small copies by hand.
9839
984a4237
JL
98402012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9841
9842 [BZ #13761]
9843 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9844 _nss_compat_initgroups_dyn): Fall back to malloc/free
9845 for large group memberships.
9846
18c9d62b
DM
98472012-03-28 David S. Miller <davem@davemloft.net>
9848
88d85d4f
DM
9849 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9850 that branches into memcpy.
9851 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9852 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9854 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9856 bits.
9857 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9858 implementation too.
9859 * sysdeps/sparc/mempcpy.S: New file.
9860
e5aa83e1
DM
9861 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9862 the IFUNC routine in the libc case.
9863 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9864
88570753
DM
9865 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9866 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9867 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9868 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9869 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9870 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9871 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9872 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9873
249d7567
DM
9874 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9875 loop to 256 bytes instead of 64 bytes and fix test signedness.
9876
18c9d62b
DM
9877 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9878 * sysdeps/sparc/sparc32/Makefile: rather than here...
9879 * sysdeps/sparc/sparc64/Makefile: and here.
9880
05f3d1f6
UD
98812012-03-28 Ulrich Drepper <drepper@gmail.com>
9882
9883 * malloc/mallocbug.c: Avoid warnings about unused variables.
9884
86ae07a8
JL
98852012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9886
9887 [BZ #13760]
9888 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9889 in the right place. Discard and retry query if response is
9890 larger than input buffer size.
9891
41bf21a1
JM
98922012-03-28 Joseph Myers <joseph@codesourcery.com>
9893
d6270972
JM
9894 [BZ #369]
9895 [BZ #2678]
9896 [BZ #3866]
9897 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9898 x for large integer exponent.
9899 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9900 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9901 sign of result as needed afterwards.
9902 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9903 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9904 result for underflowing pow the same as for overflow.
9905 (__kernel_standard_l): Handle powl overflow and underflow here
9906 rather than calling __kernel_standard.
9907 * math/libm-test.inc (pow_test): Add more tests.
9908
414fca03 9909 [BZ #3868]
41bf21a1
JM
9910 [BZ #13879]
9911 [BZ #13910]
9912 [BZ #13911]
9913 [BZ #13912]
9914 [BZ #13913]
9915 [BZ #13915]
9916 [BZ #13916]
9917 [BZ #13917]
9918 [BZ #13918]
9919 [BZ #13919]
9920 [BZ #13920]
9921 [BZ #13921]
9922 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9923 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9924 (__kernel_standard_l): New function.
9925 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9926 __kernel_standard.
9927 * math/w_acosl.c (__acosl): Likewise.
9928 * math/w_asinl.c (__asinl): Likewise.
9929 * math/w_atan2l.c (__atan2l): Likewise.
9930 * math/w_atanhl.c (__atanhl): Likewise.
9931 * math/w_coshl.c (__coshl): Likewise.
9932 * math/w_exp10l.c (__exp10l): Likewise.
9933 * math/w_exp2l.c (__exp2l): Likewise.
9934 * math/w_fmodl.c (__fmodl): Likewise.
9935 * math/w_hypotl.c (__hypotl): Likewise.
9936 * math/w_j0l.c (__j0l, __y0l): Likewise.
9937 * math/w_j1l.c (__j1l, __y1l): Likewise.
9938 * math/w_jnl.c (__jnl, __ynl): Likewise.
9939 * math/w_lgammal.c (__lgammal): Likewise.
9940 * math/w_log10l.c (__log10l): Likewise.
9941 * math/w_log2l.c (__log2l): Likewise.
9942 * math/w_logl.c (__logl): Likewise.
9943 * math/w_powl.c (__powl): Likewise.
9944 * math/w_remainderl.c (__remainderl): Likewise.
9945 * math/w_scalbl.c (sysv_scalbl): Likewise.
9946 * math/w_sinhl.c (__sinhl): Likewise.
9947 * math/w_sqrtl.c (__sqrtl): Likewise.
9948 * math/w_tgammal.c (__tgammal): Likewise.
9949 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9950 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9951 * math/libm-test.inc (acos_test): Add more tests.
9952 (acosh_test): Likewise.
9953 (asin_test): Likewise.
9954 (atanh_test): Likewise.
9955 (exp_test): Likewise.
9956 (exp10_test): Likewise.
9957 (exp2_test): Likewise.
9958 (expm1_test): Likewise.
9959 (lgamma_test): Likewise.
9960 (log_test): Likewise.
9961 (log10_test): Likewise.
9962 (log1p_test): Likewise.
9963 (log2_test): Likewise.
9964 (pow_test): Do not allow some spurious overflow exceptions.
9965 (sqrt_test): Add more tests.
9966 (tgamma_test): Likewise.
9967 (y0_test): Likewise.
9968 (y1_test): Likewise.
9969 (yn_test): Likewise.
9970
dd62fda6
AB
99712012-03-27 Anton Blanchard <anton@samba.org>
9972
9973 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9974 MAP_HUGETLB.
9975 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9976 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9977 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9978
1e3cdfda
AJ
99792012-03-27 David S. Miller <davem@davemloft.net>
9980
b855ab85
DM
9981 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9982
1e3cdfda
AJ
9983 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9984 have-as-vis3 check.
9985
99862012-03-27 Andreas Jaeger <aj@suse.de>
9987
9988 * sysdeps/x86_64/elf/configure.in: Moved to ...
9989 * sysdeps/x86_64/configure.in: ... here.
9990 * sysdeps/x86_64/elf/start.S: Moved to ...
9991 * sysdeps/x86_64/start.S: ... here.
9992 * sysdeps/x86_64/elf/configure: Delete.
9993
9994 * sysdeps/x86_64/configure.in: Merge contents from
9995 sysdeps/i386/configure.in (without i686 check).
9996
9997 * sysdeps/i386/elf/Versions: Merge into ...
9998 * sysdeps/i386/Versions: ... this.
9999 * sysdeps/i386/elf/Versions: Delete file.
10000 * sysdeps/i386/elf/start.S: Moved to ...
10001 * sysdeps/i386/start.S: ...here.
10002 * sysdeps/i386/elf/configure.in: Merge into...
10003 * sysdeps/i386/configure.in: ...here.
10004 * sysdeps/i386/elf/configure.in: Delete file.
10005 * sysdeps/i386/elf/configure: Delete file.
10006
10007 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10008 * debug/backtracesyms.c: ... here.
10009 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10010 * debug/backtracesymsfd.c: ... here.
10011 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10012 * sysdeps/generic/ifunc-sel.h: ... here.
10013
10014 * sysdeps/unix/i386/start.c: Delete file.
10015 * sysdeps/unix/sparc/start.c: Delete file.
10016 * sysdeps/unix/start.c: Delete file.
10017
10018 * sysdeps/sh/elf/configure.in: Moved to ...
10019 * sysdeps/sh/configure.in: ... here.
10020 * sysdeps/sh/elf/start.S: Moved to ...
10021 * sysdeps/sh/start.S: ... here.
10022 * sysdeps/sh/elf/configure: Delete file.
10023
10024 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10025 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10026 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10027 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10028 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10029 * sysdeps/powerpc/powerpc64/start.S: here.
10030 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10031 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10032 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10033 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10034 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10035
10036 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10037 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10038 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10039 * sysdeps/powerpc/powerpc32/start.S: ... here.
10040 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10041 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10042 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10043
10044 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10045 * sysdeps/powerpc/ifunc-sel.h: ... here.
10046 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10047 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10048
10049 * sysdeps/sparc/elf/configure.in: Moved to ...
10050 * sysdeps/sparc/configure.in: ... here.
10051 * sysdeps/sparc/elf/configure: Delete file.
10052 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10053 * sysdeps/sparc/sparc32/start.S: ... here.
10054 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10055 * sysdeps/sparc/sparc64/start.S: ... here.
10056 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10057 * sysdeps/sparc/sparc32/Makefile: ... this.
10058 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10059 * sysdeps/sparc/sparc64/Makefile: ... this.
10060
10061 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10062 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10063 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10064 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10065 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10066 * sysdeps/s390/s390-32/setjmp.S: ... here.
10067 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10068 * sysdeps/s390/s390-32/configure.in: ... here.
10069 * sysdeps/s390/s390-32/elf/configure: Delete file.
10070 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10071 * sysdeps/s390/s390-32/start.S: ... here.
10072
10073 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10074 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10075 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10076 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10077 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10078 * sysdeps/s390/s390-64/setjmp.S: ... here.
10079 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10080 * sysdeps/s390/s390-64/configure.in: ... here
10081 * sysdeps/s390/s390-64/elf/configure: Delete file.
10082 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10083 * sysdeps/s390/s390-64/start.S: ... here.
10084 * sysdeps/s390/s390-64/elf/configure: Delete.
10085
10086 * configure.in: Remove support for elf directories in sysdeps.
10087
10088 * configure: Regenerated.
10089 * sysdeps/i386/configure: Regenerated.
10090 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10091 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10092 * sysdeps/s390/s390-32/configure: Regenerated.
10093 * sysdeps/s390/s390-64/configure: Regenerated.
10094 * sysdeps/sh/configure: Regenerated.
10095 * sysdeps/sparc/configure: Regenerated.
10096 * sysdeps/x86_64/configure: Regenerated.
10097
a3f61311
AS
100982012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10099
c876e002
AS
10100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10101
a3f61311
AS
10102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10103 denormal result into account.
10104
ac4c54f0
RM
101052012-03-25 Roland McGrath <roland@hack.frob.com>
10106
10107 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10108 Reported by Allan McRae <allan@archlinux.org>.
10109
6a9b9c02
JL
101102012-03-23 Jeff Law <law@redhat.com>
10111
10112 * nss/getnssent.c (__nss_getent): Fix typo.
10113
4c42a0c1
DM
101142012-03-23 David S. Miller <davem@davemloft.net>
10115
10116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10117
1532c7ac
L
101182012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10119
10120 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10121 to pad to uint64_t for each field.
10122 (dl_tls_index): Replace unsigned long with uint64_t.
10123
3ff42526
PP
101242012-03-23 Daniel Jacobowitz <dmj@google.com>
10125 Paul Pluzhnikov <ppluzhnikov@google.com>
10126
10127 [BZ #6528]
10128 * grp/Makefile (otherlibs): Don't set it.
10129 * inet/Makefile (otherlibs): Likewise.
10130 * login/Makefile (otherlibs): Likewise.
10131 * nscd/Makefile (otherlibs): Likewise.
10132 * posix/Makefile (otherlibs): Likewise.
10133 * pwd/Makefile (otherlibs): Likewise.
10134 * rt/Makefile (otherlibs): Likewise.
10135 * sunrpc/Makefile (otherlibs): Likewise.
10136 * nss/Makefile (otherlibs): Likewise.
10137 Add libnss_files to routines and static-only-routines.
10138 ($(objpfx)getent): Remove rule.
10139 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10140 static-only-routines.
10141
7c69cd14
JM
101422012-03-22 Joseph Myers <joseph@codesourcery.com>
10143
10144 [BZ #13892]
10145 * math/s_cexp.c: Include <float.h>.
10146 (__cexp): Handle exp result overflowing not necessarily
10147 overflowing both real and imaginary parts of result.
10148 * math/s_cexpf.c: Likewise.
10149 * math/s_cexpl.c: Likewise.
10150 * math/libm-test.inc (cexp_test): Add more tests.
10151 * sysdeps/i386/fpu/libm-test-ulps: Update.
10152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10153
81b035fe
L
101542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10155
10156 * include/link.h (ELFW): New macro.
10157 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10158 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10159
1da7940c
L
101602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10161
10162 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10163 with uint64_t.
10164
b749dbb9
L
101652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10166
10167 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10168 declaration.
10169 (struct La_x32_retval): Likewise.
10170
2ff87f3f
L
101712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10172
10173 * sysdeps/x86_64/preconfigure.in: New file.
10174 * sysdeps/x86_64/preconfigure: New generated file.
10175
c0df8e69
JM
101762012-03-22 Joseph Myers <joseph@codesourcery.com>
10177
48e44791
JM
10178 [BZ #13824]
10179 * math/e_exp2l.c: Include <float.h>.
10180 (__ieee754_exp2l): Handle overflow and underflow cases
10181 separately. Only pass fractional part of argument to
10182 __ieee754_expl.
10183 * math/libm-test.inc (exp2_test): Add more tests.
10184
c0df8e69
JM
10185 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10186 negating x to take absolute value.
10187 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10188 Likewise.
10189 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10190 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10191 Likewise.
10192 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10193 computing low part if x was negated.
10194 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10195
c8e43ba7
L
101962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10197
10198 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10199 la_x32_gnu_pltexit.
10200 (pltexit): Cast int_retval to ptrdiff_t.
10201 * elf/tst-auditmod3b.c: Likewise.
10202 * elf/tst-auditmod4b.c: Likewise.
10203 * elf/tst-auditmod5b.c: Likewise.
10204 * elf/tst-auditmod6b.c: Likewise.
10205 * elf/tst-auditmod6c.c: Likewise.
10206 * elf/tst-auditmod7b.c: Likewise.
10207
10208 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10209 and x32_gnu_pltexit.
10210
10211 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10212 __ELF_NATIVE_CLASS.
10213 (La_x32_regs): New macro.
10214 (La_x32_retval): Likewise.
10215 (la_x32_gnu_pltenter): New function prototype.
10216 (la_x32_gnu_pltexit): Likewise.
10217
7998fa78
AS
102182012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10219
dcb33988
AS
10220 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10221 exponent.
10222
233fc563
AS
10223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10224
7998fa78
AS
10225 * configure.in (libc_cv_cc_nofma): Check for option to disable
10226 generation of FMA instructions.
10227 * configure: Regenerate.
10228 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10229 * sysdeps/ieee754/dbl-64/Makefile: New file.
10230 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10231 Remove brandred-fma4.
10232 (CFLAGS-brandred-fma4.c): Remove.
10233 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10234 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10235 define.
10236 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10237 define.
10238
8e95c99a
L
102392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10240
10241 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10242 LLONG_MAX != LONG_MAX.
10243 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10244 (_fitoa_word): Likewise.
10245 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10246 LLONG_MAX != LONG_MAX.
10247 * stdio-common/_itowa.h: Include <_itoa.h>.
10248 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10249 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10250 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10251 only if not defined.
10252 (_ITOA_WORD_TYPE): Likewise.
10253 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10254 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10255
6f4db457
DM
102562012-03-21 David S. Miller <davem@davemloft.net>
10257
10258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10259
7785fe5a
L
102602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10261
10262 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10263 of x86_64 when setting libc_cv_slibdir, libdir and
10264 libc_cv_localedir.
10265 * sysdeps/unix/sysv/linux/configure: Regenerated.
10266
4535cd55
JM
102672012-03-21 Joseph Myers <joseph@codesourcery.com>
10268
10269 * manual/lang.texi (Old Varargs): Remove section.
10270 (How Variadic): Update menu.
10271 (va_start): Do not mention varargs.h.
10272
17228132
TS
102732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10274 Joseph Myers <joseph@codesourcery.com>
10275
10276 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10277 link test.
10278 * configure: Regenerated.
10279
8149f976
TS
102802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10281
05f3d1f6
UD
10282 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10283 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10284 conformtest.pl
8149f976 10285
1a4ac776
JM
102862012-03-21 Joseph Myers <joseph@codesourcery.com>
10287
be22ce65
JM
10288 * NOTES: Remove.
10289 * Makefile (files-for-dist): Remove NOTES.
10290 (NOTES): Remove rule.
10291 * README: Don't refer to NOTES.
10292 * manual/creature.texi: Don't include macros.texi.
10293 * manual/intro.texi (creature.texi): Remove comment referring to
10294 NOTES.
10295
40b601fb
JM
10296 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10297 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10298 * configure: Regenerated.
10299 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10300 LIBC_TRY_CC_OPTION.
10301 (libc_cv_as_i686): Likewise.
10302 (libc_cv_cc_avx): Likewise.
10303 (libc_cv_cc_sse2avx): Likewise.
10304 (libc_cv_cc_fma4): Likewise.
10305 (libc_cv_cc_novzeroupper): Likewise.
10306 * sysdeps/i386/configure: Regenerated.
10307
1a4ac776
JM
10308 [BZ #13883]
10309 * sysdeps/i386/fpu/s_cexp.S: Remove.
10310 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10311 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10312 * math/libm-test.inc (cexp_test): Add more tests.
10313 * sysdeps/i386/fpu/libm-test-ulps: Update.
10314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10315
a458e7fe
AM
103162012-03-21 Allan McRae <allan@archlinux.org>
10317
10318 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10319
0cb7efc5
JM
103202012-03-21 Joseph Myers <joseph@codesourcery.com>
10321
10322 [BZ #13871]
10323 * math/w_exp2.c: Do not include <float.h>.
10324 (o_threshold, u_threshold): Remove.
10325 (__exp2): Calculate result before checking finiteness and calling
10326 __kernel_standard.
10327 * math/w_exp2f.c: Likewise.
10328 * math/w_exp2l.c: Likewise.
10329 * math/libm-test.inc (exp2_test): Require overflow exception for
10330 1e6 input.
2460d3aa
JM
10331
10332 [BZ #3866]
10333 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10334 range of signed 64-bit integers before using fistpll. Remove
10335 checks for whether integers fit in mantissa bits.
10336 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10337 the range of signed 32-bit integers before using fistpl. Remove
10338 checks for whether integers fit in mantissa bits.
10339 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10340 (__ieee754_powl): Test for y outside the range of signed 64-bit
10341 integers before using fistpll. Reduce 64-bit values to 63-bit
10342 ones as needed.
10343 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10344 divide-by-zero is raised for zero to large negative powers.
10345 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10346 (__ieee754_powl): Test for y outside the range of signed 64-bit
10347 integers before using fistpll. Reduce 64-bit values to 63-bit
10348 ones as needed.
10349 * math/libm-test.inc (pow_test): Add more tests.
10350
eb96ffb0
L
103512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10352
10353 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10354 <stdio-common/_itoa.h>.
10355 * debug/segfault.c: Likewise.
10356 * elf/dl-cache.c: Likewise.
10357 * elf/dl-minimal.c: Likewise.
10358 * elf/dl-misc.c: Likewise.
10359 * elf/dl-sysdep.c: Likewise.
10360 * elf/dl-version.c: Likewise.
10361 * elf/rtld.c: Likewise.
10362 * hurd/hurdsock.c: Likewise.
10363 * hurd/lookup-retry.c: Likewise.
10364 * malloc/malloc.c: Likewise.
10365 * malloc/mtrace.c: Likewise.
10366 * nscd/nscd_getgr_r.c: Likewise.
10367 * nscd/nscd_getpw_r.c: Likewise.
10368 * nscd/nscd_getserv_r.c: Likewise.
10369 * posix/getopt_init.c: Likewise.
10370 * posix/wordexp.c: Likewise.
10371 * stdio-common/_itoa.c: Likewise.
10372 * stdio-common/printf_fphex.c: Likewise.
10373 * stdio-common/vfprintf.c: Likewise.
10374 * string/_strerror.c: Likewise.
10375 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10376 * sysdeps/i386/i686/hp-timing.h: Likewise.
10377 * sysdeps/mach/_strerror.c: Likewise.
10378 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10379 * sysdeps/mach/hurd/sethostid.c: Likewise.
10380 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10381 * sysdeps/mach/xpg-strerror.c: Likewise.
10382 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10383 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10384 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10385 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10386 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10387 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10388 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10389 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10390 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10391 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10392 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10393 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10394 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10395 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10396 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10397 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10398 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10399 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10400 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10401 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10402 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10403
10404 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10405
10406 * stdio-common/_itoa.h: Moved to ...
10407 * sysdeps/generic/_itoa.h: Here.
10408
10409 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10410
10411 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10412 instead of "_itoa.h" and "_itowa.h".
10413 * stdio-common/vfprintf.: Likewise.
10414
d1af992d
L
104152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10416
10417 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10418 <bits/wordsize.h>.
10419 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10420 (__signbit): Likwise.
10421 (llrintf): Likwise.
10422 (llrint): Likwise.
10423
114883e0
L
104242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10425
10426 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10427 __WORDSIZE != 64.
10428
c135cc1b
JM
104292012-03-20 Joseph Myers <joseph@codesourcery.com>
10430
10431 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10432 OVERFLOW_EXCEPTION_OK.
10433 * math/libm-test.inc ("Philosophy"): Update comment about
10434 exception testing.
10435 (OVERFLOW_EXCEPTION): Define.
10436 (OVERFLOW_EXCEPTION_OK): Likewise.
10437 (INVALID_EXCEPTION_OK): Renumber.
10438 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10439 (IGNORE_ZERO_INF_SIGN): Likewise.
10440 (test_exceptions): Handle FE_OVERFLOW.
10441 (exp10_test): Expect overflow exceptions.
10442 (exp2_test): Likewise.
10443 (expm1_test): Likewise.
10444 (nextafter_test): Likewise.
10445 (pow_test): Likewise.
10446 (scalbn_test): Likewise.
10447 (scalbln_test): Likewise.
10448
95443d88
L
104492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10450
10451 * sysdeps/x86_64/bits/atomic.h
10452 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10453 64bit integer.
10454 (atomic_exchange_acq): Likewise.
10455 (__arch_exchange_and_add_body): Likewise.
10456 (__arch_add_body): Likewise.
10457 (atomic_add_negative): Likewise.
10458 (atomic_add_zero): Likewise.
10459
490df6c4
L
104602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10461
c2722551 10462 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10463 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10464
5e52b189
L
104652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10466
10467 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10468 Check __x86_64__ instead of __WORDSIZE.
10469
a9879d4c
L
104702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10471
10472 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10473
5df98260
DM
104742012-03-19 David S. Miller <davem@davemloft.net>
10475
e1497744
DM
10476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10477
5df98260
DM
10478 * sysdeps/sparc/fpu/fenv_private.h: New file.
10479 * sysdeps/sparc/fpu/math_private.h: Use it.
10480 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10481 Remove.
10482 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10483 (libc_feholdexcept_setroundl): Remove.
10484 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10485 Remove.
10486 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10487 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10488
b4c35121
L
104892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10490
10491 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10492 int64_t instead of long int.
10493 (INSERT_WORDS64): Likwise.
10494
56965fd7
L
104952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10496
10497 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10498 _Unwind_GetCFA return to _Unwind_Ptr first.
10499
83d1aec8
JM
105002012-03-19 Joseph Myers <joseph@codesourcery.com>
10501
1897ad44
JM
10502 [BZ #13629]
10503 * math/s_clog.c: Include <float.h>.
10504 (__clog): Scale large or subnormal inputs.
10505 * math/s_clogf.c: Likewise.
10506 * math/s_clogl.c: Likewise.
10507 * math/s_clog10.c: Include <float.h>.
10508 (M_LOG10_2): Define.
10509 (__clog10): Scale large or subnormal inputs.
10510 * math/s_clog10f.c: Likewise.
10511 * math/s_clog10l.c: Likewise.
10512 * math/libm-test.inc (clog_test): Add more tests.
10513 (clog10_test): Likewise.
10514 * sysdeps/i386/fpu/libm-test-ulps: Update.
10515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10516
7726d6a9
JM
10517 [BZ #11451]
10518 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10519 x and y.
10520 * math/libm-test.inc (atan2_test): Add another test.
10521
83d1aec8
JM
10522 * Makerules (common-objdir-compile): Remove.
10523 * sysdeps/unix/Makefile (config-generated): Do not add
10524 $(unix-generated) to variable.
10525 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10526 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10527 Remove rule.
10528 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10529 Likewise.
10530 [generic bits/local_lim.h] (before-compile): Do not append to
10531 variable.
10532 [generic bits/local_lim.h] (common-generated): Likewise.
10533 [generic sys/param.h] (before-compile): Do not append to variable.
10534 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10535 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10536 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10537 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10538 include.
10539 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10540 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10541 [generic sys/param.h] ($(addprefix
10542 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10543 [generic sys/param.h] (common-generated): Do not append to
10544 variable.
10545 [generic sys/param.h] (sysdep_headers): Likewise.
10546 [generic bits/errno.h] (before-compile): Do not append to
10547 variable.
10548 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10549 rule.
10550 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10551 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10552 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10553 [generic bits/errno.h] (common-generated): Do not append to
10554 variable.
10555 [generic bits/ioctls.h] (before-compile): Do not append to
10556 variable.
10557 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10558 rule.
10559 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10560 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10561 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10562 rule.
10563 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10564 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10565 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10566 [generic bits/ioctls.h] (common-generated): Do not append to
10567 variable.
10568 [generic sys/syscall.h] (syscall.h): Remove variable.
10569 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10570 rule.
10571 [generic sys/syscall.h] (before-compile): Do not append to
10572 variable.
10573 [generic sys/syscall.h] (common-generated): Likewise.
10574 * sysdeps/unix/errnos-tmpl.c: Remove file.
10575 * sysdeps/unix/errnos.awk: Likewise.
10576 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10577 * sysdeps/unix/ioctls.awk: Likewise.
10578 * sysdeps/unix/mk-local_lim.c: Likewise.
10579 * sysdeps/unix/snarf-ioctls: Likewise.
10580
4851a949
RH
105812012-03-19 Richard Henderson <rth@twiddle.net>
10582
bd37f2ee
RH
10583 * sysdeps/i386/fpu/fenv_private.h: New file.
10584 * sysdeps/i386/fpu/math_private.h: Use it.
10585 (math_opt_barrier, math_force_eval): Remove.
10586 (libc_feholdexcept_setround_53bit): Remove.
10587 (libc_feupdateenv_53bit): Remove.
10588 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10589 (math_opt_barrier, math_force_eval): Remove.
10590 (libc_feholdexcept): Remove.
10591 (libc_feholdexcept_setround): Remove.
10592 (libc_fetestexcept, libc_fesetenv): Remove.
10593 (libc_feupdateenv_test): Remove.
10594 (libc_feupdateenv, libc_feholdsetround): Remove.
10595 (libc_feresetround): Remove.
10596
d0adc922
RH
10597 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10598 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10599
0fe0f1f8
RH
10600 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10601 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10602 (libc_feupdateenv_testl): New.
10603 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10604 (libc_feupdateenv_testf): New.
10605 (libc_feupdateenv): Use libc_feupdateenv_test.
10606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10607 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10608
eb92c487
RH
10609 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10610 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10611 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10612 (libc_feresetround_noex): New.
10613 (libc_feresetround_noexf): New.
10614 (libc_feresetround_noexl): New.
10615 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10616 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10617 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10618 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10619 SET_RESTORE_ROUND.
10620 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10621 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10622 (__cos): Likewise.
10623 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10624 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10625 SET_RESTORE_ROUND_NOEX.
10626 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10627 SET_RESTORE_ROUND_NOEXF.
10628 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10629 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10630 (libc_feholdsetroundf): New.
10631 (libc_feresetround, libc_feresetroundf): New.
10632
7d2e8012
RH
10633 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10634 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10635 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10636
b4dabbb4
RH
10637 * sysdeps/generic/math_private.h: Include <fenv.h>.
10638 (default_libc_feholdexcept): New.
10639 (default_libc_feholdexcept_setround): New.
10640 (default_libc_fesetenv, default_libc_feupdateenv): New.
10641 (libc_feholdexcept): Only define if undefined.
10642 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10643 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10644 (libc_feholdexcept_setroundl): Likewise.
10645 (libc_feholdexcept_setround_53bit): Likewise.
10646 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10647 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10648 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10649 (libc_feupdateenv_53bit): Likewise.
10650 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10651 (libc_feholdexcept): Convert from macro to inline function.
10652 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10653 (libc_fesetenv, libc_feupdateenv): Likewise.
10654
4851a949
RH
10655 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10656 not previously defined.
10657 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10658 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10659 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10660 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10661 * sysdeps/ieee754/flt-32/math_private.h: New file.
10662 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10663 math_private.h below SET_FLOAT_WORD.
10664 (__isnan, __isinf_ns, __finite): Remove.
10665 (__isnanf, __isinf_nsf, __finitef): Remove.
10666
e79d442e
AS
106672012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10668
10669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10670
90b80344
DM
106712012-03-17 David S. Miller <davem@davemloft.net>
10672
10673 [BZ #6471]
10674 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10675 for 2.16.
10676
edc21804
DM
106772012-03-16 David S. Miller <davem@davemloft.net>
10678
77e927af
DM
10679 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10680 warnings.
10681
374976dd
DM
10682 [BZ #6471]
10683 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10684 properly.
10685 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10686 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10687 sysdep_routines when subdir is sysvipc.
10688 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10689 __getshmlba helper.
10690
edc21804
DM
10691 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10692
473c3ef3
L
106932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10694
10695 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10696 [__LP64__].
10697
eb0f39b6
L
106982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10699
10700 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10701 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10702 (__lround): Renamed to ...
10703 (__llround): This. Replace long int with long long int.
10704 Define lround functions as aliases of llround functions.
10705 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10706
6b6cd74b
L
107072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10708
10709 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10710 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10711 adresses to uintptr_t. Replace "long int" and "unsigned long
10712 int" with "greg_t" on va_arg.
10713
f1a77b01
L
107142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10715
10716 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10717 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10718
10719 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10720 Move e_machine check before EI_CLASS check. Handle x32
10721 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10722 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10723 SKIP_EM_IA_64 and include
10724 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10725
10726 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10727 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10728 (add_system_dir): New macro.
10729
10730 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10731 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10732
11b90b9f
JM
107332012-03-16 Joseph Myers <joseph@codesourcery.com>
10734
c36e1d23
JM
10735 [BZ #2551]
10736 [BZ #2552]
10737 [BZ #2553]
10738 [BZ #2554]
10739 [BZ #2562]
10740 [BZ #2563]
10741 [BZ #2565]
10742 [BZ #2566]
10743 [BZ #2576]
10744 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10745 (y0): Likewise.
10746 * math/w_j0f.c (j0f): Likewise.
10747 (y0f): Likewise.
10748 * math/w_j0l.c (__j0l): Likewise.
10749 (__y0l): Likewise.
10750 * math/w_j1.c (j1): Likewise.
10751 (y1): Likewise.
10752 * math/w_j1f.c (j1f): Likewise.
10753 (y1f): Likewise.
10754 * math/w_j1l.c (__j1l): Likewise.
10755 (__y1l): Likewise.
10756 * math/w_jn.c (jn): Likewise.
10757 (yn): Likewise.
10758 * math/w_jnf.c (jnf): Likewise.
10759 (ynf): Likewise.
10760 * math/w_jnl.c (__jnl): Likewise.
10761 (__ynl): Likewise.
10762 * math/libm-test.inc (j0_test): Add more tests.
10763 (j1_test): Likewise.
10764 (jn_test): Likewise. Add trailing semicolon to existing test.
10765 (y0_test): Likewise.
10766 (y1_test): Likewise.
10767 * sysdeps/i386/fpu/libm-test-ulps: Update.
10768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10769
11b90b9f
JM
10770 [BZ #13851]
10771 [BZ #13854]
10772 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10773 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10774 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10775 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10776 (__tanl): Set errno for infinite argument.
10777 * sysdeps/i386/fpu/mptan.c: Remove.
10778 * sysdeps/i386/fpu/s_tan.S: Likewise.
10779 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10780 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10781 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10782 * math/libm-test.inc (tan_test): Add more tests and enable more
10783 tests for double and long double.
10784 * sysdeps/i386/fpu/libm-test-ulps: Update.
10785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10786
6a1bd2a1
JK
107872012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10788
10789 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10790 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10791
10a803e0
RM
107922012-03-16 Roland McGrath <roland@hack.frob.com>
10793
10794 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10795 * configure.in: Use it for both main tree and add-ons.
10796 * configure: Regenerated.
10797
f196c7f7
L
107982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10799
10800 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10801
8848d99d
JM
108022012-03-16 Joseph Myers <joseph@codesourcery.com>
10803
96cbe7f4
JM
10804 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10805 in comment.
10806
8848d99d
JM
10807 [BZ #13851]
10808 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10809 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10810 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10811 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10812 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10813 infinite argument.
10814 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10815 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10816 != 0 for prec == 2.
10817 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10818 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10819 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10820 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10821 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10822 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10823 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10824 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10825 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10826 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10827 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10828 * math/libm-test.inc (cos_test): Add more tests and enable more
10829 tests for long double.
10830 (sin_test): Likewise.
10831 (sincos_test): Likewise.
10832 * sysdeps/i386/fpu/libm-test-ulps: Update.
10833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10834
dd7f4703
DM
108352012-03-16 David S. Miller <davem@davemloft.net>
10836
10837 * sysdeps/sparc/fpu/math_private.h: New file.
10838
006f1daa
DM
108392012-03-15 David S. Miller <davem@davemloft.net>
10840
c0c83bc8
DM
10841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10842 file.
e6a62e18 10843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10845 file.
e6a62e18
DM
10846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10851 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10852 sysdep routines.
10853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10854
88cb87d9
DM
10855 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10856 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10857
006f1daa 10858 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10860 sparc-ifunc.h
006f1daa 10861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10863 Likewise.
10864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10865 Likewise.
006f1daa
DM
10866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10870 Likewise.
006f1daa
DM
10871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10876 Likewise.
10877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10878 Likewise.
006f1daa
DM
10879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10883 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10885 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10886 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10893 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10897 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10898 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10899 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10900 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10901 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10902 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10903
11e0098e
AS
109042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10905
10906 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10907 scaling.
10908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10909
e85b09d0
AJ
109102012-03-15 Andreas Jaeger <aj@suse.de>
10911
10912 [BZ #13852]
10913 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10914 ieee754/flt-32 implementation for sin, cos and sincos.
10915 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10916 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10917 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10918 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10919 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10920 ieee754/flt-32 implementation for tan.
10921
10922 * math/libm-test.inc (cos_test): Enable some large input tests for
10923 float as well
10924 (sin_test): Likewise.
10925 (sincos_test): Likewise.
10926 (tan_test): Add tests for large input.
10927
10928 * sysdeps/i386/fpu/libm-test-ulps: Update.
10929
81c64153
AJ
109302012-03-15 Andreas Jaeger <aj@suse.de>
10931
10932 [BZ #13658]
10933 * math/libm-test.inc (cos_test): Add more test cases.
10934 (sin_test): Likewise.
10935 (sincos_test): Likewise.
10936
7bbfa5c6
AJ
109372012-03-15 Andreas Jaeger <aj@suse.de>
10938
10939 [BZ #13837]
10940 * math/libm-test.inc (cos_test): Add a test case for large input
10941 value.
10942 (sin_test): Likewise.
10943 (sincos_test): Likewise.
10944
109452012-03-15 Andreas Jaeger <aj@suse.de>,
10946 Joseph Myers <joseph@codesourcery.com>
10947
10948 [BZ #13658]
0671f479 10949 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10950 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10951 * sysdeps/i386/fpu/branred.c: Likewise.
10952 * sysdeps/i386/fpu/dosincos.c: Likewise.
10953 * sysdeps/i386/fpu/mpa.c: Likewise.
10954 * sysdeps/i386/fpu/s_cos.S: Likewise.
10955 * sysdeps/i386/fpu/s_sin.S: Likewise.
10956 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10957 * sysdeps/i386/fpu/sincos32.c: Likewise.
10958
10959 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10960 Define.
10961 (libc_feupdateenv_53bit): Define.
10962 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10963 Define.
10964 (libc_feupdateenv_53bit): Define.
10965
10966 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10967 53 bit (without extend i386 double precision).
10968
10969 * math/libm-test.inc (sincos_test): Add tests for large input.
10970 (sin): Likewise.
10971 (cos): Likewise.
10972
10973 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10974
9cad04ea
AS
109752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10976
10977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10978
f7062b9a
DM
109792012-03-15 David S. Miller <davem@davemloft.net>
10980
10981 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10982 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10983 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10984 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10997 file.
f7062b9a 10998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11000 file.
f7062b9a 11001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
11002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11003 file.
f7062b9a 11004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
11005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11006 file.
f7062b9a
DM
11007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11008 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11009 fmin/fmax sysdep routines.
11010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11011
7bd951ff
DM
110122012-03-14 David S. Miller <davem@davemloft.net>
11013
559398ab
DM
11014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11018 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11019 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11020 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11021 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11034 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11037 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11038 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11039 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11042 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11043 routines.
11044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11045 file.
559398ab 11046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
11047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11048 file.
559398ab 11049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
11050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11051 file.
559398ab 11052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
11053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11054 file.
559398ab 11055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
11056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11057 file.
559398ab 11058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
11059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11060 file.
11061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11062 file.
11063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11064 file.
11065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11066 file.
11067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11068 New file.
11069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11070 file.
11071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11072 file.
559398ab 11073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
11074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11075 file.
559398ab 11076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11078 file.
559398ab 11079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
11080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11081 file.
559398ab 11082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
11083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11084 VIS3 routines.
559398ab
DM
11085
11086 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11087 New file.
11088
5a1c1e32
DM
11089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11090
eae47a36
DM
11091 * sysdeps/sparc/configure.in: New file.
11092 * sysdeps/sparc/configure: Generate.
11093 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11094 * configure: Regenerate.
11095 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11096 * config.make.in (have-as-vis3): New.
11097 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11098 available use -Av9d instead of -Av9a.
11099 * sysdeps/sparc/sparc64/Makefile: Likewise.
11100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
11101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11102 New file.
11103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11104 file.
11105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11106 New file.
11107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11108 file.
eae47a36
DM
11109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11110 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11111 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11113 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11114
c0c83bc8
DM
11115 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11116 fzeros/fnegs to load 0x80000000 into a float register instead of
11117 using the stack.
7bd951ff
DM
11118 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11119
bd951ccb
JM
111202012-03-14 Joseph Myers <joseph@codesourcery.com>
11121
11122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11123 bits/syscall.h.
11124 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11125 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11126 ($(inst_includedir)/bits/syscall.h): Remove rule.
11127 ($(objpfx)bits/syscall.d): Include instead of
11128 $(objpfx)syscall-list.d.
11129 (generated): Change syscall-list.h and syscall-list.d to
11130 bits/syscall.h and bits/syscall.d.
11131
bb4e6db2
RM
111322012-03-14 Roland McGrath <roland@hack.frob.com>
11133
11134 [BZ #13846]
11135 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11136
aa4a2ae1
JM
111372012-03-14 Joseph Myers <joseph@codesourcery.com>
11138
e456826d
JM
11139 [BZ #13841]
11140 * math/s_csqrt.c: Include <float.h>.
11141 (__csqrt): Scale large or subnormal inputs.
11142 * math/s_csqrtf.c: Likewise.
11143 * math/s_csqrtl.c: Likewise.
11144 * math/libm-test.inc (csqrt_test): Add more tests.
11145 * sysdeps/i386/fpu/libm-test-ulps: Update.
11146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11147
aa4a2ae1
JM
11148 [BZ #13840]
11149 * math/libm-test.inc (hypot_test): Add more tests.
11150
7c10fd35
DM
111512012-03-13 David S. Miller <davem@davemloft.net>
11152
11153 [BZ #13840]
11154 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11155 double-precision for the calculation instead of scaling.
11156
f453b98b
JM
111572012-03-13 Joseph Myers <joseph@codesourcery.com>
11158
11159 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11160 manipulate bits before adding and subtracting TWO52[sx].
11161 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11162 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11163 Likewise.
11164 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11165
09a3453f
DM
111662012-03-13 David S. Miller <davem@davemloft.net>
11167
8e59da90
DM
11168 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11169 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11171 rtld-global-offsets.h
11172 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11173
2a8ab7f2
DM
11174 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11175 large parameters.
11176
10f62770
DM
11177 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11178
5f0bdb18
DM
11179 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11180 'err' in the ifdef scope in which it is actually used.
11181
09a3453f
DM
11182 * nss/nss_db/db-init.c: Include string.h
11183
b4b2eb5e
DM
111842012-03-12 David S. Miller <davem@davemloft.net>
11185
98bb2f1c
DM
11186 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11187 masking out of the most significant byte of random value used.
11188 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11189 Fix coding style in previous change.
11190
b4b2eb5e
DM
11191 * sysdeps/unix/sysv/linux/kernel-features.h
11192 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11193 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11194 expression.
11195 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11196 later.
11197
6e226b09
DM
111982012-03-11 David S. Miller <davem@davemloft.net>
11199
a1bcbd40
DM
11200 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11201 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11202 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11203 for 'resultvar' otherwise things get truncated on 64-bit.
11204
cb9d6174
DM
11205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11206 Fix masking out of the most significant byte of random value used.
11207
6e226b09
DM
11208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11209
058c132d
AS
112102012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11211
11212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11213
2d2cd515
DM
112142012-03-09 David S. Miller <davem@davemloft.net>
11215
11216 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11217 variables with appropriate CPP guards.
11218 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11219 frame pointer, not the stack pointer. Correct layout comments. Fix test
11220 on resulting framesize and the management of the outregs buffer for pltexit.
11221 Preserve floating point return values across _dl_call_pltexit call.
11222 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11223 framesize and the management of the outregs buffer for pltexit.
11224 Preserve floating point return values across _dl_call_pltexit
11225 call.
11226 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11227 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11228 (print_exit): Fix format string for return register value.
11229
9a07f9d0
JM
112302012-03-10 Joseph Myers <joseph@codesourcery.com>
11231
11232 * sunrpc/Makefile (others): Add rpcgen.
11233 ($(objpfx)rpcgen): Remove special build rule and dependency on
11234 libc.
11235 * sunrpc/rpcgen.c: New file.
11236
547b5e30
PE
112372012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11238
c524201a
PE
11239 [BZ #13673]
11240 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11241 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11242 * sysdeps/i386/crti.S: Likewise.
11243 * sysdeps/i386/crtn.S: Likewise.
11244 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11245 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11246 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11247 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11248 * sysdeps/sh/crti.S: Likewise.
11249 * sysdeps/sh/crtn.S: Likewise.
11250 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11251
7b6235f2
PE
11252 [BZ #13673]
11253 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11254 with URL.
11255 * locale/programs/locfile-kw.gperf: Likewise.
11256 * locale/programs/charmap-kw.h: Regenerated.
11257 * locale/programs/locfile-kw.h: Likewise.
11258
547b5e30
PE
11259 [BZ #13673]
11260 * intl/plural.y: Replace FSF snail mail address with URL.
11261 * intl/plural.c: Regenerated.
11262
5f0a5dae
RH
112632012-03-09 Richard Henderson <rth@twiddle.net>
11264
11265 * include/math_private.h: Remove file.
11266 * math/math_private.h: Move file ...
11267 * sysdeps/generic/math_private.h: ... here.
11268
b8c03620
RH
11269 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11270 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11271 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11272
4e234f5d 11273 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
11274 and <math_private.h>.
11275 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11276 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11277 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11278 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11279 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11280 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11281 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11283 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11284 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11285 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11286 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11287 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11288 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11289 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11290 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11291 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11292 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11293 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11294 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11295 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11296 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11297 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11298 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11299 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11300 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11301 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11302 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11303 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11304 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11305 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11306 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11307 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11308 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11310 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11311 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11312 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11313 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11314 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11315 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11316 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11317 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11318 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11320 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11321 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11322 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11323 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11324 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11325 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11326 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11327 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11328 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11329 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11330 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11331 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11332 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11333 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11334 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11335 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11336 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11337 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11338 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11339 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11340 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11341 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11343 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11344 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11345 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11346 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11347 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11348 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11349 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11350 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11353 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11354 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11363 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11364 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11365 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11366 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11367 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11368 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11369 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11370 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11371 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11372 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11373 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11374 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11375 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11376 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11377 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11378 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11379 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11380 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11381 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11382 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11383 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11384 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11385 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11386 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11387 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11388 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11389 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11390 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11391 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11392 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11393 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11394 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11395 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11396 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11397 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11398 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11399 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11400 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11401 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11402 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11403 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11404 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11405 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11406 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11407 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11408 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11409 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11410 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11411 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11412 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11413 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11414 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11415 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11416 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11417 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11418 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11419 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11420 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11421 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11422 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11423 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11424 * sysdeps/ieee754/k_standard.c: Likewise.
11425 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11426 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11427 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11428 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11429 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11430 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11431 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11432 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11433 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11434 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11435 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11436 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11437 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11438 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11439 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11440 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11441 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11442 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11443 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11444 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11445 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11446 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11447 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11448 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11449 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11450 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11451 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11452 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11453 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11454 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11455 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11456 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11457 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11458 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11459 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11460 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11461 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11462 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11463 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11464 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11465 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11466 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11467 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11468 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11469 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11470 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11471 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11472 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11473 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11474 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11475 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11476 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11477 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11478 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11479 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11480 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11481 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11482 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11483 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11484 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11485 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11486 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11487 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11488 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11489 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11491 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11492 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11493 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11494 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11495 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11496 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11497 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11498 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11499 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11500 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11539 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11540 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11544 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11545 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11547 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11552 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11557 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11558 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11559 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11560 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11561 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11564 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11565 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11573 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11574 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11575 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11580 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11581 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11583 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11584 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11585 * sysdeps/ieee754/s_lib_version.c: Likewise.
11586 * sysdeps/ieee754/s_matherr.c: Likewise.
11587 * sysdeps/ieee754/s_signgam.c: Likewise.
11588 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11589 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11590 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11591 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11592 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11593 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11594 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11595 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11596 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11597 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11598 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11599 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11600 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11601 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11602 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11603 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11604 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11605 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11606 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11608 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11609
1991fa03
JM
116102012-03-09 Joseph Myers <joseph@codesourcery.com>
11611
11612 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11613 * sunrpc/rpc_main.c: Likewise.
11614 * sunrpc/rpc_svcout.c: Likewise.
11615
60d6f5a6
DM
116162012-03-09 David S. Miller <davem@davemloft.net>
11617
11618 * include/math_private.h: New file.
11619
4962050e
JM
116202012-03-09 Joseph Myers <joseph@codesourcery.com>
11621
02a6f887
JM
11622 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11623 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11624 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11625 from <bits/socket_type.h>.
11626 (enum __socket_type): Don't define here.
11627 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11629 bits/socket_type.h.
11630
c6e013c1
JM
11631 [BZ #13566]
11632 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11633 checking __USE_GNU.
11634
4962050e
JM
11635 * Makerules ($(inst_includedir)/%.h): New rule.
11636 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11637 (install-others): Remove variable setting.
11638 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11639
38842f45
RH
116402012-03-08 Richard Henderson <rth@twiddle.net>
11641
67bb6da6
RH
11642 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11643 from macro to inline function; merge with the
11644 !__LIBC_INTERNAL_MATH_INLINES version.
11645 (__ieee754_sqrtf): Likewise.
11646
15194b4b
RH
11647 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11648 to inline function.
11649 (__rintf, __floor, __floorf): Likewise.
11650
64e21ede
RH
11651 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11652 macro to inline function.
11653 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11654
38842f45
RH
11655 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11656 not <math/math_private.h>.
11657
c64bf5fe
DM
116582012-03-08 David S. Miller <davem@davemloft.net>
11659
11660 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11661 copyright year.
11662 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11663
82d86f28
TS
116642012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11665
11666 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11667 normalization.
11668 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11669 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11670
aea5d727
UD
116712012-03-08 Ulrich Drepper <drepper@gmail.com>
11672
11673 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11674 be defined individually, they must be defined as a block. Define
11675 S for printing a string instead of hidint the different by using a
11676 macro for adding the 'l'.
11677 * stdio-common/tst-fphex-wide.c: Adjust.
11678
70bca0a3
MP
116792012-03-07 Marek Polacek <polacek@redhat.com>
11680
11681 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11682
65b81130
MP
116832012-03-08 Marek Polacek <polacek@redhat.com>
11684
11685 [BZ #13806]
11686 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11687 * stdio-common/tst-fphex.c: Define a few macros to make the
11688 test reusable. Use them.
11689 * stdio-common/tst-fphex-wide.c: New file.
11690
07037eeb
JM
116912012-03-08 Joseph Myers <joseph@codesourcery.com>
11692
a7a93d50
JM
11693 [BZ #6911]
11694 * manual/macros.texi (gnusystems): New macro.
11695 (nongnusystems): Likewise.
11696 (gnulinuxhurdsystems): Likewise.
11697 (gnuhurdsystems): Likewise..
11698 (gnulinuxsystems): Likewise.
11699 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11700 variants of the GNU system, not "GNU system".
11701 * manual/conf.texi: Likewise.
11702 * manual/errno.texi: Likewise. Update example of errno macro
11703 expansion.
11704 * manual/filesys.texi: Likewise.
11705 (getumask): Document as specific to GNU/Hurd.
11706 * manual/install.texi: Likewise. Reword some references to
11707 GNU/Linux.
11708 * manual/intro.texi: Likewise.
11709 * manual/io.texi: Likewise.
11710 (File Name Portability): Detail which constraints are inapplicable
11711 to all GNU systems and which are only inapplicable to GNU/Hurd.
11712 * manual/job.texi: Likewise.
11713 * manual/llio.texi: Likewise.
11714 (O_NOCTTY): Document as present on GNU/Linux.
11715 * manual/maint.texi: Likewise.
11716 * manual/memory.texi: Likewise.
11717 * manual/pattern.texi: Likewise.
11718 * manual/pipe.texi: Likewise.
11719 * manual/process.texi: Likewise.
11720 * manual/resource.texi: Likewise.
11721 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11722 child on GNU/Hurd.
11723 * manual/setjmp.texi: Likewise.
11724 * manual/signal.texi: Likewise.
11725 * manual/startup.texi: Likewise.
11726 * manual/stdio.texi: Likewise.
11727 * manual/terminal.texi: Likewise.
11728 (ONLCR): Document as POSIX.
11729 (OXTABS): Document availability on GNU/Linux as XTABS.
11730 (ONOEOT): Document availability separately from other bits.
11731 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11732 * manual/time.texi: Likewise.
11733 * manual/users.texi: Likewise.
11734 * INSTALL: Regenerated.
11735 * sysdeps/gnu/errlist.c: Regenerated.
11736
07037eeb
JM
11737 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11738 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11739 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11740 puts.
11741 * configure: Regenerated.
11742
d1d3431a
JM
117432012-03-07 Joseph Myers <joseph@codesourcery.com>
11744
af6a1e37
JM
11745 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11746 default includes instead of AC_HEADER_CHECK.
11747 * sysdeps/i386/configure: Regenerated.
11748
d1d3431a
JM
11749 [BZ #10716]
11750 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11751 * math/s_cacoshf.c (__cacoshf): Likewise.
11752 * math/s_cacoshl.c (__cacoshl): Likewise.
11753 * math/s_casinh.c (__casinh): Set signs of result from argument.
11754 * math/s_casinhf.c (__casinhf): Likewise.
11755 * math/s_casinhl.c (__casinhl): Likewise.
11756 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11757 (casinh_test): Add more tests.
11758 * sysdeps/i386/fpu/libm-test-ulps: Update.
11759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11760
482ff4da
UD
117612012-03-07 Ulrich Drepper <drepper@gmail.com>
11762
872fda05
UD
11763 * po/zh_TW.po: Update from translation team.
11764
a4300c7a
UD
11765 * login/Makefile (distribute): Remove variable.
11766 * catgets/Makefile: Likewise.
11767 * mach/Makefile: Likewise.
11768 * malloc/Makefile: Likewise.
11769 * misc/Makefile: Likewise.
11770 * iconv/Makefile: Likewise.
11771 * nscd/Makefile: Likewise.
11772 * hurd/Makefile: Likewise.
11773 * manual/Makefile: Likewise.
11774 * locale/Makefile: Likewise.
11775 * intl/Makefile: Likewise.
11776 * conform/Makefile: Likewise.
11777 * nss/Makefile: Likewise.
11778 * time/Makefile: Likewise.
11779 * soft-fp/Makefile: Likewise.
11780 * dirent/Makefile: Likewise.
11781 * gmon/Makefile: Likewise.
11782 * po/Makefile: Likewise.
11783 * rt/Makefile: Likewise.
11784 * socket/Makefile: Likewise.
11785 * math/Makefile: Likewise.
11786 * signal/Makefile: Likewise.
11787 * debug/Makefile: Likewise.
11788 * elf/Makefile: Likewise.
11789 * timezone/Makefile: Likewise.
11790 * stdlib/Makefile: Likewise.
11791 * iconvdata/Makefile: Likewise.
11792 * sunrpc/Makefile: Likewise.
11793 * io/Makefile: Likewise.
11794 * argp/Makefile: Likewise.
11795 * inet/Makefile: Likewise.
11796 * hesiod/Makefile: Likewise.
11797 * grp/Makefile: Likewise.
11798 * csu/Makefile: Likewise.
11799 * wctype/Makefile: Likewise.
11800 * crypt/Makefile: Likewise.
11801 * libio/Makefile: Likewise.
11802 * string/Makefile: Likewise.
11803 * nis/Makefile: Likewise.
11804 * resolv/Makefile: Likewise.
11805 * stdio-common/Makefile: Likewise.
11806 * wcsmbs/Makefile: Likewise.
11807 * dlfcn/Makefile: Likewise.
11808 * posix/Makefile: Likewise.
11809
3b7c4e74 11810 [BZ #6959]
482ff4da
UD
11811 * timezone/Makefile: Don't install timezone files, just the programs
11812 and scripts.
11813
f72ed77d
UD
118142012-03-06 Ulrich Drepper <drepper@gmail.com>
11815
a000466f
UD
11816 * nss/databases.def: Add missing gshadow entry.
11817
f72ed77d
UD
11818 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11819
a53b7a4e
MP
118202012-03-06 Marek Polacek <polacek@redhat.com>
11821
11822 [BZ #13726]
11823 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11824 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11825 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11826 * stdio-common/tst-long-dbl-fphex.c: New file.
11827
e9258400
DM
118282012-03-06 David S. Miller <davem@davemloft.net>
11829
11830 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11831 (set_obp_int): New function.
11832 (get_obp_int): New function.
11833 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11834 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11835 Avoid unused variable warnings on 'val' and use builtin_expect.
11836 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11837 __builtin_expect.
e9258400
DM
11838 (INLINE_CLONE_SYSCALL): Likewise.
11839
3bd2c723
DM
118402012-03-05 David S. Miller <davem@davemloft.net>
11841
11842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11843
bbb78d03
AS
118442012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11845
884c5db4
AS
11846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11847
bbb78d03
AS
11848 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11849 only for |x| >= 40.
11850 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11851
1c9f702a 118522012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11853
11854 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11855 Replace gettimeofday with __vdso_gettimeofday.
11856
7be16f82
RM
11857 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11858 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11859 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11860
11861 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11862 time with __vdso_time.
11863
ed58a00f
JM
118642012-03-05 Joseph Myers <joseph@codesourcery.com>
11865
11866 * manual/lang.texi (size_t): Note types to which size_t may be
11867 equivalent with the GNU C Library, but do not describe when
11868 differences between them are significant.
11869
30ee4ced
AJ
118702012-03-05 Andreas Jaeger <aj@suse.de>
11871
11872 * sysdeps/i386/fpu/libm-test-ulps: Update.
11873
b7cd39e8
JM
118742012-03-05 Joseph Myers <joseph@codesourcery.com>
11875
11876 [BZ #3976]
11877 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11878 (__ieee754_pow): Save and restore rounding mode and use
11879 round-to-nearest for main computations.
11880 * math/libm-test.inc (pow_test_tonearest): New function.
11881 (pow_test_towardzero): Likewise.
11882 (pow_test_downward): Likewise.
11883 (pow_test_upward): Likewise.
11884 (main): Call the new functions.
11885 * sysdeps/i386/fpu/libm-test-ulps: Update.
11886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11887
11888 [BZ #3976]
11889 * math/libm-test.inc (cosh_test_tonearest): New function.
11890 (cosh_test_towardzero): Likewise.
11891 (cosh_test_downward): Likewise.
11892 (cosh_test_upward): Likewise.
11893 (sinh_test_tonearest): Likewise.
11894 (sinh_test_towardzero): Likewise.
11895 (sinh_test_downward): Likewise.
11896 (sinh_test_upward): Likewise.
11897 (main): Call the new functions.
11898 * sysdeps/i386/fpu/libm-test-ulps: Update.
11899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11900
6c6a98c9
TV
119012012-03-05 Tom de Vries <tom@codesourcery.com>
11902
11903 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11904 default stack guard is set in last bytes.
11905 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11906
21bb2d2e 119072012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11908
21bb2d2e 11909 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11910
21bb2d2e
AJ
11911 [BZ #13656]
11912 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11913 possibly allocate from heap instead of stack.
11914 * stdio-common/bug-vfprintf-nargs.c: New file.
11915 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11916
c6922934
AS
119172012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11918
11919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11920
bc957d53
MP
119212012-03-03 Marek Polacek <polacek@redhat.com>
11922
11923 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11924 * math/math_private.h: Likewise.
11925 * stdlib/tst-strtod.c: Likewise.
11926 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11927 * sysdeps/x86_64/bits/atomic.h: Likewise.
11928
6358490d
DM
119292012-03-02 David S. Miller <davem@davemloft.net>
11930
11931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11935 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11936 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11937 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11938 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11939
01ae168d
RM
119402012-03-02 Roland McGrath <roland@hack.frob.com>
11941
d9a17c07
RM
11942 [BZ #13792]
11943 * manual/examples/README: New file, says the example source files
11944 can be used under GPL>=2.
11945 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11946 line containing just "*/".
11947 * manual/examples/add.c: Add copyright header (GPL>=2).
11948 * manual/examples/argp-ex1.c: Likewise.
11949 * manual/examples/argp-ex2.c: Likewise.
11950 * manual/examples/argp-ex3.c: Likewise.
11951 * manual/examples/argp-ex4.c: Likewise.
11952 * manual/examples/atexit.c: Likewise.
11953 * manual/examples/db.c: Likewise.
11954 * manual/examples/dir.c: Likewise.
11955 * manual/examples/dir2.c: Likewise.
11956 * manual/examples/execinfo.c: Likewise.
11957 * manual/examples/filecli.c: Likewise.
11958 * manual/examples/filesrv.c: Likewise.
11959 * manual/examples/fmtmsgexpl.c: Likewise.
11960 * manual/examples/genpass.c: Likewise.
11961 * manual/examples/inetcli.c: Likewise.
11962 * manual/examples/inetsrv.c: Likewise.
11963 * manual/examples/isockad.c: Likewise.
11964 * manual/examples/longopt.c: Likewise.
11965 * manual/examples/memopen.c: Likewise.
11966 * manual/examples/memstrm.c: Likewise.
11967 * manual/examples/mkfsock.c: Likewise.
11968 * manual/examples/mkisock.c: Likewise.
11969 * manual/examples/mygetpass.c: Likewise.
11970 * manual/examples/pipe.c: Likewise.
11971 * manual/examples/popen.c: Likewise.
11972 * manual/examples/rprintf.c: Likewise.
11973 * manual/examples/search.c: Likewise.
11974 * manual/examples/select.c: Likewise.
11975 * manual/examples/setjmp.c: Likewise.
11976 * manual/examples/sigh1.c: Likewise.
11977 * manual/examples/sigusr.c: Likewise.
11978 * manual/examples/stpcpy.c: Likewise.
11979 * manual/examples/strdupa.c: Likewise.
11980 * manual/examples/strftim.c: Likewise.
11981 * manual/examples/strncat.c: Likewise.
11982 * manual/examples/subopt.c: Likewise.
11983 * manual/examples/swapcontext.c: Likewise.
11984 * manual/examples/termios.c: Likewise.
11985 * manual/examples/testopt.c: Likewise.
11986 * manual/examples/testpass.c: Likewise.
11987 * manual/examples/timeval_subtract.c: Likewise.
11988
01ae168d
RM
11989 [BZ #13792]
11990 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11991 function to ...
11992 * manual/timeval_subtract.c.texi: ... here, new file.
11993
49efa33d
DM
119942012-03-02 David S. Miller <davem@davemloft.net>
11995
11996 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11997
28afd92d
JM
119982012-03-02 Joseph Myers <joseph@codesourcery.com>
11999
804360ed
JM
12000 [BZ #3976]
12001 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12002 (__sin): Save and restore rounding mode and use round-to-nearest
12003 for all computations.
12004 (__cos): Save and restore rounding mode and use round-to-nearest
12005 for all computations.
12006 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12007 <fenv.h>.
12008 (tan): Save and restore rounding mode and use round-to-nearest for
12009 all computations.
12010 * math/libm-test.inc (cos_test_tonearest): New function.
12011 (cos_test_towardzero): Likewise.
12012 (cos_test_downward): Likewise.
12013 (cos_test_upward): Likewise.
12014 (sin_test_tonearest): Likewise.
12015 (sin_test_towardzero): Likewise.
12016 (sin_test_downward): Likewise.
12017 (sin_test_upward): Likewise.
12018 (tan_test_tonearest): Likewise.
12019 (tan_test_towardzero): Likewise.
12020 (tan_test_downward): Likewise.
12021 (tan_test_upward): Likewise.
12022 (main): Call the new functions.
12023 * sysdeps/i386/fpu/libm-test-ulps: Update.
12024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12025
a6d06d7b
JM
12026 [BZ #10135]
12027 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12028 small n, then large n, before computing and testing k+n.
12029 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12031 Likewise.
12032 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12033 Likewise.
12034 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12035 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12036 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12037 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12038 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12039 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12040 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12041 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12042 * math/libm-test.inc (scalbn_test): Add more tests.
12043 (scalbln_test): Likewise.
12044
07e12bb3
JM
12045 * manual/filesys.texi (mode_t): Describe constraints on size and
12046 signedness, not exact equivalence to a particular type.
12047 (ino_t): Likewise.
12048 (ino64_t): Likewise.
12049 (dev_t): Likewise.
12050 (nlink_t): Likewise.
12051 (blkcnt_t): Likewise.
12052 (blkcnt64_t): Likewise.
12053 * manual/llio.texi (off_t): Likewise.
12054
28afd92d
JM
12055 [BZ #3976]
12056 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12057 (__ieee754_exp): Save and restore rounding mode and use
12058 round-to-nearest for all computations.
12059 * math/libm-test.inc (exp_test_tonearest): New function.
12060 (exp_test_towardzero): Likewise.
12061 (exp_test_downward): Likewise.
12062 (exp_test_upward): Likewise.
12063 (main): Call the new functions.
12064 * sysdeps/i386/fpu/libm-test-ulps: Update.
12065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12066
b1eeb65d
CD
120672012-03-01 Chris Demetriou <cgd@google.com>
12068
12069 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12070 have predictable order.
12071
53362a4b
DM
120722012-03-01 David S. Miller <davem@davemloft.net>
12073
3c969083
DM
12074 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12075
759707de
DM
12076 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12077 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12078 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12079 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12080
dfdb8ff2
DM
12081 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12082 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12083 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12085 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12086 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12087 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12088 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12089 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12090
ead89f96
DM
12091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12092
7f66bd07
DM
12093 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12094 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12095 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12096
53362a4b
DM
12097 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12098 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12099 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12100 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12101 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12102 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12103 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12104 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12105 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12106 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12107 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12108 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12109 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12110 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12111 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12113 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12114 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12115 * sysdeps/sparc/elf/configure: Regenerated.
12116
7b1902cb
JM
121172012-03-01 Joseph Myers <joseph@codesourcery.com>
12118
bec039bc
JM
12119 * configure.in (AS, LD): Require binutils 2.20 or later.
12120 * configure: Regenerated.
12121 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12122 as required minimum version.
12123 * INSTALL: Regenerated.
12124
7b1902cb
JM
12125 [BZ #2541]
12126 [BZ #4108]
12127 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12128 before squaring exponent.
12129 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12130 bottom long double and 27 bits of top long double before squaring
12131 exponent.
12132 * math/libm-test.inc (erfc_test): Add more tests.
12133 * sysdeps/i386/fpu/libm-test-ulps: Update.
12134 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12136
f775c276
KT
121372012-03-01 Kai Tietz <ktietz@redhat.com>
12138
12139 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12140 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12141 containing bit-fields.
12142 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12143 * soft-fp/single.h (_FP_UNION_S): Likewise.
12144 * soft-fp/double.h (_FP_UNION_D): Likewise.
12145
5b8a4d4a
JM
121462012-02-29 Joseph Myers <joseph@codesourcery.com>
12147
0bab47b6
JM
12148 [BZ #13786]
12149 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12150 not include ../strcmp.S.
12151 [USE_AS_STRNCASECMP_L]: Likewise.
12152 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12153 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12154 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12155 (__strncasecmp_l_ia32): Define as alias to
12156 __strncasecmp_l_nonascii.
12157
0fcad3e2
JM
12158 [BZ #5794]
12159 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12160 * sysdeps/i386/fpu/libm-test-ulps: Update.
12161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12162
5b8a4d4a
JM
12163 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12165
8fdceb2e
JL
121662012-02-29 Jeff Law <law@redhat.com>
12167
12168 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12169 out of bounds read.
12170
1f393a11
MP
121712012-02-29 Marek Polacek <polacek@redhat.com>
12172
12173 [BZ #13706]
12174 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12175 * elf/Makefile: Add rules to run tst-unused-dep.out.
12176
8847f037
DM
121772012-02-28 David S. Miller <davem@davemloft.net>
12178
12179 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12180 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12181 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12182 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12183 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12184 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12185
169d7f11
JM
121862012-02-29 Joseph Myers <joseph@codesourcery.com>
12187
12188 * math/libm-test.inc (llround_test): Move one test from
12189 lround_test. Use TEST_f_L in moved test.
12190 (lround_test): Move misplaced test to llround_test. Add testcase
12191 from bug 2561.
12192
39adf059
UD
121932012-02-28 Ulrich Drepper <drepper@gmail.com>
12194
12195 * sysdeps/x86_64/fpu/e_expf.S: New file.
12196 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12197
71b5d1c5
SB
121982012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12199
12200 [BZ #13637]
12201 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12202 of remain_len that may cause incomplete multi-byte character and
12203 false match.
12204 * posix/bug-regex33.c: New file.
12205 * posix/Makefile (tests): Add bug-regex33.
12206
1f77f049
JM
122072012-02-28 Joseph Myers <joseph@codesourcery.com>
12208
12209 * manual/macros.texi: New file.
12210 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12211 * manual/libc.texinfo: Include macros.texi.
12212 * manual/creatute.texi: Likewise.
12213 * manual/install.texi: Likewise.
12214 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12215 @glibcadj{} in references to the GNU C Library.
12216 * manual/charset.texi: Likewise.
12217 * manual/conf.texi: Likewise.
12218 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12219 when not using those macros.
12220 * manual/creature.texi: Likewise.
12221 * manual/crypt.texi: Likewise.
12222 * manual/errno.texi: Likewise.
12223 * manual/filesys.texi: Likewise.
12224 * manual/header.texi: Likewise.
12225 * manual/install.texi: Likewise.
12226 * manual/intro.texi: Likewise.
12227 * manual/io.texi: Likewise.
12228 * manual/job.texi: Likewise.
12229 * manual/lang.texi: Likewise.
12230 * manual/libc.texiinfo: Likewise.
12231 * manual/llio.texi: Likewise.
12232 * manual/locale.texi: Likewise.
12233 * manual/maint.texi: Likewise.
12234 * manual/math.texi: Likewise.
12235 * manual/memory.texi: Likewise.
12236 * manual/message.texi: Likewise.
12237 * manual/nss.texi: Likewise.
12238 * manual/pattern.texi: Likewise.
12239 * manual/process.texi: Likewise.
12240 * manual/resource.texi: Likewise.
12241 * manual/search.texi: Likewise.
12242 * manual/setjmp.texi: Likewise.
12243 * manual/signal.texi: Likewise.
12244 * manual/socket.texi: Likewise.
12245 * manual/startup.texi: Likewise.
12246 * manual/stdio.texi: Likewise.
12247 * manual/string.texi: Likewise.
12248 * manual/sysinfo.texi: Likewise.
12249 * manual/syslog.texi: Likewise.
12250 * manual/terminal.texi: Likewise.
12251 * manual/time.texi: Likewise.
12252 * manual/users.texi: Likewise.
12253 * INSTALL: Regenerated.
12254 * NOTES: Regenerated.
d40c5d54 12255 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 12256
450bf206
AS
122572012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12258
12259 * include/dirent.h: Include <dirstream.h> before
12260 <dirent/dirent.h>.
12261
741a235b
DM
122622012-02-28 David S. Miller <davem@davemloft.net>
12263
12264 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12265 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12266 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12267 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12268
d6b5aa58
DM
122692012-02-27 David S. Miller <davem@davemloft.net>
12270
1aff59a3
DM
12271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12273 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12274 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12275
d6b5aa58
DM
12276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12277 frame pointer instead of stack pointer relative arg slot.
12278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12279 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12280 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12281
433f48bf
CD
122822012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12283
12284 [BZ #3992]
12285 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12286
d674b76d
DM
122872012-02-27 David S. Miller <davem@davemloft.net>
12288
12289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12293 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12294 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12295 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12296 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12297
0e7727f7
JM
122982012-02-27 Joseph Myers <joseph@codesourcery.com>
12299
12300 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12301 later. Allow versions 5-9.
43be4ca2 12302 * configure: Regenerated.
0e7727f7
JM
12303 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12304 required minimum version and 4.6 as recommended version. Do not
12305 mention bugs in GCC 2.7 and 2.8.
43be4ca2 12306 * INSTALL: Regenerated.
0e7727f7 12307
a78bc654
DM
123082012-02-27 David S. Miller <davem@davemloft.net>
12309
428d5830
DM
12310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12314 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12315 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12316 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12317 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12318
a78bc654
DM
12319 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12320 manipulate bits before adding and subtracting TWO112[sx].
12321 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12322
4579f81c
RM
123232012-02-27 Roland McGrath <roland@hack.frob.com>
12324
36c8acb4
RM
12325 [BZ #13775]
12326 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12327 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12328 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12329 being in POSIX, because they are in 1003.1-2008.
12330
84ad622b
RM
12331 * rt/tst-aio.c: Include <fcntl.h>.
12332 * rt/tst-aio7.c: Likewise.
12333 * rt/tst-aio64.c: Likewise.
12334
4579f81c
RM
12335 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12336
abd923db
JM
123372012-02-27 Joseph Myers <joseph@codesourcery.com>
12338
12339 * manual/install.texi (--with-headers): Describe headers as
12340 interface headers, not private headers.
12341 (Specific advice for GNU/Linux systems): Describe use of headers
12342 from "make headers_install", not private headers from older
12343 kernels.
43be4ca2 12344 * INSTALL: Regenerated.
abd923db
JM
12345 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12346 Change to 2.6.19.
12347 * sysdeps/unix/sysv/linux/configure: Regenerated.
12348
6664049b
JM
12349 * manual/llio.texi (fclean): Remove documentation.
12350
bb8b6697
JM
12351 * manual/Makefile (libc-texi-generated): New variable. Include
12352 version.texi.
12353 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12354 $(libc-texi-generated), not duplicated list of files.
12355 (version.texi, stamp-version): New rules.
12356 (realclean): Remove $(libc-texi-generated), not individual files
12357 from that list. Do not remove dir-add.texinfo.
12358 * manual/libc.texinfo: Comment out uses of edition numbers and
12359 references to printed manual. Remove last-updated dates.
12360 (EDITION): Comment out.
12361 (ISBN): Likewise.
12362 (VERSION, UPDATED): Remove.
12363 (version.texi): Include.
12364
12e5c3b9
AS
123652012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12366
12367 * sysdeps/posix/spawni.c: Include <signal.h>.
12368 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12369 * sysdeps/pthread/aio_fsync.c: Likewise.
12370
4efeffc1 123712012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 12372
ba63ba08
UD
12373 * conform/Makefile (tests): Run only when not cross-compiling and
12374 when fast-check is not defined.
12375
d94a4670
UD
12376 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12377 * conform/data/limits.h-data: Fixes for POSIX2008.
12378 * conform/run-conformtest.sh: Run all tests.
12379 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12380 headers.
12381 * include/bits/dlfcn.h: Likewise.
12382 * include/langinfo.h: Likewise.
12383 * include/monetary.h: Likewise.
12384 * include/sys/poll.h: Likewise.
12385
12386 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12387 for __USE_GNU.
12388 * posix/spawn.h: Define __need_sigset_t.
12389 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12390 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12391 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12392 to get sigevent_t only.
12393 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12394 only for __USE_GNU.
12395 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12396 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12397 process_vm_writev only for __USE_GNU.
12398 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12399
12400 * conform/Makefile: For now ignore errors from run-conformtest.
12401 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12402 POSIX to avoid namespace pollution. Don't prepend headers.
12403 * conform/data/aio.h-data: Fixes for POSIX testing.
12404 * conform/data/fcntl.h-data: Likewise.
12405 * conform/data/glob.h-data: Likewise.
12406 * conform/data/grp.h-data: Likewise.
12407 * conform/data/pthread.h-data: Likewise.
12408 * conform/data/pwd.h-data: Likewise.
12409 * conform/data/signal.h-data: Likewise.
12410 * conform/data/spawn.h-data: Likewise.
12411 * conform/data/stdio.h-data: Likewise.
12412 * conform/data/stdlib.h-data: Likewise.
12413 * conform/data/stropts.h-data: Likewise.
12414 * conform/data/sys/mman.h-data: Likewise.
12415 * conform/data/sys/stat.h-data: Likewise.
12416 * conform/data/sys/types.h-data: Likewise.
12417 * conform/data/sys/wait.h-data: Likewise.
12418 * conform/data/time.h-data: Likewise.
12419 * conform/data/unistd.h-data: Likewise.
12420 * conform/data/utime.h-data: Likewise.
12421
12422 * io/sys/stat.h: fchmod was always in POSIX.
12423 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12424 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12425 * rt/aio.h: Define __need_timespec before including <time.h>.
12426 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12427 struct. Add forward declaration of pthread_attr_t and use it in
12428 sigevent.
12429 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12430 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12431 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12432 always remove CLK_TCK definition.
12433
c20105c3
AS
124342012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12435
12436 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12437
7a270350
UD
124382012-02-25 Ulrich Drepper <drepper@gmail.com>
12439
31341567
UD
12440 * conform/run-conformtest.sh: New file.
12441 * conform/Makefile: Run run-conformtest for tests.
12442 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12443 support.
12444
12445 * conform/data/uchar.h-data: New file.
12446 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12447 * conform/data/arpa/inet.h-data: Likewise.
12448 * conform/data/assert.h-data: Likewise.
12449 * conform/data/complex.h-data: Likewise.
12450 * conform/data/cpio.h-data: Likewise.
12451 * conform/data/ctype.h-data: Likewise.
12452 * conform/data/dirent.h-data: Likewise.
12453 * conform/data/dlfcn.h-data: Likewise.
12454 * conform/data/errno.h-data: Likewise.
12455 * conform/data/fcntl.h-data: Likewise.
12456 * conform/data/float.h-data: Likewise.
12457 * conform/data/fmtmsg.h-data: Likewise.
12458 * conform/data/fnmatch.h-data: Likewise.
12459 * conform/data/ftw.h-data: Likewise.
12460 * conform/data/glob.h-data: Likewise.
12461 * conform/data/grp.h-data: Likewise.
12462 * conform/data/iconv.h-data: Likewise.
12463 * conform/data/inttypes.h-data: Likewise.
12464 * conform/data/langinfo.h-data: Likewise.
12465 * conform/data/libgen.h-data: Likewise.
12466 * conform/data/limits.h-data: Likewise.
12467 * conform/data/locale.h-data: Likewise.
12468 * conform/data/math.h-data: Likewise.
12469 * conform/data/monetary.h-data: Likewise.
12470 * conform/data/mqueue.h-data: Likewise.
12471 * conform/data/ndbm.h-data: Likewise.
12472 * conform/data/net/if.h-data: Likewise.
12473 * conform/data/netdb.h-data: Likewise.
12474 * conform/data/netinet/in.h-data: Likewise.
12475 * conform/data/nl_types.h-data: Likewise.
12476 * conform/data/poll.h-data: Likewise.
12477 * conform/data/pthread.h-data: Likewise.
12478 * conform/data/pwd.h-data: Likewise.
12479 * conform/data/regex.h-data: Likewise.
12480 * conform/data/sched.h-data: Likewise.
12481 * conform/data/search.h-data: Likewise.
12482 * conform/data/semaphore.h-data: Likewise.
12483 * conform/data/setjmp.h-data: Likewise.
12484 * conform/data/signal.h-data: Likewise.
12485 * conform/data/spawn.h-data: Likewise.
12486 * conform/data/stdarg.h-data: Likewise.
12487 * conform/data/stdio.h-data: Likewise.
12488 * conform/data/stdlib.h-data: Likewise.
12489 * conform/data/string.h-data: Likewise.
12490 * conform/data/strings.h-data: Likewise.
12491 * conform/data/stropts.h-data: Likewise.
12492 * conform/data/sys/ipc.h-data: Likewise.
12493 * conform/data/sys/mman.h-data: Likewise.
12494 * conform/data/sys/msg.h-data: Likewise.
12495 * conform/data/sys/resource.h-data: Likewise.
12496 * conform/data/sys/select.h-data: Likewise.
12497 * conform/data/sys/sem.h-data: Likewise.
12498 * conform/data/sys/shm.h-data: Likewise.
12499 * conform/data/sys/socket.h-data: Likewise.
12500 * conform/data/sys/stat.h-data: Likewise.
12501 * conform/data/sys/statvfs.h-data: Likewise.
12502 * conform/data/sys/time.h-data: Likewise.
12503 * conform/data/sys/timeb.h-data: Likewise.
12504 * conform/data/sys/times.h-data: Likewise.
12505 * conform/data/sys/types.h-data: Likewise.
12506 * conform/data/sys/uio.h-data: Likewise.
12507 * conform/data/sys/un.h-data: Likewise.
12508 * conform/data/sys/utsname.h-data: Likewise.
12509 * conform/data/sys/wait.h-data: Likewise.
12510 * conform/data/syslog.h-data: Likewise.
12511 * conform/data/tar.h-data: Likewise.
12512 * conform/data/termios.h-data: Likewise.
12513 * conform/data/utime.h-data: Likewise.
12514 * conform/data/utmpx.h-data: Likewise.
12515 * conform/data/varargs.h-data: Likewise.
12516 * conform/data/wchar.h-data: Likewise.
12517 * conform/data/wctype.h-data: Likewise.
12518 * conform/data/wordexp.h-data: Likewise.
12519
12520 * include/stropts.h: New file.
12521 * include/uchar.h: New file.
12522 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12523 * include/assert.h: Likewise.
12524 * include/ctype.h: Likewise.
12525 * include/dirent.h: Likewise.
12526 * include/dlfcn.h: Likewise.
12527 * include/fcntl.h: Likewise.
12528 * include/fnmatch.h: Likewise.
12529 * include/glob.h: Likewise.
12530 * include/grp.h: Likewise.
12531 * include/libio.h: Likewise.
12532 * include/locale.h: Likewise.
12533 * include/math.h: Likewise.
12534 * include/net/if.h: Likewise.
12535 * include/netdb.h: Likewise.
12536 * include/netinet/in.h: Likewise.
12537 * include/pthread.h: Likewise.
12538 * include/pwd.h: Likewise.
12539 * include/regex.h: Likewise.
12540 * include/sched.h: Likewise.
12541 * include/search.h: Likewise.
12542 * include/setjmp.h: Likewise.
12543 * include/signal.h: Likewise.
12544 * include/stdio.h: Likewise.
12545 * include/stdlib.h: Likewise.
12546 * include/string.h: Likewise.
12547 * include/sys/cdefs.h: Likewise.
12548 * include/sys/mman.h: Likewise.
12549 * include/sys/msg.h: Likewise.
12550 * include/sys/resource.h: Likewise.
12551 * include/sys/select.h: Likewise.
12552 * include/sys/socket.h: Likewise.
12553 * include/sys/stat.h: Likewise.
12554 * include/sys/statvfs.h: Likewise.
12555 * include/sys/time.h: Likewise.
12556 * include/sys/times.h: Likewise.
12557 * include/sys/uio.h: Likewise.
12558 * include/sys/utsname.h: Likewise.
12559 * include/sys/wait.h: Likewise.
12560 * include/termios.h: Likewise.
12561 * include/time.h: Likewise.
12562 * include/ulimit.h: Likewise.
12563 * include/unistd.h: Likewise.
12564 * include/utime.h: Likewise.
12565 * include/wchar.h: Likewise.
12566 * include/wctype.h: Likewise.
12567 * include/wordexp.h: Likewise.
12568
12569 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12570
7a270350
UD
12571 * time/time.h: TIME_UTC must be a macro.
12572 Make timespec_get available for ISO C11 only as well.
12573
7724defc
UD
125742012-02-24 Ulrich Drepper <drepper@gmail.com>
12575
12576 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12577 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12578
6b1d1d46
JM
125792012-02-24 Joseph Myers <joseph@codesourcery.com>
12580
12581 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12582
0f8bbd69
JM
125832012-02-24 Joseph Myers <joseph@codesourcery.com>
12584
12585 * manual/texinfo.tex: Update to version 2012-01-19.16.
12586
66ab80bc
JM
125872012-02-24 Joseph Myers <joseph@codesourcery.com>
12588
12589 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12590
74981cc5
RM
125912012-02-24 Roland McGrath <roland@hack.frob.com>
12592
ee968201
RM
12593 [BZ #13738]
12594 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12595 * manual/fdl-1.3.texi: New file.
12596 * manual/fdl-1.1.texi: File removed.
12597
74981cc5
RM
12598 [BZ #13738]
12599 * manual/libc.texinfo (FDL_VERSION): New @set.
12600 Use it for mention of FDL in cover text.
12601 (Documentation License): Use it in @include file name.
12602
7bb764bc
JM
126032012-02-22 Joseph Myers <joseph@codesourcery.com>
12604 Roland McGrath <roland@hack.frob.com>
12605
12606 [BZ #5461]
12607 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12608 not LONG_LONG_MAX and LONG_LONG_MIN.
12609 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12610 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12611 name.
12612 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12613
6cbeae47
JM
126142012-02-22 Joseph Myers <joseph@codesourcery.com>
12615
12616 [BZ #2547]
12617 [BZ #11365]
12618 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12619 manipulate bits before adding and subtracting TWO23[sx].
12620 * math/libm-test.inc (nearbyint_test): Add more tests.
12621
fe45ce09
JM
126222012-02-22 Joseph Myers <joseph@codesourcery.com>
12623
12624 [BZ #2548]
12625 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12626 bits before adding and subtracting TWO23[sx].
12627 * math/libm-test.inc (rint_test): Add more tests.
12628 (rint_test_tonearest): Likewise.
12629 (rint_test_towardzero): Likewise.
12630 (rint_test_downward): Likewise.
12631 (rint_test_upward: Likewise.
12632
ff3b3d82
JM
126332012-02-22 Joseph Myers <joseph@codesourcery.com>
12634
12635 [BZ #10110]
12636 * include/stdc-predef.h: New file. Extracted from features.h.
12637 * include/features.h: Include stdc-predef.h.
12638 * Makefile (headers): Add stdc-predef.h.
12639 * CONFORMANCE (Compiler limitations): Update.
12640
ef0aab35
JM
126412012-02-22 Joseph Myers <joseph@codesourcery.com>
12642
12643 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12644
58639409
DM
126452012-02-21 David S. Miller <davem@davemloft.net>
12646
12647 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12648 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12649
c0e70b25
DM
126502012-02-20 David S. Miller <davem@davemloft.net>
12651
12652 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12653 using a normal save/restore sequence, rather than allocating a
12654 dummy stack frame just to store a frame pointer and restore.
12655 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12656
fb06851d
JM
126572012-02-21 Joseph Myers <joseph@codesourcery.com>
12658
12659 * manual/install.texi: Fix stray word in line-wrapped comment.
12660
7a8b71c3
DM
126612012-02-20 David S. Miller <davem@davemloft.net>
12662
d510c123
DM
12663 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12664 both binutils and gcc support GOTDATA.
12665
0722d7c2
DM
12666 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12667 "rd %pc" in the PIC register setup sequences.
12668
3d2b3019
DM
12669 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12670 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12671 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12672 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12673 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12675 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12676 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12677 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12678 (SYSCALL_ERROR_HANDLER): Likewise.
12679 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12680 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12681 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12682 (SYSCALL_ERROR_HANDLER): Likewise.
12683
c80098a9
DM
12684 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12685 (HAVE_GCC_GOTDATA): New.
12686 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12687 relocation support in both binutils and gcc.
12688 * sysdeps/sparc/elf/configure: Regenerate.
12689
3a2545a0
DM
12690 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12691 * sysdeps/sparc/sparc32/elf/configure: Delete.
12692 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12693 * sysdeps/sparc/sparc64/elf/configure: Delete.
12694 * sysdeps/sparc/elf/configure.in: New file.
12695 * sysdeps/sparc/elf/configure: Generate.
12696
7a8b71c3
DM
12697 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12698 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12699 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12700 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12701 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12702
f1e86fca
JM
127032012-02-21 Joseph Myers <joseph@codesourcery.com>
12704
12705 * manual/install.texi: Do not mention specific glibc version
12706 numbers.
12707 * manual/libc.texinfo (VERSION, UPDATED): Update.
12708 (@copying): Use @copyright{} and range of years.
12709
0e7dfaef
JM
127102012-02-21 Joseph Myers <joseph@codesourcery.com>
12711
12712 [BZ #13695]
12713 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12714 [crti.S not in sysdirs] (generated): Do not append.
12715 [crti.S not in sysdirs] (omit-deps): Likewise.
12716 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12717 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12718 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12719 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12720 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12721 Likewise.
12722 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12723 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12724 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12725 * csu/defs.awk: Remove file.
12726 * sysdeps/generic/initfini.c: Likewise.
12727 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12728 variable.
12729 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12730 Likewise.
12731
599af3ca
JM
127322012-02-20 Joseph Myers <joseph@codesourcery.com>
12733
12734 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12735 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12736 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12737 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12738 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12739 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12740 <bits/epoll.h>.
12741 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12742 (__EPOLL_PACKED): Define to empty if not defined by
12743 <bits/epoll.h>.
12744 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12746 bits/epoll.h.
12747
0e499750
JM
127482012-02-20 Joseph Myers <joseph@codesourcery.com>
12749
12750 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12751 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12752 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12753 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12754 <bits/timerfd.h>.
12755 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12757 bits/timerfd.h.
12758
5ad91f6e
JM
127592012-02-20 Joseph Myers <joseph@codesourcery.com>
12760
12761 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12762 in C locale.
12763 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12764 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12765 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12767
06b99b02
AJ
127682012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12769
12770 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12771 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12772
7638c0fd
AS
127732012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12774
12775 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12776 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12777 defined.
12778 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12779 Likewise.
12780 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12781 entry for 2.16.
12782
92221550
AJ
127832012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12784
12785 * math/w_acos.c: Use non-signaling floating-point comparisons.
12786 * math/w_acosf.c: Likewise.
12787 * math/w_acosh.c: Likewise.
12788 * math/w_acoshf.c: Likewise.
12789 * math/w_acoshl.c: Likewise.
12790 * math/w_acosl.c: Likewise.
12791 * math/w_asin.c: Likewise.
12792 * math/w_asinf.c: Likewise.
12793 * math/w_asinl.c: Likewise.
12794 * math/w_atanh.c: Likewise.
12795 * math/w_atanhf.c: Likewise.
12796 * math/w_atanhl.c: Likewise.
12797 * math/w_exp2.c: Likewise.
12798 * math/w_exp2f.c: Likewise.
12799 * math/w_exp2l.c: Likewise.
12800 * math/w_j0.c: Likewise.
12801 * math/w_j0f.c: Likewise.
12802 * math/w_j0l.c: Likewise.
12803 * math/w_j1.c: Likewise.
12804 * math/w_j1f.c: Likewise.
12805 * math/w_j1l.c: Likewise.
12806 * math/w_jn.c: Likewise.
12807 * math/w_jnf.c: Likewise.
12808 * math/w_log.c: Likewise.
12809 * math/w_log10.c: Likewise.
12810 * math/w_log10f.c: Likewise.
12811 * math/w_log10l.c: Likewise.
12812 * math/w_log2.c: Likewise.
12813 * math/w_log2f.c: Likewise.
12814 * math/w_log2l.c: Likewise.
12815 * math/w_logf.c: Likewise.
12816 * math/w_logl.c: Likewise.
12817 * math/w_sqrt.c: Likewise.
12818 * math/w_sqrtf.c: Likewise.
12819 * math/w_sqrtl.c: Likewise.
12820 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12821 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12822 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12823 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12824 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12825
ebaf36eb
JM
128262012-02-19 Joseph Myers <joseph@codesourcery.com>
12827
12828 [BZ #9739]
12829 * manual/string.texi (strnlen): Use correct parameter name in
12830 equivalent expression.
12831
71c254a6
JM
128322012-02-19 Joseph Myers <joseph@codesourcery.com>
12833
12834 [BZ #11174]
12835 * manual/users.texi (seteuid): Consistently use neweuid for
12836 argument name.
12837
16d2c631
JM
128382012-02-19 Joseph Myers <joseph@codesourcery.com>
12839
12840 [BZ #13704]
12841 * manual/nss.texi (Services in the NSS configuration): Correct
12842 list of services in example configuration file.
12843
cd837b09
NB
128442012-02-19 Nick Bowler <nbowler@draconx.ca>
12845
12846 [BZ #11322]
12847 * manual/arith.texi: Remove statements about negative zero
12848 behaving identically to zero.
12849
02c4bbad
JM
128502012-02-18 Joseph Myers <joseph@codesourcery.com>
12851
12852 [BZ #5993]
12853 * manual/install.texi: Do not document upgrading from libc5.
12854
366842e7
JM
128552012-02-18 Joseph Myers <joseph@codesourcery.com>
12856
12857 [BZ #4596]
12858 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12859
dd54084d
DM
128602012-02-18 David S. Miller <davem@davemloft.net>
12861
12862 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12863 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12864 %o7 across the call.
12865 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12866 instead.
12867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12868 SETUP_PIC_REG_LEAF.
12869 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12870 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12871 * sysdeps/sparc/crtn.S: Likewise.
12872
2bcc53a3
UD
128732012-02-17 Ulrich Drepper <drepper@gmail.com>
12874
12875 * aout/Makefile: Remove.
12876
09c093b5
RK
128772012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12878
12879 [BZ #13058]
12880 * manual/examples/argp-ex1.c (main): Format definition in GNU
12881 style.
12882 * manual/examples/argp-ex2.c (main): Likewise.
12883 * manual/examples/argp-ex3.c (main): Likewise.
12884 * manual/examples/argp-ex4.c (main): Likewise.
12885 * manual/examples/longopt.c (main): Use new-style prototype
12886 definition.
12887 * manual/examples/strncat.c (main): Specify return type and use
12888 (void) for arguments.
12889 * manual/examples/subopt.c (main): Use char **argv argument.
12890
2ee633a2
JM
128912012-02-17 Joseph Myers <joseph@codesourcery.com>
12892
12893 [BZ #5077]
12894 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12895 rounding modes.
12896
0520adde
FB
128972012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12898
12899 [BZ #6907]
12900 * manual/string.texi (strchr): Change when strchrnul is
12901 recommended.
12902
3f4081cd
DGM
129032012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12904
12905 [BZ #174]
12906 * manual/locale.texi (setlocale): Document LOCPATH.
12907
d1b10e78
JM
129082012-02-17 Joseph Myers <joseph@codesourcery.com>
12909
12910 [BZ #10210]
12911 * manual/process.texi (execle): Move @dots{} before last argument.
12912
79c6869c
PB
129132012-02-17 Paul Bolle <pebolle@tiscali.nl>
12914
12915 [BZ #12047]
12916 * manual/charset.texi (Generic Charset Conversion): Fix typo
12917 (LC_TYPE -> LC_CTYPE).
12918
cc6e48bc
NB
129192012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12920
12921 [BZ #5805]
12922 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12923 (scalbnf): Likewise.
12924 (scalbnl): Likewise.
12925 (scalbln): Likewise.
12926 (scalblnf): Likewise.
12927 (scalblnl): Likewise.
12928 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12929 (vwarnx): Likewise.
12930 (verr): Likewise.
12931 (verrx): Likewise.
12932 * manual/filesys.texi (telldir): Use braces around return type.
12933 * manual/llio.texi (mmap): Add space after comma.
12934 (mmap64): Likewise.
12935 * manual/math.texi (jn): Use @var{} on parameter names.
12936 (jnf): Likewise.
12937 (jnl): Likewise.
12938 (yn): Likewise.
12939 (ynf): Likewise.
12940 (ynl): Likewise.
12941 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12942 line.
12943 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12944 "...".
12945 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12946 (sched_get_priority_max): Likewise.
12947 * manual/signal.texi (sigvec): Add space after comma.
12948 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12949 names.
12950 (if_indextoname): Likewise.
12951 (if_freenameindex): Likewise.
12952 (sendto): Use ',' instead of '.' in prototype.
12953 * manual/startup.texi (syscall): Use @dots{} instead of literal
12954 "...".
12955 * manual/stdio.texi (__fpending): Separate initial words of
12956 paragraph from @deftypefun line.
12957 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12958 "...".
12959 (vsyslog): Use @var{} on parameter names.
12960 * manual/terminal.texi (stty): Use @var{} on parameter names.
12961 * manual/users.texi (getutmp): Use @var{} on parameter names.
12962 (getutmpx): Likewise.
12963
5b23062f
JM
129642012-02-17 Joseph Myers <joseph@codesourcery.com>
12965
12966 [BZ #6884]
12967 * manual/stdio.texi (fopen): Fix typos in description of
12968 ",ccs=STRING".
12969
8dee4833
AJ
129702012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12971
12972 [BZ #4026]
12973 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12974 get clock_id definition.
12975
9078ce93
TS
129762012-02-17 Thomas Schwinge <thomas@schwinge.name>
12977
12978 [BZ #4822]
12979 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12980 (madvise): Cast every argument to void on its own.
12981
3835c55f
JM
129822012-02-17 Joseph Myers <joseph@codesourcery.com>
12983
12984 [BZ #9902]
12985 * manual/startup.texi (Exit Status): Fix typo.
12986
35c47e37
JM
129872012-02-17 Joseph Myers <joseph@codesourcery.com>
12988
12989 [BZ #10140]
12990 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12991 * manual/examples/argp-ex2.c: Likewise.
12992 * manual/examples/argp-ex3.c: Likewise.
12993
e3b69ca7
RH
129942012-02-16 Richard Henderson <rth@redhat.com>
12995
12996 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12997 * sysdeps/s390/s390-32/initfini.c: Remove.
12998 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12999 * sysdeps/s390/s390-64/initfini.c: Remove.
13000
df83af67
KK
130012012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13002
13003 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13004 compiler output for sysdeps/generic/initfini.c.
13005 * sysdeps/sh/elf/initfini.c: Remove file.
13006
f63f3380
DM
130072012-02-16 David S. Miller <davem@davemloft.net>
13008
fb59b3a4
DM
13009 [BZ #11494]
13010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13011
f63f3380
DM
13012 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13013 * sysdeps/sparc/crti.S: New file.
13014 * sysdeps/sparc/crtn.S: New file.
13015 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13016 * sysdeps/sparc/sparc64/Makefile: Likewise.
13017
df6a4a4a
MF
130182012-02-15 Mike Frysinger <vapier@gentoo.org>
13019
6dd8f3dc 13020 [BZ #3335]
df6a4a4a
MF
13021 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13022
1cac7236
RM
130232012-02-15 Roland McGrath <roland@hack.frob.com>
13024
d2c736f8
RM
13025 [BZ #4822]
13026 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13027
1cac7236
RM
13028 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13029 (write, read, close): Likewise.
13030 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13031
8e475601
JM
130322012-02-15 Joseph Myers <joseph@codesourcery.com>
13033
13034 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13035 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13036 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13037 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13038 <bits/signalfd.h>.
13039 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13041 bits/signalfd.h.
13042
ed656b40
MP
130432012-02-14 Marek Polacek <polacek@redhat.com>
13044
13045 * sysdeps/x86_64/crti.S: New file.
13046 * sysdeps/x86_64/crtn.S: New file.
13047 * sysdeps/x86_64/elf/initfini.c: Remove file.
13048
2a979d3a
JM
130492012-02-13 Joseph Myers <joseph@codesourcery.com>
13050
13051 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13052 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13053 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13054 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13055 <bits/inotify.h>.
13056 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13058 bits/inotify.h.
13059
2a418ac3
JM
130602012-02-13 Joseph Myers <joseph@codesourcery.com>
13061
13062 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13063 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13064 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13065 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13066 <bits/eventfd.h>.
13067 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13069 bits/eventfd.h.
13070
fb779be7
TS
130712012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13072
e19e83c5
RM
13073 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13074 __feraiseexcept instead of feraiseexcept.
7c35ffed 13075
fb779be7
TS
13076 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13077 nanosleep invocations.
13078 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13079 strings, and add error checking for a nanosleep invocations.
13080
59ba27a6
PE
130812012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13082
13083 Replace FSF snail mail address with URLs, as per GNU coding standards.
13084 Most of the snail mail addresses were wrong anyway, and omitting
13085 them makes the source code easier to maintain. Almost all of the
13086 changes are to license notices and to locale LC_IDENTIFICATION
13087 addresses, except for this one:
13088 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13089 not its snail mail address.
13090
57b957eb
RH
130912012-02-09 Richard Henderson <rth@twiddle.net>
13092
af850b1c
RH
13093 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13094 of kernel-features.h.
13095
57b957eb
RH
13096 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13097
6b73181a
MP
130982012-02-08 Marek Polacek <polacek@redhat.com>
13099
13100 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13101 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13102 * sysdeps/gnu/_G_config.h: Likewise.
13103 * sysdeps/generic/_G_config.h: Likewise.
13104
26ecc33a
AS
131052012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13106
6c6dbc63
AS
13107 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13108 tests.
13109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13110
e216c012
AS
13111 * sysdeps/powerpc/powerpc32/crti.S: New file.
13112 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13113 * sysdeps/powerpc/powerpc64/crti.S: New file.
13114 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13115
26ecc33a
AS
13116 * Makeconfig (have-initfini): Don't set.
13117 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13118 * configure.in (nopic_initfini): Don't substitute.
13119 * config.h.in (HAVE_INITFINI): Don't #undef.
13120 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13121 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13122
3add8e13
JM
131232012-02-08 Joseph Myers <joseph@codesourcery.com>
13124
13125 Support crti.S and crtn.S provided directly by architectures.
13126 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13127 [crti.S in sysdirs] (omit-deps): Likewise.
13128 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13129 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13130 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13131 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13132 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13133 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13134 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13135 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13136 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13137 compiler output for sysdeps/generic/initfini.c.
13138 * sysdeps/i386/elf/Makefile: Remove file.
13139 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13140
a22f12b4
MP
131412012-02-07 Marek Polacek <polacek@redhat.com>
13142
13143 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13144 * sysdeps/gnu/_G_config.h: Likewise.
13145 * sysdeps/mach/hurd/_G_config.h: Likewise.
13146
148cf100
MP
131472012-02-07 Marek Polacek <polacek@redhat.com>
13148
13149 * math/Makefile (tests): Add tst-CMPLX2.
13150 * math/tst-CMPLX2.c: New file.
13151
cfdc0dd7
AS
131522012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13153
84ba42c4
AS
13154 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13155
cfdc0dd7
AS
13156 * math/libm-test.inc (jn_test): Add missing L suffix.
13157
622c86f4
MP
131582012-02-06 Marek Polacek <polacek@redhat.com>
13159
13160 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13161 * sysdeps/i386/fpu/e_powf.S: Likewise.
13162 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13163 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13164 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13165 * sysdeps/i386/fpu/e_pow.S: Likewise.
13166 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13167 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13168 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13169 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13170 * sysdeps/i386/fpu/e_log2.S: Likewise.
13171 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13172 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13173 * sysdeps/i386/fpu/e_powl.S: Likewise.
13174 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13175 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13176 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13177 * sysdeps/i386/fpu/e_logl.S: Likewise.
13178 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13179 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13180 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13181 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13182 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13183 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13184 * sysdeps/i386/fpu/e_log.S: Likewise.
13185 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13186 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13187 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13188 * sysdeps/i386/fpu/e_logf.S: Likewise.
13189 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13190 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13191 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13192 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13193 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13194 * sysdeps/i386/fpu/e_log10.S: Likewise.
13195 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13196 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13197 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13198 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13199 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13200 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13201 * sysdeps/i386/asm-syntax.h: Likewise.
13202 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13203 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13204 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13205 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13206 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13207 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13208 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13209 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13210 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13211 * sysdeps/powerpc/sysdep.h: Likewise.
13212 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13213 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13214
d4a54ac6
JM
132152012-02-06 Joseph Myers <joseph@codesourcery.com>
13216
13217 [BZ #411]
13218 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13219
314054ea
JM
132202012-02-06 Joseph Myers <joseph@codesourcery.com>
13221
13222 * sysdeps/i386/sysdep.h: Include <features.h>.
13223 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13224 version.
13225
d8e0ca50
JM
132262012-02-05 Joseph Myers <joseph@codesourcery.com>
13227
13228 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13229 Define.
13230 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13231 LOAD_PIC_REG_STR.
13232
b1da7dd9
JM
132332012-02-03 Joseph Myers <joseph@codesourcery.com>
13234
13235 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13236 (SETUP_PIC_REG): Use GET_PC_THUNK.
13237 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13238 macro.
13239
9a1d9254
JM
132402012-02-03 Joseph Myers <joseph@codesourcery.com>
13241
13242 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13243 for non-PIC compilation.
13244 (SETUP_PIC_REG): Add .p2align directive.
13245 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13246 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13247 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13248 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13249 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13250 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13251 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13252 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13253 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13254 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13255 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13256 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13257 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13258 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13259 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13260 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13261 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13262 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13263 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13264 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13265 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13266 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13267 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13268 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13269 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13270 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13271 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13272 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13273 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13274 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13275 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13276 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13277 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13278 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13279 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13280 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13281 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13282 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13283 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13284 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13285 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13286
65dc3b75
JM
132872012-02-03 Joseph Myers <joseph@codesourcery.com>
13288
13289 * math/tst-CMPLX.c: Include <stdio.h>.
13290
d55bf177
JM
132912012-01-31 Joseph Myers <joseph@codesourcery.com>
13292
13293 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13294 float.
13295 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13296 * sysdeps/sparc/bits/mathdef.h: Likewise.
13297
69db4f8f
MP
132982012-01-31 Marek Polacek <polacek@redhat.com>
13299
13300 * libio/libio.h: Don't define _PARAMS.
13301 * locale/programs/config.h: Don't define PARAMS.
13302 * stdlib/strtol_l.c: Likewise.
13303 (__strtol_l): Remove PARAMS from the prototype.
13304
41b81892
UD
133052012-01-31 Ulrich Drepper <drepper@gmail.com>
13306
3b49edc0
UD
13307 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13308 names. Just use the correct names. Remove unnecessary wrapper
13309 functions.
13310 * malloc/arena.c: Likewise.
13311 * malloc/hooks.c: Likewise.
13312
41b81892
UD
13313 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13314 ARENA_TEST says not to. Simplify test for creation of a new arena.
13315 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13316
27a25b6e
UD
133172012-01-30 Ulrich Drepper <drepper@gmail.com>
13318
13319 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13320 into tail calls.
13321 (update_get_addr): New function.
13322 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13323 GET_ADDR_MODULE parameter.
13324
c8a89e7d
JM
133252012-01-30 Joseph Myers <joseph@codesourcery.com>
13326
13327 * crypt/cert.c: Remove __STDC__ conditionals.
13328 * crypt/crypt-entry.c: Likewise.
13329 * crypt/crypt_util.c: Likewise.
13330 * libio/filedoalloc.c: Likewise.
13331 * libio/fileops.c: Likewise.
13332 * libio/genops.c: Likewise.
13333 * libio/iofclose.c: Likewise.
13334 * libio/iofdopen.c: Likewise.
13335 * libio/iofopen.c: Likewise.
13336 * libio/iofopen64.c: Likewise.
13337 * libio/iogetdelim.c: Likewise.
13338 * libio/iopopen.c: Likewise.
13339 * libio/obprintf.c: Likewise.
13340 * libio/oldfileops.c: Likewise.
13341 * libio/oldiofclose.c: Likewise.
13342 * libio/oldiofdopen.c: Likewise.
13343 * libio/oldiofopen.c: Likewise.
13344 * libio/oldiopopen.c: Likewise.
13345 * libio/wfiledoalloc.c: Likewise.
13346 * libio/wgenops.c: Likewise.
13347 * locale/programs/xmalloc.c: Likewise.
13348 * misc/syslog.c: Likewise.
13349 * stdio-common/xbug.c: Likewise.
13350 * string/memchr.c: Likewise.
13351 * string/memcmp.c: Likewise.
13352 * string/memrchr.c: Likewise.
13353 * string/rawmemchr.c: Likewise.
13354 * sysdeps/posix/getcwd.c: Likewise.
13355 * time/strftime_l.c: Likewise.
13356
3b100462
JM
133572012-01-30 Joseph Myers <joseph@codesourcery.com>
13358
13359 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
13360 * config.make.in (config-cflags-sse2avx): Define.
13361 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13362 Fix typo.
13363
607998af
CM
133642012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13365
13366 * scripts/config.guess: Update from upstream config git repository.
13367 * scripts/config.sub: Likewise.
13368
3601428f
CM
133692012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13370
3ac8b282
CM
13371 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13372 (EM_NUM): Update.
13373 (R_TILEPRO_*, R_TILEGX_*): New macros.
13374
e034841e
CM
13375 * scripts/firstversions.awk: Fix bug in version range handling.
13376
540d7568
CM
13377 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13378
3601428f
CM
13379 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13380
463de862
CM
13381 * include/sys/epoll.h: New file.
13382 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13383 libc_hidden_def.
13384
73139a76
UD
133852012-01-28 Ulrich Drepper <drepper@gmail.com>
13386
96bc5b45
UD
13387 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13388 Avoid unnecessary __WORDSIZE == 64 test.
13389 (fmaxf): Use VEX format if possible.
13390 (fmax): Likewise.
13391 (fminf): Likewise.
13392 (fmin): Likewise.
13393
56f6f6a2
UD
13394 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13395 * math/math_private.h: Remove libc_fegetround* and
13396 libc_fesetround*.
13397 * sysdeps/i386/configure.in: Check for -msse2avx.
13398 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13399 also if SSE2AVX is defined.
13400 Remove libc_fegetround* and libc_fesetround*.
13401 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13402 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13403 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13404 of HAS_YMM_USABLE.
13405 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13406 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13407 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13408 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13409 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13410
73139a76
UD
13411 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13412
d73f93a4
AZ
134132012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13414
13415 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13416 size is not set.
13417 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13418
6ee65ed6
UD
134192012-01-27 Ulrich Drepper <drepper@gmail.com>
13420
13421 [BZ #13618]
13422 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13423 relocation.
13424 * Makeconfig (libm): Define.
13425 * elf/Makefile: Add rules to build and run tst-relsort1.
13426 * elf/tst-relsort1.c: New file.
13427 * elf/tst-relsort1mod1.c: New file.
13428 * elf/tst-relsort1mod2.c: New file.
13429
8db21882
JM
134302012-01-27 Joseph Myers <joseph@codesourcery.com>
13431
13432 * math/s_ldexp.c: Remove __STDC__ conditionals.
13433 * math/s_ldexpf.c: Likewise.
13434 * math/s_ldexpl.c: Likewise.
13435 * math/s_nextafter.c: Likewise.
13436 * math/s_nexttowardf.c: Likewise.
13437 * math/s_significand.c: Likewise.
13438 * math/s_significandf.c: Likewise.
13439 * math/s_significandl.c: Likewise.
13440 * math/w_jnl.c: Likewise.
13441 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13442 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13443 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13444 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13445 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13446 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13447 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13448 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13449 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13450 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13451 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13452 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13453 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13454 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13455 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13456 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13457 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13458 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13459 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13460 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13461 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13462 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13463 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13464 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13465 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13466 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13467 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13468 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13469 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13470 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13471 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13472 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13473 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13474 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13475 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13476 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13477 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13478 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13479 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13480 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13481 * sysdeps/ieee754/k_standard.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13484 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13488 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13489 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13492 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13493 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13494 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13495 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13496 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13512 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13514 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13518 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13519 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13528 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13529 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13530 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13531 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13532 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13534 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13536 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13537 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13538 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13543 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13544 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13548 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13553 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13554 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13556 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13557 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13558 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13559 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13560 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13561 * sysdeps/ieee754/s_matherr.c: Likewise.
13562 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13563 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13564 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13565 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13566
965a54a4
JM
135672012-01-26 Joseph Myers <joseph@codesourcery.com>
13568
13569 * crypt/md5.h: Remove __STDC__ conditionals.
13570 * libio/libioP.h: Likewise.
13571 * locale/programs/config.h: Likewise.
13572 * sysdeps/generic/sysdep.h: Likewise.
13573 * sysdeps/i386/asm-syntax.h: Likewise.
13574 * sysdeps/s390/asm-syntax.h: Likewise.
13575 * sysdeps/unix/sysdep.h: Likewise.
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13578
7071ad79
JM
135792012-01-26 Joseph Myers <joseph@codesourcery.com>
13580
13581 * libio/libio.h: Remove __STDC__ conditionals.
13582 * malloc/obstack.h: Likewise.
13583 * math/complex.h: Likewise.
13584 * math/math.h: Likewise.
13585 * sysdeps/generic/_G_config.h: Likewise.
13586 * sysdeps/gnu/_G_config.h: Likewise.
13587 * sysdeps/mach/hurd/_G_config.h: Likewise.
13588 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13589 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13590 * sysdeps/sparc/bits/mathdef.h: Likewise.
13591
afc5ed09
UD
135922012-01-26 Ulrich Drepper <drepper@gmail.com>
13593
13594 [BZ #13583]
13595 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13596 Clean up HAS_* macros.
afc5ed09 13597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13598 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13599 possible.
13600 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13601 HAS_AVX.
13602 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13603 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13604 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13605 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13606 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13607
bdb6de1d
JM
136082012-01-25 Joseph Myers <joseph@codesourcery.com>
13609
13610 * elf/tst-unique3.cc (gets): Remove declaration.
13611 * elf/tst-unique3lib.cc (gets): Likewise.
13612 * elf/tst-unique3lib2.cc (gets): Likewise.
13613 * elf/tst-unique4.cc (gets): Likewise.
13614
b15549e6
UD
136152012-01-24 Ulrich Drepper <drepper@gmail.com>
13616
13617 * include/stdio.h: Add C++ protection. Add gets declarations and
13618 definitions.
13619 * debug/tst-chk1.c: Don't declare gets here.
13620 * stdio-common/tst-gets.c: Likewise.
13621
a037381f
JM
136222012-01-24 Joseph Myers <joseph@codesourcery.com>
13623
13624 * posix/glob: Remove directory.
13625
f1d4aa75
JM
136262012-01-24 Joseph Myers <joseph@codesourcery.com>
13627
13628 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13629
81c0c964
PT
136302012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13631
13632 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13633 of the non-standard EPFNOSUPPORT.
13634
0ea698ae
ST
136352011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13636
13637 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13638 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13639 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13640
d220b117
UD
136412012-01-21 Ulrich Drepper <drepper@gmail.com>
13642
13643 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13644
3e1aa84e
UD
136452012-01-20 Ulrich Drepper <drepper@gmail.com>
13646
13647 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13648 transient errors.
13649 * nscd/grpcache.c (cache_addgr): Likewise.
13650 * nscd/hstcache.c (cache_addhst): Likewise.
13651 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13652 * nscd/pwdcache.c (cache_addpw): Likewise.
13653 * nscd/servicescache.c (cache_addserv): Likewise.
13654
400aa020
UD
136552012-01-16 Ulrich Drepper <drepper@gmail.com>
13656
d77e7869
UD
13657 * malloc/malloc.c: Various cleanups.
13658 * malloc/hooks.c: Likewise.
13659
400aa020
UD
13660 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13661 * stdlib/bug-fmtmsg1.c: New file.
13662
13663 * stdlib/fmtmsg.c (init): Add missing unlock.
13664 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13665
e0a309cf
MP
136662012-01-12 Marek Polacek <polacek@redhat.com>
13667
13668 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13669 and _GNU_SOURCE.
13670
929d11c7
WS
136712012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13672
13673 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13674 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13675 macro to ensure uniqueness of label name.
13676 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13677 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13678
41d0e869
UD
136792012-01-11 Ulrich Drepper <drepper@gmail.com>
13680
0cc5ed3b
UD
13681 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13682
41d0e869
UD
13683 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13684 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13685 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13687
a47a831a
UD
136882012-01-10 Ulrich Drepper <drepper@gmail.com>
13689
daa891c0
UD
13690 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13691
13692 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13693 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13694 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13695
e58ef0f2
UD
13696 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13697
a47a831a 13698 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13699 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13700 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13701 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13702
13703 * math/bits/math-finite.h: Add ldexp support.
13704
a0bfc9c7
MP
137052012-01-10 Marek Polacek <polacek@redhat.com>
13706
13707 * locale/programs/localedef.h (show_archive_content): Add noreturn
13708 attribute.
13709
d6e97a1d
UD
137102012-01-09 Ulrich Drepper <drepper@gmail.com>
13711
13712 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13713
d5835c26
UD
137142012-01-08 Ulrich Drepper <drepper@gmail.com>
13715
e5f484c6
UD
13716 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13717
d5835c26
UD
13718 * io/Makefile (headers): Add bits/poll2.h.
13719
d1f741e9
WS
137202011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13721
13722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13723 typo #include statement.
13724
ec09c1c4
UD
137252012-01-08 Ulrich Drepper <drepper@gmail.com>
13726
13727 * include/sys/cdefs.h: Define __attribute_alloc_size.
13728 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13729 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13730 * elf/pldd.c: Likewise.
13731 * iconv/iconv_charmap.c: Likewise.
13732 * iconv/iconvconfig.c: Likewise.
13733 * iconv/strtab.c: Likewise.
13734 * locale/programs/locale.c: Likewise.
13735 * locale/programs/localedef.h: Likewise.
13736 * locale/programs/simple-hash.c: Likewise.
13737 * nscd/nscd.h: Likewise.
13738 * nss/makedb.c: Likewise.
13739 * sysdeps/generic/ldconfig.h: Likewise.
13740 * locale/programs/localedef.c: Remove xmalloc prototype.
13741 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13742
20b38e03
PP
137432012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13744
13745 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13746 appropriate.
13747
a0da5fe1
UD
137482012-01-08 Ulrich Drepper <drepper@gmail.com>
13749
1d5a644a 13750 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13751 * math/tst-CMPLX.c: New file.
1d5a644a 13752
8784a6db
UD
13753 * math/complex.h (CMPLXL): Fix typo.
13754
d9a216c0
UD
13755 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13756 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13757 GLIBC_2.16.
13758 * debug/tst-chk1.c: Add poll and ppoll tests.
13759 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13760 * include/sys/poll.h: Add hidden proto for ppoll.
13761 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13762 * sysdeps/mach/hurd/ppoll.c: Likewise.
13763 * io/ppoll.c: Likewise.
13764 * debug/poll_chk.c: New file.
13765 * debug/ppoll_chk.c: New file.
13766 * include/bits/poll2.h: New file.
13767 * io/bits/poll2.h: New file.
13768
ac097f5c
UD
13769 [BZ #1350]
13770 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13771
2119dcfa
UD
13772 * configure.in: static is always set to yes. Remove.
13773 * config.make.in: Don't set build-static.
13774 * Makeconfig: Remove use of build-static.
13775 * dlfcn/Makefile: Likewise.
13776 * elf/Makefile: Likewise.
13777 * math/Makefile: Likewise.
13778 * misc/Makefile: Likewise.
13779 * nptl/Makefile: Likewise.
13780 * sysdeps/mach/hurd/Makefile: Likewise.
13781
121766a9
UD
13782 * configure.in: PWD_P is not used anymore.
13783 * config.make.in: Remove PWD_P entry.
13784
51a1d39c 13785 * configure.in: Remove last remnants of RANLIB.
8720d066 13786 No need to check for signed size_t anymore.
215f4bdc
UD
13787 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13788 and IA-64.
3857022a 13789 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13790 * aclocal.m4: Likewise.
13791
d3ed7225
UD
13792 * wcsmbs/mbrtoc16.c: Implement using towc function.
13793 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13794 * wcsmbs/wcsmbsload.c: Likewise.
13795 * iconv/gconv_simple.c: Likewise.
13796 * iconv/gconv_int.h: Likewise.
13797 * iconv/gconv_builtin.h: Likewise.
13798 * iconv/iconv_prog.c: Remove CHAR16 handling.
13799
13800 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13801
13802 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13803
a0da5fe1
UD
13804 * configure.in: Remove --with-elf and --enable-bounded options.
13805 Dont set base_machine for ia64. More non-ELF conditions removed.
13806 Remove testing and setting of leading underscore information.
13807 * config.make.in (build-bounded): Set to no.
13808 * config.h.in: Remove NO_UNDERSCORES entry.
13809 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13810 them.
13811 * csu/start.c: Remove !NO_UNDERSCORE code.
13812 * locale/localeinfo.h: Likewise.
13813 * sysdeps/generic/machine-gmon.h: Likewise.
13814 * sysdeps/generic/sysdep.h: Likewise.
13815 * sysdeps/i386/sysdep.h: Likewise.
13816 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13817 * sysdeps/mach/sysdep.h: Likewise.
13818 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13819 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13820 * sysdeps/sh/sysdep.h: Likewise.
13821 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13822 * sysdeps/unix/i386/sysdep.S: Likewise.
13823 * sysdeps/unix/sparc/start.c: Likewise.
13824 * sysdeps/unix/sparc/sysdep.S: Likewise.
13825 * sysdeps/unix/sparc/sysdep.h: Likewise.
13826 * sysdeps/unix/start.c: Likewise.
13827 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13828 * sysdeps/x86_64/sysdep.h: Likewise.
13829
df78418a
UD
138302012-01-07 Ulrich Drepper <drepper@gmail.com>
13831
a784e502
UD
13832 [BZ #13553]
13833 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13834 for non-gcc.
13835 * argp/argp-fmtstream.h: Use const instead __const.
13836 * argp/argp.h: Likewise.
13837 * assert/assert.h: Likewise.
13838 * bits/fenv.h: Likewise.
13839 * bits/sched.h: Likewise.
13840 * bits/sigset.h: Likewise.
13841 * bits/sigthread.h: Likewise.
13842 * catgets/nl_types.h: Likewise.
13843 * conform/data/pthread.h-data: Likewise.
13844 * crypt/crypt-private.h: Likewise.
13845 * crypt/crypt.h: Likewise.
13846 * crypt/crypt_util.c: Likewise.
13847 * ctype/ctype.h: Likewise.
13848 * debug/execinfo.h: Likewise.
13849 * debug/mbsnrtowcs_chk.c: Likewise.
13850 * debug/mbsrtowcs_chk.c: Likewise.
13851 * debug/wcsnrtombs_chk.c: Likewise.
13852 * debug/wcsrtombs_chk.c: Likewise.
13853 * debug/wcstombs_chk.c: Likewise.
13854 * dirent/dirent.h: Likewise.
13855 * dlfcn/dlfcn.h: Likewise.
13856 * elf/neededtest4.c: Likewise.
13857 * grp/grp.h: Likewise.
13858 * gshadow/gshadow.h: Likewise.
13859 * iconv/gconv.h: Likewise.
13860 * iconv/gconv_int.h: Likewise.
13861 * iconv/gconv_simple.c: Likewise.
13862 * iconv/iconv.h: Likewise.
13863 * iconv/loop.c: Likewise.
13864 * iconv/skeleton.c: Likewise.
13865 * include/aio.h: Likewise.
13866 * include/aliases.h: Likewise.
13867 * include/argz.h: Likewise.
13868 * include/arpa/inet.h: Likewise.
13869 * include/assert.h: Likewise.
13870 * include/dirent.h: Likewise.
13871 * include/dlfcn.h: Likewise.
13872 * include/execinfo.h: Likewise.
13873 * include/fcntl.h: Likewise.
13874 * include/fenv.h: Likewise.
13875 * include/glob.h: Likewise.
13876 * include/grp.h: Likewise.
13877 * include/libintl.h: Likewise.
13878 * include/mntent.h: Likewise.
13879 * include/netdb.h: Likewise.
13880 * include/pwd.h: Likewise.
13881 * include/rpc/netdb.h: Likewise.
13882 * include/sched.h: Likewise.
13883 * include/search.h: Likewise.
13884 * include/shadow.h: Likewise.
13885 * include/signal.h: Likewise.
13886 * include/stdio.h: Likewise.
13887 * include/stdlib.h: Likewise.
13888 * include/string.h: Likewise.
13889 * include/sys/socket.h: Likewise.
13890 * include/sys/stat.h: Likewise.
13891 * include/sys/statfs.h: Likewise.
13892 * include/sys/statvfs.h: Likewise.
13893 * include/sys/syslog.h: Likewise.
13894 * include/sys/time.h: Likewise.
13895 * include/sys/uio.h: Likewise.
13896 * include/time.h: Likewise.
13897 * include/unistd.h: Likewise.
13898 * include/utmp.h: Likewise.
13899 * include/wchar.h: Likewise.
13900 * include/wctype.h: Likewise.
13901 * inet/aliases.h: Likewise.
13902 * inet/arpa/inet.h: Likewise.
13903 * inet/netinet/ether.h: Likewise.
13904 * inet/netinet/in.h: Likewise.
13905 * intl/libintl.h: Likewise.
13906 * io/bits/fcntl2.h: Likewise.
13907 * io/fcntl.h: Likewise.
13908 * io/ftw.h: Likewise.
13909 * io/sys/poll.h: Likewise.
13910 * io/sys/stat.h: Likewise.
13911 * io/sys/statfs.h: Likewise.
13912 * io/sys/statvfs.h: Likewise.
13913 * io/utime.h: Likewise.
13914 * libio/bits/stdio.h: Likewise.
13915 * libio/bits/stdio2.h: Likewise.
13916 * libio/libio.h: Likewise.
13917 * libio/libioP.h: Likewise.
13918 * libio/stdio.h: Likewise.
13919 * locale/lc-ctype.c: Likewise.
13920 * locale/locale.h: Likewise.
13921 * login/utmp.h: Likewise.
13922 * malloc/arena.c: Likewise.
13923 * malloc/malloc.c: Likewise.
13924 * malloc/malloc.h: Likewise.
13925 * malloc/mcheck.c: Likewise.
13926 * malloc/mtrace.c: Likewise.
13927 * math/bits/mathcalls.h: Likewise.
13928 * math/fenv.h: Likewise.
13929 * math/math_private.h: Likewise.
13930 * misc/bits/error.h: Likewise.
13931 * misc/bits/syslog.h: Likewise.
13932 * misc/err.h: Likewise.
13933 * misc/error.h: Likewise.
13934 * misc/fstab.h: Likewise.
13935 * misc/mntent.h: Likewise.
13936 * misc/regexp.h: Likewise.
13937 * misc/search.h: Likewise.
13938 * misc/sgtty.h: Likewise.
13939 * misc/sys/mman.h: Likewise.
13940 * misc/sys/syslog.h: Likewise.
13941 * misc/sys/uio.h: Likewise.
13942 * misc/sys/xattr.h: Likewise.
13943 * misc/ttyent.h: Likewise.
13944 * nis/rpcsvc/ypclnt.h: Likewise.
13945 * nss/nss.h: Likewise.
13946 * posix/bits/unistd.h: Likewise.
13947 * posix/fnmatch.h: Likewise.
13948 * posix/glob.h: Likewise.
13949 * posix/sched.h: Likewise.
13950 * posix/spawn.h: Likewise.
13951 * posix/sys/wait.h: Likewise.
13952 * posix/unistd.h: Likewise.
13953 * posix/wordexp.h: Likewise.
13954 * pwd/pwd.h: Likewise.
13955 * resolv/netdb.h: Likewise.
13956 * resource/sys/resource.h: Likewise.
13957 * rt/aio.h: Likewise.
13958 * rt/bits/mqueue2.h: Likewise.
13959 * rt/mqueue.h: Likewise.
13960 * shadow/shadow.h: Likewise.
13961 * signal/signal.h: Likewise.
13962 * socket/send.c: Likewise.
13963 * socket/sendto.c: Likewise.
13964 * socket/sys/socket.h: Likewise.
13965 * stdio-common/printf.h: Likewise.
13966 * stdlib/bits/stdlib.h: Likewise.
13967 * stdlib/fmtmsg.h: Likewise.
13968 * stdlib/monetary.h: Likewise.
13969 * stdlib/stdlib.h: Likewise.
13970 * stdlib/ucontext.h: Likewise.
13971 * streams/stropts.h: Likewise.
13972 * string/argz.h: Likewise.
13973 * string/bits/string2.h: Likewise.
13974 * string/string.h: Likewise.
13975 * string/strings.h: Likewise.
13976 * sunrpc/rpc/auth.h: Likewise.
13977 * sunrpc/rpc/auth_des.h: Likewise.
13978 * sunrpc/rpc/clnt.h: Likewise.
13979 * sunrpc/rpc/netdb.h: Likewise.
13980 * sunrpc/rpc/pmap_clnt.h: Likewise.
13981 * sunrpc/rpc/xdr.h: Likewise.
13982 * sysdeps/generic/inttypes.h: Likewise.
13983 * sysdeps/generic/net/if.h: Likewise.
13984 * sysdeps/generic/sys/swap.h: Likewise.
13985 * sysdeps/gnu/net/if.h: Likewise.
13986 * sysdeps/gnu/utmpx.h: Likewise.
13987 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13988 * sysdeps/i386/i486/bits/string.h: Likewise.
13989 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13990 * sysdeps/s390/bits/string.h: Likewise.
13991 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13992 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13993 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13994 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13995 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13996 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13997 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13998 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13999 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14000 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14001 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14002 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14003 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14004 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14005 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14006 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14007 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14009 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14010 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14011 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14012 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14013 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14014 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14015 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14016 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14017 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14018 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14019 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14020 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14021 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14022 * sysvipc/sys/ipc.h: Likewise.
14023 * sysvipc/sys/msg.h: Likewise.
14024 * sysvipc/sys/sem.h: Likewise.
14025 * sysvipc/sys/shm.h: Likewise.
14026 * termios/termios.h: Likewise.
14027 * time/sys/time.h: Likewise.
14028 * time/time.h: Likewise.
14029 * wcsmbs/bits/wchar2.h: Likewise.
14030 * wcsmbs/uchar.h: Likewise.
14031 * wcsmbs/wchar.h: Likewise.
14032 * wctype/wctype.h: Likewise.
14033
0269750c
UD
14034 [BZ #13551]
14035 * Makeconfig: Remove all but ELF support including AIX support.
14036 * Makerules: Likewise.
14037 * config.h.in: Likewise.
14038 * config.make.in: Likewise.
14039 * configure: Likewise.
14040 * configure.in: Likewise.
14041 * csu/Makefile: Likewise.
14042 * csu/version.c: Likewise.
14043 * debug/Makefile: Likewise.
14044 * dlfcn/Makefile: Likewise.
14045 * elf/Makefile: Likewise.
14046 * extra-lib.mk: Likewise.
14047 * iconv/Makefile: Likewise.
14048 * include/libc-symbols.h: Likewise.
14049 * include/shlib-compat.h: Likewise.
14050 * resolv/Makefile: Likewise.
14051 * resolv/res_libc.c: Likewise.
14052 * rt/Makefile: Likewise.
14053 * sysdeps/i386/asm-syntax.h: Likewise.
14054 * sysdeps/i386/sysdep.h: Likewise.
14055 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14056 * sysdeps/mach/sysdep.h: Likewise.
14057 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14058 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14059 * sysdeps/s390/asm-syntax.h: Likewise.
14060 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14061 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14062 * sysdeps/sh/sysdep.h: Likewise.
14063 * sysdeps/unix/sparc/sysdep.h: Likewise.
14064 * sysdeps/wordsize-32/divdi3.c: Likewise.
14065 * sysdeps/x86_64/sysdep.h: Likewise.
14066
00bbd29b
UD
14067 * argp/Versions: Remove _argp_unlock_xxx.
14068
14069 [BZ #13559]
14070 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14071 * abilist/libBrokenLocale.abilist: Likewise.
14072 * abilist/libanl.abilist: Likewise.
14073 * abilist/libc.abilist: Likewise.
14074 * abilist/libcrypt.abilist: Likewise.
14075 * abilist/libdl.abilist: Likewise.
14076 * abilist/libm.abilist: Likewise.
14077 * abilist/libnsl.abilist: Likewise.
14078 * abilist/libpthread.abilist: Likewise.
14079 * abilist/libresolv.abilist: Likewise.
14080 * abilist/librt.abilist: Likewise.
14081 * abilist/libthread_db.abilist: Likewise.
14082 * abilist/libutil.abilist: Likewise.
14083 * abilist/libnss_db.abilist: New file.
14084
14085 * scripts/abilist.awk: Add support for indirect functions.
14086
a2693a0e
UD
14087 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14088
3f05895f
UD
14089 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14090
ecb6fb48
UD
14091 * shlib-versions: Remove entries for ports architectures.
14092
664f8cb9
UD
14093 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14094 files in ports.
14095 * elf/stackguard-macros.h: Remove support for IA-64.
14096 * elf/tst-auditmod1.c: Likewise.
14097 * sysdeps/generic/ldsodefs.h: Likewise.
14098
7ae81d88
UD
14099 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14100 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14101 configure files.
14102
bdeba135
UD
14103 [BZ #13552]
14104 * configure.in: Remove --enable-omitfp support.
14105 * FAQ.in: Adjust.
14106 * config.make.in: Likewise.
14107 * Makeconfig: Likewise.
14108 * manual/install.texi: Likewise.
14109
d75a0a62
UD
14110 In case anyone cares, the IA-64 architecture could move to ports.
14111 * sysdeps/ia64/*: Removed.
14112 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 14113 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 14114
dcc9756b
UD
14115 [BZ #13555]
14116 * configure.in: Remove entries for unsupported architectures.
14117
d3761ebc 14118 [BZ #13533]
9954432e
UD
14119 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14120 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14121 routines.
14122 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14123 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14124 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14125 fall back to using wcrtomb.
14126 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14127 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14128 renaming.
14129 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14130 * wcsmbs/tst-c16c32-1.c: New file.
14131
14132 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14133 local variable.
14134
c3a87236
UD
14135 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14136
28926a1b
UD
14137 * elf/tst-unique3.cc: Add explicit declaration of gets.
14138 * elf/tst-unique3lib.cc: Likewise.
14139 * elf/tst-unique3lib2.cc: Likewise.
14140 * elf/tst-unique4.cc: Likewise.
14141
df78418a
UD
14142 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14143
8ecd6b2a
JM
141442012-01-06 Joseph Myers <joseph@codesourcery.com>
14145
14146 [BZ #13566]
14147 * assert/assert.h (static_assert): Don't define for C++.
14148 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14149 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14150
9f115170
UD
141512012-01-03 Ulrich Drepper <drepper@gmail.com>
14152
5e0d0300
UD
14153 * iconv/loop.c (single loop): Fix assertion in storing of
14154 remaining bytes.
14155
9f115170
UD
14156 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14157
81fb02b0
UD
141582012-01-01 Ulrich Drepper <drepper@gmail.com>
14159
14160 * posix/getconf.c: Update copyright year.
14161 * nss/getent.c: Likewise.
a316c1f6 14162 * nss/makedb.c: Likewise.
81fb02b0
UD
14163 * iconv/iconvconfig.c: Likewise.
14164 * iconv/iconv_prog.c: Likewise.
14165 * elf/ldconfig.c: Likewise.
a316c1f6
UD
14166 * elf/pldd.c: Likewise.
14167 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
14168 * catgets/gencat.c: Likewise.
14169 * csu/version.c: Likewise.
14170 * elf/ldd.bash.in: Likewise.
14171 * elf/sprof.c (print_version): Likewise.
14172 * locale/programs/locale.c: Likewise.
14173 * locale/programs/localedef.c: Likewise.
a316c1f6 14174 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
14175 * nscd/nscd.c (print_version): Likewise.
14176 * debug/xtrace.sh: Likewise.
14177 * malloc/memusage.sh: Likewise.
14178 * malloc/mtrace.pl: Likewise.
14179 * debug/catchsegv.sh: Likewise.
14180
2ba92745
JJ
141812011-12-30 Jakub Jelinek <jakub@redhat.com>
14182
14183 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14184 pure attribute.
14185
dadebdae
UD
141862011-12-24 Ulrich Drepper <drepper@gmail.com>
14187
d3761ebc 14188 [BZ #13533]
db6af3eb
UD
14189 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14190 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14191 transformations.
14192 * iconv/gconv_int.h: Likewise.
14193 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14194 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14195 from libc for GLIBC_2.16.
14196 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14197 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14198 * wcsmbs/uchar.h: Really define mbstate_t.
14199 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14200 * wcsmbs/c16rtomb.c: New file.
14201 * wcsmbs/mbrtoc16.c: New file.
14202 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14203 for C/POSIX locale.
14204 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14205 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14206
dadebdae
UD
14207 * wcsmbs/wchar.h: Add missing __restrict.
14208
67371b56
UD
142092011-12-23 Ulrich Drepper <drepper@gmail.com>
14210
74033a25
UD
14211 [BZ #13532]
14212 * time/Makefile (routines): Add timespec_get.
14213 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14214 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14215 timespec for ISO C11.
14216 * time/timespec_get.c: New file.
14217 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14218 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14219
380d7e87
UD
14220 [BZ #13531]
14221 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14222 * stdlib/stdlib.h: Declare aligned_alloc.
14223 * Versions.def: Add GLIBC_2.16 for libc.
14224 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14225
4e9e7a35
UD
14226 [BZ 13527]
14227 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14228 ISO C11.
14229
380d7e87 14230 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
14231 code.
14232
03a71829
UD
14233 [BZ #13528]
14234 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14235
839e283e
UD
14236 [BZ #13529]
14237 * assert/assert.h (static_assert): Define.
14238
ce5294e2 14239 * version.h: Update for 2.16 development version.
90fa7312 14240
8d44e150 14241 [BZ #13526]
d7809905
UD
14242 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14243 _ISOC11_SOURCE.
14244
c0da14cd
UD
14245 * version.h (RELEASE): Bump for 2.15 release.
14246 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14247
530a3249
MP
14248 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14249 Patch by Marek Polacek <mpolacek@redhat.com>.
14250
67371b56
UD
14251 * bits/byteswap.h: Protect long long constants with __extension__.
14252 * sysdeps/i386/bits/byteswap.h: Likewise.
14253 * sysdeps/ia64/bits/byteswap.h: Likewise.
14254 * sysdeps/s390/bits/byteswap.h: Likewise.
14255 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14256
15db4de1
LD
142572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14258
14259 [BZ #13540]
bbe315ea
LD
14260 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14261 destination buffer.
15db4de1
LD
14262 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14263
2b2596b1
MP
142642011-12-23 Marek Polacek <polacek@redhat.com>
14265
14266 * elf/dl-addr.c (determine_info): Add inline keyword.
14267 * elf/tst-auditmod4b.c (check_avx): Likewise.
14268 * elf/tst-auditmod6b.c (check_avx): Likewise.
14269 * elf/tst-auditmod6c.c (check_avx): Likewise.
14270 * elf/tst-auditmod7b.c (check_avx): Likewise.
14271
70c6c246
UD
142722011-12-23 Ulrich Drepper <drepper@gmail.com>
14273
14274 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14275 !__SSE_MATH__.
14276
c044cf14
LD
142772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14278
15db4de1 14279 [BZ #13540]
c044cf14
LD
14280 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14281 processing for last bytes.
14282
6b13d9d9
BH
142832011-08-06 Bruno Haible <bruno@clisp.org>
14284
d455f537
BH
14285 [BZ #13061]
14286 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14287 U+0385, not to U+1FEE.
14288
6b13d9d9
BH
14289 [BZ #13062]
14290 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14291 entry for U+00A5 U+0301.
14292
db910efd
UD
142932011-12-22 Ulrich Drepper <drepper@gmail.com>
14294
27deeafc
UD
14295 [BZ #13166]
14296 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14297 buffer for the output is too small.
14298
aed9d171
UD
14299 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14300 optimization.
14301
db910efd
UD
14302 [BZ #13185]
14303 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14304 SSE flags if possible.
14305
2bd779ae
LD
143062011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14307
e7f9dac3 14308 [BZ #13540]
2bd779ae
LD
14309 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14310 processing for last bytes.
14311
154bfc16
JM
143122011-12-22 Joseph Myers <joseph@codesourcery.com>
14313
14314 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14315 (syscall-list-default-options, syscall-list-default-condition)
14316 (syscall-list-includes): Define.
14317 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14318 list of ABIs and options and #if conditions for each ABI. Do not
14319 handle common syscalls between ABIs specially.
14320 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14321 Remove.
14322 (syscall-list-variants, syscall-list-32bit-options)
14323 (syscall-list-32bit-condition, syscall-list-64bit-options)
14324 (syscall-list-64bit-condition): Define.
14325 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14326 (syscall-list-variants, syscall-list-32bit-options)
14327 (syscall-list-32bit-condition, syscall-list-64bit-options)
14328 (syscall-list-64bit-condition): Define.
14329 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14330 Remove.
14331 (syscall-list-variants, syscall-list-32bit-options)
14332 (syscall-list-32bit-condition, syscall-list-64bit-options)
14333 (syscall-list-64bit-condition): Define.
14334 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14335 Remove.
14336 (syscall-list-variants, syscall-list-32bit-options)
14337 (syscall-list-32bit-condition, syscall-list-64bit-options)
14338 (syscall-list-64bit-condition): Define.
14339
21eaf3a5
UD
143402011-12-22 Ulrich Drepper <drepper@gmail.com>
14341
16c6f992
UD
14342 * locale/iso-639.def: Add brx entry.
14343
41043168
UD
14344 [BZ #13328]
14345 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14346 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14347
21eaf3a5
UD
14348 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14349 __feraiseexcept_renamed.
14350
e3a851a2
UD
143512011-12-21 Ulrich Drepper <drepper@gmail.com>
14352
4920765e
UD
14353 [BZ #13538]
14354 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14355 EPOLLET with unsigned values.
14356 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14357 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14358
e3a851a2
UD
14359 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14360 to large cancellation.
14361 * math/s_cacoshf.c: Likewise.
14362 * math/s_cacoshl.c: Likewise.
14363
b27e24b8
RK
143642011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14365
14366 [BZ #13305]
aebefeee 14367 [BZ #12786]
b27e24b8
RK
14368 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14369 * math/s_cacoshf.c: Likewise.
14370 * math/s_cacoshl.c: Likewise.
14371
ee190f67
UD
143722011-12-21 Ulrich Drepper <drepper@gmail.com>
14373
14374 [BZ #13439]
14375 * iconv/gconv.h: Define __GCONV_SWAP.
14376 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14377 * iconvdata/utf-16.c: Likewise.
14378 * iconvdata/utf-32.c: Likewise.
14379
707f25df
AS
143802011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14381
14382 [BZ #13524]
14383 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14384 numerator after shifting it by one limb.
14385
d2daaa1e
RÁE
143862011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14387
14388 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14389 under [__USE_EXTERN_INLINES].
14390
a4647e72
UD
143912011-12-17 Ulrich Drepper <drepper@gmail.com>
14392
14393 [BZ #13446]
14394 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14395
f0b264f1
AZ
143962011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14397
14398 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14399 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14400 optimized code.
14401 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14402 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14403 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14404 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14405 for strncasecmp/strncasecmp_l compilation.
14406 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14407 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14408
8ef4f244
MP
144092011-12-08 Marek Polacek <mpolacek@redhat.com>
14410
14411 [BZ #13484]
14412 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14413 of __asm__.
14414
97ac2654
UD
144152011-12-17 Ulrich Drepper <drepper@gmail.com>
14416
14417 [BZ #13506]
14418 * time/tzfile.c (__tzfile_read): Check values from file header.
14419
91d2a845
WS
144202011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14421
14422 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14423 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14424 * powerpc/powerpc32/dl-start.S: Likewise.
14425 * powerpc/powerpc32/elf/start.S: Likewise.
14426 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14427 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14428 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14429 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14430 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14431 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14432 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14433 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14434 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14435 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14436 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14437 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14438 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14439 * powerpc/powerpc32/memset.S: Likewise.
14440 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14441 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14442 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14443 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14444 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14445 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14446 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14447 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14448 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14449 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14450 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14451 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14452 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14453
a1267ba1
AZ
144542011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14455
14456 * math/libm-test.inc: Added more nearbyint tests.
14457 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14458 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14459 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14460 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14461
ad8ac1bd
RL
144622011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14463
14464 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14465 FD_CLOEXEC.
14466
1d3e4b61
UD
144672011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14468
14469 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14470 Add wcscpy-ssse3 wcscpy-c.
14471 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14472 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14473 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14474 * sysdeps/x86_64/wcschr.S: New file.
14475 * sysdeps/x86_64/wcsrchr.S: New file.
14476 * string/test-strcmp.c: Remove checking of wcscmp function for
14477 wrong alignments.
14478 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14479 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14480 wcsrchr-sse2 wcsrchr-c.
14481 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14482 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14483 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14484 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14485 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14486 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14487 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14488 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14489 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14490 * wcsmbc/wcschr.c (WCSCHR): New macro.
14491
5b330a2d
UD
144922011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14493
14494 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14495 * wcsmbs/test-wcsrchr.c: New file.
14496 * string/test-strrchr.c: Add wcsrchr support.
14497 (WIDE): New macro.
14498 * wcsmbs/test-wcscpy.c: New file.
14499 * string/test-strcpy.c: Add wcscpy support.
14500 (WIDE): New macro.
26428b7c 14501
f039c043
UD
145022011-12-10 Ulrich Drepper <drepper@gmail.com>
14503
14504 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14505 the inner loop.
14506
850fb039
AS
145072011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14508
14509 [BZ #13472]
14510 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14511
4efbd5cb
UD
145122011-12-04 Ulrich Drepper <drepper@gmail.com>
14513
52ff5dd0 14514 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14515 Minor optimizations.
52ff5dd0 14516
4efbd5cb
UD
14517 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14518 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14519 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14520
8a426e12
UD
145212011-12-03 Ulrich Drepper <drepper@gmail.com>
14522
aff2453d
UD
14523 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14524 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14525 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14526 for gcc to avoid warnings.
14527 * inet/Makefile (tests): Add tst-checks.
14528 * inet/tst-checks.c: New file.
14529
14530 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14531 warning.
14532
14533 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14534 __wmemcmp_sse2.
14535
14536 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14537 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14538
8a426e12
UD
14539 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14540
9bea3473
UD
145412011-12-02 Ulrich Drepper <drepper@gmail.com>
14542
3a965496
UD
14543 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14544 problem.
14545
9bea3473
UD
14546 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14547
f101631b
UD
145482011-11-29 Joseph Myers <joseph@codesourcery.com>
14549
14550 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14551 conditional on GCC version.
14552 (__arch_compare_and_exchange_val_8_acq)
14553 (__arch_compare_and_exchange_val_16_acq)
14554 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14555 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14556 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14557
a98275aa
UD
145582011-12-02 Joseph Myers <joseph@codesourcery.com>
14559
14560 * sysdeps/sh/backtrace.c: New file.
14561
d4cc29a2
AS
145622011-12-02 Andreas Schwab <schwab@redhat.com>
14563
14564 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14565 parenthesis.
14566
6257af2d
AS
145672011-12-01 Andreas Schwab <schwab@redhat.com>
14568
14569 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14570 falling back to utime.
14571
b5f44c1a
AS
145722011-11-30 Andreas Schwab <schwab@redhat.com>
14573
14574 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14575 expectations for float.
14576
f3a6cc0a
AS
145772011-11-29 Andreas Schwab <schwab@redhat.com>
14578
14579 * locale/weight.h (findidx): Add parameter len.
14580 * locale/weightwc.h (findidx): Likewise.
14581 * posix/fnmatch_loop.c (FCT): Adjust caller.
14582 * posix/regcomp.c (build_equiv_class): Likewise.
14583 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14584 * posix/regexec.c (check_node_accept_bytes): Likewise.
14585 * string/strcoll_l.c (STRCOLL): Likewise.
14586 * string/strxfrm_l.c (STRXFRM): Likewise.
14587
9d65ea3a
UD
145882011-11-17 Ulrich Drepper <drepper@gmail.com>
14589
14590 * Makefile.in: Remove CVSOPT handling.
14591 * configure.in: Remove use of AC_REVISION.
14592 * iconvdata/Makefile (distribute): No need to filter out CVS.
14593 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14594 handling.
14595
5583a086
AS
145962011-11-16 Andreas Schwab <schwab@redhat.com>
14597
14598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14599 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14600 [USE_AS_STRNCASECMP_L]: Likewise.
14601 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14602 NO_TLS_DIRECT_SEG_REFS.
14603 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14604 Fix argument offsets for non-PIC.
14605 [USE_AS_STRNCASECMP_L]: Likewise.
14606 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14607 NO_TLS_DIRECT_SEG_REFS.
14608
d62a8200
UD
146092011-11-15 Ulrich Drepper <drepper@gmail.com>
14610
9d65ea3a 14611 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14612 O_CLOEXEC.
14613 * locale/loadlocale.c (_nl_load_locale): Likewise.
14614
09f93bd3
AS
146152011-11-15 Andreas Schwab <schwab@redhat.com>
14616
446514f9
AS
14617 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14618 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14619 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14620 (SYSCALL_GETTIME): Set errno on error.
14621
09f93bd3
AS
14622 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14623 count references to noai6ai_cached.
14624
312be3f9
UD
146252011-11-15 Ulrich Drepper <drepper@gmail.com>
14626
14627 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14628
14629 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14630 FD_CLOEXEC for /proc/self/maps.
14631
14632 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14633 FD_CLOEXEC for /proc/meminfo.
14634
14635 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14636 gai.conf.
14637
14638 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14639 FD_CLOEXEC for given file.
14640
14641 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14642
14643 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14644 FD_CLOEXEC for /etc/hosts.
14645 (_gethtent): Likewise.
14646
14647 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14648
14649 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14650 cancellation and set FD_CLOEXEC for /etc/netgroup.
14651
14652 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14653 reading /etc/publickey.
14654
14655 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14656 allow cancellation when reading /etc/group.
14657
14658 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14659 cancellation.
14660 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14661
14662 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14663 when using data file.
14664
14665 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14666
14667 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14668 (write_nis_obj): Use "c" and "e" in fopen.
14669
14670 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14671
14672 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14673
14674 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14675
14676 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14677
14678 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14679 locale.alias.
14680
14681 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14682
14683 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14684
14685 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14686
14687 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14688 file parsing and set FD_CLOEXEC.
14689
82af0fa8
UD
146902011-11-14 Ulrich Drepper <drepper@gmail.com>
14691
14692 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14693
a5fb313c
AS
146942011-11-14 Andreas Schwab <schwab@redhat.com>
14695
14696 * malloc/arena.c (arena_get2): Don't call reused_arena when
14697 _int_new_arena failed.
14698
6abf3465
UD
146992011-11-14 Ulrich Drepper <drepper@gmail.com>
14700
14701 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14702 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14703 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14704 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14705 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14706 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14707 to compile strcasecmp and strncasecmp.
14708 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14709 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14710
14711 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14712
76e3966e
UD
147132011-11-13 Ulrich Drepper <drepper@gmail.com>
14714
14715 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14716 locale-defines.sym to gen-as-const-headers.
14717 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14718 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14719 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14720 to compile strcasecmp and strncasecmp.
14721 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14722 strcasecmp_l and strncasecmp_l.
14723 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14724 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14725 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14726 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14727 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14728 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14729 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14730 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14731 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14732 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14733 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14734
ab26144e
UD
147352011-11-12 Ulrich Drepper <drepper@gmail.com>
14736
7edb22ef
UD
14737 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14738 result of SYSDEP_GETTIME_CPU to retval.
14739 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14740 parameter list to macro. Remove trailing semicolon. Adjust users.
14741
9694fc44
UD
14742 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14743 variable.
14744
8ad89ef8
UD
14745 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14746 mantissa words.
14747 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14748
0c822ef9
UD
14749 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14750 from unused variable.
14751
874e0564
UD
14752 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14753 DWARF definitions.
14754 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14755 for assembling.
14756
3a2edc79
UD
14757 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14758 over namespaces.
14759
f3c2577f
UD
14760 * sunrpc/rpc_prot.c (rejected): Fix case value.
14761
294ce126
UD
14762 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14763 unsigned long long int to avoid warnings in shift.
14764
5e2b63c6
UD
14765 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14766 of use of trans.
14767 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14768 variable tmp.
14769
e7f4b08e
UD
14770 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14771 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14772 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14773
ab26144e
UD
14774 * nis/nis_table.c (nis_list): Use variable of correct type for
14775 result of __follow_path call.
14776
8a6d5255
AZ
147772011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14778
14779 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14780 of math functions ceil, trunc, floor, round, and sqrt, when
14781 avaliable on the platform.
14782 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14783 name clash.
14784 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14785 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14786 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14787
aaddc98c
MP
147882011-10-30 Marek Polacek <mpolacek@redhat.com>
14789
14790 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14791 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14792
95b7042b
RM
147932011-11-11 Roland McGrath <roland@hack.frob.com>
14794
14795 * include/unistd.h: Fix __readlink return type.
14796 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14797
57769839
UD
147982011-11-11 Ulrich Drepper <drepper@gmail.com>
14799
14800 * stdlib/ucontext.h: Undo last change for makecontext.
14801
edc5984d
AS
148022011-11-11 Andreas Schwab <schwab@redhat.com>
14803
98591e58
AS
14804 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14805
edc5984d
AS
14806 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14807 * setjmp/setjmp.h: Mark functions as non-leaf.
14808 * setjmp/bits/setjmp2.h: Likewise.
14809 * stdlib/ucontext.h: Likewise.
14810
77cdc054
AS
148112011-11-10 Andreas Schwab <schwab@redhat.com>
14812
14813 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14814 (reused_arena): Don't check arena limit.
14815 (arena_get2): Atomically check arena limit.
14816
fe72eebd
UD
148172011-11-08 Ulrich Drepper <drepper@gmail.com>
14818
5f078c32
UD
14819 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14820 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14821
fe72eebd
UD
14822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14823 instructions.
14824
ae1bc2fa
AS
148252011-11-07 Andreas Schwab <schwab@redhat.com>
14826
7583a88d
AS
14827 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14828 handler when locking.
14829
ae1bc2fa
AS
14830 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14831 Fix size of allocated buffer.
14832
10fb0bfa
AS
148332011-11-04 Andreas Schwab <schwab@redhat.com>
14834
998832a4
AS
14835 [BZ #10103]
14836 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14837 declarations for long double functions.
14838 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14839
10fb0bfa
AS
14840 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14841
3d7ba52b
AS
148422011-11-03 Andreas Schwab <schwab@redhat.com>
14843
a9ae54a1
AS
14844 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14845 installed.
14846
3d7ba52b
AS
14847 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14848 is disabled.
14849
bc8db248
ST
148502011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14851
14852 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14853
45b96dd6
AS
148542011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14855
647776f6
AS
14856 * include/alloca.h (stackinfo_alloca_round): Define.
14857 (extend_alloca): Use it.
14858 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14859 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14860 here.
14861
d91a8b93
AS
14862 * scripts/check-local-headers.sh: Ignore libaudit.h.
14863
45b96dd6
AS
14864 * nscd/Makefile (extra-objs): Make recursively expanded.
14865
432d41ce
UD
148662011-11-01 Ulrich Drepper <drepper@gmail.com>
14867
34372fc6
UD
14868 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14869 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14870
fadb59f8
UD
14871 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14872 * posix/tst-rfc3484-2.c: Likewise.
14873 * posix/tst-rfc3484-3.c: Likewise.
14874
78239589
UD
14875 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14876 process_vm_writev.
14877 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14878 process_vm_writev.
14879 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14880 process_vm_writev from libc using GLIBC_2.15 version.
14881
432d41ce
UD
14882 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14883
02f9c6cf
PP
148842011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14885
14886 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14887 stack usage.
14888
3a2c0242
UD
148892011-10-31 Ulrich Drepper <drepper@gmail.com>
14890
f4ec4833
UD
14891 [BZ #13367]
14892 * nss/getent.c (initgroups_keys): Show error message in case no group
14893 names are given.
14894
3a2c0242
UD
14895 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14896 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14897 __bump_nl_timestamp.
14898 * nscd/connections (nscd_init): When host database is served open
14899 netlink socket and request notification about configuration changes.
14900 (main_loop_poll): Track netlink file descriptor and bump timestamp
14901 in case data becomes available.
14902 (main_loop_epoll): Likewise.
14903 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14904 (database_pers_head): Add extra_data fileds.
14905 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14906 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14907 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14908 Adjust caller.
14909 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14910 in6ai data, call __free_in6ai.
14911 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14912 Add -DHAVE_NETLINK.
14913 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14914 interface information. Reuse previous data if netlink timestamp
14915 is not changed.
14916 (__bump_nl_timestamp): New function.
14917 (__free_in6ai): New function.
14918
636064eb
UD
149192011-10-30 Ulrich Drepper <drepper@gmail.com>
14920
14921 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14922 close_not_cancel_no_status here.
14923 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14924
9beb2334
UD
149252011-10-29 Ulrich Drepper <drepper@gmail.com>
14926
6ef76f3b
UD
14927 [BZ #13276]
14928 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14929 return value.
14930
0ffc4f3e 14931 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14932 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14933 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14934
cb95113e
UD
149352011-07-03 Andreas Jaeger <aj@suse.de>
14936
14937 [BZ #10709]
14938 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14939 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14940 * math/libm-test.inc (sin_test): Add test case.
14941
a1b560ff
UD
149422011-10-29 Ulrich Drepper <drepper@gmail.com>
14943
c9aaface
UD
14944 [BZ #13337]
14945 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14946 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14947
d272e7f1
UD
14948 * elf/chroot_canon.c (chroot_canon): Cleanups.
14949
1bc33071
UD
14950 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14951
1760874d
TJ
14952 [BZ #13335]
14953 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14954 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14955
51d91b18
UD
14956 * string/test-strchr.c: Make usable for strchrnul testing.
14957 * string/test-strchrnul.c: New file.
14958 * string/Makefile (strop-tests): Add strchrnul.
14959
a1b560ff 14960 * po/it.po: Update from translation team.
b611fb81 14961 * po/es.po: Likewise.
a1b560ff 14962
a5b81e1f
UD
149632011-10-28 Ulrich Drepper <drepper@gmail.com>
14964
fd52bc6d
UD
14965 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14966 the three constants needed as parameters. Drop the others.
14967 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14968 __m128i_strloadu_tolower.
52e4b9eb
UD
14969 Create and initialize variable zero and use it in all the places
14970 where _mm_setzero_si128 was used.
fd52bc6d 14971
a5b81e1f
UD
14972 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14973 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14974 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14975 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14976 anymore.
14977 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14978 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14979 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14980 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14981 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14982 __mpranred, __mptan.
14983 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14984 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14985 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14986 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14987 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14988 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14989 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14990 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14991 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14992
b4343346
AS
149932011-10-28 Andreas Schwab <schwab@redhat.com>
14994
0c92d8a8
AS
14995 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14996 redefine if SHARED.
14997 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14998
b4343346
AS
14999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15000 wide char related routines to wcsmbs subdir.
15001
3871f58f
AS
150022011-10-27 Andreas Schwab <schwab@redhat.com>
15003
15004 [BZ #13344]
15005 * misc/sys/cdefs.h (__THROWNL): Define.
15006 * posix/unistd.h: Use __THREADNL instead of __THREAD
15007 for memory synchronization functions.
15008
94d44d9f
RM
150092011-10-26 Roland McGrath <roland@hack.frob.com>
15010
21b64b15 15011 [BZ #13349]
94d44d9f
RM
15012 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15013 doesn't exist.
15014 * manual/stdio.texi (Obstack Streams): Node removed.
15015
f6ce9294
AS
150162011-10-26 Andreas Schwab <schwab@redhat.com>
15017
80479147
AS
15018 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15019 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15020 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15021
f6ce9294
AS
15022 * math/math_private.h (math_force_eval): Allow non-addressable
15023 arguments.
15024 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15025
618280a1
UD
150262011-10-25 Ulrich Drepper <drepper@gmail.com>
15027
e0016b11
UD
15028 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15029 file is not needed.
15030
15031 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15032 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15033 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15034 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15035 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15036 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15037 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15038 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15039 Add AVX variants.
15040 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15041 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15042 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15043 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15044 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15045 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15046 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15047 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15048 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15049 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15050 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15051 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15052 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15053 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15054 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15055 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15056 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15057 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15058 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15059
15060 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15061 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15062
618280a1
UD
15063 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15064 place. Use VEX encoding when compiling for AVX.
15065
37822576
AS
150662011-10-25 Andreas Schwab <schwab@redhat.com>
15067
1f1e1947
AS
15068 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15069 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15070
37822576
AS
15071 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15072
31ea014d
UD
150732011-10-25 Ulrich Drepper <drepper@gmail.com>
15074
d7826aa1 15075 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 15076 useless if() expression.
d7826aa1
UD
15077 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15078 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15079 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15080 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15081 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15082 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15083 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15084 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15085 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15086 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15087 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15088 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15089 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15090 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15091 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15092 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15093 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15094 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15095 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15096
31ea014d
UD
15097 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15098
16437fec
AS
150992011-10-25 Andreas Schwab <schwab@redhat.com>
15100
15101 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15102 condition.
15103 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15104
31d3cc00
UD
151052011-10-25 Ulrich Drepper <drepper@gmail.com>
15106
15107 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15108 .text section. Avoid duplicate constants.
15109 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15110 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15111 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15112 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15113 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15116 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15117 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15118 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15119 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15120 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15121 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15122 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15123 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15124 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15125 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15126 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15127 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15129 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15130 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15131 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15132 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15133 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15134 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15135 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15136 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15137 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15138 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15139 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15140 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15141 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15142 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15143 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15144 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15145 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15146 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15147 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15148 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15149 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15150 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15151 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15152 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15153 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15154
58985aa9
UD
151552011-10-24 Ulrich Drepper <drepper@gmail.com>
15156
202c9deb
UD
15157 * sysdeps/x86_64/dla.h: Move to ...
15158 * sysdeps/x86_64/fpu/dla.h: ...here.
15159 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15160 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 15161
af968f62
UD
15162 * config.make.in: Add have-mfma4 entry.
15163 * configure.in: Substitute libc_cv_cc_fma4.
15164 * math/Makefile (dbl-only-routines): Add sincostab.
15165 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15166 Use __sincostab not sincos.
15167 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15168 name is a macro.
15169 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15170 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15171 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15172 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15173 using __copysign.
15174 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15175 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15176 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15177 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15178 and __inv.
15179 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15180 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15181 __copysign.
15182 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15183 define aliases when function name is a macro.
15184 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15185 sysdeps/ieee754/dbl-64/sincos.tbl.
15186 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15187 fma4-enabled routines.
15188 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15189 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15190 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15191 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15192 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15193 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15194 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15195 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15196 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15197 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15198 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15199 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15200 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15201 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15202 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15203 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15204 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15205 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15206 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15207 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15208 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15209 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15210 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15211 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15212 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15213 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15214 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15215 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15216 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15217 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15218
58985aa9
UD
15219 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15220 rename.
15221 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15222 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15223 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15224 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15225 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15226 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15227 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15228 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15229
a201fbcf
AS
152302011-10-24 Andreas Schwab <schwab@redhat.com>
15231
15232 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15233
fc2ee42a
LD
152342011-10-23 Ulrich Drepper <drepper@gmail.com>
15235
bb3129bd
UD
15236 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15237
0275fff8
UD
15238 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15239 prediction.
15240 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15241
2fa2ae85
UD
15242 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15243 Remove unused variable magic_bits.
15244 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15245
fc2ee42a
LD
15246 * string/strnlen.c: Define and use STRNLEN macro.
15247 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15248 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15249 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15250 * wcsmbs/wcslen.c: Define and use WCSLEN.
15251 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15252 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15253 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15254 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15255 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15256 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15257 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15258
ce7dd29f
LD
152592011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15260
15261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15262 strnlen-sse2-no-bsf.
15263 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15264 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15265 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15266 Add strnlen support.
15267 (USE_AS_STRNLEN): New macro.
15268 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15269 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15270 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15271 * sysdeps/x86_64/wcslen.S: New file.
15272
979c70a3
MZ
152732011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15274
15275 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15276 XMM-moves are used for copying on small sizes.
15277
2d09f82f
LD
152782011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15279
15280 * wcsmbs/Makefile (strop-tests): Add wcschr.
15281 * wcsmbs/test-wcschr.c: New file.
15282 * string/test-strchr.c: Update.
15283 Add wcschr support.
15284 (WIDE): New macro.
15285
619fccca
LD
152862011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15287
2d09f82f 15288 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
15289 * wcsmbs/test-wcslen.c: New file.
15290 * string/test-strlen.c: Update.
15291 Add wcslen support.
15292 (WIDE): New macro.
15293
09f699ea
UD
152942011-10-23 Ulrich Drepper <drepper@gmail.com>
15295
15296 * po/it.po: Update from translation team.
15297
95584d3b
LD
152982011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15299
15300 * sysdeps/x86_64/wcscmp.S: Update.
15301 Fix wrong comparison semantics.
15302 wcscmp shall use signed comparison not unsigned.
15303 Don't use substraction to avoid overflow bug.
15304 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15305 * wcsmbc/wcscmp.c: Likewise.
15306 * string/test-strcmp.c: Likewise.
15307 Add new tests to check cases with negative values.
15308
c8b3296b
UD
153092011-10-23 Ulrich Drepper <drepper@gmail.com>
15310
15311 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15312 * sysdeps/x86_64/dla.h: ...here. New file.
15313 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15314 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15315 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15316 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15317 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15318 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15321 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15322
246ad57a
AS
153232011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15324
15325 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15326 __ynl_finite aliases.
15327
a1a87169
UD
153282011-10-22 Ulrich Drepper <drepper@gmail.com>
15329
0d355eb7
UD
15330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15331
a1a87169
UD
15332 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15333 define DLA_FMA.
15334 [DLA_FMA] (EMULV): Use DLA_FMA.
15335 [DLA_FMA] (MUL12): Use EMULV.
15336 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15337 that are not needed.
15338 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15342 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15343 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15344 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15345
ee2aafe0
AS
153462011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15347
15348 * math/s_nan.c: Undef __nan.
15349 * math/s_nanf.c: Undef __nanf.
15350 * math/s_nanl.c: Undef __nanl.
15351 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15352 "math_private.h".
15353
bc62c2fb
UD
153542011-10-22 Ulrich Drepper <drepper@gmail.com>
15355
77425c63
UD
15356 * math/s_catan.c: Add branch predictions.
15357 * math/s_catanf.c: Likewise.
15358 * math/s_catanh.c: Likewise.
15359 * math/s_catanhf.c: Likewise.
15360 * math/s_catanhl.c: Likewise.
15361 * math/s_catanl.c: Likewise.
15362 * math/s_cexp.c: Likewise.
15363 * math/s_cexpf.c: Likewise.
15364 * math/s_cexpl.c: Likewise.
15365 * math/s_clog.c: Likewise.
15366 * math/s_clog10.c: Likewise.
15367 * math/s_clog10f.c: Likewise.
15368 * math/s_clog10l.c: Likewise.
15369 * math/s_clogf.c: Likewise.
15370 * math/s_clogl.c: Likewise.
15371 * math/s_csqrt.c: Likewise.
15372 * math/s_csqrtf.c: Likewise.
15373 * math/s_csqrtl.c: Likewise.
15374 * math/s_ctanf.c: Likewise.
15375 * math/s_ctanh.c: Likewise.
15376 * math/s_ctanhf.c: Likewise.
15377 * math/s_ctanhl.c: Likewise.
15378 * math/s_ctanl.c: Likewise.
15379
bc62c2fb
UD
15380 * math/math_private.h: Define __nan, __nanf, __nanl.
15381 * math/s_cacosh.c: Include <math_private.h>.
15382 * math/s_cacoshl.c: Likewise.
15383 * math/s_casinh.c: Likewise.
15384 * math/s_casinhf.c: Likewise.
15385 * math/s_casinhl.c: Likewise.
15386 * math/s_ccos.c: Rely entire on ccosh.
15387 * math/s_ccosf.c: Rely entire on ccoshf.
15388 * math/s_ccosl.c: Rely entirely on ccoshl.
15389 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15390 Remove tests for FE_INVALID.
15391 * math/s_ccoshf.c: Likewise.
15392 * math/s_ccoshl.c: Likewise.
15393 * math/s_csin.c: Likewise.
15394 * math/s_csinf.c: Likewise.
15395 * math/s_csinh.c Likewise.
15396 * math/s_csinhf.c: Likewise.
15397 * math/s_csinhl.c: Likewise.
15398 * math/s_csinl.c: Likewise.
15399 * math/s_ctan.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15401 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15402 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15403
8ec250a4
UD
154042011-10-21 Ulrich Drepper <drepper@gmail.com>
15405
c196fed8
UD
15406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15407 compilation problems.
15408
8ec250a4
UD
15409 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15410 __builtin_expect.
15411
8d4f46c6
UD
154122011-10-20 Ulrich Drepper <drepper@gmail.com>
15413
ed72b654
UD
15414 * sysdeps/i386/configure.in: Test for -mfma4 option.
15415 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15416 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15417 COMMON_CPUID_INDEX_80000001.
15418 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15419 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15420 use it if FMA3 is not supported.
15421 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15422
8d4f46c6
UD
15423 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15424 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15425
d45c60c2
AS
154262011-10-20 Andreas Schwab <schwab@redhat.com>
15427
15428 [BZ #12892]
15429 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15430 it would create a cycle with a link time dependency.
15431
d9a4d2ab
UD
154322011-10-19 Ulrich Drepper <drepper@gmail.com>
15433
855d1560
UD
15434 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15435 instruction.
15436 * string/Makefile (strop-tests): Add rawmemchr.
15437 * string/test-rawmemchr.c: New file.
15438
d9a4d2ab
UD
15439 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15440 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15441 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15442 when compiling str{,n}casecmp and when AVX is available. Hook up
15443 new optimized code in initializers.
15444
8f3b1ffe
AS
154452011-10-19 Andreas Schwab <schwab@redhat.com>
15446
15447 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15448 __feraiseexcept instead of feraiseexcept.
15449
d38f1dba
UD
154502011-10-18 Ulrich Drepper <drepper@gmail.com>
15451
d9a8d0ab
UD
15452 * math/math_private.h: Define defaults for libc_fetestexcept and
15453 libc_feupdateenv.
15454 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15455 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15456 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15457 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15458 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15459 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15460 libc_fetestexcept and libc_feupdateenv.
15461
4855e3dd
UD
15462 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15463 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15464 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15465 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15466 libc_feholdexcept_setround.
15467
581d30e3
UD
15468 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15469 Add s_nearbyint-c and s_nearbyintf-c.
15470 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15471 nearbyintf inlines.
15472 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15473 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15474 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15475 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15476
d38f1dba
UD
15477 * math/math_private.h: Define defaults for libc_fegetround,
15478 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15479 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15480 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15481 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15482 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15483 standard functions.
15484 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15485 Remove comments and hacks for old compiler versions.
15486 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15487 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15488 libc_feholdexceptl.
15489
caa6c9d8
AS
154902011-10-18 Andreas Schwab <schwab@redhat.com>
15491
15492 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15493 (__feraiseexcept_renamed): Add __NTH.
15494 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15495 namespace violations.
15496
97c066e6
UD
154972011-10-17 Ulrich Drepper <drepper@gmail.com>
15498
99ce7b04
UD
15499 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15500
1004d182
UD
15501 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15502
228a984d
UD
15503 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15504 recently added interfaces.
15505 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15506
c8553a6a
UD
15507 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15508 about macro parameter expansion.
15509
ed22dcf6
UD
15510 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15511 __NO_MATH_INLINES is defined. Cleanups.
15512
15513 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15514 and __floorf is target has SSE4.1.
15515 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15516 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15517 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15518 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15519
b171c137
UD
15520 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15521 name.
15522 (floorf): Likewise.
15523
97c066e6
UD
15524 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15525
629f62ef
AS
155262011-10-17 Andreas Schwab <schwab@redhat.com>
15527
49a43d80
AS
15528 * misc/sys/cdefs.h: Fix last change.
15529
629f62ef
AS
15530 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15531 database lookup.
15532
e453f6cd
UD
155332011-10-16 Ulrich Drepper <drepper@gmail.com>
15534
aa78043a
UD
15535 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15536
ad0f5cad
UD
15537 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15538 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15539 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15540 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15541 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15542 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15543 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15544 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15545 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15546 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15547 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15548 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15549 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15550 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15551 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15552 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15553 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15554 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15555 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15556 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15557 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15558 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15559
15560 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15561 ceil, ceilf, floor, floorf.
15562
15563 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15564 Perform IRELATIVE relocations last.
15565
e453f6cd
UD
15566 * elf/do-rel.h: Add another parameter nrelative, replacing the
15567 local variable with the same name. Change name of the function
15568 to end in Rel or Rela (uppercase).
15569 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15570 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15571 elf_dynamic_do_##reloc function.
15572
fd5bdc09
UD
155732011-10-15 Ulrich Drepper <drepper@gmail.com>
15574
79b195b5
UD
15575 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15576 is sufficient, at least on modern CPUs.
15577
d4a28569
UD
15578 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15579
b61099b5
UD
15580 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15581 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15582
bcf01e6d
UD
15583 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15584 __expl_finite.
15585 * math/bits/math-finite.h: Add entries for exp.
15586 * math/e_expl.c: Add __*_finite alias.
15587 * sysdeps/i386/fpu/e_exp.S: Likewise.
15588 * sysdeps/i386/fpu/e_expf.S: Likewise.
15589 * sysdeps/i386/fpu/e_expl.c: Likewise.
15590 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15591 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15592 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15594 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15595 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15596 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15597
ba1a0d59
UD
15598 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15599 is sufficient, at least on modern CPUs.
15600
fd5bdc09
UD
15601 * ctype/ctype-info.c (__ctype_init): Define.
15602 * include/ctype.h (__ctype_init): Declare.
15603 (__ctype_b_loc): The variable is always initialized.
15604 (__ctype_toupper_loc): Likewise.
15605 (__ctype_tolower_loc): Likewise.
15606 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15607 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15608
7872cfb0
AS
156092011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15610
b468825a
AS
15611 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15612
7872cfb0
AS
15613 * configure.in: Also look in $cxxmachine/include for C++ system
15614 headers.
15615
be13f7bf
LD
156162011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15617
15618 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15619 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15620 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15621 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15622 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15623 (USE_AS_WMEMCMP): New macro.
15624 Fixing indents.
15625 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15626 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15627 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15628 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15630 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15631 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15632 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15633 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15634 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15635 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15636 (USE_AS_WMEMCMP): New macro.
15637 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15638 * sysdeps/string/test-memcmp.c: Update.
15639 Fix simple_wmemcmp.
15640 Add new tests.
15641 * wcsmbs/wmemcmp.c: Update.
15642 (WMEMCMP): New macro.
15643 Fix overflow bug.
15644
556a2007
AJ
156452011-10-12 Andreas Jaeger <aj@suse.de>
15646
15647 [BZ #13268]
15648 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15649
538faaa7
UD
156502011-10-15 Ulrich Drepper <drepper@gmail.com>
15651
ab6737ff
UD
15652 * libio/iofwide.c (do_length): Avoid warning.
15653
538faaa7
UD
15654 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15655
396a21b1
UD
156562011-10-14 Ulrich Drepper <drepper@gmail.com>
15657
cdf2901f
UD
15658 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15659
38ad40ce
UD
15660 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15661 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15662 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15663 * sysdeps/i386/i686/fpu/e_log.S: New file.
15664 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15665 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15666
396a21b1
UD
15667 * ctype/ctype.h: Add support for inlined isXXX functions when
15668 compiling C++ code.
15669
6b1f68c9
AS
156702011-10-14 Andreas Schwab <schwab@redhat.com>
15671
349290c0
AS
15672 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15673
6b1f68c9
AS
15674 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15675
f2282d42
RM
156762011-10-13 Roland McGrath <roland@hack.frob.com>
15677
15678 [BZ #13291]
15679 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15680
5298ffa8
AS
156812011-10-13 Andreas Schwab <schwab@redhat.com>
15682
714fad23
AS
15683 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15684 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15685 feraiseexcept.
15686
81dcc7fb
AS
15687 * sysdeps/x86_64/memrchr.S: Check for zero size.
15688
5298ffa8
AS
15689 * string/stratcliff.c: Add memrchr tests.
15690
951fbcec
LD
156912011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15692
15693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15694 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15695 rawmemchr-sse2 rawmemchr-sse2-bsf.
15696 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15697 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15698 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15699 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15700 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15701 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15702 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15703 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15704 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15705 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15706 * string/memrchr.c (MEMRCHR): New macro.
15707
0ac5ae23
UD
157082011-10-12 Ulrich Drepper <drepper@gmail.com>
15709
15710 Add integration with gcc's -ffinite-math-only and optimize wrapper
15711 functions in libm.
15712 * Versions.def: Define GLIBC_2.15 version for libm.
15713 * math/Makefile (headers): Add bits/math-finite.h.
15714 * math/bits/math-finite.h: New file.
15715 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15716 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15717 * math/e_acoshl.c: Add __*_finite alias.
15718 * math/e_acosl.c: Likewise.
15719 * math/e_asinl.c: Likewise.
15720 * math/e_atan2l.c: Likewise.
15721 * math/e_atanhl.c: Likewise.
15722 * math/e_coshl.c: Likewise.
15723 * math/e_exp10.c: Likewise.
15724 * math/e_exp10f.c: Likewise.
15725 * math/e_exp10l.c: Likewise.
15726 * math/e_exp2l.c: Likewise.
15727 * math/e_fmodl.c: Likewise.
15728 * math/e_gammal_r.c: Likewise.
15729 * math/e_hypotl.c: Likewise.
15730 * math/e_j0l.c: Likewise.
15731 * math/e_j1l.c: Likewise.
15732 * math/e_jnl.c: Likewise.
15733 * math/e_lgammal_r.c: Likewise.
15734 * math/e_log10l.c: Likewise.
15735 * math/e_log2l.c: Likewise.
15736 * math/e_logl.c: Likewise.
15737 * math/e_powl.c: Likewise.
15738 * math/e_sinhl.c: Likewise.
15739 * math/e_sqrtl.c: Likewise.
15740 * math/e_scalb.c: Completely rewritten and optimized.
15741 * math/e_scalbf.c: Likewise.
15742 * math/e_scalbl.c: Likewise.
15743 * math/w_acos.c: Likewise.
15744 * math/w_acosf.c: Likewise.
15745 * math/w_acosl.c: Likewise.
15746 * math/w_acosh.c: Likewise.
15747 * math/w_acoshf.c: Likewise.
15748 * math/w_acoshl.c: Likewise.
15749 * math/w_asin.c: Likewise.
15750 * math/w_asinf.c: Likewise.
15751 * math/w_asinl.c: Likewise.
15752 * math/w_atan2.c: Likewise.
15753 * math/w_atan2f.c: Likewise.
15754 * math/w_atan2l.c: Likewise.
15755 * math/w_atanh.c: Likewise.
15756 * math/w_atanhf.c: Likewise.
15757 * math/w_atanhl.c: Likewise.
15758 * math/w_exp10.c: Likewise.
15759 * math/w_exp10f.c: Likewise.
15760 * math/w_exp10l.c: Likewise.
15761 * math/w_fmod.c: Likewise.
15762 * math/w_fmodf.c: Likewise.
15763 * math/w_fmodl.c: Likewise.
15764 * math/w_j0.c: Likewise.
15765 * math/w_j0f.c: Likewise.
15766 * math/w_j0l.c: Likewise.
15767 * math/w_j1.c: Likewise.
15768 * math/w_j1f.c: Likewise.
15769 * math/w_j1l.c: Likewise.
15770 * math/w_jn.c: Likewise.
15771 * math/w_jnf.c: Likewise.
15772 * math/w_log.c: Likewise.
15773 * math/w_logf.c: Likewise.
15774 * math/w_logl.c: Likewise.
15775 * math/w_log10.c: Likewise.
15776 * math/w_log10f.c: Likewise.
15777 * math/w_log10l.c: Likewise.
15778 * math/w_log2.c: Likewise.
15779 * math/w_log2f.c: Likewise.
15780 * math/w_log2l.c: Likewise.
15781 * math/w_pow.c: Likewise.
15782 * math/w_powf.c: Likewise.
15783 * math/w_powl.c: Likewise.
15784 * math/w_remainder.c: Likewise.
15785 * math/w_remainderf.c: Likewise.
15786 * math/w_remainderl.c: Likewise.
15787 * math/w_scalb.c: Likewise.
15788 * math/w_scalbf.c: Likewise.
15789 * math/w_scalbl.c: Likewise.
15790 * math/w_sqrt.c: Likewise.
15791 * math/w_sqrtf.c: Likewise.
15792 * math/w_sqrtl.c: Likewise.
15793 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15794 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15795 used.
15796 * math/math_private.h: Declare __kernel_standard_f.
15797 * math/w_cosh.c: Remove cruft and optimize a bit.
15798 * math/w_coshf.c: Likewise.
15799 * math/w_coshl.c: Likewise.
15800 * math/w_exp2.c: Likewise.
15801 * math/w_exp2f.c: Likewise.
15802 * math/w_exp2l.c: Likewise.
15803 * math/w_hypot.c: Likewise.
15804 * math/w_hypotf.c: Likewise.
15805 * math/w_hypotl.c: Likewise.
15806 * math/w_lgamma.c: Likewise.
15807 * math/w_lgamma_r.c: Likewise.
15808 * math/w_lgammaf.c: Likewise.
15809 * math/w_lgammaf_r.c: Likewise.
15810 * math/w_lgammal.c: Likewise.
15811 * math/w_lgammal_r.c: Likewise.
15812 * math/w_sinh.c: Likewise.
15813 * math/w_sinhf.c: Likewise.
15814 * math/w_sinhl.c: Likewise.
15815 * math/w_tgamma.c: Likewise.
15816 * math/w_tgammaf.c: Likewise.
15817 * math/w_tgammal.c: Likewise.
15818 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15819 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15820 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15821 Minor optimizations. Pretty printing. Remove cruft.
15822 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15823 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15824 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15825 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15826 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15827 * sysdeps/i386/fpu/e_asin.S: Likewise.
15828 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15829 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15830 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15831 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15832 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15833 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15834 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15835 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15836 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15837 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15838 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15839 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15840 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15841 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15842 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15843 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15844 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15845 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15846 * sysdeps/i386/fpu/e_log.S: Likewise.
15847 * sysdeps/i386/fpu/e_log10.S: Likewise.
15848 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15849 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15850 * sysdeps/i386/fpu/e_log2.S: Likewise.
15851 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15852 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15853 * sysdeps/i386/fpu/e_logf.S: Likewise.
15854 * sysdeps/i386/fpu/e_logl.S: Likewise.
15855 * sysdeps/i386/fpu/e_pow.S: Likewise.
15856 * sysdeps/i386/fpu/e_powf.S: Likewise.
15857 * sysdeps/i386/fpu/e_powl.S: Likewise.
15858 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15859 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15860 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15861 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15862 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15863 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15864 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15865 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15866 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15867 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15868 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15869 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15870 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15871 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15872 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15873 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15874 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15875 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15876 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15877 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15878 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15879 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15880 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15881 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15882 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15883 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15884 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15885 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15886 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15887 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15888 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15889 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15890 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15891 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15892 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15893 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15894 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15895 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15896 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15897 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15898 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15899 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15900 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15901 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15902 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15903 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15904 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15905 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15906 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15907 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15908 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15909 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15910 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15911 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15912 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15913 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15914 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15915 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15916 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15917 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15918 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15919 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15920 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15921 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15922 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15923 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15924 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15925 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15926 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15927 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15928 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15929 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15930 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15931 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15932 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15933 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15934 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15935 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15936 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15937 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15938 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15939 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15940 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15941 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15942 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15943 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15944 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15945 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15946 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15947 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15948 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15949 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15950 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15951 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15952 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15953 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15954 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15955 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15956 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15957 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15958 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15959 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15960 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15961 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15962 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15963 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15964 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15965 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15966 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15967 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15968 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15969 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15970 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15971 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15972 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15973 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15974 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15975 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15976 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15977 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15978 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15979 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15980 (__isnanf): Likewise.
15981 (__isinf_ns): Likewise.
15982 (__isinf_nsf): Likewise.
15983 (__finite): Likewise.
15984 (__finitef): Likewise.
15985 (__ieee754_sqrt): Define as macro.
15986 (__ieee754_sqrtf): Define as macro.
15987 (__ieee754_sqrtl): Define as macro.
15988 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15989 inlined copy.
15990 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15991 __FINITE_MATH_ONLY__ consistent.
15992 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15993
12cc2fcd
AS
159942011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15995
a843a204
AS
15996 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15997 of rawmemchr.
15998
12cc2fcd
AS
15999 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16000
c853acd5
UD
160012011-10-09 Ulrich Drepper <drepper@gmail.com>
16002
16003 * po/ja.po: Update from translation team.
16004
c658d255
RM
160052011-10-08 Roland McGrath <roland@hack.frob.com>
16006
110946e4
RM
16007 * locale/programs/locarchive.c (prepare_address_space): New function.
16008 (create_archive, enlarge_archive, open_archive): Use it.
16009
50604220
RM
16010 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16011 inside [SHARED], where it is used.
16012
c658d255
RM
16013 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16014
16015 * nss/getent.c (netgroup_keys): Remove unused variable.
16016 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16017
6a621eb7
UD
160182011-10-08 Ulrich Drepper <drepper@gmail.com>
16019
7edb55ce
UD
16020 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16021 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16022 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16023 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16024 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16025 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16026 * math/Makefile (libm-calls): Add s_isinf_ns.
16027 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16028 * math/multc3.c: Likewise.
16029 * math/s_casin.c: Likewise.
16030 * math/s_casinf.c: Likewise.
16031 * math/s_casinl.c: Likewise.
16032 * math/s_ccos.c: Likewise.
16033 * math/s_ccosf.c: Likewise.
16034 * math/s_ccosl.c: Likewise.
16035 * math/s_ctan.c: Likewise.
16036 * math/s_ctanf.c: Likewise.
16037 * math/s_ctanh.c: Likewise.
16038 * math/s_ctanhf.c: Likewise.
16039 * math/s_ctanhl.c: Likewise.
16040 * math/s_ctanl.c: Likewise.
16041 * math/w_fmod.c: Likewise.
16042 * math/w_fmodf.c: Likewise.
16043 * math/w_fmodl.c: Likewise.
16044 * math/w_remainder.c: Likewise.
16045 * math/w_remainderf.c: Likewise.
16046 * math/w_remainderl.c: Likewise.
16047 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16048 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16049 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16051 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16052 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16053 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16054 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16055
187da0ae
UD
16056 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16057 of the number.
16058 * stdio-common/printf_fphex.c: Likewise.
16059 * stdio-common/printf_size.c: Likewise.
16060
9277c064
UD
16061 * math/e_exp10.c: Include math_private.h using <...> not "...".
16062 * math/e_exp10f.c: Likewise.
16063 * math/e_exp10l.c: Likewise.
16064 * math/e_exp2l.c: Likewise.
16065 * math/e_j0l.c: Likewise.
16066 * math/e_j1l.c: Likewise.
16067 * math/e_jnl.c: Likewise.
16068 * math/e_lgammal_r.c: Likewise.
16069 * math/e_rem_pio2l.c: Likewise.
16070 * math/e_scalb.c: Likewise.
16071 * math/e_scalbf.c: Likewise.
16072 * math/e_scalbl.c: Likewise.
16073 * math/k_cosl.c: Likewise.
16074 * math/k_sinl.c: Likewise.
16075 * math/k_tanl.c: Likewise.
16076 * math/s_cacoshf.c: Likewise.
16077 * math/s_catan.c: Likewise.
16078 * math/s_catanf.c: Likewise.
16079 * math/s_catanh.c: Likewise.
16080 * math/s_catanhf.c: Likewise.
16081 * math/s_catanhl.c: Likewise.
16082 * math/s_catanl.c: Likewise.
16083 * math/s_ccosh.c: Likewise.
16084 * math/s_ccoshf.c: Likewise.
16085 * math/s_ccoshl.c: Likewise.
16086 * math/s_cexp.c: Likewise.
16087 * math/s_cexpf.c: Likewise.
16088 * math/s_cexpl.c: Likewise.
16089 * math/s_clog.c: Likewise.
16090 * math/s_clog10.c: Likewise.
16091 * math/s_clog10f.c: Likewise.
16092 * math/s_clog10l.c: Likewise.
16093 * math/s_clogf.c: Likewise.
16094 * math/s_clogl.c: Likewise.
16095 * math/s_csin.c: Likewise.
16096 * math/s_csinf.c: Likewise.
16097 * math/s_csinh.c: Likewise.
16098 * math/s_csinhf.c: Likewise.
16099 * math/s_csinhl.c: Likewise.
16100 * math/s_csinl.c: Likewise.
16101 * math/s_csqrt.c: Likewise.
16102 * math/s_csqrtf.c: Likewise.
16103 * math/s_csqrtl.c: Likewise.
16104 * math/s_ctan.c: Likewise.
16105 * math/s_ctanf.c: Likewise.
16106 * math/s_ctanh.c: Likewise.
16107 * math/s_ctanhf.c: Likewise.
16108 * math/s_ctanhl.c: Likewise.
16109 * math/s_ctanl.c: Likewise.
16110 * math/s_ldexp.c: Likewise.
16111 * math/s_ldexpf.c: Likewise.
16112 * math/s_ldexpl.c: Likewise.
16113 * math/s_significand.c: Likewise.
16114 * math/s_significandf.c: Likewise.
16115 * math/s_significandl.c: Likewise.
16116 * math/w_acos.c: Likewise.
16117 * math/w_acosf.c: Likewise.
16118 * math/w_acosh.c: Likewise.
16119 * math/w_acoshf.c: Likewise.
16120 * math/w_acoshl.c: Likewise.
16121 * math/w_acosl.c: Likewise.
16122 * math/w_asin.c: Likewise.
16123 * math/w_asinf.c: Likewise.
16124 * math/w_asinl.c: Likewise.
16125 * math/w_atan2.c: Likewise.
16126 * math/w_atan2f.c: Likewise.
16127 * math/w_atan2l.c: Likewise.
16128 * math/w_atanh.c: Likewise.
16129 * math/w_atanhf.c: Likewise.
16130 * math/w_atanhl.c: Likewise.
16131 * math/w_cosh.c: Likewise.
16132 * math/w_coshf.c: Likewise.
16133 * math/w_coshl.c: Likewise.
16134 * math/w_dremf.c: Likewise.
16135 * math/w_exp10.c: Likewise.
16136 * math/w_exp10f.c: Likewise.
16137 * math/w_exp10l.c: Likewise.
16138 * math/w_exp2.c: Likewise.
16139 * math/w_exp2f.c: Likewise.
16140 * math/w_fmod.c: Likewise.
16141 * math/w_fmodf.c: Likewise.
16142 * math/w_fmodl.c: Likewise.
16143 * math/w_hypot.c: Likewise.
16144 * math/w_hypotf.c: Likewise.
16145 * math/w_hypotl.c: Likewise.
16146 * math/w_j0.c: Likewise.
16147 * math/w_j0f.c: Likewise.
16148 * math/w_j0l.c: Likewise.
16149 * math/w_j1.c: Likewise.
16150 * math/w_j1f.c: Likewise.
16151 * math/w_j1l.c: Likewise.
16152 * math/w_jn.c: Likewise.
16153 * math/w_jnf.c: Likewise.
16154 * math/w_jnl.c: Likewise.
16155 * math/w_lgamma.c: Likewise.
16156 * math/w_lgamma_r.c: Likewise.
16157 * math/w_lgammaf.c: Likewise.
16158 * math/w_lgammaf_r.c: Likewise.
16159 * math/w_lgammal.c: Likewise.
16160 * math/w_lgammal_r.c: Likewise.
16161 * math/w_log.c: Likewise.
16162 * math/w_log10.c: Likewise.
16163 * math/w_log10f.c: Likewise.
16164 * math/w_log10l.c: Likewise.
16165 * math/w_log2.c: Likewise.
16166 * math/w_log2f.c: Likewise.
16167 * math/w_log2l.c: Likewise.
16168 * math/w_logf.c: Likewise.
16169 * math/w_logl.c: Likewise.
16170 * math/w_pow.c: Likewise.
16171 * math/w_powf.c: Likewise.
16172 * math/w_powl.c: Likewise.
16173 * math/w_remainder.c: Likewise.
16174 * math/w_remainderf.c: Likewise.
16175 * math/w_remainderl.c: Likewise.
16176 * math/w_scalb.c: Likewise.
16177 * math/w_scalbf.c: Likewise.
16178 * math/w_scalbl.c: Likewise.
16179 * math/w_sinh.c: Likewise.
16180 * math/w_sinhf.c: Likewise.
16181 * math/w_sinhl.c: Likewise.
16182 * math/w_sqrt.c: Likewise.
16183 * math/w_sqrtf.c: Likewise.
16184 * math/w_sqrtl.c: Likewise.
16185 * math/w_tgamma.c: Likewise.
16186 * math/w_tgammaf.c: Likewise.
16187 * math/w_tgammal.c: Likewise.
16188
6a621eb7
UD
16189 * po/ja.po: Update from translation team.
16190
bf582445
AJ
161912011-09-29 Andreas Jaeger <aj@suse.de>
16192
f9efbf3a
AJ
16193 [BZ #13179]
16194 * sunrpc/netname.c (netname2host): Fix logic.
16195
bf582445
AJ
16196 [BZ #6779]
16197 [BZ #6783]
16198 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16199 correctly.
16200 * math/w_remainder.c (__remainder): Likewise.
16201 * math/w_remainderf.c (__remainderf): Likewise.
16202 * math/libm-test.inc (remainder_test): Add test cases.
16203
48693bea
AK
162042011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16205
16206 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16207 sdiv_qrnnd.
16208
42622229
LD
162092011-10-07 Ulrich Drepper <drepper@gmail.com>
16210
16211 * string/test-memcmp.c: Avoid unncessary #defines.
16212 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16213
093ecf92
LD
162142011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16215
16216 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16217 Use new sse2 version for core i3 - i7 as it's faster
16218 than sse42 version.
16219 (bit_Prefer_PMINUB_for_stringop): New.
16220 * sysdeps/x86_64/rawmemchr.S: Update.
16221 Replace with faster SSE2 version.
16222 * sysdeps/x86_64/memrchr.S: New file.
16223 * sysdeps/x86_64/memchr.S: Update.
16224 Replace with faster SSE2 version.
16225
fde56e5c
MP
162262011-09-12 Marek Polacek <mpolacek@redhat.com>
16227
16228 * elf/dl-load.c (lose): Add cast to avoid warning.
16229
21fd49a9
UD
162302011-10-07 Ulrich Drepper <drepper@gmail.com>
16231
5a06e643
UD
16232 * po/ca.po: Update from translation team.
16233
684ae515
UD
16234 * inet/getnetgrent_r.c: Hook up nscd.
16235 * nscd/Makefile (routines): Add nscd_netgroup.
16236 (nscd-modules): Add netgroupcache.
16237 (CFLAGS-netgroupcache.c): Define.
16238 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16239 (cache_search): Add const to second parameter.
16240 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16241 INNETGR.
16242 (dbs): Add netgrdb entry.
16243 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16244 (verify_persistent_db): Handle netgrdb.
16245 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16246 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16247 GETFDNETGR.
16248 (netgroup_response_header): Define.
16249 (innetgroup_response_header): Define.
16250 (datahead): Add netgroup_response_header and innetgroup_response_header
16251 elements.
16252 * nscd/nscd.conf: Add entries for netgroup cache.
16253 * nscd/nscd.h (dbtype): Add netgrdb.
16254 (_PATH_NSCD_NETGROUP_DB): Define.
16255 (netgroup_iov_disabled): Declare.
16256 (xmalloc, xcalloc, xrealloc): Move declarations here.
16257 (cache_search): Adjust prototype.
16258 Add netgroup-related prototypes.
16259 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16260 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16261 (__nscd_innetgr): Declare.
16262 * nscd/selinux.c (perms): Use access_vector_t as element type and
16263 add netgroup-related initializers.
16264 * nscd/netgroupcache.c: New file.
16265 * nscd/nscd_netgroup.c: New file.
16266 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16267 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16268 For four parameters use innetgr.
16269 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16270 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16271 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16272 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16273
21fd49a9
UD
16274 * nscd/connections.c (register_traced_file): Don't register file
16275 for disabled databases.
16276
054c0457
UD
162772011-10-06 Ulrich Drepper <drepper@gmail.com>
16278
32b63198
UD
16279 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16280
054c0457
UD
16281 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16282 from tree and freeing node.
16283
64031225
JO
162842011-09-25 Jiri Olsa <jolsa@redhat.com>
16285
16286 * nss/nsswitch.c (__nss_database_lookup): Handle
16287 nss_parse_service_list out of memory case.
16288
0490345c
JO
162892011-09-15 Jiri Olsa <jolsa@redhat.com>
16290
16291 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16292 out of memory case.
16293
3a62d00d
AS
162942011-10-04 Andreas Schwab <schwab@redhat.com>
16295
16296 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16297 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16298 pass it down.
16299 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16300 elf_machine_rela, elf_machine_lazy_rel.
16301 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16302 (ELF_DYNAMIC_DO_REL): Likewise.
16303 (ELF_DYNAMIC_DO_RELA): Likewise.
16304 (ELF_DYNAMIC_RELOCATE): Likewise.
16305 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16306 to ELF_DYNAMIC_DO_REL.
16307 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16308 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16309 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16310 elf_machine_rela.
16311 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16312 skip_ifunc, don't call ifunc function if non-zero.
16313 (elf_machine_rela): Likewise.
16314 (elf_machine_lazy_rel): Likewise.
16315 (elf_machine_lazy_rela): Likewise.
16316 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16317 (elf_machine_lazy_rel): Likewise.
16318 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16319 Likewise.
16320 (elf_machine_lazy_rel): Likewise.
16321 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16322 Likewise.
16323 (elf_machine_lazy_rel): Likewise.
16324 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16325 (elf_machine_lazy_rel): Likewise.
16326 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16327 (elf_machine_lazy_rel): Likewise.
16328 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16329 (elf_machine_lazy_rel): Likewise.
16330 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16331 (elf_machine_lazy_rel): Likewise.
16332 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16333 (elf_machine_lazy_rel): Likewise.
16334 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16335 (elf_machine_lazy_rel): Likewise.
16336
68577918
UD
163372011-09-28 Ulrich Drepper <drepper@gmail.com>
16338
16339 * nss/nss_files/files-init.c (_nss_files_init): Use static
16340 initialization for all the *_traced_file variables.
16341
68822d74
AS
163422011-09-28 Andreas Schwab <schwab@redhat.com>
16343
16344 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16345
2056100b
RM
163462011-09-27 Roland McGrath <roland@hack.frob.com>
16347
16348 [BZ #13226]
16349 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16350
32c76b63
AS
163512011-09-27 Andreas Schwab <schwab@redhat.com>
16352
16353 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16354 Reread the line before reparsing it.
16355
bf972c9d
AS
163562011-09-26 Andreas Schwab <schwab@redhat.com>
16357
16358 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16359
e057a1b5
JM
163602011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16361 Maxim Kuvyrkov <maxim@codesourcery.com>
16362 Joseph Myers <joseph@codesourcery.com>
16363
16364 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16365 if needed for __stack_chk_guard.
16366
bc7e1c36
RM
163672011-09-19 Roland McGrath <roland@hack.frob.com>
16368
ecb1482f
RM
16369 * sysdeps/posix/spawni.c (script_execute): Always define it.
16370 It will be optimized away if unused.
16371 (maybe_script_execute): New function.
16372 (__spawni): Call it.
16373
bc7e1c36
RM
16374 * Makerules: Don't include tls.make.
16375 (config-tls): Always set to thread.
16376 * tls.make.c: File removed.
16377
1c3b002b
MF
163782011-09-19 Mike Frysinger <vapier@gentoo.org>
16379
16380 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16381 * config.make.in (CPPFLAGS-config): New substituted variable.
16382
2840865d
UD
163832011-09-15 Ulrich Drepper <drepper@gmail.com>
16384
88738eb6
UD
16385 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16386
cbf645a6 16387 [BZ #13192]
2840865d
UD
16388 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16389 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16390
b402e91a
RM
163912011-09-15 Roland McGrath <roland@hack.frob.com>
16392
16393 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16394 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16395 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16396 (CALL_FAIL): Likewise.
16397 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16398 (CALL_FAIL): Macro removed.
16399 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16400
4c1a1f71
UD
164012011-09-15 Ulrich Drepper <drepper@gmail.com>
16402
16403 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16404 for __FINITE_MATH_ONLY__ == 1.
16405
edc121be
AS
164062011-09-15 Andreas Schwab <schwab@redhat.com>
16407
16408 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16409 __ieee754_sqrt instead of sqrt.
16410 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16411 __ieee754_sqrtf instead of sqrtf.
16412 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16413 __floorf instead of floorf.
16414 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16415 __floorf, __truncf instead of floorf, truncf.
16416
cd205654
UD
164172011-09-14 Ulrich Drepper <drepper@gmail.com>
16418
ee4d0315
UD
16419 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16420
cd205654
UD
16421 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16422 __extern_always_inline.
16423 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16424 32-bit.
16425
48b67d71
AS
164262011-09-14 Andreas Schwab <schwab@redhat.com>
16427
16428 * elf/rtld.c (dl_main): Also relocate in dependency order when
16429 doing symbol dependency testing.
16430
1ae12c75
AS
164312011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16432
16433 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16434 Always define `refsym'.
16435
995a80df
AS
164362011-09-13 Andreas Schwab <schwab@redhat.com>
16437
e529793b
AS
16438 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16439 (__FD_ELT): Renamed from __FDELT.
16440 * misc/bits/select2.h (__FD_ELT): Likewise.
16441 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16442 __FD_MASK instead of __FDELT, __FDMASK.
16443 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16444 Likewise.
16445 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16446 Likewise.
16447
52d4fef8
AS
16448 * elf/Makefile (gen-ldd): Fix pattern.
16449
995a80df
AS
16450 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16451 (init_tls): Likewise.
16452
8682f8b0
UD
164532011-09-12 Ulrich Drepper <drepper@gmail.com>
16454
16455 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16456
de82006d
AS
164572011-09-12 Andreas Schwab <schwab@redhat.com>
16458
a7c8e6a1
AS
16459 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16460 `struct cmsghdr *' instead of `void *'.
16461 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16462 Likewise.
16463
0f31fe77
AS
164642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16465
16466 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16467 if non-absolute.
16468 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16469 ldd_rewrite_script.
0f31fe77 16470
32b4c839
UD
164712011-09-11 Ulrich Drepper <drepper@gmail.com>
16472
83cd1420
UD
16473 * configure.in: Remove --with-tls option.
16474 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16475 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16476 out in case it is missing.
16477 * sysdeps/ia64/elf/configure.in: Likewise.
16478 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16479 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16480 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16481 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16482 * sysdeps/sh/elf/configure.in: Likewise.
16483 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16484 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16485 * sysdeps/x86_64/elf/configure.in: Likewise.
16486 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16487 * sysdeps/mach/hurd/tls.h: Likewise.
16488
633f745d
UD
16489 [BZ #13067]
16490 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16491
f318beb8
UD
16492 [BZ #13090]
16493 * configure.in: Fix use of AC_INIT.
16494
32b4c839
UD
16495 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16496
3ce1f295
UD
164972011-09-10 Ulrich Drepper <drepper@gmail.com>
16498
bb016596
UD
16499 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16500 __set_errno.
8e58439c
UD
16501 * malloc/hooks.c: Likewise.
16502
aebae053 16503 [BZ #11929]
02d46fc4
UD
16504 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16505 variables statically.
16506 (narenas): Initialize.
16507 (list_lock): Initialize.
bb016596
UD
16508 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16509 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16510 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16511 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16512 Add initializers to main_arena and mp_.
16513 (malloc_state): Remove pagesize member. Change all users to use
16514 GLRO(dl_pagesize).
16515
16516 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16517 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16518 is always initialized.
16519
22a89187
UD
16520 * malloc/malloc.c: Removed unused configurations and dead code.
16521 * malloc/arena.c: Likewise.
16522 * malloc/hooks.c: Likewise.
02d46fc4 16523 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16524
d063d164
UD
16525 * include/tls.h: Removed. USE___THREAD must always be defined.
16526 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16527 * elf/dl-libc.c: Likewise.
16528 * elf/dl-tsd.c: Likewise.
16529 * include/errno.h: Likewise.
16530 * include/netdb.h: Likewise.
16531 * include/resolv.h: Likewise.
16532 * inet/herrno-loc.c: Likewise.
16533 * inet/herrno.c: Likewise.
16534 * malloc/arena.c: Likewise.
16535 * malloc/hooks.c: Likewise.
16536 * malloc/malloc.c: Likewise.
16537 * resolv/res-state.c: Likewise.
16538 * resolv/res_libc.c: Likewise.
16539 * sysdeps/i386/dl-machine.h: Likewise.
16540 * sysdeps/ia64/dl-machine.h: Likewise.
16541 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16542 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16543 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16544 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16545 * sysdeps/sh/dl-machine.h: Likewise.
16546 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16547 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16548 * sysdeps/unix/i386/sysdep.S: Likewise.
16549 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16550 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16551 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16552 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16553 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16554 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16555 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16556 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16557 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16558 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16559 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16560 * sysdeps/x86_64/dl-machine.h: Likewise.
16561 * tls.make.c: Likewise.
16562
3ce1f295
UD
16563 * configure.in: Remove --with-__thread option. Make tests for
16564 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16565 tls_model attribute fail if no support is available. Remove
16566 USE_IN_LIBIO.
16567 * Makeconfig: Adjust for dropped configure option. All features are
16568 now mandatory.
16569 * Makerules: Likewise.
16570 * Versions.def: Likewise.
16571 * argp/argp-fmtstream.c: Likewise.
16572 * argp/argp-fmtstream.h: Likewise.
16573 * argp/argp-help.c: Likewise.
16574 * assert/assert.c: Likewise.
16575 * config.h.in: Likewise.
16576 * config.make.in: Likewise.
16577 * configure: Likewise.
16578 * configure.in: Likewise.
16579 * csu/Versions: Likewise.
16580 * csu/init.c: Likewise.
16581 * elf/tst-audit2.c: Likewise.
16582 * elf/tst-tls10.c: Likewise.
16583 * elf/tst-tls10.h: Likewise.
16584 * elf/tst-tls11.c: Likewise.
16585 * elf/tst-tls12.c: Likewise.
16586 * elf/tst-tls14.c: Likewise.
16587 * elf/tst-tlsmod11.c: Likewise.
16588 * elf/tst-tlsmod12.c: Likewise.
16589 * elf/tst-tlsmod13.c: Likewise.
16590 * elf/tst-tlsmod13a.c: Likewise.
16591 * elf/tst-tlsmod14a.c: Likewise.
16592 * elf/tst-tlsmod15b.c: Likewise.
16593 * elf/tst-tlsmod16a.c: Likewise.
16594 * elf/tst-tlsmod16b.c: Likewise.
16595 * elf/tst-tlsmod7.c: Likewise.
16596 * elf/tst-tlsmod8.c: Likewise.
16597 * elf/tst-tlsmod9.c: Likewise.
16598 * gmon/gmon.c: Likewise.
16599 * grp/fgetgrent_r.c: Likewise.
16600 * grp/putgrent.c: Likewise.
16601 * hurd/fopenport.c: Likewise.
16602 * include/libc-symbols.h: Likewise.
16603 * include/tls.h: Likewise.
16604 * intl/gettextP.h: Likewise.
16605 * intl/loadinfo.h: Likewise.
16606 * locale/global-locale.c: Likewise.
16607 * locale/localeinfo.h: Likewise.
16608 * mach/devstream.c: Likewise.
16609 * malloc/arena.c: Likewise.
16610 * malloc/set-freeres.c: Likewise.
16611 * misc/err.c: Likewise.
16612 * misc/getttyent.c: Likewise.
16613 * misc/mntent_r.c: Likewise.
16614 * posix/getopt.c: Likewise.
16615 * posix/wordexp.c: Likewise.
16616 * pwd/fgetpwent_r.c: Likewise.
16617 * resolv/Versions: Likewise.
16618 * resolv/res_hconf.c: Likewise.
16619 * shadow/fgetspent_r.c: Likewise.
16620 * shadow/putspent.c: Likewise.
16621 * stdio-common/printf_fphex.c: Likewise.
16622 * stdio-common/tmpfile.c: Likewise.
16623 * stdlib/abort.c: Likewise.
16624 * stdlib/fmtmsg.c: Likewise.
16625 * sunrpc/auth_unix.c: Likewise.
16626 * sunrpc/clnt_perr.c: Likewise.
16627 * sunrpc/clnt_tcp.c: Likewise.
16628 * sunrpc/clnt_udp.c: Likewise.
16629 * sunrpc/clnt_unix.c: Likewise.
16630 * sunrpc/openchild.c: Likewise.
16631 * sunrpc/svc_simple.c: Likewise.
16632 * sunrpc/svc_tcp.c: Likewise.
16633 * sunrpc/svc_udp.c: Likewise.
16634 * sunrpc/svc_unix.c: Likewise.
16635 * sunrpc/xdr.c: Likewise.
16636 * sunrpc/xdr_array.c: Likewise.
16637 * sunrpc/xdr_rec.c: Likewise.
16638 * sunrpc/xdr_ref.c: Likewise.
16639 * sunrpc/xdr_stdio.c: Likewise.
16640
1248c1c4
PB
166412011-09-09 Ulrich Drepper <drepper@gmail.com>
16642
16643 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16644
166452011-07-03 Andreas Jaeger <aj@suse.de>
16646
16647 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16648 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16649 regenerate with gen-libm-tests.pl.
16650
166512010-05-12 Petr Baudis <pasky@suse.cz>
16652
16653 [BZ #11589]
16654 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16655 around j0() zero points by switching to j1().
16656 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16657 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16658 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16659 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16660
f22e1074
UD
166612011-09-09 Ulrich Drepper <drepper@gmail.com>
16662
f19009c1
UD
16663 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16664 instead of 0.
16665 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16666 instead of 0. .
16667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16668 Patch in part by Pavel Roskin <proski@gnu.org>.
16669
3f8cc204
UD
16670 [BZ #13138]
16671 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16672 realloc.
16673 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16674 Free memory block if necessary.
16675
f22e1074
UD
16676 [BZ #12847]
16677 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16678 be NULL. Don't lock in this case.
16679
0a2349f9
RM
166802011-09-09 Roland McGrath <roland@hack.frob.com>
16681
16682 * elf/elf.h (ELFOSABI_GNU): New macro.
16683 (ELFOSABI_LINUX): Define to that.
16684
f3cdd467
DZ
166852011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16686
16687 * string/strncat.c (strncat): Undef the symbol in case it has been
16688 defined in bits/string.h.
16689
74718d13
UD
166902011-09-09 Ulrich Drepper <drepper@gmail.com>
16691
633e9e0f
UD
16692 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16693
0a2349f9 16694 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16695 link map.
16696
f9924780
AJ
166972011-08-17 Andreas Jaeger <aj@suse.de>
16698
16699 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16700
7f5517aa
PP
167012011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16702 Ian Lance Taylor <iant@google.com>
16703
16704 * math/libm-test.inc (lround_test): New testcase.
16705 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16706
762011fe
UD
167072011-09-08 Ulrich Drepper <drepper@gmail.com>
16708
92963737
UD
16709 * Makefile: Remove support for automatic cvs check-ins.
16710 * Makerules: Likewise.
16711 * config.make.in: Likewise.
16712 * configure.in: Likewise.
16713 * intl/Makefile: Likewise.
16714 * locale/Makefile: Likewise.
16715 * po/Makefile: Likewise.
16716 * posix/Makefile: Likewise.
16717 * sysdeps/gnu/Makefile: Likewise.
16718 * sysdeps/mach/hurd/Makefile: Likewise.
16719 * sysdeps/sparc/sparc32/Makefile: Likewise.
16720
b0727fd8
JS
16721 [BZ #13118]
16722 * posix/Makefile (bug-regex32-ENV): Define.
16723 Patch by John Stanley <jpsinthemix@verizon.net>.
16724
a0f33f99
UD
16725 * misc/Makefile (headers): Add bits/select2.h.
16726 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16727 * misc/bits/select2.h: New file.
16728 * include/bits/select2.h: New file.
16729 * debug/Makefile (routines): Add fdelt_chk.
16730 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16731 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16732 FD_ISSET.
16733 * debug/fdelt_chk.c: New file.
16734
762011fe
UD
16735 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16736 * wcsmbs/test-wmemcmp.c: Likewise.
16737 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16738 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16739
167402011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16741
16742 * string/Makefile (strop-tests): Add memcmp.
16743 * string/test-wmemcmp.c: New file.
16744 * string/test-memcmp.c: Add wmemcmp support.
16745
7f513ec8
RM
167462011-09-08 Roland McGrath <roland@hack.frob.com>
16747
0442afb4
RM
16748 [BZ #13153]
16749 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16750 2011-07-19 change.
16751
7f513ec8
RM
16752 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16753 garbage value in a __mach_port_mod_refs call in the cases of the
16754 task-self and thread-self ports.
16755
a12b2239
ST
167562011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16757
16758 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16759
610f9ab4
AS
167602011-09-08 Andreas Schwab <schwab@redhat.com>
16761
7f513ec8 16762 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16763
48882a1a
LD
167642011-09-07 Ulrich Drepper <drepper@gmail.com>
16765
b49865be
UD
16766 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16767
fdc86bc9
UD
16768 * elf/dl-libc.c (dlerror_run): Pass back error code from
16769 dl_catch_error.
16770
c966526a
UD
16771 [BZ #13123]
16772 * elf/dl-load.c (lose): Free l_origin if it is valid.
16773
48882a1a
LD
16774 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16775 names.
16776 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16777 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16778 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16779 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16780 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16781 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16782
77a2a8b4
AZ
167832011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16784
16785 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16786 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16787 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16788 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16789 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16790 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16791 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16792 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16793 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16794 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16795
24f579d8
AM
167962011-08-15 Alan Modra <amodra@gmail.com>
16797
16798 [BZ #13092]
16799 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16800 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16801 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16802 ppc_mcount to static-only-routines.
16803 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16804 __mcount_internal.
16805 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16806 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16807
3d4837df
UD
168082011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16809
16810 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16811 for finite and infinity parameters.
16812
22700377
WS
168132011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16814
16815 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16816 and add nop instructions for throughput optimization.
16817 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16818
5025581e
WS
168192011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16820
16821 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16822 aligned copy for power7 with vector-scalar instructions.
16823 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16824
08a300c9
L
168252011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16826
16827 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16828 AVX check.
16829
59178ef9
AS
168302011-09-07 Andreas Schwab <schwab@redhat.com>
16831
16832 [BZ #13144]
16833 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16834 last change.
16835
e38ba7ab
UD
168362011-09-07 Ulrich Drepper <drepper@gmail.com>
16837
16838 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16839 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16840 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16841 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16842 clock_gettime.
16843
d53a73ac
UD
168442011-09-06 Ulrich Drepper <drepper@gmail.com>
16845
fc8bffcc
UD
16846 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16847 Forgot to demangle the pointer.
16848
ceaa0c5d
UD
16849 * sysdeps/i386/sysdep.h: Define atom_text_section.
16850 * sysdeps/x86_64/sysdep.h: Likewise.
16851 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16852 section with atom_text_section.
16853 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16854 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16855 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16856 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16857 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16858
a77d3c17
UD
16859 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16860 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16861 already be defined. Change to take two parameters and don't assign
16862 result to variable. Adjust all users.
16863 Define INTERNAL_GETTIME if not already defined.
16864 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16865 call.
16866 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16867 HAVE_CLOCK_GETTIME_VSYSCALL.
16868 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16869
d53a73ac
UD
16870 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16871 gettimeofday vsyscall, just use time.
16872
a8f84144
AS
168732011-09-06 Andreas Schwab <schwab@redhat.com>
16874
16875 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16876 <errno.h>.
16877
ef606249
UD
168782011-09-06 Ulrich Drepper <drepper@gmail.com>
16879
16880 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16881 syscall on x86-64.
16882 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16883 syscall.
16884 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16885 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16886 syscall if possible.
16887
6585cb60
UD
168882011-09-05 Ulrich Drepper <drepper@gmail.com>
16889
16890 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16891 e_ident. Don't pass to find_mapsXX.
16892 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16893
a5f524e4
LD
168942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16895
16896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16897 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16898 * sysdeps/x86_64/multiarch/strchr.S: Update.
16899 Check bit_slow_BSF bit.
16900 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16901 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16902 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16903
554881ef
UD
169042011-09-05 Ulrich Drepper <drepper@gmail.com>
16905
d96de963
UD
16906 [BZ #13134]
16907 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16908 before glibc 2.15.
16909 (tryshell): Define.
16910 (__spawni): Change last parameter to be flag. Test
16911 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16912 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16913 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16914 * posix/spawni.c: Likewise.
16915 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16916 * posix/spawnp.c: Likewise. Change normal version to use
16917 SPAWN_XFLAGS_USE_PATH.
16918 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16919 SPAWN_XFLAGS_TRY_SHELL.
16920
d48e5868
UD
16921 [BZ #13150]
16922 * posix/glob.h: Remove gcc 1.x support.
16923
554881ef
UD
16924 [BZ #13068]
16925 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16926
693fb948
LD
169272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16928
16929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16930 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16931 strrchr-sse2-bsf
16932 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16933 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16934 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16935 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16936 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16937 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16938
1b48c537
UD
169392011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16940
49d42c37
UD
16941 * sysdeps/x86_64/wcscmp.S: New file.
16942
1b48c537
UD
16943 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16944 wcscmp-c wcscmp-sse2
16945 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16946 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16947 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16948 * wcsmbs/wcscmp.c: Allow renaming.
16949
15c95c5d
DM
169502011-09-05 David S. Miller <davem@davemloft.net>
16951
16952 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16953 stack slot, rather than the struct return pointer slot.
16954 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16955 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16957 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16958
2f0ad8f3
UD
169592011-09-05 Ulrich Drepper <drepper@gmail.com>
16960
d88ae418
UD
16961 * po/ja.po: Update from translation team.
16962
2f0ad8f3
UD
16963 [BZ #13144]
16964 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16965 kernel in 64-bit binaries.
16966
5f4318d1
DM
169672011-09-01 David S. Miller <davem@davemloft.net>
16968
16969 * elf/elf.h (HWCAP_SPARC_*): Move to..
16970 * sysdeps/sparc/sysdep.h: this new file and add new values.
16971 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16972 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16973 _DL_HWCAP_COUNT to 24.
16974 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16975 entries.
16976 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16977 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16978 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16979 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16980 instead of magic constants.
16981 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16982
3ba57516
DM
169832011-08-31 David S. Miller <davem@davemloft.net>
16984
16985 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16987 Reimplement to do errno handling inline.
16988 (SYSCALL_ERROR_HANDLER): New macro.
16989 (__SYSCALL_STRING): Do not do errno handling in asm.
16990 (__CLONE_SYSCALL_STRING): Delete.
16991 (__INTERNAL_SYSCALL_STRING): Delete.
16992 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16993 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16994 (PSEUDO): Reimplement to do errno handling inline.
16995 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16996 (SYSCALL_ERROR_HANDLER): New macro.
16997 (__SYSCALL_STRING): Do not do errno handling in asm.
16998 (__CLONE_SYSCALL_STRING): Delete.
16999 (__INTERNAL_SYSCALL_STRING): Delete.
17000 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17001 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17002 i386.
17003 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17004 (inline_syscall*): Add 'err' argument.
17005 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17006 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17007 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17008 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17009
17010 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17011 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17012
2bc17433
AS
170132011-08-30 Andreas Schwab <schwab@redhat.com>
17014
17015 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17016
fbeb5f4d
JO
170172011-08-29 Jiri Olsa <jolsa@redhat.com>
17018
17019 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17020 directive.
17021
ad69cc26
DM
170222011-08-24 David S. Miller <davem@davemloft.net>
17023
17024 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17025
39dd69df
AS
170262011-08-24 Andreas Schwab <schwab@redhat.com>
17027
17028 * elf/Makefile: Add rules to build and run unload8 test.
17029 * elf/unload8.c: New file.
17030 * elf/unload8mod1.c: New file.
17031 * elf/unload8mod1x.c: New file.
17032 * elf/unload8mod2.c: New file.
17033 * elf/unload8mod3.c: New file.
17034
17035 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17036 it wasn't used.
17037
2c0b250a
DM
170382011-08-23 David S. Miller <davem@davemloft.net>
17039
17040 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17041 subtract stack bias.
17042 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17043 %sp not %fp in calculations.
17044 (_JMPBUF_UNWINDS_ADJ): Likewise.
17045
22044b48
DM
17046 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17047 (aio_suspend): Call it to force an exception region around the
17048 AIO_MISC_WAIT() invocation.
17049
2cae4995
AS
170502011-08-23 Andreas Schwab <schwab@redhat.com>
17051
17052 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17053 backslash.
17054
873a772e
AJ
170552011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17056
17057 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17058 protection macro.
17059 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17060 and <dl-machine.h>.
17061 (Elf64_FuncDesc): Remove.
17062
25ad0df1
DM
170632011-08-22 David S. Miller <davem@davemloft.net>
17064
17065 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17066 sigaltstack check, add missing cfi directives.
17067 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17068 missing cfi directives, and sigaltstack handling.
17069
e888bcbe
AS
170702011-08-16 Andreas Schwab <schwab@redhat.com>
17071
17072 [BZ #11724]
17073 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17074 object is seen twice.
17075 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17076
17077 * elf/Makefile (distribute): Add tst-initorder2.c.
17078 (tests): Add tst-initorder2.
17079 (modules-names): Add tst-initorder2a tst-initorder2b
17080 tst-initorder2c tst-initorder2d. Add rules to build them.
17081 ($(objpfx)tst-initorder2.out): New rule.
17082 * elf/tst-initorder2.c: New file.
17083 * elf/tst-initorder2.exp: New file.
17084
87162f46
AS
170852011-08-22 Andreas Schwab <schwab@redhat.com>
17086
70538b7f
AS
17087 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17088
f55ffe58
AS
17089 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17090 dependencies back to end of function.
17091
87162f46
AS
17092 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17093 $(elfobjdir)/ld.so.
17094
91b392a4
UD
170952011-08-21 Ulrich Drepper <drepper@gmail.com>
17096
17097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17098 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17099 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17100 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17101 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17102 of __vdso_gettimeofday.
17103 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17104 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17105 attribute_hidden.
17106 (_libc_vdso_platform_setup): Remove initialization of
17107 __vdso_gettimeofday and __vdso_time.
17108
5c43483f
UD
171092011-08-20 Ulrich Drepper <drepper@gmail.com>
17110
775a77e7
UD
17111 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17112 and fgetc_unlocked.
17113 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17114 getc_unlocked.
89f447ed 17115
49c74ba9
UD
17116 * elf/dl-open.c (add_to_global): Report additions to the global scope
17117 for LD_DEBUG=scopes.
17118 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 17119 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 17120
5c43483f
UD
17121 [BZ #13114]
17122 * stdio-common/Makefile (tests): Add bug24.
17123 * stdio-common/bug24.c: New file.
17124
a101b025
AJ
171252011-08-19 Andreas Jaeger <aj@suse.de>
17126
17127 [BZ #13114]
17128 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17129 non-existant file when using close-on-exec mode.
17130
c88f1766
UD
171312011-08-20 Ulrich Drepper <drepper@gmail.com>
17132
0276a718
UD
17133 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17134 the very first instruction.
17135
c88f1766
UD
17136 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17137 the CFI state in the end.
17138 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17139 inclusion of dl-trampoline.h.
17140 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17141
51ccffa0
AS
171422011-08-19 Andreas Schwab <schwab@redhat.com>
17143
94d7165f
AS
17144 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17145 expectations for long double.
17146
51ccffa0
AS
17147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17148 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17149
fd708658 171502011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
17151
17152 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17153 artificual limit depends upon the system page size.
17154
44f0a71e
UD
171552011-08-17 Ulrich Drepper <drepper@gmail.com>
17156
17157 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17158 * resolv/Makefile: Define CFLAGS-libresolv.
17159
8de79a24
AS
171602011-08-17 Andreas Schwab <schwab@redhat.com>
17161
17162 * nss/makedb.c (compute_tables): Make variables used in nested
17163 function static.
17164
27724598
UD
171652011-08-17 Ulrich Drepper <drepper@gmail.com>
17166
c5305d88
UD
17167 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17168 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17169 if buffer was too small.
17170
27724598
UD
17171 * elf/pldd.c (main): Attach to all threads in the process.
17172 Rewrite /proc handling to use *at functions.
17173
076fe015
UD
171742011-08-16 Ulrich Drepper <drepper@gmail.com>
17175
174baab3
UD
17176 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17177 specifies first scope to show.
17178 (dl_open_worker): Update callers. Move printing scope of new
17179 object to before the relocation.
44f0a71e 17180 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
17181 * sysdeps/generic/ldsodefs.h: Update declaration.
17182
076fe015
UD
17183 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17184 string for the scope number.
17185
a60df2c3
UD
171862011-08-14 Ulrich Drepper <drepper@gmail.com>
17187
17188 * nscd/servicescache.c (cache_addserv): Make sure written is always
17189 initialized.
17190
5e4287d1
RM
171912011-08-14 Roland McGrath <roland@hack.frob.com>
17192
85ae0589
RM
17193 * sysdeps/i386/i486/bits/atomic.h
17194 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17195 statement expression, so as to suppress "set but not used" warning.
17196 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17197
69f63097
RM
17198 * string/strncat.c (STRNCAT): Use prototype definition.
17199
675456ef
RM
17200 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17201 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17202 -Iprograms here.
17203 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17204 (localedef-modules): Add localedef.
17205 (locale-modules): Add locale.
17206
5e4287d1
RM
17207 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17208 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17209 to avoid a warning.
17210
9c96ff23
DM
172112011-08-14 David S. Miller <davem@davemloft.net>
17212
17213 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17214 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17215
f9ddf089
UD
172162011-08-13 Ulrich Drepper <drepper@gmail.com>
17217
44f0a71e 17218 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
17219 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17220 * elf/rtld.c (dl_main): Set l_name of vDSO.
17221 Call _dl_show_scope when DL_DEBUG_SCOPES.
17222 (process_dl_debug): Recognize scopes flag and also set it for all.
17223 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17224 Declare _dl_show_scope.
17225
1dc27704
UD
17226 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17227 (do_dlopen): Pass caller_dlopen to dl_open.
17228 (__libc_dlopen_mode): Initialize caller_dlopen.
17229
f9ddf089
UD
17230 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17231 of libc. Make tolower call locale-independent. Optimize a bit by
17232 using isdigit instead of isalnum.
17233 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17234
9ac533d3
UD
172352011-08-12 Ulrich Drepper <drepper@gmail.com>
17236
17237 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17238 was a dependency or dynamically loaded.
17239
89edf2e9
UD
172402011-08-11 Ulrich Drepper <drepper@gmail.com>
17241
8e999d29
UD
17242 * intl/l10nflist.c: Allow architecture-specific pop function.
17243 * sysdeps/x86_64/l10nflist.c: New file.
17244
89edf2e9
UD
17245 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17246 classification.
17247
14d96785
AS
172482011-08-10 Andreas Schwab <schwab@redhat.com>
17249
17250 * include/dirent.h: Add libc_hidden_proto for scandirat and
17251 scandirat64. Don't declare __scandirat64.
17252 * dirent/scandirat.c: Add libc_hidden_def.
17253 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17254 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17255
6761ac04
DM
172562011-08-10 David S. Miller <davem@davemloft.net>
17257
17258 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17259 enum.
17260 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17261 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17262 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17263
c55fbd1e
UD
172642011-08-09 Ulrich Drepper <drepper@gmail.com>
17265
17266 * Versions.def [libc]: Add GLIBC_2.15.
17267 * dirent/Makefile (routines): Add scandirat and scandirat64.
17268 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17269 GLIBC_2.15.
17270 * dirent/dirent.h: Declare scandirat and scandirat64.
17271 * dirent/scandirat.c: New file.
17272 * dirent/scandirat64.c: New file.
17273 * sysdeps/wordsize-64/scandirat.c: New file.
17274 * sysdeps/wordsize-64/scandirat64.c: New file.
17275 * dirent/opendir.c: Define opendirat.
17276 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17277 using scandirat.
17278 * dirent/scandir64.c: Adjust for scandir.c change.
17279 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17280 __scandirat64, and __scandir_cancel_handler.
17281 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17282 additional parameter and use openat instead of open (outside of ld.so).
17283 Add new __opendir as wrapper around __opendirat.
17284 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17285 here without requiring old scandirat implementation.
17286
879165f2
UD
172872011-08-08 Ulrich Drepper <drepper@gmail.com>
17288
17289 * dirent/scandir.c (cancel_handler): Renamed to
17290 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17291 defined. Adjust users.
17292 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17293 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17294
cb7e923b
UD
172952011-08-04 Ulrich Drepper <drepper@gmail.com>
17296
16292edd
UD
17297 * string/test-string.h (IMPL): Use __STRING to expand name and then
17298 stringify it.
17299
cb7e923b
UD
17300 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17301 of cleanups.
17302
cff82933
LD
173032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17304
17305 * string/Makefile: Update.
17306 (strop-tests): Append strncat.
17307 * string/test-wcscmp.c: New file.
17308 New comprehensive test for wcscmp.
17309 * string/test-strcmp.c: Update.
17310 (WIDE): New define.
17311
9be9bfcc
AS
173122011-07-22 Andreas Schwab <schwab@redhat.com>
17313
17314 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17315 line.
17316
2e96f1c7
AS
173172011-07-26 Andreas Schwab <schwab@redhat.com>
17318
17319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17320 encoding to ACE if AI_IDN.
17321
85188888
JJ
173222011-08-01 Jakub Jelinek <jakub@redhat.com>
17323
17324 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17325 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17326
5fa16e9b
LD
173272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17328
17329 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17330 Fix overflow bug in strncat.
17331 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17332
17333 * string/test-strncat.c: Update.
17334 Add new tests for checking overflow bugs.
17335
173362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17337
17338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17339 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17340 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17341 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17342 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17343 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17344 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17345 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17346 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17347
17348 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17349 (USE_AS_STRCAT): Define.
17350 Add strcat and strncat support.
17351 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17352
8c1a459f
AS
173532011-07-25 Andreas Schwab <schwab@redhat.com>
17354
17355 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17356 __n bigger than INT_MAX+1.
17357 (__strncmp_g): Likewise.
17358
bba33c28
UD
173592011-07-23 Ulrich Drepper <drepper@gmail.com>
17360
798be72d
UD
17361 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17362 * libio/stido.h: Likewise.
17363
8accd4dc
UD
17364 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17365 (AF_NFC): Define.
17366 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17367 (AF_NFC): Define.
17368
cbff0d96
UD
17369 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17370 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17371 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17372 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17373 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17374
9191c04a
UD
17375 [BZ #13021]
17376 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17377 installed.
17378
bba33c28
UD
17379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17380 typo.
17381 (_dl_x86_64_save_sse): Likewise.
17382
90f139dd
UD
173832011-07-22 Ulrich Drepper <drepper@gmail.com>
17384
1aae088a
UD
17385 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17386 OSXSAVE.
17387 (_dl_x86_64_save_sse): Likewise.
17388
8e2045f5
UD
17389 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17390
90f139dd
UD
17391 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17392
1d002f25
AS
173932011-07-21 Andreas Schwab <schwab@redhat.com>
17394
17395 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17396 change.
17397 (_dl_x86_64_save_sse): Use correct AVX check.
17398
21137f89
UD
173992011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17400
17401 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17402 bug in strncpy/strncat.
17403 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17404
a65c0b7a
UD
174052011-07-21 Ulrich Drepper <drepper@gmail.com>
17406
17407 * string/tester.c (test_strcat): Add tests for different alignments
17408 of source and destination.
17409 (test_strncat): Likewise.
17410
6986b98a
UD
174112011-07-20 Ulrich Drepper <drepper@gmail.com>
17412
90bb2039
UD
17413 [BZ #12852]
17414 * posix/glob.c (glob): Check passed in values before using them in
17415 expressions to avoid some overflows.
17416 (glob_in_dir): Likewise.
17417
5644ef54
UD
17418 [BZ #13007]
17419 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17420 check for AVX enablement so that we don't crash with old kernels and
17421 new hardware.
17422 * elf/tst-audit4.c: Add same checks here.
17423 * elf/tst-audit6.c: Likewise.
17424
17425 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17426
bfc9dc9b
AS
174272011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17428
17429 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17430
702e64bb
UD
174312011-07-20 Ulrich Drepper <drepper@gmail.com>
17432
17433 * po/cs.po: Update from translation team.
17434 * po/bg.po: Likewise.
17435
295e904f
MP
174362011-07-12 Marek Polacek <mpolacek@redhat.com>
17437
17438 * misc/sys/cdefs.h: Add support for const attribute.
17439 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17440 to gnu_dev_{major,minor,makedev} functions.
17441
3ff94596
MP
174422011-07-20 Marek Polacek <mpolacek@redhat.com>
17443
17444 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17445
28b59fca
AS
174462011-07-20 Andreas Schwab <schwab@redhat.com>
17447
17448 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17449 strlen results.
17450
19df733e
AK
174512011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17452
17453 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17454 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17455 register in order to avoid conflicts with the soft frame pointer
17456 being held in r11 when necessary.
17457 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17458 (INTERNAL_VSYSCALL_NCS): Likewise.
17459
c8835729
MP
174602011-07-14 Marek Polacek <mpolacek@redhat.com>
17461
17462 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17463 * elf/dl-fini.c (_dl_fini): Adjust caller.
17464 * elf/dl-close.c (_dl_close_worker): Likewise.
17465 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17466
b902330c
MP
174672011-07-15 Marek Polacek <mpolacek@redhat.com>
17468
8991e135
MP
17469 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17470 "aux_cache->nlibs < 0".
17471
b902330c
MP
17472 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17473 in the reload-count case.
17474
99710781
LD
174752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17476
17477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17478 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17479 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17480 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17481 * sysdeps/x86_64/multiarch/strcat.S: New file.
17482 * sysdeps/x86_64/multiarch/strncat.S: New file.
17483 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17484 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17485 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17486 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17487 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17488 (USE_AS_STRCAT): Define.
17489 Add strcat and strncat support.
17490 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17491 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17492 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17493 * string/strncat.c: Update.
17494 (USE_AS_STRNCAT): Define.
17495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17496 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17497 and i7.
17498 * sysdeps/x86_64/multiarch/init-arch.h
17499 (bit_Prefer_PMINUB_for_stringop): New.
17500 (index_Prefer_PMINUB_for_stringop): Likewise.
17501 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17502 bit_Prefer_PMINUB_for_stringop.
17503
7dc6bd90
UD
175042011-07-19 Ulrich Drepper <drepper@gmail.com>
17505
17506 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17507 buffer64.
17508 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17509 of casting of buffer.
17510 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17511 buffer32 and buffer64.
17512 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17513 writes instead of casting of buffer.
17514 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17515 buffer32.
17516 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17517 casting of buffer.
17518
e0e72284
AS
175192011-07-19 Andreas Schwab <schwab@redhat.com>
17520
17521 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17522
feb1eb0b
UD
175232011-07-19 Ulrich Drepper <drepper@gmail.com>
17524
17525 * nscd/nscd.c (termination_handler): Don't do anything for a database
17526 if it has not yet been initialized.
17527
298711ff
UD
175282011-07-18 Ulrich Drepper <drepper@gmail.com>
17529
17530 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17531
175322011-07-15 Marek Polacek <mpolacek@redhat.com>
17533
17534 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17535
f9d68389
UD
175362011-07-18 Ulrich Drepper <drepper@gmail.com>
17537
17538 * po/nl.po: Update from translation team.
17539 * po/sv.po: Likewise.
17540
db290cf5
RM
175412011-07-16 Roland McGrath <roland@hack.frob.com>
17542
17543 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17544 now disallowed by GCC.
5c550700 17545
fd5e21c7
RM
17546 * configure.in (use-default-link): Default to yes if a test -shared
17547 link meets our qualifications.
17548 * configure: Regenerated.
17549
5c550700
RM
17550 * config.make.in (output-format): New variable.
17551 * configure.in: Check for ld --print-output-format support.
17552 * configure: Regenerated.
17553 * Makerules ($(common-objpfx)format.lds)
17554 [$(output-format) != unknown]: Just use $(output-format),
17555 instead of the linker-script munging.
17556
9fa2c032
RM
175572011-07-14 Roland McGrath <roland@hack.frob.com>
17558
a6928d51
RM
17559 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17560 of $(common-objpfx)shlib.lds.
17561 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17562
661607b3
RM
17563 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17564 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17565
9fa2c032
RM
17566 * configure.in (-z relro check): Adjust test code to add a large
17567 writable data section after it.
17568 * configure: Regenerated.
17569
defe9061
RM
175702011-07-11 Roland McGrath <roland@hack.frob.com>
17571
17572 * configure.in (-z relro check): Fix test code to make the variable
17573 truly const.
17574 * configure: Regenerated.
17575
319b9ad4
UD
175762011-07-11 Ulrich Drepper <drepper@gmail.com>
17577
17578 * nscd/nscd.h (struct traced_file): Define.
17579 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17580 elements. Add traced_files.
17581 (inotify_fd): Declare.
17582 (register_traced_file): Declare.
17583 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17584 (inotify_fd): Export.
17585 (resolv_conf_descr): Remove.
17586 (nscd_init): Move inotify descriptor creation to main.
17587 Don't register files for notification here.
17588 (register_traced_file): New function.
17589 (invalidate_cache): Don't use reset_res to determine whether to call
17590 res_init, go through the list of registered files.
17591 (main_loop_poll): The inotify descriptors are now stored in the
17592 structures for the traced files.
17593 (main_loop_epoll): Likewise
17594 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17595 to __nss_disable_nscd.
17596 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17597 for a database anymore. Check the records for all the registered
17598 files instead.
17599 * nss/Makefile (libnss_files-routines): Add files-init.
17600 (libnss_db-routines): Add db-init.
17601 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17602 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17603 * nss/nss_db/db-init.c: New file.
17604 * nss/nss_files/files-init.c: New file.
17605 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17606 __nss_lookup_function.
17607 (__nss_lookup_function): Call nss_load_library.
17608 (nss_load_all_libraries): New function.
17609 (__nss_disable_nscd): Take parameter with callback function for files
17610 to register. Set is_nscd. Load all the DSOs for the NSS modules
17611 used for the cached services.
17612 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17613 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17614 options for features to all the files in nscd.
17615
17616 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17617
23bee3e8
RM
176182011-07-10 Roland McGrath <roland@hack.frob.com>
17619
17620 * csu/elf-init.c (__libc_csu_init): Comment typo.
17621
46a5b7f0
UD
176222011-07-09 Ulrich Drepper <drepper@gmail.com>
17623
17624 * po/pl.po: Update from translation team.
17625 * po/ja.po: Likewise.
17626 * po/ru.po: Likewise.
17627 * po/ko.po: Likewise.
17628 * po/fr.po: Likewise.
17629
d30cf5bb
RM
176302011-07-09 Roland McGrath <roland@hack.frob.com>
17631
113ddea4
RM
17632 * configure.in (.ctors/.dtors header and trailer check):
17633 Use an empirical test on a built program.
17634 * configure: Regenerated.
17635
574920b4
RM
17636 * configure.in (-z relro check): Use an empirical test on a built DSO.
17637 Detect, but do not require, on ia64.
17638 * configure: Regenerated.
17639
d30cf5bb
RM
17640 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17641 Update tests that use readelf to use $READELF instead.
17642 * configure: Regenerated.
17643
8538fdb3
UD
176442011-07-08 Ulrich Drepper <drepper@gmail.com>
17645
17646 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17647 if the result is not used.
17648
04d08991
AJ
176492011-07-05 Andreas Jaeger <aj@suse.de>
17650
17651 [BZ#9696]
17652 * stdlib/tst-strtod.c: Add testcase.
17653
de283087
AD
176542011-07-07 Ulrich Drepper <drepper@gmail.com>
17655
4e5f31c8 17656 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17657 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17658 The latter has a higher limit. Take additional parameter to pass to
17659 the new function.
17660 (__pathconf): Pass file to __statfs_link_max.
17661 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17662 __statfs_link_max.
17663 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17664 __statfs_link_max.
17665
de283087
AD
17666 [BZ #12868]
17667 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17668 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17669 Handle Lustre.
17670 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17671 (__statfs_filesize_max): Likewise.
17672 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17673
c75fa153
AJ
176742011-07-05 Andreas Jaeger <aj@suse.de>
17675
17676 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17677
1a544854
UD
176782011-07-06 Marek Polacek <mpolacek@redhat.com>
17679
17680 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17681 `status' variable.
17682 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17683 Likewise.
17684
6f0eec67
UD
176852011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17686
17687 * Makefile (strop-tests): Add strncat.
17688 * string/test-strncat.c: New file.
17689
aae30307
UD
176902011-06-30 Marek Polacek <mpolacek@redhat.com>
17691
17692 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17693
c0cfb5eb
UD
176942011-06-21 Andreas Jaeger <aj@suse.de>
17695
17696 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17697 Copy rule from iconvdata/Makefile.
17698
01636b21
UD
176992011-07-06 Ulrich Drepper <drepper@gmail.com>
17700
17701 [BZ #12922]
17702 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17703 but no long options are defined, just return 'W'.
17704
9895c8bc
UD
177052011-06-22 Marek Polacek <mpolacek@redhat.com>
17706
17707 [BZ #9696]
17708 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17709
5d4cf042
UD
177102011-07-06 Ulrich Drepper <drepper@gmail.com>
17711
17712 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17713 netgroups to read.
960e5535 17714 (innetgr): Likewise.
5d4cf042 17715
751eb97e
RM
177162011-07-05 Roland McGrath <roland@hack.frob.com>
17717
17718 * config.make.in (install_root): Default to $(DESTDIR).
17719
f15f1e45
UD
177202011-07-05 Ulrich Drepper <drepper@gmail.com>
17721
17722 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17723
4e34ac6a
RM
177242011-07-02 Roland McGrath <roland@hack.frob.com>
17725
5e9b6af4
RM
17726 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17727
84f9ea0f
RM
17728 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17729 containing directory rather than embedding absolute directory names.
17730
ea5ee9f7
RM
17731 * scripts/check-local-headers.sh: Rewritten using awk.
17732 Match by word, not by line. Print error messages for matches.
17733 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17734
1b74661a
RM
17735 * Makerules [shlib-lds-flags empty]:
17736 ($(common-objpfx)libc_pic.opts): New target.
17737 ($(common-objpfx)libc_pic.os.clean): New target.
17738 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17739
17740 * config.make.in (OBJCOPY): New variable.
17741 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17742 * configure: Regenerated.
17743
f781ef40
RM
17744 * config.make.in (use-default-link): New variable.
17745 * configure.in (use_default_link): Grok --with-default-link to set it.
17746 * configure: Regenerated.
17747 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17748 (shlib-lds, shlib-lds-flags): Define to empty.
17749
2d4fa81e
RM
17750 * Makerules (shlib-lds): New variable.
17751 (shlib-lds-flags): New variable.
17752 (build-shlib, build-moduile, build-module-asneeded): Use it.
17753 ($(common-objpfx)libc.so): Use $(shlib-lds).
17754 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17755 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17756
31fffa6b
RM
17757 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17758 DT_FLAGS/DT_FLAGS_1 with zero flags.
17759
4e34ac6a
RM
17760 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17761 linker script munging.
17762
fcfc776b
UD
177632011-07-02 Ulrich Drepper <drepper@gmail.com>
17764
17765 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17766 as 128-bit value.
17767 * crypt/sha512.c (sha512_process_block): Perform total addition using
17768 128-bit if possible.
17769 (__sha512_finish_ctx): Likewise.
17770 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17771 as 64-bit value.
17772 * crypt/sha256.c (SWAP64): Define.
17773 (sha256_process_block): Perform total addition using 64-bit if
17774 possible.
17775 (__sha256_finish_ctx): Likewise.
17776
99231d9a
UD
177772011-07-01 Ulrich Drepper <drepper@gmail.com>
17778
17779 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17780 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17781 * nscd/hstcache.c (cache_addhst): Likewise.
17782 * nscd/grpcache.c (cache_addgr): Likewise.
17783 * nscd/aicache.c (addhstaiX): Likewise
17784 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17785
445b4a53
TK
177862011-07-01 Thorsten Kukuk <kukuk@suse.de>
17787
17788 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17789 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17790 * nscd/hstcache.c (cache_addhst): Likewise.
17791 * nscd/grpcache.c (cache_addgr): Likewise.
17792 * nscd/aicache.c (addhstaiX): Likewise
17793
6d4d8e8e
AS
177942011-07-01 Andreas Schwab <schwab@redhat.com>
17795
17796 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17797 domain only when needed.
17798
89f654c5
AS
177992011-06-30 Andreas Schwab <schwab@redhat.com>
17800
17801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17802 is always restored.
17803
cf3b23ff
UD
178042011-06-29 Ulrich Drepper <drepper@gmail.com>
17805
17806 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17807 are re-adding the entry.
17808 * nscd/servicescache.c (cache_addserv): Likewise.
17809
751626f9
AJ
178102011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17811
17812 * sysdeps/generic/dl-irel.h: fix protection against multiple
17813 inclusions.
17814 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17815
9113ea1f
UD
178162011-06-28 Ulrich Drepper <drepper@gmail.com>
17817
5c0b8d90
UD
17818 [BZ #12935]
17819 * malloc/memusage.sh: Fix quoting in message.
17820 * debug/xtrace.sh: Likewise.
17821
9113ea1f
UD
17822 * configure.in: Remove support for --experimental-malloc option, make
17823 it the default.
17824 * config.make.in: Likewise.
17825 * malloc/Makefile: Likewise.
17826
a4172181
AS
178272011-06-27 Andreas Schwab <schwab@redhat.com>
17828
17829 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17830 two-byte characters.
17831
78a7eee7
RM
178322011-06-27 Roland McGrath <roland@hack.frob.com>
17833
62bede13
RM
17834 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17835 AC_CACHE_CHECK invocation.
17836 * configure: Regenerated.
17837
78a7eee7
RM
17838 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17839
5ce33a62
UD
178402011-06-27 Ulrich Drepper <drepper@gmail.com>
17841
034807a9
UD
17842 [BZ #12350]
17843 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17844 bit from old_res_options.
17845
4902da17
UD
17846 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17847
5ce33a62
UD
17848 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17849 value type for setfct.
17850
c2344f56
L
178512011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17852
17853 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17854 __gettimeofday instead of gettimeofday.
17855
68468076
UD
178562011-06-26 Ulrich Drepper <drepper@gmail.com>
17857
17858 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17859
acb0d739
L
178602011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17861
17862 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17863
17864 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17865 info.
17866
8912479f
L
178672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17868
17869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17870 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17871 strcpy-sse2-unaligned strncpy-sse2-unaligned
17872 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17873 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17874 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17875 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17876 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17877 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17878 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17879 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17880 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17881 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17882 (STRCPY): Support SSE2 and SSSE3 versions.
17883
d5495a11
UD
178842011-06-24 Ulrich Drepper <drepper@gmail.com>
17885
17886 [BZ #12874]
17887 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17888 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17889 kernels which artificially limit size of requests.
17890
0b1cbaae
L
178912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17892
17893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17894 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17895 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17896 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17897 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17898 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17899 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17900 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17901 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17902 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17903 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17904 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17905 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17906 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17907 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17909 Enable unaligned load optimization for Intel Core i3, i5 and i7
17910 processors.
17911 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17912 Define.
17913 (index_Fast_Unaligned_Load): Define.
17914 (HAS_FAST_UNALIGNED_LOAD): Define.
17915
07f494a0
MP
179162011-06-23 Marek Polacek <mpolacek@redhat.com>
17917
17918 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17919
fa3fc0fe
UD
179202011-06-22 Ulrich Drepper <drepper@gmail.com>
17921
17922 [BZ #12907]
17923 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17924 until it is clear that the information is realy needed.
17925 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17926
e12df166
AS
179272011-06-22 Andreas Schwab <schwab@redhat.com>
17928
17929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17930
852eb34d
UD
179312011-06-22 Ulrich Drepper <drepper@gmail.com>
17932
84e2a551
UD
17933 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17934 /sys/devices/system/cpu/online if it is usable.
17935
852eb34d
UD
17936 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17937 reading the information from the /proc filesystem to once a second.
17938
6e502e19
UD
179392011-06-21 Andreas Jaeger <aj@suse.de>
17940
17941 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17942 NULL after inclusion of kernel headers.
17943
75d39ff2
UD
179442011-06-21 Ulrich Drepper <drepper@gmail.com>
17945
51f9aa6a
UD
17946 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17947 calls to internal_setent.
17948
c0244a9d
UD
17949 [BZ #12885]
17950 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17951 addresses using gethostbyname4_r ignore IPv4 addresses.
17952
c5e3c2ae
UD
17953 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17954 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17955
75d39ff2
UD
17956 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17957
42675c6f
DM
179582011-06-20 David S. Miller <davem@davemloft.net>
17959
17960 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17961 inclusions.
17962 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17963
17964 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17965 (elf_irel): Use it.
17966 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17967 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17968 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17969 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17970 * sysdeps/x86_64/dl-irel.h: Likewise.
17971
17972 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17973 * elf/dl-sym.c: Likewise.
17974
57912a71
UD
179752011-06-15 Ulrich Drepper <drepper@gmail.com>
17976
17977 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17978 need to dereference resplen2.
17979
ee22793d
AS
179802011-06-14 Andreas Schwab <schwab@redhat.com>
17981
17982 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17983
a9e836b0
UD
179842011-06-15 Ulrich Drepper <drepper@gmail.com>
17985
77fb9117
UD
17986 * Makeconfig: Define vardbdir and inst_vardbdir.
17987 * nss/Makefile: Add rules to install db-Makefile.
17988
40c1b22c
UD
17989 * nss/nss_db/db-XXX.c: Cleanup.
17990
9f2da732
UD
17991 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17992 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17993 GLIBC_PRIVATE.
17994 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17995 * nss/makedb.c: Implement -g option to specify that value strings
17996 are generated and should not be added to table iterated over for
17997 get*ent calls.
17998 * nss/nss_db/db-initgroups.c: New file.
17999
82e9a1f7
UD
18000 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18001 interface.
18002
c41af17e
UD
18003 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18004 (internal_getgrouplist): Adjust to name change.
18005 Update use_initgroups_entry if this is not the first call.
18006 * nss/databases.def: Add initgroups entry.
18007
a9e836b0
UD
18008 * nss/makedb.c (compute_tables): Check result of multiple hash table
18009 sizes to minimize maximum chain length.
18010
2666d441
UD
180112011-06-14 Ulrich Drepper <drepper@gmail.com>
18012
18013 * Versions.def: Add entry for libnss_db.
18014 * shlib-versions: Likewise.
18015 * nss/Makefile: Add rules to build libnss_db.
18016 * nss/Versions: Add libnss_db information. Organize libnss_files
18017 entries better.
18018 * nss/db-Makefile: Add gshadow support. Change rules for the new
18019 makedb progra. Some minor improvements to generate smaller files.
18020 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18021 here from...
18022 * nss/makedb.c: ...here.
18023 Improve database format to be smaller and require less memory at
18024 runtime.
18025 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18026 db anymore.
18027 * nss/nss_db/db-netgrp.c: Likewise.
18028 * nss/nss_db/db-open.c: Likewise.
18029 * nss/nss_files/flies-XXX.x: Adjust comments.
18030 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18031 * nss/nss_files/files-grp.c: Likewise.
18032 * nss/nss_files/files-hosts.c: Likewise.
18033 * nss/nss_files/files-network.c: Likewise.
18034 * nss/nss_files/files-proto.c: Likewise.
18035 * nss/nss_files/files-pwd.c: Likewise.
18036 * nss/nss_files/files-rpc.c: Likewise.
18037 * nss/nss_files/files-service.c: Likewise.
18038 * nss/nss_files/files-sgrp.c: Likewise.
18039 * nss/nss_files/files-spwd.c: Likewise.
18040 * nss/nss_db/db-alias.c: Removed.
18041 * nss/nss_db/dummy-db.h: Removed.
18042
9ee76b5a
UD
180432011-06-02 Ulrich Drepper <drepper@gmail.com>
18044
18045 * nss/makedb.c: Rewritten to not use database library.
18046 * nss/Makefile: Update to build new makedb program.
18047
c71ca1f8
AJ
180482011-06-14 Andreas Jaeger <aj@suse.de>
18049
18050 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18051 memset declaration.
18052
3154bfb8
UD
180532011-06-10 Andreas Schwab <schwab@redhat.com>
18054
18055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18056 tmpbuf.
18057
b350afab
RM
180582011-06-10 Roland McGrath <roland@hack.frob.com>
18059
decd4e50
RM
18060 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18061 * elf/Makefile ($(objpfx)ld.so): Likewise.
18062
5615eaf2
RM
18063 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18064 Don't list ld.so twice in dependencies.
18065
18066 * posix/bug-regex31.c: Include <stdlib.h>.
18067
18068 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18069
18070 * nis/nss_compat/compat-spwd.c
18071 (getspent_next_nss_netgr): Remove unused variable.
18072 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18073
18074 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18075 nonmembers" output to use the right array.
18076
18077 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18078
18079 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18080
18081 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18082 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18083 * catgets/gencat.c (read_input_file): Likewise.
18084 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18085
18086 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18087 variable definition inside #if's controlling its use.
18088
18089 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18090
18091 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18092
18093 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18094
18095 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18096 unreachable code.
18097
18098 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18099
b68e08db
RM
18100 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18101 * configure: Regenerated.
18102
b350afab
RM
18103 * Makerules: Revert last change.
18104 * elf/Makefile: Likewise.
18105
28368601
RM
181062011-06-09 Roland McGrath <roland@hack.frob.com>
18107
18108 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18109 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18110 (reloc-link): Likewise.
18111
11988f8f
UD
181122011-06-09 Ulrich Drepper <drepper@gmail.com>
18113
18114 * elf/Makefile: Add rules to build pldd.
18115 * elf/pldd.c: New file.
18116 * elf/pldd-xx.c: New file.
18117
e80fab37
UD
181182011-06-07 Ulrich Drepper <drepper@gmail.com>
18119
18120 * version.h: Update for 2.15 development version.
18121
9b849836
DM
181222011-06-07 David S. Miller <davem@davemloft.net>
18123
18124 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18125 ifuncs.
18126 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18127 elf_machine_lazy_rel): Likewise.
18128 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18129 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18130 elf_machine_lazy_rel): Likewise.
18131 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18132 dl_hwcap via passed in argument.
18133 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18134 Likewise.
18135
5a31b283
AK
181362011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18137
18138 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18139
069e52f8
RM
181402011-06-06 Roland McGrath <roland@hack.frob.com>
18141
18142 [BZ #12849]
18143 * manual/fdl-1.1.texi: New file, verbatim from:
18144 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18145 * manual/lgpl-2.1.texi: New file, verbatim from:
18146 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18147 * manual/Makefile (licenses): New variable, list those new file names.
18148 (texis): Use it.
18149 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18150
18151 * manual/fdl.texi: File removed.
18152 * manual/lesser.texi: File removed.
18153 * manual/libc.texinfo (Copying, Documentation License):
18154 Use new @include file names, put @appendix directive before @include.
18155
f16846a5
JJ
181562011-06-04 Jakub Jelinek <jakub@redhat.com>
18157
18158 [BZ #12841]
18159 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18160 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18161 (mq_open): Add __NTH.
18162
3d29045b
L
181632011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18164
18165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18166 Assume Intel Core i3/i5/i7 processor if AVX is available.
18167
8c297311
UD
181682011-05-31 Ulrich Drepper <drepper@gmail.com>
18169
18170 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18171 typo.
18172
c8fc0c91
UD
181732011-05-31 Andreas Schwab <schwab@redhat.com>
18174
18175 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18176 memory. Use alloca_account. Fix memory leak when retrying.
18177
5b27a807
UD
181782011-05-31 Ulrich Drepper <drepper@gmail.com>
18179
356f8bc6
UD
18180 * version.h (RELEASE): Bump for 2.14 release.
18181 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18182
5b27a807
UD
18183 * config.make.in (RANLIB): Remove entry.
18184
01f16ab0
UD
181852011-05-30 Ulrich Drepper <drepper@gmail.com>
18186
41fce8bd
UD
18187 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18188 (libc.pot): Work around missing support for .ksh extension in xgettext.
18189
4769ae77
UD
18190 [BZ #12684]
18191 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18192 if both request failed.
18193 (send_dg): In case of server errors clear resplen or *resplen2.
18194
6b1e7d19
UD
18195 [BZ #12454]
18196 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18197 when there are multiple maps.
18198 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18199 (_dl_fini): Remove test here.
18200
01f16ab0
UD
18201 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18202
b1ebd700
UD
182032011-05-29 Ulrich Drepper <drepper@gmail.com>
18204
7ae22829
UD
18205 [BZ #12350]
18206 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18207 bit from old_res_options.
18208 (gaih_inet): Likewise.
18209
553149f6 18210 [BZ #11099]
18a84741 18211 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
18212 as signed.
18213
652ffab1
UD
18214 * resolv/res_init.c (res_setoptions): Make the code more compact.
18215
16985fd0
UD
18216 [BZ #11558]
18217 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18218 set RES_USEVC.
18219
0464f746
UD
18220 [BZ #11634]
18221 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18222
7d17596c
UD
18223 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18224
cf6bbbd7
UD
18225 [BZ #11781]
18226 * malloc/malloc.h: Declare malloc hook variables as volatile.
18227
13f1ab36
UD
18228 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18229 in last patch.
18230
b1ebd700
UD
18231 [BZ #11799]
18232 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 18233 raise in the comment.
80e2212d
UD
18234 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18235 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18236 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 18237
ce67228d
UD
182382011-05-28 Ulrich Drepper <drepper@gmail.com>
18239
8887a920
UD
18240 [BZ #12811]
18241 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18242 grow the buffers more if it already has to be sufficient.
18243 (build_wcs_upper_buffer): Likewise.
18244 * posix/regexec.c (check_matching): Likewise.
18245 (clean_state_log_if_needed): Likewise.
18246 (extend_buffers): Don't enlarge buffers beyond size of the input
18247 buffer.
18248 Patches mostly by Emil Wojak <emil@wojak.eu>.
18249 * posix/bug-regex32.c: New file.
18250 * posix/Makefile (tests): Add bug-regex32.
18251
4f031072
UD
18252 * locale/findlocale.c (_nl_find_locale): Return right away if
18253 _nl_explode_name failed.
18254 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18255
d0478f0c
UD
18256 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18257
de81b246
UD
18258 * debug/xtrace.sh: Unify messages.
18259 * malloc/memusage.sh: Likewise.
18260
c738465a
UD
18261 [BZ #12813]
18262 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18263 time symbol from vDSO. Substitute with vsyscall if not available.
18264 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18265 __vdso_time.
18266
f1f929d7
UD
18267 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18268 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18269 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18270 Add sendmmsg and internal_sendmmsg.
18271 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18272 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18273 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18274
ce67228d
UD
18275 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18276 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18277 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18278
e57420c6
UD
182792011-05-27 Ulrich Drepper <drepper@gmail.com>
18280
a8509ca5
UD
18281 [BZ #12813]
18282 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18283 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18284 available.
18285 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18286 __vdso_getcpu.
18287
e57420c6
UD
18288 [BZ #12814]
18289 * iconvdata/Makefile (tests): Add bug-iconv9.
18290 * iconvdata/bug-iconv9.c: New file.
18291
4d07db15
AS
182922011-05-27 Andreas Schwab <schwab@redhat.com>
18293
18294 [BZ #12814]
18295 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18296
ea486f69
JJ
182972011-05-25 Jakub Jelinek <jakub@redhat.com>
18298
18299 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18300 (struct user_regs_struct): Change intcs field back to cs.
18301
6f038433
UD
183022011-05-25 Ulrich Drepper <drepper@gmail.com>
18303
18304 * po/ja.po: Update from translation team.
18305
67f86a25
UD
183062011-05-23 Ulrich Drepper <drepper@gmail.com>
18307
18308 [BZ #12795]
18309 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18310 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18311
def7fbd6
AS
183122011-05-20 Andreas Schwab <schwab@redhat.com>
18313
18314 * stdlib/longlong.h: Update from GCC.
18315
f50ef8f1
AS
183162011-05-23 Andreas Schwab <schwab@redhat.com>
18317
18318 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18319 parameter name.
18320 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18321 Add parameter name.
18322 (__sysconf): Pass it down.
18323
de7ce8f1
UD
183242011-05-22 Ulrich Drepper <drepper@gmail.com>
18325
f2962a71
UD
18326 [BZ #12671]
18327 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18328 some situations.
18329 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18330 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18331 add in in __libc_use_alloca calls. Adjust callers.
18332 (glob): Use malloc in some situations.
18333
de7ce8f1
UD
18334 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18335 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18336 pltexit.
18337
aec84f53
UD
183382011-05-21 Ulrich Drepper <drepper@gmail.com>
18339
05bb4a68
UD
18340 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18341 and CLOCK_BOOTTIME_ALARM.
18342
7ea72f99
UD
18343 [BZ #12782]
18344 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18345 is returned.
18346
7e4afad5
UD
18347 * string/_strerror.c (__strerror_r): Print negative errors as signed
18348 numbers.
18349
8e211fec
UD
18350 [BZ #12777]
18351 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18352 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18353 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18354
f7d82dc9
UD
18355 * configure.in: Fix typo in redirection and correct removal of test
18356 files in two cases.
18357
cc9e536d
UD
18358 [BZ #12788]
18359 * locale/setlocale.c (new_composite_name): Fix test to check for
18360 identical name of all categories.
18361
aec84f53
UD
18362 [BZ #12792]
18363 * libio/filedoalloc.c (local_isatty): New function.
18364 (_IO_file_doallocate): Use local_isatty.
18365 * stdio-common/perror.c (perror): In case a new stream is used
18366 forward the stream error.
18367 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18368 error flag.
18369
78e64fdc
RT
183702011-05-20 Ulrich Drepper <drepper@gmail.com>
18371
34a9094f
UD
18372 [BZ #11869]
18373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18374 alloca.
18375 * include/alloca.h (extend_alloca_account): Define.
18376
78e64fdc
RT
18377 [BZ #11857]
18378 * posix/regex.h: Fix comments with documentation of user-accessible
18379 fields after compilation and describe correct free'ing of pattern
18380 after re_compile_pattern.
18381 Patch by Reuben Thomas <rrt@sc3d.org>.
18382
457bddfc
RA
183832011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18384
18385 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18386 and -mno-altivec to prevent the compiler from using Altivec and/or
18387 VSX instructions when the corresponding registers are not available.
18388
a4527b51
AS
183892011-05-19 Andreas Schwab <schwab@redhat.com>
18390
18391 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18392
ed690b2f
UD
183932011-05-19 Ulrich Drepper <drepper@gmail.com>
18394
18395 * libio/freopen.c (freopen): Use __dup2, not dup2.
18396 * libio/freopen64.c (freopen64): Likewise.
18397
8db73634
L
183982011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18399
18400 [BZ #12775]
18401 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18402 * math/Makefile (tests): Add test-powl.
18403 (CFLAGS-test-powl.c): Define.
18404 * math/test-powl.c: New file.
18405
0a197a9d
L
184062011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18407
18408 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18409
ee30c380
UD
184102011-05-17 Ulrich Drepper <drepper@gmail.com>
18411
18412 [BZ #11837]
18413 * iconvdata/gb18030.c: Update to GB18020-2005.
18414
6ce75379
UD
184152011-05-16 Ulrich Drepper <drepper@gmail.com>
18416
a4b89fd8
AR
18417 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18418 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18419 Patch by Aharon Robbins <arnold@skeeve.com>.
18420
ea389b12
UD
18421 [BZ #11892]
18422 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18423 on the stack.
18424
68a3f91f
UD
18425 [BZ #11895]
18426 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18427 through underflows.
18428
15cc7dd1
UD
18429 [BZ #12766]
18430 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18431 point to strings before performing equality test for error_one_per_line
18432 mode.
18433
f3799213
UD
18434 [BZ #11697]
18435 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18436
d79a9c94
UD
18437 [BZ #11820]
18438 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18439 (struct user_fpregs_struct): Avoid __uint*_t types.
18440
56e5eb46
UD
18441 [BZ #6420]
18442 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18443 symbol info. Use it instead of calling _dl_addr locally.
18444 (lock_and_info): New function.
18445 (tr_freehook): Call lock_and_info and pass symbol info as additional
18446 parameter to tr_where.
18447 (tr_mallochook): Likewise.
18448 (tr_reallochook): Likewise.
18449 (tr_memalignhook): Likewise.
18450
6ce75379
UD
18451 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18452 used and couldn't be at all thread-safe.
18453
f8a3b5bf
UD
184542011-05-15 Ulrich Drepper <drepper@gmail.com>
18455
94b7cc37
UD
18456 * libio/freopen.c (freopen): Don't close old file descriptor
18457 before the new one is opened. Instead dup the new file descriptor
18458 to the old one after the new stream is created.
18459 * libio/freopen64.c (freopen64): Likewise.
18460 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18461 * libio/fileops.c (_IO_new_file_close_it): Handle new
18462 _IO_FLAGS2_NOCLOSE flag.
18463 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18464 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18465 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18466 _IO_FLAGS2_NOCLOSE flag.
18467 * include/unistd.h: Add hidden_proto for dup3.
18468 Define __have_dup3.
18469 * io/dup3.c: Define hidden symbol.
18470 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18471
bd25564e
UD
18472 [BZ #7101]
18473 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18474 when an incomplete long option is used.
18475 * posix/tst-getopt_long1.c: New file.
18476 * posix/Makefile (tests): Add tst-getopt_long1.
18477
c84cfef4
UD
18478 [BZ #10138]
18479 * scripts/config.guess: Update from autoconf-2.68.
18480 * scripts/config.sub: Likewise.
18481
3b85df27
UD
18482 [BZ #10157]
18483 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18484 tests into ...
18485 (has_cpuclock): ...this. New function.
18486 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18487 macro here based on has_cpuclock code.
18488
15a856b1
UD
18489 [BZ #10149]
18490 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18491 First byte (not low byte) is now always NUL.
18492 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18493
05f399e6
UD
18494 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18495 Use non-cancelable interfaces.
18496
10a52685 18497 [BZ #9809]
94ecc67d
UD
18498 * locale/iso-639.def: Add entry for Sorani.
18499
f8a3b5bf
UD
18500 [BZ #11901]
18501 * include/stdlib.h: Move include protection to the right place.
18502 Define abort_msg_s. Declare __abort_msg with it.
18503 * stdlib/abort.c (__abort_msg): Adjust type.
18504 * assert/assert.c (__assert_fail_base): New function. Majority
18505 of code from __assert_fail. Allocate memory for __abort_msg with
18506 mmap.
18507 (__assert_fail): Now call __assert_fail_base.
18508 * assert/assert-perr.c: Remove bulk of implementation. Use
18509 __assert_fail_base.
18510 * include/assert.hL Declare __assert_fail_base.
18511 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18512 mmap.
18513 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18514
1af4e298
UD
185152011-05-14 Ulrich Drepper <drepper@gmail.com>
18516
f8a3b5bf 18517 [BZ #11952]
d26dfc60
MG
18518 [BZ #12453]
18519 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18520 until all modules are registered in the DTV.
18521 * elf/Makefile: Add rules to build and run tst-tls19.
18522 * elf/tst-tls19.c: New file.
18523 * elf/tst-tls19mod1.c: New file.
18524 * elf/tst-tls19mod2.c: New file.
18525 * elf/tst-tls19mod3.c: New file.
18526 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18527
2fc54d6f
UD
18528 [BZ #12083]
18529 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18530 correctly.
18531
98d76b46
UD
18532 [BZ #12601]
18533 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18534 two-byte sequence errors.
18535 * iconvdata/Makefile (tests): Add bug-iconv8.
18536 * iconvdata/bug-iconv8.c: New file.
18537
da3c19ef
UD
18538 [BZ #12626]
18539 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18540 buf2 definition.
18541
ca408c15
UD
18542 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18543
d6f67f7d
UD
18544 [BZ #12432]
18545 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18546 (dummy_getcfa): New function.
18547 (init): Get _Unwind_GetCFA address, use dummy if not found.
18548 (backtrace_helper): In recursion check, also check whether CFA changes.
18549 (__backtrace): Completely initialize arg.
18550
1af4e298 18551 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18552 storing incomplete byte sequence in state object. Avoid testing for
18553 guaranteed too small input if we know there is enough data available.
1af4e298 18554
da62f81b
AS
185552011-05-11 Andreas Schwab <schwab@redhat.com>
18556
18557 * Makeconfig (+link-pie): Indent.
18558 * Rules (binaries-pie): Define if $(have-fpie) and
18559 $(build-shared).
18560 (binaries-shared): Also filter out $(binaries-pie).
18561 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18562 * nscd/Makefile (others-pie): Add nscd.
18563 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18564 ($(objpfx)nscd): Remove command override.
18565 * login/Makefile (others-pie): Add pt_chown.
18566 ($(objpfx)pt_chown): Remove command override.
18567 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18568 remove command overrides.
18569
fcabc0f8
UD
185702011-05-13 Ulrich Drepper <drepper@gmail.com>
18571
20030ae6
UD
18572 * libio/tst_putwc.c: Fix error messages.
18573
fcabc0f8
UD
18574 [BZ #12724]
18575 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18576 currently writing and seek to current position when not.
18577 * libio/Makefile (tests): Add bug-fclose1.
18578 * libio/bug-fclose1.c: New file.
18579
320a5dc0
PB
185802011-05-12 Ulrich Drepper <drepper@gmail.com>
18581
18582 [BZ #12511]
18583 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18584 don't set DF_1_NODELETE here.
18585 (do_lookup_x): When entering new entry test for copy relocation
18586 and if necessary set DF_1_NODELETE flag.
18587 * elf/tst-unique4.cc: New file.
18588 * elf/tst-unique4.h: New file.
18589 * elf/tst-unique4lib.cc: New file.
18590 * elf/Makefile: Add rules to build and run tst-unique4.
18591 Patch by Piotr Bury <pbury@goahead.com>.
18592
22836f52
UD
185932011-05-11 Ulrich Drepper <drepper@gmail.com>
18594
f574184a
UD
18595 [BZ #12052]
18596 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18597
e1fb097f
UD
18598 [BZ #12625]
18599 * misc/mntent_r.c (addmntent): Flush the stream after the output
18600
22836f52
UD
18601 [BZ #12393]
18602 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18603 (is_trusted_path_normalize): Skip initial colon. Append slash
18604 to empty buffer. Duplicate is_trusted_path code but allow
18605 constructed patch to be prefix.
18606 (is_dst): Allow $ORIGIN followed by /.
18607 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18608 Correct testing of result of is_trusted_path_normalize
18609 (decompose_rpath): Fix warning.
18610
7b3b0b2a
UD
186112011-05-10 Ulrich Drepper <drepper@gmail.com>
18612
18613 [BZ #11257]
18614 * grp/initgroups.c (internal_getgrouplist): When we found the service
18615 list through the initgroups entry in nsswitch.conf do not always
18616 continue on a successful lookup. Don't always use the
eac80ce2 18617 __nss_group_database value if it is set.
7b3b0b2a
UD
18618 * nss/nsswitch.conf (initgroups): Change action for successful db
18619 lookup to continue for compatibility.
18620
2a81eaa5
UD
186212011-05-09 Ulrich Drepper <drepper@gmail.com>
18622
be97a69e
UD
18623 [BZ #11532]
18624 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18625 and CP774 modules.
18626 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18627 and CP774 modules.
18628 * iconvdata/tst-tables.sh: Likewise.
18629 * iconvdata/cp770.c: New file.
18630 * iconvdata/cp771.c: New file.
18631 * iconvdata/cp772.c: New file.
18632 * iconvdata/cp773.c: New file.
18633 * iconvdata/cp774.c: New file.
18634 * iconvdata/testdata/CP770: New file.
18635 * iconvdata/testdata/CP770..UTF8: New file.
18636 * iconvdata/testdata/CP771: New file.
18637 * iconvdata/testdata/CP771..UTF8: New file.
18638 * iconvdata/testdata/CP772: New file.
18639 * iconvdata/testdata/CP772..UTF8: New file.
18640 * iconvdata/testdata/CP773: New file.
18641 * iconvdata/testdata/CP773..UTF8: New file.
18642 * iconvdata/testdata/CP774: New file.
18643 * iconvdata/testdata/CP774..UTF8: New file.
18644
18645 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18646 END CHARMAP line.
18647 * iconvdata/gen-8bit-gap.sh: Likewise.
18648 * iconvdata/gen-8bit.sh: Likewise.
18649
c1e9e399
UD
18650 * locale/iso-639.def: Add ary entry.
18651
24c55fb3 18652 [BZ #11258]
96b4b1b0
UD
18653 * locale/C-translit.h.in: Add U20A1 transliteration.
18654
bdc2f971
KB
18655 [BZ #12178]
18656 * locale/iso-639.def: Add wae entry.
18657 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18658
2952b117
UD
18659 [BZ #12545]
18660 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18661 for n.
18662
2a81eaa5
UD
18663 [BZ #12711]
18664 * locale/C-translit.h.in: Add entry for U20B9.
18665 Patch by pravin.d.s@gmail.com.
18666
28377d1b
UD
186672011-05-08 Ulrich Drepper <drepper@gmail.com>
18668
7fb90fb8
UD
18669 [BZ #12713]
18670 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18671 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18672 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18673 in rtld. Use *stat64.
7fb90fb8 18674 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18675 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18676 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18677 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18678 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18679 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18680 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18681 __fstatat64 macros.
7fb90fb8
UD
18682 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18683 * dirent/rewinddir.c: Add libc_hidden_def.
18684 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18685 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18686
28377d1b
UD
18687 * include/dirent.h (__alloc_dir): Add flags parameter.
18688 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18689 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18690 __alloc_dir.
18691 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18692 from fdopendir if O_CLOEXEC is already set.
18693
66bdbaa4
AM
186942011-03-15 Alan Modra <amodra@gmail.com>
18695
18696 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18697 l_tls_firstbyte_offset non-zero. Save padding offset in
18698 l_tls_firstbyte_offset for later use.
18699 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18700 freeing static tls block.
18701
95721191
JN
187022011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18703
18704 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18705 where #ifdef was intended. The intent is to prevent ARG_MAX from
18706 being defined by the kernel headers.
18707
f87dfb1f
UD
187082011-05-07 Ulrich Drepper <drepper@gmail.com>
18709
18710 [BZ #12734]
18711 * resolv/resolv.h: Define RES_NOTLDQUERY.
18712 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18713 no-tld-query and set RES_NOTLDQUERY.
18714 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18715 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18716 modern BIND to search name as TLD unless forbidden.
18717
47c3cd7a
UD
187182011-05-07 Petr Baudis <pasky@suse.cz>
18719 Ulrich Drepper <drepper@gmail.com>
18720
18721 [BZ #12393]
18722 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18723 (is_trusted_path): ...to here.
c1e9ea35 18724 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18725 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18726 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18727
8a35c912
PP
187282011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18729
18730 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18731 __BEGIN/__END_DECLS.
18732
acd41f47
UD
187332011-05-06 Ulrich Drepper <drepper@gmail.com>
18734
18735 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18736 NSS_STATUS_NOTFOUND if no record was found.
18737
597df647
AS
187382011-05-05 Andreas Schwab <schwab@redhat.com>
18739
18740 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18741 (headers-not-in-tirpc): Remove rpc/netdb.h
18742 * resolv/netdb.h: Revert last change.
18743
b9af1301
PP
187442011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18745
18746 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18747 circular dependency between libgcc.a and libc.a.
18748
4e34d5f5
AS
187492011-05-05 Andreas Schwab <schwab@redhat.com>
18750
18751 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18752 * nis/Makefile: Don't install rpcsvc/*.
18753 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18754 instead of <rpc/types.h>.
18755 (MAXHOSTNAMELEN): Define.
18756
00ee369c
AS
187572011-05-03 Andreas Schwab <schwab@redhat.com>
18758
18759 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18760
0b592a30
MB
187612011-04-28 Maciej Babinski <mbabinski@google.com>
18762
18763 [BZ #12714]
18764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18765 gethostbyname4_r when IPv6 results are possible.
18766
6e04cbbe
UD
187672011-05-02 Ulrich Drepper <drepper@gmail.com>
18768
18769 [BZ #12723]
18770 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18771 _PC_PIPE_BUF handling.
18772
e4ecafe0
BH
187732011-04-30 Bruno Haible <bruno@clisp.org>
18774
18775 [BZ #12717]
18776 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18777 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18778 to 'int'.
18779 * inet/getnameinfo.c (getnameinfo): Likewise.
18780
125ee683
UD
187812011-04-29 Ulrich Drepper <drepper@gmail.com>
18782
18783 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18784 to groups setting in database lookup.
18785 * nss/nsswitch.conf: Add initgroups entry.
18786
b722481a
EB
187872011-04-22 Ulrich Drepper <drepper@gmail.com>
18788
18789 [BZ #12685]
18790 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18791 mode string.
18792 Patch by Eric Blake <eblake@redhat.com>.
18793
4df46dbd
L
187942011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18795
18796 * sunrpc/Makefile (need-export-routines): Add svc_run.
18797 (routines): Remove svc_run.
18798 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18799 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18800 * sunrpc/svc_run.c (svc_run): Likewise.
18801 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18802
e84142d2
UD
188032011-04-21 Ulrich Drepper <drepper@gmail.com>
18804
18805 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18806 problem in reallocation in last patch.
18807
877175d8
UD
188082011-04-20 Ulrich Drepper <drepper@gmail.com>
18809
18810 * sunrpc/Makefile: Move inclusion of Rules.
18811
ab8eed78
UD
188122011-04-19 Ulrich Drepper <drepper@gmail.com>
18813
18814 * nss/nss_files/files-initgroups.c: New file.
18815 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18816 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18817 _nss_files_initgroups_dyn.
18818
e3d8f584
RS
188192011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18820
18821 * elf/elf.h (R_ARM_IRELATIVE): Define.
18822
af190f45
UD
188232011-04-19 Ulrich Drepper <drepper@gmail.com>
18824
18825 * po/ru.po: Update from translation team.
18826
53cf59ef
UD
188272011-04-17 Ulrich Drepper <drepper@gmail.com>
18828
18829 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18830 dependencies.
18831
4c559bcd
MF
188322011-02-06 Mike Frysinger <vapier@gentoo.org>
18833
18834 [BZ #12653]
18835 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18836 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18837 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18838 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18839 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18840
4420675c
AS
188412011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18842
18843 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18844 differing bytes.
18845 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18846 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18847 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18848
75ea32ab
UD
188492011-04-17 Ulrich Drepper <drepper@gmail.com>
18850
18851 [BZ #12420]
18852 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18853 storing it.
18854 * stdlib/bug-getcontext.c: New file.
18855 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18856
27390476
AK
188572011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18858
18859 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18860 instructions into .machine "z9-109".
18861 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18862 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18863
10442705
AK
188642011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18865
18866 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18867 between environment variables and auxiliary vector.
18868
7b57bfe5
UD
188692011-04-16 Ulrich Drepper <drepper@gmail.com>
18870
18871 * Makefile: Add rules to build linkobj/libc.so.
18872 * include/libc-symbols.h: Define libc_hidden_nolink.
18873 * include/rpc/auth.h: Mark functions which are to be hidden.
18874 * include/rpc/auth_des.h: Likewise.
18875 * include/rpc/auth_unix.h: Likewise.
18876 * include/rpc/clnt.h: Likewise.
18877 * include/rpc/des_crypt.h: Likewise.
18878 * include/rpc/key_prot.h: Likewise.
18879 * include/rpc/pmap_clnt.h: Likewise.
18880 * include/rpc/pmap_prot.h: Likewise.
18881 * include/rpc/pmap_rmt.h: Likewise.
18882 * include/rpc/rpc_msg.h: Likewise.
18883 * include/rpc/svc.h: Likewise.
18884 * include/rpc/svc_auth.h: Likewise.
18885 * include/rpc/xdr.h: Likewise.
18886 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18887 * nss/Makefile: Likewise.
18888 * sunrpc/Makefile: Don't install headers. Build library with normal
18889 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18890 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18891 for the compat linking library. Remove use of INTDEF/INTUSE.
18892 * sunrpc/auth_none.c: Likewise.
18893 * sunrpc/auth_unix.c: Likewise.
18894 * sunrpc/authdes_prot.c: Likewise.
18895 * sunrpc/authuxprot.c: Likewise.
18896 * sunrpc/clnt_gen.c: Likewise.
18897 * sunrpc/clnt_perr.c: Likewise.
18898 * sunrpc/clnt_raw.c: Likewise.
18899 * sunrpc/clnt_simp.c: Likewise.
18900 * sunrpc/clnt_tcp.c: Likewise.
18901 * sunrpc/clnt_udp.c: Likewise.
18902 * sunrpc/clnt_unix.c: Likewise.
18903 * sunrpc/des_crypt.c: Likewise.
18904 * sunrpc/des_soft.c: Likewise.
18905 * sunrpc/get_myaddr.c: Likewise.
18906 * sunrpc/key_call.c: Likewise.
18907 * sunrpc/key_prot.c: Likewise.
18908 * sunrpc/netname.c: Likewise.
18909 * sunrpc/pm_getmaps.c: Likewise.
18910 * sunrpc/pm_getport.c: Likewise.
18911 * sunrpc/pmap_clnt.c: Likewise.
18912 * sunrpc/pmap_prot.c: Likewise.
18913 * sunrpc/pmap_prot2.c: Likewise.
18914 * sunrpc/pmap_rmt.c: Likewise.
18915 * sunrpc/publickey.c: Likewise.
18916 * sunrpc/rpc_cmsg.c: Likewise.
18917 * sunrpc/rpc_common.c: Likewise.
18918 * sunrpc/rpc_dtable.c: Likewise.
18919 * sunrpc/rpc_prot.c: Likewise.
18920 * sunrpc/rpc_thread.c: Likewise.
18921 * sunrpc/rtime.c: Likewise.
18922 * sunrpc/svc.c: Likewise.
18923 * sunrpc/svc_auth.c: Likewise.
18924 * sunrpc/svc_authux.c: Likewise.
18925 * sunrpc/svc_raw.c: Likewise.
18926 * sunrpc/svc_run.c: Likewise.
18927 * sunrpc/svc_simple.c: Likewise.
18928 * sunrpc/svc_tcp.c: Likewise.
18929 * sunrpc/svc_udp.c: Likewise.
18930 * sunrpc/svc_unix.c: Likewise.
18931 * sunrpc/svcauth_des.c: Likewise.
18932 * sunrpc/xcrypt.c: Likewise.
18933 * sunrpc/xdr.c: Likewise.
18934 * sunrpc/xdr_array.c: Likewise.
18935 * sunrpc/xdr_float.c: Likewise.
18936 * sunrpc/xdr_intXX_t.c: Likewise.
18937 * sunrpc/xdr_mem.c: Likewise.
18938 * sunrpc/xdr_rec.c: Likewise.
18939 * sunrpc/xdr_ref.c: Likewise.
18940 * sunrpc/xdr_sizeof.c: Likewise.
18941 * sunrpc/xdr_stdio.c: Likewise.
18942
e6c61494
UD
189432011-04-10 Ulrich Drepper <drepper@gmail.com>
18944
18945 [BZ #12650]
18946 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18947 * sysdeps/ia64/dl-tls.h: Likewise.
18948 * sysdeps/powerpc/dl-tls.h: Likewise.
18949 * sysdeps/s390/dl-tls.h: Likewise.
18950 * sysdeps/sh/dl-tls.h: Likewise.
18951 * sysdeps/sparc/dl-tls.h: Likewise.
18952 * sysdeps/x86_64/dl-tls.h: Likewise.
18953 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18954
34fe483e
AS
189552011-03-14 Andreas Schwab <schwab@redhat.com>
18956
18957 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18958 rpath element also skip the following colon.
18959 (expand_dynamic_string_token): Add is_path parameter and pass
18960 down to DL_DST_REQUIRED and _dl_dst_substitute.
18961 (decompose_rpath): Call expand_dynamic_string_token with
18962 non-zero is_path. Ignore empty rpaths.
18963 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18964 with zero is_path.
18965
f12a32e6
AS
189662011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18967
18968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18969 Make cancelable.
18970
38a7d692
UD
189712011-04-09 Ulrich Drepper <drepper@gmail.com>
18972
18973 [BZ #12655]
18974 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18975 Patch by Filipe David Manana <fdmanana@apache.org>.
18976
e451d22b
AS
189772011-04-07 Andreas Schwab <schwab@redhat.com>
18978
18979 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18980 Maintain aligned stack.
18981 (CHECK_RSP): Remove unused macro.
18982
dedc7c7b
UD
189832011-04-03 Ulrich Drepper <drepper@gmail.com>
18984
18985 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18986 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18987
94521213
UD
189882011-04-02 Ulrich Drepper <drepper@gmail.com>
18989
18990 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18991
8cb700c0 18992 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18993
0354e355
L
189942011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18995
18996 [BZ #12518]
18997 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18998 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18999 * sysdeps/x86_64/memmove.c: New file.
19000 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19001 (memcpy): Renamed to ...
19002 (__new_memcpy): This.
19003 (memcpy): Provide GLIBC_2_14 memcpy.
19004 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19005 (memcpy): Provide GLIBC_2_2_5 memcpy.
19006
8593482f
UD
190072011-04-01 Ulrich Drepper <drepper@gmail.com>
19008
19009 [BZ #12631]
19010 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19011
81a5726b
AS
190122011-03-30 Andreas Schwab <schwab@redhat.com>
19013
19014 * misc/syncfs.c: New file.
19015 * misc/Makefile (routines): Add syncfs.
19016 * posix/unistd.h: Declare syncfs.
19017 * sysdeps/unix/syscalls.list: Add syncfs.
19018
00e5419f
AS
190192011-04-01 Andreas Schwab <schwab@redhat.com>
19020
19021 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19022 open_by_handle_at.
19023 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19024 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19025 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19026 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19028 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19029 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19030
748876bf
UD
190312011-04-01 Ulrich Drepper <drepper@gmail.com>
19032
658e451d
UD
19033 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19034 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19035 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19036 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19037 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19038 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19039 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19040
748876bf
UD
19041 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19042 sync_file_range.c with -fexceptions.
19043 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19044 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19045 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19046 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19047 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19048 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19049 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
19050 sync_file_range as cancellation point
19051 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19052 now a wrapper around __call_sync_file_range with cancellation handling.
19053 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19054 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19055 function name to __call_sync_file_range.
19056 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19057 Add call_sync_file_range.
748876bf 19058
6e63d5e1
AS
190592011-04-01 Andreas Schwab <schwab@redhat.com>
19060
19061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 19062 bits/timex.h.
6e63d5e1 19063
46998f74
UD
190642011-04-01 Ulrich Drepper <drepper@gmail.com>
19065
4c1423ed
UD
19066 * iconv/iconv.h: Fix typo in comment.
19067 * io/fcntl.h: Likewise.
19068 * libio/stdio.h: Likewise.
19069 * posix/spawn.h: Likewise.
19070 * posix/unistd.h: Likewise.
19071 * stdlib/stdlib.h: Likewise.
19072 * time/time.h: Likewise.
19073 * wcsmbs/wchar.h: Likewise.
19074
158648c0
UD
19075 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19076 open_by_handle): Add.
19077 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19078 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19079 Augment a few comments.
19080 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19081 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19082 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19084 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19085 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19086 open_by_handle.
19087
46998f74
UD
19088 * io/fcntl.h (AT_EMPTY_PATH): Define.
19089
83fe108b
UD
190902011-03-30 Ulrich Drepper <drepper@gmail.com>
19091
19092 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19093 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19094 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19095 to...
19096 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
19097 * Versions.def: Add GLIBC_2.14.
19098 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19099 Export.
83fe108b 19100
bb242059
UD
191012011-03-22 Ulrich Drepper <drepper@gmail.com>
19102
19103 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19104 round counter.
19105 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19106
c97a1282
L
191072011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19108
19109 [BZ #12597]
19110 * string/test-strncmp.c (do_page_test): New function.
19111 (check2): Likewise.
19112 (test_main): Call check2.
19113 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19114
2a115601
UD
191152011-03-20 Ulrich Drepper <drepper@gmail.com>
19116
19117 [BZ #12587]
19118 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19119 Handle cache information in CPU leaf 4.
19120 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19121
8126d904
UD
191222011-03-18 Ulrich Drepper <drepper@gmail.com>
19123
042c49c6 19124 [BZ #12583]
8126d904
UD
19125 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19126 character representation.
19127 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19128
ccfe366e
RA
191292011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19130
19131 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19132 END(__isnan) to END(__isnanf) to match function entry point/label
19133 EALIGN(__isnanf,...).
19134
c6e13027
JJ
191352011-03-10 Jakub Jelinek <jakub@redhat.com>
19136
19137 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19138
33f85a3f
UD
191392011-03-10 Ulrich Drepper <drepper@gmail.com>
19140
028478fa
UD
19141 [BZ #12510]
19142 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19143 copy from the symbol referenced in the relocation to initialize the
19144 used variable.
19145 Patch by Piotr Bury <pbury@goahead.com>.
19146 * elf/Makefile: Add rules to build and tst-unique3.
19147 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19148 * elf/tst-unique3.cc: New file.
19149 * elf/tst-unique3.h: New file.
19150 * elf/tst-unique3lib.cc: New file.
19151 * elf/tst-unique3lib2.cc: New file.
19152
33f85a3f
UD
19153 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19154
03592fc7
MF
191552011-03-10 Mike Frysinger <vapier@gentoo.org>
19156
19157 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19158 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19159 to _start.
03592fc7 19160
6a5ee102
UD
191612011-03-06 Ulrich Drepper <drepper@gmail.com>
19162
19163 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19164 to-be-loaded object along a path to loader is ld.so.
19165
7e4ba49c
HJ
191662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19167 Ulrich Drepper <drepper@gmail.com>
19168
19169 * sysdeps/x86_64/memset.S: After aligning destination, code
19170 branches to different locations depending on the value of
19171 misalignment, when multiarch is enabled. Fix this.
19172
191732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19174
19175 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19176 Set _x86_64_preferred_memory_instruction for AMD processsors.
19177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19178 Set bit_Prefer_SSE_for_memop for AMD processors.
19179
13a804de
UD
191802011-03-04 Ulrich Drepper <drepper@gmail.com>
19181
19182 * libio/fmemopen.c (fmemopen): Optimize a bit.
19183
9d25c392
AS
191842011-03-03 Andreas Schwab <schwab@redhat.com>
19185
19186 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19187
a5543c6a
RM
191882011-03-03 Roland McGrath <roland@redhat.com>
19189
19190 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19191
012d35f7
DM
191922011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19193
7e4ba49c 19194 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
19195 __bzero_ultra1 instead of __memset_ultra1.
19196
4bff6e01
AS
191972011-02-23 Andreas Schwab <schwab@redhat.com>
19198 Ulrich Drepper <drepper@gmail.com>
19199
19200 [BZ #12509]
19201 * include/link.h (struct link_map): Add l_orig_initfini.
19202 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19203 returning unsuccessfully.
19204 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19205 close of a file loaded at startup, restore the original l_initfini
19206 list.
19207 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19208 list, store the pointer.
19209 * elf/Makefile ($(objpfx)noload-mem): New rule.
19210 (noload-ENV): Define.
19211 (tests): Add $(objpfx)noload-mem.
19212 * elf/noload.c: Include <memcheck.h>.
19213 (main): Call mtrace. Close all opened handles.
19214
f2092faf
AS
192152011-02-17 Andreas Schwab <schwab@redhat.com>
19216
19217 [BZ #12454]
19218 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19219 dependencies are missing.
19220
6c8a2e88
ST
192212011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19222
f2092faf 19223 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
19224 Hurd needs munmap.
19225 * sysdeps/mach/hurd/ifreq.h: New file.
19226
84a42118
PB
192272011-01-27 Petr Baudis <pasky@suse.cz>
19228 Ulrich Drepper <drepper@gmail.com>
19229
071f805e 19230 [BZ 12445]#
84a42118
PB
19231 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19232 to extend_alloca().
19233 * stdio-common/bug23.c: New file.
19234 * stdio-common/Makefile (tests): Add bug23.
19235
e23fe25b
AS
192362010-09-28 Andreas Schwab <schwab@redhat.com>
19237 Ulrich Drepper <drepper@gmail.com>
19238
19239 [BZ #12489]
19240 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19241 before performing relro protection. At old place add assertion
19242 to make sure nothing changed.
19243
d3f02e10
NS
192442011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19245 Glauber de Oliveira Costa <glommer@gmail.com>
19246
19247 * elf/elf.h: Add new ARM TLS relocs.
19248
d55fd7a5
RA
192492011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19250
19251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19252 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19253 cast from r3.
19254 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19255 'tests' variable.
19256 * sysdeps/wordsize-64/tst-writev.c: New file.
19257
2206397e
RA
192582011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19259
19260 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19261 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19262 insns in _dl_start to prevent a TOC reference before relocs are
19263 resolved.
19264
e9433893
UD
192652011-02-15 Ulrich Drepper <drepper@gmail.com>
19266
19267 [BZ #12469]
19268 * Makeconfig: Remove RANLIB definition.
19269 * Makerules: Don't use RANLIB.
19270 * aclocal.m4: Remove ranlib test.
19271 * configure.in: No need to check for ranlib.
19272 * elf/rtld-Rules: Don't use RANLIB.
19273
f75286c6
ST
192742011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19275
8e31c82d
ST
19276 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19277 protection macro.
19278 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19279 inclusion protection macro.
19280
f75286c6
ST
19281 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19282 SIGRTMIN and SIGRTMAX and print information in that case only when
19283 SIGRTMIN is defined.
19284
c1d0e639
JJ
192852011-02-11 Jakub Jelinek <jakub@redhat.com>
19286
19287 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19288 arginfo fn returning -1.
19289
19290 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19291 and thousands string is zero terminated.
19292
edf9294e
AS
192932011-02-03 Andreas Schwab <schwab@redhat.com>
19294
19295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19296 sysdeps/unix/sysv/linux/bits/socket.h.
19297
2b7e92df
ST
192982011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19299
edf9294e
AS
19300 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19301 (__CPU_COUNT): Remove old macros.
19302 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19303 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19304 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
19305 (__sched_cpualloc, __sched_cpufree): Add declarations.
19306
a4c7ea7b
UD
193072011-02-05 Ulrich Drepper <drepper@gmail.com>
19308
19309 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19310 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19311 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19312 (readdhstai): Return value of addhstaiX call.
19313 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19314 (addgrbyX): Return value returned by cache_addgr.
19315 (readdgrbyname): Return value returned by addgrbyX.
19316 (readdgrbygid): Likewise.
19317 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19318 (addpwbyX): Return value returned by cache_addpw.
19319 (readdpwbyname): Return value returned by addhstbyX.
19320 (readdpwbyuid): Likewise.
19321 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19322 (addservbyX): Return value returned by cache_addserv.
19323 (readdservbyname): Return value returned by addservbyX:
19324 (readdservbyport): Likewise.
19325 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19326 (addhstbyX): Return value returned by cache_addhst.
19327 (readdhstbyname): Return value returned by addhstbyX.
19328 (readdhstbyaddr): Likewise.
19329 (readdhstbynamev6): Likewise.
19330 (readdhstbyaddrv6): Likewise.
19331 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19332 (readdinitgroups): Return value returned by addinitgroupsX.
19333 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19334 (prune_cache): Keep track of timeout value of re-added entries.
19335 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19336 * nscd/nscd.h: Adjust prototypes of readd* functions.
19337
a0bf67cc
RM
193382011-02-04 Roland McGrath <roland@redhat.com>
19339
19340 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19341 (nis_stats): Likewise.
19342 * nis/nis_modify.c (nis_modify): Likewise.
19343 * nis/nis_remove.c (nis_remove): Likewise.
19344 * nis/nis_add.c (nis_add): Likewise.
19345
19346 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19347
19348 * posix/fnmatch_loop.c: Add some consts.
19349
19350 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19351
435b95eb
L
193522011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19353
19354 [BZ #12460]
19355 * config.make.in (config-cflags-novzeroupper): Define.
19356 * configure.in: Substitute libc_cv_cc_novzeroupper.
19357 * elf/Makefile (AVX-CFLAGS): Define.
19358 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19359 (CFLAGS-tst-auditmod4a.c): Likewise.
19360 (CFLAGS-tst-auditmod4b.c): Likewise.
19361 (CFLAGS-tst-auditmod6b.c): Likewise.
19362 (CFLAGS-tst-auditmod6c.c): Likewise.
19363 (CFLAGS-tst-auditmod7b.c): Likewise.
19364 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19365
8517b15e
UD
193662011-02-02 Ulrich Drepper <drepper@gmail.com>
19367
19368 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19369 function to the callback.
19370 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19371
10a656fe
AS
193722011-02-02 Andreas Schwab <schwab@redhat.com>
19373
19374 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19375 of errno.
19376
968dad0a
UD
193772011-01-19 Ulrich Drepper <drepper@gmail.com>
19378
9f94d2ea 19379 [BZ #11724]
968dad0a
UD
19380 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19381 of constructors.
19382 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19383 of destructors.
19384 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19385
19386 [BZ #11724]
19387 * elf/Makefile: Add rules to build and run new test.
19388 * elf/tst-initorder.c: New file.
19389 * elf/tst-initorder.exp: New file.
19390 * elf/tst-initordera1.c: New file.
19391 * elf/tst-initordera2.c: New file.
19392 * elf/tst-initordera3.c: New file.
19393 * elf/tst-initordera4.c: New file.
19394 * elf/tst-initorderb1.c: New file.
19395 * elf/tst-initorderb2.c: New file.
19396 * elf/tst-order-a1.c: New file.
19397 * elf/tst-order-a2.c: New file.
19398 * elf/tst-order-a3.c: New file.
19399 * elf/tst-order-a4.c: New file.
19400 * elf/tst-order-b1.c: New file.
19401 * elf/tst-order-b2.c: New file.
19402 * elf/tst-order-main.c: New file.
19403 New test case by George Gensure <werkt0@gmail.com>.
19404
86e92359
UD
194052010-10-01 Andreas Schwab <schwab@redhat.com>
19406
19407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19408 decoding ACE if AI_CANONIDN.
19409
5d5732b0
UD
194102011-01-18 Ulrich Drepper <drepper@gmail.com>
19411
19412 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19413
a77e8cbc
UD
194142011-01-17 Ulrich Drepper <drepper@gmail.com>
19415
6392473f
UD
19416 * version.h (RELEASE): Bump for 2.13 release.
19417 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19418
620a0529
UD
19419 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19420
18ba70a5
UD
19421 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19422 MADV_NOHUGEPAGE.
32465c3e
UD
19423 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19424 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19425 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19426 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19427 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19428 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19429
c0dafcf1
UD
19430 * posix/getconf.c: Update copyright year.
19431 * catgets/gencat.c: Likewise.
19432 * csu/version.c: Likewise.
19433 * debug/catchsegv.sh: Likewise.
19434 * debug/xtrace.sh: Likewise.
19435 * elf/ldconfig.c: Likewise.
19436 * elf/ldd.bash.in: Likewise.
19437 * elf/sprof.c (print_version): Likewise.
19438 * iconv/iconv_prog.c: Likewise.
19439 * iconv/iconvconfig.c: Likewise.
19440 * locale/programs/locale.c: Likewise.
19441 * locale/programs/localedef.c: Likewise.
19442 * malloc/memusage.sh: Likewise.
19443 * malloc/mtrace.pl: Likewise.
19444 * nscd/nscd.c (print_version): Likewise.
19445 * nss/getent.c: Likewise.
19446
a77e8cbc
UD
19447 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19448 PF_CAIF, and PF_ALG.
19449 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19450
77e8bddf
AS
194512011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19452
1f20b93a
AS
19453 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19454 (modules-names): Use them.
19455 (ifunc-test-modules, ifunc-pie-tests): Define.
19456 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19457 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19458 (test-extras): Likewise.
19459 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19460 $(compile-command.c).
19461 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19462 (all-built-dso): Define.
19463 (check-textrel.out, check-execstack.out): Depend on it.
19464
77e8bddf
AS
19465 * configure.in: Don't override --enable-multi-arch.
19466
bc425b33
UD
194672011-01-15 Ulrich Drepper <drepper@gmail.com>
19468
19469 [BZ #6812]
19470 * nscd/hstcache.c (tryagain): Define.
19471 (cache_addhst): Return tryagain not notfound for temporary errors.
19472 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19473 failed.
19474
794c3ad3
UD
194752011-01-14 Ulrich Drepper <drepper@gmail.com>
19476
70181fdd
UD
19477 [BZ #10563]
19478 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19479 to make the syscall.
19480 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19481
794c3ad3
UD
19482 [BZ #12378]
19483 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19484 and fall back to matching as normal character if the string ends before
19485 the matching ']' is found. This is what POSIX requires.
19486 * posix/testfnm.c: Adjust test result.
19487 * posix/globtest.sh: Adjust test result. Add new test.
19488 * posix/tst-fnmatch.input: Likewise.
19489 * posix/tst-fnmatch2.c: Add new test.
19490
68dc9497
AS
194912010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19492
19493 * elf/Makefile (check-execstack): Revert last change. Depend on
19494 check-execstack.h.
19495 (check-execstack.h): New target.
19496 (generated): Add check-execstack.h.
19497 * elf/check-execstack.c: Include "check-execstack.h".
19498 (main): Revert last change.
19499 (handle_file): Return zero if GNU_STACK is absent and
19500 DEFAULT_STACK_PERMS doesn't include PF_X.
19501
451f001b
UD
195022011-01-13 Ulrich Drepper <drepper@gmail.com>
19503
cfa28e56
UD
19504 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19505 in child fails because the descriptor is already closed.
8cf8ce17
UD
19506 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19507 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19508 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19509
1086d70d
UD
19510 [BZ #12397]
19511 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19512 syscall.
19513
451f001b
UD
19514 [BZ #10484]
19515 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19516 temporary buffer used to handle multi lookups locally.
a85b5cb4 19517 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19518
08769175
UD
195192011-01-12 Ulrich Drepper <drepper@gmail.com>
19520
19521 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19522 loader is ld.so.
19523
5e49c52e
UD
195242011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19525
19526 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19527 alignment for SSE2.
19528
60522a5f
UD
195292011-01-12 Ulrich Drepper <drepper@gmail.com>
19530
19531 [BZ #12394]
19532 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19533 characters. When rounding increased number of integer digits recompute
19534 number of groups.
19535 * stdio-common/tst-grouping.c: New file.
19536 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19537
f257bbd7
UD
195382011-01-09 Ulrich Drepper <drepper@gmail.com>
19539
19540 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19541 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19542
19543 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19544 void.
19545 * bits/select.h: Likewise.
19546
fa9c15cb
UD
195472011-01-08 Ulrich Drepper <drepper@gmail.com>
19548
19549 * po/ja.po: Update from translation team.
19550
16c2895f
DM
195512011-01-04 David S. Miller <davem@sunset.davemloft.net>
19552
19553 [BZ #11155]
19554 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19555 implementation just like for lxstat, fxstatat, et al.
19556
2543fef2
JM
195572010-12-27 Jim Meyering <meyering@redhat.com>
19558
19559 [BZ #12348]
19560 * posix/regexec.c (build_trtable): Return failure indication upon
19561 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19562
98727dbe
UD
195632010-12-25 Ulrich Drepper <drepper@gmail.com>
19564
5bd6dc5c
UD
19565 [BZ #12201]
19566 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19567 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19568 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19569 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19570
97983464
UD
19571 [BZ #12207]
19572 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19573
98727dbe
UD
19574 [BZ #12204]
19575 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19576 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19577
4a531bb0
L
195782010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19579
19580 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19581 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19582 script has SORT_BY_INIT_PRIORITY.
19583 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19584 NO_CTORS_DTORS_SECTIONS is defined.
19585 * elf/soinit.c: Likewise.
19586 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19587 NO_CTORS_DTORS_SECTIONS is defined.
19588 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19589 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19590 * sysdeps/sh/init-first.c: Likewise.
19591 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19592
07eb4b71
UD
195932010-12-24 Ulrich Drepper <drepper@gmail.com>
19594
19595 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19596 always use the slow path.
19597
30950a5f
RA
195982010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19599
19600 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19601 similar rule which adds the sysdep directories to the header search in
19602 order to pick up the correct platform stackinfo.h.
19603 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19604 perform test if it is, otherwise return successfully without testing.
19605 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19606 DEFAULT_STACK_PERMS define in stackinfo.h.
19607 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19608 defined in stackinfo.h.
19609 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19610 DEFAULT_STACK_PERMS defined in stackinfo.h.
19611 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19612 * sysdeps/ia64/stackinfo.h: Likewise.
19613 * sysdeps/s390/stackinfo.h: Likewise.
19614 * sysdeps/sh/stackinfo.h: Likewise.
19615 * sysdeps/sparc/stackinfo.h: Likewise.
19616 * sysdeps/x86_64/stackinfo.h: Likewise.
19617 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19618 PF_X for powerpc64. Retain PF_X for powerpc32.
19619
db753e2c
UD
196202010-12-19 Ulrich Drepper <drepper@gmail.com>
19621
14b697f7
UD
19622 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19623 accurately.
db753e2c
UD
19624 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19625 GETDENTS_64BIT_ALIGNED.
19626
28300719
UD
196272010-12-14 Ulrich Drepper <dreper@gmail.com>
19628
14b697f7 19629 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19630
4f197237
AS
196312010-12-10 Andreas Schwab <schwab@redhat.com>
19632
dbb0472f
AS
19633 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19634 _GNU_SOURCE.
19635
4f197237
AS
19636 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19637 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19638 Remove __restrict.
19639 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19640 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19641
fb88ac72
UD
196422010-12-09 Ulrich Drepper <drepper@gmail.com>
19643
19644 [BZ #11655]
19645 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19646 are initialized.
19647
42acbb92
JJ
196482010-12-09 Jakub Jelinek <jakub@redhat.com>
19649
19650 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19651
c038d98d
UD
196522010-12-03 Ulrich Drepper <drepper@gmail.com>
19653
19654 * po/it.po: Update from translation team.
19655
3a4a2499
L
196562010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19657
19658 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19659 unused codes.
19660
1e24cf6e
UD
196612010-11-30 Ulrich Drepper <drepper@gmail.com>
19662
19663 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19664
a7690819
AS
196652010-11-24 Andreas Schwab <schwab@redhat.com>
19666
19667 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19668 specially.
19669 (gaih_getanswer_slice): Likewise.
19670
3bf8d1b1
JJ
196712010-10-20 Jakub Jelinek <jakub@redhat.com>
19672
19673 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19674
6db52fbb
PB
196752010-05-31 Petr Baudis <pasky@suse.cz>
19676
19677 [BZ #11149]
19678 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19679 silently even in the chroot mode.
19680
eaca7569
UD
196812010-11-22 Ulrich Drepper <drepper@gmail.com>
19682
19683 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19684 last patch a bit. Pretty printing
19685
3056dcdb
UD
196862010-05-31 Petr Baudis <pasky@suse.cz>
19687
19688 [BZ #10085]
19689 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19690 initialization of skip_initgroups_dyn.
19691
cf7c9078
UD
196922010-11-19 Ulrich Drepper <drepper@gmail.com>
19693
19694 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19695 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19696
a1fb5e3e
UD
196972010-11-16 Ulrich Drepper <drepper@gmail.com>
19698
19699 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19700
3540d66b
AS
197012010-11-11 Andreas Schwab <schwab@redhat.com>
19702
19703 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19704 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19705 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19706 ($(objpfx)tst-fnmatch-mem): New rule.
19707 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19708 * posix/tst-fnmatch.c (main): Call mtrace.
19709
13b69574
L
197102010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19711
19712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19713 Support Intel processor model 6 and model 0x2c.
19714
da93d214
LM
197152010-11-10 Luis Machado <luisgpm@br.ibm.com>
19716
19717 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19718 signed comparison.
19719
8ca52c6e
L
197202010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19721
19722 [BZ #12205]
19723 * string/test-strncasecmp.c (check_result): New function.
19724 (do_one_test): Use it.
19725 (check1): New function.
19726 (test_main): Use it.
19727 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19728 Support strcasecmp and strncasecmp.
19729
69da074d
UD
197302010-11-08 Ulrich Drepper <drepper@gmail.com>
19731
19732 [BZ #12194]
19733 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19734 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19735
ff02d528
L
197362010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19737
19738 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19739 IFUNC support.
19740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19741 memset-x86-64.
19742 * sysdeps/x86_64/multiarch/bzero.S: New file.
19743 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19744 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19745 * sysdeps/x86_64/multiarch/memset.S: New file.
19746 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19748 Set bit_Prefer_SSE_for_memop for Intel processors.
19749 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19750 Define.
19751 (index_Prefer_SSE_for_memop): Define.
19752 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19753
344d0b54
LM
197542010-11-04 Luis Machado <luisgpm@br.ibm.com>
19755
19756 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19757 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19758
c0dde15b
UD
197592010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19760
19761 [BZ #12191]
19762 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19763 (__x86_64_raw_data_cache_size_half): Likewise.
19764 (__x86_64_raw_shared_cache_size): Likewise.
19765 (__x86_64_raw_shared_cache_size_half): Likewise.
19766
19767 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19768 (__x86_64_raw_data_cache_size_half): Likewise.
19769 (__x86_64_raw_shared_cache_size): Likewise.
19770 (__x86_64_raw_shared_cache_size_half): Likewise.
19771 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19772 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19773 and __x86_64_raw_shared_cache_size_half. Round
19774 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19775 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19776 to multiple of 256 bytes.
19777
0e516e0e
MS
197782010-11-03 Ulrich Drepper <drepper@gmail.com>
19779
19780 [BZ #12167]
19781 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19782 of inacessible symlinks. Verify result of symlink before returning it.
19783 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19784 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19785
0e012e87
ER
197862010-10-28 Erich Ritz <erichritz@gmail.com>
19787
19788 * math/math.h (isinf): Fix typo in comment.
19789
de0ff7bc
UD
197902010-11-01 Ulrich Drepper <drepper@gmail.com>
19791
19792 * po/da.po: Update from translation team.
19793
fa41c84d
UD
197942010-10-26 Ulrich Drepper <drepper@gmail.com>
19795
19796 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19797 is added to the list.
19798
f0967738
AK
197992010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19800 Ulrich Drepper <drepper@gmail.com>
19801
19802 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19803 the global list here. Move code to...
19804 (_dl_add_to_namespace_list): ...here. New function.
19805 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19806 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19807 * elf/dl-load.c (lose): Don't remove the element from the list.
19808 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19809 (_dl_map_object): Likewise.
19810
198112010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19812
19813 [BZ #12159]
19814 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19815 into all bytes of SSE register.
19816 Patch by Richard Li <richardpku@gmail.com>.
19817
f0967738 198182010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19819
19820 [BZ #12140]
19821 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19822 perturbing.
19823
d0b9e94f
MB
198242010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19825
19826 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19827 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19828 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19829 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19831 submachine.
19832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19833
8e9f92e9
AS
198342010-10-22 Andreas Schwab <schwab@redhat.com>
19835
19836 * include/dlfcn.h (__RTLD_SECURE): Define.
19837 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19838 mode & __RTLD_SECURE instead.
19839 (open_path): Rename preloaded parameter to secure.
19840 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19841 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19842 * elf/dl-deps.c (openaux): Likewise.
19843 * elf/rtld.c (struct map_args): Remove is_preloaded.
19844 (map_doit): Don't use it.
19845 (dl_main): Likewise.
19846 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19847 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19848
bc96fbda
AS
198492010-09-09 Andreas Schwab <schwab@redhat.com>
19850
19851 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19852 (sysd-rules-targets): Remove duplicates.
19853 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19854 rtld-%.$o dependency.
19855
22cd1c9b
AS
198562010-10-18 Andreas Schwab <schwab@redhat.com>
19857
19858 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19859 _dl_map_object do it.
19860
18edac48
UD
198612010-10-19 Ulrich Drepper <drepper@gmail.com>
19862
19863 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19864 fast fma builtins, define the macros in the C99 standard.
19865 (FP_FAST_FMAF): Likewise.
19866 (FP_FAST_FMAL): Likewise.
19867 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19868
19869 * bits/mathdef.h: Update copyright year.
19870 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19871
d2050124
MM
198722010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19873
19874 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19875 builtins, define the macros in the C99 standard.
19876 (FP_FAST_FMAF): Likewise.
19877 (FP_FAST_FMAL): Likewise.
19878 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19879 multiply/add.
19880 (FP_FAST_FMAF): Likewise.
19881
475facd1
JJ
198822010-10-15 Jakub Jelinek <jakub@redhat.com>
19883
19884 [BZ #3268]
19885 * math/libm-test.inc (fma_test): Some new testcases.
19886 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19887 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19888 y and infinite z. Do multiplication by C already in long double.
19889 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19891 y and infinite z. Do bitwise or of inexact bit into u.d.
19892 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19893 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19894 * sysdeps/i386/fpu/s_fma.S: Removed.
19895 * sysdeps/i386/fpu/s_fmal.S: Removed.
19896
7c08a05c
JJ
198972010-10-16 Jakub Jelinek <jakub@redhat.com>
19898
19899 [BZ #3268]
19900 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19901 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19902 computation is not scheduled after fetestexcept. Fix value
19903 of minimum denormal long double.
19904
f3f7372d
JJ
199052010-10-14 Jakub Jelinek <jakub@redhat.com>
19906
19907 [BZ #3268]
19908 * math/libm-test.inc (fma_test): Add some more tests.
19909 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19910 correctly.
19911
14d43591
AS
199122010-10-15 Andreas Schwab <schwab@redhat.com>
19913
19914 * scripts/data/localplt-s390-linux-gnu.data: New file.
19915 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19916
5e908464
JJ
199172010-10-13 Jakub Jelinek <jakub@redhat.com>
19918
19919 [BZ #3268]
19920 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19921 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19922 instead of dbl-64.
19923 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19924 inlines.
19925 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19927 if one of x and y is very large and the other is subnormal.
19928 * sysdeps/s390/fpu/s_fmaf.c: New file.
19929 * sysdeps/s390/fpu/s_fma.c: New file.
19930 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19931 * sysdeps/powerpc/fpu/s_fma.S: New file.
19932 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19933 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19934 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19935
199362010-10-12 Jakub Jelinek <jakub@redhat.com>
19937
19938 [BZ #3268]
19939 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19940 fma tests.
19941 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19942 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19943 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19944 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19945 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19946 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19947 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19948
b833d51f
UD
199492010-10-12 Ulrich Drepper <drepper@redhat.com>
19950
19951 [BZ #12078]
19952 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19953 * posix/bug-regex31.input: Add test case.
19954
1751705d
UD
199552010-10-11 Ulrich Drepper <drepper@gmail.com>
19956
e9b9cbf5
UD
19957 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19958 * posix/bug-regex31.input: New file.
19959
19960 [BZ #12078]
19961 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19962 (parse_sub_exp): Fix last change, use postorder.
19963
ef06edbe
UD
19964 * posix/bug-regex31.c: New file.
19965 * posix/Makefile: Add rules to build and run bug-regex31.
19966
a129c80d
UD
19967 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19968
19969 [BZ #12078]
19970 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19971
b76b818e
UD
19972 [BZ #12108]
19973 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19974 to have entries in sys_siglist.
19975
1751705d
UD
19976 [BZ #12093]
19977 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19978 be NULL.
19979
9ff8d36f
JJ
199802010-10-07 Jakub Jelinek <jakub@redhat.com>
19981
19982 [BZ #3268]
19983 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19984 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19985 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19986 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19987 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19988 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19989 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19990 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19991 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19992 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19993 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19994 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19995 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19996 * math/ftestexcept.c (fetestexcept): Likewise.
19997 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19998 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19999 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20000 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20001 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20002 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20003 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20004
af325969
UD
200052010-10-11 Ulrich Drepper <drepper@gmail.com>
20006
c579b202 20007 [BZ #12107]
af325969
UD
20008 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20009 newline.
20010
67a67b95
UD
200112010-10-06 Ulrich Drepper <drepper@gmail.com>
20012
20013 * string/bug-strstr1.c: New file.
20014 * string/Makefile: Add rules to build and run bug-strstr1.
20015
5fb308bc
EB
200162010-10-05 Eric Blake <eblake@redhat.com>
20017
20018 [BZ #12092]
20019 * string/str-two-way.h (two_way_long_needle): Always clear memory
20020 when skipping input due to the shift table.
20021
45db99c7
UD
200222010-10-03 Ulrich Drepper <drepper@gmail.com>
20023
3b111893
UD
20024 [BZ #12005]
20025 * malloc/mcheck.c: Handle large requests.
20026
45db99c7
UD
20027 [BZ #12077]
20028 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20029 for strncmp and strncasecmp.
20030 * string/stratcliff.c: Add tests for strcmp and strncmp.
20031 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20032
cf7a1eb8
NI
200332010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20034
20035 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20036 __set_fpscr.
20037
6484ba5e
AJ
200382010-09-30 Andreas Jaeger <aj@suse.de>
20039
20040 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20041 (CGROUP_SUPER_MAGIC): Define.
20042 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20043 Handle btrfs and cgroup file systems.
20044 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20045 Likewise.
20046
91c42559
LM
200472010-09-27 Luis Machado <luisgpm@br.ibm.com>
20048
20049 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20050 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20051
87a97932
AK
200522010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20053
20054 [BZ #12067]
20055 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20056 trying to locate the ELF header.
20057
c21cc9bc
AS
200582010-09-27 Andreas Schwab <schwab@redhat.com>
20059
20060 [BZ #11611]
20061 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20062 Mask out sign-bit copies when constructing f_fsid.
20063
315970f6
PB
200642010-09-24 Petr Baudis <pasky@suse.cz>
20065
20066 * debug/stack_chk_fail_local.c: Add missing licence exception.
20067 * debug/warning-nop.c: Likewise.
20068
1ac7a2c7
JM
200692010-09-15 Joseph Myers <joseph@codesourcery.com>
20070
20071 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20072 implementing getdents64 using getdents syscall, set d_type if
20073 __ASSUME_GETDENTS32_D_TYPE.
20074
56801c50
AS
200752010-09-16 Andreas Schwab <schwab@redhat.com>
20076
20077 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20078 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20079
dda51327
UD
200802010-09-21 Ulrich Drepper <drepper@redhat.com>
20081
20082 [BZ #12037]
20083 * posix/unistd.h: Undo change of feature selection for ftruncate from
20084 2010-01-11.
20085
8ffcee4a
UD
200862010-09-20 Ulrich Drepper <drepper@redhat.com>
20087
a545ecd9 20088 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
20089 detection.
20090
e24f0a8b
AS
200912010-09-20 Andreas Schwab <schwab@redhat.com>
20092
20093 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20094 fanotify_mark.
20095 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20096
7291c56f
AS
200972010-09-14 Andreas Schwab <schwab@redhat.com>
20098
20099 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20100 variables after CHECK_SP call.
20101 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20102
bc5fb037
AS
201032010-09-13 Andreas Schwab <schwab@redhat.com>
20104 Ulrich Drepper <drepper@redhat.com>
20105
20106 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20107 re-relocationg ld.so.
20108 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20109 _dl_init_paths call.
20110 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20111 here anymore.
20112
e66e7419
UD
201132010-09-14 Ulrich Drepper <drepper@redhat.com>
20114
20115 * resolv/res_init.c (__res_vinit): Count the default server we added.
20116
c044aa75
CLT
201172010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20118 Ulrich Drepper <drepper@redhat.com>
20119
20120 [BZ #11968]
20121 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20122 (____longjmp_chk): Use %ebx for saving value across system call.
20123 Add unwind info.
20124
32cf4069
AS
201252010-09-06 Andreas Schwab <schwab@redhat.com>
20126
20127 * manual/Makefile: Don't mix pattern rules with normal rules.
20128
817328ee
AS
201292010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20130
20131 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20132 operation.
20133 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20134 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20135 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20136 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20137 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20138 Likewise.
20139
29fddf61
UD
201402010-09-04 Ulrich Drepper <drepper@redhat.com>
20141
20142 [BZ #11979]
20143 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20144 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20145
0959ffc9
UD
201462010-09-02 Ulrich Drepper <drepper@redhat.com>
20147
20148 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20149 * sysdeps/x86_64/addmul_1.S: Likewise.
20150 * sysdeps/x86_64/lshift.S: Likewise.
20151 * sysdeps/x86_64/mul_1.S: Likewise.
20152 * sysdeps/x86_64/rshift.S: Likewise.
20153 * sysdeps/x86_64/sub_n.S: Likewise.
20154 * sysdeps/x86_64/submul_1.S: Likewise.
20155
ece29840
ST
201562010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20157
0959ffc9
UD
20158 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20159 Define __sched_param instead of SCHED_* and sched_param when
ece29840 20160 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 20161 * bits/sched.h [__need_schedparam]
ece29840 20162 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
20163 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20164 (__defined_schedparam): Define to 1.
ece29840
ST
20165 (__sched_param): New structure, identical to sched_param.
20166 (__need_schedparam): Undefine.
20167
e53a31fe
MF
201682010-08-31 Mike Frysinger <vapier@gentoo.org>
20169
fdc0c10d
MF
20170 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20171 (epoll_create1): Declare.
20172
e53a31fe
MF
20173 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20174
a726d796
AS
201752010-08-31 Andreas Schwab <schwab@redhat.com>
20176
20177 [BZ #7066]
20178 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20179 shifting retval into place.
20180
2f3e3dc7
UD
201812010-09-01 Ulrich Drepper <drepper@redhat.com>
20182
f2933da9
UD
20183 * nis/rpcsvc/nis.h: Update copyright notice.
20184 * nis/rpcsvc/nis.x: Likewise.
20185 * nis/rpcsvc/nis_callback.h: Likewise.
20186 * nis/rpcsvc/nis_callback.x: Likewise.
20187 * nis/rpcsvc/nis_object.x: Likewise.
20188 * nis/rpcsvc/nis_tags.h: Likewise.
20189 * nis/rpcsvc/yp.h: Likewise.
20190 * nis/rpcsvc/yp.x: Likewise.
20191 * nis/rpcsvc/ypupd.h: Likewise.
20192 * nis/yp_xdr.c: Likewise.
20193 * nis/ypupdate_xdr.c: Likewise.
20194
2f3e3dc7
UD
20195 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20196 mainly the body of pmap_getport. Add parameters to specify timeouts.
20197 (pmap_getport): Use __libc_rpc_getport.
20198 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20199 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20200 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20201
f3dcc2f9
AS
202022010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20203
20204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20205 fanotify_mark.
20206
6d34eb5b
RM
202072010-08-27 Roland McGrath <roland@redhat.com>
20208
20209 * sysdeps/i386/i686/multiarch/Makefile
20210 (CFLAGS-varshift.c): New variable.
20211
9ea3de11
UD
202122010-08-27 Ulrich Drepper <drepper@redhat.com>
20213
c96d23fc
UD
20214 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20215 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20216
9ea3de11
UD
20217 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20218
20219 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20220
623aac7f
L
202212010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20222
20223 * sysdeps/x86_64/strlen.S: Unroll the loop.
20224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20225 strlen-sse2 strlen-sse2-bsf.
20226 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20227 __strlen_no_bsf if bit_Slow_BSF is set.
20228 (__strlen_sse42): Removed.
20229 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20230 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20231
8b2b7715
RM
202322010-08-25 Roland McGrath <roland@redhat.com>
20233
20234 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20235 * sysdeps/x86_64/multiarch/varshift.c: New file.
20236 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20237 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20238 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20239 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20240
e73015f2
L
202412010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20242
20243 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20244 strlen-sse2 strlen-sse2-bsf.
20245 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20246 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20247 (__strlen_sse2): Removed.
20248 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20249 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20251 bit_Slow_BSF for Atom.
20252 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20253 (index_Slow_BSF): Define.
20254 (HAS_SLOW_BSF): Define.
20255
df24a73e
UD
202562010-08-25 Ulrich Drepper <drepper@redhat.com>
20257
20258 [BZ #10851]
20259 * resolv/res_init.c (__res_vinit): When no server address at all
20260 is given default to loopback.
20261
f2ac4868
RM
202622010-08-24 Roland McGrath <roland@redhat.com>
20263
09055553
RM
20264 * configure.in: Remove config-name.h generation.
20265 * configure: Regenerated.
20266 * config-name.in: File removed.
20267 * scripts/config-uname.sh: New file.
20268 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20269 ($(objdir)config-name.h): New target.
20270
f2ac4868
RM
20271 * sunrpc/rpc_parse.h: Avoid nested comment.
20272
73f27d5e
RH
202732010-08-24 Richard Henderson <rth@redhat.com>
20274 Ulrich Drepper <drepper@redhat.com>
20275 H.J. Lu <hongjiu.lu@intel.com>
20276
20277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20279 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20280 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20281 _mm_alignr_epi8 with _mm_loadu_si128.
20282 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20283 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20284 (__m128i_shift_right): Removed.
20285 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20286 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20287 * sysdeps/x86_64/multiarch/varshift.h: New file.
20288 * sysdeps/x86_64/multiarch/varshift.S: New file.
20289
84b9230c
MF
202902010-08-21 Mike Frysinger <vapier@gentoo.org>
20291
20292 * configure.in: Move assembler checks to before sysdep dir checking.
20293
9bbd0ddc
PB
202942010-08-20 Petr Baudis <pasky@suse.cz>
20295
20296 * LICENSES: Sync the sunrpc license.
20297
9da4bb31
UD
202982010-08-19 Ulrich Drepper <drepper@redhat.com>
20299
a7ab6ec8
UD
20300 * sunrpc/auth_des.c: Update copyright notice once again.
20301 * sunrpc/auth_none.c: Likewise.
20302 * sunrpc/auth_unix.c: Likewise.
20303 * sunrpc/authdes_prot.c: Likewise.
20304 * sunrpc/authuxprot.c: Likewise.
20305 * sunrpc/bindrsvprt.c: Likewise.
20306 * sunrpc/clnt_gen.c: Likewise.
20307 * sunrpc/clnt_perr.c: Likewise.
20308 * sunrpc/clnt_raw.c: Likewise.
20309 * sunrpc/clnt_simp.c: Likewise.
20310 * sunrpc/clnt_tcp.c: Likewise.
20311 * sunrpc/clnt_udp.c: Likewise.
20312 * sunrpc/clnt_unix.c: Likewise.
20313 * sunrpc/des_crypt.c: Likewise.
20314 * sunrpc/des_soft.c: Likewise.
20315 * sunrpc/get_myaddr.c: Likewise.
20316 * sunrpc/getrpcport.c: Likewise.
20317 * sunrpc/key_call.c: Likewise.
20318 * sunrpc/key_prot.c: Likewise.
20319 * sunrpc/openchild.c: Likewise.
20320 * sunrpc/pm_getmaps.c: Likewise.
20321 * sunrpc/pm_getport.c: Likewise.
20322 * sunrpc/pmap_clnt.c: Likewise.
20323 * sunrpc/pmap_prot.c: Likewise.
20324 * sunrpc/pmap_prot2.c: Likewise.
20325 * sunrpc/pmap_rmt.c: Likewise.
20326 * sunrpc/rpc/auth.h: Likewise.
20327 * sunrpc/rpc/auth_unix.h: Likewise.
20328 * sunrpc/rpc/clnt.h: Likewise.
20329 * sunrpc/rpc/des_crypt.h: Likewise.
20330 * sunrpc/rpc/key_prot.h: Likewise.
20331 * sunrpc/rpc/netdb.h: Likewise.
20332 * sunrpc/rpc/pmap_clnt.h: Likewise.
20333 * sunrpc/rpc/pmap_prot.h: Likewise.
20334 * sunrpc/rpc/pmap_rmt.h: Likewise.
20335 * sunrpc/rpc/rpc.h: Likewise.
20336 * sunrpc/rpc/rpc_des.h: Likewise.
20337 * sunrpc/rpc/rpc_msg.h: Likewise.
20338 * sunrpc/rpc/svc.h: Likewise.
20339 * sunrpc/rpc/svc_auth.h: Likewise.
20340 * sunrpc/rpc/types.h: Likewise.
20341 * sunrpc/rpc/xdr.h: Likewise.
20342 * sunrpc/rpc_clntout.c: Likewise.
20343 * sunrpc/rpc_cmsg.c: Likewise.
20344 * sunrpc/rpc_common.c: Likewise.
20345 * sunrpc/rpc_cout.c: Likewise.
20346 * sunrpc/rpc_dtable.c: Likewise.
20347 * sunrpc/rpc_hout.c: Likewise.
20348 * sunrpc/rpc_main.c: Likewise.
20349 * sunrpc/rpc_parse.c: Likewise.
20350 * sunrpc/rpc_parse.h: Likewise.
20351 * sunrpc/rpc_prot.c: Likewise.
20352 * sunrpc/rpc_sample.c: Likewise.
20353 * sunrpc/rpc_scan.c: Likewise.
20354 * sunrpc/rpc_scan.h: Likewise.
20355 * sunrpc/rpc_svcout.c: Likewise.
20356 * sunrpc/rpc_tblout.c: Likewise.
20357 * sunrpc/rpc_util.c: Likewise.
20358 * sunrpc/rpc_util.h: Likewise.
20359 * sunrpc/rpcinfo.c: Likewise.
20360 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20361 * sunrpc/rpcsvc/key_prot.x: Likewise.
20362 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20363 * sunrpc/rpcsvc/mount.x: Likewise.
20364 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20365 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20366 * sunrpc/rpcsvc/rex.x: Likewise.
20367 * sunrpc/rpcsvc/rstat.x: Likewise.
20368 * sunrpc/rpcsvc/rusers.x: Likewise.
20369 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20370 * sunrpc/rpcsvc/spray.x: Likewise.
20371 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20372 * sunrpc/rtime.c: Likewise.
20373 * sunrpc/svc.c: Likewise.
20374 * sunrpc/svc_auth.c: Likewise.
20375 * sunrpc/svc_authux.c: Likewise.
20376 * sunrpc/svc_raw.c: Likewise.
20377 * sunrpc/svc_run.c: Likewise.
20378 * sunrpc/svc_simple.c: Likewise.
20379 * sunrpc/svc_tcp.c: Likewise.
20380 * sunrpc/svc_udp.c: Likewise.
20381 * sunrpc/svc_unix.c: Likewise.
20382 * sunrpc/svcauth_des.c: Likewise.
20383 * sunrpc/xcrypt.c: Likewise.
20384 * sunrpc/xdr.c: Likewise.
20385 * sunrpc/xdr_array.c: Likewise.
20386 * sunrpc/xdr_float.c: Likewise.
20387 * sunrpc/xdr_mem.c: Likewise.
20388 * sunrpc/xdr_rec.c: Likewise.
20389 * sunrpc/xdr_ref.c: Likewise.
20390 * sunrpc/xdr_sizeof.c: Likewise.
20391 * sunrpc/xdr_stdio.c: Likewise.
20392
9da4bb31
UD
20393 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20394 handling.
20395
bdaa77bc
AS
203962010-08-19 Andreas Schwab <schwab@redhat.com>
20397
20398 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20399
fe2f79db
LM
204002010-08-19 Luis Machado <luisgpm@br.ibm.com>
20401
20402 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20403 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20404 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20405 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20406 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20407 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20408 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20409 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20410 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20411 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20412 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20413 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20414 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20415 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20416
b9b42ee0
AB
204172010-07-26 Anton Blanchard <anton@samba.org>
20418
20419 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20420 * malloc/arena.c (heap_trim): Likewise.
20421
1c06ba31
UD
204222010-08-16 Ulrich Drepper <drepper@redhat.com>
20423
20424 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20425 here. Not...
20426 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20427 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20428
f8392f40
L
204292010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20430
20431 * sysdeps/i386/elf/Makefile: New file.
20432
3162f12e
AS
204332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20434
20435 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20436 from fanotify_init.
20437 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20438 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20439
28c90b2c
UD
204402010-08-15 Ulrich Drepper <drepper@redhat.com>
20441
20442 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20443 of strncasecmp_l.
1feccb6c 20444 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20445
ca6bb004
UD
204462010-08-14 Ulrich Drepper <drepper@redhat.com>
20447
e9f82e0d
UD
20448 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20449 strncase_l-nonascii.
20450 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20451 Add strncase_l-ssse3.
20452 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20453 * sysdeps/x86_64/strcmp.S: Likewise.
20454 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20455 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20456 * sysdeps/x86_64/strncase.S: New file.
20457 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20458 * sysdeps/x86_64/strncase_l.S: New file.
20459 * string/Makefile (strop-tests): Add strncasecmp.
20460 * string/test-strncasecmp.c: New file.
20461
20462 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20463 warning.
20464
ca6bb004
UD
20465 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20466 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20467
052fa7b3
AS
204682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20469
20470 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20471
962dba78
UD
204722010-08-12 Ulrich Drepper <drepper@redhat.com>
20473
20474 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20475 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20476 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20477
bebff237
AM
204782010-05-01 Alan Modra <amodra@gmail.com>
20479
20480 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20481 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20482 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20483 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20484 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20485 tidying. Don't tail-call __sigjmp_save for static lib.
20486 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20487 save location.
20488 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20489 (CALL_MCOUNT): Add eh info, and nop after bl.
20490 (TAIL_CALL_SYSCALL_ERROR): New macro.
20491 (PSEUDO_RET): Use it.
20492 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20493 Correct save location of integer regs and cr.
20494 (_dl_profile_resolve): Correct cr save location. Delete nops
20495 after bl when SHARED. Reduce cfi size a little by better
20496 placement of cfi directives.
20497 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20498 make a stack frame. Instead use parm save area as a temp.
20499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20500 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20502 Don't make a stack frame for parent, use parm save area.
20503 Increase child stack frame to 112 bytes. Don't save unused reg,
20504 and adjust reg usage. Set up cfi on error recovery and
20505 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20507 (__makecontext): Add dummy nop after jump to exit.
20508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20509 Use correct parm save area and cr save, reduce stack frame.
20510 Correct cfi for possible PSEUDO_RET frame setup.
20511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20512 Branch to local label emitted by PSEUDO_RET rather than
20513 __syscall_error.
20514
02637374
AS
205152010-08-12 Andreas Schwab <schwab@redhat.com>
20516
20517 [BZ #11904]
20518 * locale/programs/locale.c (print_assignment): New function.
20519 (show_locale_vars): Use it.
20520
c3e2f19b
UD
205212010-08-11 Ulrich Drepper <drepper@redhat.com>
20522
3cdaa6ad
UD
20523 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20524 field.
20525 (struct statfs64): Likewise.
20526 (_STATFS_F_FLAGS): Define.
20527 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20528 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20529 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20530 (ST_VALID): Define locally.
20531 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20532 __statvfs_getflags, use the provided value.
20533 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20534 __ASSUME_STATFS_F_FLAGS.
20535
754f7da3
UD
20536 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20537
10b3bedc
UD
20538 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20539 Add sys/fanotify.h.
20540 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20541 fanotify_mask for GLIBC_2.13.
20542 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20543 fanotify_init and fanotify_mark.
20544 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20545 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20546
c08fb0d7
UD
20547 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20548 Add prlimit.
20549 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20550 prlimit64 for GLIBC_2.13.
20551 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20552 prlimit64.
20553 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20554 syscall.
20555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20556 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20557 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20558 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20559 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20560 add prlimit alias.
20561 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20562
15bac72b
UD
20563 [BZ #11903]
20564 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20565 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20566
c3e2f19b
UD
20567 * nss/Makefile: Add rules to build and run tst-nss-test1.
20568 * shlib-versions: Add entry for libnss_test1.
20569 * nss/nss_test1.c: New file.
20570 * nss/tst-nss-test1.c: New file.
20571
20572 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20573 (__nss_configure_lookup): Set appropriate entry in
20574 __nss_configure_lookup to true.
20575 * nss/nsswitch.h: Define enum with indeces of databases in
20576 databases and __nss_database_custom arrays. Declare
20577 __nss_database_custom.
20578 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20579 to avoid using nscd when custom rules are installed.
20580 * nss/getXXbyYY_r.c: Likewise.
20581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20582
20583 * nss/nss_files/files-parse.c: Whitespace fixes.
20584
f15ce4d8
UD
205852010-08-09 Ulrich Drepper <drepper@redhat.com>
20586
20587 [BZ #11883]
20588 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20589 * posix/fnmatch_loop.c: Likewise.
20590
d22e4cc9
AK
205912010-07-17 Andi Kleen <ak@linux.intel.com>
20592
20593 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20594 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20595 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20596 * Versions.def [GLIBC_2.13]: Add.
20597
805bc17d
UD
205982010-08-06 Ulrich Drepper <drepper@redhat.com>
20599
20600 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20601 Also fail if tpwd after pwuid call is NULL.
20602
5a42321d
ST
206032010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20604
20605 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20606 when converting to ms.
20607
fd3ebeda
ST
206082010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20609
20610 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20611 EOPNOTSUPP errors with ENOTTY.
20612 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20613 EOPNOTSUPP errors with ENOTTY.
20614
73507d3a
UD
206152010-07-31 Ulrich Drepper <drepper@redhat.com>
20616
20617 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20618 Add strcasecmp_l-ssse3.
20619 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20620 strcasecmp.
20621 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20622 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20623 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20624
fe36dd02
UD
206252010-07-30 Ulrich Drepper <drepper@redhat.com>
20626
66f6765a
UD
20627 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20628
42e08a54
UD
20629 * string/Makefile (strop-tests): Add strcasecmp.
20630 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20631 strcasecmp_l-nonascii.
20632 (gen-as-const-headers): Add locale-defines.sym.
20633 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20634 * sysdeps/x86_64/strcasecmp.S: New file.
20635 * sysdeps/x86_64/strcasecmp_l.S: New file.
20636 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20637 * sysdeps/x86_64/locale-defines.sym: New file.
20638 * string/test-strcasecmp.c: New file.
20639
fe36dd02
UD
20640 * string/test-strcasestr.c: Test both ends of the range of characters.
20641 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20642
48cbc0d6
RM
206432010-07-29 Roland McGrath <roland@redhat.com>
20644
76e6d6bc 20645 [BZ #11856]
48cbc0d6
RM
20646 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20647
880113d9
UD
206482010-07-27 Ulrich Drepper <drepper@redhat.com>
20649
20650 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20651 for ld.so.
20652
deb9cabb
AS
206532010-07-27 Andreas Schwab <schwab@redhat.com>
20654
20655 * manual/memory.texi (Malloc Tunable Parameters): Document
20656 M_PERTURB.
20657
1c7570ff
RM
206582010-07-26 Roland McGrath <roland@redhat.com>
20659
20660 [BZ #11840]
20661 * configure.in (-fgnu89-inline check): Set and substitute
20662 gnu89_inline, not libc_cv_gnu89_inline.
20663 * configure: Regenerated.
20664 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20665
24fb0f88
UD
206662010-07-26 Ulrich Drepper <drepper@redhat.com>
20667
20668 * string/test-strnlen.c: New file.
20669 * string/Makefile (strop-tests): Add strnlen.
20670 * string/tester.c (test_strnlen): Add a few more test cases.
20671 * string/tst-strlen.c: Better error reporting.
20672
20673 * sysdeps/x86_64/strnlen.S: New file.
20674
8e96b93a
UD
206752010-07-24 Ulrich Drepper <drepper@redhat.com>
20676
20677 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20678 lower-latency instructions.
20679
dbc676d4
UD
206802010-07-23 Ulrich Drepper <drepper@redhat.com>
20681
20682 * string/test-strcasestr.c: New file.
20683 * string/test-strstr.c: New file.
20684 * string/Makefile (strop-tests): Add strstr and strcasestr.
20685 * string/str-two-way.h: Don't undefine MAX.
20686 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20687
f6a31e0e
AS
206882010-07-21 Andreas Schwab <schwab@redhat.com>
20689
20690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20691 strcasestr-nonascii.
20692 (CFLAGS-strcasestr-nonascii.c): Define.
20693 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20694 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20695 Remove unused attribute.
20696
5dbc3b6c
RM
206972010-07-20 Roland McGrath <roland@redhat.com>
20698
20699 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20700 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20701 ld.so.cache was broken. With it, there is no way to disable dsocaps
20702 like LD_HWCAP_MASK can disable hwcaps.
20703
23d101d8
EPM
207042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20705
20706 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20707
cc9f2e47
UD
207082010-07-16 Ulrich Drepper <drepper@redhat.com>
20709
20710 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20711 call in strcasestr.
20712 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20713 __strcasestr_sse42_nonascii.
20714 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20715 strcasestr-nonascii.c.
20716 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20717
77c1b069
LM
207182010-06-15 Luis Machado <luisgpm@br.ibm.com>
20719
20720 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20721 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20722 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20723 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20724
440566c3
UD
207252010-07-09 Ulrich Drepper <drepper@redhat.com>
20726
20727 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20728 fcntl.
20729
5be9d05d
AS
207302010-07-06 Andreas Schwab <schwab@redhat.com>
20731
c30b7ee2 20732 [BZ #11577]
5be9d05d
AS
20733 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20734 dl_signal_cerror.
20735
8a492a67
UD
207362010-07-06 Ulrich Drepper <drepper@redhat.com>
20737
20738 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20739 _PC_PIPE_BUF using F_GETPIPE_SZ.
20740
713df3d5
RM
207412010-07-05 Roland McGrath <roland@redhat.com>
20742
20743 * manual/arith.texi (Rounding Functions): Fix rint description
20744 implicit in round description.
20745
702e8f14
UD
207462010-07-02 Ulrich Drepper <drepper@redhat.com>
20747
20748 * elf/Makefile: Fix linking for a few tests to make recent linker
20749 happy.
20750
52ed8be9
AS
207512010-06-30 Andreas Schwab <schwab@redhat.com>
20752
20753 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20754 $(common-objpfx)libc_nonshared.a.
20755
f47c9a11
LM
207562010-06-21 Luis Machado <luisgpm@br.ibm.com>
20757
20758 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20759 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20760 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20761 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20762 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20763 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20764 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20765 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20780 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20781 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20782 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20783 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20784 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20785 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20786 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20787 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20788 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20789 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20790 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20791 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20806
6fb8cbcb
L
208072010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20808
20809 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20810 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20811 * string/memmove.c (memmove): Renamed to ...
20812 (MEMMOVE): ...this. Default to memmove.
20813 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20814 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20815 (END_CHK): Define.
20816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20817 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20818 mempcpy-ssse3-back memmove-ssse3-back.
20819 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20820 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20821 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20822 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20823 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20824 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20825 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20826 * sysdeps/x86_64/multiarch/memmove.c: New file.
20827 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20828 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20829 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20830 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20831 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20832 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20833 Define.
20834 (index_Fast_Copy_Backward): Define.
20835 (HAS_ARCH_FEATURE): Define.
20836 (HAS_FAST_REP_STRING): Define.
20837 (HAS_FAST_COPY_BACKWARD): Define.
20838
4e733bac 208392010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20840
20841 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20842 Restore proper fallback handling.
20843
63c4ed22
UD
208442010-06-19 Ulrich Drepper <drepper@redhat.com>
20845
ac2b484c
UD
20846 [BZ #11701]
20847 * posix/group_member.c (__group_member): Correct checking loop.
20848
63c4ed22
UD
20849 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20850 OOM in getpwuid_r correctly. Return error number when the caller
20851 should return, otherwise -1.
20852 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20853 call returning > 0 value.
20854 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20855
765ade4b
AS
208562010-06-07 Andreas Schwab <schwab@redhat.com>
20857
20858 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20859 libc_nonshared.a from targets in modules-names.
20860
80da2e09
KS
208612010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20862
20863 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20864 requires it.
20865
158db122
LM
208662010-06-10 Luis Machado <luisgpm@br.ibm.com>
20867
20868 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20869 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20870 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20871 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20872
caa78cf8
AS
208732010-06-02 Andreas Schwab <schwab@redhat.com>
20874
20875 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20876
b2ef2c01
UD
208772010-06-14 Ulrich Drepper <drepper@redhat.com>
20878
20879 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20880 and F_GETPIPE_SZ.
20881 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20882 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20883 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20885 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20886 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20887
fbd643b6
RM
208882010-06-14 Roland McGrath <roland@redhat.com>
20889
20890 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20891
f32f2869
JJ
208922010-06-07 Jakub Jelinek <jakub@redhat.com>
20893
20894 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20895 __REDIRECT followed by __THROW.
20896 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20897 * posix/getopt.h (getopt): Likewise.
20898
2a50c078
EPM
208992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20900
20901 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20902 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20903 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20904 in AT_FLAGS.
20905 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20906 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20907
eb5ad2eb
LM
209082010-05-28 Luis Machado <luisgpm@br.ibm.com>
20909
20910 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20911
3c88fe1e
L
209122010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20913
20914 [BZ #11640]
20915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20916 Properly check family and model.
20917
d2f73151
TY
209182010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20919
20920 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20921
ebd2e13d
LM
209222010-05-24 Luis Machado <luisgpm@br.ibm.com>
20923
20924 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20925
b32b8b45
UD
209262010-05-21 Ulrich Drepper <drepper@redhat.com>
20927
20928 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20929 symbol reference.
20930
9acbe24d
AS
209312010-05-19 Andreas Schwab <schwab@redhat.com>
20932
20933 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20934 symbol reference.
20935
f0ccf6ea
AS
209362010-05-21 Andreas Schwab <schwab@redhat.com>
20937
3d04ff3a
AS
20938 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20939 and internal_recvmmsg.
20940 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20941 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20942 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20943 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20944
f0ccf6ea
AS
20945 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20946 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20947 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20948
5b08ac57
AS
209492010-05-20 Andreas Schwab <schwab@redhat.com>
20950
20951 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20952
4828935d
LM
209532010-05-17 Luis Machado <luisgpm@br.ibm.com>
20954
20955 POWER7 optimizations.
20956 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20957 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20958
373d545e
UD
209592010-05-19 Ulrich Drepper <drepper@redhat.com>
20960
20961 * version.h: Update for 2.13 development version.
20962
21a2b1ae
AS
209632010-05-12 Andrew Stubbs <ams@codesourcery.com>
20964
20965 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20966 exceptions. Return 0.
20967
3f7dcb2b
RM
209682010-05-07 Roland McGrath <roland@redhat.com>
20969
20970 * elf/ldconfig.c (main): Add a const.
20971
5f24d53a 209722010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20973
a160f8d8
UD
20974 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20975 (args_options): Add no-idn option.
20976 (ahosts_keys_int): Add idn_flags to ai_flags.
20977 (parse_option): Handle 'i' option to clear idn_flags.
20978
5f24d53a
UD
20979 * malloc/malloc.c (_int_free): Possible race in the most recently
20980 added check. Only act on the data if no current modification
20981 happened.
265bb1ce
UD
20982
20983See ChangeLog.17 for earlier changes.