]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use the first element of GOT for ld.so addresses
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5f30cfec
L
12012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14538]
4 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5 first element of the GOT.
6 (elf_machine_load_address): Return the difference between
7 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8
0786794f
AM
92012-09-01 Allan McRae <allan@archlinux.org>
10
5f30cfec
L
11 [BZ #13412]
12 * configure.in (AWK): Require gawk version 3.0 or later.
13 * configure: Regenerated.
0786794f 14
26889eac
JM
152012-09-01 Joseph Myers <joseph@codesourcery.com>
16
17 * sysdeps/unix/sysv/linux/kernel-features.h
18 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20 [__NR_clock_getres]: Make code unconditional.
21 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
22 (clock_getcpuclockid): Remove code left unreachable by removal of
23 conditionals.
24 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25 code unconditional.
26 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29 Make code unconditional.
30 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32 * sysdeps/unix/sysv/linux/clock_settime.c
33 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34 conditional code.
35 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37
d22e28b0
L
382012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39
40 [BZ #14476]
41 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42 scripts/test-installation.pl.
43
44 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45 and $ld_so_version if it is set.
46
050af9c4
SP
472012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
48
49 [BZ #14516]
50 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
51 failure if reading from procfs failed.
52 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53
ad845c0b
JM
542012-08-27 Joseph Myers <joseph@codesourcery.com>
55
56 * sysdeps/unix/sysv/linux/kernel-features.h
57 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59 Remove conditional code.
60 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
62 Remove conditional code.
63 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64 * sysdeps/unix/sysv/linux/i386/fxstat.c
65 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67 * sysdeps/unix/sysv/linux/i386/fxstatat.c
68 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70 * sysdeps/unix/sysv/linux/i386/lxstat.c
71 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
74 Remove conditional code.
75 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77 Remove conditional code.
78 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
79 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
80 <kernel-features.h>.
81 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
82 Remove.
83 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
84 Remove conditional code.
85 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
86 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
87 Remove conditional.
88
5dbf56af
MF
892012-08-27 Mike Frysinger <vapier@gentoo.org>
90
91 [BZ #5400]
92 * NEWS: Add fixed bug number.
93
d6e70f43
JM
942012-08-27 Joseph Myers <joseph@codesourcery.com>
95
7efb4737
JM
96 [BZ #14519]
97 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
98 underflowing exponent in case of negative sign.
99 * stdlib/tst-strtod-round-data: Add more tests.
100 * stdlib/tst-strtod-round.c (tests): Regenerated.
101
af92131a
JM
102 [BZ #3479]
103 * stdlib/strtod_l.c (NDIG): Remove.
104 (HEXNDIG): Likewise.
105 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
106 smallest representable value.
107 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
108 lie within an exact representation of 1/2 ulp of the result.
109 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
110 unconditionally.
111 (TENS_P9_IDX): Define unconditionally.
112 (TENS_P9_SIZE): Likewise.
113 (TENS_P10_IDX): Likewise.
114 (TENS_P10_SIZE): Likewise.
115 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
116 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
117 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
118 entries for 10^2^13 and 10^2^14.
119 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
120 (TENS_P13_IDX): Define.
121 (TENS_P13_SIZE): Likewise.
122 (TENS_P14_IDX): Likewise.
123 (TENS_P14_SIZE): Likewise.
124 (_fpioconst_pow10): Change array size to
125 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
126 unconditional.
127 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
128 1024]: Add entries for 10^2^13 and 10^2^14.
129 [LAST_POW10 > _LAST_POW10]: Remove #error.
130 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
131 (_fpioconst_pow10): Change array size to
132 FPIOCONST_POW10_ARRAY_SIZE.
133 * stdlib/gen-fpioconst.c: New file.
134 * stdlib/gen-tst-strtod-round.c: Likewise.
135 * stdlib/tst-strtod-round-data: Likewise.
136 * stdlib/tst-strtod-round.c: Likewise.
137 * stdlib/Makefile (tests): Add tst-strtod-round.
138
d6e70f43
JM
139 [BZ #14459]
140 * stdlib/strtod_l.c: Include <stdint.h>.
141 (NDEBUG): Do not define.
142 (round_and_return): Change EXPONENT parameter to type intmax_t.
143 Rearrange calculations to avoid internal overflow possibilities.
144 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
145 Rearrange calculations to avoid internal overflow possibilities.
146 Assert that number fits inside MPNSIZE limbs.
147 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
148 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
149 calculations and add assertions to avoid internal overflow
150 possibilities. Add casts to avoid signed/unsigned operations.
151 * stdlib/tst-strtod-overflow.c: New file.
152 * stdlib/Makefile (tests): Add tst-strtod-overflow.
153
1f529f7d
MP
1542012-08-25 Marek Polacek <polacek@redhat.com>
155
156 * time/time.h: Fix some typos in comments.
157
59a629f1
RM
1582012-08-23 Roland McGrath <roland@hack.frob.com>
159
160 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
161 * posix/tst-rfc3484-2.c: Likewise.
162 * posix/tst-rfc3484-3.c: Likewise.
163
d3bafbc9
SM
1642012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
165
166 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
167 (EF_ARM_ABI_FLOAT_HARD): Likewise.
168
4efcc022
JM
1692012-08-23 Joseph Myers <joseph@codesourcery.com>
170
171 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
172 #include of fxstatat64.c.
173
3cc3ef96
RM
1742012-08-22 Roland McGrath <roland@hack.frob.com>
175
f04e2132
RM
176 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
177 * shadow/getspent_r.c: Likewise.
178 * shadow/getspnam.c: Likewise.
179 * shadow/getspnam_r.c: Likewise.
180 * gshadow/getsgent.c: Likewise.
181 * gshadow/getsgent_r.c: Likewise.
182 * gshadow/getsgnam.c: Likewise.
183 * gshadow/getsgnam_r.c: Likewise.
184 * inet/getnetbyad.c: Likewise.
185 * inet/getnetbyad_r.c: Likewise.
186 * inet/getnetbynm.c: Likewise.
187 * inet/getnetbynm_r.c: Likewise.
188 * inet/getnetent.c: Likewise.
189 * inet/getnetent_r.c: Likewise.
190 * inet/getproto.c: Likewise.
191 * inet/getproto_r.c: Likewise.
192 * inet/getprtent.c: Likewise.
193 * inet/getprtent_r.c: Likewise.
194 * inet/getprtname.c: Likewise.
195 * inet/getprtname_r.c: Likewise.
196 * inet/getrpcbyname.c: Likewise.
197 * inet/getrpcbyname_r.c: Likewise.
198 * inet/getrpcbynumber.c: Likewise.
199 * inet/getrpcbynumber_r.c: Likewise.
200 * inet/getrpcent.c: Likewise.
201 * inet/getrpcent_r.c: Likewise.
202 * inet/getaliasent.c: Likewise.
203 * inet/getaliasent_r.c: Likewise.
204 * inet/getaliasname.c: Likewise.
205 * inet/getaliasname_r.c: Likewise.
206 * nscd/getgrgid_r.c: Likewise.
207 * nscd/getgrnam_r.c: Likewise.
208 * nscd/gethstbyad_r.c: Likewise.
209 * nscd/gethstbynm3_r.c: Likewise.
210 * nscd/getpwnam_r.c: Likewise.
211 * nscd/getpwuid_r.c: Likewise.
212 * nscd/getsrvbynm_r.c: Likewise.
213 * nscd/getsrvbypt_r.c: Likewise.
214 * nscd/gai.c: Likewise.
215
c53d909c
RM
216 * configure.in (build_nscd): New substituted variable, set
217 by --disable-build-nscd and defaults to $use_nscd.
218 * configure: Regenerated.
219 * config.make.in (build-nscd): New substituted variable.
220 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
221 Change conditional to require [$(build-nscd) = yes] as well.
222 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
223
3cc3ef96
RM
224 [BZ# 13696]
225 * configure.in (use_nscd): New substituted variable, set by
226 --disable-nscd. If enabled, define USE_NSCD.
227 * configure: Regenerated.
228 * config.h.in: Add USE_NSCD.
229 * config.make.in (use-nscd): New substituted variable.
230 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
231 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
232 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
233 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
234 (CFLAGS-getgrnam_r.c): Likewise.
235 (CFLAGS-initgroups.c): Likewise.
236 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
237 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
238 Variables removed.
239 * inet/getnetgrent_r.c
240 (nscd_setnetgrent): New function, broken out of ...
241 (setnetgrent): ... here. Call it.
242 (innetgr): Conditionalize nscd bits on [USE_NSCD].
243 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
244 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
245 * nscd/Makefile (routines, aux): Move definitions after include of
246 Makeconfig. Conditionalize on [$(use-nscd) != no].
247 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
248 Conditionalize on [USE_NSCD].
249 (is_nscd, nscd_init_cb): Likewise.
250 (nss_load_library): Conditionalize init callback on [USE_NSCD].
251 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
252 * nss/nss_db/db-init.c: Likewise.
253 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
254 [USE_NSCD].
255 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
256 (make_request): Use it.
257 (cache_valid_p): New function.
258 (__check_pf): Use it.
259 * NEWS: Add item for --disable-nscd.
260
07e51550
DL
2612012-08-22 Dmitry V. Levin <ldv@altlinux.org>
262
263 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
264 to support sed >= 4.2.1-20-ga9bf076.
265 * configure: Regenerated.
266
35a5b08b
RM
2672012-08-22 Roland McGrath <roland@hack.frob.com>
268
269 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
270 Conditionalize whole body on [IREL].
271
8479f23a
JL
2722012-08-22 Jeff Law <law@redhat.com>
273
274 [BZ #14505]
275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
276 if the family is PF_UNSPEC.
277
48da0b21
MF
2782012-08-22 Mike Frysinger <vapier@gentoo.org>
279
280 * Makerules (lib-version): Rename from V.
281 (install-lib-nosubdir): Change V to lib-version.
282
15d0da8c
WS
2832012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
284
285 [BZ #14252]
286 * powerpc32/power6/wcschr.c: New file.
287 * powerpc32/power6/wcscpy.c: New file.
288 * powerpc32/power6/wcsrchr.c: New file.
289 * powerpc64/power6/wcschr.c: New file.
290 * powerpc64/power6/wcscpy.c: New file.
291 * powerpc64/power6/wcsrchr.c: New file.
292
bcca0895
MK
2932012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
294
295 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
296 (two_way_short_needle): Use it.
5a4aaa33
RM
297 * string/strstr.c (AVAILABLE1_USES_J): Define.
298 * string/strcasestr.c: Likewise.
99677e57
MK
299
300 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
301 array references.
302 * string/strcasestr.c (TOLOWER): Make side-effect safe.
303
400726de
MK
304 [BZ #11607]
305 * NEWS: Add an entry.
306 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
307 define their defaults.
308 (two_way_short_needle): Detect end-of-string on-the-fly.
309 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
310 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
311 * string/bug-strcasestr1.c: New test.
312 * string/Makefile: Run it.
313
20a71f2c
MK
3142012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
315
316 [BZ #11607]
317 * string/str-two-way.h (two_way_short_needle): Optimize matching of
318 the first character.
319
21ad0558
RM
3202012-08-21 Roland McGrath <roland@hack.frob.com>
321
322 * csu/elf-init.c (__libc_csu_irel): Function removed.
323 * csu/libc-start.c (apply_irel): New function.
324 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
325
0e1d9911
JM
3262012-08-21 Joseph Myers <joseph@codesourcery.com>
327
328 * sysdeps/unix/sysv/linux/kernel-features.h
329 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
330 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
331 <kernel-features.h>.
332 [__NR_fadvise64_64]: Make code unconditional.
333 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
334 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
335 !__NR_fadvise64_64)]: Likewise.
336 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
337 !__NR_fadvise64_64))]: Likewise.
338 [__NR_fadvise64]: Make code unconditional.
339 [!__NR_fadvise64]: Remove conditional code.
340 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
341 <kernel-features.h>.
342 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
343 unconditional.
344 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
345 conditional code.
346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
347 not include <kernel-features.h>.
348 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
349 unconditional.
350 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
351 conditional code.
352 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
353 include <kernel-features.h>.
354 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
355 unconditional.
356 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
357 conditional code.
358
14a50c9d
WS
3592012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
360
361 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
362 slight instruction rearrangements per scrollpipe analysis.
363 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
364
c0f4faf0
RM
3652012-08-20 Roland McGrath <roland@hack.frob.com>
366
696da859
RM
367 * manual/syslog.texi (syslog; vsyslog, closelog):
368 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
369 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
370
c0f4faf0
RM
371 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
372 DSOCAPS to match condition on defining it.
373
348363b2
JM
3742012-08-20 Joseph Myers <joseph@codesourcery.com>
375
a35cbf28
JM
376 * sysdeps/unix/sysv/linux/kernel-features.h
377 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
379 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
380 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
382 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
383 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
385 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
386 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
387
445f7ecd
JM
388 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
389 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
390
348363b2
JM
391 * sysdeps/unix/sysv/linux/kernel-features.h
392 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
393 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
394 unconditional.
395 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
396 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
397 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
398 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
399 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
400 Make code unconditional.
401 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
402 (__mmap64) [!__NR_mmap2]: Likewise.
403 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
404 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
405 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
406 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
407 [__NR_mmap2]: Make code unconditional.
408 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
409 (__mmap64) [!__NR_mmap2]: Likewise.
410
bc5bc0e5
AK
4112012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
412
413 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
414
88d506de
AJ
4152012-08-18 Andreas Jaeger <aj@suse.de>
416
417 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
418
493387d2
MF
4192012-08-18 Mike Frysinger <vapier@gentoo.org>
420
421 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
422 * include/unistd.h (__have_sock_cloexec): Likewise.
423 (__have_pipe2): Likewise.
424 (__have_dup3): Likewise.
425
a277af22
MF
4262012-08-18 Mike Frysinger <vapier@gentoo.org>
427
428 [BZ #9685]
429 * include/unistd.h (__have_pipe2): Change define into an extern int.
430 (__have_dup3): Likewise.
431 * socket/have_sock_cloexec.c: Include fcntl.h.
432 (__have_pipe2): New variable.
433 (__have_dup3): Likewise.
434
fdab8fd3
MF
4352012-08-17 Mike Frysinger <vapier@gentoo.org>
436
437 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
438
31035e80
MP
4392012-08-17 Marek Polacek <polacek@redhat.com>
440
441 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
442 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
443
3bd9e993
RM
4442012-08-17 Roland McGrath <roland@hack.frob.com>
445
c91c505f
RM
446 * configure.in: Add AC_SUBST for sysheaders.
447 * configure: Regenerated.
448 * config.make.in (sysheaders): New substituted variable.
449
7c6f9d53
RM
450 * sysdeps/unix/mkfifo.c: Moved ...
451 * sysdeps/posix/mkfifo.c: ... here.
452 * sysdeps/unix/mkfifoat.c: Moved ...
453 * sysdeps/posix/mkfifoat.c: ... here.
454
455 * sysdeps/unix/utime.c: Moved ...
456 * sysdeps/posix/utime.c: ... here.
457
458 * sysdeps/unix/time.c: Moved ...
459 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
460 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
461 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
462
463 * sysdeps/unix/nice.c: Moved ...
464 * sysdeps/posix/nice.c: ... here.
465
466 * sysdeps/unix/alarm.c: Moved ...
467 * sysdeps/posix/alarm.c: ... here.
468
3bd9e993
RM
469 * intl/Makefile ($(codeset_mo)): Depend on the input file.
470
d1f09384
JL
4712012-08-17 Jeff Law <law@redhat.com>
472
473 * intl/Makefile (codeset_mo): New variable.
474 ($(codeset_mo)): New target.
475 (tst-codeset.out): Depend on that. Remove explicit rule.
476 (tst-gettext3.out, tst-gettext5.out): Likewise.
477 (LOCPATH-ENV, tst-codeset-ENV): New variables.
478 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
479 * intl/tst-codeset.sh: Remove.
480 * intl/tst-gettext3.sh: Likewise.
481 * intl/tst-gettext5.sh: Likewise.
482
2ae1ae5c
RM
4832012-08-17 Roland McGrath <roland@hack.frob.com>
484
c31fdb83
RM
485 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
486 * sysdeps/unix/syscalls.list: ... here.
487
a0844057
RM
488 * sysdeps/posix/getaddrinfo.c
489 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
490 (gaiconf_init, gaiconf_reload): Use them.
491 [!_STATBUF_ST_NSEC]
492 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
493 Define using time_t rather than struct timespec.
494
750c1f2a
RM
495 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
496 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
497 Macros removed.
498 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
499 [!NO_THREADS].
500 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
501 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
502 Likewise.
503
2ae1ae5c
RM
504 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
505 __libc_cleanup_push argument.
506
e66a42f5
RM
507 * bits/param.h: New file.
508 * misc/sys/param.h: New file.
509 * include/sys/param.h: New file.
510 * misc/Makefile (headers): Add bits/param.h.
511 * sysdeps/generic/sys/param.h: File removed.
512 * sysdeps/unix/sysv/linux/bits/param.h: New file.
513 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
514 * sysdeps/mach/hurd/bits/param.h: New file.
515 * sysdeps/mach/hurd/sys/param.h: New file.
516
b7c08a66
RM
517 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
518 last change.
519
b2e1c562
RM
520 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
521 [_IO_MTSAFE_IO].
522 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
523 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
524 New macros.
525
c75ccd4c
RM
526 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
527 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
528 rather than -D_IO_MTSAFE_IO conditionally.
529 * stdio-common/Makefile (CPPFLAGS): Likewise.
530 * wcsmbs/Makefile (CPPFLAGS): Likewise.
531 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
532 Use $(libio-mtsafe).
533 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
534 of -D_IO_MTSAFE_IO.
535 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
536 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
537 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
538 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
539 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
540 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
541 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
542 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
543 (CFLAGS-fread_u_chk.c): Likewise.
544 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
545 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
546 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
547 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
548 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
549 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
550 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
551 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
552 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
553
554 * libio/Makefile: Test [$(libc-reentrant) = yes]
555 instead of [$(filter %REENTRANT, $(defines)) nonempty].
556
557 * Makeconfig
558 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
559 * sysdeps/pthread/configure: File removed.
560 * sysdeps/pthread/Makeconfig: New file.
561 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
562 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
563
d9195db8
GB
5642012-08-16 Gary Benson <gbenson@redhat.com>
565
566 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
567 unmapping the first object in a namespace.
568
86466cd9
RM
5692012-08-16 Roland McGrath <roland@hack.frob.com>
570
571 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
572 (__internal_setnetgrent): ... this. Add internal_function to
573 definition. Add libc_hidden_def.
574 (setnetgrent): Update caller.
575 (internal_endnetgrent): Renamed to ...
576 (__internal_endnetgrent): ... this. Add internal_function to
577 definition. Add libc_hidden_def.
578 (endnetgrent): Update caller.
579 (internal_getnetgrent_r): Renamed to ...
580 (__internal_getnetgrent_r): ... this. Add internal_function to
581 definition. Add libc_hidden_def.
582 (__getnetgrent_r): Update caller.
583 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
584
c3c8283c
JM
5852012-08-16 Joseph Myers <joseph@codesourcery.com>
586
587 * stdlib/longlong.h: Update from GCC.
588
db1ee0a8
RM
5892012-08-16 Roland McGrath <roland@hack.frob.com>
590
591 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
592 on _QL, which is set by umul_ppmm but never used.
593 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
594 variables, which are set by GMP macros but never used.
595 * stdio-common/_itowa.c (_itowa): Likewise.
596 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
597 * stdlib/mod_1.c (mpn_mod_1): Likewise.
598
30f69637
CD
5992012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
600
601 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
602 struct La_sh_regs is not constant.
603 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
604 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
605 and struct La_sparc64_regs are not constant.
606
93a78ac4
JM
6072012-08-16 Joseph Myers <joseph@codesourcery.com>
608
609 * sysdeps/unix/sysv/linux/kernel-features.h
610 (__ASSUME_POSIX_TIMERS): Remove.
611 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
612 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
613 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
614 Make code unconditional.
615 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
616 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
617 Make code unconditional.
618 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
619 * sysdeps/unix/sysv/linux/clock_nanosleep.c
620 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
621 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
622 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
623 Make code unconditional.
624 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
625 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
626 (__libc_missing_posix_timers): Remove.
627
dd924cd7
RM
6282012-08-15 Roland McGrath <roland@hack.frob.com>
629
4b4f2771
RM
630 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
631 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
632
601c888b
RM
633 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
634
176790a7
RM
635 * elf/dl-sym.c: Include <stdlib.h>.
636
329bc018
RM
637 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
638 constants, which avoids warnings in 32-bit builds.
639
e04e272d
RM
640 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
641 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
642
952bf94a
RM
643 * misc/lseek.c: File moved to ...
644 * io/lseek.c: ... here.
645
7c99b50a
RM
646 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
647
dd924cd7
RM
648 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
649 shifting LEN more than 31 bits at once.
650
b3f479a8
LD
6512012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
652
653 [BZ #14195]
8c4ae0d4
RM
654 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
655 segmentation fault for a case of two empty input strings.
b3f479a8
LD
656 * string/test-strncasecmp.c (check1): Renamed to...
657 (bz12205): ...this.
658 (bz14195): Add new testcase for two empty input strings and N > 0.
659 (test_main): Call new testcase, adapt for renamed function.
660
9c55864e
AJ
6612012-08-15 Andreas Jaeger <aj@suse.de>
662
663 [BZ #14090]
664 * crypt/md5test2.c: New test, based on test supplied by Serge
665 Belyshev <belyshev@depni.sinp.msu.ru>.
666 * crypt/Makefile (xtests): Add md5test-giant..
667 * crypt/Makefile ($(objpfx)md5test-giant): Add.
668
02dcb6c5
PE
6692012-08-15 Paul Eggert <eggert@cs.ucla.edu>
670
671 [BZ #14090]
672 * crypt/md5.c (md5_process_block): Don't assume the buffer
673 length is less than 2**32.
674 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
675 length is less than 2**64.
676
a3f95dcc
RM
6772012-08-15 Roland McGrath <roland@hack.frob.com>
678
be75d758
RM
679 * string/str-two-way.h: Include <sys/param.h>.
680 (MAX): Macro removed.
681
7312ca90
RM
682 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
683 Move #define and #undef of memmove to just before and after
684 including <string.h>.
685
9a0a5486
RM
686 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
687 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
688 and after including <string.h>. Move declarations of
689 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
690 to before #include "string/memmove.c".
691
67cc348d
RM
692 * include/dirent.h: Declare __getdirentries.
693
a3f95dcc
RM
694 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
695 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
696
ca98e171
MF
6972012-08-14 Mike Frysinger <vapier@gentoo.org>
698
699 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
700 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
701 * sysdeps/i386/configure: Regenerated.
702 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
703 STABS_CURRENT_FILE, and STABS_FUN.
704 (END): Remove call to STABS_FUN_END.
705 (STABS_CURRENT_FILE1): Delete.
706 (STABS_CURRENT_FILE): Likewise.
707 (STABS_FUN): Likewise.
708 (STABS_FUN_END): Likewise.
709 (STABS_FUN2): Likewise.
710 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
711 * sysdeps/x86_64/configure: Regenerated.
712
5908bf46
RM
7132012-08-14 Roland McGrath <roland@hack.frob.com>
714
715 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 716 * elf/dl-lookup.c: Likewise.
5908bf46 717
f2c05b9e
JM
7182012-08-14 Joseph Myers <joseph@codesourcery.com>
719
720 * sysdeps/unix/sysv/linux/kernel-features.h
721 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
722 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
723 unconditionally.
724 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
725 unconditionally.
726 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
727 condition on __ASSUME_CLONE_THREAD_FLAGS.
728
e11f5155
AJ
7292012-08-14 Andreas Jaeger <aj@suse.de>
730
731 * sysdeps/i386/fpu/libm-test-ulps: Update.
732
51a9ba86
MK
7332012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
734
2fdd4f78
AJ
735 * include/atomic.h (atomic_exchange_and_add): Split into ...
736 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
737 New atomic macros.
51a9ba86 738
ba6cba9e
MT
7392012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
740
741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
742
42443a47
JL
7432012-08-13 Jeff Law <law@redhat.com>
744
745 * manual/stdio.texi (snprintf): Clarify handling of the trailing
746 null byte in the output string.
747
121dce05
JM
7482012-08-10 Joseph Myers <joseph@codesourcery.com>
749
750 * sysdeps/unix/sysv/linux/kernel-features.h
751 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
752 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
753 (__ASSUME_ARG_MAX_STACK_BASED): Define.
754 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
755 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
756 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
757 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
758
bf51f568
JL
7592012-08-09 Jeff Law <law@redhat.com>
760
761 [BZ #13939]
762 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
763 When avoid_arena is set, don't retry in the that arena. Pick the
764 next one, whatever it might be.
765 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
766 (arena_lock): Pass in new parameter to arena_get2.
767 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
768 arena_get2.
769 (__libc_malloc): Unify retrying after main arena failure with
770 __libc_memalign version.
771 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
772
f85fa270
L
7732012-08-09 H.J. Lu <hongjiu.lu@intel.com>
774
775 [BZ #14166]
776 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
777 to __redirect_strstr.
778 (__strstr_sse42): Use typeof __redirect_strstr.
779 (__strstr_ia32): Likewise.
780 (__libc_strstr): New prototype.
781 (strstr): Renamed to ...
782 (__libc_strstr): This.
783 (strstr): New strong alias of __libc_strstr.
784 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
785 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
786 __redirect_time.
787 Include <time.h>.
788 (__libc_time): New prototype.
789 (time_ifunc): Replace time with __libc_time.
790 (time): New strong alias and hidden definition of __libc_time.
791 (__GI_time): Remove strong alias.
792 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
793 Include <stddef.h>.
794 (memmove): Redefined to __redirect_memmove.
795 (__memmove_sse2): Use typeof __redirect_memmove.
796 (__memmove_ssse3): Likewise.
797 (__memmove_ssse3_back): Likewise.
798 (__libc_memmove): New prototype.
799 (memmove): Renamed to ...
800 (__libc_memmove): This.
801 (memmove): New strong alias of __libc_memmove.
802
33b4a91e
MS
8032012-08-08 Mark Salter <msalter@redhat.com>
804
805 * elf/elf.h
806 (R_MN10300_TLS_GD): Define.
807 (R_MN10300_TLS_LD): Likewise.
808 (R_MN10300_TLS_LDO): Likewise.
809 (R_MN10300_TLS_GOTIE): Likewise.
810 (R_MN10300_TLS_IE): Likewise.
811 (R_MN10300_TLS_LE): Likewise.
812 (R_MN10300_TLS_DTPMOD): Likewise.
813 (R_MN10300_TLS_DTPOFF): Likewise.
814 (R_MN10300_TLS_TPOFF): Likewise.
815 (R_MN10300_SYM_DIFF): Likewise.
816 (R_MN10300_ALIGN): Likewise.
817 (R_MN10300_NUM): Update.
818
b36137f1
JM
8192012-08-08 Joseph Myers <joseph@codesourcery.com>
820
821 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
822 Remove.
823
cdd915fd
RM
8242012-08-08 Roland McGrath <roland@hack.frob.com>
825
a2433aac
RM
826 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
827
cdd915fd
RM
828 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
829 sysdeps/unix -> sysdeps/posix move.
830 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
831
bf9b740a
AM
8322012-08-07 Allan McRae <allan@archlinux.org>
833
834 [BZ #14303]
835 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
836 (SUNOS_CPP): Likewise.
837 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
838 not found.
839 (open_input): Call CPP using execvp.
840
93df14ee
JM
8412012-08-07 Joseph Myers <joseph@codesourcery.com>
842
843 * sysdeps/unix/sysv/linux/kernel-features.h
844 (__ASSUME_PROT_GROWSUPDOWN): Remove.
845 (__ASSUME_NO_CLONE_DETACHED): Likewise.
846 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
847 (__ASSUME_WAITID_SYSCALL): Likewise.
848 * sysdeps/unix/sysv/linux/dl-execstack.c
849 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
850 code unconditional.
851 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
852 conditional code.
853 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
854 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
855 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
856 code.
857 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
858 unconditional.
859 [__ASSUME_WAITID_SYSCALL]: Likewise.
860 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
861
d34689de
RM
8622012-08-07 Roland McGrath <roland@hack.frob.com>
863
a281decc
RM
864 * sysdeps/unix/closedir.c: Renamed to ...
865 * sysdeps/posix/closedir.c: ... here.
866 * sysdeps/unix/dirfd.c: Renamed to ...
867 * sysdeps/posix/dirfd.c: ... here.
868 * sysdeps/unix/dirstream.h: Renamed to ...
869 * sysdeps/posix/dirstream.h: ... here.
870 * sysdeps/unix/fdopendir.c: Renamed to ...
871 * sysdeps/posix/fdopendir.c: ... here.
872 * sysdeps/unix/opendir.c: Renamed to ...
873 * sysdeps/posix/opendir.c: ... here.
874 * sysdeps/unix/readdir.c: Renamed to ...
875 * sysdeps/posix/readdir.c: ... here.
876 * sysdeps/unix/readdir_r.c: Renamed to ...
877 * sysdeps/posix/readdir_r.c: ... here.
878 * sysdeps/unix/rewinddir.c: Renamed to ...
879 * sysdeps/posix/rewinddir.c: ... here.
880 * sysdeps/unix/seekdir.c: Renamed to ...
881 * sysdeps/posix/seekdir.c: ... here.
882 * sysdeps/unix/telldir.c: Renamed to ...
883 * sysdeps/posix/telldir.c: ... here.
884 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
885 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
886 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
887 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
888
22895b47
RM
889 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
890 * bits/fcntl.h: ... here.
891
707a53b6
RM
892 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
893 not 0.
894 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
895 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
896 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
897 (struct flock): Move l_start, l_len to the beginning.
898 Use __pid_t for l_pid.
899 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
900 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
901 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
902 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
903 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
904 [__USE_LARGEFILE64] (struct flock64): New type.
905 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
906
f0bd3e25
RM
907 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
908 * bits/dirent.h: ... here.
909
d34689de
RM
910 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
911 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
912
6dad2c06
JM
9132012-08-07 Joseph Myers <joseph@codesourcery.com>
914
915 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
916 Change from 2.6.0 to 2.6.16.
917 * sysdeps/unix/sysv/linux/configure: Regenerated.
918 * sysdeps/unix/sysv/linux/kernel-features.h
919 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
920 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
921 version.
922 (__ASSUME_UTIMES): Likewise.
923 (__ASSUME_CLONE_STOPPED): Remove.
924 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
925 architectures, not kernel version.
926 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
927 (__ASSUME_NO_CLONE_DETACHED): Likewise.
928 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
929 (__ASSUME_WAITID_SYSCALL): Likewise.
930 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
931 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
932 * README: State 2.6.16 as minimum Linux kernel version. Do not
933 refer to older versions.
934
03af9520
RM
9352012-08-06 Roland McGrath <roland@hack.frob.com>
936
8e49df1d
RM
937 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
938 Define alphasort64 as an alias.
939 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
940 Define versionsort64 as an alias.
941 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
942 Define scandir64 as an alias.
943 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
944 Define scandirat64 as an alias.
945 * dirent/alphasort64.c (alphasort64):
946 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
947 * dirent/versionsort64.c: Likewise.
948 * dirent/scandir64.c: Likewise.
949 * dirent/scandirat64.c: Likewise.
950 * sysdeps/wordsize-64/alphasort.c: File removed.
951 * sysdeps/wordsize-64/alphasort64.c: File removed.
952 * sysdeps/wordsize-64/scandir.c: File removed.
953 * sysdeps/wordsize-64/scandir64.c: File removed.
954 * sysdeps/wordsize-64/scandirat.c: File removed.
955 * sysdeps/wordsize-64/scandirat64.c: File removed.
956 * sysdeps/wordsize-64/versionsort.c: File removed.
957 * sysdeps/wordsize-64/versionsort64.c: File removed.
958 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
959 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
960 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
961 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
962 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
963 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
964 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
965 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
966
967 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
968 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
969 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
970 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
971 [defined __arch64__ || defined __sparcv9]
972 (__INO_T_MATCHES_INO64_T): New macro.
973 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
974 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
975 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
976 * sysdeps/unix/sysv/linux/bits/dirent.h
977 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
978 (_DIRENT_MATCHES_DIRENT64): New macro.
979
03af9520
RM
980 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
981 Define lockf64 as an alias.
982 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
983 Define fseeko64 as an alias.
984 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
985 Define ftello64 as an alias.
986 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
987 Define _IO_fgetpos64 and fgetpos64 as aliases.
988 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
989 Define _IO_fsetpos64 and fsetpos64 as aliases.
990 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
991 Conditionalize body on this.
992 * libio/fseeko64.c: Likewise.
993 * libio/ftello64.c: Likewise.
994 * libio/iofgetpos64.c: Likewise.
995 * libio/iofsetpos64.c: Likewise.
996 * sysdeps/wordsize-64/lockf.c: File removed.
997 * sysdeps/wordsize-64/lockf64.c: File removed.
998 * sysdeps/wordsize-64/fseeko.c: File removed.
999 * sysdeps/wordsize-64/fseeko64.c: File removed.
1000 * sysdeps/wordsize-64/ftello.c: File removed.
1001 * sysdeps/wordsize-64/ftello64.c: File removed.
1002 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1003 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1004 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1005 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1006 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1007 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1008 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1009 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1010 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1011 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1012 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1013 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1014 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1015 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1016
1017 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1019 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1020 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1021 [defined __arch64__ || defined __sparcv9]
1022 (__OFF_T_MATCHES_OFF64_T): New macro.
1023 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1024 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1025 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1026 (__OFF_T_MATCHES_OFF64_T): New macro.
1027
c5757acd
L
10282012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1029
1030 * stdlib/secure-getenv.c (__secure_getenv): Replace
1031 GLIBC_2_16 with GLIBC_2_17.
1032
3a31811e
L
10332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1034
1035 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1036 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1037
faa2bccb
DM
10382012-08-03 David S. Miller <davem@davemloft.net>
1039
1040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1041
85fe1997
JM
10422012-08-03 Joseph Myers <joseph@codesourcery.com>
1043
1044 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1045 Remove.
1046 (__ASSUME_CORRECT_SI_PID): Likewise.
1047 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1048 (__ASSUME_TMPFS_NAME): Likewise.
1049 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1050 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1051 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1052 (HAVE_AUX_SECURE): Make definition unconditional.
1053 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1054 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1055
4f75b7a0
RM
10562012-08-03 Roland McGrath <roland@hack.frob.com>
1057
1058 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1059 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1060 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1061 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1062 __eloop_threshold instead of SYMLOOP_MAX.
1063
1064 * sysdeps/generic/eloop-threshold.h: New file.
1065 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1066 of MAXSYMLINKS.
1067 * elf/chroot_canon.c (chroot_canon): Likewise.
1068
7aab07e4
JM
10692012-08-03 Joseph Myers <joseph@codesourcery.com>
1070
1071 [BZ #13717]
1072 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1073 Change to 2.6.0 everywhere.
1074 * sysdeps/unix/sysv/linux/configure: Regenerated.
1075 * sysdeps/unix/sysv/linux/kernel-features.h
1076 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1077 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1078 kernel versions.
1079 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1080 (__ASSUME_FUTEX_REQUEUE): Remove.
1081 (__ASSUME_STATFS64): Define unconditionally.
1082 (__ASSUME_AT_SECURE): Likewise.
1083 (__ASSUME_CORRECT_SI_PID): Likewise.
1084 (__ASSUME_TGKILL): Define without depending on kernel version for
1085 i386.
1086 (__ASSUME_UTIMES): Likewise.
1087 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1088 kernel version.
1089 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1090 (__ASSUME_TMPFS_NAME): Likewise.
1091 * README: Update reference to Linux kernel versions.
1092
b67e9372
MP
10932012-08-02 Marek Polacek <polacek@redhat.com>
1094
1f529f7d 1095 [BZ# 14150]
b67e9372
MP
1096 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1097 libc_cv_asm_type_prefix with %.
1098 * configure: Regenerated.
d2441631
RM
1099 * include/libc-symbols.h: Remove comment about
1100 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1101 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1102 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1103 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1104 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1105 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1106 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1107 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1108 * elf/tst-unique2mod1.c: Likewise.
1109 * elf/tst-unique1mod2.c: Likewise.
1110 * elf/tst-unique1mod1.c: Likewise.
1111 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1112 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1113 Replace ASM_TYPE_DIRECTIVE with .type.
1114 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1115 * sysdeps/i386/sysdep.h: Likewise.
1116 * sysdeps/x86_64/sysdep.h: Likewise.
1117 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1119 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1120 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1121 * sysdeps/powerpc/powerpc32/sysdep.h:
1122 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1123 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1124 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1125 * sysdeps/i386/fpu/e_powf.S: Likewise.
1126 * sysdeps/i386/fpu/e_expl.S: Likewise.
1127 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1128 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1129 * sysdeps/i386/fpu/e_pow.S: Likewise.
1130 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1131 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1132 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1133 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1134 * sysdeps/i386/fpu/e_log2.S: Likewise.
1135 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1136 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1137 * sysdeps/i386/fpu/e_powl.S: Likewise.
1138 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1139 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1140 * sysdeps/i386/fpu/e_logl.S: Likewise.
1141 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1142 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1143 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1144 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1145 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1146 * sysdeps/i386/fpu/e_log.S: Likewise.
1147 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1148 * sysdeps/i386/fpu/e_logf.S: Likewise.
1149 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1150 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1151 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1152 * sysdeps/i386/fpu/e_log10.S: Likewise.
1153 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1154 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1155 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1156 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1157 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1158 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1159 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1160 * sysdeps/i386/i686/strtok.S: Likewise.
1161 * sysdeps/i386/i386-mcount.S: Likewise.
1162 * sysdeps/i386/strtok.S: Likewise.
1163 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1164 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1165 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1166 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1167 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1168 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1169 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1170 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1171 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1172 * sysdeps/x86_64/_mcount.S: Likewise.
1173 * sysdeps/x86_64/strtok.S: Likewise.
1174 * sysdeps/sh/_mcount.S: Likewise.
1175
2747bf9a
RM
11762012-08-01 Roland McGrath <roland@hack.frob.com>
1177
1178 * libio/iofopen.c: Include <fcntl.h>.
1179 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1180 (_IO_fopen64, fopen64): Define as aliases.
1181 * libio/iofopen64.c: Include <fcntl.h>.
1182 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1183 Conditionalize body on this.
1184 * sysdeps/wordsize-64/iofopen.c: File removed.
1185 * sysdeps/wordsize-64/iofopen64.c: File removed.
1186
3fb791b8
MP
11872012-08-01 Marek Polacek <polacek@redhat.com>
1188
1189 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1190 Use dlfcn directly instead of a variable.
1191 (binfmt-subdir): Do not define.
1192 (dlfcn): Likewise.
1193
a9f1039f
JM
11942012-08-01 Joseph Myers <joseph@codesourcery.com>
1195
23bddc06
JM
1196 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1197 Remove all definitions.
1198 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1199 <kernel-features.h>.
1200 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1201 (miss_F_GETOWN_EX): Remove all definitions.
1202 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1203 macro definition.
1204 [!__ASSUME_FCNTL64]: Remove conditional code.
1205 [__ASSUME_FCNTL64]: Make code unconditional.
1206 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1207 <kernel-features.h>.
1208 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1209 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1210 (lockf64) [__NR_fcntl64]: Make code unconditional.
1211 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1212
a9f1039f
JM
1213 * sysdeps/unix/sysv/linux/kernel-features.h
1214 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1215 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1216 Make code unconditional.
1217 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1218 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1220 [__NR_vfork]: Make code unconditional.
1221 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1222 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1224 [__NR_vfork]: Make code unconditional.
1225 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1226 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1227
09c0ee5f
RM
12282012-08-01 Roland McGrath <roland@hack.frob.com>
1229
48aec5b9
RM
1230 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1231 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1232
cd97c966
RM
1233 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1234 Define mkstemp64 as an alias.
3f55550c
RM
1235 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1236 Define mkstemps64 as an alias.
cd97c966
RM
1237 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1238 Define mkostemp64 as an alias.
b8625cfc
RM
1239 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1240 Define mkostemps64 as an alias.
cd97c966
RM
1241 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1242 Conditionalize body on this.
1243 * misc/mkostemp64.c: Likewise.
b8625cfc 1244 * misc/mkostemps64.c: Likewise.
3f55550c 1245 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1246 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1247 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1248 * sysdeps/wordsize-64/mkostemp.c: File removed.
1249 * sysdeps/wordsize-64/mkstemp.c: File removed.
1250 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1251 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1252 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1253 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1254
09c0ee5f
RM
1255 [BZ #14138]
1256 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1257 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1258 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1259 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1260
1261 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1262 compat_symbol macros from <shlib-compat.h> rather than the underlying
1263 default_symbol_version and symbol_version macros, so that DEFAULT
1264 lines in shlib-versions are respected.
1265 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1266
7e66ee51
FW
12672012-08-01 Florian Weimer <fweimer@redhat.com>
1268
1269 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1270 Declare with warn_unused_result.
1271 (setgid, setregid, setegid, setresgid): Likewise.
1272 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1273 Likewise.
1274 * WUR-REPORT: Remove set*id functions.
1275
d2a54255
PT
12762012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1277
1278 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1279
7ecdb005
RM
12802012-07-31 Roland McGrath <roland@hack.frob.com>
1281
789bd351
RM
1282 * include/sys/socket.h (__libc_accept, __libc_accept4):
1283 Add attribute_hidden.
1284 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1285
40ce302d
RM
1286 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1287 use of PTR_MANGLE.
1288 * inet/getnetgrent_r.c (setup): Likewise.
1289
7ecdb005
RM
1290 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1291
e2eabb2c
DM
12922012-07-31 David S. Miller <davem@davemloft.net>
1293
1294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1295
d0419dbf
JM
12962012-07-31 Joseph Myers <joseph@codesourcery.com>
1297
1298 [BZ #13629]
1299 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1300 value between 1.0 and 2.0 and smaller part has absolute value less
1301 than 1.0.
1302 * math/s_clog10.c (__clog10): Likewise.
1303 * math/s_clog10f.c (__clog10f): Likewise.
1304 * math/s_clog10l.c (__clog10l): Likewise.
1305 * math/s_clogf.c (__clogf): Likewise.
1306 * math/s_clogl.c (__clogl): Likewise.
1307 * math/libm-test.inc (clog_test): Add more tests.
1308 (clog10_test): Likewise.
1309 * sysdeps/i386/fpu/libm-test-ulps: Update.
1310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1311
2bc13872
FW
13122012-07-31 Florian Weimer <fweimer@redhat.com>
1313
1314 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1315 Exit with zero in case no suitable GID is found, and write a
1316 message to standard error.
1317
bea9b193
RM
13182012-07-30 Roland McGrath <roland@hack.frob.com>
1319
1320 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1321 rather than to 1.
1322 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1323 (MAXPATHLEN): Removed.
1324 (NOGROUP, NODEV): New macros.
1325 (setbit, clrbit, isset, isclr): New macros.
1326 (howmany, roundup, powerof2): New macros.
1327 (DEV_BSIZE): New macro.
1328
1329 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1330 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1331
1332 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1333 definition on [!__NO_LONG_DOUBLE_MATH].
1334
1335 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1336 PTR_MANGLE and PTR_DEMANGLE.
1337
1338 * socket/accept4.c (accept4): Rename to __libc_accept4.
1339 Define accept4 as a weak alias.
1340
1341 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1342 on [_DIRENT_HAVE_D_TYPE].
1343 * io/ftw.c (ftw_dir): Likewise.
1344
1345 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1346
1347 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1348
1349 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1350 Use the BSD numbers rather than the arbitrary ones we had.
1351 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1352 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1353 (SIGXCPU, SIGXFSZ): New macros.
1354 (_NSIG): Now 32.
1355
1356 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1357 initializer on [_LIBC_REENTRANT].
1358
1359 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1360 definitions inside [_POSIX_MAPPED_FILES].
1361
1362 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1363
1364 * dirent/opendir.c: Include <fcntl.h>.
1365
1366 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1367 (__libc_getspecific): Likewise.
1368 (__libc_key_create): Likewise.
1369
1370 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1371 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1372 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1373 (tmpfile64): Define as alias.
1374 * sysdeps/wordsize-64/tmpfile.c: File removed.
1375 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1376 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1377 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1378
1379 * stdio-common/vfscanf.c: Include <stdbool.h>.
1380 * nss/makedb.c: Likewise.
1381 * stdio-common/_i18n_number.h: Likewise.
1382 * argp/argp-help.c: Likewise.
1383 * posix/wordexp.c: Likewise.
1384 * sysdeps/posix/spawni.c: Likewise.
1385 * nss/nss_files/files-initgroups.c: Likewise.
1386 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1387 * nss/nss_files/files-initgroups.c: Likewise.
1388 * nss/nss_db/db-netgrp.c: Likewise.
1389 * nss/nss_db/db-initgroups.c: Likewise.
1390 * io/fchmodat.c: Include <sys/stat.h>.
1391
1392 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1393 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1394
1395 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1396 [HAVE_MMAP].
1397
1398 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1399 Add multiple inclusion protection.
1400
e5abc686
DM
14012012-07-27 David S. Miller <davem@davemloft.net>
1402
1403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1404
815e6fa3
GB
14052012-07-27 Gary Benson <gbenson@redhat.com>
1406
1407 [BZ #14298]
1408 * elf/rtld.c: Include <stap-probe.h>.
1409 (dl_main): Added static probes "init_start" and "init_complete".
1410 * elf/dl-load.c: Include <stap-probe.h>.
1411 (lose): Take new parameter "nsid".
1412 Added static probe "map_failed".
1413 (_dl_map_object_from_fd): Pass namespace id to lose.
1414 Added static probe "map_start".
1415 (open_verify): Pass namespace id to lose.
1416 * elf/dl-open.c: Include <stap-probe.h>.
1417 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1418 and "reloc_complete".
1419 * elf/dl-close.c: Include <stap-probe.h>.
1420 (_dl_close_worker): Added static probes "unmap_start" and
1421 "unmap_complete".
1422 * elf/rtld-debugger-interface.txt: New file documenting the above.
1423
9f98c16c
RM
14242012-07-26 Roland McGrath <roland@hack.frob.com>
1425
1426 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1427 rather than a string variable.
1428 * sunrpc/rpc_main.c (h_output): Likewise.
1429 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1430
f3c22df3
PT
14312012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1432
1433 * inet/check_native.c: New file.
1434
3129cfc6
JM
14352012-07-26 Joseph Myers <joseph@codesourcery.com>
1436
da865e95
JM
1437 [BZ #13629]
1438 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1439 if larger part has absolute value 1.0.
1440 * math/s_clog10.c (__clog10): Likewise.
1441 * math/s_clog10f.c (__clog10f): Likewise.
1442 * math/s_clog10l.c (__clog10l): Likewise.
1443 * math/s_clogf.c (__clogf): Likewise.
1444 * math/s_clogl.c (__clogl): Likewise.
1445 * math/libm-test.inc (clog_test): Add more tests.
1446 (clog10_test): Likewise.
1447 * sysdeps/i386/fpu/libm-test-ulps: Update.
1448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1449
3129cfc6
JM
1450 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1451 (pltexit): Likewise.
1452 (La_regs): Likewise.
1453 (La_retval): Likewise.
1454 (int_retval): Likewise.
1455 Update #error for removed macros to refer only to definitions in
1456 tst-audit.h.
1457 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1458 macro.
1459 (pltexit): Likewise.
1460 (La_regs): Likewise.
1461 (La_retval): Likewise.
1462 (int_retval): Likewise.
1463 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1464 macro.
1465 (pltexit): Likewise.
1466 (La_regs): Likewise.
1467 (La_retval): Likewise.
1468 (int_retval): Likewise.
1469 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1470 macro.
1471 (pltexit): Likewise.
1472 (La_regs): Likewise.
1473 (La_retval): Likewise.
1474 (int_retval): Likewise.
1475 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1476 macro.
1477 (pltexit): Likewise.
1478 (La_regs): Likewise.
1479 (La_retval): Likewise.
1480 (int_retval): Likewise.
1481 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1482 macro.
1483 (pltexit): Likewise.
1484 (La_regs): Likewise.
1485 (La_retval): Likewise.
1486 (int_retval): Likewise.
1487 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1488 macro.
1489 (pltexit): Likewise.
1490 (La_regs): Likewise.
1491 (La_retval): Likewise.
1492 (int_retval): Likewise.
1493 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1494 macro definitions in tst-audit.h.
1495 * sysdeps/i386/tst-audit.h: New file.
1496 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1497 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1498 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1499 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1500 * sysdeps/sh/tst-audit.h: Likewise.
1501 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1502 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1503 * sysdeps/x86_64/tst-audit.h: Likewise.
1504
bfc07087
AJ
15052012-07-26 Andreas Jaeger <aj@suse.de>
1506
b1b2aaf8
AJ
1507 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1508 ptrace.
1509
1510 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1511 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1512 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1513 PTRACE_O_MASK.
1514 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1515 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1516 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1517
bfc07087
AJ
1518 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1519 value.
1520
1521 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1522 _sigsys.
1523 (si_call_addr, si_syscall, si_arch): Define new macro.
1524 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1525 _sigsys.
1526 (si_call_addr, si_syscall, si_arch): Define new marcro.
1527 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1528 _sigsys.
1529 (si_call_addr, si_syscall, si_arch): Define new macro.
1530 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1531 _sigsys.
1532 (si_call_addr, si_syscall, si_arch): Define new macro.
1533
89b4b02f
JM
15342012-07-25 Joseph Myers <joseph@codesourcery.com>
1535
1536 [BZ #13717]
1537 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1538 Change to 2.4.21 where previously 2.4.1.
1539 * sysdeps/unix/sysv/linux/configure: Regenerated.
1540 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1541 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1542 Linux kernel version.
1543 (__ASSUME_STD_AUXV): Remove.
1544 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1545 kernel version.
1546 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1547 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1548 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1549 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1550 (__ASSUME_NETLINK_SUPPORT): Likewise.
1551 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1552 (__no_netlink_support): Remove conditional definition.
1553 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1554 Remove.
1555 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1556 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1557 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1558 (if_nameindex_ioctl): Remove.
1559 (if_nameindex_netlink): Do not handle __no_netlink_support.
1560 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1561 code.
1562 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1563 Remove conditional code.
1564 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1565 code.
1566 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1567 unconditional.
1568 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1569 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1570 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1571 Remove.
1572 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1573 [!__ASSUME_STD_AUXV]: Remove conditional code.
1574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1575 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1576 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1578 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1579 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1580 code.
1581 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1583 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1584 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1585 conditional code.
1586 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1588 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1589 code.
1590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1591 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1592 conditional code.
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1594 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1595 code unconditional.
1596 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1597 conditional code.
1598 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1599 unconditional.
1600 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1601 conditional code.
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1603 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1604 unconditional.
1605 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1606 conditional code.
1607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1608 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1609 code unconditional.
1610 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1611 conditional code.
1612 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1613 unconditional.
1614 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1615 conditional code.
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1617 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1618 code unconditional.
1619 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1620 conditional code.
1621 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1622 unconditional.
1623 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1624 conditional code.
1625
842a39cd
AS
16262012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1627
1628 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1629 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1630 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1631 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1632 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1633 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1634 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1635 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1636 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1637 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1638 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1639 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1640 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1641 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1642 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1643 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1644 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1645 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1646 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1648 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1649 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1650 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1651
84b3fd84
FW
16522012-07-25 Florian Weimer <fweimer@redhat.com>
1653
1654 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1655 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1656 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1657 Introduce __libc_secure_getenv.
0c7936d5
FW
1658 * stdlib/Versions (2.17): Add secure_getenv
1659 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1660 * stdlib/secure-getenv.c: Rename __secure_getenv to
1661 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1662 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1663 * stdlib/tst-secure-getenv.c: New.
1664 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1665 * manual/startup.texi (Environment Access): Document
1666 secure_getenv.
84b3fd84
FW
1667 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1668 __libc_secure_getenv.
1669 * inet/ruserpass.c (ruserpass): Likewise.
1670 * malloc/mtrace.c (mtrace): Likewise.
1671 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1672 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1673 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1674 * sysdeps/posix/tempname.c: Likewise. Evaluate
1675 HAVE_SECURE_GETENV.
1676 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1677 __secure_getenv to __libc_secure_getenv.
84b3fd84 1678 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1680 Likewise.
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1682 Likewise.
1683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1685 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1690
56e49b71
JM
16912012-07-25 Joseph Myers <joseph@codesourcery.com>
1692
1693 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1694 (struct La_i86_retval): Likewise.
1695 (struct La_x86_64_regs): Likewise.
1696 (struct La_x86_64_retval): Likewise.
1697 (struct La_x32_regs): Likewise.
1698 (struct La_x32_retval): Likewise.
1699 (struct La_ppc32_regs): Likewise.
1700 (struct La_ppc32_retval): Likewise.
1701 (struct La_ppc64_regs): Likewise.
1702 (struct La_ppc64_retval): Likewise.
1703 (struct La_sh_regs): Likewise.
1704 (struct La_sh_retval): Likewise.
1705 (struct La_s390_32_regs): Likewise.
1706 (struct La_s390_32_retval): Likewise.
1707 (struct La_s390_64_regs): Likewise.
1708 (struct La_s390_64_retval): Likewise.
1709 (struct La_sparc32_regs): Likewise.
1710 (struct La_sparc32_retval): Likewise.
1711 (struct La_sparc64_regs): Likewise.
1712 (struct La_sparc64_retval): Likewise.
1713 (struct audit_ifaces): Remove architecture-specific pltenter and
1714 pltexit members.
1715 * sysdeps/i386/ldsodefs.h: New file.
1716 * sysdeps/powerpc/ldsodefs.h: Likewise.
1717 * sysdeps/s390/ldsodefs.h: Likewise.
1718 * sysdeps/sh/ldsodefs.h: Likewise.
1719 * sysdeps/sparc/ldsodefs.h: Likewise.
1720 * sysdeps/x86_64/ldsodefs.h: Likewise.
1721
354691b7
MP
17222012-07-25 Marek Polacek <polacek@redhat.com>
1723
1724 [BZ #6808]
1725 * math/libm-test.inc (yn_test): Add another test.
1726 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1727 to ERANGE when the result is +-Inf.
1728 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1729 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1730 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1731 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1732
bf9e2071
JM
17332012-07-24 Joseph Myers <joseph@codesourcery.com>
1734
1735 * conform/data/time.h-data (NULL): Use macro-constant. Require
1736 equal to 0.
1737 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1738 clock_t.
1739 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1740
57633811
TS
17412012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1742
1743 * configure.in <sysdeps resolving>: Correct printing
1744 Implies_before.
1745 * configure: Regenerate.
1746
c23c33b0
TS
17472012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1748
1749 * math/w_ilogb.c: Include <limits.h>.
1750 * math/w_ilogbl.c: Likewise.
1751
b5982523
JM
17522012-07-20 Joseph Myers <joseph@codesourcery.com>
1753
1754 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1755 va_copy. Document allowing for unavailable va_copy only as
1756 pre-C99 compatibility.
1757 * manual/string.texi (Copying and Concatenation): Use va_copy
1758 instead of __va_copy in concat example.
1759
ac4ea442
PT
17602012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1761
1762 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1763 (__sendto): Use create_address_port. Initialize APORT and deallocate
1764 it if not null.
1765
f98eafbd
PT
1766 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1767 with O_NOLINK passed to __file_name_lookup.
1768
898c7aab
PT
1769 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1770 with O_NOLINK passed to __file_name_lookup.
1771
0ced335a
PT
1772 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1773 negative N or less than NGIDS.
1774
b3404dbd
PT
1775 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1776 type to string_t. Set ERANGE as errno and return it if NAME is not big
1777 enough. Use memcpy instead of strncpy.
1778
0f48659e
JM
17792012-07-20 Joseph Myers <joseph@codesourcery.com>
1780
1781 * elf/Makefile (check-data): Remove.
1782 (localplt.data): New vpath directive.
1783 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1784 instead of $(check-data).
1785 * scripts/data/localplt-generic.data: Move to ...
1786 * sysdeps/generic/localplt.data: ... here.
1787 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1788 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1789 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1791 ... here.
1792 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1794 ... here.
1795 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1797 ... here.
1798 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1800 ... here.
1801 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1803 ... here.
1804 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1806 ... here.
1807
d37cbdaa
AZ
18082012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1809
1810 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1811 PPC32 and PPC64 files.
1812 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1813 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1814
46f85fc2
AK
18152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1816
1817 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1818 __makecontext_ret to ...
1819 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1820 ... here and call exit if uc_link is NULL. New file.
1821 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1822 __makecontext_ret.S.
1823 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1824 __makecontext_ret to ...
1825 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1826 ... here and call exit if uc_link is NULL. New file.
1827 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1828 __makecontext_ret.S.
1829
08f43f9b
AK
18302012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1831
1832 * elf/elf.h (R_390_IRELATIVE): New definition.
1833 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1834 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1835 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1836 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1837 (elf_machine_lazy_rel): Likewise.
1838 * sysdeps/s390/dl-irel.h: New file.
1839 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1840 * sysdeps/s390/s390-64/memset.S: New asm code.
1841 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1842 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1843 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1844 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1845 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1846 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1847 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1848 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1849 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1850 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1851 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1852 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1853 * sysdeps/s390/s390-32/memset.S: New asm code.
1854 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1855
3b05db33
MP
18562012-07-17 Marek Polacek <polacek@redhat.com>
1857
1858 [BZ #14349]
1859 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1860 * sysdeps/s390/s390-64/configure.in: Likewise.
1861 * sysdeps/sparc/configure.in: Likewise.
1862 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1863 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1864 * sysdeps/i386/configure.in: Likewise.
1865 * sysdeps/x86_64/configure.in: Likewise.
1866 * sysdeps/sh/configure.in: Likewise.
1867 * sysdeps/s390/s390-32/configure: Regenerated.
1868 * sysdeps/s390/s390-64/configure: Likewise.
1869 * sysdeps/x86_64/configure: Likewise.
1870 * sysdeps/sh/configure: Likewise.
1871 * sysdeps/powerpc/powerpc64/configure: Likewise.
1872 * sysdeps/powerpc/powerpc32/configure: Likewise.
1873 * sysdeps/sparc/configure: Likwise.
1874 * sysdeps/i386/configure: Likewise.
1875
a66877c6
MP
1876 * elf/dl-open.c: Comment fixes.
1877
cfc82fd8
JM
18782012-07-17 Joseph Myers <joseph@codesourcery.com>
1879
bd29910a
JM
1880 * Makefile [CXX] (check-data): Remove.
1881 [CXX] (c++-types.data): New vpath directive.
1882 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1883 vpath. Do not allow for C++ type data being missing.
1884 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1885 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1886 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1887 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1888 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1889 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1890 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1892 ... here.
1893 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1895 ... here.
1896 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1898 ... here.
1899 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1901 ... here.
1902 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1904 ... here.
1905 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1907 ... here.
1908 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1910 ... here.
1911 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1913
cfc82fd8
JM
1914 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1915 definitions to architecture-specific files.
1916 (TLS_IE): Likewise.
1917 (TLS_LD): Likewise.
1918 (TLS_GD): Likewise.
1919 * sysdeps/i386/tls-macros.h: New file.
1920 * sysdeps/powerpc/tls-macros.h: Likewise.
1921 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1922 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1923 * sysdeps/sh/tls-macros.h: Likewise.
1924 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1925 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1926 * sysdeps/x86_64/tls-macros.h: Likewise.
1927
f7db3170
TS
19282012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1929
07cbfc23
TS
1930 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1931 zero value for regular exit case.
1932
f7db3170
TS
1933 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1934 (__start_context): Preserve zero value for regular exit case.
1935
dc97c227
TS
19362012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1937 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1938
1939 * manual/setjmp.texi (setcontext): Clarify normal process
1940 termination when uc_link is the null pointer.
1941 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1942 exit call.
1943
d0cd7d02
AS
19442012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1945
1946 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1947 preprocessor. Test for each exception mask separately.
1948
dd318934
AJ
19492012-07-16 Andreas Jaeger <aj@suse.de>
1950
1951 * po/ru.po: Update from translation team.
1952
8048311a
JM
19532012-07-15 Joseph Myers <joseph@codesourcery.com>
1954
1955 * conform/data/string.h-data (NULL): Use macro-constant. Require
1956 equal to 0.
1957 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1958 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1959 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1960 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1961 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1962
b637d46e
AJ
19632012-07-13 Andreas Jaeger <aj@suse.de>
1964
1965 * po/fr.po: Update from translation team.
1966
541428fe
MP
19672012-07-12 Marek Polacek <polacek@redhat.com>
1968
1969 [BZ #14173]
1970 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1971 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1972 loop condition.
1973
ec332e94
JM
19742012-07-12 Joseph Myers <joseph@codesourcery.com>
1975
1976 [BZ #13717]
1977 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1978 Change to 2.4.1 where previously 2.4.0.
1979 * sysdeps/unix/sysv/linux/configure: Regenerated.
1980 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1981 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1982 version.
1983 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1984 (__ASSUME_AT_CLKTCK): Remove.
1985 (__ASSUME_AT_PAGESIZE): Likewise.
1986 (__ASSUME_AT_XID): Likewise.
1987 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1988 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1989 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1990 unconditionally.
1991 (HAVE_AUX_PAGESIZE): Likewise.
1992 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1993 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1994 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1995
7b6e99be
JB
19962012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1997
1998 [BZ #14307]
1999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2000 the temporary buffer used to invoke __gethostbyname2_r,
2001 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2002 host_data / struct gaih_addrtuple.
2003 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2004 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2005 header file nss/nsswitch.h.
2006 * nss/nsswitch.h (global scope): Add definition of implementation
2007 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2008 resolv/nss_dns/dns-host.c).
2009
608404eb
AJ
20102012-07-11 Andreas Jaeger <aj@suse.de>
2011
2012 * po/fr.po: Update from translation team.
2013
71220aca
AJ
2014 * po/sv.po: Update from translation team
2015 * po/fr.po: Another update from translation team.
2016
28cfe843
AZ
20172012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2018
2019 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2020 for subnormals or multiply small sinh result by itself.
2021 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2023
6b90f981
DM
20242012-07-11 David S. Miller <davem@davemloft.net>
2025
2026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2027
c6825772
AS
20282012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2029
2030 [BZ #14347]
2031 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2032 (INTERNAL_MARK): Shift it here.
2033
7b8e0d49
MP
20342012-07-10 Marek Polacek <polacek@redhat.com>
2035
2036 [BZ #14151]
2037 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2038 libc_cv_asm_global_directive with .globl.
2039 * configure: Regenerated.
2040 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2041 with .globl.
2042 * sysdeps/i386/configure: Regenerated.
2043 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2044 with .globl.
2045 * sysdeps/x86_64/configure: Regenerated.
2046 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2047 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2048 * elf/tst-unique2mod2.c: Likewise.
2049 * elf/tst-unique2mod1.c: Likewise.
2050 * elf/tst-unique1mod2.c: Likewise.
2051 * elf/tst-unique1mod1.c: Likewise.
2052 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2053 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2054 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2055 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2056 * sysdeps/mach/sysdep.h: Likewise.
2057 * sysdeps/i386/sysdep.h: Likewise.
2058 * sysdeps/i386/i386-mcount.S: Likewise.
2059 * sysdeps/x86_64/_mcount.S: Likewise.
2060 * sysdeps/x86_64/sysdep.h: Likewise.
2061 * sysdeps/sh/_mcount.S: Likewise.
2062 * sysdeps/sh/sysdep.h: Likewise.
2063 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2064 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2065 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2066 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2067 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2068 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2069 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2070 * locale/localeinfo.h: Likewise.
2071 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2072 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2073
6c55cda3
RM
20742012-07-09 Roland McGrath <roland@hack.frob.com>
2075
2076 [BZ #14336]
2077 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2078 system".
2079 * manual/message.texi (The Uniforum approach): Likewise.
2080 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2081 (glibc iconv Implementation): Likewise.
2082
638a572e
JM
20832012-07-09 Joseph Myers <joseph@codesourcery.com>
2084
2085 [BZ #14337]
2086 * math/s_clog.c (__clog): Avoid scaling a value down where that
2087 could result in underflow.
2088 * math/s_clog10.c (__clog10): Likewise.
2089 * math/s_clog10f.c (__clog10f): Likewise.
2090 * math/s_clog10l.c (__clog10l): Likewise.
2091 * math/s_clogf.c (__clogf): Likewise.
2092 * math/s_clogl.c (__clogl): Likewise.
2093 * math/libm-test.inc (clog_test): Add more tests.
2094 (clog10_test): Likewise.
2095 * sysdeps/i386/fpu/libm-test-ulps: Update.
2096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2097
261f4859
AS
20982012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2099
0abaf3e4
AS
2100 [BZ #14283]
2101 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2102 by 7 not 8 to examine high bit of fractional part.
2103
261f4859
AS
2104 [BZ #14042]
2105 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2106 for call to __mcount_internal.
2107 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2108 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2109 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2110
f17ac40d
JM
21112012-07-06 Joseph Myers <joseph@codesourcery.com>
2112
9ad63c23
JM
2113 [BZ #14154]
2114 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2115 approximation for values within 0x1p-13f of an odd multiple of
2116 pi/4.
2117 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2118 exception. Add more tests.
2119 * sysdeps/i386/fpu/libm-test-ulps: Update.
2120
f17ac40d
JM
2121 [BZ #6778]
2122 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2123 inputs and return -1 for them. Do not check for +Inf in case not
2124 reachable for +Inf.
2125 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2126 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2127 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2128 and return -1 for them. Do not check for +Inf in case not
2129 reachable for +Inf.
2130 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2131 define.
2132 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2133 and return -1 for them. Do not check for +Inf in case not
2134 reachable for +Inf.
2135 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2136 spurious underflow.
2137 * sysdeps/i386/fpu/libm-test-ulps: Update.
2138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2139
fb21f89b
MF
21402012-07-06 Mike Frysinger <vapier@gentoo.org>
2141
2142 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2143
cdfe2c5e
JM
21442012-07-05 Joseph Myers <joseph@codesourcery.com>
2145
2146 [BZ #14157]
2147 [BZ #14331]
2148 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2149 could result in spurious underflow. Scale down values above
2150 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2151 * math/s_csqrtf.c (__csqrtf): Likewise.
2152 * math/s_csqrtl.c (__csqrtl): Likewise.
2153 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2154 spurious underflow.
2155 * sysdeps/i386/fpu/libm-test-ulps: Update.
2156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2157
70d35b67
AS
21582012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2159
704bc459
AS
2160 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2161 xopen-msg.sed.
2162 * catgets/xopen-msg.awk: New file.
2163 * catgets/xopen-msg.sed: Removed.
2164
70d35b67
AS
2165 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2166 po2text.sed.
2167 * intl/po2test.awk: New file.
2168 * intl/po2test.sed: Removed.
2169
ca61cf32
JM
21702012-07-04 Joseph Myers <joseph@codesourcery.com>
2171
2172 [BZ #14328]
2173 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2174 or multiply small sinh result by itself.
2175 * math/s_ctanf.c (__ctanf): Likewise.
2176 * math/s_ctanh.c (__ctanh): Likewise.
2177 * math/s_ctanhf.c (__ctanhf): Likewise.
2178 * math/s_ctanhl.c (__ctanhl): Likewise.
2179 * math/s_ctanl.c (__ctanl): Likewise.
2180 * math/libm-test.inc (ctan_test_tonearest): New function.
2181 (ctan_test_towardzero): Likewise.
2182 (ctan_test_downward): Likewise.
2183 (ctan_test_upward): Likewise.
2184 (ctanh_test_tonearest): Likewise.
2185 (ctanh_test_towardzero): Likewise.
2186 (ctanh_test_downward): Likewise.
2187 (ctanh_test_upward): Likewise.
2188 (main): Call these new functions.
2189 * sysdeps/i386/fpu/libm-test-ulps: Update.
2190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2191
ca48a46a
MF
21922012-07-03 Mike Frysinger <vapier@gentoo.org>
2193
2194 * .gitignore: Delete /ports entry.
2195
9d63d37d
AJ
21962012-07-03 Andreas Jaeger <aj@suse.de>
2197
2198 * po/bg.po: Update from translation team.
2199 * po/cs.po: Likewise.
2200 * po/de.po: Likewise.
2201 * po/hr.po: Likewise.
2202 * po/nl.pl: Likewise.
2203 * po/pl.po: Likewise.
2204 * po/vi.po: Likewise.
2205
370ca3d2
JM
22062012-07-03 Joseph Myers <joseph@codesourcery.com>
2207
95f5a9a8
JM
2208 * Makeconfig [!+link] (+link-before-libc): New variable.
2209 [!+link] (+link-after-libc): Likewise.
2210 [!+link] (+link-tests): Likewise.
2211 [!+link] (+link): Define in terms of $(+link-before-libc) and
2212 $(+link-after-libc).
2213 [!+link-static] (+link-static-before-libc): New variable.
2214 [!+link-static] (+link-static-after-libc): Likewise.
2215 [!+link-static] (+link-static-tests): Likewise.
2216 [!+link-static] (+link-static): Define in terms of
2217 $(+link-static-before-libc) and $(+link-static-after-libc).
2218 [build-shared] (link-libc-before-gnulib): New variable.
2219 [build-shared] (link-libc-tests): Likewise.
2220 [build-shared] (link-libc): Define in terms of
2221 $(link-libc-before-gnulib).
2222 [!build-shared] (link-libc-tests): New variable.
2223 (link-libc-static-tests): New variable.
2224 [!gnulib] (gnulib-arch): New variable.
2225 [!gnulib] (gnulib-tests): Likewise.
2226 [!gnulib] (static-gnulib-arch): Likewise.
2227 [!gnulib] (static-gnulib-tests): Likewise.
2228 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2229 Define with "=" instead of ":=".
2230 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2231 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2232 * Rules (binaries-all-notests): New variable.
2233 (binaries-all-tests): Likewise.
2234 (binaries-static-notests): Likewise.
2235 (binaries-static-tests): Likewise.
2236 (binaries-all): Define using $(binaries-all-notests) and
2237 $(binaries-all-tests).
2238 (binaries-static): Define using $(binaries-static-notests) and
2239 $(binaries-static-tests).
2240 (binaries-shared-tests): New variable.
2241 (binaries-shared-notests): Likewise.
2242 (binaries-shared): Remove variable.
2243 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2244 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2245 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2246 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2247 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2248 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2249 * elf/Makefile (sln-modules): New variable.
2250 (extra-objs): Add $(sln-modules:=.o).
2251 (ldconfig-modules): Add static-stubs.
2252 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2253 * elf/static-stubs.c: New file.
2254
7a845b2c
JM
2255 [BZ #14283]
2256 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2257 by 7 not 8 to examine high bit of fractional part. Use volatile
2258 variables when splitting into final array of floats if
2259 __FLT_EVAL_METHOD__ != 0.
2260 * math/libm-test.inc (cos_test): Add another test.
2261 (sin_test): Likewise.
2262 * sysdeps/i386/fpu/libm-test-ulps: Update.
2263
e2283f38
JM
2264 [BZ #14273]
2265 * math/libm-test.inc (cosh_test): Add more tests.
2266
370ca3d2
JM
2267 * version.h (RELEASE): Set to "development".
2268 (VERSION): Set to "2.16.90".
2269
ee9247c3
CD
22702012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2271
2272 * NEWS: Update copyright. Remove last-updated date.
2273 Mention math library bug fixes and timezone data changes.
2274 * README: Mention GNU/Hurd, x32, and HPPA support status.
2275
4648c381
TS
22762012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2277
2278 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2279
aac78a43
AJ
22802012-06-27 Andreas Jaeger <aj@suse.de>
2281
2282 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2283
ed3dbfad
AJ
22842012-06-25 Andreas Jaeger <aj@suse.de>
2285
2286 * sysdeps/s390/fpu/libm-test-ulps: Update.
2287
4d0ee855
AS
22882012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2289 Thomas Schwinge <thomas@codesourcery.com>
2290
2291 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2292 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2293 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2294 fanotify_mark.
2295
af1bce34
TS
22962012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2297
a9fa33ba
TS
2298 * sysdeps/mach/start.c: Remove file.
2299 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2300 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2301 * sysdeps/sh/init-first.c: Likewise.
2302
58f902b8
TS
2303 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2304 registers for frame unwinding purposes, add CFI directives.
2305 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2306 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2307 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2308 Likewise.
2309
1518f58b
TS
2310 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2311 __fortify_fail returning.
2312 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2313
db9b5059
TS
2314 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2315 sysdeps/sh/____longjmp_chk.S.
2316 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2317 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2318 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2319 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2320
967705fe
TS
2321 * sysdeps/sh/abort-instr.h: New file.
2322 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2323 process in case exit returns.
2324
a9def8c4
TS
2325 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2326 initialize the GOT register before use.
2327
2a649725
TS
2328 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2329 calculation of ARGC > 4.
2330
af1bce34
TS
2331 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2332 meaningful names to some local labels.
2333
d230f50a
KK
23342012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2335 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2336
2337 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2338 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2339 (__arch_compare_and_exchange_val_16_acq): Likewise.
2340 (__arch_compare_and_exchange_val_32_acq): Likewise.
2341 (atomic_exchange_and_add): Fix gUSA sequence.
2342 (atomic_add): Likewise.
2343 (atomic_add_negative): Likewise.
2344 (atomic_add_zero): Likewise.
2345 (atomic_bit_test_set): Likewise.
2346
0479b305
AS
23472012-06-22 Andreas Schwab <schwab@redhat.com>
2348
2349 [BZ #13579]
2350 * include/link.h (struct link_map): Add l_free_initfini.
2351 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2352 l_initfini.
2353 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2354 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2355 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2356 set.
2357
0e3933b9
CD
23582012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2359
2360 * configure.in: Use AC_LANG_SOURCE.
2361 * configure: Regenerate.
2362
4248b1b1
RM
23632012-06-22 Roland McGrath <roland@hack.frob.com>
2364
2365 * configure.in (libc_cv_localstatedir): New substituted variable.
2366 * configure: Regenerated.
2367 * config.make.in (localstatedir): New variable, substituted from
2368 libc_cv_localstatedir.
2369 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2370 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2371 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2372 * sysdeps/gnu/configure: Regenerated.
2373
006dd861
JL
23742012-06-21 Jeff Law <law@redhat.com>
2375
2376 [BZ #14277]
2377 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2378 free. Simplify list management for _LIBC case.
2379
79662d42
JM
23802012-06-21 Joseph Myers <joseph@codesourcery.com>
2381
b7abb4bf
JM
2382 [BZ #14273]
2383 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2384 Clear sign bit of 64-bit integer value before comparing against
2385 overflow value.
2386
79662d42
JM
2387 * sysdeps/mach/configure: Regenerated.
2388
1f150908
L
23892012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2390
2391 [BZ #14278]
2392 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2393
28363bbf
JL
23942012-06-21 Jeff Law <law@redhat.com>
2395
2396 [BZ #13882]
2397 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2398 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2399 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2400 * elf/dl-open.c (dl_open_worker): Likewise.
2401
09615db4
CD
24022012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2403
2404 * scripts/list-sources.sh: Scan PORTS for translations.
2405 * po/libc.pot: Regenerated.
2406
2174c6dd
AJ
24072012-06-21 Andreas Jaeger <aj@suse.de>
2408
2409 [BZ #12194]
2410 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2411 warning.
2412 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2413 * bits/byteswap-16.h (__bswap_16): Likewise.
2414 * bits/byteswap.h (__bswap_constant_16): Likewise.
2415
3ee947b1
L
24162012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2417
2418 [BZ #14117]
a2f34833
L
2419 * sysdeps/i386/fpu_control.h: Removed.
2420 * sysdeps/x86_64/fpu_control.h: Moved to ...
2421 * sysdeps/x86/fpu_control.h: Here.
2422
3ee947b1
L
2423 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2424 (_FPU_SETCW): Likewise.
2425
ed1825f8
L
24262012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2427
25f1282a
L
2428 [BZ #14117]
2429 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2430 * sysdeps/x86/fpu/bits/mathinline.h: This.
2431 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2432
ed1825f8
L
2433 [BZ #14050]
2434 [BZ #14117]
2435 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2436 functions if __x86_64__ is defined.
2437
36d54b74
CLT
24382012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2439
2440 * string/endian.h: Add !__ASSEMBLER__ condition for including
2441 conversion interfaces.
2442
10285c21
JM
24432012-06-15 Joseph Myers <joseph@codesourcery.com>
2444
2445 [BZ #14241]
2446 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2447 of ABS(x) in calculating zero to negative powers other than odd
2448 integers.
2449 * math/libm-test.inc (pow_test): Add more tests.
2450
06c5abbd
AJ
24512012-06-15 Andreas Jaeger <aj@suse.de>
2452
2453 * manual/contrib.texi (Contributors): Update entry of Liubov
2454 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2455 Machado Filho.
2456
a3aeac40
CH
24572012-06-15 Cyril Hrubis <metan@ucw.cz>
2458
2459 * string/string.h: Add __wur to GNU version of strerror_r.
2460
49bdf4c1
L
24612012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2462
2463 [BZ #14229]
2464 * string/Makefile (tests): Add tst-strtok_r.
2465 * string/tst-strtok_r.c: New file.
2466 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2467 RAX_LP/RDX_LP on SAVE_PTR.
2468
834f9b8d
RM
24692012-06-14 Roland McGrath <roland@hack.frob.com>
2470
2471 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2472
75fa1921
JM
24732012-06-14 Joseph Myers <joseph@codesourcery.com>
2474
2475 * libm_test.inc (csqrt_test): Allow more spurious underflow
2476 exceptions.
2477 (j0_test): Likewise.
2478 (j1_test): Likewise.
2479 (y0_test): Likewise.
2480 (y1_test): Likewise.
2481
771766df
CD
24822012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2483
2484 * po/Makefile (libc.pot): Use UTF-8 charset.
2485
ceb9e56b
PP
24862012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2487
2488 [BZ #14210]
2489 Suppress sign-conversion warning from FD_SET.
2490 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2491 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2492 not unsigned long int.
2493 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2494
ddb28975
L
24952012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2496
2497 [BZ #14050]
2498 [BZ #14117]
2499 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2500 __extern_always_inline instead of __extern_inline.
2501 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2502 (__signbit): Likewise.
2503 (__signbitl): Support C++ namespace.
2504 (lrintf): New inline function.
2505 (lrint): Likewise.
2506 (llrintf): Likewise.
2507 (llrint): Likewise.
2508 (fmaxf): Likewise.
2509 (fmax): Likewise.
2510 (fminf): Likewise.
2511 (fmin): Likewise.
2512 (rint): Likewise.
2513 (rintf): Likewise.
2514 (ceil): Likewise.
2515 (ceilf): Likewise.
2516 (floor): Likewise.
2517 (floorf): Likewise.
2518 (nearbyint): Likewise.
2519 (nearbyintf): Likewise.
2520
d7b4fb26
TS
25212012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2522
2523 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2524 non-default versions.
2525
eb55f5c2
RM
25262012-06-11 Roland McGrath <roland@hack.frob.com>
2527
2528 [BZ #14218]
2529 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2530
366af02c
TS
25312012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2532
99ff6e5c
TS
2533 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2534 (FE_UPWARD, FE_DOWNWARD): Don't define.
2535 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2536 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2537
366af02c
TS
2538 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2539 reading it.
2540 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2541 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2542
793ea851
KK
25432012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2544
2545 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2546 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2547 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2548 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2549
a728a38f
L
25502012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2551
2552 [BZ #14117]
c08010c7
L
2553 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2554 * sysdeps/i386/fpu/Implies: New file.
2555 * sysdeps/x86_64/fpu/Implies: Likewise.
2556 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2557 * sysdeps/x86/fpu/bits/fenv.h: This.
2558
a728a38f
L
2559 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2560 __SSE_MATH__.
2561
6e230d11
SP
25622012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2563
2564 [BZ #14134]
2565 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2566 character 0xffff that matches the last element of the
2567 conversion table.
2568
1b671feb
AZ
25692012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2570
2571 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2572 fmodl commit.
2573
6043738b
AZ
25742012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2575
2576 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2577 values higher than 25.6283.
2578
34ae0b32
AZ
25792012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2580
2581 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2582 subnormal exponent extraction and add some __builtin_expect.
2583 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2584 Fix for subnormal mantissa calculation.
2585
1214ec8f
MF
25862012-06-04 Mike Frysinger <vapier@gentoo.org>
2587
2588 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2589 cpu2 is -1 and errno is not ENOSYS.
2590
f3d1f93c
L
25912012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2592
2593 [BZ #14117]
0e4a3cd7
L
2594 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2595 * sysdeps/x86/bits/string.h: This.
2596 * sysdeps/x86_64/bits/string.h: Removed.
2597
6704c645
L
2598 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2599 if not compiling for x86-64, but compiling for >= i486.
2600
48495318
L
2601 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2602 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2603
14adcbfc
L
2604 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2605 New macro from Linux kernel 3.4.0.
2606 (FP_XSTATE_MAGIC2): Likewise.
2607 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2608 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2609 (struct _fpx_sw_bytes): New struct.
2610 (struct _xsave_hdr): Likewise.
2611 (struct _ymmh_state): Likewise.
2612 (struct _xstate): Likewise.
2613
68e408ab
L
2614 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2615 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2616 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2617 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2618 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2619 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2620
f3d1f93c
L
2621 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2622 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2623 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2624 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2625 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2626 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2627
d9dc34cd
TMQMF
26282012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2629
2630 [BZ #13743]
2631 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2632 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2633 (sysdep_headers): Include sys/platform/ppc.h.
2634 * sysdeps/powerpc/test-gettimebase.c: Test for
2635 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2636 * manual/Makefile (appendices): Include platform.texi.
2637 * manual/contrib.texi (Contributors): Update @node pointers.
2638 * manual/maint.texi (Maintenance): Likewise.
2639 (Platform): New node.
2640 * manual/platform.texi: New file. Document the new features.
2641
4af3879c
SP
26422012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2643 Jakub Jelinek <jakub@redhat.com>
2644
2645 [BZ #14188]
2646 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2647 where __builtin_expect is unavailable.
2648
2fd6ff13
DM
26492012-06-03 David S. Miller <davem@davemloft.net>
2650
2651 * stdlib/longlong.h: Updated from GCC.
2652
173f7220
AS
26532012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2654
2655 [BZ #14042]
2656 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2657 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2658 __mcount_internal.
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2660 (GLIBC_2.16): Likewise.
2661
f34a1c6f
L
26622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2663
2664 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2665
88a4576f
JM
26662012-06-01 Joseph Myers <joseph@codesourcery.com>
2667
ea32bcdd
JM
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2669 (default-abi): New variable.
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2671 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2672 variable.
2673 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2674 Likewise.
2675 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2676 Likewise.
2677 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2678 Likewise.
2679
88a4576f
JM
2680 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2681 definition. Document in comment.
2682
402fe938
DM
26832012-06-01 David S. Miller <davem@davemloft.net>
2684
2685 * stdlib/longlong.h: Updated from GCC.
2686
3553723f
L
26872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2688
2689 [BZ #14117]
3bd872c4
L
2690 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2691 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2692 sys/debugreg.h sys/io.h here.
2693 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2694 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2695 sys/io.h.
2696 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2697 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2698 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2699 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2700 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2701 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2702
3553723f
L
2703 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2704 Define only if __x86_64__ is defined.
2705
4842e4fe
JM
27062012-06-01 Joseph Myers <joseph@codesourcery.com>
2707
c5bfe3d5
JM
2708 [BZ #14048]
2709 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2710 Use int64_t for variable i.
2711 * math/libm-test.inc (fmod_test): Add more tests.
2712
4842e4fe
JM
2713 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2714 z computation is not scheduled after fetestexcept.
2715 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2716 Use math_force_eval instead of asm to ensure calculation scheduled
2717 before exception test.
2718 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2719 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2720
efb73488
AJ
27212012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2722
2723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2724 computation is not scheduled after fetestexcept.
2725
29bcce7c
L
27262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2727
2728 [BZ #14117]
2729 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2730 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2731
73a68f94
AZ
27322012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2733
2734 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2735 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2736
67b6df78
L
27372012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2738
edf2933a 2739 [BZ #14117]
ebc64a18
L
2740 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2741 <bits/wordsize.h>.
2742 (__WCHAR_MIN): Support __WORDSIZE == 64.
2743 (__WCHAR_MAX): Likewise.
2744
edf2933a
L
2745 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2746 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2747
57c6cf40
L
2748 [BZ #14183]
2749 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2750 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2751
67b6df78 2752 [BZ #14117]
8eb6281e
L
2753 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2754 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2755
aac639f4
L
2756 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2757 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2758
67b6df78
L
2759 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2760 Defined to 1 if __x86_64__ isn't defined.
2761 (_STAT_VER_LINUX_OLD): New.
2762 (st_atime): Remove duplicate.
2763 (st_mtime): Likewise.
2764 (st_ctime): Likewise.
2765
1c2cfe81
DM
27662012-05-31 David S. Miller <davem@davemloft.net>
2767
2768 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2769 entries.
2770
5be8418c
AS
27712012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2772
e7725326
AS
2773 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2774 gen-libm-test.pl.
2775
5be8418c
AS
2776 [BZ #14132]
2777 * elf/dl-reloc.c: Include <_itoa.h>.
2778 (_dl_reloc_bad_type): Remove use of INTUSE.
2779 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2780 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2781 * stdio-common/psiginfo.c (psiginfo): Likewise.
2782 * stdio-common/psignal.c (psignal): Likewise.
2783 * string/strsignal.c (strsignal): Likewise.
2784 * include/signal.h (_sys_siglist): Declare hidden proto.
2785 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2786 INTVARDEF with libc_hidden_data_def.
2787 * stdio-common/itoa-udigits.c: Likewise.
2788 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2789 (_itoa_lower_digits_internal): Remove declaration.
2790 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2791 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2792 (_sys_sigabbrev_internal): Remove aliases.
2793 (_sys_siglist): Define hidden alias.
2794
507352f1
MT
27952012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2796
2797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2798 bits/sysctl.h.
2799
42bbb1c3
L
28002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2801
2802 [BZ #14117]
6bd784b6
L
2803 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2804 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2805
8bca20f0
L
2806 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2807 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2808 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2809 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2810 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2811 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2812
f9e890a9
L
2813 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2814 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2815 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2816
471101a1
L
2817 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2818 with __addr.
2819 (insw): Likewise.
2820 (insl): Likewise.
2821 (outsb): Likewise.
2822 (outsw): Likewise.
2823 (outsl): Likewise.
2824
6451c862
L
2825 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2826 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2827 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2828
a254b8c9
L
2829 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2830 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2831 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2832 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2833 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2834 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2835
b8dfdd92
L
2836 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2837 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2838
578cd270
L
2839 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2840 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2841
de662f5f
L
2842 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2843 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2844 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2845
25653439
L
2846 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2847 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2848 to ...
2849 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2850
6bad24a0
L
2851 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2852 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2853 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2854
42bbb1c3
L
2855 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2856 for x86-64.
2857 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2858
2d10d547
JM
28592012-05-31 Joseph Myers <joseph@codesourcery.com>
2860
2861 * math/math.h (M_El): Use two more decimal places.
2862 (M_LOG2El): Likewise.
2863 (M_LOG10El): Likewise.
2864 (M_LN2l): Likewise.
2865 (M_LN10l): Likewise.
2866 (M_PIl): Likewise.
2867 (M_PI_2l): Likewise.
2868 (M_PI_4l): Likewise.
2869 (M_1_PIl): Likewise.
2870 (M_2_PIl): Likewise.
2871 (M_2_SQRTPIl): Likewise.
2872 (M_SQRT2l): Likewise.
2873 (M_SQRT1_2l): Likewise.
2874
f230c29b
DM
28752012-05-31 David S. Miller <davem@davemloft.net>
2876
2877 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2878 values between float registers.
2879 * sysdeps/sparc/sparc64/memset.S: Likewise.
2880 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2881
fed806c3
MF
28822012-05-31 Mike Frysinger <vapier@gentoo.org>
2883
2884 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2885 -D_FORTIFY_SOURCE=1.
2886 (CPPFLAGS-tst-longjmp_chk.c): Define.
2887 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2888 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2889 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2890 CFLAGS-tst-wchar-h.c.
2891
30917259
MP
28922012-05-31 Marek Polacek <polacek@redhat.com>
2893
2894 [BZ #14132]
2895 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2896 __endmntent_internal): Remove declaration.
2897 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2898 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2899 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2900
1c58d5dc
DM
29012012-05-30 David S. Miller <davem@davemloft.net>
2902
2903 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2904 (___Q_simulate_exceptions): Use real FP ops rather than writing
2905 into the %fsr.
2906 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2907 Likewise.
2908
7dc00e0d
L
29092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2910
2911 [BZ #14117]
0bd53985
L
2912 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2913 * sysdeps/x86/bits/xtitypes.h: This.
2914
3a257e66
L
2915 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2916 * sysdeps/x86/bits/wordsize.h: This.
2917
62f62904
L
2918 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2919 * sysdeps/x86/bits/huge_vall.h: This.
2920
404fe9d9
L
2921 * sysdeps/i386/bits/select.h: Removed.
2922 * sysdeps/x86_64/bits/select.h: Renamed to ...
2923 * sysdeps/x86/bits/select.h: This.
2924
d48d0446
L
2925 * sysdeps/i386/bits/setjmp.h: Removed.
2926 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2927 * sysdeps/x86/bits/setjmp.h: This.
2928
7dc00e0d
L
2929 * sysdeps/i386/bits/mathdef.h: Removed.
2930 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2931 * sysdeps/x86/bits/mathdef.h: This.
2932
03277f8f
AS
29332012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2934
2935 [BZ #14132]
2936 * include/sys/socket.h (__connect_internal)
2937 (__libc_sa_len_internal): Remove declaration.
2938 (__connect, __libc_sa_len): Declare hidden_proto.
2939 (SA_LEN): Remove use of INTUSE.
2940 * socket/connect.c: Add libc_hidden_def.
2941 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2942 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2943 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2944 alias.
2945 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2946 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2947 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2948 of adding _internal alias.
2949
13764867
L
29502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2951
2952 [BZ #14117]
6bd97696
L
2953 * sysdeps/i386/bits/link.h: Removed.
2954 * sysdeps/i386/bits/linkmap.h: Likewise.
2955 * sysdeps/x86_64/bits/link.h: Renamed to ...
2956 * sysdeps/x86/bits/link.h: This.
2957 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2958 * sysdeps/x86/bits/linkmap.h: This.
2959
f726f0bb
L
2960 * sysdeps/i386/bits/endian.h: Removed.
2961 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2962 * sysdeps/x86/bits/endian.h: This.
2963
13764867
L
2964 * sysdeps/i386/bits/byteswap.h: Removed.
2965 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2966 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2967 * sysdeps/x86/bits/byteswap.h: This.
2968 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2969 * sysdeps/x86/bits/byteswap-16.h: This.
2970 * sysdeps/i386/Implies: Add x86.
2971 * sysdeps/x86_64/Implies: Likewise.
2972
ae251b0b
DM
29732012-05-30 David S. Miller <davem@davemloft.net>
2974
2975 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2976 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2977 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2978 (FP_TRAPPING_EXCEPTIONS): Define.
2979 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2980 (FP_TRAPPING_EXCEPTIONS): Define.
2981 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2982 subnormals only when inexact has been signalled or underflow
2983 exceptions are enabled.
2984 (_FP_PACK_CANONICAL): Likewise.
2985
d5c90867
L
29862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2987
2988 [BZ #14183]
2989 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2990 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2991
63f1549e
RH
29922012-05-30 Richard Henderson <rth@twiddle.net>
2993
8d8f2279
RH
2994 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2995 with #ifndef NOT_IN_libc.
2996
63f1549e
RH
2997 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2998 marked to avoid plt entry.
2999
0ab0291b
L
30002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3001
3002 [BZ #14112]
3003 * Makeconfig (default-abi): New macro.
3004 (abi-includes): Likewise.
3005 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3006 $(abi-$(default-abi)-lib-soname) for soname if defined.
3007 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3008 abi-variants.
3009 * Makefile (installed-stubs): Likewise.
3010 * include/stubs-biarch.h: Removed.
3011 * scripts/lib-names.awk: Only handle one library at a time.
3012 * scripts/soversions.awk: Remove WORDSIZE support.
3013 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3014 entries.
3015 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3016 Removed.
3017 (syscall-list-default-condition): Likewise.
3018 (syscall-list-default-condition): Likewise.
3019 (syscall-list-includes): Likewise.
3020 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3021 syscall-list-* with abi-*. Handle undefined abi-variants.
3022 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3023 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3024 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3025 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3026 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3027 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3028 Removed.
3029 (syscall-list-32-options): Likewise.
3030 (syscall-list-32-condition): Likewise.
3031 (syscall-list-64-options): Likewise.
3032 (syscall-list-64-condition): Likewise.
3033 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3034 macro.
3035 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3036 Renamed to ...
3037 (abi-*): This.
3038 (abi-64-ld-soname): New macro.
3039 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3040 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3041 Renamed to ...
3042 (abi-*): This.
3043 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3044 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3045
4da0431d
JM
30462012-05-30 Joseph Myers <joseph@codesourcery.com>
3047
3a85279c
JM
3048 * sysdeps/unix/sysv/linux/kernel-features.h
3049 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3050 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3051 include <kernel-features.h>.
3052 [!__NR_ftruncate64]: Remove conditional code.
3053 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3054 [__NR_ftruncate64]: Make code unconditional.
3055 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3056 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3057 include <kernel-features.h>.
3058 [!__NR_ftruncate64]: Remove conditional code.
3059 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3060 [__NR_ftruncate64]: Make code unconditional.
3061 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3063 include <kernel-features.h>.
3064 [!__NR_ftruncate64]: Remove conditional code.
3065 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3066 [__NR_ftruncate64]: Make code unconditional.
3067 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3069 include <kernel-features.h>.
3070 [!__NR_ftruncate64]: Remove conditional code.
3071 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3072 [__NR_ftruncate64]: Make code unconditional.
3073 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3074
4da0431d
JM
3075 * configure.in (libc_cv_fpie): Weaken to a compile test using
3076 LIBC_TRY_CC_OPTION.
3077 * configure: Regenerated.
3078
11ef492c
AK
30792012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3080
3081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3085 Refreshed.
3086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3092 Refreshed.
3093
d66ef399
DM
30942012-05-27 David S. Miller <davem@davemloft.net>
3095
3096 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3097 (___Q_zero): New.
3098 (__Q_simulate_exceptions): Return void. Change to simulate
3099 exceptions by writing into the %fsr.
3100 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3101 (__Qp_handle_exceptions): Likewise.
3102 (numbers): Delete.
3103 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3104 __Qp_handle_exceptions.
3105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3106 __Qp_handle_exceptions.
3107 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3108 as unused and give dummy FP_RND_NEAREST initializer.
3109 (FP_INHIBIT_RESULTS): Define.
3110 (___Q_simulate_exceptions): Update declaration.
3111 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3112 formatting.
3113 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3114 as unused and give dummy FP_RND_NEAREST initializer.
3115 (__Qp_handle_exceptions): Update declaration.
3116 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3117 formatting.
3118
04fb54b5
TS
31192012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3120
3121 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3122 the temporary FPU control word.
3123 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3124 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3125 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3126 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3127 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3128 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3129 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3130 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3131 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3132 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3133 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3134
3f99608f
KK
31352012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3136
3137 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3138 fields.
3139
65a4de4e
CLT
31402012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3141
3142 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3143 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3144 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3145 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3146 Likewise.
3147 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3148 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3149 Likewise.
3150
15749d40
UD
31512012-05-27 Ulrich Drepper <drepper@gmail.com>
3152
3153 * po/h.po: Update from translation team.
3154
25dbcb27
AS
31552012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3156
3d3f8e55
AS
3157 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3158
25dbcb27
AS
3159 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3160 handling of denormals.
3161 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3162 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3163 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3164 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3165 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3166 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3167 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3168 Likewise.
3169
7ad47a80 31702012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3171
3172 [BZ #14152]
3173 * math/libm-test.inc (fma_test): Don't always expect underflow
3174 exception.
3175
9c6ea9fa
SP
31762012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3177
3178 [BZ #12416]
3179 * elf/tst-execstack.c: Include stackinfo.h.
3180 (do_test): Adjust test case to ensure that pthread_getattr_np
3181 behaviour remains the same after marking stack executable.
3182
a8239222
JM
31832012-05-25 Joseph Myers <joseph@codesourcery.com>
3184
3185 * sysdeps/unix/sysv/linux/kernel-features.h
3186 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3187 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3188 kernel-features.h.
3189 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3190 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3191 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3192 kernel-features.h.
3193 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3194 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3195
918b5606
L
31962012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3197
3198 * configure.in: Define the default includes to being none.
3199 * configure: Regenerated.
3200
3a097cc7
RM
32012012-05-25 Roland McGrath <roland@hack.frob.com>
3202
8422c9a5
RM
3203 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3204 * sysdeps/x86_64/setjmp.S: Likewise.
3205 * sysdeps/i386/bsd-setjmp.S: Likewise.
3206 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3207 * sysdeps/i386/setjmp.S: Likewise.
3208 * sysdeps/i386/__longjmp.S: Likewise.
3209 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3210 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3211
3a097cc7
RM
3212 * include/stap-probe.h: New file.
3213 * configure.in: Handle --enable-systemtap.
3214 * configure: Regenerated.
3215 * config.h.in (USE_STAP_PROBE): New #undef.
3216 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3217 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3218 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3219
21708942
JM
32202012-05-25 Joseph Myers <joseph@codesourcery.com>
3221
3222 [BZ #13717]
3223 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3224 to 2.4.0 where earlier.
3225 * sysdeps/unix/sysv/linux/configure: Regenerated.
3226 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3227 <kernel-features.h>.
3228 [__ASSUME_32BITUIDS]: Make code unconditional.
3229 [!__ASSUME_32BITUIDS]: Remove conditional code.
3230 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3231 <kernel-features.h>.
3232 [__ASSUME_32BITUIDS]: Make code unconditional.
3233 [!__ASSUME_32BITUIDS]: Remove conditional code.
3234 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3235 [__ASSUME_32BITUIDS]: Make code unconditional.
3236 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3237 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3238 <kernel-features.h>.
3239 [__ASSUME_32BITUIDS]: Make code unconditional.
3240 [!__ASSUME_32BITUIDS]: Remove conditional code.
3241 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3242 <kernel-features.h>.
3243 [__ASSUME_32BITUIDS]: Make code unconditional.
3244 [!__ASSUME_32BITUIDS]: Remove conditional code.
3245 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3246 <kernel-features.h>.
3247 [__ASSUME_32BITUIDS]: Make code unconditional.
3248 [!__ASSUME_32BITUIDS]: Remove conditional code.
3249 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3250 <kernel-features.h>.
3251 [__ASSUME_32BITUIDS]: Make code unconditional.
3252 [!__ASSUME_32BITUIDS]: Remove conditional code.
3253 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3254 <kernel-features.h>.
3255 [__ASSUME_32BITUIDS]: Make code unconditional.
3256 [!__ASSUME_32BITUIDS]: Remove conditional code.
3257 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3258 <kernel-features.h>.
3259 [__ASSUME_32BITUIDS]: Make code unconditional.
3260 [!__ASSUME_32BITUIDS]: Remove conditional code.
3261 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3262 <kernel-features.h>.
3263 [__ASSUME_32BITUIDS]: Make code unconditional.
3264 [!__ASSUME_32BITUIDS]: Remove conditional code.
3265 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3266 <kernel-features.h>.
3267 [__ASSUME_32BITUIDS]: Make code unconditional.
3268 [!__ASSUME_32BITUIDS]: Remove conditional code.
3269 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3270 <kernel-features.h>.
3271 [__ASSUME_32BITUIDS]: Make code unconditional.
3272 [!__ASSUME_32BITUIDS]: Remove conditional code.
3273 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3274 <kernel-features.h>.
3275 [__ASSUME_32BITUIDS]: Make code unconditional.
3276 [!__ASSUME_32BITUIDS]: Remove conditional code.
3277 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3278 <kernel-features.h>.
3279 [__NR_setresgid] (__setresgid): Do not declare.
3280 [__ASSUME_32BITUIDS]: Make code unconditional.
3281 [!__ASSUME_32BITUIDS]: Remove conditional code.
3282 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3283 <kernel-features.h>.
3284 [__NR_setresuid] (__setresuid): Do not declare.
3285 [__ASSUME_32BITUIDS]: Make code unconditional.
3286 [!__ASSUME_32BITUIDS]: Remove conditional code.
3287 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3288 <kernel-features.h>.
3289 [__ASSUME_32BITUIDS]: Make code unconditional.
3290 [!__ASSUME_32BITUIDS]: Remove conditional code.
3291 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3292 <kernel-features.h>.
3293 [__ASSUME_32BITUIDS]: Make code unconditional.
3294 [!__ASSUME_32BITUIDS]: Remove conditional code.
3295 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3296 <kernel-features.h>.
3297 [__ASSUME_32BITUIDS]: Make code unconditional.
3298 [!__ASSUME_32BITUIDS]: Remove conditional code.
3299 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3300 <kernel-features.h>.
3301 [__ASSUME_32BITUIDS]: Make code unconditional.
3302 [!__ASSUME_32BITUIDS]: Remove conditional code.
3303 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3304 <kernel-features.h>.
3305 [__ASSUME_32BITUIDS]: Make code unconditional.
3306 [!__ASSUME_32BITUIDS]: Remove conditional code.
3307 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3308 <kernel-features.h>.
3309 [__ASSUME_32BITUIDS]: Make code unconditional.
3310 [!__ASSUME_32BITUIDS]: Remove conditional code.
3311 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3312 <kernel-features.h>.
3313 [__ASSUME_32BITUIDS]: Make code unconditional.
3314 [!__ASSUME_32BITUIDS]: Remove conditional code.
3315 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3316 <kernel-features.h>.
3317 [__ASSUME_32BITUIDS]: Make code unconditional.
3318 [!__ASSUME_32BITUIDS]: Remove conditional code.
3319 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3320 <kernel-features.h>.
3321 [__ASSUME_32BITUIDS]: Make code unconditional.
3322 [!__ASSUME_32BITUIDS]: Remove conditional code.
3323 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3324 <kernel-features.h>.
3325 [__ASSUME_32BITUIDS]: Make code unconditional.
3326 [!__ASSUME_32BITUIDS]: Remove conditional code.
3327 * sysdeps/unix/sysv/linux/kernel-features.h
3328 (__ASSUME_SETRESUID_SYSCALL): Remove.
3329 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3330 (__ASSUME_32BITUIDS): Likewise.
3331 (__ASSUME_LDT_WORKS): Likewise.
3332 (__ASSUME_O_DIRECTORY): Likewise.
3333 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3334 architecture but not kernel version.
3335 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3336 (__ASSUME_MMAP2_SYSCALL): Likewise.
3337 (__ASSUME_STAT64_SYSCALL): Likewise.
3338 (__ASSUME_IPC64): Likewise.
3339 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3340 <kernel-features.h>.
3341 [__ASSUME_32BITUIDS]: Make code unconditional.
3342 [!__ASSUME_32BITUIDS]: Remove conditional code.
3343 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3344 <kernel-features.h>.
3345 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3346 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3347 132096]: Remove conditional code.
3348 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3349 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3350 <kernel-features.h>.
3351 [__ASSUME_32BITUIDS]: Make code unconditional.
3352 [!__ASSUME_32BITUIDS]: Remove conditional code.
3353 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3354 <kernel-features.h>.
3355 [__ASSUME_32BITUIDS]: Make code unconditional.
3356 [!__ASSUME_32BITUIDS]: Remove conditional code.
3357 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3358 <kernel-features.h>.
3359 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3360 unconditional.
3361 (__setresgid): Do not declare.
3362 [__ASSUME_32BITUIDS]: Make code unconditional.
3363 [!__ASSUME_32BITUIDS]: Remove conditional code.
3364 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3365 <kernel-features.h>.
3366 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3367 unconditional.
3368 (__setresuid): Do not declare.
3369 [__ASSUME_32BITUIDS]: Make code unconditional.
3370 [!__ASSUME_32BITUIDS]: Remove conditional code.
3371 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3372 <kernel-features.h>.
3373 [__ASSUME_32BITUIDS]: Make code unconditional.
3374 [!__ASSUME_32BITUIDS]: Remove conditional code.
3375 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3376 <kernel-features.h>.
3377 [__ASSUME_32BITUIDS]: Make code unconditional.
3378 [!__ASSUME_32BITUIDS]: Remove conditional code.
3379
a386f1cc
RH
33802012-05-25 Richard Henderson <rth@twiddle.net>
3381
3382 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3383 dl_hwcap to ifunc resolver.
3384 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3385 elf_ifunc_invoke.
3386 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3387 dl_hwcap to ifunc resolver.
3388 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3389
b6550497
JM
33902012-05-24 Joseph Myers <joseph@codesourcery.com>
3391
3392 [BZ #14153]
3393 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3394 for |x| <= 2**-26, not 2**-57.
3395 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3396 exception.
3397
b0bc23a1
JL
33982012-05-24 Jeff Law <law@redhat.com>
3399
3400 * stdio-common/Makefile (tests): Add bug25.
3401 * stdio-common/bug25.c: New test.
3402
347c92e9
L
34032012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3404
3405 [BZ #13576]
3406 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3407 multiple of MALLOC_ALIGNMENT in size.
3408 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3409
6bcc8b3f
JM
34102012-05-24 Joseph Myers <joseph@codesourcery.com>
3411
3412 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3413 Require >= 256.
3414 (FILENAME_MAX): Use macro-int-constant.
3415 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3416 (_IOFBF): Use macro-int-constant.
3417 (_IOLBF): Likewise.
3418 (_IONBF): Likewise.
3419 (SEEK_CUR): Likewise.
3420 (SEEK_END): Likewise.
3421 (SEEK_SET): Likewise.
3422 (TMP_MAX): Likewise.
3423 (EOF): Use macro-int-constant. Require < 0.
3424 (NULL): Use macro-constant. Require == 0.
3425 (stdin): Require type to be FILE *.
3426 (stdout): Likewise.
3427 (stderr): Likewise.
3428 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3429 macro-int-constant.
3430 (EXIT_SUCCESS): Likewise.
3431 (NULL): Use macro-constant. Require == 0.
3432 (RAND_MAX): Use macro-int-constant.
3433 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3434 [C99-based standards] (strtof): Require function.
3435 [C99-based standards] (strtold): Likewise.
3436 [C99-based standards] (strtoll): Likewise.
3437 [C99-based standards] (strtoull): Likewise.
3438 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3439 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3440 [ISO || ISO99 || ISO11] (math.h): Likewise.
3441 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3442 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3443 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3444
d18ea0c5
AS
34452012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3446
3447 [BZ #14132]
56d25bb8
AS
3448 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3449 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3450 * intl/dgettext.c (DCGETTEXT): Likewise.
3451 * intl/gettext.c (DCGETTEXT): Likewise.
3452 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3453 * posix/regex_internal.h (gettext): Likewise.
3454 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3455 Remove declaration.
3456 * include/argz.h (__argz_count_internal)
3457 (__argz_stringify_internal): Remove declaration.
3458 (__argz_count, __argz_stringify): Declare hidden proto.
3459 * intl/dcgettext.c: Remove use of INTDEF.
3460 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3461 * string/argz-stringify.c: Likewise.
3462 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3463 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3464 Declare hidden proto.
d18ea0c5
AS
3465 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3466 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3467 Declare hidden proto.
3468 * include/stdio.h (__asprintf_internal): Don't declare.
3469 (__asprintf): Don't define as macro. Declare hidden proto.
3470 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3471 (__fsetlocking): Declare hidden proto.
3472 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3473 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3474 hidden proto.
3475 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3476 (_IO_setlinebuf): Remove use of INTUSE.
3477 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3478 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3479 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3480 Remove declaration.
3481 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3482 (_IO_do_flush): Remove use of INTUSE.
3483 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3484 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3485 (_IO_adjust_column, _IO_least_wmarker)
3486 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3487 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3488 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3489 (_IO_default_doallocate, _IO_wdefault_doallocate)
3490 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3491 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3492 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3493 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3494 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3495 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3496 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3497 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3498 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3499 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3500 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3501 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3502 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3503 proto.
3504 (_IO_flush_all_internal, _IO_adjust_column_internal)
3505 (_IO_default_uflow_internal, _IO_default_finish_internal)
3506 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3507 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3508 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3509 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3510 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3511 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3512 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3513 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3514 (_IO_file_close_internal, _IO_file_close_it_internal)
3515 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3516 (_IO_file_init_internal, _IO_file_attach_internal)
3517 (_IO_file_fopen_internal, _IO_file_read_internal)
3518 (_IO_file_sync_internal, _IO_file_seek_internal)
3519 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3520 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3521 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3522 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3523 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3524 (_IO_list_all_internal, _IO_link_in_internal)
3525 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3526 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3527 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3528 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3529 (_IO_do_write_internal, _IO_padn_internal)
3530 (_IO_getline_info_internal, _IO_getline_internal)
3531 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3532 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3533 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3534 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3535 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3536 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3537 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3538 with libc_hidden_ver, remove use of INTUSE.
3539 * libio/genops.c: Likewise.
3540 * libio/freopen.c: Likewise.
3541 * libio/freopen64.c: Likewise.
3542 * libio/iofclose.c: Likewise.
3543 * libio/iofdopen.c: Likewise.
3544 * libio/iofflush.c: Likewise.
3545 * libio/iofflush_u.c: Likewise.
3546 * libio/iofgets.c: Likewise.
3547 * libio/iofgets_u.c: Likewise.
3548 * libio/iofopen.c: Likewise.
3549 * libio/iofopncook.c: Likewise.
3550 * libio/iofread.c: Likewise.
3551 * libio/iofread_u.c: Likewise.
3552 * libio/ioftell.c: Likewise.
3553 * libio/iofwrite.c: Likewise.
3554 * libio/iogetline.c: Likewise.
3555 * libio/iogets.c: Likewise.
3556 * libio/iogetwline.c: Likewise.
3557 * libio/iopadn.c: Likewise.
3558 * libio/iopopen.c: Likewise.
3559 * libio/ioseekoff.c: Likewise.
3560 * libio/ioseekpos.c: Likewise.
3561 * libio/iosetbuffer.c: Likewise.
3562 * libio/iosetvbuf.c: Likewise.
3563 * libio/ioungetc.c: Likewise.
3564 * libio/ioungetwc.c: Likewise.
3565 * libio/iovdprintf.c: Likewise.
3566 * libio/iovsprintf.c: Likewise.
3567 * libio/iovsscanf.c: Likewise.
3568 * libio/memstream.c: Likewise.
3569 * libio/obprintf.c: Likewise.
3570 * libio/oldfileops.c: Likewise.
3571 * libio/oldiofclose.c: Likewise.
3572 * libio/oldiofdopen.c: Likewise.
3573 * libio/oldiofopen.c: Likewise.
3574 * libio/oldiopopen.c: Likewise.
3575 * libio/oldstdfiles.c: Likewise.
3576 * libio/putc.c: Likewise.
3577 * libio/setbuf.c: Likewise.
3578 * libio/setlinebuf.c: Likewise.
3579 * libio/stdfiles.c: Likewise.
3580 * libio/strops.c: Likewise.
3581 * libio/vasprintf.c: Likewise.
3582 * libio/vscanf.c: Likewise.
3583 * libio/vsnprintf.c: Likewise.
3584 * libio/vswprintf.c: Likewise.
3585 * libio/wfiledoalloc.c: Likewise.
3586 * libio/wfileops.c: Likewise.
3587 * libio/wgenops.c: Likewise.
3588 * libio/wmemstream.c: Likewise.
3589 * libio/wstrops.c: Likewise.
3590 * libio/__fpurge.c: Likewise.
3591 * libio/__fsetlocking.c: Likewise.
3592 * assert/assert.c: Likewise.
3593 * debug/fgets_chk.c: Likewise.
3594 * debug/fgets_u_chk.c: Likewise.
3595 * debug/fread_chk.c: Likewise.
3596 * debug/fread_u_chk.c: Likewise.
3597 * debug/gets_chk.c: Likewise.
3598 * debug/obprintf_chk.c: Likewise.
3599 * debug/vasprintf_chk.c: Likewise.
3600 * debug/vdprintf_chk.c: Likewise.
3601 * debug/vsnprintf_chk.c: Likewise.
3602 * debug/vsprintf_chk.c: Likewise.
3603 * malloc/mtrace.c: Likewise.
3604 * misc/error.c: Likewise.
3605 * misc/syslog.c: Likewise.
3606 * stdio-common/asprintf.c: Likewise.
3607 * stdio-common/fxprintf.c: Likewise.
3608 * stdio-common/getw.c: Likewise.
3609 * stdio-common/isoc99_fscanf.c: Likewise.
3610 * stdio-common/isoc99_scanf.c: Likewise.
3611 * stdio-common/isoc99_vfscanf.c: Likewise.
3612 * stdio-common/isoc99_vscanf.c: Likewise.
3613 * stdio-common/isoc99_vsscanf.c: Likewise.
3614 * stdio-common/printf-prs.c: Likewise.
3615 * stdio-common/printf_fp.c: Likewise.
3616 * stdio-common/printf_fphex.c: Likewise.
3617 * stdio-common/printf_size.c: Likewise.
3618 * stdio-common/putw.c: Likewise.
3619 * stdio-common/scanf.c: Likewise.
3620 * stdio-common/sprintf.c: Likewise.
3621 * stdio-common/tmpfile.c: Likewise.
3622 * stdio-common/vfprintf.c: Likewise.
3623 * stdio-common/vfscanf.c: Likewise.
3624 * stdlib/strfmon_l.c: Likewise.
3625 * sunrpc/openchild.c: Likewise.
3626 * sunrpc/xdr_stdio.c: Likewise.
3627 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3628 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3629
d6c33fda
RM
36302012-05-24 Roland McGrath <roland@hack.frob.com>
3631
c1487492
RM
3632 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3633
3634 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3635 in the third column, to generate for the shared library an IFUNC
3636 that uses _dl_vdso_vsym.
3637 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3638 * Makeconfig (object-suffixes-noshared): New variable.
3639
3640 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3641 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3642 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3643 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3644
d6c33fda
RM
3645 [BZ #14132]
3646 * include/sys/time.h (__gettimeofday): Remove macro.
3647 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3648 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3649 Remove INTDEF.
3650 (__gettimeofday): Add libc_hidden_def.
3651 (gettimeofday): Add libc_hidden_weak.
3652 * sysdeps/mach/gettimeofday.c: Likewise.
3653 * sysdeps/posix/gettimeofday.c: Likewise.
3654 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3655 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3656 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3657 (__gettimeofday_internal): Remove strong_alias.
3658 (__gettimeofday): Add libc_hidden_def.
3659 (gettimeofday): Add libc_hidden_weak.
3660 * sysdeps/unix/syscalls.list (gettimeofday):
3661 Remove __gettimeofday_internal alias.
3662
b5a2bbe6
L
36632012-05-24 Daniel Jacobowitz <drow@false.org>
3664 H.J. Lu <hongjiu.lu@intel.com>
3665
3666 [BZ #12495]
3667 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3668 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3669 (largebin_index_32_big): New.
3670 (largebin_index): Use it for 16-byte alignment.
3671 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3672 correction with front_misalign.
3673
cfba4fda
L
36742012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3675
7f907421
L
3676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3678 Likewise.
3679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3680 Likewise.
3681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3682 Likewise.
3683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3684 Likewise.
3685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3686 Likewise.
3687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3688 Likewise.
3689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3690 Likewise.
3691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3692 Likewise.
3693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3694 Likewise.
3695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3696 Likewise.
3697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3698 Likewise.
3699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3700 Likewise.
3701
cfba4fda
L
3702 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3703 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3704
80bad0cc
JM
37052012-05-24 Joseph Myers <joseph@codesourcery.com>
3706
7a25eb06
JM
3707 [BZ #10846]
3708 [BZ #14036]
3709 * math/libm-test.inc (exp_test): Add test from bug 14036.
3710 (pow_test): Add test from bug 10846.
3711
795405f9
JM
3712 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3713 and other flags.
3714 (special_function): Do not include flags in test name.
3715 (parse_args): Likewise.
3716 * sysdeps/i386/fpu/libm-test-ulps: Update.
3717 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3718 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3719 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3721
80bad0cc
JM
3722 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3723 exceptions.
3724 * math/libm-test.inc ("Philosophy"): Update comment about
3725 exception testing.
3726 (UNDERFLOW_EXCEPTION): New macro.
3727 (UNDERFLOW_EXCEPTION_OK): Likewise.
3728 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3729 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3730 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3731 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3732 (INVALID_EXCEPTION_OK): Update value.
3733 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3734 (OVERFLOW_EXCEPTION_OK): Likewise.
3735 (IGNORE_ZERO_INF_SIGN): Likewise.
3736 (test_exceptions): Handle underflow exceptions.
3737 (acos_test): Update for underflow exception expectations.
3738 (cexp_test): Likewise.
3739 (clog_test): Likewise.
3740 (clog10_test): Likewise.
3741 (csqrt_test): Likewise.
3742 (ctan_test): Likewise.
3743 (ctanh_test): Likewise.
3744 (exp_test): Likewise.
3745 (exp10_test): Likewise.
3746 (exp2_test): Likewise.
3747 (expm1_test): Likewise.
3748 (fma_test): Likewise.
3749 (j0_test): Likewise.
3750 (jn_test): Likewise.
3751 (nexttoward_test): Likewise.
3752 (pow_test): Likewise.
3753 (scalbn_test): Likewise.
3754 (scalbln_test): Likewise.
3755 (tan_test): Likewise.
3756 (y1_test): Likewise.
3757 * sysdeps/i386/fpu/libm-test-ulps: Update.
3758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3759
9e0e3d0b
DM
37602012-05-23 David S. Miller <davem@davemloft.net>
3761
3762 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3763 (__libc_sigaction): Remove unused local variables.
3764
ccd0a08f
L
37652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3766
3767 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3768
62bdf9a6
PE
37692012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3770
f8591f80
PE
3771 mktime: avoid signed integer overflow
3772 * time/mktime.c (__mktime_internal): Do not mishandle the case
3773 where diff == INT_MIN.
3774
94c7d826
PE
3775 mktime: simplify computation of average
3776 * time/mktime.c (ranged_convert): Use new time_t_avg function
3777 instead of rolling our own (probably-slower) code.
3778
ce73d683
PE
3779 mktime: do not assume signed right shift propagates sign bit
3780 * time/mktime.c (isdst_differ): New static function.
3781 (__mktime_internal): No need to normalize tm_isdst now.
3782 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3783 tm_isdst values.
3784
72a22e59
PE
3785 mktime: merge another wrapv change from gnulib
3786 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3787 from some compilers.
3788
68605433
PE
3789 mktime: remove incorrect attempt at unusual arithmetics
3790 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3791 The code didn't really work on such machines anyway.
3792 (TYPE_MINIMUM): Assume two's complement.
3793 (twos_complement_arithmetic): Verify that long_int and time_t
3794 are two's complement (or unsigned, in the latter case).
3795
03cf7fe3
PE
3796 mktime: check signed shifts on long_int and time_t, too
3797 * time/mktime.c (SHR): Check that shifts work as desired
3798 on the types long_int and time_t too, as SHR is used on
3799 such types.
3800
f04dfbc2
PE
3801 mktime: do not assume 'long' is wide enough
3802 * time/mktime.c (verify): Move decl up.
3803 (long_int): New type.
3804 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3805 to remove assumption in the code that 'long' is wide enough to
3806 store year values. This assumption is not true on x32 and on
3807 some non-glibc platforms.
3808
62bdf9a6
PE
3809 mktime: merge wrapv change from gnulib
3810 * time/mktime.c (WRAPV): New macro.
3811 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3812 (guess_time_tm, __mktime_internal): Do not assume that signed
3813 integer overflow wraps around; modern compilers generate code
3814 where this assumption is no longer valid.
3815
5e292e4f
L
38162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3817
3818 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3819 Replace "jmp L(pseudo_end)" with "ret".
3820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3821 Likewise.
3822
8caf8c87
AJ
38232012-05-23 Andreas Jaeger <aj@suse.de>
3824
3825 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3826 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3827
1a09dc56
AJ
38282012-05-23 Andreas Jaeger <aj@suse.de>
3829 Maximilian Attems <max@stro.at>
3830
3831 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3832 New macros.
3833
1c87aba0
L
38342012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3835
3836 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3837 code so that pseudo_end is just ret and the stack pointer is
3838 correct also for static library in error case.
3839
40e45bd5
JM
38402012-05-23 Joseph Myers <joseph@codesourcery.com>
3841
c2670533
JM
3842 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3843 move to syscalls.list.
3844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3848
40e45bd5
JM
3849 * manual/install.texi (Running make install): Do not mention Linux
3850 kernel version for which pt_chown is not needed.
3851 (Linux): Do not mention problems with nscd with 2.0 kernels.
3852 * INSTALL: Regenerated.
3853
be08eda5
AJ
38542012-05-23 Andreas Jaeger <aj@suse.de>
3855
3856 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3857 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3858 macro.
3859 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3860 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3861 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3862 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3863 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3864 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3865 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3866 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3867 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3868 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3869 * sysdeps/unix/sysv/linux/bits/in.h
3870 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3871
a6a056bb
RM
38722012-05-22 Roland McGrath <roland@hack.frob.com>
3873
3874 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3875 (PREPARE_VERSION): Just use assert instead, it will be elided
3876 under [NDEBUG] anyway.
3877
c9009328
L
38782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3879
3880 * sysdeps/unix/sysv/linux/Makefile: Include
3881 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3882 (sysdep_routines): Remove sysctl.
c9009328
L
3883 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3884 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3885 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3886 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3887 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3888
73338355
AJ
38892012-05-22 Andreas Jaeger <aj@suse.de>
3890
3891 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3892 that pseudo_end is just ret and the stack pointer is correct also
3893 for static library in error case.
3894
d44638b0
PP
38952012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3896
3897 [BZ #14122]
3898 * nss/nsswitch.c (defconfig_entries): New variable.
3899 (__nss_database_lookup): Don't leak defconfig entries.
3900 (nss_parse_service_list): Don't leak on error paths.
3901 (free_database_entries): New function.
3902 (free_defconfig): New function.
3903 (free_mem): Move common code to free_database_entries.
3904
31a39bd8
L
39052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3906
da0331a8
L
3907 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3908 Add arch_prctl.
3909 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3910
31a39bd8
L
3911 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3912 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3914 New macro.
3915 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3916 (INTERNAL_SYSCALL_TYPES): Likewise.
3917 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3918 (LOAD_REGS_TYPES_[1-6]): Likewise.
3919 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3920 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3921
45470df3
AZ
39222012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3923
3924 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3925 copysignl for GLIBC_2_0.
3926 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3927 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3928 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3929 logbl for GLIBC_2_0.
3930 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3931 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3932
98a61bcb
L
39332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3934
a4f6e481
L
3935 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3936 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3937
f63d5db6
L
3938 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3939 Use "neg %eax".
3940
98a61bcb
L
3941 * time/mktime.c: Update copyright years.
3942
95770f14
PE
39432012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3944
6226efbd
PE
3945 mktime: merge comment-quoting-style change from gnulib
3946 * time/mktime.c: Quote 'like this' in comments.
3947 The GNU coding standards suggest that we no longer quote `like this',
3948 as "`" and "'" are typically rendered asymmetrically nowadays.
3949 The typical gnulib style is to quote 'like this' when quoting
3950 code, and "like this" when quoting English.
3951
b99e4f78
PE
3952 * time/mktime.c (compile-command): Add "-I.".
3953
643e01e6
PE
3954 mktime: merge mktime-internal.h change from gnulib
3955 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3956
2554247d
PE
3957 mktime: merge time_r change from gnulib
3958 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3959
826dd0ab
PE
3960 mktime: merge DEBUG change from gnulib
3961 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3962 case system <time.h> has a #define.
3963
bd83aabe
PE
3964 mktime: merge <sys/types.h> change from gnulib
3965 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3966 since <time.t> is now guaranteed to define time_t.
3967
95770f14
PE
3968 mktime: merge HAVE_CONFIG_H change from gnulib
3969 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3970
5e1a27a9
L
39712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3972
0e44a77e
L
3973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3974 Use "neg %eax".
3975
5e1a27a9
L
3976 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3977 __rlim_t cast.
3978 (struct rusage): Use anonymous union to pad each field to
3979 __syscall_slong_t.
3980
46259bec
DM
39812012-05-21 David S. Miller <davem@davemloft.net>
3982
3983 * Makefules (o-iterator): Remove .s cases.
3984 (compile-command.s): Delete.
3985 (COMPILE.s): Delete.
3986 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3987
59f0c22e
JM
39882012-05-21 Joseph Myers <joseph@codesourcery.com>
3989
3990 * configure.in (libc_cv_predef_stack_protector): Only consider
3991 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3992 * configure: Regenerated.
3993
20c07380
L
39942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3995
bbb3154b
L
3996 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3997 New macro. Use R*LP on int and pointer.
3998 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3999 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4000 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4001 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4002
20c07380
L
4003 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4004 [__WORDSIZE_TIME64_COMPAT32] instead of
4005 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4006 (struct utmp): Likewise.
4007 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4008 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4009 Renamed to ...
4010 (__WORDSIZE_TIME64_COMPAT32): This.
4011 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4012 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4013 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4014 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4015 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4016 (__WORDSIZE_TIME64_COMPAT32): New macro.
4017
d8d1017e
AJ
40182012-05-21 Andreas Jaeger <aj@suse.de>
4019
4020 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4021 only if [SHARED]. Add prototype for __wcschr_ia32.
4022
6c7fb145
RM
40232012-05-21 Roland McGrath <roland@hack.frob.com>
4024
4025 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4026 of %rbp unmolested in the jmp_buf while mangling the low bits.
4027 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4028 unmolested high bits of %rbp while demangling the low bits.
4029 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4030
66274218
AJ
40312012-05-21 Andreas Jaeger <aj@suse.de>
4032
07c58f8f
AJ
4033 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4034 * sunrpc/svc_simple.c: Use it for registerrpc.
4035 * sunrpc/xcrypt.c: Use it for passwd2des.
4036
66274218
AJ
4037 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4038
61f65140
L
40392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4040
4041 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4042 Don't define if [__SYSCALL_WORDSIZE != 32].
4043 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4044 New macro.
4045
5fefb436
AJ
40462012-05-21 Bruno Haible <bruno@clisp.org>
4047 Andreas Jaeger <aj@suse.de>
4048
4049 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4050 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4051 inptr and inend for must_buffer_ch.
4052 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4053 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4054 * stdio-common/Makefile (tests): Remove bug15.
4055 (bug15-ENV): Remove macro.
4056 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4057 anymore.
4058
d8e272ab
AJ
40592012-05-19 Andreas Jaeger <aj@suse.de>
4060 Roland McGrath <roland@hack.frob.com>
4061
4062 * manual/contrib.texi: Completely rewritten. It contains now an
4063 alphabetical list of contributors and their contributions.
4064
4a56a162
RH
40652012-05-21 Richard Henderson <rth@twiddle.net>
4066
4067 * misc/getauxval.c (__getauxval): Use unsigned long int.
4068 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4069 (getauxval): Use unsigned long int.
4070
d024d23c
L
40712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4072
4073 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4074
cbc00a03
RM
40752012-05-21 Roland McGrath <roland@hack.frob.com>
4076
4077 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4078 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4079 __alignof__ (long double).
4080
478143fa
AZ
40812012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4082
4083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4084
c7683a6d
RH
40852012-05-20 Richard Henderson <rth@twiddle.net>
4086
4087 * misc/getauxval.c: New file.
4088 * misc/sys/auxv.h: New file.
4089 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4090 (routines): Add getauxval.
4091 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4092 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4093 * elf/dl-sysdep.c (_dl_auxv): Remove.
4094 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4095 * elf/dl-support.c (_dl_auxv): New variable.
4096 (_dl_aux_init): Initialize it.
4097 * manual/startup.texi (Auxiliary Vector): New node.
4098 * sysdeps/generic/bits/hwcap.h: New file.
4099 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4100 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4101 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4102 * sysdeps/sparc/sysdep.h: ... here. Include it.
4103 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4104 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4106 Update.
c7683a6d
RH
4107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4110 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4115
a6f1845d
AZ
41162012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4117
4118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4119
cbcbe830
DM
41202012-05-19 David S. Miller <davem@davemloft.net>
4121
4122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4123
e0b16cc2
JM
41242012-05-19 Joseph Myers <joseph@codesourcery.com>
4125
4126 [BZ #14123]
4127 * math/s_ccosh.c: Include <float.h>
4128 (__ccosh): Avoid internal overflow calculating sinh and cosh
4129 values before multiplying by sin and cos values.
4130 * math/s_ccoshf.c: Likewise.
4131 * math/s_ccoshl.c: Likewise.
4132 * math/s_csin.c: Likewise.
4133 * math/s_csinf.c: Likewise.
4134 * math/s_csinl.c: Likewise.
4135 * math/s_csinh.c: Likewise.
4136 * math/s_csinhf.c: Likewise.
4137 * math/s_csinhl.c: Likewise.
4138 * math/libm-test.inc (ccos_test): Add more tests.
4139 (ccosh_test): Likewise.
4140 (csin_test): Likewise.
4141 (csinh_test): Likewise.
4142 * sysdeps/i386/fpu/libm-test-ulps: Update.
4143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4144
6ad13e08
L
41452012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4146
f66f0ce8
L
4147 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4148 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4149
6ad13e08
L
4150 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4151
b1d072a7
JM
41522012-05-19 Joseph Myers <joseph@codesourcery.com>
4153
4154 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4155 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4156 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4157 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4158 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4159 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4160 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4161 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4162 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4163 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4164 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4165 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4166 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4167 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4168 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4169 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4170 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4171 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4172 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4173 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4174 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4175 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4176 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4177 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4178 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4179 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4180 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4181 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4182 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4183 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4184 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4185
9eae47cb
AJ
41862012-05-18 Andreas Jaeger <aj@suse.de>
4187
4188 * csu/.gitignore: Delete.
4189
bb07f69f
L
41902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4191
4192 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4193 (timex): Use __syscall_slong_t.
4194
e6bdb741
AJ
41952012-05-18 Andreas Jaeger <aj@suse.de>
4196 Carlos O'Donell <carlos_odonell@mentor.com>
4197
4198 * manual/install.texi (Configuring and compiling): Update
4199 description about files modified in the source directory.
d6c33fda 4200 * INSTALL: Regenerated.
e6bdb741 4201
1b74487e
L
42022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4203
4204 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4205 value. Use "or" to set return value to -1.
4206 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4207 negate return value.
4208
a88b64b9
TMQMF
42092012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4210
4211 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4212 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4213 failure if the compiler has Graphite support disabled.
4214 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4215 Likewise.
4216 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4217 CFLAGS-memmove.c): Likewise.
4218 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4219 Likewise.
4220
3707636e
L
42212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4222
610b8622
L
4223 * sysdeps/x86_64/x32/_itoa.h: New file.
4224
7cd195df
L
4225 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4226 getdents system call only if kernel and user dirents have the
4227 same d_ino and d_off.
4228
94b07d20
L
4229 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4230 LLONG_MAX != LONG_MAX.
4231 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4232 (_fitoa_word): Likewise.
4233
18298070
L
4234 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4235 years.
4236 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4237 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4238 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4239
553c7ea4
L
4240 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4241 include <bits/wordsize.h>. Check __x86_64__ instead of
4242 __WORDSIZE.
4243 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4244 if __x86_64__ is defined. Use anonymous union on fpstate.
4245
3707636e
L
4246 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4247 anonymous union.
4248
b53ef01a
AS
42492012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4250
37fb1dc0
AS
4251 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4252 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4253 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4254 Refer to _rtld_local_ro instead of _rtld_global_ro.
4255 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4256 Likewise.
4257 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4258 Likewise.
4259 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4260 Likewise.
4261 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4262 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4263 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4264
b53ef01a
AS
4265 * sysdeps/powerpc/powerpc32/dl-machine.c
4266 (__elf_machine_runtime_setup) [PROF]: Don't reference
4267 _dl_prof_resolve.
4268
7a185db2
AJ
42692012-05-18 Andreas Jaeger <aj@suse.de>
4270
4271 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4272 function only available for GCCs before 3.4 since GCC 3.4
4273 introduced a builtin.
4274 (lrint): Likewise.
4275 (llrintf): Likewise.
4276 (llrint): Likewise.
4277 (fmaxf): Likewise.
4278 (fmax): Likewise.
4279 (fminf): Likewise.
4280 (fmin): Likewise.
4281 (rint): Likewise.
4282 (rintf): Likewise.
4283 (nearbyint): Likewise.
4284 (nearbyintf): Likewise.
4285 (ceil): Likewise.
4286 (ceilf): Likewise.
4287 (floor): Likewise.
4288 (floorf): Likewise.
4289
3e5aef87
L
42902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4291
428bd707
L
4292 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4293 on both fields and cast pointer to __syscall_ulong_t.
4294
3e5aef87
L
4295 * bits/types.h (__fsword_t): New type.
4296 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4297 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4298 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4299 (__FSWORD_T_TYPE): Likewise.
4300 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4301 (__FSWORD_T_TYPE): Likewise.
4302 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4303 (__FSWORD_T_TYPE): Likewise.
4304 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4305 (__FSWORD_T_TYPE): Likewise.
4306 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4307 __SWORD_TYPE with __fsword_t.
4308 (statfs64): Likewise.
4309
1ba7c3dc
DM
43102012-05-17 David S. Miller <davem@davemloft.net>
4311
4312 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4313
59910343
AJ
43142012-05-17 Andreas Jaeger <aj@suse.de>
4315
4316 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4317 warning.
4318
2e4c1e9e
L
43192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4320
4321 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4322
de7f5ce7
AJ
43232012-05-17 Andreas Jaeger <aj@suse.de>
4324
4325 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4326 when it is used.
4327
286abc3d
CM
43282012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4329
4330 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4331
477cc68e
L
43322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4333
4334 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4335 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4336
1a0994f5
CD
43372012-05-17 Andreas Jaeger <aj@suse.de>
4338 Carlos O'Donell <carlos_odonell@mentor.com>
4339
4340 [BZ #14059]
4341 * sysdeps/x86_64/multiarch/init-arch.h
4342 (bit_YMM_Usable): Rename to...
4343 (bit_AVX_Usable): ... this.
4344 (bit_FMA4_Usable): New macro.
4345 (bit_XMM_state): New macro.
4346 (bit_YMM_state): New macro.
4347 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4348 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4349 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4350 (CPUID_OSXSAVE): New macro.
4351 (CPUID_AVX): New macro.
4352 (CPUID_FMA4): New macro.
4353 (index_YMM_Usable): Rename to...
4354 (index_AVX_Usable): ... this.
4355 (HAS_AVX): Use HAS_ARCH_FEATURE.
4356 (HAS_FMA4): Likewise.
4357 (HAS_YMM_USABLE): Remove.
4358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4359 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4360 are present.
4361 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4362 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4363 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4364 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4365 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4366
0af797de
CM
43672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4368
4369 * math/libm-test.c: Support platforms without multiple rounding modes.
4370 * math/bug-nextafter.c: Support platforms without FP exceptions.
4371 * math/bug-nexttoward.c: Likewise.
4372 * math/test-fenv.c: Likewise.
4373 * math/test-misc.c: Likewise.
4374 * stdlib/bug-getcontext.c: Likewise.
4375
e39745ff
AJ
43762012-05-17 Andreas Jaeger <aj@suse.de>
4377
4378 * manual/examples/search.c (critter_cmp): Change signature to
4379 avoid warnings.
4380 * manual/string.texi (Collation Functions): Likewise.
4381
48970aba
L
43822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4383
4384 * bits/types.h: Fold copyright years.
4385 * bits/typesizes.h: Likewise.
4386 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4387 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4388 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4389 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4390 * time/time.h: Likewise.
4391
bedee953
PP
43922012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4393
4394 [BZ #208]
4395 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4396 in instead of returning them. Return void.
4397 (__libc_mallinfo): Accumulate over all arenas.
4398 (__malloc_stats): Adjust for change in int_mallinfo interface.
4399
61653dfb
RM
44002012-05-16 Roland McGrath <roland@hack.frob.com>
4401
30b99d79
RM
4402 [BZ #10375]
4403 * configure.in (NM): Add AC_CHECK_TOOL for it.
4404 (libc_extra_cflags): New substituted variable.
4405 Check for -fstack-protector being used implicitly.
4406 * configure: Regenerated.
4407 * config.make.in (config-extra-cflags): New variable,
4408 gets @libc_extra_cflags@.
4409 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4410
61653dfb
RM
4411 [BZ #10375]
4412 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4413 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4414 * configure: Regenerated.
4415 * config.make.in (CPPUNDEFS): New substituted variable.
4416 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4417 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4418 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4419
661768bb
L
44202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4421
4422 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4423 (mq_attr): Use __syscall_slong_t.
4424
d4261567
L
44252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4426
4427 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4428 Check __x86_64__ instead of __WORDSIZE.
4429 (_STAT_VER_LINUX): Likewise.
4430 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4431 __syscall_ulong_t and __syscall_slong_t.
4432 (stat64): Likewise.
4433
cf3ff365
L
44342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4435
4436 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4437
76cf3e4d
L
44382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4439
4440 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4441
a637753a
L
44422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4443
4444 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4445 __syscall_ulong_t.
4446
d5e05119
L
4447 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4448 include <bits/wordsize.h>. Check __x86_64__ instead of
4449 __WORDSIZE.
4450 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4451 defined.
4452 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4453
f62ee380
L
4454 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4455 include <bits/wordsize.h>. Check __x86_64__ instead of
4456 __WORDSIZE.
4457 (user_regs_struct): Use "__extension__ unsigned long long"
4458 instead of "unsigned long" if __x86_64__ is defined.
4459 (user): Likewise. Pad after pointer field if __ILP32__ is
4460 defined.
4461
4e124ced
JM
44622012-05-16 Joseph Myers <joseph@codesourcery.com>
4463
6a3951a0
JM
4464 * configure.in (makeinfo): Require version 4.5 or later. Allow
4465 versions 5 to 9.
4466 * configure: Regenerated.
4467 * manual/install.texi (texinfo): Increase version requirement to
4468 4.5 or later.
4469 * INSTALL: Regenerated.
4470
4e124ced
JM
4471 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4472
953ca31a
L
44732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4474
4475 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4476
617aca05
L
4477 * sysdeps/x86_64/x32/ffs.c: New file.
4478
5762f7ae
L
4479 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4480 __syscall_ulong_t.
4481 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4482 defined. Use __syscall_ulong_t.
4483 (shminfo): Use __syscall_ulong_t.
4484 (shm_info): Likewise.
4485
a26b6856
L
4486 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4487 __syscall_ulong_t.
4488
cb2b9ef7
L
4489 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4490 <bits/wordsize.h>.
4491 (msgqnum_t): Use __syscall_ulong_t.
4492 (msglen_t): Likewise.
4493 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4494 __syscall_ulong_t.
4495
34683bb0
L
4496 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4497 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4498
84a68786
L
4499 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4500
48baa5f1
L
4501 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4502 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4503
180be88b
L
4504 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4505 __syscall_slong_t.
4506
5e90c8ad
L
4507 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4508 include <bits/wordsize.h>. Check __x86_64__ instead of
4509 __WORDSIZE.
4510
23dfb58b
L
4511 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4512 "unsigned long long int" if __x86_64__ is defined.
4513 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4514
ce5d54b0
L
4515 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4516 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4517 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4518
13dc9eac
L
4519 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4520 <stdint.h>.
4521 (GET_PC): Cast to uintptr_t first.
4522 (GET_FRAME): Likewise.
4523 (GET_STACK): Likewise.
4524
a7895d15
L
4525 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4526 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4527 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4528 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4529 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4530 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4531 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4532 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4533 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4534 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4535 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4536 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4537 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4538 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4539 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4540 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4541 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4542 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4543 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4544 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4545 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4546 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4547 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4548 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4549 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4550 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4551 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4552 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4553 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4554
656416c9
AS
45552012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4556
5bd66283
AS
4557 * Makerules (+depfiles): Also collect depfiles from .oS in
4558 $(extra-objs).
4559 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4560 .oS, $(libnldbl-routines)).
4561
656416c9
AS
4562 * Makerules (native-compile-mkdep-flags): Define.
4563 * sunrpc/Makefile (extra-objs): Add $(addprefix
4564 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4565 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4566 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4567 calling $(make-target-directory).
4568
a46f2169
L
45692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4570
4571 * bits/types.h (__snseconds_t): Removed.
4572 * time/time.h (struct timespec): Replace __snseconds_t with
4573 __syscall_slong_t.
4574 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4575 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4576 Likewise.
4577 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4578 (__SNSECONDS_T_TYPE): Likewise.
4579 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4580 (__SNSECONDS_T_TYPE): Likewise.
4581 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4582 (__SNSECONDS_T_TYPE): Likewise.
4583
6af6528b
L
45842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4585
4586 * sysdeps/mach/hurd/bits/typesizes.h
4587 (__SYSCALL_SLONG_TYPE): New macro.
4588 (__SYSCALL_ULONG_TYPE): Likewise.
4589
de986b56
L
45902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4591
4592 * bits/types.h (__syscall_slong_t): New type.
4593 (__syscall_ulong_t): Likewise.
4594
4595 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4596 (__SYSCALL_ULONG_TYPE): Likewise.
4597 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4598 (__SYSCALL_SLONG_TYPE): Likewise.
4599 (__SYSCALL_ULONG_TYPE): Likewise.
4600 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4601 (__SYSCALL_SLONG_TYPE): Likewise.
4602 (__SYSCALL_ULONG_TYPE): Likewise.
4603 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4604 (__SYSCALL_SLONG_TYPE): Likewise.
4605 (__SYSCALL_ULONG_TYPE): Likewise.
4606
85736dc7
L
46072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4608
4609 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4610 Add sigaltstack-offsets.sym.
4611 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4612 <sigaltstack-offsets.h>.
4613 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4614 longjmp_msg pointer.
4615 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4616 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4617 signal stack.
4618 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4619
cc03b296
JM
46202012-05-15 Joseph Myers <joseph@codesourcery.com>
4621
a9538892
JM
4622 * elf/stackguard-macros.h: Remove file.
4623 * sysdeps/generic/stackguard-macros.h: New file.
4624 * sysdeps/i386/stackguard-macros.h: Likewise.
4625 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4626 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4627 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4628 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4629 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4630 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4631 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4632 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4633 <elf/stackguard-macros.h>.
4634
cc03b296
JM
4635 [BZ #14109]
4636 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4637 __aligned__ in attribute.
4638 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4639 (gregset_t): Likewise.
4640
93171016
L
46412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4642
4643 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4644 * sysdeps/x86_64/64/Implies-after: Here. New file.
4645 * sysdeps/x86_64/x32/Implies-after: New file.
4646
d86813a0
L
46472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4648
4649 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4650 and access return value for _dl_profile_fixup. Use R10_LP to
4651 load frame size.
4652
2953ec75
L
46532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4654
4655 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4656
3b550e9e
L
46572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4658
4659 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4660 * sysdeps/x86_64/x32/sysdep.h: New file.
4661
eda41706
L
46622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4663
4664 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4665 * sysdeps/x86_64/setjmp.S: Likewise.
4666
9ea01d93
AZ
46672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4668
4669 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4670 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4671 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4672 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4673 remove unused global constant.
4674
02a91938
CM
46752012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4676
4677 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4678 include of <not-cancel.h>.
4679
6540185f
RM
46802012-05-15 Roland McGrath <roland@hack.frob.com>
4681
4682 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4683
509072a0
AJ
46842012-05-15 Jeff Law <law@redhat.com>
4685 Andreas Jaeger <aj@suse.de>
4686
4687 [BZ #13594]
4688 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4689 out from...
4690 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4691 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4692 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4693 code changing __hst_map_handle.map.
4694
ba75122d
RM
46952012-05-15 Roland McGrath <roland@hack.frob.com>
4696
4697 * configure.in (sysnames): Look for Implies-before and Implies-after
4698 files.
4699 * configure: Regenerated.
4700
890d8bd8
L
47012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4702
4703 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4704 8-byte data alignment with LP_SIZE alignment.
4705
f6ee6623
L
47062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4707
4708 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4709 into R10_LP.
4710
ea2626f6
L
47112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4712
4713 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4714
085f715e
L
47152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4716
4717 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4718 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4719 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4720 Likewise.
4721 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4722
be8498fc
L
47232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4724
4725 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4726 (stackinfo_sub_sp): Likewise.
4727
70bc83b9
L
47282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4729
4730 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4731 RAX_LP.
4732
9bc0b730
L
47332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4734
4735 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4736 into R*_LP.
4737
6d2850e7
L
47382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4739
4740 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4741 sizes into R*_LP.
4742
3cb84561
L
47432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4744
4745 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4746
54e2ed81
L
47472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4748
4749 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4750 into R11_LP and load __x86_64_shared_cache_size_half into
4751 R8_LP.
4752
8a17f349
L
47532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4754
4755 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4756 R8_LP.
4757
777b1eea
AZ
47582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4759
4760 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4761 logb for POWER7.
4762 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4763 logbf for POWER7.
4764 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4765 logbl for POWER7.
4766 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4767 powerpc32/power7/fpu/s_logb.c via #include.
4768 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4769 powerpc32/power7/fpu/s_logbf.c via #include.
4770 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4771 powerpc32/power7/fpu/s_logbl.c via #include.
4772
d20d4ac2
JM
47732012-05-15 Joseph Myers <joseph@codesourcery.com>
4774
4775 * README.libm: Remove file.
4776
6cdef1ab
L
47772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4778
4779 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4780 count for x32. Use R*_LP and omit operand-size suffix.
4781
0b254d8f
L
47822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4783
4784 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4785 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4786 * sysdeps/x86_64/x32/shlib-versions: New file.
4787
ceb809dc
RM
47882012-05-14 Roland McGrath <roland@hack.frob.com>
4789
4790 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4791 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4792 Use _dl_fatal_printf instead.
4793
37f1abd4
JM
47942012-05-14 Joseph Myers <joseph@codesourcery.com>
4795
4796 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4797 set if not set by the user. Do not allow for being unset.
4798 * sysdeps/unix/sysv/linux/configure: Regenerated.
4799
11de3a33
L
48002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4801
4802 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4803 the `q' suffix from lea and replace .quad with ASM_ADDR.
4804
e02f153a
L
48052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4806
4807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4808 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4809 instead of $17.
4810 (PTR_DEMANGLE): Likewise.
4811
520ae0fd
L
48122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4813
4814 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4815 (LP_OP): Likewise.
4816 (ASM_ADDR): Likewise.
4817 (RAX_LP): Likewise.
4818 (RBP_LP): Likewise.
4819 (RBX_LP): Likewise.
4820 (RCX_LP): Likewise.
4821 (RDI_LP): Likewise.
4822 (RSI_LP): Likewise.
4823 (RSP_LP): Likewise.
4824 (R8_LP): Likewise.
4825 (R9_LP): Likewise.
4826 (R10_LP): Likewise.
4827 (R10_LP): Likewise.
4828 (R11_LP): Likewise.
4829 (R12_LP): Likewise.
4830 (R13_LP): Likewise.
4831 (R14_LP): Likewise.
4832 (R15_LP): Likewise.
4833
b985be81
L
48342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4835
4836 * sysdeps/x86_64/x32/dl-machine.h: New file.
4837
6a4888ff
AJ
48382012-05-14 Andreas Jaeger <aj@suse.de>
4839
4840 * manual/Makefile (subdir): Remove export of subdir.
4841 (all): Remove target.
4842 (.PHONY): Remove all from list.
4843 (mkinstalldirs): Remove.
4844 (.PHONY): Remove installdirs from list.
4845 ($(inst_infodir)/libc.info): Use make-target-directory.
4846 (installdirs): Remove.
4847 (subdir_%): Remove.
4848 (glibc-targets): Remove.
4849 (lib): Remove.
4850 (stubs): Remove.
4851 ($(objpfx)stubs ../po/manual.pot): Remove.
4852 ($(objpfx)stamp%): Remove.
4853 (make-target-directory): Remove.
4854 (subdir_install): Remove.
4855 (routines): Remove.
4856 (aux): Remove.
4857 (sources): Remove.
4858 (objects): Remove.
4859 (headers): Remove.
4860
4861 [BZ #13750]
4862 * manual/.gitignore: Remove, it's not needed anymore.
4863 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4864 all files in it.
4865 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4866 directory.
4867 (texis): Renamed to $(objpfx)texis.
4868 (texis-path): New, contains path to generated files.
4869 (chapters.%): Use texis-path for complete path, add extra argument
4870 libc-texinfo.sh.
4871 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4872 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4873 (summary,texi, stamp-summary): Use complete path of
4874 files. Generate files in build dir.
4875 (dir-add.texi): Build in build dir.
4876 (libm-err.texi,stamp-libm-err): Likewise.
4877 (version.texi, stamp-version): Likewise.
4878 (.%c.texi): Likewise.
4879 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4880 (mostlyclean): Remove target.
4881 (realclean): Remove target.
4882 (generated): Add new variable with contents from mostlyclean and
4883 realclean, remove entries duplicated in common-mostlyclean, add
4884 stamp-libm-err and stamp-version.
4885 (generated-dirs): Add libc directory.
4886 ($(inst_infodir)/libc.info): Install files from build dir.
4887
4888 * manual/install.texi (Configuring and compiling): Adjust since
4889 the info files are not part of the tar ball anymore.
4890
7ac77294
AJ
48912012-05-14 Andreas Jaeger <aj@suse.de>
4892
4893 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4894 variable.
4895
ffb7875d
JM
48962012-05-14 Joseph Myers <joseph@codesourcery.com>
4897
4898 [BZ #13717]
4899 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4900 to 2.2.0 where earlier.
4901 * sysdeps/unix/sysv/linux/configure: Regenerated.
4902 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4903 Remove conditional code.
4904 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4905 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4906 Remove conditional code.
4907 [!__NR_lchown]: Likewise.
4908 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4909 [__NR_lchown]: Likewise.
4910 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4911 comment referencing __ASSUME_LCHOWN_SYSCALL.
4912 * sysdeps/unix/sysv/linux/i386/sigaction.c
4913 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4914 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4915 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4916 Remove conditional code.
4917 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4918 (__protocol_available): Remove #if 0 code.
4919 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4920 conditional code.
4921 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4922 * sysdeps/unix/sysv/linux/kernel-features.h
4923 (__ASSUME_GETCWD_SYSCALL): Don't define.
4924 (__ASSUME_REALTIME_SIGNALS): Likewise.
4925 (__ASSUME_PREAD_SYSCALL): Likewise.
4926 (__ASSUME_PWRITE_SYSCALL): Likewise.
4927 (__ASSUME_POLL_SYSCALL): Likewise.
4928 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4929 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4930 non-SPARC.
4931 (__ASSUME_SIOCGIFNAME): Don't define.
4932 (__ASSUME_MSG_NOSIGNAL): Likewise.
4933 (__ASSUME_SENDFILE): Define unconditionally.
4934 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4935 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4936 conditional code.
4937 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4938 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4939 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4940 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4941 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4942 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4943 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4945 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4946 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4948 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4949 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4951 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4952 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4954 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4955 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4957 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4958 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4960 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4961 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4963 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4964 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4966 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4967 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4968 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4969 Remove conditional code.
4970 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4971 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4972 Remove conditional code.
4973 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4974 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4975 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4976 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4977 Remove conditional code.
4978 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4979 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4980 Remove conditional code.
4981 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4982 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4983 Remove conditional code.
4984 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4985 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4986 Remove conditional code.
4987 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4988 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4989 Remove conditional code.
4990 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4991 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4992 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4993 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4994 * sysdeps/unix/sysv/linux/sigaction.c
4995 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4996 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4997 * sysdeps/unix/sysv/linux/sigpending.c
4998 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4999 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5000 * sysdeps/unix/sysv/linux/sigprocmask.c
5001 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5002 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5003 * sysdeps/unix/sysv/linux/sigsuspend.c
5004 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5005 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5006 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5007 (__libc_missing_rt_sigs): Remove.
5008 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5009 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5010 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5011 Remove conditional code.
5012 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5013 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5014 return 1.
5015 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5016 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5017 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5018 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5019
1bfb7291
AJ
50202012-05-14 Andreas Jaeger <aj@suse.de>
5021
caae5a81
AJ
5022 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5023 it's not used in glibc.
5024 (__coshm1): Likewise.
5025 (__acosh1p): Likewise.
5026 (__sgn): Likewise.
5027
1bfb7291
AJ
5028 * manual/string.texi (Copying and Concatenation): Add missing
5029 variable in concat example.
5030 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5031
c044d724
L
50322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5033
144c5467 5034 [BZ #14103]
c044d724
L
5035 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5036 __builtin_clzl with __builtin_clzll.
5037
2523c62b
L
50382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5039
5040 [BZ #14104]
5041 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5042 libc_freeres_ptr.
5043
d7bb4c42
LD
50442012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5045
5046 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5047 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5048 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5049 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5050
9dc4e1fb
MF
50512012-05-14 Mike Frysinger <vapier@gentoo.org>
5052
5053 * NEWS: Update ia64 info.
5054
c7df0112
AS
50552012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5056
5057 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5058 used as bcopy.
5059
dc70356c
TS
50602012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5061
5062 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5063 * sysdeps/unix/syscalls.list (dup3): Likewise.
5064 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5065 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5066
9fb1a21f
L
50672012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5068
5069 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5070 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5071
4822a2a5
L
50722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5073
5074 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5075 thread pointer.
5076 (TLS_IE): Use mov/add instead of movq/addq to load thread
5077 pointer.
5078 (TLS_GD_PREFIX): New.
5079 (TLS_GD): Use it.
5080
842b81d6
DM
50812012-05-11 David S. Miller <davem@davemloft.net>
5082
5083 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5084 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5085 (_FPU_SETCW): Likewise.
5086
1cf463cd
L
50872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5088
5089 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5090 is 32-byte aligned.
5091
60cc4a18
AS
50922012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5093
5094 [BZ #11837]
5095 * iconvdata/gb18030.c: Update tables.
5096 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5097 characters specially.
5098 (BODY for TO_LOOP): Add encoding of missing ranges.
5099
febb44a4
TS
51002012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5101
5102 [BZ #13673]
5103 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5104 * sysdeps/mach/hurd/dup3.c: Likewise.
5105 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5106 * sysdeps/powerpc/memmove.c:: Likewise.
5107
0a10fb9e
L
51082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5109
5110 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5111 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5112
df8a552f
L
51132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5114
5115 * elf/elf.h (R_X86_64_RELATIVE64): New.
5116 (R_X86_64_NUM): Updated.
5117 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5118 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5119 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5120 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5121 tst-quad1pie tst-quad2pie
5122 (modules-names): Add tst-quadmod1 tst-quadmod2.
5123 ($(objpfx)tst-quad1): New dependency.
5124 ($(objpfx)tst-quad2): Likewise.
5125 ($(objpfx)tst-quad1pie): Likewise.
5126 ($(objpfx)tst-quad2pie): Likewise.
5127 * sysdeps/x86_64/tst-quad1.c: New file.
5128 * sysdeps/x86_64/tst-quad1pie.c: New file.
5129 * sysdeps/x86_64/tst-quad2.c: Likewise.
5130 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5131 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5132 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5133 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5134 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5135
f34d6f84
ST
51362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5137
f42d41d1
ST
5138 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5139 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5140 * streams/stropts.h (t_scalar_t): Define type.
5141
3c3571fc
ST
5142 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5143 (_PATH_PRESERVE): Set to "/var/lib".
5144 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5145
61f06bd3
ST
5146 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5147 instead of int.
5148
918d4d71
ST
5149 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5150 if __dir_mkfile succeeded.
5151
f34d6f84
ST
5152 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5153 checking for _hurd_dtablesize. Unlock it right after having
5154 finished _hurd_dtable allocation.
5155
10589b4a
TS
51562012-05-10 Thomas Schwinge <thomas@schwinge.name>
5157
674cdbc7
TS
5158 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5159 * sysdeps/mach/hurd/configure: Regenerated.
5160 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5161 special-casing to...
5162 * sysdeps/gnu/configure.in: ... this new file.
5163 * sysdeps/unix/sysv/linux/configure: Regenerated.
5164 * sysdeps/gnu/configure: New generated file.
5165
8e41b99f
TS
5166 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5167 for Linux: use nsec instead of usec, as well as:
5168 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5169 members of type struct timespec.
5170 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5171 New macros.
5172 (struct stat64): Likewise.
5173 (_STATBUF_ST_NSEC): New macro.
5174 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5175
10589b4a
TS
5176 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5177 __strtoul_internal rather than strtoul.
5178
63643c85
PT
51792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5180
5181 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5182 and reject them.
5183
3faebe6a
ST
51842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5185
5186 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5187 which preserves existing values.
5188 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5189
c6474b07
PT
51902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5191
5192 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5193 TIMEOUT values. Return EINVAL for NFDS values either negative or
5194 greater than FD_SETSIZE.
5195
1043890b
ST
51962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5197
5198 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5199 allocated, call __vm_protect to finish enabling the existing space, and
5200 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5201 allocate the remainder.
5202
37ed8b9b
PT
52032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5204
5205 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5206 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5207
db653660
ST
52082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5209
37ed8b9b
PT
5210 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5211 sysdeps/mach/hurd/readlink.c.
b29d4053 5212
db653660
ST
5213 * posix/tst-sysconf.c (posix_options): Only use
5214 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5215 _POSIX_SYNCHRONIZED_IO when they are defined
5216 * sysdeps/mach/hurd/bits/posix_opt.h:
5217 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5218 (_XOPEN_REALTIME): Undefine macro.
5219 (_XOPEN_REALTIME_THREADS): Undefine macro.
5220 (_XOPEN_SHM): Undefine macro.
5221 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5222 macro to -1.
5223 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5224 macro to -1.
5225 (_POSIX_ASYNC_IO): Undefine macro.
5226 (_POSIX_PRIORITIZED_IO): Undefine macro.
5227 (_POSIX_SPIN_LOCKS): Define macro to -1.
5228
ee16e894
ST
5229 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5230 SA_NODEFER, SA_RESETHAND.
5231 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5232 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5233 F_DUPFD_CLOEXEC.
5234
6103ae3b
TS
52352012-05-10 Thomas Schwinge <thomas@schwinge.name>
5236
5237 * elf/Makefile (pldd-modules): Define unconditionally.
5238
80b4e5f3
TS
52392012-05-10 Thomas Schwinge <thomas@schwinge.name>
5240
5241 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5242
edadcbd6
ST
52432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5244
5245 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5246 Return ENOENT when name is empty.
5247 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5248
80694780
TS
52492012-05-10 Thomas Schwinge <thomas@schwinge.name>
5250
1792c087
TS
5251 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5252
80694780
TS
5253 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5254
6b645f0d
ST
52552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5256
80694780
TS
5257 Fix mlock in all cases except non-readable pages.
5258 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5259 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5260
6b645f0d
ST
5261 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5262 (__mkdir): When path is `/', just fail with EEXIST.
5263 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5264
e468f8a3
TS
52652012-05-10 Thomas Schwinge <thomas@schwinge.name>
5266
5267 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5268 <sys/uio.h> (for writev).
5269 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5270 and <sys/param.h> (for MIN).
5271
a4186cff
PT
52722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5273
5274 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5275 REQUESTED_TIME. Properly set the remaining time and return EINTR
5276 if interrupted.
5277
510bbf14
TS
52782012-05-10 Thomas Schwinge <thomas@schwinge.name>
5279
5280 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5281 Depend on against $(link-rpcuserlibs).
5282
5d5722e8
ST
52832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5284
a4186cff
PT
5285 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5286 (__libc_stack_end): Do not use attribute_relro.
5287 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5288 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5289 to libthread-provided value.
a4186cff
PT
5290 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5291 attribute_relro.
5d5722e8 5292
37233df9
TS
52932012-05-10 Thomas Schwinge <thomas@schwinge.name>
5294
be971a2b
TS
5295 [BZ #3748]
5296 * bits/libc-lock.h (__libc_once_get): New macro.
5297 * sysdeps/mach/bits/libc-lock.h: Likewise.
5298 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5299 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5300 instead of using implementation details.
5301
37233df9
TS
5302 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5303 * libio/freopen.c: Likewise.
5304 * libio/freopen64.c: Likewise.
5305 * misc/syslog.c: Likewise.
5306 * nscd/connections.c: Likewise.
5307 * nscd/netgroupcache.c: Likewise.
5308 * sysdeps/posix/getcwd.c: Likewise.
5309
38de94a5
RM
53102012-05-10 Roland McGrath <roland@hack.frob.com>
5311
5312 * math/w_ilogbf.c: Add #include <limits.h>.
5313
67530489
ST
53142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5315
a4186cff 5316 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5317 path instead of returning without unlocking.
5318
67530489
ST
5319 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5320 immediate-write ioctls.
5321 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5322
5aa3a74a
TS
53232012-05-10 Thomas Schwinge <thomas@schwinge.name>
5324
18bad2ae
TS
5325 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5326 __builtin_frame_address instead of making assumptions about the
5327 location of the return address relative to DATA. Force early load of
5328 the return address.
5329 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5330 __builtin_frame_address.
5331
5aa3a74a
TS
5332 dup3 for GNU Hurd.
5333 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5334 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5335 implement dup3 and do some further code clean-ups.
5336 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5337 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5338
ecd0de9a
ST
53392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5340
cd9fa985
ST
5341 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5342
a4186cff
PT
5343 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5344 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5345 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5346 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5347 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5348 d->port.lock.
802ca5a5 5349
a4186cff
PT
5350 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5351 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5352 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5353
bcf55240
TS
53542012-05-10 Thomas Schwinge <thomas@schwinge.name>
5355
6960eb42
TS
5356 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5357 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5358 definitions.
5359
eb43375f
TS
5360 accept4 for GNU Hurd.
5361 * include/sys/socket.h (__libc_accept4): New prototype.
5362 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5363 to implement __libc_accept4.
5364 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5365 __libc_accept4.
5366 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5367
bcf55240
TS
5368 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5369 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5370 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5371 signal-defines.sym.
5372
6178c55b
ST
53732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5374
a4186cff 5375 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5376
6f080c2f
TS
53772012-05-10 Thomas Schwinge <thomas@schwinge.name>
5378
5379 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5380 assertion on O_CLOEXEC flag.
5381 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5382 * hurd/intern-fd.c: Likewise.
5383 * hurd/port2fd.c: Likewise.
5384
bcfe3a54
ST
53852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5386
5387 [BZ #3906]
5388 * bits/in.h (IPV6_PKTINFO): Define new macro.
5389 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5390
89c9aa49
AZ
53912012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5392
5393 [BZ #13954]
5394 [BZ #13955]
5395 [BZ #13956]
5396 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5397 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5398 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5399 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5400 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5401 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5402 * math/libm-test.inc (logb_test) : Additional logb tests.
5403
021db4be
AJ
54042012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5405 Andreas Jaeger <aj@suse.de>
5406
5407 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5408 * configure: Regenerated.
5409 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5410 * config.make.in (link-obsolete-rpc): New substituted variable.
5411 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5412 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5413 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5414 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5415 so that libc.a contains the symbols.
5416 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5417 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5418 * sunrpc/auth_none.c: Likewise.
5419 * sunrpc/auth_unix.c: Likewise.
5420 * sunrpc/authdes_prot.c: Likewise.
5421 * sunrpc/authuxprot.c: Likewise.
5422 * sunrpc/clnt_gen.c: Likewise.
5423 * sunrpc/clnt_perr.c: Likewise.
5424 * sunrpc/clnt_raw.c: Likewise.
5425 * sunrpc/clnt_simp.c: Likewise.
5426 * sunrpc/clnt_tcp.c: Likewise.
5427 * sunrpc/clnt_udp.c: Likewise.
5428 * sunrpc/clnt_unix.c: Likewise.
5429 * sunrpc/des_crypt.c: Likewise.
5430 * sunrpc/des_soft.c: Likewise.
5431 * sunrpc/get_myaddr.c: Likewise.
5432 * sunrpc/key_call.c: Likewise.
5433 * sunrpc/key_prot.c: Likewise.
5434 * sunrpc/netname.c: Likewise.
5435 * sunrpc/pm_getmaps.c: Likewise.
5436 * sunrpc/pm_getport.c: Likewise.
5437 * sunrpc/pmap_clnt.c: Likewise.
5438 * sunrpc/pmap_prot.c: Likewise.
5439 * sunrpc/pmap_prot2.c: Likewise.
5440 * sunrpc/pmap_rmt.c: Likewise.
5441 * sunrpc/publickey.c: Likewise.
5442 * sunrpc/rpc_cmsg.c: Likewise.
5443 * sunrpc/rpc_common.c: Likewise.
5444 * sunrpc/rpc_dtable.c: Likewise.
5445 * sunrpc/rpc_prot.c: Likewise.
5446 * sunrpc/rpc_thread.c: Likewise.
5447 * sunrpc/rtime.c: Likewise.
5448 * sunrpc/svc.c: Likewise.
5449 * sunrpc/svc_auth.c: Likewise.
5450 * sunrpc/svc_raw.c: Likewise.
5451 * sunrpc/svc_run.c: Likewise.
5452 * sunrpc/svc_tcp.c: Likewise.
5453 * sunrpc/svc_udp.c: Likewise.
5454 * sunrpc/svc_unix.c: Likewise.
5455 * sunrpc/svcauth_des.c: Likewise.
5456 * sunrpc/xcrypt.c: Likewise.
5457 * sunrpc/xdr.c: Likewise.
5458 * sunrpc/xdr_array.c: Likewise.
5459 * sunrpc/xdr_float.c: Likewise.
5460 * sunrpc/xdr_intXX_t.c: Likewise.
5461 * sunrpc/xdr_mem.c: Likewise.
5462 * sunrpc/xdr_rec.c: Likewise.
5463 * sunrpc/xdr_ref.c: Likewise.
5464 * sunrpc/xdr_sizeof.c: Likewise.
5465 * sunrpc/xdr_stdio.c: Likewise.
5466
b5c086a2
RM
54672012-05-10 Roland McGrath <roland@hack.frob.com>
5468
5469 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5470 change. Update copyright years.
5471
6d74dd09
JM
54722012-05-10 Joseph Myers <joseph@codesourcery.com>
5473
5474 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5475
28e72501
MK
54762012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5477 Joseph Myers <joseph@codesourcery.com>
5478 Paul Pluzhnikov <ppluzhnikov@google.com>
5479
5480 [BZ #14012]
5481 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5482 requiring rpcgen.
5483 [cross-compiling] (extra-libs): Likewise.
5484 [cross-compiling] (extra-libs-others): Likewise.
5485 [cross-compiling] (librpcsvc-routines): Likewise.
5486 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5487 [cross-compiling] (omit-deps): Likewise.
5488 (sunrpc-CPPFLAGS): New variable.
5489 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5490 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5491 (cross-rpcgen-objs): New variable.
5492 (extra-objs): Append $(cross-rpcgen-objs).
5493 ($(cross-rpcgen-objs)): New rule.
5494 ($(objpfx)cross-rpcgen): Likewise.
5495 (rpcgen-cmd): Define to use $(built-program-file). Expand
5496 comment.
5497 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5498 ($(objpfx)x%.stmp): Likewise.
5499 * sunrpc/proto.h [IS_IN_build] (_): Define.
5500 [IS_IN_build] (_libc_intl_domainname): Likewise.
5501
c8c59454
L
55022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5503
5504 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5505 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5506 and R_X86_64_TPOFF64.
5507
6f27cd16
JM
55082012-05-10 Joseph Myers <joseph@codesourcery.com>
5509
5510 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5511 sysdeps/unix/sysv/syscalls.list.
5512 (stime): Likewise.
5513 (utime): Likewise.
5514 * sysdeps/unix/sysv/syscalls.list: Remove file.
5515
02467e1c
PE
55162012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5517
5518 [BZ #3440]
5519 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5520 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5521 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5522 (__LC_IDENTIFICATION): Make these macros useful in #if
5523 expressions, as required by C99.
5524
da392631
AS
55252012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5526
5527 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5528 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5529 after this.
5530
8115f29b
L
55312012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5532
5533 * stdlib/longlong.h: Updated from GCC.
5534
bdd74070
AJ
55352012-05-09 Andreas Jaeger <aj@suse.de>
5536
edfe0dbe
AJ
5537 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5538 default is first entry.
5539 (run_mode): Set type.
5540 (main): Remove informal message about syslog.
5541 (options): Fix typo.
5542
bcfe3a54
ST
5543 [BZ #14053]
5544 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5545 to asm.
bcfe3a54
ST
5546 (lrint): Likewise.
5547 (llrintf): Likewise.
5548 (llrint): Likewise.
5549 (rint): Likewise.
5550 (rintf): Likewise.
5551 (nearbyint): Likewise.
5552 (nearbyintf): Likewise.
bdd74070 5553
91d8d69e
AJ
55542012-05-09 Andreas Jaeger <aj@suse.de>
5555 Pedro Alves <palves@redhat.com>
5556
5557 * nscd/nscd.c (run_mode): Use enum.
5558 (main): Cleanup coding style issue.
5559
bb90b80b
AJ
55602012-05-09 Alexandre Oliva <aoliva@redhat.com>
5561 Andreas Jaeger <aj@suse.de>
5562
bcfe3a54
ST
5563 * nscd/nscd.c (go_background): Replaced with...
5564 (run_mode): ... this.
bb90b80b 5565 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5566 (options): Add -F --foreground.
5567 (main): Implement it.
5568 (parse_opt): Parse it.
bb90b80b 5569
1a4b75a1
AJ
55702012-05-09 Andreas Jaeger <aj@suse.de>
5571
5572 [BZ #14083]
5573 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5574 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5575 -Wconversion warning.
5576 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5577 Likewise.
5578
b1cc2472
JM
55792012-05-09 Joseph Myers <joseph@codesourcery.com>
5580
5581 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5582 == 0.
5583 (LC_ALL): Use macro-int-constant.
5584 (LC_COLLATE): Likewise.
5585 (LC_CTYPE): Likewise.
5586 (LC_MESSAGES): Likewise.
5587 (LC_MONETARY): Likewise.
5588 (LC_NUMERIC): Likewise.
5589 (LC_TIME): Likewise.
5590 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5591 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5592 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5593 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5594 Specify type.
5595 [C99-based standards] (float_t): Expect type.
5596 [C99-based standards] (double_t): Expect type.
5597 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5598 type.
5599 [C99-based standards] (HUGE_VALL): Likewise.
5600 [C99-based standards] (INFINITY): Likewise.
5601 [C99-based standards] (NAN): Likewise.
5602 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5603 [C99-based standards] (FP_NAN): Likewise.
5604 [C99-based standards] (FP_NORMAL): Likewise.
5605 [C99-based standards] (FP_SUBNORMAL): Likewise.
5606 [C99-based standards] (FP_ZERO): Likewise.
5607 [C99-based standards] (FP_FAST_FMA): Use
5608 optional-macro-int-constant. Specify type. Require == 1.
5609 [C99-based standards] (FP_FAST_FMAF): Likewise.
5610 [C99-based standards] (FP_FAST_FMAL): Likewise.
5611 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5612 [C99-based standards] (FP_ILOGBNAN): Likewise.
5613 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5614 Specify type.
5615 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5616 [C99-based standards] (math_errhandling): Specify type.
5617 [ISO99 || ISO11] (signgam): Do not allow.
5618 [non-C99-based standards] (copysignf): Do not allow.
5619 [non-C99-based standards] (exp2f): Likewise.
5620 [non-C99-based standards] (log2f): Likewise.
5621 [non-C99-based standards] (modff): Allow.
5622 [non-C99-based standards] (erff): Do not allow.
5623 [non-C99-based standards] (erfcf): Likewise.
5624 [non-C99-based standards] (gammaf): Likewise.
5625 [non-C99-based standards] (hypotf): Likewise.
5626 [non-C99-based standards] (j0f): Likewise.
5627 [non-C99-based standards] (j1f): Likewise.
5628 [non-C99-based standards] (jnf): Likewise.
5629 [non-C99-based standards] (lgammaf): Likewise.
5630 [non-C99-based standards] (tgammaf): Likewise.
5631 [non-C99-based standards] (y0f): Likewise.
5632 [non-C99-based standards] (y1f): Likewise.
5633 [non-C99-based standards] (ynf): Likewise.
5634 [non-C99-based standards] (isnanf): Likewise.
5635 [non-C99-based standards] (acoshf): Likewise.
5636 [non-C99-based standards] (asinhf): Likewise.
5637 [non-C99-based standards] (atanhf): Likewise.
5638 [non-C99-based standards] (cbrtf): Likewise.
5639 [non-C99-based standards] (expm1f): Likewise.
5640 [non-C99-based standards] (ilogbf): Likewise.
5641 [non-C99-based standards] (log1pf): Likewise.
5642 [non-C99-based standards] (logbf): Likewise.
5643 [non-C99-based standards] (nextafterf): Likewise.
5644 [non-C99-based standards] (remainderf): Likewise.
5645 [non-C99-based standards] (rintf): Likewise.
5646 [non-C99-based standards] (scalbf): Likewise.
5647 [non-C99-based standards] (copysignl): Likewise.
5648 [non-C99-based standards] (exp2l): Likewise.
5649 [non-C99-based standards] (log2l): Likewise.
5650 [non-C99-based standards] (modfl): Allow.
5651 [non-C99-based standards] (erfl): Do not allow.
5652 [non-C99-based standards] (erfcl): Likewise.
5653 [non-C99-based standards] (gammal): Likewise.
5654 [non-C99-based standards] (hypotl): Likewise.
5655 [non-C99-based standards] (j0l): Likewise.
5656 [non-C99-based standards] (j1l): Likewise.
5657 [non-C99-based standards] (jnl): Likewise.
5658 [non-C99-based standards] (lgammal): Likewise.
5659 [non-C99-based standards] (tgammal): Likewise.
5660 [non-C99-based standards] (y0l): Likewise.
5661 [non-C99-based standards] (y1l): Likewise.
5662 [non-C99-based standards] (ynl): Likewise.
5663 [non-C99-based standards] (isnanl): Likewise.
5664 [non-C99-based standards] (acoshl): Likewise.
5665 [non-C99-based standards] (asinhl): Likewise.
5666 [non-C99-based standards] (atanhl): Likewise.
5667 [non-C99-based standards] (cbrtl): Likewise.
5668 [non-C99-based standards] (expm1l): Likewise.
5669 [non-C99-based standards] (ilogbl): Likewise.
5670 [non-C99-based standards] (log1pl): Likewise.
5671 [non-C99-based standards] (logbl): Likewise.
5672 [non-C99-based standards] (nextafterl): Likewise.
5673 [non-C99-based standards] (remainderl): Likewise.
5674 [non-C99-based standards] (rintl): Likewise.
5675 [non-C99-based standards] (scalbl): Likewise.
5676 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5677 [non-C99-based standards] (FP_*): Do not allow.
5678 [C99-based standards] (FP_*): Change to
5679 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5680 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5681 allow.
5682 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5683 (SIG_ERR): Likewise.
5684 [X/Open-based standards] (SIG_HOLD): Likewise.
5685 (SIG_IGN): Likewise.
5686 (SIGABRT): Use macro-int-constant. Specify type. Require
5687 positive value.
5688 (SIGFPE): Likewise.
5689 (SIGILL): Likewise.
5690 (SIGINT): Likewise.
5691 (SIGSEGV): Likewise.
5692 (SIGTER): Likewise.
5693 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5694 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5695 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5696 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5697 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5698 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5699 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5700 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5701 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5702 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5703 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5704 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5705 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5706 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5707 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5708 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5709 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5710 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5711 [X/Open-based standards] (SIGTRAP): Likewise.
5712 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5713 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5714 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5715 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5716 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5717 allow.
5718
b9f1922d
IW
57192012-05-08 Ian Wienand <ianw@vmware.com>
5720
5721 [BZ #14080]
5722 * time/tzset.c (__tzset_parse_tz): Update default rules for
5723 daylight time changes in the Energy Policy Act of 2005.
5724
1db86e88
AJ
57252012-05-09 Andreas Jaeger <aj@suse.de>
5726
5727 [BZ #13983]
5728 * elf/ldconfig.c (parse_conf): Change string to make clear that
5729 ldconfig only issued a warning if ld.so.conf does not exist.
5730
dee4a4e3
DM
57312012-05-08 David S. Miller <davem@davemloft.net>
5732
ee0db190
DM
5733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5734 movxtod instead of popping the value on the stack.
5735
dee4a4e3
DM
5736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5737
6a43ec98
CD
57382012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5739
5740 * config.h.in: Add HAVE_ARM_PCS_VFP.
5741
05c2c961
RMG
57422012-05-08 Roland Mc Grath <roland@hack.frob.com>
5743
bcfe3a54
ST
5744 [BZ #13979]
5745 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5746 checking but the checks are disabled for any reason.
05c2c961 5747
4b30f61a
L
57482012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5749
5750 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5751 and ELF64_R_TYPE with ELFW(R_TYPE).
5752
eee2bc67
JM
57532012-05-08 Joseph Myers <joseph@codesourcery.com>
5754
7ea5391a
JM
5755 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5756 (ulimit): Likewise.
5757
eee2bc67
JM
5758 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5759 (settimeofday): Likewise.
5760
abb66a67
MF
57612012-05-08 Mike Frysinger <vapier@gentoo.org>
5762
5763 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5764 a struct th_u2 inside the union, and move tu_block/tu_code into
5765 a new th_u3 union of tu_block/tu_code inside of that. Move
5766 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5767 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5768 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5769 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5770 (th_stuff): Change to th_u1.tu_stuff.
5771 (th_data): Define.
5772 (th_msg): Change to th_u1.th_u2.tu_data.
5773
7f18b530
DM
57742012-05-07 David S. Miller <davem@davemloft.net>
5775
05760585
DM
5776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5777
7f18b530
DM
5778 [BZ #14074]
5779 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5780 (SETUP_PIC_REG): Use it.
5781 (SETUP_PIC_REG_LEAF): Use it.
5782
495fd99f
JM
57832012-05-07 Joseph Myers <joseph@codesourcery.com>
5784
5785 [BZ #13885]
5786 [BZ #13923]
5787 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5788 USE_AS_EXPM1L.
5789 (EXPL_FINITE): Likewise.
5790 (FLDLOG): Likewise.
5791 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5792 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5793 e_expl.S.
5794 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5795 USE_AS_EXPM1L.
5796 (EXPL_FINITE): Likewise.
5797 (FLDLOG): Likewise.
5798 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5799 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5800 e_expl.S.
5801 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5802 test of -max_value argument for long double.
5803 * sysdeps/i386/fpu/libm-test-ulps: Update.
5804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5805
6693d694
DM
58062012-05-06 David S. Miller <davem@davemloft.net>
5807
5808 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5809 quad soft-float symbols whose references which are compiler
5810 generated.
5811 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5812
6c23e11c
JM
58132012-05-06 Joseph Myers <joseph@codesourcery.com>
5814
d8b82cad
JM
5815 [BZ #13884]
5816 [BZ #13914]
5817 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5818 USE_AS_EXP10L.
5819 (EXPL_FINITE): Likewise.
5820 (FLDLOG): Likewise.
5821 (c0): Likewise.
5822 (c1): Likewise.
5823 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5824 Adjust comments for base varying.
5825 (__expl_finite): Change alias to EXPL_FINITE.
5826 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5827 e_expl.S.
5828 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5829 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5830 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5831 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5832 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5833 USE_AS_EXP10L.
5834 (EXPL_FINITE): Likewise.
5835 (FLDLOG): Likewise.
5836 (c0): Likewise.
5837 (c1): Likewise.
5838 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5839 Adjust comments for base varying.
5840 (__expl_finite): Change alias to EXPL_FINITE.
5841 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5842 tests for bugs.
5843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5844
6c23e11c
JM
5845 [BZ #14064]
5846 * math/libm-test.inc (check_float_internal): Correct ulp
5847 calculation for subnormal expected results.
5848
29ba805c
AJ
58492012-05-06 Andreas Jaeger <aj@suse.de>
5850
5851 * Makeconfig (+math-flags): New, set to -frounding-math.
5852 (+cflags): Add +math-flags so that all of glibc gets compiled with
5853 it.
5854
5855 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5856
7b17aeda
JM
58572012-05-05 Joseph Myers <joseph@codesourcery.com>
5858
5779f134
JM
5859 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5860 Disable one test.
5861
41498f4d
JM
5862 [BZ #13787]
5863 [BZ #13922]
5864 [BZ #14036]
5865 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5866 (__ieee754_expl): Allow for and saturate large arguments.
5867 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5868 (u_threshold): Likewise.
5869 (__exp): Call __ieee754_exp before checking for overflow and
5870 underflow.
5871 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5872 (u_threshold): Likewise.
5873 (__expf): Call __ieee754_expf before checking for overflow and
5874 underflow.
5875 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5876 (u_threshold): Likewise.
5877 (__expl): Call __ieee754_expl before checking for overflow and
5878 underflow.
5879 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5880 (__ieee754_expl): Allow for and saturate large arguments.
5881 * math/libm-test.inc (exp_test): Add another test. Do not allow
5882 missing overflow exception on overflow.
5883 (expm1_test): Do not allow missing overflow exception on overflow.
5884
6698b8bf
JM
5885 * sysdeps/i386/fpu/e_expl.c: Move to ...
5886 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5887 rather than using inline asm.
5888 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5889 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5890 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5891
7b17aeda
JM
5892 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5893 (nice): Likewise.
5894 (poll): Likewise.
5895 (signal): Likewise.
5896 (time): Likewise.
5897 (times): Likewise.
5898
f7c85819
JM
58992012-05-04 Joseph Myers <joseph@codesourcery.com>
5900
5901 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5902 sysdeps/unix/common/syscalls.list.
5903 (fchmod): Likewise.
5904 (fchown): Likewise.
5905 (ftruncate): Likewise.
5906 (getrusage): Likewise.
5907 (gettimeofday): Likewise.
5908 (setpgid): Likewise.
5909 (setregid): Likewise.
5910 (setreuid): Likewise.
5911 (sigaction): Likewise.
5912 (truncate): Likewise.
5913 (vhangup): Likewise.
5914 * sysdeps/unix/common/syscalls.list: Remove file.
5915 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5916 * sysdeps/unix/sysv/linux/Implies: Likewise.
5917
336270d0
L
59182012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5919
5920 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5922 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5923 Moved to ...
5924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5925 Here.
5926 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5927 to ...
5928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5929 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5930 to ...
5931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5932 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5933 to ...
5934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5935 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5936 to ...
5937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5938 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5939 to ...
5940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5941 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5942 to ...
5943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5944 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5945 to ...
5946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5947 Here.
5948 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5949 to ...
5950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5951 Here.
5952 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5953 to ...
5954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5955 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5956 Moved to ...
5957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5958 Here.
5959 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5960 to ...
5961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5962
d128e450
JM
59632012-05-04 Joseph Myers <joseph@codesourcery.com>
5964
fa8ee516
JM
5965 * sysdeps/unix/common/bits/dirent.h: Remove file.
5966 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5967
d128e450
JM
5968 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5969 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5970 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5971 * sysdeps/unix/bsd/isatty.c: Likewise.
5972 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5973 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5974 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5975
ff8faaf0 59762012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5977
62881be4 5978 [BZ #13563]
31dc8730
AZ
5979 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5980 long double comparison inaccuracies.
5981 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5983
6fef930c
AS
59842012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5985
5986 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5987 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5988
8f203e6c
JM
59892012-05-04 Joseph Myers <joseph@codesourcery.com>
5990
5991 [BZ #14049]
5992 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5993 nonzero digits before rounding a hex value.
5994 * stdlib/tst-strtod.c (tests): Add another test.
5995
5197d9c2
AK
59962012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5997
5998 * sysdeps/s390/fpu/libm-test-ulps: Update.
5999
f0c1dedf
AJ
60002012-05-03 Andreas Jaeger <aj@suse.de>
6001
6002 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6003 does not get optimized out.
6004 (malloc_opt_barrier): New.
6005
a65ef2ae 60062012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6007 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6008
2b942cb7 6009 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6010 intermediate file deletion.
2b942cb7 6011 (generated): Add .symlist files.
a65ef2ae 6012
54b71e02
JM
60132012-05-03 Joseph Myers <joseph@codesourcery.com>
6014
6015 [BZ #13775]
6016 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6017 Redirect under this condition.
6018 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6019 [__USE_GNU] (__dprintf_chk): Not under this condition.
6020 [__USE_GNU] (__vdprintf_chk): Likewise.
6021 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6022 under this condition.
6023 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6024 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6025 [__USE_XOPEN2K8] (vdprintf): Likewise.
6026 [__USE_GNU] (__dprintf_chk): Not under this condition.
6027 [__USE_GNU] (__vdprintf_chk): Likewise.
6028 [__USE_GNU] (dprintf): Likewise.
6029 [__USE_GNU] (vdprintf): Likewise.
6030
d3dfcc41
RM
60312012-05-03 Roland McGrath <roland@hack.frob.com>
6032
6033 * elf/Makefile (common-generated): Set this instead of generated for
6034 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6035 $(all-built-dso)-derived lists.
6036
7ac30cc5
AJ
60372012-05-03 Andreas Jaeger <aj@suse.de>
6038
0c51e550
AJ
6039 * sysdeps/i386/fpu/libm-test-ulps: Update.
6040
7ac30cc5
AJ
6041 * FAQ: Removed.
6042 * FAQ.in: Likewise.
6043 * scripts/gen-FAQ.pl: Likewise.
6044 * manual/install.texi (Installation): Point to online location of
6045 FAQ.
6046 * Makefile (files-for-dist): Remove FAQ.
6047 (FAQ): Remove.
6048
d4c2917f
AM
60492012-05-02 Allan McRae <allan@archlinux.org>
6050
6051 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6052 (LDFLAGS-reldepmod5.so): Likewise.
6053 (LDFLAGS-reldep6mod1.so): Likewise.
6054 (LDFLAGS-reldep6mod4.so): Likewise.
6055 (LDFLAGS-reldep8mod3.so): Likewise.
6056 (LDFLAGS-unload4mod1.so): Likewise.
6057 (LDFLAGS-unload4mod2.so): Likewise.
6058 (LDFLAGS-tst-initorder): Likewise.
6059 (LDFLAGS-tst-initordera2.so): Likewise.
6060 (LDFLAGS-tst-initordera3.so): Likewise.
6061 (LDFLAGS-tst-initordera4.so): Likewise.
6062 (LDFLAGS-tst-initorderb2.so): Likewise.
6063 (LDFLAGS-noload): Likewise.
6064 (LDFLAGS-next): Likewise.
6065 (LDFLAGS-order2mod1.so): Likewise.
6066 (LDFLAGS-order2mod2.so): Likewise.
6067 (LDFLAGS-tst-initorder2): Likewise.
6068 (LDFLAGS-tst-initorder2a.so): Likewise.
6069 (LDFLAGS-tst-initorder2b.so): Likewise.
6070 (LDFLAGS-tst-initorder2c.so): Likewise.
6071 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6072
d77f993f
DM
60732012-05-02 David S. Miller <davem@davemloft.net>
6074
6075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6076
171a70b4
PP
60772012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6078
6079 [BZ #14055]
6080 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6081
0be196ad
AJ
60822012-05-02 Andreas Jaeger <aj@suse.de>
6083
6084 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6085 since we manipulate rounding mode.
6086 (CPPFLAGS-test-idouble.c): Likewise.
6087 (CPPFLAGS-test-ifloat.c): Likewise.
6088 (CFLAGS-test-ldouble.c): Likewise.
6089 (CFLAGS-test-double.c): Likewise.
6090 (CFLAGS-test-float.c): Likewise.
6091 (CFLAGS-test-misc.c): Likewise.
6092 (CFLAGS-test-test-fenv.c): Likewise.
6093
4f9d04aa
AZ
60942012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6095
2b942cb7
RM
6096 [BZ #2550]
6097 [BZ #2570]
6098 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6099 comparisons to determine direction to adjust input.
4f9d04aa 6100
82a79e7d
RM
61012012-05-01 Roland McGrath <roland@hack.frob.com>
6102
f5a01ca9
RM
6103 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6104 output to the target.
6105
90fe4186
RM
6106 * scripts/localplt.awk: New file.
6107 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6108 (check-localplt-CFLAGS): Variable removed.
6109 ($(all-built-dso:=.jmprel)): New static pattern rule.
6110 (generated): Add those targets.
6111 (localplt-built-dso): New variable.
6112 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6113
6114 * elf/check-localplt.c: File removed.
6115
82397ed6
RM
6116 * scripts/check-execstack.awk: New file.
6117 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6118 (check-execstack-CFLAGS): Variable removed.
6119 ($(objpfx)check-execstack.h): Target removed.
6120 ($(objpfx)execstack-default): New target.
6121 (generated): Add that instead of check-execstack.h.
6122 ($(all-built-dso:=.phdr)): New static pattern rule.
6123 (generated): Add those targets.
6124 * elf/check-execstack.c: File removed.
6125
82a79e7d
RM
6126 * scripts/check-textrel.awk: New file.
6127 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6128 (check-textrel-CFLAGS): Variable removed.
6129 (all-built-dso): Use := to define.o
6130 ($(all-built-dso:=.dyn)): New static pattern rule.
6131 (generated): Add those targets.
6132 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6133 * config.make.in (READELF): New substituted variable.
6134 * elf/check-textrel.c: File removed.
6135
62fde54f 61362012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6137
615605c9
JM
6138 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6139 allow.
6140 * conform/data/ctype.h-data [C99-based standards] (isblank):
6141 Expect function.
6142 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6143 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6144 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6145 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6146 Specify type. Require positive value.
6147 (EILSEQ): Likewise.
6148 (ERANGE): Likewise.
6149 [ISO || POSIX] (EILSEQ): Do not expect.
6150 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6151 Specify type. Require positive value.
6152 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6153 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6154 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6155 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6156 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6157 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6158 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6159 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6160 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6161 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6162 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6163 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6164 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6165 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6166 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6167 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6168 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6169 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6170 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6171 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6172 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6173 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6174 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6175 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6176 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6177 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6178 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6179 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6180 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6181 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6182 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6183 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6184 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6185 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6186 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6187 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6188 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6189 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6190 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6191 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6192 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6193 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6194 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6195 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6196 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6197 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6198 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6199 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6200 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6201 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6202 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6203 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6204 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6205 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6206 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6207 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6208 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6209 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6210 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6211 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6212 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6213 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6214 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6215 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6216 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6217 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6218 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6219 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6220 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6221 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6222 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6223 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6224 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6225 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6226 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6227 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6228 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6229 Require >= 2.
6230 (FLT_ROUNDS): Expect as macro, not constant.
6231 (FLT_MANT_DIG): Use macro-int-constant.
6232 (DBL_MANT_DIG): Likewise.
6233 (LDBL_MANT_DIG): Likewise.
6234 (FLT_DIG): Likewise.
6235 (DBL_DIG): Likewise.
6236 (LDBL_DIG): Likewise.
6237 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6238 (DBL_MIN_EXP): Likewise.
6239 (LDBL_MIN_EXP): Likewise.
6240 (FLT_MAX_EXP): Use macro-int-constant.
6241 (DBL_MAX_EXP): Likewise.
6242 (LDBL_MAX_EXP): Likewise.
6243 (FLT_MAX_10_EXP): Likewise.
6244 (DBL_MAX_10_EXP): Likewise.
6245 (LDBL_MAX_10_EXP): Likewise.
6246 (FLT_MAX): Use macro-constant.
6247 (DBL_MAX): Likewise.
6248 (LDBL_MAX): Likewise.
6249 (FLT_EPSILON): Use macro-constant. Give upper bound.
6250 (DBL_EPSILON): Likewise.
6251 (LDBL_EPSILON): Likewise.
6252 (FLT_MIN): Likewise.
6253 (DBL_MIN): Likewise.
6254 (LDBL_MIN): Likewise.
6255 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6256 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6257 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6258 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6259 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6260 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6261 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6262 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6263 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6264 [ISO11] (FLT_TRUE_MIN): Likewise.
6265 [ISO11] (LDBL_TRUE_MIN): Likewise.
6266 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6267 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6268 (SCHAR_MIN): Use macro-int-constant. Specify type.
6269 (SCHAR_MAX): Likewise.
6270 (UCHAR_MAX): Likewise.
6271 (CHAR_MIN): Likewise.
6272 (CHAR_MAX): Likewise.
6273 (MB_LEN_MAX): Use macro-int-constant.
6274 (SHRT_MIN): Use macro-int-constant. Specify type.
6275 (SHRT_MAX): Likewise.
6276 (USHRT_MAX): Likewise.
6277 (INT_MAX): Likewise.
6278 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6279 bound negative.
6280 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6281 bound with "U".
6282 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6283 bound with "L".
6284 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6285 bound negative. Suffix upper bound with "L".
6286 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6287 bound with "UL".
6288 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6289 Specify type.
6290 [C99-based standards] (LLONG_MAX): Likewise.
6291 [C99-based standards] (ULLONG_MAX): Likewise.
6292 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6293 == 0.
6294 [ISO11] (max_align_t): Require type.
6295 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6296
c9140a62
JM
6297 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6298 from $CFLAGS, without defining away __attribute__ calls.
6299 (checknamespace): Use $CFLAGS_namespace.
6300
9af0bf29
JM
6301 * conform/conformtest.pl (@keywords): Only include C99 keywords
6302 for standards based on C99 or C11.
6303
343222a2
JM
6304 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6305 Disable tests.
6306 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6307 UNIX98]: Likewise.
6308
661f8cf0
JM
6309 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6310 usability of symbols in #if.
6311
ee74b9cb
JM
6312 * conform/conformtest.pl: If macro or constant types start
6313 "promoted:", expect the symbol to be of the following type
6314 promoted by the integer promotions.
62fde54f 6315
aafc49b3
JM
6316 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6317 in one place. Also handle "macro-constant".
6318
fefdf574
JM
6319 * conform/conformtest.pl: Only accept expected macro values with
6320 "==". Parse all "macro" lines in one place.
6321 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6322
f2d922fe
JM
6323 * conform/conformtest.pl: Handle braced types on "constant" lines
6324 instead of handling "typed-constant".
6325 * conform/data/signal.h-data: Use "constant" instead of
6326 "typed-constant".
6327
d22956c9
JM
6328 * conform/conformtest.pl: Handle "optional-" at start of lines in
6329 one place rather than duplicating several cases. Handle each
6330 format of "macro" line with initial "optional-".
6331
028e2e38
JM
6332 * conform/conformtest.pl: Only accept expected constant or
6333 optional-constant values with "==". Parse all "constant" lines in
6334 one place. Parse all "optional-constant" lines in one place.
6335 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6336 * conform/data/fmtmsg.h-data: Likewise.
6337 * conform/data/netinet/in.h-data: Likewise.
6338 * conform/data/tar.h-data: Likewise.
6339 * conform/data/limits.h-data: Use "==" form on "constant" and
6340 "optional-constant" lines.
6341
1b8f2850
JM
6342 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6343 Use -std=c99 for XOPEN2K.
6344 (@knownproblems): Remove.
6345 (newtoken): Don't check %isknown.
6346
a05a144b
JM
6347 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6348 Do not expect macro.
6349 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6350 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6351 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6352 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6353 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6354 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6355 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6356 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6357 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6358 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6359 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6360 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6361 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6362 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6363 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6364 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6365 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6366 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6367 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6368 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6369 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6370 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6371 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6372 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6373 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6374 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6375 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6376 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6377 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6378 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6379 [XPG3] (acosh): Likewise.
6380 [XPG3] (asinh): Likewise.
6381 [XPG3] (atanh): Likewise.
6382 [XPG3] (cbrt): Likewise.
6383 [XPG3] (expm1): Likewise.
6384 [XPG3] (ilogb): Likewise.
6385 [XPG3] (log1p): Likewise.
6386 [XPG3] (logb): Likewise.
6387 [XPG3] (nextafter): Likewise.
6388 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6389 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6390 [XPG3] (remainder): Likewise.
6391 [XPG3] (rint): Likewise.
6392 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6393 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6394 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6395 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6396 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6397 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6398 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6399 [UNIX98 || XOPEN2K] (scalb): Expect.
6400 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6401 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6402 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6403 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6404 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6405 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6406 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6407 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6408 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6409 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6410 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6411 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6412 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6413 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6414 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6415 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6416 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6417 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6418 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6419 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6420 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6421 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6422 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6423 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6424 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6425 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6426 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6427 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6428 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6429 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6430 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6431 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6432 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6433 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6434 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6435 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6436 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6437 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6438 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6439 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6440 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6441 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6442 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6443 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6444 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6445 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6446 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6447 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6448 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6449 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6450 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6451 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6452 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6453 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6454 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6455 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6456 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6457 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6458 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6459 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6460 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6461 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6462 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6463 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6464 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6465 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6466 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6467 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6468 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6469 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6470 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6471 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6472 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6473 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6474 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6475 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6476 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6477 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6478 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6479 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6480 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6481 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6482 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6483 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6484 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6485 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6486 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6487 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6488 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6489 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6490 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6491 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6492 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6493 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6494 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6495 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6496 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6497 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6498 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6499 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6500 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6501 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6502 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6503 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6504 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6505 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6506 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6507 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6508 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6509 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6510 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6511 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6512 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6513 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6514 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6515 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6516 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6517 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6518 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6519 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6520 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6521 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6522 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6523 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6524 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6525 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6526 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6527 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6528 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6529 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6530 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6531 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6532 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6533 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6534 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6535 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6536 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6537
73c5ebe3
JM
6538 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6539 _XOPEN_SOURCE_EXTENDED for XPG4.
6540
39c33b6c
JM
6541 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6542
62fde54f
JM
6543 * Makeconfig (localtime): Remove variable.
6544 (inst_localtime-file): Likewise.
6545
0741d64c
AS
65462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6547
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6549 Update.
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6551 Update.
6552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6553 Update.
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6555 Update.
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6557 Update.
6558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6559 Update.
6560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6561 Update.
6562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6563 Update.
6564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6565 Update.
6566
7cb029ee
JM
65672012-05-01 Joseph Myers <joseph@codesourcery.com>
6568
6569 [BZ #2550]
6570 [BZ #2570]
6571 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6572 comparisons to determine direction to adjust input.
6573 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6574 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6575 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6576 Likewise.
6577 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6578 Likewise.
6579 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6580 Likewise.
6581 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6582 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6583 Likewise.
6584 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6585 Likewise.
6586 * math/libm-test.inc (nexttoward_test): Add more tests.
6587
412bd966
AS
65882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6589
6590 [BZ #14040]
6591 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6592 in version GLIBC_2.1, not GLIBC_2.0.
6593 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6594 Likewise.
6595
9568c0c2
JM
65962012-04-30 Joseph Myers <joseph@codesourcery.com>
6597
adfbc8ac
JM
6598 [BZ #13942]
6599 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6600 (1 - x) * (1 + x).
6601 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6602 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6603 * math/libm-test.inc (acos_test): Add more tests.
6604 (asin_test): Likewise.
6605 * sysdeps/i386/fpu/libm-test-ulps: Update.
6606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6607
5ba3cc69
JM
6608 [BZ #14034]
6609 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6610 of square root.
6611 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6612 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6613 * math/libm-test.inc (acos_test_tonearest): New function.
6614 (acos_test_towardzero): Likewise.
6615 (acos_test_downward): Likewise.
6616 (acos_test_upward): Likewise.
6617 (asin_test_tonearest): Likewise.
6618 (asin_test_towardzero): Likewise.
6619 (asin_test_downward): Likewise.
6620 (asin_test_upward): Likewise.
6621 (main): Call the new functions.
6622 * sysdeps/i386/fpu/libm-test-ulps: Update.
6623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6624
9568c0c2
JM
6625 [BZ #13884]
6626 [BZ #13924]
6627 * math/e_exp10.c: Include <float.h>.
6628 (__ieee754_exp10): Handle underflow here rather than multiplying
6629 large negative argument by M_LN10.
6630 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6631 of __ieee754_expf.
6632 * math/e_exp10l.c: Include <float.h>.
6633 (__ieee754_exp10l): Handle underflow here rather than multiplying
6634 large negative argument by M_LN10l.
6635 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6636 spurious overflow exception on underflow.
6637
5ac3ea17
MP
66382012-04-29 Marek Polacek <polacek@redhat.com>
6639
6640 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6641 (__fortify_function): New macro.
6642 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6643 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6644 __extern_always_inline.
6645 * libio/bits/stdio2.h: Likewise.
6646 * libio/bits/stdio.h: Likewise.
6647 * string/string.h: Likewise.
6648 * string/bits/string3.h: Likewise.
6649 * include/stdio.h: Likewise.
6650 * stdlib/bits/stdlib.h: Likewise.
6651 * stdlib/stdlib.h: Likewise.
6652 * rt/bits/mqueue2.h: Likewise.
6653 * rt/mqueue.h: Likewise.
6654 * posix/bits/unistd.h: Likewise.
6655 * posix/unistd.h: Likewise.
6656 * io/bits/poll2.h: Likewise.
6657 * io/bits/fcntl2.h: Likewise.
6658 * io/fcntl.h: Likewise.
6659 * io/sys/poll.h: Likewise.
6660 * misc/bits/syslog.h: Likewise.
6661 * misc/bits/syslog-ldbl.h: Likewise.
6662 * misc/sys/syslog.h: Likewise.
6663 * socket/bits/socket2.h: Likewise.
6664 * socket/sys/socket.h: Likewise.
6665 * debug/tst-chk1.c: Likewise.
6666 * wcsmbs/bits/wchar2.h: Likewise.
6667 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6668 * wcsmbs/wchar.h: Likewise.
6669
ecf0ebfb
AJ
66702012-04-29 Andreas Jaeger <aj@suse.de>
6671
6672 * Makerules (tests): Remove enable-check-abi protection.
6673 (check-abi-warn): Remove.
6674 (check-abi-%): Remove check-abi-warn usage.
6675
6676 * configure.in: Remove check-abi configure option.
6677 * configure: Regenerated.
6678 * config.make.in (enable-check-abi): Remove.
6679
6d5c57fa
AS
66802012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6681
24c5d07e 6682 [BZ #14033]
ded5180a
AS
6683 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6684 double functions to double *_finite functions.
6685
7e0d315d
AS
6686 [BZ #13941]
6687 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6688 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6689 LDBL_MIN_EXP.
6690 * stdio-common/Makefile (tests): Add tst-sprintf3.
6691 * stdio-common/tst-sprintf3.c: New file.
6692
6d5c57fa
AS
6693 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6694 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6695
0749ff8b
JM
66962012-04-28 Joseph Myers <joseph@codesourcery.com>
6697
6698 * conform/conformtest.pl: Remove duplicate typed-constant
6699 handling.
6700
8dbd5d7b
DM
67012012-04-28 David S. Miller <davem@davemloft.net>
6702
6703 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6704 (check-abi-%): Remove AWK script prerequisite and explicit
6705 abilist directory.
6706 (check-abi): Rewrite to just diff the symlist with the abilist.
6707 (config-tls, config-abi-config): Delete, no longer used.
6708 (update-abi-%): Remove AWK script and explicit abilist directory.
6709 (update-abi): Rewrite to simply compare and conditionally copy the
6710 symlist and the sysdep abilist file. Remove update-abi-config
6711 checks.
6712 * abilist/ld.abilist: Remove.
6713 * abilist/libBrokenLocale.abilist: Remove.
6714 * abilist/libanl.abilist: Remove.
6715 * abilist/libcrypt.abilist: Remove.
6716 * abilist/libdl.abilist: Remove.
6717 * abilist/librt.abilist: Remove.
6718 * abilist/libthread_db.abilist: Remove.
6719 * abilist/libutil.abilist: Remove.
6720 * scripts/extract-abilist.awk: Remove.
6721 * scripts/merge-abilist.awk: Remove.
6722 * sysdeps/generic/libcidn.abilist: New file.
6723 * sysdeps/generic/libnss_compat.abilist: New file.
6724 * sysdeps/generic/libnss_db.abilist: New file.
6725 * sysdeps/generic/libnss_dns.abilist: New file.
6726 * sysdeps/generic/libnss_files.abilist: New file.
6727 * sysdeps/generic/libnss_hesiod.abilist: New file.
6728 * sysdeps/generic/libnss_nis.abilist: New file.
6729 * sysdeps/generic/libnss_nisplus.abilist: New file.
6730 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6731 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6732 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6733 file.
6734 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6735 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6736 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6737 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6738 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6739 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6740 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6741 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6742 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6743 file.
6744 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6745 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6746 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6747 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6748 file.
6749 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6750 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6751 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6752 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6753 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6754 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6755 file.
6756 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6757 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6758 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6759 file.
6760 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6761 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6762 New file.
6763 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6764 New file.
6765 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6766 New file.
6767 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6768 New file.
6769 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6770 New file.
6771 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6772 New file.
6773 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6774 New file.
6775 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6776 New file.
6777 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6778 New file.
6779 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6780 New file.
6781 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6782 New file.
6783 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6784 New file.
6785 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6786 New file.
6787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6788 file.
6789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6790 New file.
6791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6792 New file.
6793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6794 file.
6795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6796 New file.
6797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6798 New file.
6799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6800 file.
6801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6802 New file.
6803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6804 New file.
6805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6806 New file.
6807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6808 New file.
6809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6810 New file.
6811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6812 New file.
6813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6815 file.
6816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6817 New file.
6818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6819 file.
6820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6821 file.
6822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6823 file.
6824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6825 file.
6826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6827 file.
6828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6829 New file.
6830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6831 file.
6832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6833 file.
6834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6835 New file.
6836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6837 file.
6838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6840 file.
6841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6842 New file.
6843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6844 file.
6845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6846 file.
6847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6848 file.
6849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6850 file.
6851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6852 file.
6853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6854 New file.
6855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6856 file.
6857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6858 file.
6859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6860 New file.
6861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6862 file.
6863 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6864 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6865 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6866 file.
6867 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6868 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6869 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6870 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6871 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6872 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6873 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6874 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6875 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6876 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6879 file.
6880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6881 New file.
6882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6883 file.
6884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6885 file.
6886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6887 file.
6888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6889 file.
6890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6891 file.
6892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6893 New file.
6894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6895 New file.
6896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6897 file.
6898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6899 New file.
6900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6901 file.
6902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6904 file.
6905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6906 New file.
6907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6908 file.
6909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6910 file.
6911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6912 file.
6913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6914 file.
6915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6916 file.
6917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6918 New file.
6919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6920 New file.
6921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6922 file.
6923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6924 New file.
6925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6926 file.
6927
41d73a1b
JM
69282012-04-28 Joseph Myers <joseph@codesourcery.com>
6929
6930 * conform/conformtest.pl: Fix typo in handling typed-constant from
6931 allow-header.
6932
28aeeda4
JM
69332012-04-27 Joseph Myers <joseph@codesourcery.com>
6934
adae8f5e
JM
6935 * README: Cut down references to pre-2.6 Linux kernels and
6936 Linuxthreads. Update lists of configurations in libc and ports
6937 and sort alphabetically. Say "or newer" with Linux kernel version
6938 requirements.
6939
28aeeda4
JM
6940 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6941
a462cb63
RA
69422012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6943
6944 [BZ #887]
6945 * math/libm-test.inc (logb_test_downward): New test to expose
6946 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6947 rounding mode.
6948
6ad3493e
JM
69492012-04-27 Joseph Myers <joseph@codesourcery.com>
6950
6951 [BZ #14027]
6952 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6953 to be done.
6954 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6955 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6956
2ce4f015
JM
69572012-04-26 Joseph Myers <joseph@codesourcery.com>
6958
5aeb141a
JM
6959 * sysdeps/unix/i386/brk.S: Remove file.
6960 * sysdeps/unix/i386/dl-brk.S: Likewise.
6961 * sysdeps/unix/i386/pipe.S: Likewise.
6962 * sysdeps/unix/i386/sigreturn.S: Likewise.
6963 * sysdeps/unix/i386/syscall.S: Likewise.
6964 * sysdeps/unix/i386/vfork.S: Likewise.
6965 * sysdeps/unix/i386/wait.S: Likewise.
6966
7143acae
JM
6967 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6968 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6969
2ce4f015
JM
6970 * configure.in (arm*-none*): Do not allow without
6971 --enable-hacker-mode.
6972 (netbsd*): Remove case setting base_os.
6973 (386bsd*): Likewise.
6974 (freebsd*): Likewise.
6975 (bsdi*): Likewise.
6976 (osf*): Likewise.
6977 (sunos*): Likewise.
6978 (ultrix*): Likewise.
6979 (newsos*): Likewise.
6980 (dynix*): Likewise.
6981 (*bsd*): Likewise.
6982 (sysv*): Likewise.
6983 (isc*): Likewise.
6984 (esix*): Likewise.
6985 (sco*): Likewise.
6986 (minix*): Likewise.
6987 (irix4*): Likewise.
6988 (irix6*): Likewise.
6989 (solaris[2-9]*): Likewise.
6990 (none): Likewise.
6991 * configure: Regenerated.
6992
0ac229c8
AZ
69932012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6994
6995 [BZ #11521]
6996 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6997 overflow or cancellation in calculating denominator.
6998 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6999 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7000 down expression to avoid unexpected rounding in newer GCCs.
7001 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7002
33f244f4
DM
70032012-04-26 David S. Miller <davem@davemloft.net>
7004
7005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7006 long-double compat symbols.
7007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7020
cfa1f3e8
DM
70212012-04-25 David S. Miller <davem@davemloft.net>
7022
7023 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7024 HWCAP_* values only after the memory barriers have been defined.
7025 (atomic_full_barrier): Define.
7026 (atomic_read_barrier): Define.
7027 (atomic_write_barrier): Define.
7028
6e236b92
SP
70292012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7030
7031 * shlib-versions: Add libgcc_s version information.
7032 * sysdeps/generic/libgcc_s.h: Remove.
7033 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7034 libgcc_s.h.
7035 * sysdeps/gnu/unwind-resume.c: Likewise.
7036 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7037
aab39a09
DM
70382012-04-25 David S. Miller <davem@davemloft.net>
7039
7040 * sysdeps/unix/sparc/brk.S: Delete.
7041 * sysdeps/unix/sparc/dl-brk.S: Delete.
7042 * sysdeps/unix/sparc/pipe.S: Delete.
7043 * sysdeps/unix/sparc/sysdep.S: Delete.
7044 * sysdeps/unix/sparc/sysdep.h: Delete.
7045 * sysdeps/unix/sparc/vfork.S: Delete.
7046 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7047 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7048 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7049 ret_ERRVAL, r0, r1, MOVE): Define.
7050 (JUMPTARGET): Remove.
7051 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7052 sysdeps/unix/sparc/sysdep.h
7053 (ENTRY, END): Remove.
7054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7055
a3cc4f48
JM
70562012-04-25 Joseph Myers <joseph@codesourcery.com>
7057
2ed8cda2
JM
7058 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7059 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7060 -DIS_IN_build.
7061
35d76d59
JM
7062 * timezone/README: Update upstream location and email address for
7063 tzcode and tzdata.
7064 * timezone/zdump.c: Update from tzcode 2012b.
7065 * timezone/zic.c: Likewise.
7066
a3cc4f48
JM
7067 * configure.in (libc_cv_as_needed): Remove test.
7068 * configure: Regenerated.
7069 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7070 conditional definition.
7071 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7072 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7073 * config.make.in (have-as-needed): Remove variable.
7074
ceab42c3
SP
70752012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7076 Paul Pluzhnikov <ppluzhnikov@google.com>
7077
7078 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7079 strings correctly.
7080
3ce2865f
CLT
70812012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7082
7083 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7084 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7085 * sysdeps/sh/strlen.S: Likewise.
7086
f37e0d68
JM
70872012-04-24 Joseph Myers <joseph@codesourcery.com>
7088
ae186e9a
JM
7089 * sysdeps/unix/fork.S: Remove file.
7090 * sysdeps/unix/i386/fork.S: Likewise.
7091 * sysdeps/unix/sparc/fork.S: Likewise.
7092
b96914af
JM
7093 * sysdeps/unix/system.c: Remove file.
7094 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7095
f37e0d68
JM
7096 * sysdeps/unix/getegid.S: Remove file.
7097 * sysdeps/unix/geteuid.S: Likewise.
7098
87ef29ca
RM
70992012-04-24 Roland McGrath <roland@hack.frob.com>
7100
83bcd236
RM
7101 * scripts/check-localplt.awk: New file.
7102 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7103 of diff.
7104 * scripts/data/localplt-generic.data: Add a comment.
7105
87ef29ca
RM
7106 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7107 NODE when __dir_mkfile failed.
7108 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7109 Reported by Ludovic Courtès <ludo@gnu.org>.
7110
e5a6e567
AJ
71112012-04-24 Andreas Jaeger <aj@suse.de>
7112
7113 * Makerules (common-clean): Also remove gen-as-const-headers
7114 files.
7115
c1820385
JM
71162012-04-24 Joseph Myers <joseph@codesourcery.com>
7117
7118 * Makerules (native-compile): Do not change working directory for
7119 build. Use $(OUTPUT_OPTION) in command.
7120 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7121
94e02fc4
AZ
71222012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7123
7124 [BZ #13886]
7125 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7126 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7127 * math/libm-test.inc (floor_test): Add more tests.
7128 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7129
3a533ca3
JM
71302012-04-24 Joseph Myers <joseph@codesourcery.com>
7131
940ab4b3
JM
7132 * sysdeps/unix/getdents.c: Remove file.
7133 * sysdeps/unix/sysv/getdents.c: Likewise.
7134 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7135
90e037bd
JM
7136 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7137 sysdeps/unix/mman/syscalls.list.
7138 (mmap): Likewise.
7139 (mprotect): Likewise.
7140 (msync): Likewise.
7141 (munmap): Likewise.
7142 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7143 * sysdeps/unix/mman/syscalls.list: Remove.
7144 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7145
3a533ca3
JM
7146 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7147 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7148 * configure: Regenerated.
7149 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7150 $(libgcc_s_suffix).
7151 * config.make.in (libgcc_s_suffix): Remove variable.
7152
1ad743de
JM
71532012-04-23 Joseph Myers <joseph@codesourcery.com>
7154
4ad451e2
JM
7155 * sysdeps/unix/sysv/gethostname.c: Move to ...
7156 * sysdeps/posix/gethostname.c: ... here.
7157
5e37ce39
JM
7158 * sysdeps/unix/execve.S: Remove file.
7159
1ad743de
JM
7160 * sysdeps/unix/_exit.S: Remove file.
7161
4e681b5b
AJ
71622012-04-23 Andreas Jaeger <aj@suse.de>
7163
7164 [BZ #13739]
7165 * manual/Makefile: Remove make dist support, there's no
7166 need for a stand-alone documentation tar ball.
7167 (TEXI2DVI): Define always, it's not in Makeconfig.
7168 (dist): Removed.
7169 (tar-it): Removed.
7170 (edition): Removed.
7171 (glibc-doc-$(edition).tar): Removed
7172 (%.Z): Removed.
7173 (%.gz): Removed.
7174 (%.uu): Removed.
7175 (ETAGS): Remove, it's in Makeconfig.
7176 (move-if-change): Remove, it's in Makeconfig.
7177
c0baea34
PE
71782013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7179
7180 [BZ #13970]
7181 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7182 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7183 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7184 (strtod_l, strtof_l, strtold_l): Remove __wur.
7185 It is not necessarily an error to ignore strtol's return value.
7186 One can reliably look at the stored endptr to decide whether
7187 the number had valid syntax.
7188
7c0616fa
AJ
71892012-04-21 Andreas Jaeger <aj@suse.de>
7190
803cb6b7 7191 [BZ #13739]
7c0616fa
AJ
7192 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7193
b0fe253f
JM
71942012-04-21 Joseph Myers <joseph@codesourcery.com>
7195
7196 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7197 * sysdeps/unix/sysv/Versions: Remove file.
7198
8280f22d
MT
71992012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7200
7201 [BZ #13927]
7202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7203
75ce411f 72042012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7205
7206 [BZ #7064]
7207 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7208 version from __vm86.
7209
097d59fa
JM
72102012-04-20 Joseph Myers <joseph@codesourcery.com>
7211
a90f3bcb
JM
7212 * sysdeps/unix/common/lxstat.c: Remove file.
7213 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7214
edc7ea78
JM
7215 * sysdeps/unix/sysv/Makefile: Remove file.
7216
cb78c221
JM
7217 * sysdeps/unix/sysv/direct.h: Remove file.
7218
efa6a45f
JM
7219 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7220 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7221 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7222 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7223 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7224 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7225 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7226
9c9f2d0c
JM
7227 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7228
4541c83b
JM
7229 * sysdeps/unix/xmknod.c: Remove file.
7230 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7231
f5d153a0
JM
7232 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7233
aa746595
JM
7234 * sysdeps/unix/sysv/i386/time.S: Remove file.
7235
cce5905e
JM
7236 * sysdeps/unix/fxstat.c: Remove file.
7237 * sysdeps/unix/xstat.c: Likewise.
7238 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7239
37fa3841
JM
7240 * sysdeps/unix/sysv/sigaction.c: Remove file.
7241
ff1962a3
JM
7242 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7243 (sysdep_headers): Remove variable.
7244 [termio.h not in sysdep_headers] (generated): Likewise.
7245 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7246 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7247 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7248 * sysdeps/unix/sysv/tcflow.c: Likewise.
7249 * sysdeps/unix/sysv/tcflush.c: Likewise.
7250 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7251 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7252 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7253 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7254 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7255
e7740d31
JM
7256 * sysdeps/unix/siglist.c: Remove file.
7257
ee06f18b
JM
7258 * sysdeps/unix/getppid.S: Remove file.
7259
097d59fa
JM
7260 * sysdeps/unix/mkdir.c: Remove file.
7261 * sysdeps/unix/rmdir.c: Likewise.
7262
ff3d51ec
AS
72632012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7264
7265 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7266 ERR_MAX value.
7267 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7268 errlist-compat value.
7269
50f81fd7
DM
72702012-04-18 David S. Miller <davem@davemloft.net>
7271
7272 * sysdeps/generic/memcopy.h (reg_char): Delete.
7273 * debug/strcat_chk.c: Use char, not reg_char.
7274 * debug/strcpy_chk.c: Likewise.
7275 * debug/strncat_chk.c: Likewise.
7276 * debug/strncpy_chk.c: Likewise.
7277 * string/memchr.c: Likewise.
7278 * string/memrchr.c: Likewise.
7279 * string/rawmemchr.c: Likewise.
7280 * string/strcat.c: Likewise.
7281 * string/strchr.c: Likewise.
7282 * string/strchrnul.c: Likewise.
7283 * string/strcmp.c: Likewise.
7284 * string/strcpy.c: Likewise.
7285 * string/strncat.c: Likewise.
7286 * string/strncmp.c: Likewise.
7287 * string/strncpy.c: Likewise.
7288
8ff41c46
WS
72892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7290
7291 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7292 __builtin_memcopy is called when src and dest ranges are known to not
7293 overlap.
7294
6b652f46
WS
72952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7296
7297 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7298 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7299 fwd_align_merge macro call.
7300 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7301 bwd_align_merge macro call.
7302 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7303
b282631e
WS
73042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7305
7306 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7307 bwd_align_merge macros.
7308 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7309 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7310 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7311
95aa737c
DM
73122012-04-18 David S. Miller <davem@davemloft.net>
7313
7314 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7315
7a99a614
AJ
73162012-04-18 Andreas Jaeger <aj@suse.de>
7317
7318 [BZ# 6794]
7319 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7320 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7321 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7322
7323 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7324 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7325 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7326
7327 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7328 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7329 Adjust for changed ldbl-128 files.
7330
7331 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7332 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7333 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7334
e5270c23
DM
73352012-04-17 David S. Miller <davem@davemloft.net>
7336
7337 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7338
fb5e92c9
AS
73392012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7340
7341 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7342 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7343 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7344 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7345 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7346 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7347
76da7265
AZ
73482012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7349
7350 [BZ #6794]
7351 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7352 * math/libm-test.inc: Add ilogb errno and exception tests.
7353 * math/w_ilogb.c: New file: ilogb wrapper.
7354 * math/w_ilogbf.c: New file: ilogbf wrapper.
7355 * math/w_ilogbl.c: New file: ilogbl wrapper.
7356 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7357 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7358 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7359 exception being thrown with 0.0 as argument.
7360 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7361 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7362 exception being thrown with 0.0 as argument.
7363 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7364 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7365 exception being thrown with 0.0 as argument.
7366 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7367 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7368 exception being thrown with 0.0 as argument.
7369 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7370 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7371 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7372 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7373 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7374 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7375 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7376 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7377 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7378
0396e69d
PB
73792012-04-17 Petr Baudis <pasky@ucw.cz>
7380
7381 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7382 with altivec.
7383
750b5926
MP
73842012-04-16 Marek Polacek <polacek@redhat.com>
7385
7386 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7387
751728a1
MP
73882012-04-16 Marek Polacek <polacek@redhat.com>
7389
7390 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7391 operands of fdivp instruction.
7392
34a27407
L
73932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7394
7395 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7396 * elf/tst-auditmod3b.c: Likewise.
7397 * elf/tst-auditmod4b.c: Likewise.
7398 * elf/tst-auditmod5b.c: Likewise.
7399 * elf/tst-auditmod6b.c: Likewise.
7400 * elf/tst-auditmod6c.c: Likewise.
7401 * elf/tst-auditmod7b.c: Likewise.
7402 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7403 * sysdeps/x86_64/preconfigure.in: Likewise.
7404 * sysdeps/x86_64/preconfigure: Regenerated.
7405
7e73e17d
L
74062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7407
7408 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7409 __ILP32__.
7410
c7a6ab72
AB
74112012-04-13 Antoine Balestrat <merkil33@gmail.com>
7412
7413 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7414 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7415
a9e8e0e0
CL
74162012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7417
7418 [BZ #13973]
7419 * locale/iso-639.def: Fix gl language name. Spotted by
7420 Yaron Shahrabani.
7421
ec98af7d
RM
74222012-04-12 Roland McGrath <roland@hack.frob.com>
7423
7424 [BZ #2074]
7425 * libio/libio.h (__io_write_fn): Update comment.
7426
247c3ede
PB
74272012-04-12 Petr Baudis <pasky@ucw.cz>
7428
7429 [BZ #2074]
7430 * stdio.texi (Hook Functions): The user provided writer function
7431 is not allowed to return -1.
7432
55939d6d
DM
74332012-04-11 David S. Miller <davem@davemloft.net>
7434
7435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7436
90020f5a
MF
74372012-04-11 Mike Frysinger <vapier@gentoo.org>
7438
7439 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7440 Add a leading slash to rtkaio.
7441
288f9098
JM
74422012-04-11 Jim Meyering <meyering@redhat.com>
7443
90020f5a
MF
7444 [BZ #11959]
7445 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7446 It is not necessarily an error to ignore fwrite's return
7447 value. One can reliably use ferror to test for errors after
7448 the fact.
288f9098 7449
4be2b570
L
74502012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7451
7452 * bits/types.h (__snseconds_t): New type.
7453 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7454
7455 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7456 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7457 (__SNSECONDS_T_TYPE): Likewise.
7458 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7459 (__SNSECONDS_T_TYPE): Likewise.
7460 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7461 (__SNSECONDS_T_TYPE): Likewise.
7462
288f9098 74632012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7464
7465 [BZ #2636]
7466 * manual/time.texi (Processor Time): Return type of times is
7467 elapsed real time since an arbitrary point in the past.
7468 (CPU Time): Move CLK_TCK from here...
7469 (Processor Time): ...to here. Correct description.
7470 * manual/conf.texi (Constants for Sysconf): Correct description of
7471 _SC_CLK_TCK.
7472
d7dd4413
DM
74732012-04-10 David S. Miller <davem@davemloft.net>
7474
7475 [BZ #13967]
7476 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7477 where the is a gap between DT_REL(A) and DT_JMPREL.
7478
b46068fc
L
74792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7480
7481 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7482 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7483 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7484
73d65cc3
SP
74852012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7486
7487 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7488 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7489 (dl_main): Handle --inhibit-cache.
7490 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7491 _dl_inhibit_cache.
7492 * elf/dl-load.c (_dl_map_object): Use it.
7493 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7494
bcc8d661
JM
74952012-04-09 Joseph Myers <joseph@codesourcery.com>
7496
8f9a2fae
JM
7497 [BZ #13872]
7498 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7499 (__ieee754_powl): Saturate large exponents rather than testing for
7500 overflow of y*log2(x).
7501 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7502 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7503 exceptions.
7504
bcc8d661
JM
7505 [BZ #11521]
7506 * math/s_ctan.c: Include <float.h>.
7507 (__ctan): Avoid internal overflow or cancellation in calculating
7508 denominator.
7509 * math/s_ctanf.c: Likewise.
7510 * math/s_ctanl.c: Likewise.
7511 * math/s_ctanh.c: Likewise.
7512 * math/s_ctanhf.c: Likewise.
7513 * math/s_ctanhl.c: Likewise.
7514 * math/libm-test.inc (ctan_test): Add more tests.
7515 (ctanh_test): Likewise.
7516 * sysdeps/i386/fpu/libm-test-ulps: Update.
7517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7518
823fbbb4
AJ
75192012-04-09 Andreas Jaeger <aj@suse.de>
7520
03879793
AJ
7521 [BZ #6894]
7522 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7523 is an optional BSD extension.
7524
823fbbb4
AJ
7525 [BZ #10254]
7526 * manual/stdio.texi (Opening Streams): Document additional fopen
7527 parameters.
7528
8de131cb
RM
75292012-04-09 Roland McGrath <roland@hack.frob.com>
7530
7531 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7532 %eax without telling the compiler.
7533
c0ed9d7d
CD
75342012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7535
7536 [BZ # 13963]
7537 * manual/install.texi: Use sourceware.org.
7538
c483f6b4
JM
75392012-04-09 Joseph Myers <joseph@codesourcery.com>
7540
d7dd9453
JM
7541 [BZ #13873]
7542 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7543 (__ieee754_pow): Generate overflow and underflow using huge*huge
7544 and tiny*tiny rather than just returning constant infinity or zero
7545 for large exponents.
7546 * math/libm-test.inc (pow_test): Require overflow exceptions for
7547 applicable cases of large exponents.
7548
c483f6b4
JM
7549 [BZ #706]
7550 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7551 (__ieee754_pow): Use iterative multiplication algorithm only for
7552 integer exponents with absolute value below 1024. Check for odd
7553 integer exponents when using algorithm for real exponents.
7554 * math/libm-test.inc (pow_test): Add more tests.
7555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7556
d2de7579
JM
75572012-04-08 Joseph Myers <joseph@codesourcery.com>
7558
7559 [BZ #13705]
7560 * math/libm-test.inc (exp_test): Do not allow overflow exception
7561 on underflow test.
7562
f77f1232
AJ
75632012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7564
7565 [BZ #13705]
7566 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7567 instead of __kernel_standard_f.
7568
3884932b
MF
75692012-04-08 Mike Frysinger <vapier@gentoo.org>
7570
7571 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7572 * sysdeps/x86_64/memset_chk.S: Likewise.
7573
54472e9c
AJ
75742012-04-08 Andreas Jaeger <aj@suse.de>
7575
6ab0fbfc
AJ
7576 [BZ #10153]
7577 * manual/startup.texi (Environment Access): Describe return value
7578 for putenv and setenv.
7579
61efba8c
AJ
7580 [BZ #6895]
7581 * manual/filesys.texi (Directory Entries): Add description for
7582 DT_LNK.
7583
95c3f29a
AJ
7584 [BZ #6890]
7585 * manual/filesys.texi (Directory Entries): Clarify that it's file
7586 system not operating system in the description of DT_UNKNOWN.
7587
54472e9c
AJ
7588 [BZ #6578]
7589 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7590
624254b1
SC
75912012-04-08 Stephen Compall <s11@member.fsf.org>
7592
7593 [BZ #6649]
7594 * manual/llio.texi (Opening and Closing Files): Add cross
7595 reference to explain mode argument.
7596
1e4920e0
MF
75972012-04-07 Mike Frysinger <vapier@gentoo.org>
7598
7599 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7600 * sysdeps/x86_64/memset_chk.S: Likewise.
7601
5ed848f3
DM
76022012-04-07 David S. Miller <davem@davemloft.net>
7603
7604 * elf/elf.h (R_SPARC_WDISP10): Define.
7605 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7606 R_SPARC_SIZE32.
7607 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7608 R_SPARC_SIZE64 and R_SPARC_H34.
7609
96154cd8
CD
76102012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7611
7612 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7613 conditions and remove no longer applicable assertion.
7614
9904dc47
L
76152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7616
7617 * bits/byteswap.h: Include <features.h>.
7618 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7619 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7620
f8887d0a
L
76212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7622
7623 * bits/byteswap.h (__bswap_16): Removed.
7624 Include <bits/byteswap-16.h> to get __bswap_16.
7625 * sysdeps/i386/bits/byteswap.h: Likewise.
7626 * sysdeps/s390/bits/byteswap.h: Likewise.
7627 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7628 * bits/byteswap-16.h: New file.
7629 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7630 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7631 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7632 * string/Makefile (headers): Add bits/byteswap-16.h.
7633
62470f60
PP
76342012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7635
7636 [BZ #13895]
7637 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7638 extra indirection.
7639 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7640 * nss/tst-nss-static.c: New.
7641
4dad7bab
RM
76422012-04-06 Robert Millan <rmh@gnu.org>
7643
7644 [BZ #6486]
7645 * manual/llio.texi (File Position Primitive): lseek
7646 refers to WHENCE when it really means OFFSET.
7647
e9142a17
AJ
76482012-04-06 Andreas Jaeger <aj@suse.de>
7649
2c040eff
AJ
7650 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7651 strncmp declarations.
7652
e9142a17
AJ
7653 * abilist/libc.abilist: Add __poll and __ppoll.
7654
ff9f1c5f
DM
76552012-04-05 David S. Miller <davem@davemloft.net>
7656
dcd2ae90
DM
7657 * scripts/check-local-headers.sh: Accept a host triplet in the
7658 path matched by the exclude regexp.
7659
993eb054
DM
7660 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7661 definition.
7662 * sysdeps/powerpc/powerpc32/dl-machine.h
7663 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7664 * sysdeps/s390/s390-32/dl-machine.h
7665 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7666 * sysdeps/sparc/sparc32/dl-machine.h
7667 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7668 * sysdeps/sparc/sparc64/dl-machine.h
7669 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7670
ff9f1c5f
DM
7671 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7672 lazy binding.
48e2e132 7673 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7674 undefined symbol errors.
7675
48e2e132 7676 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7677 DT_NEEDED entries.
7678
e80d6f94
MM
76792012-04-05 Michael Matz <matz@suse.de>
7680
7681 [BZ #13592]
7682 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7683
349fa79f
AJ
76842012-04-05 Andreas Jaeger <aj@suse.de>
7685
7686 [BZ #13908]
7687 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7688 comment.
7689
f402708f
KK
76902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7691
7692 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7693 which ROUND is no valid rounding mode.
7694
2ecccfc9
KK
76952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7696
7697 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7698 read again.
7699 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7700
8a53f50f
KK
77012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7702
7703 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7704 an exception using FPU order intentionally.
7705
77062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7707
7708 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7709 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7710 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7711 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7712
d653abb7
SJ
77132012-04-05 Simon Josefsson <simon@josefsson.org>
7714
7715 [BZ #12340]
7716 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7717 EINVAL when BUFLEN is too smal.
7718
c3b1bf7d
TS
77192012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7720
7721 [BZ #13553]
7722 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7723 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7724
b1aa60f3
AJ
77252012-04-03 Andreas Jaeger <aj@suse.de>
7726
c3b1bf7d 7727 [BZ #13938]
67f60a26
AJ
7728 * manual/setjmp.texi (System V contexts): Fix sentence.
7729
b1aa60f3
AJ
7730 [BZ #13926]
7731 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7732 New macro for this case.
7733 [!__GNUC__] (__bswap_64): New inline function for this case.
7734 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7735 * bits/byteswap.h: Likewise.
7736 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7737 ull, guard with __GLIBC_HAVE_LONG_LONG.
7738
7739 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7740 __GLIBC_HAVE_LONG_LONG.
7741
7742 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7743 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7744
39c59c35
TMQMF
77452012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7746
7747 [BZ #13691]
7748 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7749 inptr and inend, rather than using last_ch.
7750
135ffda8
DM
77512012-04-02 David S. Miller <davem@davemloft.net>
7752
7753 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7754 * stdio-common/printf-parse.h (read_int): Change return type to
7755 'int', return -1 on INT_MAX overflow.
7756 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7757 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7758 overflows INT_MAX. Check for overflow of in-format-string precision
7759 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7760 SIZE_MAX not INT_MAX for integer overflow test.
7761 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7762 skip the construct in the format string but do not record anything.
7763 * stdio-common/bug22.c: Adjust to test both width/prevision
7764 INT_MAX overflow as well as total length INT_MAX overflow. Check
7765 explicitly for proper errno values.
7766
228c019e
TS
77672012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7768
302cadd3
TS
7769 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7770 CHAR_MAX.
7771 * string/test-strcmp.c [! WIDE]: Likewise.
7772 * time/tst-mktime2.c: Likewise for INT_MAX.
7773 * string/test-string.h: #include <sys/param.h> for MIN.
7774
228c019e
TS
7775 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7776 * sysdeps/i386/init-first.c (init): Likewise.
7777 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7778 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7779 * sysdeps/sh/init-first.c (init): Likewise.
7780
cfa633f5
UD
77812012-04-01 Ulrich Drepper <drepper@gmail.com>
7782
7783 * po/ru.po: Update from translation team.
d1635ef8 7784 * po/vi.po: Likewise.
cfa633f5 7785
6cd0a5ea
SP
77862012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7787
7788 * resolv/nss_dns/dns-host.c: Merge copyright years.
7789
4b43400f
LD
77902012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7791
7792 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7793 Optimize memcpy with prefetch if
7794 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7795 src, dst pointers have unequal 16 byte alignments.
7796
48c41d04
SP
77972012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7798
7799 [BZ #13928]
7800 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7801 from a CNAME entry and return the minimum ttl for the query.
7802 (gaih_getanswer_slice): Likewise.
7803
b8dc394d
JL
78042012-03-30 Jeff Law <law@redhat.com>
7805
7806 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7807 due to long keys.
7808 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7809 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7810
2f5a5ed0
JL
7811 * resolv/nss_dns/dns-host.c: Update copyright year.
7812
1d39e359
UD
78132012-03-30 Ulrich Drepper <drepper@gmail.com>
7814
c030f70c 7815 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7816 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7817
1d39e359
UD
7818 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7819 comments for sendmmsg.
7820
78212012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7822
7823 [BZ #13691]
7824 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7825 with only 1 character between 0x0041 and 0x01b0.
7826 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7827 * wcsmbs/tst-mbsnrtowcs.c: New file.
7828
20fde227
DM
78292012-03-29 David S. Miller <davem@davemloft.net>
7830
7831 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7832 small copies by hand.
7833
984a4237
JL
78342012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7835
7836 [BZ #13761]
7837 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7838 _nss_compat_initgroups_dyn): Fall back to malloc/free
7839 for large group memberships.
7840
18c9d62b
DM
78412012-03-28 David S. Miller <davem@davemloft.net>
7842
88d85d4f
DM
7843 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7844 that branches into memcpy.
7845 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7846 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7847 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7848 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7849 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7850 bits.
7851 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7852 implementation too.
7853 * sysdeps/sparc/mempcpy.S: New file.
7854
e5aa83e1
DM
7855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7856 the IFUNC routine in the libc case.
7857 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7858
88570753
DM
7859 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7860 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7861 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7862 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7863 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7864 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7865 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7866 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7867
249d7567
DM
7868 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7869 loop to 256 bytes instead of 64 bytes and fix test signedness.
7870
18c9d62b
DM
7871 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7872 * sysdeps/sparc/sparc32/Makefile: rather than here...
7873 * sysdeps/sparc/sparc64/Makefile: and here.
7874
05f3d1f6
UD
78752012-03-28 Ulrich Drepper <drepper@gmail.com>
7876
7877 * malloc/mallocbug.c: Avoid warnings about unused variables.
7878
86ae07a8
JL
78792012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7880
7881 [BZ #13760]
7882 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7883 in the right place. Discard and retry query if response is
7884 larger than input buffer size.
7885
41bf21a1
JM
78862012-03-28 Joseph Myers <joseph@codesourcery.com>
7887
d6270972
JM
7888 [BZ #369]
7889 [BZ #2678]
7890 [BZ #3866]
7891 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7892 x for large integer exponent.
7893 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7894 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7895 sign of result as needed afterwards.
7896 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7897 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7898 result for underflowing pow the same as for overflow.
7899 (__kernel_standard_l): Handle powl overflow and underflow here
7900 rather than calling __kernel_standard.
7901 * math/libm-test.inc (pow_test): Add more tests.
7902
414fca03 7903 [BZ #3868]
41bf21a1
JM
7904 [BZ #13879]
7905 [BZ #13910]
7906 [BZ #13911]
7907 [BZ #13912]
7908 [BZ #13913]
7909 [BZ #13915]
7910 [BZ #13916]
7911 [BZ #13917]
7912 [BZ #13918]
7913 [BZ #13919]
7914 [BZ #13920]
7915 [BZ #13921]
7916 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7917 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7918 (__kernel_standard_l): New function.
7919 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7920 __kernel_standard.
7921 * math/w_acosl.c (__acosl): Likewise.
7922 * math/w_asinl.c (__asinl): Likewise.
7923 * math/w_atan2l.c (__atan2l): Likewise.
7924 * math/w_atanhl.c (__atanhl): Likewise.
7925 * math/w_coshl.c (__coshl): Likewise.
7926 * math/w_exp10l.c (__exp10l): Likewise.
7927 * math/w_exp2l.c (__exp2l): Likewise.
7928 * math/w_fmodl.c (__fmodl): Likewise.
7929 * math/w_hypotl.c (__hypotl): Likewise.
7930 * math/w_j0l.c (__j0l, __y0l): Likewise.
7931 * math/w_j1l.c (__j1l, __y1l): Likewise.
7932 * math/w_jnl.c (__jnl, __ynl): Likewise.
7933 * math/w_lgammal.c (__lgammal): Likewise.
7934 * math/w_log10l.c (__log10l): Likewise.
7935 * math/w_log2l.c (__log2l): Likewise.
7936 * math/w_logl.c (__logl): Likewise.
7937 * math/w_powl.c (__powl): Likewise.
7938 * math/w_remainderl.c (__remainderl): Likewise.
7939 * math/w_scalbl.c (sysv_scalbl): Likewise.
7940 * math/w_sinhl.c (__sinhl): Likewise.
7941 * math/w_sqrtl.c (__sqrtl): Likewise.
7942 * math/w_tgammal.c (__tgammal): Likewise.
7943 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7944 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7945 * math/libm-test.inc (acos_test): Add more tests.
7946 (acosh_test): Likewise.
7947 (asin_test): Likewise.
7948 (atanh_test): Likewise.
7949 (exp_test): Likewise.
7950 (exp10_test): Likewise.
7951 (exp2_test): Likewise.
7952 (expm1_test): Likewise.
7953 (lgamma_test): Likewise.
7954 (log_test): Likewise.
7955 (log10_test): Likewise.
7956 (log1p_test): Likewise.
7957 (log2_test): Likewise.
7958 (pow_test): Do not allow some spurious overflow exceptions.
7959 (sqrt_test): Add more tests.
7960 (tgamma_test): Likewise.
7961 (y0_test): Likewise.
7962 (y1_test): Likewise.
7963 (yn_test): Likewise.
7964
dd62fda6
AB
79652012-03-27 Anton Blanchard <anton@samba.org>
7966
7967 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7968 MAP_HUGETLB.
7969 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7970 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7971 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7972
1e3cdfda
AJ
79732012-03-27 David S. Miller <davem@davemloft.net>
7974
b855ab85
DM
7975 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7976
1e3cdfda
AJ
7977 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7978 have-as-vis3 check.
7979
79802012-03-27 Andreas Jaeger <aj@suse.de>
7981
7982 * sysdeps/x86_64/elf/configure.in: Moved to ...
7983 * sysdeps/x86_64/configure.in: ... here.
7984 * sysdeps/x86_64/elf/start.S: Moved to ...
7985 * sysdeps/x86_64/start.S: ... here.
7986 * sysdeps/x86_64/elf/configure: Delete.
7987
7988 * sysdeps/x86_64/configure.in: Merge contents from
7989 sysdeps/i386/configure.in (without i686 check).
7990
7991 * sysdeps/i386/elf/Versions: Merge into ...
7992 * sysdeps/i386/Versions: ... this.
7993 * sysdeps/i386/elf/Versions: Delete file.
7994 * sysdeps/i386/elf/start.S: Moved to ...
7995 * sysdeps/i386/start.S: ...here.
7996 * sysdeps/i386/elf/configure.in: Merge into...
7997 * sysdeps/i386/configure.in: ...here.
7998 * sysdeps/i386/elf/configure.in: Delete file.
7999 * sysdeps/i386/elf/configure: Delete file.
8000
8001 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8002 * debug/backtracesyms.c: ... here.
8003 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8004 * debug/backtracesymsfd.c: ... here.
8005 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8006 * sysdeps/generic/ifunc-sel.h: ... here.
8007
8008 * sysdeps/unix/i386/start.c: Delete file.
8009 * sysdeps/unix/sparc/start.c: Delete file.
8010 * sysdeps/unix/start.c: Delete file.
8011
8012 * sysdeps/sh/elf/configure.in: Moved to ...
8013 * sysdeps/sh/configure.in: ... here.
8014 * sysdeps/sh/elf/start.S: Moved to ...
8015 * sysdeps/sh/start.S: ... here.
8016 * sysdeps/sh/elf/configure: Delete file.
8017
8018 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8019 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8020 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8021 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8022 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8023 * sysdeps/powerpc/powerpc64/start.S: here.
8024 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8025 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8026 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8027 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8028 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8029
8030 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8031 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8032 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8033 * sysdeps/powerpc/powerpc32/start.S: ... here.
8034 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8035 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8036 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8037
8038 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8039 * sysdeps/powerpc/ifunc-sel.h: ... here.
8040 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8041 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8042
8043 * sysdeps/sparc/elf/configure.in: Moved to ...
8044 * sysdeps/sparc/configure.in: ... here.
8045 * sysdeps/sparc/elf/configure: Delete file.
8046 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8047 * sysdeps/sparc/sparc32/start.S: ... here.
8048 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8049 * sysdeps/sparc/sparc64/start.S: ... here.
8050 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8051 * sysdeps/sparc/sparc32/Makefile: ... this.
8052 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8053 * sysdeps/sparc/sparc64/Makefile: ... this.
8054
8055 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8056 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8057 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8058 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8059 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8060 * sysdeps/s390/s390-32/setjmp.S: ... here.
8061 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8062 * sysdeps/s390/s390-32/configure.in: ... here.
8063 * sysdeps/s390/s390-32/elf/configure: Delete file.
8064 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8065 * sysdeps/s390/s390-32/start.S: ... here.
8066
8067 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8068 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8069 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8070 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8071 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8072 * sysdeps/s390/s390-64/setjmp.S: ... here.
8073 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8074 * sysdeps/s390/s390-64/configure.in: ... here
8075 * sysdeps/s390/s390-64/elf/configure: Delete file.
8076 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8077 * sysdeps/s390/s390-64/start.S: ... here.
8078 * sysdeps/s390/s390-64/elf/configure: Delete.
8079
8080 * configure.in: Remove support for elf directories in sysdeps.
8081
8082 * configure: Regenerated.
8083 * sysdeps/i386/configure: Regenerated.
8084 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8085 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8086 * sysdeps/s390/s390-32/configure: Regenerated.
8087 * sysdeps/s390/s390-64/configure: Regenerated.
8088 * sysdeps/sh/configure: Regenerated.
8089 * sysdeps/sparc/configure: Regenerated.
8090 * sysdeps/x86_64/configure: Regenerated.
8091
a3f61311
AS
80922012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8093
c876e002
AS
8094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8095
a3f61311
AS
8096 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8097 denormal result into account.
8098
ac4c54f0
RM
80992012-03-25 Roland McGrath <roland@hack.frob.com>
8100
8101 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8102 Reported by Allan McRae <allan@archlinux.org>.
8103
6a9b9c02
JL
81042012-03-23 Jeff Law <law@redhat.com>
8105
8106 * nss/getnssent.c (__nss_getent): Fix typo.
8107
4c42a0c1
DM
81082012-03-23 David S. Miller <davem@davemloft.net>
8109
8110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8111
1532c7ac
L
81122012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8113
8114 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8115 to pad to uint64_t for each field.
8116 (dl_tls_index): Replace unsigned long with uint64_t.
8117
3ff42526
PP
81182012-03-23 Daniel Jacobowitz <dmj@google.com>
8119 Paul Pluzhnikov <ppluzhnikov@google.com>
8120
8121 [BZ #6528]
8122 * grp/Makefile (otherlibs): Don't set it.
8123 * inet/Makefile (otherlibs): Likewise.
8124 * login/Makefile (otherlibs): Likewise.
8125 * nscd/Makefile (otherlibs): Likewise.
8126 * posix/Makefile (otherlibs): Likewise.
8127 * pwd/Makefile (otherlibs): Likewise.
8128 * rt/Makefile (otherlibs): Likewise.
8129 * sunrpc/Makefile (otherlibs): Likewise.
8130 * nss/Makefile (otherlibs): Likewise.
8131 Add libnss_files to routines and static-only-routines.
8132 ($(objpfx)getent): Remove rule.
8133 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8134 static-only-routines.
8135
7c69cd14
JM
81362012-03-22 Joseph Myers <joseph@codesourcery.com>
8137
8138 [BZ #13892]
8139 * math/s_cexp.c: Include <float.h>.
8140 (__cexp): Handle exp result overflowing not necessarily
8141 overflowing both real and imaginary parts of result.
8142 * math/s_cexpf.c: Likewise.
8143 * math/s_cexpl.c: Likewise.
8144 * math/libm-test.inc (cexp_test): Add more tests.
8145 * sysdeps/i386/fpu/libm-test-ulps: Update.
8146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8147
81b035fe
L
81482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8149
8150 * include/link.h (ELFW): New macro.
8151 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8152 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8153
1da7940c
L
81542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8155
8156 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8157 with uint64_t.
8158
b749dbb9
L
81592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8160
8161 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8162 declaration.
8163 (struct La_x32_retval): Likewise.
8164
2ff87f3f
L
81652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8166
8167 * sysdeps/x86_64/preconfigure.in: New file.
8168 * sysdeps/x86_64/preconfigure: New generated file.
8169
c0df8e69
JM
81702012-03-22 Joseph Myers <joseph@codesourcery.com>
8171
48e44791
JM
8172 [BZ #13824]
8173 * math/e_exp2l.c: Include <float.h>.
8174 (__ieee754_exp2l): Handle overflow and underflow cases
8175 separately. Only pass fractional part of argument to
8176 __ieee754_expl.
8177 * math/libm-test.inc (exp2_test): Add more tests.
8178
c0df8e69
JM
8179 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8180 negating x to take absolute value.
8181 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8182 Likewise.
8183 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8184 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8185 Likewise.
8186 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8187 computing low part if x was negated.
8188 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8189
c8e43ba7
L
81902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8191
8192 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8193 la_x32_gnu_pltexit.
8194 (pltexit): Cast int_retval to ptrdiff_t.
8195 * elf/tst-auditmod3b.c: Likewise.
8196 * elf/tst-auditmod4b.c: Likewise.
8197 * elf/tst-auditmod5b.c: Likewise.
8198 * elf/tst-auditmod6b.c: Likewise.
8199 * elf/tst-auditmod6c.c: Likewise.
8200 * elf/tst-auditmod7b.c: Likewise.
8201
8202 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8203 and x32_gnu_pltexit.
8204
8205 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8206 __ELF_NATIVE_CLASS.
8207 (La_x32_regs): New macro.
8208 (La_x32_retval): Likewise.
8209 (la_x32_gnu_pltenter): New function prototype.
8210 (la_x32_gnu_pltexit): Likewise.
8211
7998fa78
AS
82122012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8213
dcb33988
AS
8214 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8215 exponent.
8216
233fc563
AS
8217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8218
7998fa78
AS
8219 * configure.in (libc_cv_cc_nofma): Check for option to disable
8220 generation of FMA instructions.
8221 * configure: Regenerate.
8222 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8223 * sysdeps/ieee754/dbl-64/Makefile: New file.
8224 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8225 Remove brandred-fma4.
8226 (CFLAGS-brandred-fma4.c): Remove.
8227 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8228 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8229 define.
8230 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8231 define.
8232
8e95c99a
L
82332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8234
8235 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8236 LLONG_MAX != LONG_MAX.
8237 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8238 (_fitoa_word): Likewise.
8239 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8240 LLONG_MAX != LONG_MAX.
8241 * stdio-common/_itowa.h: Include <_itoa.h>.
8242 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8243 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8244 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8245 only if not defined.
8246 (_ITOA_WORD_TYPE): Likewise.
8247 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8248 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8249
6f4db457
DM
82502012-03-21 David S. Miller <davem@davemloft.net>
8251
8252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8253
7785fe5a
L
82542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8255
8256 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8257 of x86_64 when setting libc_cv_slibdir, libdir and
8258 libc_cv_localedir.
8259 * sysdeps/unix/sysv/linux/configure: Regenerated.
8260
4535cd55
JM
82612012-03-21 Joseph Myers <joseph@codesourcery.com>
8262
8263 * manual/lang.texi (Old Varargs): Remove section.
8264 (How Variadic): Update menu.
8265 (va_start): Do not mention varargs.h.
8266
17228132
TS
82672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8268 Joseph Myers <joseph@codesourcery.com>
8269
8270 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8271 link test.
8272 * configure: Regenerated.
8273
8149f976
TS
82742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8275
05f3d1f6
UD
8276 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8277 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8278 conformtest.pl
8149f976 8279
1a4ac776
JM
82802012-03-21 Joseph Myers <joseph@codesourcery.com>
8281
be22ce65
JM
8282 * NOTES: Remove.
8283 * Makefile (files-for-dist): Remove NOTES.
8284 (NOTES): Remove rule.
8285 * README: Don't refer to NOTES.
8286 * manual/creature.texi: Don't include macros.texi.
8287 * manual/intro.texi (creature.texi): Remove comment referring to
8288 NOTES.
8289
40b601fb
JM
8290 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8291 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8292 * configure: Regenerated.
8293 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8294 LIBC_TRY_CC_OPTION.
8295 (libc_cv_as_i686): Likewise.
8296 (libc_cv_cc_avx): Likewise.
8297 (libc_cv_cc_sse2avx): Likewise.
8298 (libc_cv_cc_fma4): Likewise.
8299 (libc_cv_cc_novzeroupper): Likewise.
8300 * sysdeps/i386/configure: Regenerated.
8301
1a4ac776
JM
8302 [BZ #13883]
8303 * sysdeps/i386/fpu/s_cexp.S: Remove.
8304 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8305 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8306 * math/libm-test.inc (cexp_test): Add more tests.
8307 * sysdeps/i386/fpu/libm-test-ulps: Update.
8308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8309
a458e7fe
AM
83102012-03-21 Allan McRae <allan@archlinux.org>
8311
8312 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8313
0cb7efc5
JM
83142012-03-21 Joseph Myers <joseph@codesourcery.com>
8315
8316 [BZ #13871]
8317 * math/w_exp2.c: Do not include <float.h>.
8318 (o_threshold, u_threshold): Remove.
8319 (__exp2): Calculate result before checking finiteness and calling
8320 __kernel_standard.
8321 * math/w_exp2f.c: Likewise.
8322 * math/w_exp2l.c: Likewise.
8323 * math/libm-test.inc (exp2_test): Require overflow exception for
8324 1e6 input.
2460d3aa
JM
8325
8326 [BZ #3866]
8327 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8328 range of signed 64-bit integers before using fistpll. Remove
8329 checks for whether integers fit in mantissa bits.
8330 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8331 the range of signed 32-bit integers before using fistpl. Remove
8332 checks for whether integers fit in mantissa bits.
8333 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8334 (__ieee754_powl): Test for y outside the range of signed 64-bit
8335 integers before using fistpll. Reduce 64-bit values to 63-bit
8336 ones as needed.
8337 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8338 divide-by-zero is raised for zero to large negative powers.
8339 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8340 (__ieee754_powl): Test for y outside the range of signed 64-bit
8341 integers before using fistpll. Reduce 64-bit values to 63-bit
8342 ones as needed.
8343 * math/libm-test.inc (pow_test): Add more tests.
8344
eb96ffb0
L
83452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8346
8347 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8348 <stdio-common/_itoa.h>.
8349 * debug/segfault.c: Likewise.
8350 * elf/dl-cache.c: Likewise.
8351 * elf/dl-minimal.c: Likewise.
8352 * elf/dl-misc.c: Likewise.
8353 * elf/dl-sysdep.c: Likewise.
8354 * elf/dl-version.c: Likewise.
8355 * elf/rtld.c: Likewise.
8356 * hurd/hurdsock.c: Likewise.
8357 * hurd/lookup-retry.c: Likewise.
8358 * malloc/malloc.c: Likewise.
8359 * malloc/mtrace.c: Likewise.
8360 * nscd/nscd_getgr_r.c: Likewise.
8361 * nscd/nscd_getpw_r.c: Likewise.
8362 * nscd/nscd_getserv_r.c: Likewise.
8363 * posix/getopt_init.c: Likewise.
8364 * posix/wordexp.c: Likewise.
8365 * stdio-common/_itoa.c: Likewise.
8366 * stdio-common/printf_fphex.c: Likewise.
8367 * stdio-common/vfprintf.c: Likewise.
8368 * string/_strerror.c: Likewise.
8369 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8370 * sysdeps/i386/i686/hp-timing.h: Likewise.
8371 * sysdeps/mach/_strerror.c: Likewise.
8372 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8373 * sysdeps/mach/hurd/sethostid.c: Likewise.
8374 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8375 * sysdeps/mach/xpg-strerror.c: Likewise.
8376 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8377 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8378 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8379 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8380 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8381 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8382 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8383 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8384 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8385 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8386 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8387 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8388 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8389 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8390 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8391 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8392 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8393 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8394 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8395 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8396 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8397
8398 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8399
8400 * stdio-common/_itoa.h: Moved to ...
8401 * sysdeps/generic/_itoa.h: Here.
8402
8403 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8404
8405 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8406 instead of "_itoa.h" and "_itowa.h".
8407 * stdio-common/vfprintf.: Likewise.
8408
d1af992d
L
84092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8410
8411 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8412 <bits/wordsize.h>.
8413 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8414 (__signbit): Likwise.
8415 (llrintf): Likwise.
8416 (llrint): Likwise.
8417
114883e0
L
84182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8419
8420 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8421 __WORDSIZE != 64.
8422
c135cc1b
JM
84232012-03-20 Joseph Myers <joseph@codesourcery.com>
8424
8425 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8426 OVERFLOW_EXCEPTION_OK.
8427 * math/libm-test.inc ("Philosophy"): Update comment about
8428 exception testing.
8429 (OVERFLOW_EXCEPTION): Define.
8430 (OVERFLOW_EXCEPTION_OK): Likewise.
8431 (INVALID_EXCEPTION_OK): Renumber.
8432 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8433 (IGNORE_ZERO_INF_SIGN): Likewise.
8434 (test_exceptions): Handle FE_OVERFLOW.
8435 (exp10_test): Expect overflow exceptions.
8436 (exp2_test): Likewise.
8437 (expm1_test): Likewise.
8438 (nextafter_test): Likewise.
8439 (pow_test): Likewise.
8440 (scalbn_test): Likewise.
8441 (scalbln_test): Likewise.
8442
95443d88
L
84432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8444
8445 * sysdeps/x86_64/bits/atomic.h
8446 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8447 64bit integer.
8448 (atomic_exchange_acq): Likewise.
8449 (__arch_exchange_and_add_body): Likewise.
8450 (__arch_add_body): Likewise.
8451 (atomic_add_negative): Likewise.
8452 (atomic_add_zero): Likewise.
8453
490df6c4
L
84542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8455
c2722551 8456 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8457 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8458
5e52b189
L
84592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8460
8461 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8462 Check __x86_64__ instead of __WORDSIZE.
8463
a9879d4c
L
84642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8465
8466 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8467
5df98260
DM
84682012-03-19 David S. Miller <davem@davemloft.net>
8469
e1497744
DM
8470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8471
5df98260
DM
8472 * sysdeps/sparc/fpu/fenv_private.h: New file.
8473 * sysdeps/sparc/fpu/math_private.h: Use it.
8474 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8475 Remove.
8476 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8477 (libc_feholdexcept_setroundl): Remove.
8478 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8479 Remove.
8480 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8481 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8482
b4c35121
L
84832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8484
8485 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8486 int64_t instead of long int.
8487 (INSERT_WORDS64): Likwise.
8488
56965fd7
L
84892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8490
8491 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8492 _Unwind_GetCFA return to _Unwind_Ptr first.
8493
83d1aec8
JM
84942012-03-19 Joseph Myers <joseph@codesourcery.com>
8495
1897ad44
JM
8496 [BZ #13629]
8497 * math/s_clog.c: Include <float.h>.
8498 (__clog): Scale large or subnormal inputs.
8499 * math/s_clogf.c: Likewise.
8500 * math/s_clogl.c: Likewise.
8501 * math/s_clog10.c: Include <float.h>.
8502 (M_LOG10_2): Define.
8503 (__clog10): Scale large or subnormal inputs.
8504 * math/s_clog10f.c: Likewise.
8505 * math/s_clog10l.c: Likewise.
8506 * math/libm-test.inc (clog_test): Add more tests.
8507 (clog10_test): Likewise.
8508 * sysdeps/i386/fpu/libm-test-ulps: Update.
8509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8510
7726d6a9
JM
8511 [BZ #11451]
8512 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8513 x and y.
8514 * math/libm-test.inc (atan2_test): Add another test.
8515
83d1aec8
JM
8516 * Makerules (common-objdir-compile): Remove.
8517 * sysdeps/unix/Makefile (config-generated): Do not add
8518 $(unix-generated) to variable.
8519 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8520 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8521 Remove rule.
8522 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8523 Likewise.
8524 [generic bits/local_lim.h] (before-compile): Do not append to
8525 variable.
8526 [generic bits/local_lim.h] (common-generated): Likewise.
8527 [generic sys/param.h] (before-compile): Do not append to variable.
8528 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8529 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8530 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8531 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8532 include.
8533 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8534 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8535 [generic sys/param.h] ($(addprefix
8536 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8537 [generic sys/param.h] (common-generated): Do not append to
8538 variable.
8539 [generic sys/param.h] (sysdep_headers): Likewise.
8540 [generic bits/errno.h] (before-compile): Do not append to
8541 variable.
8542 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8543 rule.
8544 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8545 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8546 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8547 [generic bits/errno.h] (common-generated): Do not append to
8548 variable.
8549 [generic bits/ioctls.h] (before-compile): Do not append to
8550 variable.
8551 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8552 rule.
8553 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8554 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8555 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8556 rule.
8557 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8558 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8559 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8560 [generic bits/ioctls.h] (common-generated): Do not append to
8561 variable.
8562 [generic sys/syscall.h] (syscall.h): Remove variable.
8563 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8564 rule.
8565 [generic sys/syscall.h] (before-compile): Do not append to
8566 variable.
8567 [generic sys/syscall.h] (common-generated): Likewise.
8568 * sysdeps/unix/errnos-tmpl.c: Remove file.
8569 * sysdeps/unix/errnos.awk: Likewise.
8570 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8571 * sysdeps/unix/ioctls.awk: Likewise.
8572 * sysdeps/unix/mk-local_lim.c: Likewise.
8573 * sysdeps/unix/snarf-ioctls: Likewise.
8574
4851a949
RH
85752012-03-19 Richard Henderson <rth@twiddle.net>
8576
bd37f2ee
RH
8577 * sysdeps/i386/fpu/fenv_private.h: New file.
8578 * sysdeps/i386/fpu/math_private.h: Use it.
8579 (math_opt_barrier, math_force_eval): Remove.
8580 (libc_feholdexcept_setround_53bit): Remove.
8581 (libc_feupdateenv_53bit): Remove.
8582 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8583 (math_opt_barrier, math_force_eval): Remove.
8584 (libc_feholdexcept): Remove.
8585 (libc_feholdexcept_setround): Remove.
8586 (libc_fetestexcept, libc_fesetenv): Remove.
8587 (libc_feupdateenv_test): Remove.
8588 (libc_feupdateenv, libc_feholdsetround): Remove.
8589 (libc_feresetround): Remove.
8590
d0adc922
RH
8591 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8592 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8593
0fe0f1f8
RH
8594 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8595 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8596 (libc_feupdateenv_testl): New.
8597 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8598 (libc_feupdateenv_testf): New.
8599 (libc_feupdateenv): Use libc_feupdateenv_test.
8600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8601 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8602
eb92c487
RH
8603 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8604 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8605 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8606 (libc_feresetround_noex): New.
8607 (libc_feresetround_noexf): New.
8608 (libc_feresetround_noexl): New.
8609 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8610 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8611 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8612 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8613 SET_RESTORE_ROUND.
8614 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8615 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8616 (__cos): Likewise.
8617 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8618 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8619 SET_RESTORE_ROUND_NOEX.
8620 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8621 SET_RESTORE_ROUND_NOEXF.
8622 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8623 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8624 (libc_feholdsetroundf): New.
8625 (libc_feresetround, libc_feresetroundf): New.
8626
7d2e8012
RH
8627 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8628 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8629 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8630
b4dabbb4
RH
8631 * sysdeps/generic/math_private.h: Include <fenv.h>.
8632 (default_libc_feholdexcept): New.
8633 (default_libc_feholdexcept_setround): New.
8634 (default_libc_fesetenv, default_libc_feupdateenv): New.
8635 (libc_feholdexcept): Only define if undefined.
8636 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8637 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8638 (libc_feholdexcept_setroundl): Likewise.
8639 (libc_feholdexcept_setround_53bit): Likewise.
8640 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8641 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8642 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8643 (libc_feupdateenv_53bit): Likewise.
8644 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8645 (libc_feholdexcept): Convert from macro to inline function.
8646 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8647 (libc_fesetenv, libc_feupdateenv): Likewise.
8648
4851a949
RH
8649 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8650 not previously defined.
8651 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8652 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8653 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8654 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8655 * sysdeps/ieee754/flt-32/math_private.h: New file.
8656 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8657 math_private.h below SET_FLOAT_WORD.
8658 (__isnan, __isinf_ns, __finite): Remove.
8659 (__isnanf, __isinf_nsf, __finitef): Remove.
8660
e79d442e
AS
86612012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8662
8663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8664
90b80344
DM
86652012-03-17 David S. Miller <davem@davemloft.net>
8666
8667 [BZ #6471]
8668 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8669 for 2.16.
8670
edc21804
DM
86712012-03-16 David S. Miller <davem@davemloft.net>
8672
77e927af
DM
8673 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8674 warnings.
8675
374976dd
DM
8676 [BZ #6471]
8677 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8678 properly.
8679 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8680 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8681 sysdep_routines when subdir is sysvipc.
8682 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8683 __getshmlba helper.
8684
edc21804
DM
8685 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8686
473c3ef3
L
86872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8688
8689 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8690 [__LP64__].
8691
eb0f39b6
L
86922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8693
8694 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8695 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8696 (__lround): Renamed to ...
8697 (__llround): This. Replace long int with long long int.
8698 Define lround functions as aliases of llround functions.
8699 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8700
6b6cd74b
L
87012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8702
8703 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8704 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8705 adresses to uintptr_t. Replace "long int" and "unsigned long
8706 int" with "greg_t" on va_arg.
8707
f1a77b01
L
87082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8709
8710 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8711 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8712
8713 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8714 Move e_machine check before EI_CLASS check. Handle x32
8715 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8716 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8717 SKIP_EM_IA_64 and include
8718 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8719
8720 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8721 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8722 (add_system_dir): New macro.
8723
8724 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8725 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8726
11b90b9f
JM
87272012-03-16 Joseph Myers <joseph@codesourcery.com>
8728
c36e1d23
JM
8729 [BZ #2551]
8730 [BZ #2552]
8731 [BZ #2553]
8732 [BZ #2554]
8733 [BZ #2562]
8734 [BZ #2563]
8735 [BZ #2565]
8736 [BZ #2566]
8737 [BZ #2576]
8738 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8739 (y0): Likewise.
8740 * math/w_j0f.c (j0f): Likewise.
8741 (y0f): Likewise.
8742 * math/w_j0l.c (__j0l): Likewise.
8743 (__y0l): Likewise.
8744 * math/w_j1.c (j1): Likewise.
8745 (y1): Likewise.
8746 * math/w_j1f.c (j1f): Likewise.
8747 (y1f): Likewise.
8748 * math/w_j1l.c (__j1l): Likewise.
8749 (__y1l): Likewise.
8750 * math/w_jn.c (jn): Likewise.
8751 (yn): Likewise.
8752 * math/w_jnf.c (jnf): Likewise.
8753 (ynf): Likewise.
8754 * math/w_jnl.c (__jnl): Likewise.
8755 (__ynl): Likewise.
8756 * math/libm-test.inc (j0_test): Add more tests.
8757 (j1_test): Likewise.
8758 (jn_test): Likewise. Add trailing semicolon to existing test.
8759 (y0_test): Likewise.
8760 (y1_test): Likewise.
8761 * sysdeps/i386/fpu/libm-test-ulps: Update.
8762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8763
11b90b9f
JM
8764 [BZ #13851]
8765 [BZ #13854]
8766 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8767 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8768 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8769 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8770 (__tanl): Set errno for infinite argument.
8771 * sysdeps/i386/fpu/mptan.c: Remove.
8772 * sysdeps/i386/fpu/s_tan.S: Likewise.
8773 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8774 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8775 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8776 * math/libm-test.inc (tan_test): Add more tests and enable more
8777 tests for double and long double.
8778 * sysdeps/i386/fpu/libm-test-ulps: Update.
8779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8780
6a1bd2a1
JK
87812012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8782
8783 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8784 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8785
10a803e0
RM
87862012-03-16 Roland McGrath <roland@hack.frob.com>
8787
8788 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8789 * configure.in: Use it for both main tree and add-ons.
8790 * configure: Regenerated.
8791
f196c7f7
L
87922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8793
8794 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8795
8848d99d
JM
87962012-03-16 Joseph Myers <joseph@codesourcery.com>
8797
96cbe7f4
JM
8798 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8799 in comment.
8800
8848d99d
JM
8801 [BZ #13851]
8802 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8803 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8804 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8807 infinite argument.
8808 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8809 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8810 != 0 for prec == 2.
8811 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8812 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8813 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8814 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8815 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8816 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8817 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8818 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8819 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8820 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8821 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8822 * math/libm-test.inc (cos_test): Add more tests and enable more
8823 tests for long double.
8824 (sin_test): Likewise.
8825 (sincos_test): Likewise.
8826 * sysdeps/i386/fpu/libm-test-ulps: Update.
8827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8828
dd7f4703
DM
88292012-03-16 David S. Miller <davem@davemloft.net>
8830
8831 * sysdeps/sparc/fpu/math_private.h: New file.
8832
006f1daa
DM
88332012-03-15 David S. Miller <davem@davemloft.net>
8834
c0c83bc8
DM
8835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8836 file.
e6a62e18 8837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8839 file.
e6a62e18
DM
8840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8845 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8846 sysdep routines.
8847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8848
88cb87d9
DM
8849 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8850 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8851
006f1daa 8852 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8854 sparc-ifunc.h
006f1daa 8855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8857 Likewise.
8858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8859 Likewise.
006f1daa
DM
8860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8864 Likewise.
006f1daa
DM
8865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8870 Likewise.
8871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8872 Likewise.
006f1daa
DM
8873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8877 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8878 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8879 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8880 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8881 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8890 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8891 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8892 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8893 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8894 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8895 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8896 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8897
11e0098e
AS
88982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8899
8900 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8901 scaling.
8902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8903
e85b09d0
AJ
89042012-03-15 Andreas Jaeger <aj@suse.de>
8905
8906 [BZ #13852]
8907 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8908 ieee754/flt-32 implementation for sin, cos and sincos.
8909 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8910 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8911 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8912 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8913 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8914 ieee754/flt-32 implementation for tan.
8915
8916 * math/libm-test.inc (cos_test): Enable some large input tests for
8917 float as well
8918 (sin_test): Likewise.
8919 (sincos_test): Likewise.
8920 (tan_test): Add tests for large input.
8921
8922 * sysdeps/i386/fpu/libm-test-ulps: Update.
8923
81c64153
AJ
89242012-03-15 Andreas Jaeger <aj@suse.de>
8925
8926 [BZ #13658]
8927 * math/libm-test.inc (cos_test): Add more test cases.
8928 (sin_test): Likewise.
8929 (sincos_test): Likewise.
8930
7bbfa5c6
AJ
89312012-03-15 Andreas Jaeger <aj@suse.de>
8932
8933 [BZ #13837]
8934 * math/libm-test.inc (cos_test): Add a test case for large input
8935 value.
8936 (sin_test): Likewise.
8937 (sincos_test): Likewise.
8938
89392012-03-15 Andreas Jaeger <aj@suse.de>,
8940 Joseph Myers <joseph@codesourcery.com>
8941
8942 [BZ #13658]
0671f479 8943 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8944 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8945 * sysdeps/i386/fpu/branred.c: Likewise.
8946 * sysdeps/i386/fpu/dosincos.c: Likewise.
8947 * sysdeps/i386/fpu/mpa.c: Likewise.
8948 * sysdeps/i386/fpu/s_cos.S: Likewise.
8949 * sysdeps/i386/fpu/s_sin.S: Likewise.
8950 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8951 * sysdeps/i386/fpu/sincos32.c: Likewise.
8952
8953 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8954 Define.
8955 (libc_feupdateenv_53bit): Define.
8956 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8957 Define.
8958 (libc_feupdateenv_53bit): Define.
8959
8960 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8961 53 bit (without extend i386 double precision).
8962
8963 * math/libm-test.inc (sincos_test): Add tests for large input.
8964 (sin): Likewise.
8965 (cos): Likewise.
8966
8967 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8968
9cad04ea
AS
89692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8970
8971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8972
f7062b9a
DM
89732012-03-15 David S. Miller <davem@davemloft.net>
8974
8975 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8976 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8977 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8978 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8991 file.
f7062b9a 8992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8994 file.
f7062b9a 8995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8997 file.
f7062b9a 8998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9000 file.
f7062b9a
DM
9001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9002 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9003 fmin/fmax sysdep routines.
9004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9005
7bd951ff
DM
90062012-03-14 David S. Miller <davem@davemloft.net>
9007
559398ab
DM
9008 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9009 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9012 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9013 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9014 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9015 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9016 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9020 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9021 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9022 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9023 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9024 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9028 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9029 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9030 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9031 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9032 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9033 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9034 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9035 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9036 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9037 routines.
9038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9039 file.
559398ab 9040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9042 file.
559398ab 9043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9045 file.
559398ab 9046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9048 file.
559398ab 9049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9051 file.
559398ab 9052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9054 file.
9055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9056 file.
9057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9058 file.
9059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9060 file.
9061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9062 New file.
9063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9064 file.
9065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9066 file.
559398ab 9067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9069 file.
559398ab 9070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9072 file.
559398ab 9073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9075 file.
559398ab 9076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9078 VIS3 routines.
559398ab
DM
9079
9080 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9081 New file.
9082
5a1c1e32
DM
9083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9084
eae47a36
DM
9085 * sysdeps/sparc/configure.in: New file.
9086 * sysdeps/sparc/configure: Generate.
9087 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9088 * configure: Regenerate.
9089 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9090 * config.make.in (have-as-vis3): New.
9091 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9092 available use -Av9d instead of -Av9a.
9093 * sysdeps/sparc/sparc64/Makefile: Likewise.
9094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9096 New file.
9097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9098 file.
9099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9100 New file.
9101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9102 file.
eae47a36
DM
9103 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9104 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9105 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9106 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9107 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9108
c0c83bc8
DM
9109 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9110 fzeros/fnegs to load 0x80000000 into a float register instead of
9111 using the stack.
7bd951ff
DM
9112 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9113
bd951ccb
JM
91142012-03-14 Joseph Myers <joseph@codesourcery.com>
9115
9116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9117 bits/syscall.h.
9118 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9119 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9120 ($(inst_includedir)/bits/syscall.h): Remove rule.
9121 ($(objpfx)bits/syscall.d): Include instead of
9122 $(objpfx)syscall-list.d.
9123 (generated): Change syscall-list.h and syscall-list.d to
9124 bits/syscall.h and bits/syscall.d.
9125
bb4e6db2
RM
91262012-03-14 Roland McGrath <roland@hack.frob.com>
9127
9128 [BZ #13846]
9129 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9130
aa4a2ae1
JM
91312012-03-14 Joseph Myers <joseph@codesourcery.com>
9132
e456826d
JM
9133 [BZ #13841]
9134 * math/s_csqrt.c: Include <float.h>.
9135 (__csqrt): Scale large or subnormal inputs.
9136 * math/s_csqrtf.c: Likewise.
9137 * math/s_csqrtl.c: Likewise.
9138 * math/libm-test.inc (csqrt_test): Add more tests.
9139 * sysdeps/i386/fpu/libm-test-ulps: Update.
9140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9141
aa4a2ae1
JM
9142 [BZ #13840]
9143 * math/libm-test.inc (hypot_test): Add more tests.
9144
7c10fd35
DM
91452012-03-13 David S. Miller <davem@davemloft.net>
9146
9147 [BZ #13840]
9148 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9149 double-precision for the calculation instead of scaling.
9150
f453b98b
JM
91512012-03-13 Joseph Myers <joseph@codesourcery.com>
9152
9153 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9154 manipulate bits before adding and subtracting TWO52[sx].
9155 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9156 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9157 Likewise.
9158 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9159
09a3453f
DM
91602012-03-13 David S. Miller <davem@davemloft.net>
9161
8e59da90
DM
9162 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9163 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9164 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9165 rtld-global-offsets.h
9166 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9167
2a8ab7f2
DM
9168 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9169 large parameters.
9170
10f62770
DM
9171 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9172
5f0bdb18
DM
9173 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9174 'err' in the ifdef scope in which it is actually used.
9175
09a3453f
DM
9176 * nss/nss_db/db-init.c: Include string.h
9177
b4b2eb5e
DM
91782012-03-12 David S. Miller <davem@davemloft.net>
9179
98bb2f1c
DM
9180 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9181 masking out of the most significant byte of random value used.
9182 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9183 Fix coding style in previous change.
9184
b4b2eb5e
DM
9185 * sysdeps/unix/sysv/linux/kernel-features.h
9186 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9187 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9188 expression.
9189 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9190 later.
9191
6e226b09
DM
91922012-03-11 David S. Miller <davem@davemloft.net>
9193
a1bcbd40
DM
9194 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9195 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9196 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9197 for 'resultvar' otherwise things get truncated on 64-bit.
9198
cb9d6174
DM
9199 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9200 Fix masking out of the most significant byte of random value used.
9201
6e226b09
DM
9202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9203
058c132d
AS
92042012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9205
9206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9207
2d2cd515
DM
92082012-03-09 David S. Miller <davem@davemloft.net>
9209
9210 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9211 variables with appropriate CPP guards.
9212 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9213 frame pointer, not the stack pointer. Correct layout comments. Fix test
9214 on resulting framesize and the management of the outregs buffer for pltexit.
9215 Preserve floating point return values across _dl_call_pltexit call.
9216 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9217 framesize and the management of the outregs buffer for pltexit.
9218 Preserve floating point return values across _dl_call_pltexit
9219 call.
9220 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9221 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9222 (print_exit): Fix format string for return register value.
9223
9a07f9d0
JM
92242012-03-10 Joseph Myers <joseph@codesourcery.com>
9225
9226 * sunrpc/Makefile (others): Add rpcgen.
9227 ($(objpfx)rpcgen): Remove special build rule and dependency on
9228 libc.
9229 * sunrpc/rpcgen.c: New file.
9230
547b5e30
PE
92312012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9232
c524201a
PE
9233 [BZ #13673]
9234 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9235 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9236 * sysdeps/i386/crti.S: Likewise.
9237 * sysdeps/i386/crtn.S: Likewise.
9238 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9239 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9240 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9241 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9242 * sysdeps/sh/crti.S: Likewise.
9243 * sysdeps/sh/crtn.S: Likewise.
9244 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9245
7b6235f2
PE
9246 [BZ #13673]
9247 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9248 with URL.
9249 * locale/programs/locfile-kw.gperf: Likewise.
9250 * locale/programs/charmap-kw.h: Regenerated.
9251 * locale/programs/locfile-kw.h: Likewise.
9252
547b5e30
PE
9253 [BZ #13673]
9254 * intl/plural.y: Replace FSF snail mail address with URL.
9255 * intl/plural.c: Regenerated.
9256
5f0a5dae
RH
92572012-03-09 Richard Henderson <rth@twiddle.net>
9258
9259 * include/math_private.h: Remove file.
9260 * math/math_private.h: Move file ...
9261 * sysdeps/generic/math_private.h: ... here.
9262
b8c03620
RH
9263 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9264 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9265 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9266
4e234f5d 9267 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9268 and <math_private.h>.
9269 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9270 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9271 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9272 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9273 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9274 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9275 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9276 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9277 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9278 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9280 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9281 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9282 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9283 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9284 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9285 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9286 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9287 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9288 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9290 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9291 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9292 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9293 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9294 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9295 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9296 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9297 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9298 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9299 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9300 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9301 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9302 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9303 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9304 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9305 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9306 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9307 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9308 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9309 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9310 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9311 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9312 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9313 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9314 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9315 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9316 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9317 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9318 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9319 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9320 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9321 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9322 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9323 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9324 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9325 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9326 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9327 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9328 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9329 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9330 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9331 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9332 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9333 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9334 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9335 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9336 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9337 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9338 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9339 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9340 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9341 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9342 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9343 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9344 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9346 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9347 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9348 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9349 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9350 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9351 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9352 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9353 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9354 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9355 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9356 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9357 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9358 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9359 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9360 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9361 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9362 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9363 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9364 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9365 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9366 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9367 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9368 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9369 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9370 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9371 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9372 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9373 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9374 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9375 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9376 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9377 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9378 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9379 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9380 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9381 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9382 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9383 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9384 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9385 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9386 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9387 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9388 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9389 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9390 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9391 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9392 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9393 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9394 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9395 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9396 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9397 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9398 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9399 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9400 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9401 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9402 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9403 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9404 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9405 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9406 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9407 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9408 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9409 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9410 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9411 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9412 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9413 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9414 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9415 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9416 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9417 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9418 * sysdeps/ieee754/k_standard.c: Likewise.
9419 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9420 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9421 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9422 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9423 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9424 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9425 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9426 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9427 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9428 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9429 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9430 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9431 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9432 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9433 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9434 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9435 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9436 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9437 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9438 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9439 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9440 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9441 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9442 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9443 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9444 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9445 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9446 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9447 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9448 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9449 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9451 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9452 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9453 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9454 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9455 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9456 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9457 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9458 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9459 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9460 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9461 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9462 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9463 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9464 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9465 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9466 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9467 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9468 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9469 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9470 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9471 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9472 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9473 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9474 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9475 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9476 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9477 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9478 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9479 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9480 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9481 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9482 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9483 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9484 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9485 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9486 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9487 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9488 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9489 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9490 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9491 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9492 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9493 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9494 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9495 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9496 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9497 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9498 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9499 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9532 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9533 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9534 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9538 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9539 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9541 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9546 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9549 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9550 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9551 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9552 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9553 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9555 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9556 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9557 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9558 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9559 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9560 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9561 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9562 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9563 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9564 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9565 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9566 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9567 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9568 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9569 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9570 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9571 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9572 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9573 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9574 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9575 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9576 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9577 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9578 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9579 * sysdeps/ieee754/s_lib_version.c: Likewise.
9580 * sysdeps/ieee754/s_matherr.c: Likewise.
9581 * sysdeps/ieee754/s_signgam.c: Likewise.
9582 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9583 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9584 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9585 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9586 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9587 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9588 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9589 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9590 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9591 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9592 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9593 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9594 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9595 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9596 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9597 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9598 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9599 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9600 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9601 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9603
1991fa03
JM
96042012-03-09 Joseph Myers <joseph@codesourcery.com>
9605
9606 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9607 * sunrpc/rpc_main.c: Likewise.
9608 * sunrpc/rpc_svcout.c: Likewise.
9609
60d6f5a6
DM
96102012-03-09 David S. Miller <davem@davemloft.net>
9611
9612 * include/math_private.h: New file.
9613
4962050e
JM
96142012-03-09 Joseph Myers <joseph@codesourcery.com>
9615
02a6f887
JM
9616 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9617 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9618 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9619 from <bits/socket_type.h>.
9620 (enum __socket_type): Don't define here.
9621 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9623 bits/socket_type.h.
9624
c6e013c1
JM
9625 [BZ #13566]
9626 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9627 checking __USE_GNU.
9628
4962050e
JM
9629 * Makerules ($(inst_includedir)/%.h): New rule.
9630 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9631 (install-others): Remove variable setting.
9632 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9633
38842f45
RH
96342012-03-08 Richard Henderson <rth@twiddle.net>
9635
67bb6da6
RH
9636 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9637 from macro to inline function; merge with the
9638 !__LIBC_INTERNAL_MATH_INLINES version.
9639 (__ieee754_sqrtf): Likewise.
9640
15194b4b
RH
9641 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9642 to inline function.
9643 (__rintf, __floor, __floorf): Likewise.
9644
64e21ede
RH
9645 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9646 macro to inline function.
9647 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9648
38842f45
RH
9649 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9650 not <math/math_private.h>.
9651
c64bf5fe
DM
96522012-03-08 David S. Miller <davem@davemloft.net>
9653
9654 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9655 copyright year.
9656 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9657
82d86f28
TS
96582012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9659
9660 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9661 normalization.
9662 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9663 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9664
aea5d727
UD
96652012-03-08 Ulrich Drepper <drepper@gmail.com>
9666
9667 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9668 be defined individually, they must be defined as a block. Define
9669 S for printing a string instead of hidint the different by using a
9670 macro for adding the 'l'.
9671 * stdio-common/tst-fphex-wide.c: Adjust.
9672
70bca0a3
MP
96732012-03-07 Marek Polacek <polacek@redhat.com>
9674
9675 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9676
65b81130
MP
96772012-03-08 Marek Polacek <polacek@redhat.com>
9678
9679 [BZ #13806]
9680 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9681 * stdio-common/tst-fphex.c: Define a few macros to make the
9682 test reusable. Use them.
9683 * stdio-common/tst-fphex-wide.c: New file.
9684
07037eeb
JM
96852012-03-08 Joseph Myers <joseph@codesourcery.com>
9686
a7a93d50
JM
9687 [BZ #6911]
9688 * manual/macros.texi (gnusystems): New macro.
9689 (nongnusystems): Likewise.
9690 (gnulinuxhurdsystems): Likewise.
9691 (gnuhurdsystems): Likewise..
9692 (gnulinuxsystems): Likewise.
9693 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9694 variants of the GNU system, not "GNU system".
9695 * manual/conf.texi: Likewise.
9696 * manual/errno.texi: Likewise. Update example of errno macro
9697 expansion.
9698 * manual/filesys.texi: Likewise.
9699 (getumask): Document as specific to GNU/Hurd.
9700 * manual/install.texi: Likewise. Reword some references to
9701 GNU/Linux.
9702 * manual/intro.texi: Likewise.
9703 * manual/io.texi: Likewise.
9704 (File Name Portability): Detail which constraints are inapplicable
9705 to all GNU systems and which are only inapplicable to GNU/Hurd.
9706 * manual/job.texi: Likewise.
9707 * manual/llio.texi: Likewise.
9708 (O_NOCTTY): Document as present on GNU/Linux.
9709 * manual/maint.texi: Likewise.
9710 * manual/memory.texi: Likewise.
9711 * manual/pattern.texi: Likewise.
9712 * manual/pipe.texi: Likewise.
9713 * manual/process.texi: Likewise.
9714 * manual/resource.texi: Likewise.
9715 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9716 child on GNU/Hurd.
9717 * manual/setjmp.texi: Likewise.
9718 * manual/signal.texi: Likewise.
9719 * manual/startup.texi: Likewise.
9720 * manual/stdio.texi: Likewise.
9721 * manual/terminal.texi: Likewise.
9722 (ONLCR): Document as POSIX.
9723 (OXTABS): Document availability on GNU/Linux as XTABS.
9724 (ONOEOT): Document availability separately from other bits.
9725 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9726 * manual/time.texi: Likewise.
9727 * manual/users.texi: Likewise.
9728 * INSTALL: Regenerated.
9729 * sysdeps/gnu/errlist.c: Regenerated.
9730
07037eeb
JM
9731 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9732 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9733 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9734 puts.
9735 * configure: Regenerated.
9736
d1d3431a
JM
97372012-03-07 Joseph Myers <joseph@codesourcery.com>
9738
af6a1e37
JM
9739 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9740 default includes instead of AC_HEADER_CHECK.
9741 * sysdeps/i386/configure: Regenerated.
9742
d1d3431a
JM
9743 [BZ #10716]
9744 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9745 * math/s_cacoshf.c (__cacoshf): Likewise.
9746 * math/s_cacoshl.c (__cacoshl): Likewise.
9747 * math/s_casinh.c (__casinh): Set signs of result from argument.
9748 * math/s_casinhf.c (__casinhf): Likewise.
9749 * math/s_casinhl.c (__casinhl): Likewise.
9750 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9751 (casinh_test): Add more tests.
9752 * sysdeps/i386/fpu/libm-test-ulps: Update.
9753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9754
482ff4da
UD
97552012-03-07 Ulrich Drepper <drepper@gmail.com>
9756
872fda05
UD
9757 * po/zh_TW.po: Update from translation team.
9758
a4300c7a
UD
9759 * login/Makefile (distribute): Remove variable.
9760 * catgets/Makefile: Likewise.
9761 * mach/Makefile: Likewise.
9762 * malloc/Makefile: Likewise.
9763 * misc/Makefile: Likewise.
9764 * iconv/Makefile: Likewise.
9765 * nscd/Makefile: Likewise.
9766 * hurd/Makefile: Likewise.
9767 * manual/Makefile: Likewise.
9768 * locale/Makefile: Likewise.
9769 * intl/Makefile: Likewise.
9770 * conform/Makefile: Likewise.
9771 * nss/Makefile: Likewise.
9772 * time/Makefile: Likewise.
9773 * soft-fp/Makefile: Likewise.
9774 * dirent/Makefile: Likewise.
9775 * gmon/Makefile: Likewise.
9776 * po/Makefile: Likewise.
9777 * rt/Makefile: Likewise.
9778 * socket/Makefile: Likewise.
9779 * math/Makefile: Likewise.
9780 * signal/Makefile: Likewise.
9781 * debug/Makefile: Likewise.
9782 * elf/Makefile: Likewise.
9783 * timezone/Makefile: Likewise.
9784 * stdlib/Makefile: Likewise.
9785 * iconvdata/Makefile: Likewise.
9786 * sunrpc/Makefile: Likewise.
9787 * io/Makefile: Likewise.
9788 * argp/Makefile: Likewise.
9789 * inet/Makefile: Likewise.
9790 * hesiod/Makefile: Likewise.
9791 * grp/Makefile: Likewise.
9792 * csu/Makefile: Likewise.
9793 * wctype/Makefile: Likewise.
9794 * crypt/Makefile: Likewise.
9795 * libio/Makefile: Likewise.
9796 * string/Makefile: Likewise.
9797 * nis/Makefile: Likewise.
9798 * resolv/Makefile: Likewise.
9799 * stdio-common/Makefile: Likewise.
9800 * wcsmbs/Makefile: Likewise.
9801 * dlfcn/Makefile: Likewise.
9802 * posix/Makefile: Likewise.
9803
3b7c4e74 9804 [BZ #6959]
482ff4da
UD
9805 * timezone/Makefile: Don't install timezone files, just the programs
9806 and scripts.
9807
f72ed77d
UD
98082012-03-06 Ulrich Drepper <drepper@gmail.com>
9809
a000466f
UD
9810 * nss/databases.def: Add missing gshadow entry.
9811
f72ed77d
UD
9812 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9813
a53b7a4e
MP
98142012-03-06 Marek Polacek <polacek@redhat.com>
9815
9816 [BZ #13726]
9817 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9818 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9819 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9820 * stdio-common/tst-long-dbl-fphex.c: New file.
9821
e9258400
DM
98222012-03-06 David S. Miller <davem@davemloft.net>
9823
9824 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9825 (set_obp_int): New function.
9826 (get_obp_int): New function.
9827 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9828 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9829 Avoid unused variable warnings on 'val' and use builtin_expect.
9830 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9831 __builtin_expect.
e9258400
DM
9832 (INLINE_CLONE_SYSCALL): Likewise.
9833
3bd2c723
DM
98342012-03-05 David S. Miller <davem@davemloft.net>
9835
9836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9837
bbb78d03
AS
98382012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9839
884c5db4
AS
9840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9841
bbb78d03
AS
9842 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9843 only for |x| >= 40.
9844 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9845
1c9f702a 98462012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9847
9848 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9849 Replace gettimeofday with __vdso_gettimeofday.
9850
7be16f82
RM
9851 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9852 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9853 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9854
9855 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9856 time with __vdso_time.
9857
ed58a00f
JM
98582012-03-05 Joseph Myers <joseph@codesourcery.com>
9859
9860 * manual/lang.texi (size_t): Note types to which size_t may be
9861 equivalent with the GNU C Library, but do not describe when
9862 differences between them are significant.
9863
30ee4ced
AJ
98642012-03-05 Andreas Jaeger <aj@suse.de>
9865
9866 * sysdeps/i386/fpu/libm-test-ulps: Update.
9867
b7cd39e8
JM
98682012-03-05 Joseph Myers <joseph@codesourcery.com>
9869
9870 [BZ #3976]
9871 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9872 (__ieee754_pow): Save and restore rounding mode and use
9873 round-to-nearest for main computations.
9874 * math/libm-test.inc (pow_test_tonearest): New function.
9875 (pow_test_towardzero): Likewise.
9876 (pow_test_downward): Likewise.
9877 (pow_test_upward): Likewise.
9878 (main): Call the new functions.
9879 * sysdeps/i386/fpu/libm-test-ulps: Update.
9880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9881
9882 [BZ #3976]
9883 * math/libm-test.inc (cosh_test_tonearest): New function.
9884 (cosh_test_towardzero): Likewise.
9885 (cosh_test_downward): Likewise.
9886 (cosh_test_upward): Likewise.
9887 (sinh_test_tonearest): Likewise.
9888 (sinh_test_towardzero): Likewise.
9889 (sinh_test_downward): Likewise.
9890 (sinh_test_upward): Likewise.
9891 (main): Call the new functions.
9892 * sysdeps/i386/fpu/libm-test-ulps: Update.
9893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9894
6c6a98c9
TV
98952012-03-05 Tom de Vries <tom@codesourcery.com>
9896
9897 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9898 default stack guard is set in last bytes.
9899 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9900
21bb2d2e 99012012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9902
21bb2d2e 9903 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9904
21bb2d2e
AJ
9905 [BZ #13656]
9906 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9907 possibly allocate from heap instead of stack.
9908 * stdio-common/bug-vfprintf-nargs.c: New file.
9909 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9910
c6922934
AS
99112012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9912
9913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9914
bc957d53
MP
99152012-03-03 Marek Polacek <polacek@redhat.com>
9916
9917 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9918 * math/math_private.h: Likewise.
9919 * stdlib/tst-strtod.c: Likewise.
9920 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9921 * sysdeps/x86_64/bits/atomic.h: Likewise.
9922
6358490d
DM
99232012-03-02 David S. Miller <davem@davemloft.net>
9924
9925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9929 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9930 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9931 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9932 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9933
01ae168d
RM
99342012-03-02 Roland McGrath <roland@hack.frob.com>
9935
d9a17c07
RM
9936 [BZ #13792]
9937 * manual/examples/README: New file, says the example source files
9938 can be used under GPL>=2.
9939 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9940 line containing just "*/".
9941 * manual/examples/add.c: Add copyright header (GPL>=2).
9942 * manual/examples/argp-ex1.c: Likewise.
9943 * manual/examples/argp-ex2.c: Likewise.
9944 * manual/examples/argp-ex3.c: Likewise.
9945 * manual/examples/argp-ex4.c: Likewise.
9946 * manual/examples/atexit.c: Likewise.
9947 * manual/examples/db.c: Likewise.
9948 * manual/examples/dir.c: Likewise.
9949 * manual/examples/dir2.c: Likewise.
9950 * manual/examples/execinfo.c: Likewise.
9951 * manual/examples/filecli.c: Likewise.
9952 * manual/examples/filesrv.c: Likewise.
9953 * manual/examples/fmtmsgexpl.c: Likewise.
9954 * manual/examples/genpass.c: Likewise.
9955 * manual/examples/inetcli.c: Likewise.
9956 * manual/examples/inetsrv.c: Likewise.
9957 * manual/examples/isockad.c: Likewise.
9958 * manual/examples/longopt.c: Likewise.
9959 * manual/examples/memopen.c: Likewise.
9960 * manual/examples/memstrm.c: Likewise.
9961 * manual/examples/mkfsock.c: Likewise.
9962 * manual/examples/mkisock.c: Likewise.
9963 * manual/examples/mygetpass.c: Likewise.
9964 * manual/examples/pipe.c: Likewise.
9965 * manual/examples/popen.c: Likewise.
9966 * manual/examples/rprintf.c: Likewise.
9967 * manual/examples/search.c: Likewise.
9968 * manual/examples/select.c: Likewise.
9969 * manual/examples/setjmp.c: Likewise.
9970 * manual/examples/sigh1.c: Likewise.
9971 * manual/examples/sigusr.c: Likewise.
9972 * manual/examples/stpcpy.c: Likewise.
9973 * manual/examples/strdupa.c: Likewise.
9974 * manual/examples/strftim.c: Likewise.
9975 * manual/examples/strncat.c: Likewise.
9976 * manual/examples/subopt.c: Likewise.
9977 * manual/examples/swapcontext.c: Likewise.
9978 * manual/examples/termios.c: Likewise.
9979 * manual/examples/testopt.c: Likewise.
9980 * manual/examples/testpass.c: Likewise.
9981 * manual/examples/timeval_subtract.c: Likewise.
9982
01ae168d
RM
9983 [BZ #13792]
9984 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9985 function to ...
9986 * manual/timeval_subtract.c.texi: ... here, new file.
9987
49efa33d
DM
99882012-03-02 David S. Miller <davem@davemloft.net>
9989
9990 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9991
28afd92d
JM
99922012-03-02 Joseph Myers <joseph@codesourcery.com>
9993
804360ed
JM
9994 [BZ #3976]
9995 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9996 (__sin): Save and restore rounding mode and use round-to-nearest
9997 for all computations.
9998 (__cos): Save and restore rounding mode and use round-to-nearest
9999 for all computations.
10000 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10001 <fenv.h>.
10002 (tan): Save and restore rounding mode and use round-to-nearest for
10003 all computations.
10004 * math/libm-test.inc (cos_test_tonearest): New function.
10005 (cos_test_towardzero): Likewise.
10006 (cos_test_downward): Likewise.
10007 (cos_test_upward): Likewise.
10008 (sin_test_tonearest): Likewise.
10009 (sin_test_towardzero): Likewise.
10010 (sin_test_downward): Likewise.
10011 (sin_test_upward): Likewise.
10012 (tan_test_tonearest): Likewise.
10013 (tan_test_towardzero): Likewise.
10014 (tan_test_downward): Likewise.
10015 (tan_test_upward): Likewise.
10016 (main): Call the new functions.
10017 * sysdeps/i386/fpu/libm-test-ulps: Update.
10018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10019
a6d06d7b
JM
10020 [BZ #10135]
10021 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10022 small n, then large n, before computing and testing k+n.
10023 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10024 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10025 Likewise.
10026 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10027 Likewise.
10028 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10029 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10030 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10031 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10032 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10033 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10034 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10035 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10036 * math/libm-test.inc (scalbn_test): Add more tests.
10037 (scalbln_test): Likewise.
10038
07e12bb3
JM
10039 * manual/filesys.texi (mode_t): Describe constraints on size and
10040 signedness, not exact equivalence to a particular type.
10041 (ino_t): Likewise.
10042 (ino64_t): Likewise.
10043 (dev_t): Likewise.
10044 (nlink_t): Likewise.
10045 (blkcnt_t): Likewise.
10046 (blkcnt64_t): Likewise.
10047 * manual/llio.texi (off_t): Likewise.
10048
28afd92d
JM
10049 [BZ #3976]
10050 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10051 (__ieee754_exp): Save and restore rounding mode and use
10052 round-to-nearest for all computations.
10053 * math/libm-test.inc (exp_test_tonearest): New function.
10054 (exp_test_towardzero): Likewise.
10055 (exp_test_downward): Likewise.
10056 (exp_test_upward): Likewise.
10057 (main): Call the new functions.
10058 * sysdeps/i386/fpu/libm-test-ulps: Update.
10059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10060
b1eeb65d
CD
100612012-03-01 Chris Demetriou <cgd@google.com>
10062
10063 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10064 have predictable order.
10065
53362a4b
DM
100662012-03-01 David S. Miller <davem@davemloft.net>
10067
3c969083
DM
10068 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10069
759707de
DM
10070 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10071 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10072 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10073 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10074
dfdb8ff2
DM
10075 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10076 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10077 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10079 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10080 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10081 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10082 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10083 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10084
ead89f96
DM
10085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10086
7f66bd07
DM
10087 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10088 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10089 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10090
53362a4b
DM
10091 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10092 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10093 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10094 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10095 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10096 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10097 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10098 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10099 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10100 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10101 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10102 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10104 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10105 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10107 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10108 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10109 * sysdeps/sparc/elf/configure: Regenerated.
10110
7b1902cb
JM
101112012-03-01 Joseph Myers <joseph@codesourcery.com>
10112
bec039bc
JM
10113 * configure.in (AS, LD): Require binutils 2.20 or later.
10114 * configure: Regenerated.
10115 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10116 as required minimum version.
10117 * INSTALL: Regenerated.
10118
7b1902cb
JM
10119 [BZ #2541]
10120 [BZ #4108]
10121 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10122 before squaring exponent.
10123 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10124 bottom long double and 27 bits of top long double before squaring
10125 exponent.
10126 * math/libm-test.inc (erfc_test): Add more tests.
10127 * sysdeps/i386/fpu/libm-test-ulps: Update.
10128 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10130
f775c276
KT
101312012-03-01 Kai Tietz <ktietz@redhat.com>
10132
10133 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10134 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10135 containing bit-fields.
10136 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10137 * soft-fp/single.h (_FP_UNION_S): Likewise.
10138 * soft-fp/double.h (_FP_UNION_D): Likewise.
10139
5b8a4d4a
JM
101402012-02-29 Joseph Myers <joseph@codesourcery.com>
10141
0bab47b6
JM
10142 [BZ #13786]
10143 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10144 not include ../strcmp.S.
10145 [USE_AS_STRNCASECMP_L]: Likewise.
10146 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10147 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10148 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10149 (__strncasecmp_l_ia32): Define as alias to
10150 __strncasecmp_l_nonascii.
10151
0fcad3e2
JM
10152 [BZ #5794]
10153 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10154 * sysdeps/i386/fpu/libm-test-ulps: Update.
10155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10156
5b8a4d4a
JM
10157 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10159
8fdceb2e
JL
101602012-02-29 Jeff Law <law@redhat.com>
10161
10162 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10163 out of bounds read.
10164
1f393a11
MP
101652012-02-29 Marek Polacek <polacek@redhat.com>
10166
10167 [BZ #13706]
10168 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10169 * elf/Makefile: Add rules to run tst-unused-dep.out.
10170
8847f037
DM
101712012-02-28 David S. Miller <davem@davemloft.net>
10172
10173 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10174 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10175 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10176 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10177 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10178 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10179
169d7f11
JM
101802012-02-29 Joseph Myers <joseph@codesourcery.com>
10181
10182 * math/libm-test.inc (llround_test): Move one test from
10183 lround_test. Use TEST_f_L in moved test.
10184 (lround_test): Move misplaced test to llround_test. Add testcase
10185 from bug 2561.
10186
39adf059
UD
101872012-02-28 Ulrich Drepper <drepper@gmail.com>
10188
10189 * sysdeps/x86_64/fpu/e_expf.S: New file.
10190 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10191
71b5d1c5
SB
101922012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10193
10194 [BZ #13637]
10195 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10196 of remain_len that may cause incomplete multi-byte character and
10197 false match.
10198 * posix/bug-regex33.c: New file.
10199 * posix/Makefile (tests): Add bug-regex33.
10200
1f77f049
JM
102012012-02-28 Joseph Myers <joseph@codesourcery.com>
10202
10203 * manual/macros.texi: New file.
10204 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10205 * manual/libc.texinfo: Include macros.texi.
10206 * manual/creatute.texi: Likewise.
10207 * manual/install.texi: Likewise.
10208 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10209 @glibcadj{} in references to the GNU C Library.
10210 * manual/charset.texi: Likewise.
10211 * manual/conf.texi: Likewise.
10212 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10213 when not using those macros.
10214 * manual/creature.texi: Likewise.
10215 * manual/crypt.texi: Likewise.
10216 * manual/errno.texi: Likewise.
10217 * manual/filesys.texi: Likewise.
10218 * manual/header.texi: Likewise.
10219 * manual/install.texi: Likewise.
10220 * manual/intro.texi: Likewise.
10221 * manual/io.texi: Likewise.
10222 * manual/job.texi: Likewise.
10223 * manual/lang.texi: Likewise.
10224 * manual/libc.texiinfo: Likewise.
10225 * manual/llio.texi: Likewise.
10226 * manual/locale.texi: Likewise.
10227 * manual/maint.texi: Likewise.
10228 * manual/math.texi: Likewise.
10229 * manual/memory.texi: Likewise.
10230 * manual/message.texi: Likewise.
10231 * manual/nss.texi: Likewise.
10232 * manual/pattern.texi: Likewise.
10233 * manual/process.texi: Likewise.
10234 * manual/resource.texi: Likewise.
10235 * manual/search.texi: Likewise.
10236 * manual/setjmp.texi: Likewise.
10237 * manual/signal.texi: Likewise.
10238 * manual/socket.texi: Likewise.
10239 * manual/startup.texi: Likewise.
10240 * manual/stdio.texi: Likewise.
10241 * manual/string.texi: Likewise.
10242 * manual/sysinfo.texi: Likewise.
10243 * manual/syslog.texi: Likewise.
10244 * manual/terminal.texi: Likewise.
10245 * manual/time.texi: Likewise.
10246 * manual/users.texi: Likewise.
10247 * INSTALL: Regenerated.
10248 * NOTES: Regenerated.
d40c5d54 10249 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10250
450bf206
AS
102512012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10252
10253 * include/dirent.h: Include <dirstream.h> before
10254 <dirent/dirent.h>.
10255
741a235b
DM
102562012-02-28 David S. Miller <davem@davemloft.net>
10257
10258 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10259 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10260 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10261 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10262
d6b5aa58
DM
102632012-02-27 David S. Miller <davem@davemloft.net>
10264
1aff59a3
DM
10265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10267 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10268 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10269
d6b5aa58
DM
10270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10271 frame pointer instead of stack pointer relative arg slot.
10272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10273 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10274 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10275
433f48bf
CD
102762012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10277
10278 [BZ #3992]
10279 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10280
d674b76d
DM
102812012-02-27 David S. Miller <davem@davemloft.net>
10282
10283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10287 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10288 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10289 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10290 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10291
0e7727f7
JM
102922012-02-27 Joseph Myers <joseph@codesourcery.com>
10293
10294 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10295 later. Allow versions 5-9.
43be4ca2 10296 * configure: Regenerated.
0e7727f7
JM
10297 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10298 required minimum version and 4.6 as recommended version. Do not
10299 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10300 * INSTALL: Regenerated.
0e7727f7 10301
a78bc654
DM
103022012-02-27 David S. Miller <davem@davemloft.net>
10303
428d5830
DM
10304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10308 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10309 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10310 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10311 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10312
a78bc654
DM
10313 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10314 manipulate bits before adding and subtracting TWO112[sx].
10315 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10316
4579f81c
RM
103172012-02-27 Roland McGrath <roland@hack.frob.com>
10318
36c8acb4
RM
10319 [BZ #13775]
10320 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10321 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10322 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10323 being in POSIX, because they are in 1003.1-2008.
10324
84ad622b
RM
10325 * rt/tst-aio.c: Include <fcntl.h>.
10326 * rt/tst-aio7.c: Likewise.
10327 * rt/tst-aio64.c: Likewise.
10328
4579f81c
RM
10329 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10330
abd923db
JM
103312012-02-27 Joseph Myers <joseph@codesourcery.com>
10332
10333 * manual/install.texi (--with-headers): Describe headers as
10334 interface headers, not private headers.
10335 (Specific advice for GNU/Linux systems): Describe use of headers
10336 from "make headers_install", not private headers from older
10337 kernels.
43be4ca2 10338 * INSTALL: Regenerated.
abd923db
JM
10339 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10340 Change to 2.6.19.
10341 * sysdeps/unix/sysv/linux/configure: Regenerated.
10342
6664049b
JM
10343 * manual/llio.texi (fclean): Remove documentation.
10344
bb8b6697
JM
10345 * manual/Makefile (libc-texi-generated): New variable. Include
10346 version.texi.
10347 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10348 $(libc-texi-generated), not duplicated list of files.
10349 (version.texi, stamp-version): New rules.
10350 (realclean): Remove $(libc-texi-generated), not individual files
10351 from that list. Do not remove dir-add.texinfo.
10352 * manual/libc.texinfo: Comment out uses of edition numbers and
10353 references to printed manual. Remove last-updated dates.
10354 (EDITION): Comment out.
10355 (ISBN): Likewise.
10356 (VERSION, UPDATED): Remove.
10357 (version.texi): Include.
10358
12e5c3b9
AS
103592012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10360
10361 * sysdeps/posix/spawni.c: Include <signal.h>.
10362 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10363 * sysdeps/pthread/aio_fsync.c: Likewise.
10364
4efeffc1 103652012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10366
ba63ba08
UD
10367 * conform/Makefile (tests): Run only when not cross-compiling and
10368 when fast-check is not defined.
10369
d94a4670
UD
10370 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10371 * conform/data/limits.h-data: Fixes for POSIX2008.
10372 * conform/run-conformtest.sh: Run all tests.
10373 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10374 headers.
10375 * include/bits/dlfcn.h: Likewise.
10376 * include/langinfo.h: Likewise.
10377 * include/monetary.h: Likewise.
10378 * include/sys/poll.h: Likewise.
10379
10380 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10381 for __USE_GNU.
10382 * posix/spawn.h: Define __need_sigset_t.
10383 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10384 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10385 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10386 to get sigevent_t only.
10387 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10388 only for __USE_GNU.
10389 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10390 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10391 process_vm_writev only for __USE_GNU.
10392 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10393
10394 * conform/Makefile: For now ignore errors from run-conformtest.
10395 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10396 POSIX to avoid namespace pollution. Don't prepend headers.
10397 * conform/data/aio.h-data: Fixes for POSIX testing.
10398 * conform/data/fcntl.h-data: Likewise.
10399 * conform/data/glob.h-data: Likewise.
10400 * conform/data/grp.h-data: Likewise.
10401 * conform/data/pthread.h-data: Likewise.
10402 * conform/data/pwd.h-data: Likewise.
10403 * conform/data/signal.h-data: Likewise.
10404 * conform/data/spawn.h-data: Likewise.
10405 * conform/data/stdio.h-data: Likewise.
10406 * conform/data/stdlib.h-data: Likewise.
10407 * conform/data/stropts.h-data: Likewise.
10408 * conform/data/sys/mman.h-data: Likewise.
10409 * conform/data/sys/stat.h-data: Likewise.
10410 * conform/data/sys/types.h-data: Likewise.
10411 * conform/data/sys/wait.h-data: Likewise.
10412 * conform/data/time.h-data: Likewise.
10413 * conform/data/unistd.h-data: Likewise.
10414 * conform/data/utime.h-data: Likewise.
10415
10416 * io/sys/stat.h: fchmod was always in POSIX.
10417 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10418 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10419 * rt/aio.h: Define __need_timespec before including <time.h>.
10420 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10421 struct. Add forward declaration of pthread_attr_t and use it in
10422 sigevent.
10423 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10424 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10425 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10426 always remove CLK_TCK definition.
10427
c20105c3
AS
104282012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10429
10430 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10431
7a270350
UD
104322012-02-25 Ulrich Drepper <drepper@gmail.com>
10433
31341567
UD
10434 * conform/run-conformtest.sh: New file.
10435 * conform/Makefile: Run run-conformtest for tests.
10436 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10437 support.
10438
10439 * conform/data/uchar.h-data: New file.
10440 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10441 * conform/data/arpa/inet.h-data: Likewise.
10442 * conform/data/assert.h-data: Likewise.
10443 * conform/data/complex.h-data: Likewise.
10444 * conform/data/cpio.h-data: Likewise.
10445 * conform/data/ctype.h-data: Likewise.
10446 * conform/data/dirent.h-data: Likewise.
10447 * conform/data/dlfcn.h-data: Likewise.
10448 * conform/data/errno.h-data: Likewise.
10449 * conform/data/fcntl.h-data: Likewise.
10450 * conform/data/float.h-data: Likewise.
10451 * conform/data/fmtmsg.h-data: Likewise.
10452 * conform/data/fnmatch.h-data: Likewise.
10453 * conform/data/ftw.h-data: Likewise.
10454 * conform/data/glob.h-data: Likewise.
10455 * conform/data/grp.h-data: Likewise.
10456 * conform/data/iconv.h-data: Likewise.
10457 * conform/data/inttypes.h-data: Likewise.
10458 * conform/data/langinfo.h-data: Likewise.
10459 * conform/data/libgen.h-data: Likewise.
10460 * conform/data/limits.h-data: Likewise.
10461 * conform/data/locale.h-data: Likewise.
10462 * conform/data/math.h-data: Likewise.
10463 * conform/data/monetary.h-data: Likewise.
10464 * conform/data/mqueue.h-data: Likewise.
10465 * conform/data/ndbm.h-data: Likewise.
10466 * conform/data/net/if.h-data: Likewise.
10467 * conform/data/netdb.h-data: Likewise.
10468 * conform/data/netinet/in.h-data: Likewise.
10469 * conform/data/nl_types.h-data: Likewise.
10470 * conform/data/poll.h-data: Likewise.
10471 * conform/data/pthread.h-data: Likewise.
10472 * conform/data/pwd.h-data: Likewise.
10473 * conform/data/regex.h-data: Likewise.
10474 * conform/data/sched.h-data: Likewise.
10475 * conform/data/search.h-data: Likewise.
10476 * conform/data/semaphore.h-data: Likewise.
10477 * conform/data/setjmp.h-data: Likewise.
10478 * conform/data/signal.h-data: Likewise.
10479 * conform/data/spawn.h-data: Likewise.
10480 * conform/data/stdarg.h-data: Likewise.
10481 * conform/data/stdio.h-data: Likewise.
10482 * conform/data/stdlib.h-data: Likewise.
10483 * conform/data/string.h-data: Likewise.
10484 * conform/data/strings.h-data: Likewise.
10485 * conform/data/stropts.h-data: Likewise.
10486 * conform/data/sys/ipc.h-data: Likewise.
10487 * conform/data/sys/mman.h-data: Likewise.
10488 * conform/data/sys/msg.h-data: Likewise.
10489 * conform/data/sys/resource.h-data: Likewise.
10490 * conform/data/sys/select.h-data: Likewise.
10491 * conform/data/sys/sem.h-data: Likewise.
10492 * conform/data/sys/shm.h-data: Likewise.
10493 * conform/data/sys/socket.h-data: Likewise.
10494 * conform/data/sys/stat.h-data: Likewise.
10495 * conform/data/sys/statvfs.h-data: Likewise.
10496 * conform/data/sys/time.h-data: Likewise.
10497 * conform/data/sys/timeb.h-data: Likewise.
10498 * conform/data/sys/times.h-data: Likewise.
10499 * conform/data/sys/types.h-data: Likewise.
10500 * conform/data/sys/uio.h-data: Likewise.
10501 * conform/data/sys/un.h-data: Likewise.
10502 * conform/data/sys/utsname.h-data: Likewise.
10503 * conform/data/sys/wait.h-data: Likewise.
10504 * conform/data/syslog.h-data: Likewise.
10505 * conform/data/tar.h-data: Likewise.
10506 * conform/data/termios.h-data: Likewise.
10507 * conform/data/utime.h-data: Likewise.
10508 * conform/data/utmpx.h-data: Likewise.
10509 * conform/data/varargs.h-data: Likewise.
10510 * conform/data/wchar.h-data: Likewise.
10511 * conform/data/wctype.h-data: Likewise.
10512 * conform/data/wordexp.h-data: Likewise.
10513
10514 * include/stropts.h: New file.
10515 * include/uchar.h: New file.
10516 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10517 * include/assert.h: Likewise.
10518 * include/ctype.h: Likewise.
10519 * include/dirent.h: Likewise.
10520 * include/dlfcn.h: Likewise.
10521 * include/fcntl.h: Likewise.
10522 * include/fnmatch.h: Likewise.
10523 * include/glob.h: Likewise.
10524 * include/grp.h: Likewise.
10525 * include/libio.h: Likewise.
10526 * include/locale.h: Likewise.
10527 * include/math.h: Likewise.
10528 * include/net/if.h: Likewise.
10529 * include/netdb.h: Likewise.
10530 * include/netinet/in.h: Likewise.
10531 * include/pthread.h: Likewise.
10532 * include/pwd.h: Likewise.
10533 * include/regex.h: Likewise.
10534 * include/sched.h: Likewise.
10535 * include/search.h: Likewise.
10536 * include/setjmp.h: Likewise.
10537 * include/signal.h: Likewise.
10538 * include/stdio.h: Likewise.
10539 * include/stdlib.h: Likewise.
10540 * include/string.h: Likewise.
10541 * include/sys/cdefs.h: Likewise.
10542 * include/sys/mman.h: Likewise.
10543 * include/sys/msg.h: Likewise.
10544 * include/sys/resource.h: Likewise.
10545 * include/sys/select.h: Likewise.
10546 * include/sys/socket.h: Likewise.
10547 * include/sys/stat.h: Likewise.
10548 * include/sys/statvfs.h: Likewise.
10549 * include/sys/time.h: Likewise.
10550 * include/sys/times.h: Likewise.
10551 * include/sys/uio.h: Likewise.
10552 * include/sys/utsname.h: Likewise.
10553 * include/sys/wait.h: Likewise.
10554 * include/termios.h: Likewise.
10555 * include/time.h: Likewise.
10556 * include/ulimit.h: Likewise.
10557 * include/unistd.h: Likewise.
10558 * include/utime.h: Likewise.
10559 * include/wchar.h: Likewise.
10560 * include/wctype.h: Likewise.
10561 * include/wordexp.h: Likewise.
10562
10563 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10564
7a270350
UD
10565 * time/time.h: TIME_UTC must be a macro.
10566 Make timespec_get available for ISO C11 only as well.
10567
7724defc
UD
105682012-02-24 Ulrich Drepper <drepper@gmail.com>
10569
10570 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10571 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10572
6b1d1d46
JM
105732012-02-24 Joseph Myers <joseph@codesourcery.com>
10574
10575 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10576
0f8bbd69
JM
105772012-02-24 Joseph Myers <joseph@codesourcery.com>
10578
10579 * manual/texinfo.tex: Update to version 2012-01-19.16.
10580
66ab80bc
JM
105812012-02-24 Joseph Myers <joseph@codesourcery.com>
10582
10583 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10584
74981cc5
RM
105852012-02-24 Roland McGrath <roland@hack.frob.com>
10586
ee968201
RM
10587 [BZ #13738]
10588 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10589 * manual/fdl-1.3.texi: New file.
10590 * manual/fdl-1.1.texi: File removed.
10591
74981cc5
RM
10592 [BZ #13738]
10593 * manual/libc.texinfo (FDL_VERSION): New @set.
10594 Use it for mention of FDL in cover text.
10595 (Documentation License): Use it in @include file name.
10596
7bb764bc
JM
105972012-02-22 Joseph Myers <joseph@codesourcery.com>
10598 Roland McGrath <roland@hack.frob.com>
10599
10600 [BZ #5461]
10601 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10602 not LONG_LONG_MAX and LONG_LONG_MIN.
10603 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10604 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10605 name.
10606 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10607
6cbeae47
JM
106082012-02-22 Joseph Myers <joseph@codesourcery.com>
10609
10610 [BZ #2547]
10611 [BZ #11365]
10612 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10613 manipulate bits before adding and subtracting TWO23[sx].
10614 * math/libm-test.inc (nearbyint_test): Add more tests.
10615
fe45ce09
JM
106162012-02-22 Joseph Myers <joseph@codesourcery.com>
10617
10618 [BZ #2548]
10619 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10620 bits before adding and subtracting TWO23[sx].
10621 * math/libm-test.inc (rint_test): Add more tests.
10622 (rint_test_tonearest): Likewise.
10623 (rint_test_towardzero): Likewise.
10624 (rint_test_downward): Likewise.
10625 (rint_test_upward: Likewise.
10626
ff3b3d82
JM
106272012-02-22 Joseph Myers <joseph@codesourcery.com>
10628
10629 [BZ #10110]
10630 * include/stdc-predef.h: New file. Extracted from features.h.
10631 * include/features.h: Include stdc-predef.h.
10632 * Makefile (headers): Add stdc-predef.h.
10633 * CONFORMANCE (Compiler limitations): Update.
10634
ef0aab35
JM
106352012-02-22 Joseph Myers <joseph@codesourcery.com>
10636
10637 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10638
58639409
DM
106392012-02-21 David S. Miller <davem@davemloft.net>
10640
10641 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10642 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10643
c0e70b25
DM
106442012-02-20 David S. Miller <davem@davemloft.net>
10645
10646 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10647 using a normal save/restore sequence, rather than allocating a
10648 dummy stack frame just to store a frame pointer and restore.
10649 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10650
fb06851d
JM
106512012-02-21 Joseph Myers <joseph@codesourcery.com>
10652
10653 * manual/install.texi: Fix stray word in line-wrapped comment.
10654
7a8b71c3
DM
106552012-02-20 David S. Miller <davem@davemloft.net>
10656
d510c123
DM
10657 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10658 both binutils and gcc support GOTDATA.
10659
0722d7c2
DM
10660 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10661 "rd %pc" in the PIC register setup sequences.
10662
3d2b3019
DM
10663 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10664 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10665 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10666 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10667 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10668 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10669 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10670 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10671 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10672 (SYSCALL_ERROR_HANDLER): Likewise.
10673 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10674 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10675 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10676 (SYSCALL_ERROR_HANDLER): Likewise.
10677
c80098a9
DM
10678 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10679 (HAVE_GCC_GOTDATA): New.
10680 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10681 relocation support in both binutils and gcc.
10682 * sysdeps/sparc/elf/configure: Regenerate.
10683
3a2545a0
DM
10684 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10685 * sysdeps/sparc/sparc32/elf/configure: Delete.
10686 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10687 * sysdeps/sparc/sparc64/elf/configure: Delete.
10688 * sysdeps/sparc/elf/configure.in: New file.
10689 * sysdeps/sparc/elf/configure: Generate.
10690
7a8b71c3
DM
10691 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10692 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10693 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10694 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10695 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10696
f1e86fca
JM
106972012-02-21 Joseph Myers <joseph@codesourcery.com>
10698
10699 * manual/install.texi: Do not mention specific glibc version
10700 numbers.
10701 * manual/libc.texinfo (VERSION, UPDATED): Update.
10702 (@copying): Use @copyright{} and range of years.
10703
0e7dfaef
JM
107042012-02-21 Joseph Myers <joseph@codesourcery.com>
10705
10706 [BZ #13695]
10707 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10708 [crti.S not in sysdirs] (generated): Do not append.
10709 [crti.S not in sysdirs] (omit-deps): Likewise.
10710 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10711 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10712 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10713 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10714 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10715 Likewise.
10716 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10717 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10718 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10719 * csu/defs.awk: Remove file.
10720 * sysdeps/generic/initfini.c: Likewise.
10721 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10722 variable.
10723 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10724 Likewise.
10725
599af3ca
JM
107262012-02-20 Joseph Myers <joseph@codesourcery.com>
10727
10728 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10729 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10730 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10731 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10732 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10733 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10734 <bits/epoll.h>.
10735 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10736 (__EPOLL_PACKED): Define to empty if not defined by
10737 <bits/epoll.h>.
10738 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10740 bits/epoll.h.
10741
0e499750
JM
107422012-02-20 Joseph Myers <joseph@codesourcery.com>
10743
10744 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10745 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10746 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10747 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10748 <bits/timerfd.h>.
10749 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10750 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10751 bits/timerfd.h.
10752
5ad91f6e
JM
107532012-02-20 Joseph Myers <joseph@codesourcery.com>
10754
10755 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10756 in C locale.
10757 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10758 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10759 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10761
06b99b02
AJ
107622012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10763
10764 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10765 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10766
7638c0fd
AS
107672012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10768
10769 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10770 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10771 defined.
10772 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10773 Likewise.
10774 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10775 entry for 2.16.
10776
92221550
AJ
107772012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10778
10779 * math/w_acos.c: Use non-signaling floating-point comparisons.
10780 * math/w_acosf.c: Likewise.
10781 * math/w_acosh.c: Likewise.
10782 * math/w_acoshf.c: Likewise.
10783 * math/w_acoshl.c: Likewise.
10784 * math/w_acosl.c: Likewise.
10785 * math/w_asin.c: Likewise.
10786 * math/w_asinf.c: Likewise.
10787 * math/w_asinl.c: Likewise.
10788 * math/w_atanh.c: Likewise.
10789 * math/w_atanhf.c: Likewise.
10790 * math/w_atanhl.c: Likewise.
10791 * math/w_exp2.c: Likewise.
10792 * math/w_exp2f.c: Likewise.
10793 * math/w_exp2l.c: Likewise.
10794 * math/w_j0.c: Likewise.
10795 * math/w_j0f.c: Likewise.
10796 * math/w_j0l.c: Likewise.
10797 * math/w_j1.c: Likewise.
10798 * math/w_j1f.c: Likewise.
10799 * math/w_j1l.c: Likewise.
10800 * math/w_jn.c: Likewise.
10801 * math/w_jnf.c: Likewise.
10802 * math/w_log.c: Likewise.
10803 * math/w_log10.c: Likewise.
10804 * math/w_log10f.c: Likewise.
10805 * math/w_log10l.c: Likewise.
10806 * math/w_log2.c: Likewise.
10807 * math/w_log2f.c: Likewise.
10808 * math/w_log2l.c: Likewise.
10809 * math/w_logf.c: Likewise.
10810 * math/w_logl.c: Likewise.
10811 * math/w_sqrt.c: Likewise.
10812 * math/w_sqrtf.c: Likewise.
10813 * math/w_sqrtl.c: Likewise.
10814 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10815 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10816 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10817 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10818 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10819
ebaf36eb
JM
108202012-02-19 Joseph Myers <joseph@codesourcery.com>
10821
10822 [BZ #9739]
10823 * manual/string.texi (strnlen): Use correct parameter name in
10824 equivalent expression.
10825
71c254a6
JM
108262012-02-19 Joseph Myers <joseph@codesourcery.com>
10827
10828 [BZ #11174]
10829 * manual/users.texi (seteuid): Consistently use neweuid for
10830 argument name.
10831
16d2c631
JM
108322012-02-19 Joseph Myers <joseph@codesourcery.com>
10833
10834 [BZ #13704]
10835 * manual/nss.texi (Services in the NSS configuration): Correct
10836 list of services in example configuration file.
10837
cd837b09
NB
108382012-02-19 Nick Bowler <nbowler@draconx.ca>
10839
10840 [BZ #11322]
10841 * manual/arith.texi: Remove statements about negative zero
10842 behaving identically to zero.
10843
02c4bbad
JM
108442012-02-18 Joseph Myers <joseph@codesourcery.com>
10845
10846 [BZ #5993]
10847 * manual/install.texi: Do not document upgrading from libc5.
10848
366842e7
JM
108492012-02-18 Joseph Myers <joseph@codesourcery.com>
10850
10851 [BZ #4596]
10852 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10853
dd54084d
DM
108542012-02-18 David S. Miller <davem@davemloft.net>
10855
10856 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10857 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10858 %o7 across the call.
10859 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10860 instead.
10861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10862 SETUP_PIC_REG_LEAF.
10863 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10864 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10865 * sysdeps/sparc/crtn.S: Likewise.
10866
2bcc53a3
UD
108672012-02-17 Ulrich Drepper <drepper@gmail.com>
10868
10869 * aout/Makefile: Remove.
10870
09c093b5
RK
108712012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10872
10873 [BZ #13058]
10874 * manual/examples/argp-ex1.c (main): Format definition in GNU
10875 style.
10876 * manual/examples/argp-ex2.c (main): Likewise.
10877 * manual/examples/argp-ex3.c (main): Likewise.
10878 * manual/examples/argp-ex4.c (main): Likewise.
10879 * manual/examples/longopt.c (main): Use new-style prototype
10880 definition.
10881 * manual/examples/strncat.c (main): Specify return type and use
10882 (void) for arguments.
10883 * manual/examples/subopt.c (main): Use char **argv argument.
10884
2ee633a2
JM
108852012-02-17 Joseph Myers <joseph@codesourcery.com>
10886
10887 [BZ #5077]
10888 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10889 rounding modes.
10890
0520adde
FB
108912012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10892
10893 [BZ #6907]
10894 * manual/string.texi (strchr): Change when strchrnul is
10895 recommended.
10896
3f4081cd
DGM
108972012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10898
10899 [BZ #174]
10900 * manual/locale.texi (setlocale): Document LOCPATH.
10901
d1b10e78
JM
109022012-02-17 Joseph Myers <joseph@codesourcery.com>
10903
10904 [BZ #10210]
10905 * manual/process.texi (execle): Move @dots{} before last argument.
10906
79c6869c
PB
109072012-02-17 Paul Bolle <pebolle@tiscali.nl>
10908
10909 [BZ #12047]
10910 * manual/charset.texi (Generic Charset Conversion): Fix typo
10911 (LC_TYPE -> LC_CTYPE).
10912
cc6e48bc
NB
109132012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10914
10915 [BZ #5805]
10916 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10917 (scalbnf): Likewise.
10918 (scalbnl): Likewise.
10919 (scalbln): Likewise.
10920 (scalblnf): Likewise.
10921 (scalblnl): Likewise.
10922 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10923 (vwarnx): Likewise.
10924 (verr): Likewise.
10925 (verrx): Likewise.
10926 * manual/filesys.texi (telldir): Use braces around return type.
10927 * manual/llio.texi (mmap): Add space after comma.
10928 (mmap64): Likewise.
10929 * manual/math.texi (jn): Use @var{} on parameter names.
10930 (jnf): Likewise.
10931 (jnl): Likewise.
10932 (yn): Likewise.
10933 (ynf): Likewise.
10934 (ynl): Likewise.
10935 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10936 line.
10937 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10938 "...".
10939 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10940 (sched_get_priority_max): Likewise.
10941 * manual/signal.texi (sigvec): Add space after comma.
10942 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10943 names.
10944 (if_indextoname): Likewise.
10945 (if_freenameindex): Likewise.
10946 (sendto): Use ',' instead of '.' in prototype.
10947 * manual/startup.texi (syscall): Use @dots{} instead of literal
10948 "...".
10949 * manual/stdio.texi (__fpending): Separate initial words of
10950 paragraph from @deftypefun line.
10951 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10952 "...".
10953 (vsyslog): Use @var{} on parameter names.
10954 * manual/terminal.texi (stty): Use @var{} on parameter names.
10955 * manual/users.texi (getutmp): Use @var{} on parameter names.
10956 (getutmpx): Likewise.
10957
5b23062f
JM
109582012-02-17 Joseph Myers <joseph@codesourcery.com>
10959
10960 [BZ #6884]
10961 * manual/stdio.texi (fopen): Fix typos in description of
10962 ",ccs=STRING".
10963
8dee4833
AJ
109642012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10965
10966 [BZ #4026]
10967 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10968 get clock_id definition.
10969
9078ce93
TS
109702012-02-17 Thomas Schwinge <thomas@schwinge.name>
10971
10972 [BZ #4822]
10973 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10974 (madvise): Cast every argument to void on its own.
10975
3835c55f
JM
109762012-02-17 Joseph Myers <joseph@codesourcery.com>
10977
10978 [BZ #9902]
10979 * manual/startup.texi (Exit Status): Fix typo.
10980
35c47e37
JM
109812012-02-17 Joseph Myers <joseph@codesourcery.com>
10982
10983 [BZ #10140]
10984 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10985 * manual/examples/argp-ex2.c: Likewise.
10986 * manual/examples/argp-ex3.c: Likewise.
10987
e3b69ca7
RH
109882012-02-16 Richard Henderson <rth@redhat.com>
10989
10990 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10991 * sysdeps/s390/s390-32/initfini.c: Remove.
10992 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10993 * sysdeps/s390/s390-64/initfini.c: Remove.
10994
df83af67
KK
109952012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10996
10997 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10998 compiler output for sysdeps/generic/initfini.c.
10999 * sysdeps/sh/elf/initfini.c: Remove file.
11000
f63f3380
DM
110012012-02-16 David S. Miller <davem@davemloft.net>
11002
fb59b3a4
DM
11003 [BZ #11494]
11004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11005
f63f3380
DM
11006 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11007 * sysdeps/sparc/crti.S: New file.
11008 * sysdeps/sparc/crtn.S: New file.
11009 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11010 * sysdeps/sparc/sparc64/Makefile: Likewise.
11011
df6a4a4a
MF
110122012-02-15 Mike Frysinger <vapier@gentoo.org>
11013
6dd8f3dc 11014 [BZ #3335]
df6a4a4a
MF
11015 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11016
1cac7236
RM
110172012-02-15 Roland McGrath <roland@hack.frob.com>
11018
d2c736f8
RM
11019 [BZ #4822]
11020 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11021
1cac7236
RM
11022 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11023 (write, read, close): Likewise.
11024 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11025
8e475601
JM
110262012-02-15 Joseph Myers <joseph@codesourcery.com>
11027
11028 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11029 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11030 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11031 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11032 <bits/signalfd.h>.
11033 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11035 bits/signalfd.h.
11036
ed656b40
MP
110372012-02-14 Marek Polacek <polacek@redhat.com>
11038
11039 * sysdeps/x86_64/crti.S: New file.
11040 * sysdeps/x86_64/crtn.S: New file.
11041 * sysdeps/x86_64/elf/initfini.c: Remove file.
11042
2a979d3a
JM
110432012-02-13 Joseph Myers <joseph@codesourcery.com>
11044
11045 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11046 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11047 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11048 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11049 <bits/inotify.h>.
11050 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11051 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11052 bits/inotify.h.
11053
2a418ac3
JM
110542012-02-13 Joseph Myers <joseph@codesourcery.com>
11055
11056 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11057 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11058 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11059 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11060 <bits/eventfd.h>.
11061 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11063 bits/eventfd.h.
11064
fb779be7
TS
110652012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11066
e19e83c5
RM
11067 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11068 __feraiseexcept instead of feraiseexcept.
7c35ffed 11069
fb779be7
TS
11070 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11071 nanosleep invocations.
11072 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11073 strings, and add error checking for a nanosleep invocations.
11074
59ba27a6
PE
110752012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11076
11077 Replace FSF snail mail address with URLs, as per GNU coding standards.
11078 Most of the snail mail addresses were wrong anyway, and omitting
11079 them makes the source code easier to maintain. Almost all of the
11080 changes are to license notices and to locale LC_IDENTIFICATION
11081 addresses, except for this one:
11082 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11083 not its snail mail address.
11084
57b957eb
RH
110852012-02-09 Richard Henderson <rth@twiddle.net>
11086
af850b1c
RH
11087 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11088 of kernel-features.h.
11089
57b957eb
RH
11090 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11091
6b73181a
MP
110922012-02-08 Marek Polacek <polacek@redhat.com>
11093
11094 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11095 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11096 * sysdeps/gnu/_G_config.h: Likewise.
11097 * sysdeps/generic/_G_config.h: Likewise.
11098
26ecc33a
AS
110992012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11100
6c6dbc63
AS
11101 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11102 tests.
11103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11104
e216c012
AS
11105 * sysdeps/powerpc/powerpc32/crti.S: New file.
11106 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11107 * sysdeps/powerpc/powerpc64/crti.S: New file.
11108 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11109
26ecc33a
AS
11110 * Makeconfig (have-initfini): Don't set.
11111 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11112 * configure.in (nopic_initfini): Don't substitute.
11113 * config.h.in (HAVE_INITFINI): Don't #undef.
11114 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11115 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11116
3add8e13
JM
111172012-02-08 Joseph Myers <joseph@codesourcery.com>
11118
11119 Support crti.S and crtn.S provided directly by architectures.
11120 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11121 [crti.S in sysdirs] (omit-deps): Likewise.
11122 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11123 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11124 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11125 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11126 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11127 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11128 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11129 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11130 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11131 compiler output for sysdeps/generic/initfini.c.
11132 * sysdeps/i386/elf/Makefile: Remove file.
11133 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11134
a22f12b4
MP
111352012-02-07 Marek Polacek <polacek@redhat.com>
11136
11137 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11138 * sysdeps/gnu/_G_config.h: Likewise.
11139 * sysdeps/mach/hurd/_G_config.h: Likewise.
11140
148cf100
MP
111412012-02-07 Marek Polacek <polacek@redhat.com>
11142
11143 * math/Makefile (tests): Add tst-CMPLX2.
11144 * math/tst-CMPLX2.c: New file.
11145
cfdc0dd7
AS
111462012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11147
84ba42c4
AS
11148 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11149
cfdc0dd7
AS
11150 * math/libm-test.inc (jn_test): Add missing L suffix.
11151
622c86f4
MP
111522012-02-06 Marek Polacek <polacek@redhat.com>
11153
11154 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11155 * sysdeps/i386/fpu/e_powf.S: Likewise.
11156 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11157 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11158 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11159 * sysdeps/i386/fpu/e_pow.S: Likewise.
11160 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11161 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11162 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11163 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11164 * sysdeps/i386/fpu/e_log2.S: Likewise.
11165 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11166 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11167 * sysdeps/i386/fpu/e_powl.S: Likewise.
11168 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11169 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11170 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11171 * sysdeps/i386/fpu/e_logl.S: Likewise.
11172 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11173 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11174 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11175 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11176 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11177 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11178 * sysdeps/i386/fpu/e_log.S: Likewise.
11179 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11180 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11181 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11182 * sysdeps/i386/fpu/e_logf.S: Likewise.
11183 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11184 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11185 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11186 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11187 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11188 * sysdeps/i386/fpu/e_log10.S: Likewise.
11189 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11190 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11191 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11192 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11193 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11194 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11195 * sysdeps/i386/asm-syntax.h: Likewise.
11196 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11197 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11198 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11199 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11200 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11201 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11202 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11203 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11204 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11205 * sysdeps/powerpc/sysdep.h: Likewise.
11206 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11207 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11208
d4a54ac6
JM
112092012-02-06 Joseph Myers <joseph@codesourcery.com>
11210
11211 [BZ #411]
11212 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11213
314054ea
JM
112142012-02-06 Joseph Myers <joseph@codesourcery.com>
11215
11216 * sysdeps/i386/sysdep.h: Include <features.h>.
11217 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11218 version.
11219
d8e0ca50
JM
112202012-02-05 Joseph Myers <joseph@codesourcery.com>
11221
11222 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11223 Define.
11224 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11225 LOAD_PIC_REG_STR.
11226
b1da7dd9
JM
112272012-02-03 Joseph Myers <joseph@codesourcery.com>
11228
11229 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11230 (SETUP_PIC_REG): Use GET_PC_THUNK.
11231 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11232 macro.
11233
9a1d9254
JM
112342012-02-03 Joseph Myers <joseph@codesourcery.com>
11235
11236 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11237 for non-PIC compilation.
11238 (SETUP_PIC_REG): Add .p2align directive.
11239 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11240 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11241 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11242 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11243 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11244 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11245 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11246 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11247 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11248 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11249 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11250 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11251 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11252 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11253 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11254 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11255 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11256 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11257 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11258 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11259 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11260 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11261 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11262 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11263 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11264 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11265 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11266 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11267 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11268 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11269 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11270 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11271 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11272 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11273 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11274 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11275 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11276 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11277 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11278 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11279 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11280
65dc3b75
JM
112812012-02-03 Joseph Myers <joseph@codesourcery.com>
11282
11283 * math/tst-CMPLX.c: Include <stdio.h>.
11284
d55bf177
JM
112852012-01-31 Joseph Myers <joseph@codesourcery.com>
11286
11287 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11288 float.
11289 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11290 * sysdeps/sparc/bits/mathdef.h: Likewise.
11291
69db4f8f
MP
112922012-01-31 Marek Polacek <polacek@redhat.com>
11293
11294 * libio/libio.h: Don't define _PARAMS.
11295 * locale/programs/config.h: Don't define PARAMS.
11296 * stdlib/strtol_l.c: Likewise.
11297 (__strtol_l): Remove PARAMS from the prototype.
11298
41b81892
UD
112992012-01-31 Ulrich Drepper <drepper@gmail.com>
11300
3b49edc0
UD
11301 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11302 names. Just use the correct names. Remove unnecessary wrapper
11303 functions.
11304 * malloc/arena.c: Likewise.
11305 * malloc/hooks.c: Likewise.
11306
41b81892
UD
11307 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11308 ARENA_TEST says not to. Simplify test for creation of a new arena.
11309 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11310
27a25b6e
UD
113112012-01-30 Ulrich Drepper <drepper@gmail.com>
11312
11313 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11314 into tail calls.
11315 (update_get_addr): New function.
11316 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11317 GET_ADDR_MODULE parameter.
11318
c8a89e7d
JM
113192012-01-30 Joseph Myers <joseph@codesourcery.com>
11320
11321 * crypt/cert.c: Remove __STDC__ conditionals.
11322 * crypt/crypt-entry.c: Likewise.
11323 * crypt/crypt_util.c: Likewise.
11324 * libio/filedoalloc.c: Likewise.
11325 * libio/fileops.c: Likewise.
11326 * libio/genops.c: Likewise.
11327 * libio/iofclose.c: Likewise.
11328 * libio/iofdopen.c: Likewise.
11329 * libio/iofopen.c: Likewise.
11330 * libio/iofopen64.c: Likewise.
11331 * libio/iogetdelim.c: Likewise.
11332 * libio/iopopen.c: Likewise.
11333 * libio/obprintf.c: Likewise.
11334 * libio/oldfileops.c: Likewise.
11335 * libio/oldiofclose.c: Likewise.
11336 * libio/oldiofdopen.c: Likewise.
11337 * libio/oldiofopen.c: Likewise.
11338 * libio/oldiopopen.c: Likewise.
11339 * libio/wfiledoalloc.c: Likewise.
11340 * libio/wgenops.c: Likewise.
11341 * locale/programs/xmalloc.c: Likewise.
11342 * misc/syslog.c: Likewise.
11343 * stdio-common/xbug.c: Likewise.
11344 * string/memchr.c: Likewise.
11345 * string/memcmp.c: Likewise.
11346 * string/memrchr.c: Likewise.
11347 * string/rawmemchr.c: Likewise.
11348 * sysdeps/posix/getcwd.c: Likewise.
11349 * time/strftime_l.c: Likewise.
11350
3b100462
JM
113512012-01-30 Joseph Myers <joseph@codesourcery.com>
11352
11353 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11354 * config.make.in (config-cflags-sse2avx): Define.
11355 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11356 Fix typo.
11357
607998af
CM
113582012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11359
11360 * scripts/config.guess: Update from upstream config git repository.
11361 * scripts/config.sub: Likewise.
11362
3601428f
CM
113632012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11364
3ac8b282
CM
11365 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11366 (EM_NUM): Update.
11367 (R_TILEPRO_*, R_TILEGX_*): New macros.
11368
e034841e
CM
11369 * scripts/firstversions.awk: Fix bug in version range handling.
11370
540d7568
CM
11371 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11372
3601428f
CM
11373 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11374
463de862
CM
11375 * include/sys/epoll.h: New file.
11376 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11377 libc_hidden_def.
11378
73139a76
UD
113792012-01-28 Ulrich Drepper <drepper@gmail.com>
11380
96bc5b45
UD
11381 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11382 Avoid unnecessary __WORDSIZE == 64 test.
11383 (fmaxf): Use VEX format if possible.
11384 (fmax): Likewise.
11385 (fminf): Likewise.
11386 (fmin): Likewise.
11387
56f6f6a2
UD
11388 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11389 * math/math_private.h: Remove libc_fegetround* and
11390 libc_fesetround*.
11391 * sysdeps/i386/configure.in: Check for -msse2avx.
11392 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11393 also if SSE2AVX is defined.
11394 Remove libc_fegetround* and libc_fesetround*.
11395 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11396 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11397 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11398 of HAS_YMM_USABLE.
11399 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11400 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11401 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11402 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11403 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11404
73139a76
UD
11405 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11406
d73f93a4
AZ
114072012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11408
11409 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11410 size is not set.
11411 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11412
6ee65ed6
UD
114132012-01-27 Ulrich Drepper <drepper@gmail.com>
11414
11415 [BZ #13618]
11416 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11417 relocation.
11418 * Makeconfig (libm): Define.
11419 * elf/Makefile: Add rules to build and run tst-relsort1.
11420 * elf/tst-relsort1.c: New file.
11421 * elf/tst-relsort1mod1.c: New file.
11422 * elf/tst-relsort1mod2.c: New file.
11423
8db21882
JM
114242012-01-27 Joseph Myers <joseph@codesourcery.com>
11425
11426 * math/s_ldexp.c: Remove __STDC__ conditionals.
11427 * math/s_ldexpf.c: Likewise.
11428 * math/s_ldexpl.c: Likewise.
11429 * math/s_nextafter.c: Likewise.
11430 * math/s_nexttowardf.c: Likewise.
11431 * math/s_significand.c: Likewise.
11432 * math/s_significandf.c: Likewise.
11433 * math/s_significandl.c: Likewise.
11434 * math/w_jnl.c: Likewise.
11435 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11436 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11437 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11438 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11439 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11440 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11441 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11442 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11443 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11444 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11445 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11446 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11447 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11448 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11449 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11450 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11451 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11452 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11453 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11454 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11455 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11456 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11457 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11458 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11459 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11460 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11461 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11462 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11463 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11464 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11465 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11466 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11467 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11468 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11469 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11470 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11471 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11472 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11473 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11474 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11475 * sysdeps/ieee754/k_standard.c: Likewise.
11476 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11477 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11478 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11479 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11480 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11481 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11482 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11483 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11484 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11485 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11486 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11487 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11488 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11489 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11491 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11492 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11493 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11494 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11495 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11496 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11497 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11498 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11499 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11500 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11537 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11539 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11542 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11550 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11551 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11555 * sysdeps/ieee754/s_matherr.c: Likewise.
11556 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11557 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11558 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11559 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11560
965a54a4
JM
115612012-01-26 Joseph Myers <joseph@codesourcery.com>
11562
11563 * crypt/md5.h: Remove __STDC__ conditionals.
11564 * libio/libioP.h: Likewise.
11565 * locale/programs/config.h: Likewise.
11566 * sysdeps/generic/sysdep.h: Likewise.
11567 * sysdeps/i386/asm-syntax.h: Likewise.
11568 * sysdeps/s390/asm-syntax.h: Likewise.
11569 * sysdeps/unix/sysdep.h: Likewise.
11570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11572
7071ad79
JM
115732012-01-26 Joseph Myers <joseph@codesourcery.com>
11574
11575 * libio/libio.h: Remove __STDC__ conditionals.
11576 * malloc/obstack.h: Likewise.
11577 * math/complex.h: Likewise.
11578 * math/math.h: Likewise.
11579 * sysdeps/generic/_G_config.h: Likewise.
11580 * sysdeps/gnu/_G_config.h: Likewise.
11581 * sysdeps/mach/hurd/_G_config.h: Likewise.
11582 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11583 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11584 * sysdeps/sparc/bits/mathdef.h: Likewise.
11585
afc5ed09
UD
115862012-01-26 Ulrich Drepper <drepper@gmail.com>
11587
11588 [BZ #13583]
11589 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11590 Clean up HAS_* macros.
afc5ed09 11591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11592 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11593 possible.
11594 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11595 HAS_AVX.
11596 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11597 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11598 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11599 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11600 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11601
bdb6de1d
JM
116022012-01-25 Joseph Myers <joseph@codesourcery.com>
11603
11604 * elf/tst-unique3.cc (gets): Remove declaration.
11605 * elf/tst-unique3lib.cc (gets): Likewise.
11606 * elf/tst-unique3lib2.cc (gets): Likewise.
11607 * elf/tst-unique4.cc (gets): Likewise.
11608
b15549e6
UD
116092012-01-24 Ulrich Drepper <drepper@gmail.com>
11610
11611 * include/stdio.h: Add C++ protection. Add gets declarations and
11612 definitions.
11613 * debug/tst-chk1.c: Don't declare gets here.
11614 * stdio-common/tst-gets.c: Likewise.
11615
a037381f
JM
116162012-01-24 Joseph Myers <joseph@codesourcery.com>
11617
11618 * posix/glob: Remove directory.
11619
f1d4aa75
JM
116202012-01-24 Joseph Myers <joseph@codesourcery.com>
11621
11622 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11623
81c0c964
PT
116242012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11625
11626 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11627 of the non-standard EPFNOSUPPORT.
11628
0ea698ae
ST
116292011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11630
11631 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11632 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11633 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11634
d220b117
UD
116352012-01-21 Ulrich Drepper <drepper@gmail.com>
11636
11637 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11638
3e1aa84e
UD
116392012-01-20 Ulrich Drepper <drepper@gmail.com>
11640
11641 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11642 transient errors.
11643 * nscd/grpcache.c (cache_addgr): Likewise.
11644 * nscd/hstcache.c (cache_addhst): Likewise.
11645 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11646 * nscd/pwdcache.c (cache_addpw): Likewise.
11647 * nscd/servicescache.c (cache_addserv): Likewise.
11648
400aa020
UD
116492012-01-16 Ulrich Drepper <drepper@gmail.com>
11650
d77e7869
UD
11651 * malloc/malloc.c: Various cleanups.
11652 * malloc/hooks.c: Likewise.
11653
400aa020
UD
11654 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11655 * stdlib/bug-fmtmsg1.c: New file.
11656
11657 * stdlib/fmtmsg.c (init): Add missing unlock.
11658 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11659
e0a309cf
MP
116602012-01-12 Marek Polacek <polacek@redhat.com>
11661
11662 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11663 and _GNU_SOURCE.
11664
929d11c7
WS
116652012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11666
11667 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11668 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11669 macro to ensure uniqueness of label name.
11670 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11671 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11672
41d0e869
UD
116732012-01-11 Ulrich Drepper <drepper@gmail.com>
11674
0cc5ed3b
UD
11675 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11676
41d0e869
UD
11677 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11678 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11679 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11680 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11681
a47a831a
UD
116822012-01-10 Ulrich Drepper <drepper@gmail.com>
11683
daa891c0
UD
11684 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11685
11686 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11687 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11688 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11689
e58ef0f2
UD
11690 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11691
a47a831a 11692 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11693 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11694 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11695 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11696
11697 * math/bits/math-finite.h: Add ldexp support.
11698
a0bfc9c7
MP
116992012-01-10 Marek Polacek <polacek@redhat.com>
11700
11701 * locale/programs/localedef.h (show_archive_content): Add noreturn
11702 attribute.
11703
d6e97a1d
UD
117042012-01-09 Ulrich Drepper <drepper@gmail.com>
11705
11706 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11707
d5835c26
UD
117082012-01-08 Ulrich Drepper <drepper@gmail.com>
11709
e5f484c6
UD
11710 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11711
d5835c26
UD
11712 * io/Makefile (headers): Add bits/poll2.h.
11713
d1f741e9
WS
117142011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11715
11716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11717 typo #include statement.
11718
ec09c1c4
UD
117192012-01-08 Ulrich Drepper <drepper@gmail.com>
11720
11721 * include/sys/cdefs.h: Define __attribute_alloc_size.
11722 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11723 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11724 * elf/pldd.c: Likewise.
11725 * iconv/iconv_charmap.c: Likewise.
11726 * iconv/iconvconfig.c: Likewise.
11727 * iconv/strtab.c: Likewise.
11728 * locale/programs/locale.c: Likewise.
11729 * locale/programs/localedef.h: Likewise.
11730 * locale/programs/simple-hash.c: Likewise.
11731 * nscd/nscd.h: Likewise.
11732 * nss/makedb.c: Likewise.
11733 * sysdeps/generic/ldconfig.h: Likewise.
11734 * locale/programs/localedef.c: Remove xmalloc prototype.
11735 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11736
20b38e03
PP
117372012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11738
11739 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11740 appropriate.
11741
a0da5fe1
UD
117422012-01-08 Ulrich Drepper <drepper@gmail.com>
11743
1d5a644a 11744 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11745 * math/tst-CMPLX.c: New file.
1d5a644a 11746
8784a6db
UD
11747 * math/complex.h (CMPLXL): Fix typo.
11748
d9a216c0
UD
11749 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11750 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11751 GLIBC_2.16.
11752 * debug/tst-chk1.c: Add poll and ppoll tests.
11753 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11754 * include/sys/poll.h: Add hidden proto for ppoll.
11755 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11756 * sysdeps/mach/hurd/ppoll.c: Likewise.
11757 * io/ppoll.c: Likewise.
11758 * debug/poll_chk.c: New file.
11759 * debug/ppoll_chk.c: New file.
11760 * include/bits/poll2.h: New file.
11761 * io/bits/poll2.h: New file.
11762
ac097f5c
UD
11763 [BZ #1350]
11764 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11765
2119dcfa
UD
11766 * configure.in: static is always set to yes. Remove.
11767 * config.make.in: Don't set build-static.
11768 * Makeconfig: Remove use of build-static.
11769 * dlfcn/Makefile: Likewise.
11770 * elf/Makefile: Likewise.
11771 * math/Makefile: Likewise.
11772 * misc/Makefile: Likewise.
11773 * nptl/Makefile: Likewise.
11774 * sysdeps/mach/hurd/Makefile: Likewise.
11775
121766a9
UD
11776 * configure.in: PWD_P is not used anymore.
11777 * config.make.in: Remove PWD_P entry.
11778
51a1d39c 11779 * configure.in: Remove last remnants of RANLIB.
8720d066 11780 No need to check for signed size_t anymore.
215f4bdc
UD
11781 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11782 and IA-64.
3857022a 11783 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11784 * aclocal.m4: Likewise.
11785
d3ed7225
UD
11786 * wcsmbs/mbrtoc16.c: Implement using towc function.
11787 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11788 * wcsmbs/wcsmbsload.c: Likewise.
11789 * iconv/gconv_simple.c: Likewise.
11790 * iconv/gconv_int.h: Likewise.
11791 * iconv/gconv_builtin.h: Likewise.
11792 * iconv/iconv_prog.c: Remove CHAR16 handling.
11793
11794 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11795
11796 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11797
a0da5fe1
UD
11798 * configure.in: Remove --with-elf and --enable-bounded options.
11799 Dont set base_machine for ia64. More non-ELF conditions removed.
11800 Remove testing and setting of leading underscore information.
11801 * config.make.in (build-bounded): Set to no.
11802 * config.h.in: Remove NO_UNDERSCORES entry.
11803 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11804 them.
11805 * csu/start.c: Remove !NO_UNDERSCORE code.
11806 * locale/localeinfo.h: Likewise.
11807 * sysdeps/generic/machine-gmon.h: Likewise.
11808 * sysdeps/generic/sysdep.h: Likewise.
11809 * sysdeps/i386/sysdep.h: Likewise.
11810 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11811 * sysdeps/mach/sysdep.h: Likewise.
11812 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11813 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11814 * sysdeps/sh/sysdep.h: Likewise.
11815 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11816 * sysdeps/unix/i386/sysdep.S: Likewise.
11817 * sysdeps/unix/sparc/start.c: Likewise.
11818 * sysdeps/unix/sparc/sysdep.S: Likewise.
11819 * sysdeps/unix/sparc/sysdep.h: Likewise.
11820 * sysdeps/unix/start.c: Likewise.
11821 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11822 * sysdeps/x86_64/sysdep.h: Likewise.
11823
df78418a
UD
118242012-01-07 Ulrich Drepper <drepper@gmail.com>
11825
a784e502
UD
11826 [BZ #13553]
11827 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11828 for non-gcc.
11829 * argp/argp-fmtstream.h: Use const instead __const.
11830 * argp/argp.h: Likewise.
11831 * assert/assert.h: Likewise.
11832 * bits/fenv.h: Likewise.
11833 * bits/sched.h: Likewise.
11834 * bits/sigset.h: Likewise.
11835 * bits/sigthread.h: Likewise.
11836 * catgets/nl_types.h: Likewise.
11837 * conform/data/pthread.h-data: Likewise.
11838 * crypt/crypt-private.h: Likewise.
11839 * crypt/crypt.h: Likewise.
11840 * crypt/crypt_util.c: Likewise.
11841 * ctype/ctype.h: Likewise.
11842 * debug/execinfo.h: Likewise.
11843 * debug/mbsnrtowcs_chk.c: Likewise.
11844 * debug/mbsrtowcs_chk.c: Likewise.
11845 * debug/wcsnrtombs_chk.c: Likewise.
11846 * debug/wcsrtombs_chk.c: Likewise.
11847 * debug/wcstombs_chk.c: Likewise.
11848 * dirent/dirent.h: Likewise.
11849 * dlfcn/dlfcn.h: Likewise.
11850 * elf/neededtest4.c: Likewise.
11851 * grp/grp.h: Likewise.
11852 * gshadow/gshadow.h: Likewise.
11853 * iconv/gconv.h: Likewise.
11854 * iconv/gconv_int.h: Likewise.
11855 * iconv/gconv_simple.c: Likewise.
11856 * iconv/iconv.h: Likewise.
11857 * iconv/loop.c: Likewise.
11858 * iconv/skeleton.c: Likewise.
11859 * include/aio.h: Likewise.
11860 * include/aliases.h: Likewise.
11861 * include/argz.h: Likewise.
11862 * include/arpa/inet.h: Likewise.
11863 * include/assert.h: Likewise.
11864 * include/dirent.h: Likewise.
11865 * include/dlfcn.h: Likewise.
11866 * include/execinfo.h: Likewise.
11867 * include/fcntl.h: Likewise.
11868 * include/fenv.h: Likewise.
11869 * include/glob.h: Likewise.
11870 * include/grp.h: Likewise.
11871 * include/libintl.h: Likewise.
11872 * include/mntent.h: Likewise.
11873 * include/netdb.h: Likewise.
11874 * include/pwd.h: Likewise.
11875 * include/rpc/netdb.h: Likewise.
11876 * include/sched.h: Likewise.
11877 * include/search.h: Likewise.
11878 * include/shadow.h: Likewise.
11879 * include/signal.h: Likewise.
11880 * include/stdio.h: Likewise.
11881 * include/stdlib.h: Likewise.
11882 * include/string.h: Likewise.
11883 * include/sys/socket.h: Likewise.
11884 * include/sys/stat.h: Likewise.
11885 * include/sys/statfs.h: Likewise.
11886 * include/sys/statvfs.h: Likewise.
11887 * include/sys/syslog.h: Likewise.
11888 * include/sys/time.h: Likewise.
11889 * include/sys/uio.h: Likewise.
11890 * include/time.h: Likewise.
11891 * include/unistd.h: Likewise.
11892 * include/utmp.h: Likewise.
11893 * include/wchar.h: Likewise.
11894 * include/wctype.h: Likewise.
11895 * inet/aliases.h: Likewise.
11896 * inet/arpa/inet.h: Likewise.
11897 * inet/netinet/ether.h: Likewise.
11898 * inet/netinet/in.h: Likewise.
11899 * intl/libintl.h: Likewise.
11900 * io/bits/fcntl2.h: Likewise.
11901 * io/fcntl.h: Likewise.
11902 * io/ftw.h: Likewise.
11903 * io/sys/poll.h: Likewise.
11904 * io/sys/stat.h: Likewise.
11905 * io/sys/statfs.h: Likewise.
11906 * io/sys/statvfs.h: Likewise.
11907 * io/utime.h: Likewise.
11908 * libio/bits/stdio.h: Likewise.
11909 * libio/bits/stdio2.h: Likewise.
11910 * libio/libio.h: Likewise.
11911 * libio/libioP.h: Likewise.
11912 * libio/stdio.h: Likewise.
11913 * locale/lc-ctype.c: Likewise.
11914 * locale/locale.h: Likewise.
11915 * login/utmp.h: Likewise.
11916 * malloc/arena.c: Likewise.
11917 * malloc/malloc.c: Likewise.
11918 * malloc/malloc.h: Likewise.
11919 * malloc/mcheck.c: Likewise.
11920 * malloc/mtrace.c: Likewise.
11921 * math/bits/mathcalls.h: Likewise.
11922 * math/fenv.h: Likewise.
11923 * math/math_private.h: Likewise.
11924 * misc/bits/error.h: Likewise.
11925 * misc/bits/syslog.h: Likewise.
11926 * misc/err.h: Likewise.
11927 * misc/error.h: Likewise.
11928 * misc/fstab.h: Likewise.
11929 * misc/mntent.h: Likewise.
11930 * misc/regexp.h: Likewise.
11931 * misc/search.h: Likewise.
11932 * misc/sgtty.h: Likewise.
11933 * misc/sys/mman.h: Likewise.
11934 * misc/sys/syslog.h: Likewise.
11935 * misc/sys/uio.h: Likewise.
11936 * misc/sys/xattr.h: Likewise.
11937 * misc/ttyent.h: Likewise.
11938 * nis/rpcsvc/ypclnt.h: Likewise.
11939 * nss/nss.h: Likewise.
11940 * posix/bits/unistd.h: Likewise.
11941 * posix/fnmatch.h: Likewise.
11942 * posix/glob.h: Likewise.
11943 * posix/sched.h: Likewise.
11944 * posix/spawn.h: Likewise.
11945 * posix/sys/wait.h: Likewise.
11946 * posix/unistd.h: Likewise.
11947 * posix/wordexp.h: Likewise.
11948 * pwd/pwd.h: Likewise.
11949 * resolv/netdb.h: Likewise.
11950 * resource/sys/resource.h: Likewise.
11951 * rt/aio.h: Likewise.
11952 * rt/bits/mqueue2.h: Likewise.
11953 * rt/mqueue.h: Likewise.
11954 * shadow/shadow.h: Likewise.
11955 * signal/signal.h: Likewise.
11956 * socket/send.c: Likewise.
11957 * socket/sendto.c: Likewise.
11958 * socket/sys/socket.h: Likewise.
11959 * stdio-common/printf.h: Likewise.
11960 * stdlib/bits/stdlib.h: Likewise.
11961 * stdlib/fmtmsg.h: Likewise.
11962 * stdlib/monetary.h: Likewise.
11963 * stdlib/stdlib.h: Likewise.
11964 * stdlib/ucontext.h: Likewise.
11965 * streams/stropts.h: Likewise.
11966 * string/argz.h: Likewise.
11967 * string/bits/string2.h: Likewise.
11968 * string/string.h: Likewise.
11969 * string/strings.h: Likewise.
11970 * sunrpc/rpc/auth.h: Likewise.
11971 * sunrpc/rpc/auth_des.h: Likewise.
11972 * sunrpc/rpc/clnt.h: Likewise.
11973 * sunrpc/rpc/netdb.h: Likewise.
11974 * sunrpc/rpc/pmap_clnt.h: Likewise.
11975 * sunrpc/rpc/xdr.h: Likewise.
11976 * sysdeps/generic/inttypes.h: Likewise.
11977 * sysdeps/generic/net/if.h: Likewise.
11978 * sysdeps/generic/sys/swap.h: Likewise.
11979 * sysdeps/gnu/net/if.h: Likewise.
11980 * sysdeps/gnu/utmpx.h: Likewise.
11981 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11982 * sysdeps/i386/i486/bits/string.h: Likewise.
11983 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11984 * sysdeps/s390/bits/string.h: Likewise.
11985 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11986 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11987 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11988 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11989 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11990 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11991 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11992 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11993 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11994 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11995 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11996 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11997 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11998 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11999 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12000 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12001 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12002 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12003 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12004 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12005 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12006 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12007 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12008 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12009 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12010 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12011 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12012 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12013 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12014 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12015 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12016 * sysvipc/sys/ipc.h: Likewise.
12017 * sysvipc/sys/msg.h: Likewise.
12018 * sysvipc/sys/sem.h: Likewise.
12019 * sysvipc/sys/shm.h: Likewise.
12020 * termios/termios.h: Likewise.
12021 * time/sys/time.h: Likewise.
12022 * time/time.h: Likewise.
12023 * wcsmbs/bits/wchar2.h: Likewise.
12024 * wcsmbs/uchar.h: Likewise.
12025 * wcsmbs/wchar.h: Likewise.
12026 * wctype/wctype.h: Likewise.
12027
0269750c
UD
12028 [BZ #13551]
12029 * Makeconfig: Remove all but ELF support including AIX support.
12030 * Makerules: Likewise.
12031 * config.h.in: Likewise.
12032 * config.make.in: Likewise.
12033 * configure: Likewise.
12034 * configure.in: Likewise.
12035 * csu/Makefile: Likewise.
12036 * csu/version.c: Likewise.
12037 * debug/Makefile: Likewise.
12038 * dlfcn/Makefile: Likewise.
12039 * elf/Makefile: Likewise.
12040 * extra-lib.mk: Likewise.
12041 * iconv/Makefile: Likewise.
12042 * include/libc-symbols.h: Likewise.
12043 * include/shlib-compat.h: Likewise.
12044 * resolv/Makefile: Likewise.
12045 * resolv/res_libc.c: Likewise.
12046 * rt/Makefile: Likewise.
12047 * sysdeps/i386/asm-syntax.h: Likewise.
12048 * sysdeps/i386/sysdep.h: Likewise.
12049 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12050 * sysdeps/mach/sysdep.h: Likewise.
12051 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12052 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12053 * sysdeps/s390/asm-syntax.h: Likewise.
12054 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12055 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12056 * sysdeps/sh/sysdep.h: Likewise.
12057 * sysdeps/unix/sparc/sysdep.h: Likewise.
12058 * sysdeps/wordsize-32/divdi3.c: Likewise.
12059 * sysdeps/x86_64/sysdep.h: Likewise.
12060
00bbd29b
UD
12061 * argp/Versions: Remove _argp_unlock_xxx.
12062
12063 [BZ #13559]
12064 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12065 * abilist/libBrokenLocale.abilist: Likewise.
12066 * abilist/libanl.abilist: Likewise.
12067 * abilist/libc.abilist: Likewise.
12068 * abilist/libcrypt.abilist: Likewise.
12069 * abilist/libdl.abilist: Likewise.
12070 * abilist/libm.abilist: Likewise.
12071 * abilist/libnsl.abilist: Likewise.
12072 * abilist/libpthread.abilist: Likewise.
12073 * abilist/libresolv.abilist: Likewise.
12074 * abilist/librt.abilist: Likewise.
12075 * abilist/libthread_db.abilist: Likewise.
12076 * abilist/libutil.abilist: Likewise.
12077 * abilist/libnss_db.abilist: New file.
12078
12079 * scripts/abilist.awk: Add support for indirect functions.
12080
a2693a0e
UD
12081 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12082
3f05895f
UD
12083 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12084
ecb6fb48
UD
12085 * shlib-versions: Remove entries for ports architectures.
12086
664f8cb9
UD
12087 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12088 files in ports.
12089 * elf/stackguard-macros.h: Remove support for IA-64.
12090 * elf/tst-auditmod1.c: Likewise.
12091 * sysdeps/generic/ldsodefs.h: Likewise.
12092
7ae81d88
UD
12093 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12094 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12095 configure files.
12096
bdeba135
UD
12097 [BZ #13552]
12098 * configure.in: Remove --enable-omitfp support.
12099 * FAQ.in: Adjust.
12100 * config.make.in: Likewise.
12101 * Makeconfig: Likewise.
12102 * manual/install.texi: Likewise.
12103
d75a0a62
UD
12104 In case anyone cares, the IA-64 architecture could move to ports.
12105 * sysdeps/ia64/*: Removed.
12106 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12107 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12108
dcc9756b
UD
12109 [BZ #13555]
12110 * configure.in: Remove entries for unsupported architectures.
12111
d3761ebc 12112 [BZ #13533]
9954432e
UD
12113 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12114 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12115 routines.
12116 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12117 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12118 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12119 fall back to using wcrtomb.
12120 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12121 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12122 renaming.
12123 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12124 * wcsmbs/tst-c16c32-1.c: New file.
12125
12126 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12127 local variable.
12128
c3a87236
UD
12129 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12130
28926a1b
UD
12131 * elf/tst-unique3.cc: Add explicit declaration of gets.
12132 * elf/tst-unique3lib.cc: Likewise.
12133 * elf/tst-unique3lib2.cc: Likewise.
12134 * elf/tst-unique4.cc: Likewise.
12135
df78418a
UD
12136 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12137
8ecd6b2a
JM
121382012-01-06 Joseph Myers <joseph@codesourcery.com>
12139
12140 [BZ #13566]
12141 * assert/assert.h (static_assert): Don't define for C++.
12142 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12143 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12144
9f115170
UD
121452012-01-03 Ulrich Drepper <drepper@gmail.com>
12146
5e0d0300
UD
12147 * iconv/loop.c (single loop): Fix assertion in storing of
12148 remaining bytes.
12149
9f115170
UD
12150 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12151
81fb02b0
UD
121522012-01-01 Ulrich Drepper <drepper@gmail.com>
12153
12154 * posix/getconf.c: Update copyright year.
12155 * nss/getent.c: Likewise.
a316c1f6 12156 * nss/makedb.c: Likewise.
81fb02b0
UD
12157 * iconv/iconvconfig.c: Likewise.
12158 * iconv/iconv_prog.c: Likewise.
12159 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12160 * elf/pldd.c: Likewise.
12161 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12162 * catgets/gencat.c: Likewise.
12163 * csu/version.c: Likewise.
12164 * elf/ldd.bash.in: Likewise.
12165 * elf/sprof.c (print_version): Likewise.
12166 * locale/programs/locale.c: Likewise.
12167 * locale/programs/localedef.c: Likewise.
a316c1f6 12168 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12169 * nscd/nscd.c (print_version): Likewise.
12170 * debug/xtrace.sh: Likewise.
12171 * malloc/memusage.sh: Likewise.
12172 * malloc/mtrace.pl: Likewise.
12173 * debug/catchsegv.sh: Likewise.
12174
2ba92745
JJ
121752011-12-30 Jakub Jelinek <jakub@redhat.com>
12176
12177 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12178 pure attribute.
12179
dadebdae
UD
121802011-12-24 Ulrich Drepper <drepper@gmail.com>
12181
d3761ebc 12182 [BZ #13533]
db6af3eb
UD
12183 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12184 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12185 transformations.
12186 * iconv/gconv_int.h: Likewise.
12187 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12188 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12189 from libc for GLIBC_2.16.
12190 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12191 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12192 * wcsmbs/uchar.h: Really define mbstate_t.
12193 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12194 * wcsmbs/c16rtomb.c: New file.
12195 * wcsmbs/mbrtoc16.c: New file.
12196 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12197 for C/POSIX locale.
12198 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12199 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12200
dadebdae
UD
12201 * wcsmbs/wchar.h: Add missing __restrict.
12202
67371b56
UD
122032011-12-23 Ulrich Drepper <drepper@gmail.com>
12204
74033a25
UD
12205 [BZ #13532]
12206 * time/Makefile (routines): Add timespec_get.
12207 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12208 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12209 timespec for ISO C11.
12210 * time/timespec_get.c: New file.
12211 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12212 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12213
380d7e87
UD
12214 [BZ #13531]
12215 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12216 * stdlib/stdlib.h: Declare aligned_alloc.
12217 * Versions.def: Add GLIBC_2.16 for libc.
12218 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12219
4e9e7a35
UD
12220 [BZ 13527]
12221 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12222 ISO C11.
12223
380d7e87 12224 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12225 code.
12226
03a71829
UD
12227 [BZ #13528]
12228 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12229
839e283e
UD
12230 [BZ #13529]
12231 * assert/assert.h (static_assert): Define.
12232
ce5294e2 12233 * version.h: Update for 2.16 development version.
90fa7312 12234
8d44e150 12235 [BZ #13526]
d7809905
UD
12236 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12237 _ISOC11_SOURCE.
12238
c0da14cd
UD
12239 * version.h (RELEASE): Bump for 2.15 release.
12240 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12241
530a3249
MP
12242 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12243 Patch by Marek Polacek <mpolacek@redhat.com>.
12244
67371b56
UD
12245 * bits/byteswap.h: Protect long long constants with __extension__.
12246 * sysdeps/i386/bits/byteswap.h: Likewise.
12247 * sysdeps/ia64/bits/byteswap.h: Likewise.
12248 * sysdeps/s390/bits/byteswap.h: Likewise.
12249 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12250
15db4de1
LD
122512011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12252
12253 [BZ #13540]
bbe315ea
LD
12254 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12255 destination buffer.
15db4de1
LD
12256 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12257
2b2596b1
MP
122582011-12-23 Marek Polacek <polacek@redhat.com>
12259
12260 * elf/dl-addr.c (determine_info): Add inline keyword.
12261 * elf/tst-auditmod4b.c (check_avx): Likewise.
12262 * elf/tst-auditmod6b.c (check_avx): Likewise.
12263 * elf/tst-auditmod6c.c (check_avx): Likewise.
12264 * elf/tst-auditmod7b.c (check_avx): Likewise.
12265
70c6c246
UD
122662011-12-23 Ulrich Drepper <drepper@gmail.com>
12267
12268 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12269 !__SSE_MATH__.
12270
c044cf14
LD
122712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12272
15db4de1 12273 [BZ #13540]
c044cf14
LD
12274 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12275 processing for last bytes.
12276
6b13d9d9
BH
122772011-08-06 Bruno Haible <bruno@clisp.org>
12278
d455f537
BH
12279 [BZ #13061]
12280 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12281 U+0385, not to U+1FEE.
12282
6b13d9d9
BH
12283 [BZ #13062]
12284 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12285 entry for U+00A5 U+0301.
12286
db910efd
UD
122872011-12-22 Ulrich Drepper <drepper@gmail.com>
12288
27deeafc
UD
12289 [BZ #13166]
12290 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12291 buffer for the output is too small.
12292
aed9d171
UD
12293 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12294 optimization.
12295
db910efd
UD
12296 [BZ #13185]
12297 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12298 SSE flags if possible.
12299
2bd779ae
LD
123002011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12301
e7f9dac3 12302 [BZ #13540]
2bd779ae
LD
12303 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12304 processing for last bytes.
12305
154bfc16
JM
123062011-12-22 Joseph Myers <joseph@codesourcery.com>
12307
12308 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12309 (syscall-list-default-options, syscall-list-default-condition)
12310 (syscall-list-includes): Define.
12311 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12312 list of ABIs and options and #if conditions for each ABI. Do not
12313 handle common syscalls between ABIs specially.
12314 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12315 Remove.
12316 (syscall-list-variants, syscall-list-32bit-options)
12317 (syscall-list-32bit-condition, syscall-list-64bit-options)
12318 (syscall-list-64bit-condition): Define.
12319 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12320 (syscall-list-variants, syscall-list-32bit-options)
12321 (syscall-list-32bit-condition, syscall-list-64bit-options)
12322 (syscall-list-64bit-condition): Define.
12323 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12324 Remove.
12325 (syscall-list-variants, syscall-list-32bit-options)
12326 (syscall-list-32bit-condition, syscall-list-64bit-options)
12327 (syscall-list-64bit-condition): Define.
12328 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12329 Remove.
12330 (syscall-list-variants, syscall-list-32bit-options)
12331 (syscall-list-32bit-condition, syscall-list-64bit-options)
12332 (syscall-list-64bit-condition): Define.
12333
21eaf3a5
UD
123342011-12-22 Ulrich Drepper <drepper@gmail.com>
12335
16c6f992
UD
12336 * locale/iso-639.def: Add brx entry.
12337
41043168
UD
12338 [BZ #13328]
12339 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12340 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12341
21eaf3a5
UD
12342 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12343 __feraiseexcept_renamed.
12344
e3a851a2
UD
123452011-12-21 Ulrich Drepper <drepper@gmail.com>
12346
4920765e
UD
12347 [BZ #13538]
12348 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12349 EPOLLET with unsigned values.
12350 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12351 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12352
e3a851a2
UD
12353 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12354 to large cancellation.
12355 * math/s_cacoshf.c: Likewise.
12356 * math/s_cacoshl.c: Likewise.
12357
b27e24b8
RK
123582011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12359
12360 [BZ #13305]
aebefeee 12361 [BZ #12786]
b27e24b8
RK
12362 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12363 * math/s_cacoshf.c: Likewise.
12364 * math/s_cacoshl.c: Likewise.
12365
ee190f67
UD
123662011-12-21 Ulrich Drepper <drepper@gmail.com>
12367
12368 [BZ #13439]
12369 * iconv/gconv.h: Define __GCONV_SWAP.
12370 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12371 * iconvdata/utf-16.c: Likewise.
12372 * iconvdata/utf-32.c: Likewise.
12373
707f25df
AS
123742011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12375
12376 [BZ #13524]
12377 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12378 numerator after shifting it by one limb.
12379
d2daaa1e
RÁE
123802011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12381
12382 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12383 under [__USE_EXTERN_INLINES].
12384
a4647e72
UD
123852011-12-17 Ulrich Drepper <drepper@gmail.com>
12386
12387 [BZ #13446]
12388 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12389
f0b264f1
AZ
123902011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12391
12392 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12393 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12394 optimized code.
12395 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12396 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12397 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12398 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12399 for strncasecmp/strncasecmp_l compilation.
12400 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12401 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12402
8ef4f244
MP
124032011-12-08 Marek Polacek <mpolacek@redhat.com>
12404
12405 [BZ #13484]
12406 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12407 of __asm__.
12408
97ac2654
UD
124092011-12-17 Ulrich Drepper <drepper@gmail.com>
12410
12411 [BZ #13506]
12412 * time/tzfile.c (__tzfile_read): Check values from file header.
12413
91d2a845
WS
124142011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12415
12416 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12417 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12418 * powerpc/powerpc32/dl-start.S: Likewise.
12419 * powerpc/powerpc32/elf/start.S: Likewise.
12420 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12421 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12422 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12423 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12424 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12425 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12426 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12427 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12428 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12429 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12430 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12431 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12432 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12433 * powerpc/powerpc32/memset.S: Likewise.
12434 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12435 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12436 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12437 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12438 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12439 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12440 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12441 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12442 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12443 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12444 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12445 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12446 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12447
a1267ba1
AZ
124482011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12449
12450 * math/libm-test.inc: Added more nearbyint tests.
12451 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12452 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12453 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12454 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12455
ad8ac1bd
RL
124562011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12457
12458 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12459 FD_CLOEXEC.
12460
1d3e4b61
UD
124612011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12462
12463 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12464 Add wcscpy-ssse3 wcscpy-c.
12465 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12466 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12467 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12468 * sysdeps/x86_64/wcschr.S: New file.
12469 * sysdeps/x86_64/wcsrchr.S: New file.
12470 * string/test-strcmp.c: Remove checking of wcscmp function for
12471 wrong alignments.
12472 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12473 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12474 wcsrchr-sse2 wcsrchr-c.
12475 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12476 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12477 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12478 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12479 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12480 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12481 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12482 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12483 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12484 * wcsmbc/wcschr.c (WCSCHR): New macro.
12485
5b330a2d
UD
124862011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12487
12488 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12489 * wcsmbs/test-wcsrchr.c: New file.
12490 * string/test-strrchr.c: Add wcsrchr support.
12491 (WIDE): New macro.
12492 * wcsmbs/test-wcscpy.c: New file.
12493 * string/test-strcpy.c: Add wcscpy support.
12494 (WIDE): New macro.
26428b7c 12495
f039c043
UD
124962011-12-10 Ulrich Drepper <drepper@gmail.com>
12497
12498 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12499 the inner loop.
12500
850fb039
AS
125012011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12502
12503 [BZ #13472]
12504 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12505
4efbd5cb
UD
125062011-12-04 Ulrich Drepper <drepper@gmail.com>
12507
52ff5dd0 12508 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12509 Minor optimizations.
52ff5dd0 12510
4efbd5cb
UD
12511 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12512 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12513 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12514
8a426e12
UD
125152011-12-03 Ulrich Drepper <drepper@gmail.com>
12516
aff2453d
UD
12517 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12518 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12519 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12520 for gcc to avoid warnings.
12521 * inet/Makefile (tests): Add tst-checks.
12522 * inet/tst-checks.c: New file.
12523
12524 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12525 warning.
12526
12527 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12528 __wmemcmp_sse2.
12529
12530 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12531 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12532
8a426e12
UD
12533 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12534
9bea3473
UD
125352011-12-02 Ulrich Drepper <drepper@gmail.com>
12536
3a965496
UD
12537 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12538 problem.
12539
9bea3473
UD
12540 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12541
f101631b
UD
125422011-11-29 Joseph Myers <joseph@codesourcery.com>
12543
12544 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12545 conditional on GCC version.
12546 (__arch_compare_and_exchange_val_8_acq)
12547 (__arch_compare_and_exchange_val_16_acq)
12548 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12549 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12550 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12551
a98275aa
UD
125522011-12-02 Joseph Myers <joseph@codesourcery.com>
12553
12554 * sysdeps/sh/backtrace.c: New file.
12555
d4cc29a2
AS
125562011-12-02 Andreas Schwab <schwab@redhat.com>
12557
12558 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12559 parenthesis.
12560
6257af2d
AS
125612011-12-01 Andreas Schwab <schwab@redhat.com>
12562
12563 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12564 falling back to utime.
12565
b5f44c1a
AS
125662011-11-30 Andreas Schwab <schwab@redhat.com>
12567
12568 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12569 expectations for float.
12570
f3a6cc0a
AS
125712011-11-29 Andreas Schwab <schwab@redhat.com>
12572
12573 * locale/weight.h (findidx): Add parameter len.
12574 * locale/weightwc.h (findidx): Likewise.
12575 * posix/fnmatch_loop.c (FCT): Adjust caller.
12576 * posix/regcomp.c (build_equiv_class): Likewise.
12577 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12578 * posix/regexec.c (check_node_accept_bytes): Likewise.
12579 * string/strcoll_l.c (STRCOLL): Likewise.
12580 * string/strxfrm_l.c (STRXFRM): Likewise.
12581
9d65ea3a
UD
125822011-11-17 Ulrich Drepper <drepper@gmail.com>
12583
12584 * Makefile.in: Remove CVSOPT handling.
12585 * configure.in: Remove use of AC_REVISION.
12586 * iconvdata/Makefile (distribute): No need to filter out CVS.
12587 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12588 handling.
12589
5583a086
AS
125902011-11-16 Andreas Schwab <schwab@redhat.com>
12591
12592 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12593 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12594 [USE_AS_STRNCASECMP_L]: Likewise.
12595 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12596 NO_TLS_DIRECT_SEG_REFS.
12597 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12598 Fix argument offsets for non-PIC.
12599 [USE_AS_STRNCASECMP_L]: Likewise.
12600 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12601 NO_TLS_DIRECT_SEG_REFS.
12602
d62a8200
UD
126032011-11-15 Ulrich Drepper <drepper@gmail.com>
12604
9d65ea3a 12605 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12606 O_CLOEXEC.
12607 * locale/loadlocale.c (_nl_load_locale): Likewise.
12608
09f93bd3
AS
126092011-11-15 Andreas Schwab <schwab@redhat.com>
12610
446514f9
AS
12611 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12612 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12613 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12614 (SYSCALL_GETTIME): Set errno on error.
12615
09f93bd3
AS
12616 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12617 count references to noai6ai_cached.
12618
312be3f9
UD
126192011-11-15 Ulrich Drepper <drepper@gmail.com>
12620
12621 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12622
12623 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12624 FD_CLOEXEC for /proc/self/maps.
12625
12626 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12627 FD_CLOEXEC for /proc/meminfo.
12628
12629 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12630 gai.conf.
12631
12632 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12633 FD_CLOEXEC for given file.
12634
12635 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12636
12637 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12638 FD_CLOEXEC for /etc/hosts.
12639 (_gethtent): Likewise.
12640
12641 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12642
12643 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12644 cancellation and set FD_CLOEXEC for /etc/netgroup.
12645
12646 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12647 reading /etc/publickey.
12648
12649 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12650 allow cancellation when reading /etc/group.
12651
12652 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12653 cancellation.
12654 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12655
12656 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12657 when using data file.
12658
12659 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12660
12661 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12662 (write_nis_obj): Use "c" and "e" in fopen.
12663
12664 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12665
12666 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12667
12668 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12669
12670 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12671
12672 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12673 locale.alias.
12674
12675 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12676
12677 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12678
12679 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12680
12681 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12682 file parsing and set FD_CLOEXEC.
12683
82af0fa8
UD
126842011-11-14 Ulrich Drepper <drepper@gmail.com>
12685
12686 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12687
a5fb313c
AS
126882011-11-14 Andreas Schwab <schwab@redhat.com>
12689
12690 * malloc/arena.c (arena_get2): Don't call reused_arena when
12691 _int_new_arena failed.
12692
6abf3465
UD
126932011-11-14 Ulrich Drepper <drepper@gmail.com>
12694
12695 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12696 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12697 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12698 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12699 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12700 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12701 to compile strcasecmp and strncasecmp.
12702 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12703 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12704
12705 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12706
76e3966e
UD
127072011-11-13 Ulrich Drepper <drepper@gmail.com>
12708
12709 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12710 locale-defines.sym to gen-as-const-headers.
12711 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12712 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12713 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12714 to compile strcasecmp and strncasecmp.
12715 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12716 strcasecmp_l and strncasecmp_l.
12717 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12718 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12719 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12720 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12721 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12722 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12723 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12724 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12725 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12726 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12727 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12728
ab26144e
UD
127292011-11-12 Ulrich Drepper <drepper@gmail.com>
12730
7edb22ef
UD
12731 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12732 result of SYSDEP_GETTIME_CPU to retval.
12733 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12734 parameter list to macro. Remove trailing semicolon. Adjust users.
12735
9694fc44
UD
12736 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12737 variable.
12738
8ad89ef8
UD
12739 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12740 mantissa words.
12741 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12742
0c822ef9
UD
12743 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12744 from unused variable.
12745
874e0564
UD
12746 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12747 DWARF definitions.
12748 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12749 for assembling.
12750
3a2edc79
UD
12751 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12752 over namespaces.
12753
f3c2577f
UD
12754 * sunrpc/rpc_prot.c (rejected): Fix case value.
12755
294ce126
UD
12756 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12757 unsigned long long int to avoid warnings in shift.
12758
5e2b63c6
UD
12759 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12760 of use of trans.
12761 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12762 variable tmp.
12763
e7f4b08e
UD
12764 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12765 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12766 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12767
ab26144e
UD
12768 * nis/nis_table.c (nis_list): Use variable of correct type for
12769 result of __follow_path call.
12770
8a6d5255
AZ
127712011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12772
12773 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12774 of math functions ceil, trunc, floor, round, and sqrt, when
12775 avaliable on the platform.
12776 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12777 name clash.
12778 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12779 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12780 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12781
aaddc98c
MP
127822011-10-30 Marek Polacek <mpolacek@redhat.com>
12783
12784 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12785 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12786
95b7042b
RM
127872011-11-11 Roland McGrath <roland@hack.frob.com>
12788
12789 * include/unistd.h: Fix __readlink return type.
12790 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12791
57769839
UD
127922011-11-11 Ulrich Drepper <drepper@gmail.com>
12793
12794 * stdlib/ucontext.h: Undo last change for makecontext.
12795
edc5984d
AS
127962011-11-11 Andreas Schwab <schwab@redhat.com>
12797
98591e58
AS
12798 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12799
edc5984d
AS
12800 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12801 * setjmp/setjmp.h: Mark functions as non-leaf.
12802 * setjmp/bits/setjmp2.h: Likewise.
12803 * stdlib/ucontext.h: Likewise.
12804
77cdc054
AS
128052011-11-10 Andreas Schwab <schwab@redhat.com>
12806
12807 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12808 (reused_arena): Don't check arena limit.
12809 (arena_get2): Atomically check arena limit.
12810
fe72eebd
UD
128112011-11-08 Ulrich Drepper <drepper@gmail.com>
12812
5f078c32
UD
12813 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12814 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12815
fe72eebd
UD
12816 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12817 instructions.
12818
ae1bc2fa
AS
128192011-11-07 Andreas Schwab <schwab@redhat.com>
12820
7583a88d
AS
12821 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12822 handler when locking.
12823
ae1bc2fa
AS
12824 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12825 Fix size of allocated buffer.
12826
10fb0bfa
AS
128272011-11-04 Andreas Schwab <schwab@redhat.com>
12828
998832a4
AS
12829 [BZ #10103]
12830 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12831 declarations for long double functions.
12832 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12833
10fb0bfa
AS
12834 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12835
3d7ba52b
AS
128362011-11-03 Andreas Schwab <schwab@redhat.com>
12837
a9ae54a1
AS
12838 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12839 installed.
12840
3d7ba52b
AS
12841 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12842 is disabled.
12843
bc8db248
ST
128442011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12845
12846 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12847
45b96dd6
AS
128482011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12849
647776f6
AS
12850 * include/alloca.h (stackinfo_alloca_round): Define.
12851 (extend_alloca): Use it.
12852 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12853 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12854 here.
12855
d91a8b93
AS
12856 * scripts/check-local-headers.sh: Ignore libaudit.h.
12857
45b96dd6
AS
12858 * nscd/Makefile (extra-objs): Make recursively expanded.
12859
432d41ce
UD
128602011-11-01 Ulrich Drepper <drepper@gmail.com>
12861
34372fc6
UD
12862 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12863 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12864
fadb59f8
UD
12865 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12866 * posix/tst-rfc3484-2.c: Likewise.
12867 * posix/tst-rfc3484-3.c: Likewise.
12868
78239589
UD
12869 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12870 process_vm_writev.
12871 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12872 process_vm_writev.
12873 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12874 process_vm_writev from libc using GLIBC_2.15 version.
12875
432d41ce
UD
12876 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12877
02f9c6cf
PP
128782011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12879
12880 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12881 stack usage.
12882
3a2c0242
UD
128832011-10-31 Ulrich Drepper <drepper@gmail.com>
12884
f4ec4833
UD
12885 [BZ #13367]
12886 * nss/getent.c (initgroups_keys): Show error message in case no group
12887 names are given.
12888
3a2c0242
UD
12889 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12890 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12891 __bump_nl_timestamp.
12892 * nscd/connections (nscd_init): When host database is served open
12893 netlink socket and request notification about configuration changes.
12894 (main_loop_poll): Track netlink file descriptor and bump timestamp
12895 in case data becomes available.
12896 (main_loop_epoll): Likewise.
12897 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12898 (database_pers_head): Add extra_data fileds.
12899 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12900 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12901 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12902 Adjust caller.
12903 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12904 in6ai data, call __free_in6ai.
12905 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12906 Add -DHAVE_NETLINK.
12907 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12908 interface information. Reuse previous data if netlink timestamp
12909 is not changed.
12910 (__bump_nl_timestamp): New function.
12911 (__free_in6ai): New function.
12912
636064eb
UD
129132011-10-30 Ulrich Drepper <drepper@gmail.com>
12914
12915 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12916 close_not_cancel_no_status here.
12917 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12918
9beb2334
UD
129192011-10-29 Ulrich Drepper <drepper@gmail.com>
12920
6ef76f3b
UD
12921 [BZ #13276]
12922 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12923 return value.
12924
0ffc4f3e 12925 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12926 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12927 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12928
cb95113e
UD
129292011-07-03 Andreas Jaeger <aj@suse.de>
12930
12931 [BZ #10709]
12932 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12933 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12934 * math/libm-test.inc (sin_test): Add test case.
12935
a1b560ff
UD
129362011-10-29 Ulrich Drepper <drepper@gmail.com>
12937
c9aaface
UD
12938 [BZ #13337]
12939 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12940 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12941
d272e7f1
UD
12942 * elf/chroot_canon.c (chroot_canon): Cleanups.
12943
1bc33071
UD
12944 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12945
1760874d
TJ
12946 [BZ #13335]
12947 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12948 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12949
51d91b18
UD
12950 * string/test-strchr.c: Make usable for strchrnul testing.
12951 * string/test-strchrnul.c: New file.
12952 * string/Makefile (strop-tests): Add strchrnul.
12953
a1b560ff 12954 * po/it.po: Update from translation team.
b611fb81 12955 * po/es.po: Likewise.
a1b560ff 12956
a5b81e1f
UD
129572011-10-28 Ulrich Drepper <drepper@gmail.com>
12958
fd52bc6d
UD
12959 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12960 the three constants needed as parameters. Drop the others.
12961 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12962 __m128i_strloadu_tolower.
52e4b9eb
UD
12963 Create and initialize variable zero and use it in all the places
12964 where _mm_setzero_si128 was used.
fd52bc6d 12965
a5b81e1f
UD
12966 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12967 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12968 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12969 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12970 anymore.
12971 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12972 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12973 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12974 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12975 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12976 __mpranred, __mptan.
12977 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12978 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12979 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12980 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12981 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12982 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12983 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12984 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12985 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12986
b4343346
AS
129872011-10-28 Andreas Schwab <schwab@redhat.com>
12988
0c92d8a8
AS
12989 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12990 redefine if SHARED.
12991 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12992
b4343346
AS
12993 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12994 wide char related routines to wcsmbs subdir.
12995
3871f58f
AS
129962011-10-27 Andreas Schwab <schwab@redhat.com>
12997
12998 [BZ #13344]
12999 * misc/sys/cdefs.h (__THROWNL): Define.
13000 * posix/unistd.h: Use __THREADNL instead of __THREAD
13001 for memory synchronization functions.
13002
94d44d9f
RM
130032011-10-26 Roland McGrath <roland@hack.frob.com>
13004
21b64b15 13005 [BZ #13349]
94d44d9f
RM
13006 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13007 doesn't exist.
13008 * manual/stdio.texi (Obstack Streams): Node removed.
13009
f6ce9294
AS
130102011-10-26 Andreas Schwab <schwab@redhat.com>
13011
80479147
AS
13012 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13013 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13014 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13015
f6ce9294
AS
13016 * math/math_private.h (math_force_eval): Allow non-addressable
13017 arguments.
13018 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13019
618280a1
UD
130202011-10-25 Ulrich Drepper <drepper@gmail.com>
13021
e0016b11
UD
13022 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13023 file is not needed.
13024
13025 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13026 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13027 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13028 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13029 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13030 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13031 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13032 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13033 Add AVX variants.
13034 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13035 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13036 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13037 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13038 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13039 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13040 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13041 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13042 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13043 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13044 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13045 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13046 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13047 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13048 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13049 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13050 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13051 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13052 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13053
13054 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13055 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13056
618280a1
UD
13057 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13058 place. Use VEX encoding when compiling for AVX.
13059
37822576
AS
130602011-10-25 Andreas Schwab <schwab@redhat.com>
13061
1f1e1947
AS
13062 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13063 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13064
37822576
AS
13065 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13066
31ea014d
UD
130672011-10-25 Ulrich Drepper <drepper@gmail.com>
13068
d7826aa1 13069 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13070 useless if() expression.
d7826aa1
UD
13071 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13072 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13073 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13074 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13075 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13077 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13078 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13079 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13080 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13081 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13082 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13083 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13084 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13085 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13086 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13087 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13088 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13089 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13090
31ea014d
UD
13091 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13092
16437fec
AS
130932011-10-25 Andreas Schwab <schwab@redhat.com>
13094
13095 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13096 condition.
13097 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13098
31d3cc00
UD
130992011-10-25 Ulrich Drepper <drepper@gmail.com>
13100
13101 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13102 .text section. Avoid duplicate constants.
13103 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13104 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13107 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13108 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13109 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13110 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13111 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13112 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13113 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13114 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13115 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13116 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13117 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13118 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13119 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13120 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13121 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13122 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13123 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13124 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13125 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13126 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13127 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13128 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13129 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13130 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13131 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13132 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13133 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13134 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13135 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13136 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13137 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13138 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13139 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13140 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13141 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13142 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13143 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13144 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13145 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13146 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13147 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13148
58985aa9
UD
131492011-10-24 Ulrich Drepper <drepper@gmail.com>
13150
202c9deb
UD
13151 * sysdeps/x86_64/dla.h: Move to ...
13152 * sysdeps/x86_64/fpu/dla.h: ...here.
13153 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13154 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13155
af968f62
UD
13156 * config.make.in: Add have-mfma4 entry.
13157 * configure.in: Substitute libc_cv_cc_fma4.
13158 * math/Makefile (dbl-only-routines): Add sincostab.
13159 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13160 Use __sincostab not sincos.
13161 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13162 name is a macro.
13163 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13164 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13165 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13166 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13167 using __copysign.
13168 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13169 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13170 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13171 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13172 and __inv.
13173 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13174 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13175 __copysign.
13176 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13177 define aliases when function name is a macro.
13178 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13179 sysdeps/ieee754/dbl-64/sincos.tbl.
13180 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13181 fma4-enabled routines.
13182 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13183 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13184 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13185 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13186 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13187 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13188 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13189 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13190 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13191 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13192 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13193 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13194 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13195 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13196 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13197 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13198 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13199 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13200 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13201 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13202 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13203 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13204 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13205 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13206 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13207 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13208 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13209 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13210 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13211 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13212
58985aa9
UD
13213 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13214 rename.
13215 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13216 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13217 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13219 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13220 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13221 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13222 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13223
a201fbcf
AS
132242011-10-24 Andreas Schwab <schwab@redhat.com>
13225
13226 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13227
fc2ee42a
LD
132282011-10-23 Ulrich Drepper <drepper@gmail.com>
13229
bb3129bd
UD
13230 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13231
0275fff8
UD
13232 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13233 prediction.
13234 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13235
2fa2ae85
UD
13236 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13237 Remove unused variable magic_bits.
13238 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13239
fc2ee42a
LD
13240 * string/strnlen.c: Define and use STRNLEN macro.
13241 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13242 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13243 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13244 * wcsmbs/wcslen.c: Define and use WCSLEN.
13245 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13246 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13247 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13248 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13249 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13250 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13251 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13252
ce7dd29f
LD
132532011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13254
13255 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13256 strnlen-sse2-no-bsf.
13257 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13258 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13259 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13260 Add strnlen support.
13261 (USE_AS_STRNLEN): New macro.
13262 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13263 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13264 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13265 * sysdeps/x86_64/wcslen.S: New file.
13266
979c70a3
MZ
132672011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13268
13269 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13270 XMM-moves are used for copying on small sizes.
13271
2d09f82f
LD
132722011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13273
13274 * wcsmbs/Makefile (strop-tests): Add wcschr.
13275 * wcsmbs/test-wcschr.c: New file.
13276 * string/test-strchr.c: Update.
13277 Add wcschr support.
13278 (WIDE): New macro.
13279
619fccca
LD
132802011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13281
2d09f82f 13282 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13283 * wcsmbs/test-wcslen.c: New file.
13284 * string/test-strlen.c: Update.
13285 Add wcslen support.
13286 (WIDE): New macro.
13287
09f699ea
UD
132882011-10-23 Ulrich Drepper <drepper@gmail.com>
13289
13290 * po/it.po: Update from translation team.
13291
95584d3b
LD
132922011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13293
13294 * sysdeps/x86_64/wcscmp.S: Update.
13295 Fix wrong comparison semantics.
13296 wcscmp shall use signed comparison not unsigned.
13297 Don't use substraction to avoid overflow bug.
13298 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13299 * wcsmbc/wcscmp.c: Likewise.
13300 * string/test-strcmp.c: Likewise.
13301 Add new tests to check cases with negative values.
13302
c8b3296b
UD
133032011-10-23 Ulrich Drepper <drepper@gmail.com>
13304
13305 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13306 * sysdeps/x86_64/dla.h: ...here. New file.
13307 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13308 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13310 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13311 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13312 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13313 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13314 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13315 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13316
246ad57a
AS
133172011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13318
13319 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13320 __ynl_finite aliases.
13321
a1a87169
UD
133222011-10-22 Ulrich Drepper <drepper@gmail.com>
13323
0d355eb7
UD
13324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13325
a1a87169
UD
13326 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13327 define DLA_FMA.
13328 [DLA_FMA] (EMULV): Use DLA_FMA.
13329 [DLA_FMA] (MUL12): Use EMULV.
13330 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13331 that are not needed.
13332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13337 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13339
ee2aafe0
AS
133402011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13341
13342 * math/s_nan.c: Undef __nan.
13343 * math/s_nanf.c: Undef __nanf.
13344 * math/s_nanl.c: Undef __nanl.
13345 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13346 "math_private.h".
13347
bc62c2fb
UD
133482011-10-22 Ulrich Drepper <drepper@gmail.com>
13349
77425c63
UD
13350 * math/s_catan.c: Add branch predictions.
13351 * math/s_catanf.c: Likewise.
13352 * math/s_catanh.c: Likewise.
13353 * math/s_catanhf.c: Likewise.
13354 * math/s_catanhl.c: Likewise.
13355 * math/s_catanl.c: Likewise.
13356 * math/s_cexp.c: Likewise.
13357 * math/s_cexpf.c: Likewise.
13358 * math/s_cexpl.c: Likewise.
13359 * math/s_clog.c: Likewise.
13360 * math/s_clog10.c: Likewise.
13361 * math/s_clog10f.c: Likewise.
13362 * math/s_clog10l.c: Likewise.
13363 * math/s_clogf.c: Likewise.
13364 * math/s_clogl.c: Likewise.
13365 * math/s_csqrt.c: Likewise.
13366 * math/s_csqrtf.c: Likewise.
13367 * math/s_csqrtl.c: Likewise.
13368 * math/s_ctanf.c: Likewise.
13369 * math/s_ctanh.c: Likewise.
13370 * math/s_ctanhf.c: Likewise.
13371 * math/s_ctanhl.c: Likewise.
13372 * math/s_ctanl.c: Likewise.
13373
bc62c2fb
UD
13374 * math/math_private.h: Define __nan, __nanf, __nanl.
13375 * math/s_cacosh.c: Include <math_private.h>.
13376 * math/s_cacoshl.c: Likewise.
13377 * math/s_casinh.c: Likewise.
13378 * math/s_casinhf.c: Likewise.
13379 * math/s_casinhl.c: Likewise.
13380 * math/s_ccos.c: Rely entire on ccosh.
13381 * math/s_ccosf.c: Rely entire on ccoshf.
13382 * math/s_ccosl.c: Rely entirely on ccoshl.
13383 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13384 Remove tests for FE_INVALID.
13385 * math/s_ccoshf.c: Likewise.
13386 * math/s_ccoshl.c: Likewise.
13387 * math/s_csin.c: Likewise.
13388 * math/s_csinf.c: Likewise.
13389 * math/s_csinh.c Likewise.
13390 * math/s_csinhf.c: Likewise.
13391 * math/s_csinhl.c: Likewise.
13392 * math/s_csinl.c: Likewise.
13393 * math/s_ctan.c: Likewise.
13394 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13395 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13396 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13397
8ec250a4
UD
133982011-10-21 Ulrich Drepper <drepper@gmail.com>
13399
c196fed8
UD
13400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13401 compilation problems.
13402
8ec250a4
UD
13403 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13404 __builtin_expect.
13405
8d4f46c6
UD
134062011-10-20 Ulrich Drepper <drepper@gmail.com>
13407
ed72b654
UD
13408 * sysdeps/i386/configure.in: Test for -mfma4 option.
13409 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13410 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13411 COMMON_CPUID_INDEX_80000001.
13412 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13413 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13414 use it if FMA3 is not supported.
13415 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13416
8d4f46c6
UD
13417 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13418 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13419
d45c60c2
AS
134202011-10-20 Andreas Schwab <schwab@redhat.com>
13421
13422 [BZ #12892]
13423 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13424 it would create a cycle with a link time dependency.
13425
d9a4d2ab
UD
134262011-10-19 Ulrich Drepper <drepper@gmail.com>
13427
855d1560
UD
13428 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13429 instruction.
13430 * string/Makefile (strop-tests): Add rawmemchr.
13431 * string/test-rawmemchr.c: New file.
13432
d9a4d2ab
UD
13433 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13434 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13435 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13436 when compiling str{,n}casecmp and when AVX is available. Hook up
13437 new optimized code in initializers.
13438
8f3b1ffe
AS
134392011-10-19 Andreas Schwab <schwab@redhat.com>
13440
13441 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13442 __feraiseexcept instead of feraiseexcept.
13443
d38f1dba
UD
134442011-10-18 Ulrich Drepper <drepper@gmail.com>
13445
d9a8d0ab
UD
13446 * math/math_private.h: Define defaults for libc_fetestexcept and
13447 libc_feupdateenv.
13448 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13449 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13450 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13451 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13452 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13453 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13454 libc_fetestexcept and libc_feupdateenv.
13455
4855e3dd
UD
13456 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13457 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13458 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13459 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13460 libc_feholdexcept_setround.
13461
581d30e3
UD
13462 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13463 Add s_nearbyint-c and s_nearbyintf-c.
13464 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13465 nearbyintf inlines.
13466 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13467 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13468 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13469 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13470
d38f1dba
UD
13471 * math/math_private.h: Define defaults for libc_fegetround,
13472 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13473 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13474 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13475 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13476 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13477 standard functions.
13478 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13479 Remove comments and hacks for old compiler versions.
13480 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13481 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13482 libc_feholdexceptl.
13483
caa6c9d8
AS
134842011-10-18 Andreas Schwab <schwab@redhat.com>
13485
13486 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13487 (__feraiseexcept_renamed): Add __NTH.
13488 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13489 namespace violations.
13490
97c066e6
UD
134912011-10-17 Ulrich Drepper <drepper@gmail.com>
13492
99ce7b04
UD
13493 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13494
1004d182
UD
13495 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13496
228a984d
UD
13497 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13498 recently added interfaces.
13499 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13500
c8553a6a
UD
13501 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13502 about macro parameter expansion.
13503
ed22dcf6
UD
13504 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13505 __NO_MATH_INLINES is defined. Cleanups.
13506
13507 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13508 and __floorf is target has SSE4.1.
13509 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13510 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13511 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13512 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13513
b171c137
UD
13514 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13515 name.
13516 (floorf): Likewise.
13517
97c066e6
UD
13518 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13519
629f62ef
AS
135202011-10-17 Andreas Schwab <schwab@redhat.com>
13521
49a43d80
AS
13522 * misc/sys/cdefs.h: Fix last change.
13523
629f62ef
AS
13524 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13525 database lookup.
13526
e453f6cd
UD
135272011-10-16 Ulrich Drepper <drepper@gmail.com>
13528
aa78043a
UD
13529 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13530
ad0f5cad
UD
13531 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13532 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13537 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13538 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13539 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13540 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13541 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13542 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13543 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13544 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13545 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13546 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13547 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13548 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13549 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13550 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13551 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13552 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13553
13554 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13555 ceil, ceilf, floor, floorf.
13556
13557 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13558 Perform IRELATIVE relocations last.
13559
e453f6cd
UD
13560 * elf/do-rel.h: Add another parameter nrelative, replacing the
13561 local variable with the same name. Change name of the function
13562 to end in Rel or Rela (uppercase).
13563 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13564 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13565 elf_dynamic_do_##reloc function.
13566
fd5bdc09
UD
135672011-10-15 Ulrich Drepper <drepper@gmail.com>
13568
79b195b5
UD
13569 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13570 is sufficient, at least on modern CPUs.
13571
d4a28569
UD
13572 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13573
b61099b5
UD
13574 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13575 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13576
bcf01e6d
UD
13577 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13578 __expl_finite.
13579 * math/bits/math-finite.h: Add entries for exp.
13580 * math/e_expl.c: Add __*_finite alias.
13581 * sysdeps/i386/fpu/e_exp.S: Likewise.
13582 * sysdeps/i386/fpu/e_expf.S: Likewise.
13583 * sysdeps/i386/fpu/e_expl.c: Likewise.
13584 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13585 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13586 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13589 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13590 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13591
ba1a0d59
UD
13592 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13593 is sufficient, at least on modern CPUs.
13594
fd5bdc09
UD
13595 * ctype/ctype-info.c (__ctype_init): Define.
13596 * include/ctype.h (__ctype_init): Declare.
13597 (__ctype_b_loc): The variable is always initialized.
13598 (__ctype_toupper_loc): Likewise.
13599 (__ctype_tolower_loc): Likewise.
13600 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13601 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13602
7872cfb0
AS
136032011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13604
b468825a
AS
13605 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13606
7872cfb0
AS
13607 * configure.in: Also look in $cxxmachine/include for C++ system
13608 headers.
13609
be13f7bf
LD
136102011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13611
13612 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13613 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13614 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13615 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13616 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13617 (USE_AS_WMEMCMP): New macro.
13618 Fixing indents.
13619 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13620 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13621 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13622 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13623 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13624 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13625 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13626 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13627 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13628 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13629 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13630 (USE_AS_WMEMCMP): New macro.
13631 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13632 * sysdeps/string/test-memcmp.c: Update.
13633 Fix simple_wmemcmp.
13634 Add new tests.
13635 * wcsmbs/wmemcmp.c: Update.
13636 (WMEMCMP): New macro.
13637 Fix overflow bug.
13638
556a2007
AJ
136392011-10-12 Andreas Jaeger <aj@suse.de>
13640
13641 [BZ #13268]
13642 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13643
538faaa7
UD
136442011-10-15 Ulrich Drepper <drepper@gmail.com>
13645
ab6737ff
UD
13646 * libio/iofwide.c (do_length): Avoid warning.
13647
538faaa7
UD
13648 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13649
396a21b1
UD
136502011-10-14 Ulrich Drepper <drepper@gmail.com>
13651
cdf2901f
UD
13652 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13653
38ad40ce
UD
13654 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13655 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13656 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13657 * sysdeps/i386/i686/fpu/e_log.S: New file.
13658 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13659 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13660
396a21b1
UD
13661 * ctype/ctype.h: Add support for inlined isXXX functions when
13662 compiling C++ code.
13663
6b1f68c9
AS
136642011-10-14 Andreas Schwab <schwab@redhat.com>
13665
349290c0
AS
13666 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13667
6b1f68c9
AS
13668 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13669
f2282d42
RM
136702011-10-13 Roland McGrath <roland@hack.frob.com>
13671
13672 [BZ #13291]
13673 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13674
5298ffa8
AS
136752011-10-13 Andreas Schwab <schwab@redhat.com>
13676
714fad23
AS
13677 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13678 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13679 feraiseexcept.
13680
81dcc7fb
AS
13681 * sysdeps/x86_64/memrchr.S: Check for zero size.
13682
5298ffa8
AS
13683 * string/stratcliff.c: Add memrchr tests.
13684
951fbcec
LD
136852011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13686
13687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13688 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13689 rawmemchr-sse2 rawmemchr-sse2-bsf.
13690 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13691 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13692 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13693 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13694 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13695 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13696 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13697 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13698 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13699 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13700 * string/memrchr.c (MEMRCHR): New macro.
13701
0ac5ae23
UD
137022011-10-12 Ulrich Drepper <drepper@gmail.com>
13703
13704 Add integration with gcc's -ffinite-math-only and optimize wrapper
13705 functions in libm.
13706 * Versions.def: Define GLIBC_2.15 version for libm.
13707 * math/Makefile (headers): Add bits/math-finite.h.
13708 * math/bits/math-finite.h: New file.
13709 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13710 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13711 * math/e_acoshl.c: Add __*_finite alias.
13712 * math/e_acosl.c: Likewise.
13713 * math/e_asinl.c: Likewise.
13714 * math/e_atan2l.c: Likewise.
13715 * math/e_atanhl.c: Likewise.
13716 * math/e_coshl.c: Likewise.
13717 * math/e_exp10.c: Likewise.
13718 * math/e_exp10f.c: Likewise.
13719 * math/e_exp10l.c: Likewise.
13720 * math/e_exp2l.c: Likewise.
13721 * math/e_fmodl.c: Likewise.
13722 * math/e_gammal_r.c: Likewise.
13723 * math/e_hypotl.c: Likewise.
13724 * math/e_j0l.c: Likewise.
13725 * math/e_j1l.c: Likewise.
13726 * math/e_jnl.c: Likewise.
13727 * math/e_lgammal_r.c: Likewise.
13728 * math/e_log10l.c: Likewise.
13729 * math/e_log2l.c: Likewise.
13730 * math/e_logl.c: Likewise.
13731 * math/e_powl.c: Likewise.
13732 * math/e_sinhl.c: Likewise.
13733 * math/e_sqrtl.c: Likewise.
13734 * math/e_scalb.c: Completely rewritten and optimized.
13735 * math/e_scalbf.c: Likewise.
13736 * math/e_scalbl.c: Likewise.
13737 * math/w_acos.c: Likewise.
13738 * math/w_acosf.c: Likewise.
13739 * math/w_acosl.c: Likewise.
13740 * math/w_acosh.c: Likewise.
13741 * math/w_acoshf.c: Likewise.
13742 * math/w_acoshl.c: Likewise.
13743 * math/w_asin.c: Likewise.
13744 * math/w_asinf.c: Likewise.
13745 * math/w_asinl.c: Likewise.
13746 * math/w_atan2.c: Likewise.
13747 * math/w_atan2f.c: Likewise.
13748 * math/w_atan2l.c: Likewise.
13749 * math/w_atanh.c: Likewise.
13750 * math/w_atanhf.c: Likewise.
13751 * math/w_atanhl.c: Likewise.
13752 * math/w_exp10.c: Likewise.
13753 * math/w_exp10f.c: Likewise.
13754 * math/w_exp10l.c: Likewise.
13755 * math/w_fmod.c: Likewise.
13756 * math/w_fmodf.c: Likewise.
13757 * math/w_fmodl.c: Likewise.
13758 * math/w_j0.c: Likewise.
13759 * math/w_j0f.c: Likewise.
13760 * math/w_j0l.c: Likewise.
13761 * math/w_j1.c: Likewise.
13762 * math/w_j1f.c: Likewise.
13763 * math/w_j1l.c: Likewise.
13764 * math/w_jn.c: Likewise.
13765 * math/w_jnf.c: Likewise.
13766 * math/w_log.c: Likewise.
13767 * math/w_logf.c: Likewise.
13768 * math/w_logl.c: Likewise.
13769 * math/w_log10.c: Likewise.
13770 * math/w_log10f.c: Likewise.
13771 * math/w_log10l.c: Likewise.
13772 * math/w_log2.c: Likewise.
13773 * math/w_log2f.c: Likewise.
13774 * math/w_log2l.c: Likewise.
13775 * math/w_pow.c: Likewise.
13776 * math/w_powf.c: Likewise.
13777 * math/w_powl.c: Likewise.
13778 * math/w_remainder.c: Likewise.
13779 * math/w_remainderf.c: Likewise.
13780 * math/w_remainderl.c: Likewise.
13781 * math/w_scalb.c: Likewise.
13782 * math/w_scalbf.c: Likewise.
13783 * math/w_scalbl.c: Likewise.
13784 * math/w_sqrt.c: Likewise.
13785 * math/w_sqrtf.c: Likewise.
13786 * math/w_sqrtl.c: Likewise.
13787 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13788 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13789 used.
13790 * math/math_private.h: Declare __kernel_standard_f.
13791 * math/w_cosh.c: Remove cruft and optimize a bit.
13792 * math/w_coshf.c: Likewise.
13793 * math/w_coshl.c: Likewise.
13794 * math/w_exp2.c: Likewise.
13795 * math/w_exp2f.c: Likewise.
13796 * math/w_exp2l.c: Likewise.
13797 * math/w_hypot.c: Likewise.
13798 * math/w_hypotf.c: Likewise.
13799 * math/w_hypotl.c: Likewise.
13800 * math/w_lgamma.c: Likewise.
13801 * math/w_lgamma_r.c: Likewise.
13802 * math/w_lgammaf.c: Likewise.
13803 * math/w_lgammaf_r.c: Likewise.
13804 * math/w_lgammal.c: Likewise.
13805 * math/w_lgammal_r.c: Likewise.
13806 * math/w_sinh.c: Likewise.
13807 * math/w_sinhf.c: Likewise.
13808 * math/w_sinhl.c: Likewise.
13809 * math/w_tgamma.c: Likewise.
13810 * math/w_tgammaf.c: Likewise.
13811 * math/w_tgammal.c: Likewise.
13812 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13813 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13814 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13815 Minor optimizations. Pretty printing. Remove cruft.
13816 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13817 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13818 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13819 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13820 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13821 * sysdeps/i386/fpu/e_asin.S: Likewise.
13822 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13823 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13824 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13825 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13826 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13827 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13828 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13829 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13830 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13831 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13832 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13833 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13834 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13835 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13836 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13837 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13838 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13839 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13840 * sysdeps/i386/fpu/e_log.S: Likewise.
13841 * sysdeps/i386/fpu/e_log10.S: Likewise.
13842 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13843 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13844 * sysdeps/i386/fpu/e_log2.S: Likewise.
13845 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13846 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13847 * sysdeps/i386/fpu/e_logf.S: Likewise.
13848 * sysdeps/i386/fpu/e_logl.S: Likewise.
13849 * sysdeps/i386/fpu/e_pow.S: Likewise.
13850 * sysdeps/i386/fpu/e_powf.S: Likewise.
13851 * sysdeps/i386/fpu/e_powl.S: Likewise.
13852 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13853 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13854 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13855 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13856 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13857 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13858 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13859 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13860 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13862 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13864 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13867 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13868 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13869 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13870 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13874 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13875 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13876 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13877 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13878 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13879 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13880 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13881 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13882 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13883 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13884 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13885 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13886 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13887 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13888 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13889 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13890 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13891 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13892 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13893 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13894 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13895 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13896 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13897 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13898 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13899 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13900 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13901 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13902 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13903 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13904 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13905 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13906 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13907 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13909 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13910 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13911 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13912 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13913 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13914 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13915 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13916 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13917 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13918 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13919 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13920 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13921 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13922 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13923 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13924 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13925 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13926 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13927 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13928 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13929 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13930 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13931 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13932 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13933 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13934 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13935 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13936 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13937 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13938 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13939 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13940 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13941 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13942 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13943 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13944 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13945 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13946 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13947 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13948 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13949 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13951 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13952 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13953 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13954 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13955 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13956 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13957 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13958 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13959 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13960 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13961 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13962 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13963 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13964 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13965 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13966 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13967 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13968 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13969 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13970 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13971 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13972 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13973 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13974 (__isnanf): Likewise.
13975 (__isinf_ns): Likewise.
13976 (__isinf_nsf): Likewise.
13977 (__finite): Likewise.
13978 (__finitef): Likewise.
13979 (__ieee754_sqrt): Define as macro.
13980 (__ieee754_sqrtf): Define as macro.
13981 (__ieee754_sqrtl): Define as macro.
13982 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13983 inlined copy.
13984 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13985 __FINITE_MATH_ONLY__ consistent.
13986 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13987
12cc2fcd
AS
139882011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13989
a843a204
AS
13990 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13991 of rawmemchr.
13992
12cc2fcd
AS
13993 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13994
c853acd5
UD
139952011-10-09 Ulrich Drepper <drepper@gmail.com>
13996
13997 * po/ja.po: Update from translation team.
13998
c658d255
RM
139992011-10-08 Roland McGrath <roland@hack.frob.com>
14000
110946e4
RM
14001 * locale/programs/locarchive.c (prepare_address_space): New function.
14002 (create_archive, enlarge_archive, open_archive): Use it.
14003
50604220
RM
14004 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14005 inside [SHARED], where it is used.
14006
c658d255
RM
14007 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14008
14009 * nss/getent.c (netgroup_keys): Remove unused variable.
14010 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14011
6a621eb7
UD
140122011-10-08 Ulrich Drepper <drepper@gmail.com>
14013
7edb55ce
UD
14014 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14015 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14016 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14017 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14018 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14019 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14020 * math/Makefile (libm-calls): Add s_isinf_ns.
14021 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14022 * math/multc3.c: Likewise.
14023 * math/s_casin.c: Likewise.
14024 * math/s_casinf.c: Likewise.
14025 * math/s_casinl.c: Likewise.
14026 * math/s_ccos.c: Likewise.
14027 * math/s_ccosf.c: Likewise.
14028 * math/s_ccosl.c: Likewise.
14029 * math/s_ctan.c: Likewise.
14030 * math/s_ctanf.c: Likewise.
14031 * math/s_ctanh.c: Likewise.
14032 * math/s_ctanhf.c: Likewise.
14033 * math/s_ctanhl.c: Likewise.
14034 * math/s_ctanl.c: Likewise.
14035 * math/w_fmod.c: Likewise.
14036 * math/w_fmodf.c: Likewise.
14037 * math/w_fmodl.c: Likewise.
14038 * math/w_remainder.c: Likewise.
14039 * math/w_remainderf.c: Likewise.
14040 * math/w_remainderl.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14042 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14043 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14044 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14045 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14046 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14047 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14048 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14049
187da0ae
UD
14050 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14051 of the number.
14052 * stdio-common/printf_fphex.c: Likewise.
14053 * stdio-common/printf_size.c: Likewise.
14054
9277c064
UD
14055 * math/e_exp10.c: Include math_private.h using <...> not "...".
14056 * math/e_exp10f.c: Likewise.
14057 * math/e_exp10l.c: Likewise.
14058 * math/e_exp2l.c: Likewise.
14059 * math/e_j0l.c: Likewise.
14060 * math/e_j1l.c: Likewise.
14061 * math/e_jnl.c: Likewise.
14062 * math/e_lgammal_r.c: Likewise.
14063 * math/e_rem_pio2l.c: Likewise.
14064 * math/e_scalb.c: Likewise.
14065 * math/e_scalbf.c: Likewise.
14066 * math/e_scalbl.c: Likewise.
14067 * math/k_cosl.c: Likewise.
14068 * math/k_sinl.c: Likewise.
14069 * math/k_tanl.c: Likewise.
14070 * math/s_cacoshf.c: Likewise.
14071 * math/s_catan.c: Likewise.
14072 * math/s_catanf.c: Likewise.
14073 * math/s_catanh.c: Likewise.
14074 * math/s_catanhf.c: Likewise.
14075 * math/s_catanhl.c: Likewise.
14076 * math/s_catanl.c: Likewise.
14077 * math/s_ccosh.c: Likewise.
14078 * math/s_ccoshf.c: Likewise.
14079 * math/s_ccoshl.c: Likewise.
14080 * math/s_cexp.c: Likewise.
14081 * math/s_cexpf.c: Likewise.
14082 * math/s_cexpl.c: Likewise.
14083 * math/s_clog.c: Likewise.
14084 * math/s_clog10.c: Likewise.
14085 * math/s_clog10f.c: Likewise.
14086 * math/s_clog10l.c: Likewise.
14087 * math/s_clogf.c: Likewise.
14088 * math/s_clogl.c: Likewise.
14089 * math/s_csin.c: Likewise.
14090 * math/s_csinf.c: Likewise.
14091 * math/s_csinh.c: Likewise.
14092 * math/s_csinhf.c: Likewise.
14093 * math/s_csinhl.c: Likewise.
14094 * math/s_csinl.c: Likewise.
14095 * math/s_csqrt.c: Likewise.
14096 * math/s_csqrtf.c: Likewise.
14097 * math/s_csqrtl.c: Likewise.
14098 * math/s_ctan.c: Likewise.
14099 * math/s_ctanf.c: Likewise.
14100 * math/s_ctanh.c: Likewise.
14101 * math/s_ctanhf.c: Likewise.
14102 * math/s_ctanhl.c: Likewise.
14103 * math/s_ctanl.c: Likewise.
14104 * math/s_ldexp.c: Likewise.
14105 * math/s_ldexpf.c: Likewise.
14106 * math/s_ldexpl.c: Likewise.
14107 * math/s_significand.c: Likewise.
14108 * math/s_significandf.c: Likewise.
14109 * math/s_significandl.c: Likewise.
14110 * math/w_acos.c: Likewise.
14111 * math/w_acosf.c: Likewise.
14112 * math/w_acosh.c: Likewise.
14113 * math/w_acoshf.c: Likewise.
14114 * math/w_acoshl.c: Likewise.
14115 * math/w_acosl.c: Likewise.
14116 * math/w_asin.c: Likewise.
14117 * math/w_asinf.c: Likewise.
14118 * math/w_asinl.c: Likewise.
14119 * math/w_atan2.c: Likewise.
14120 * math/w_atan2f.c: Likewise.
14121 * math/w_atan2l.c: Likewise.
14122 * math/w_atanh.c: Likewise.
14123 * math/w_atanhf.c: Likewise.
14124 * math/w_atanhl.c: Likewise.
14125 * math/w_cosh.c: Likewise.
14126 * math/w_coshf.c: Likewise.
14127 * math/w_coshl.c: Likewise.
14128 * math/w_dremf.c: Likewise.
14129 * math/w_exp10.c: Likewise.
14130 * math/w_exp10f.c: Likewise.
14131 * math/w_exp10l.c: Likewise.
14132 * math/w_exp2.c: Likewise.
14133 * math/w_exp2f.c: Likewise.
14134 * math/w_fmod.c: Likewise.
14135 * math/w_fmodf.c: Likewise.
14136 * math/w_fmodl.c: Likewise.
14137 * math/w_hypot.c: Likewise.
14138 * math/w_hypotf.c: Likewise.
14139 * math/w_hypotl.c: Likewise.
14140 * math/w_j0.c: Likewise.
14141 * math/w_j0f.c: Likewise.
14142 * math/w_j0l.c: Likewise.
14143 * math/w_j1.c: Likewise.
14144 * math/w_j1f.c: Likewise.
14145 * math/w_j1l.c: Likewise.
14146 * math/w_jn.c: Likewise.
14147 * math/w_jnf.c: Likewise.
14148 * math/w_jnl.c: Likewise.
14149 * math/w_lgamma.c: Likewise.
14150 * math/w_lgamma_r.c: Likewise.
14151 * math/w_lgammaf.c: Likewise.
14152 * math/w_lgammaf_r.c: Likewise.
14153 * math/w_lgammal.c: Likewise.
14154 * math/w_lgammal_r.c: Likewise.
14155 * math/w_log.c: Likewise.
14156 * math/w_log10.c: Likewise.
14157 * math/w_log10f.c: Likewise.
14158 * math/w_log10l.c: Likewise.
14159 * math/w_log2.c: Likewise.
14160 * math/w_log2f.c: Likewise.
14161 * math/w_log2l.c: Likewise.
14162 * math/w_logf.c: Likewise.
14163 * math/w_logl.c: Likewise.
14164 * math/w_pow.c: Likewise.
14165 * math/w_powf.c: Likewise.
14166 * math/w_powl.c: Likewise.
14167 * math/w_remainder.c: Likewise.
14168 * math/w_remainderf.c: Likewise.
14169 * math/w_remainderl.c: Likewise.
14170 * math/w_scalb.c: Likewise.
14171 * math/w_scalbf.c: Likewise.
14172 * math/w_scalbl.c: Likewise.
14173 * math/w_sinh.c: Likewise.
14174 * math/w_sinhf.c: Likewise.
14175 * math/w_sinhl.c: Likewise.
14176 * math/w_sqrt.c: Likewise.
14177 * math/w_sqrtf.c: Likewise.
14178 * math/w_sqrtl.c: Likewise.
14179 * math/w_tgamma.c: Likewise.
14180 * math/w_tgammaf.c: Likewise.
14181 * math/w_tgammal.c: Likewise.
14182
6a621eb7
UD
14183 * po/ja.po: Update from translation team.
14184
bf582445
AJ
141852011-09-29 Andreas Jaeger <aj@suse.de>
14186
f9efbf3a
AJ
14187 [BZ #13179]
14188 * sunrpc/netname.c (netname2host): Fix logic.
14189
bf582445
AJ
14190 [BZ #6779]
14191 [BZ #6783]
14192 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14193 correctly.
14194 * math/w_remainder.c (__remainder): Likewise.
14195 * math/w_remainderf.c (__remainderf): Likewise.
14196 * math/libm-test.inc (remainder_test): Add test cases.
14197
48693bea
AK
141982011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14199
14200 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14201 sdiv_qrnnd.
14202
42622229
LD
142032011-10-07 Ulrich Drepper <drepper@gmail.com>
14204
14205 * string/test-memcmp.c: Avoid unncessary #defines.
14206 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14207
093ecf92
LD
142082011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14209
14210 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14211 Use new sse2 version for core i3 - i7 as it's faster
14212 than sse42 version.
14213 (bit_Prefer_PMINUB_for_stringop): New.
14214 * sysdeps/x86_64/rawmemchr.S: Update.
14215 Replace with faster SSE2 version.
14216 * sysdeps/x86_64/memrchr.S: New file.
14217 * sysdeps/x86_64/memchr.S: Update.
14218 Replace with faster SSE2 version.
14219
fde56e5c
MP
142202011-09-12 Marek Polacek <mpolacek@redhat.com>
14221
14222 * elf/dl-load.c (lose): Add cast to avoid warning.
14223
21fd49a9
UD
142242011-10-07 Ulrich Drepper <drepper@gmail.com>
14225
5a06e643
UD
14226 * po/ca.po: Update from translation team.
14227
684ae515
UD
14228 * inet/getnetgrent_r.c: Hook up nscd.
14229 * nscd/Makefile (routines): Add nscd_netgroup.
14230 (nscd-modules): Add netgroupcache.
14231 (CFLAGS-netgroupcache.c): Define.
14232 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14233 (cache_search): Add const to second parameter.
14234 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14235 INNETGR.
14236 (dbs): Add netgrdb entry.
14237 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14238 (verify_persistent_db): Handle netgrdb.
14239 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14240 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14241 GETFDNETGR.
14242 (netgroup_response_header): Define.
14243 (innetgroup_response_header): Define.
14244 (datahead): Add netgroup_response_header and innetgroup_response_header
14245 elements.
14246 * nscd/nscd.conf: Add entries for netgroup cache.
14247 * nscd/nscd.h (dbtype): Add netgrdb.
14248 (_PATH_NSCD_NETGROUP_DB): Define.
14249 (netgroup_iov_disabled): Declare.
14250 (xmalloc, xcalloc, xrealloc): Move declarations here.
14251 (cache_search): Adjust prototype.
14252 Add netgroup-related prototypes.
14253 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14254 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14255 (__nscd_innetgr): Declare.
14256 * nscd/selinux.c (perms): Use access_vector_t as element type and
14257 add netgroup-related initializers.
14258 * nscd/netgroupcache.c: New file.
14259 * nscd/nscd_netgroup.c: New file.
14260 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14261 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14262 For four parameters use innetgr.
14263 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14264 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14265 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14266 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14267
21fd49a9
UD
14268 * nscd/connections.c (register_traced_file): Don't register file
14269 for disabled databases.
14270
054c0457
UD
142712011-10-06 Ulrich Drepper <drepper@gmail.com>
14272
32b63198
UD
14273 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14274
054c0457
UD
14275 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14276 from tree and freeing node.
14277
64031225
JO
142782011-09-25 Jiri Olsa <jolsa@redhat.com>
14279
14280 * nss/nsswitch.c (__nss_database_lookup): Handle
14281 nss_parse_service_list out of memory case.
14282
0490345c
JO
142832011-09-15 Jiri Olsa <jolsa@redhat.com>
14284
14285 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14286 out of memory case.
14287
3a62d00d
AS
142882011-10-04 Andreas Schwab <schwab@redhat.com>
14289
14290 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14291 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14292 pass it down.
14293 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14294 elf_machine_rela, elf_machine_lazy_rel.
14295 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14296 (ELF_DYNAMIC_DO_REL): Likewise.
14297 (ELF_DYNAMIC_DO_RELA): Likewise.
14298 (ELF_DYNAMIC_RELOCATE): Likewise.
14299 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14300 to ELF_DYNAMIC_DO_REL.
14301 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14302 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14303 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14304 elf_machine_rela.
14305 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14306 skip_ifunc, don't call ifunc function if non-zero.
14307 (elf_machine_rela): Likewise.
14308 (elf_machine_lazy_rel): Likewise.
14309 (elf_machine_lazy_rela): Likewise.
14310 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14311 (elf_machine_lazy_rel): Likewise.
14312 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14313 Likewise.
14314 (elf_machine_lazy_rel): Likewise.
14315 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14316 Likewise.
14317 (elf_machine_lazy_rel): Likewise.
14318 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14319 (elf_machine_lazy_rel): Likewise.
14320 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14321 (elf_machine_lazy_rel): Likewise.
14322 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14323 (elf_machine_lazy_rel): Likewise.
14324 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14325 (elf_machine_lazy_rel): Likewise.
14326 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14327 (elf_machine_lazy_rel): Likewise.
14328 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14329 (elf_machine_lazy_rel): Likewise.
14330
68577918
UD
143312011-09-28 Ulrich Drepper <drepper@gmail.com>
14332
14333 * nss/nss_files/files-init.c (_nss_files_init): Use static
14334 initialization for all the *_traced_file variables.
14335
68822d74
AS
143362011-09-28 Andreas Schwab <schwab@redhat.com>
14337
14338 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14339
2056100b
RM
143402011-09-27 Roland McGrath <roland@hack.frob.com>
14341
14342 [BZ #13226]
14343 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14344
32c76b63
AS
143452011-09-27 Andreas Schwab <schwab@redhat.com>
14346
14347 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14348 Reread the line before reparsing it.
14349
bf972c9d
AS
143502011-09-26 Andreas Schwab <schwab@redhat.com>
14351
14352 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14353
e057a1b5
JM
143542011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14355 Maxim Kuvyrkov <maxim@codesourcery.com>
14356 Joseph Myers <joseph@codesourcery.com>
14357
14358 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14359 if needed for __stack_chk_guard.
14360
bc7e1c36
RM
143612011-09-19 Roland McGrath <roland@hack.frob.com>
14362
ecb1482f
RM
14363 * sysdeps/posix/spawni.c (script_execute): Always define it.
14364 It will be optimized away if unused.
14365 (maybe_script_execute): New function.
14366 (__spawni): Call it.
14367
bc7e1c36
RM
14368 * Makerules: Don't include tls.make.
14369 (config-tls): Always set to thread.
14370 * tls.make.c: File removed.
14371
1c3b002b
MF
143722011-09-19 Mike Frysinger <vapier@gentoo.org>
14373
14374 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14375 * config.make.in (CPPFLAGS-config): New substituted variable.
14376
2840865d
UD
143772011-09-15 Ulrich Drepper <drepper@gmail.com>
14378
88738eb6
UD
14379 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14380
cbf645a6 14381 [BZ #13192]
2840865d
UD
14382 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14383 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14384
b402e91a
RM
143852011-09-15 Roland McGrath <roland@hack.frob.com>
14386
14387 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14388 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14389 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14390 (CALL_FAIL): Likewise.
14391 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14392 (CALL_FAIL): Macro removed.
14393 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14394
4c1a1f71
UD
143952011-09-15 Ulrich Drepper <drepper@gmail.com>
14396
14397 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14398 for __FINITE_MATH_ONLY__ == 1.
14399
edc121be
AS
144002011-09-15 Andreas Schwab <schwab@redhat.com>
14401
14402 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14403 __ieee754_sqrt instead of sqrt.
14404 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14405 __ieee754_sqrtf instead of sqrtf.
14406 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14407 __floorf instead of floorf.
14408 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14409 __floorf, __truncf instead of floorf, truncf.
14410
cd205654
UD
144112011-09-14 Ulrich Drepper <drepper@gmail.com>
14412
ee4d0315
UD
14413 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14414
cd205654
UD
14415 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14416 __extern_always_inline.
14417 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14418 32-bit.
14419
48b67d71
AS
144202011-09-14 Andreas Schwab <schwab@redhat.com>
14421
14422 * elf/rtld.c (dl_main): Also relocate in dependency order when
14423 doing symbol dependency testing.
14424
1ae12c75
AS
144252011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14426
14427 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14428 Always define `refsym'.
14429
995a80df
AS
144302011-09-13 Andreas Schwab <schwab@redhat.com>
14431
e529793b
AS
14432 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14433 (__FD_ELT): Renamed from __FDELT.
14434 * misc/bits/select2.h (__FD_ELT): Likewise.
14435 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14436 __FD_MASK instead of __FDELT, __FDMASK.
14437 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14438 Likewise.
14439 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14440 Likewise.
14441
52d4fef8
AS
14442 * elf/Makefile (gen-ldd): Fix pattern.
14443
995a80df
AS
14444 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14445 (init_tls): Likewise.
14446
8682f8b0
UD
144472011-09-12 Ulrich Drepper <drepper@gmail.com>
14448
14449 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14450
de82006d
AS
144512011-09-12 Andreas Schwab <schwab@redhat.com>
14452
a7c8e6a1
AS
14453 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14454 `struct cmsghdr *' instead of `void *'.
14455 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14456 Likewise.
14457
0f31fe77
AS
144582011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14459
14460 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14461 if non-absolute.
14462 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14463 ldd_rewrite_script.
0f31fe77 14464
32b4c839
UD
144652011-09-11 Ulrich Drepper <drepper@gmail.com>
14466
83cd1420
UD
14467 * configure.in: Remove --with-tls option.
14468 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14469 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14470 out in case it is missing.
14471 * sysdeps/ia64/elf/configure.in: Likewise.
14472 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14473 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14474 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14475 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14476 * sysdeps/sh/elf/configure.in: Likewise.
14477 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14478 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14479 * sysdeps/x86_64/elf/configure.in: Likewise.
14480 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14481 * sysdeps/mach/hurd/tls.h: Likewise.
14482
633f745d
UD
14483 [BZ #13067]
14484 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14485
f318beb8
UD
14486 [BZ #13090]
14487 * configure.in: Fix use of AC_INIT.
14488
32b4c839
UD
14489 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14490
3ce1f295
UD
144912011-09-10 Ulrich Drepper <drepper@gmail.com>
14492
bb016596
UD
14493 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14494 __set_errno.
8e58439c
UD
14495 * malloc/hooks.c: Likewise.
14496
aebae053 14497 [BZ #11929]
02d46fc4
UD
14498 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14499 variables statically.
14500 (narenas): Initialize.
14501 (list_lock): Initialize.
bb016596
UD
14502 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14503 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14504 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14505 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14506 Add initializers to main_arena and mp_.
14507 (malloc_state): Remove pagesize member. Change all users to use
14508 GLRO(dl_pagesize).
14509
14510 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14511 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14512 is always initialized.
14513
22a89187
UD
14514 * malloc/malloc.c: Removed unused configurations and dead code.
14515 * malloc/arena.c: Likewise.
14516 * malloc/hooks.c: Likewise.
02d46fc4 14517 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14518
d063d164
UD
14519 * include/tls.h: Removed. USE___THREAD must always be defined.
14520 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14521 * elf/dl-libc.c: Likewise.
14522 * elf/dl-tsd.c: Likewise.
14523 * include/errno.h: Likewise.
14524 * include/netdb.h: Likewise.
14525 * include/resolv.h: Likewise.
14526 * inet/herrno-loc.c: Likewise.
14527 * inet/herrno.c: Likewise.
14528 * malloc/arena.c: Likewise.
14529 * malloc/hooks.c: Likewise.
14530 * malloc/malloc.c: Likewise.
14531 * resolv/res-state.c: Likewise.
14532 * resolv/res_libc.c: Likewise.
14533 * sysdeps/i386/dl-machine.h: Likewise.
14534 * sysdeps/ia64/dl-machine.h: Likewise.
14535 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14536 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14537 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14538 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14539 * sysdeps/sh/dl-machine.h: Likewise.
14540 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14541 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14542 * sysdeps/unix/i386/sysdep.S: Likewise.
14543 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14544 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14545 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14546 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14547 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14548 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14549 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14551 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14553 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14554 * sysdeps/x86_64/dl-machine.h: Likewise.
14555 * tls.make.c: Likewise.
14556
3ce1f295
UD
14557 * configure.in: Remove --with-__thread option. Make tests for
14558 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14559 tls_model attribute fail if no support is available. Remove
14560 USE_IN_LIBIO.
14561 * Makeconfig: Adjust for dropped configure option. All features are
14562 now mandatory.
14563 * Makerules: Likewise.
14564 * Versions.def: Likewise.
14565 * argp/argp-fmtstream.c: Likewise.
14566 * argp/argp-fmtstream.h: Likewise.
14567 * argp/argp-help.c: Likewise.
14568 * assert/assert.c: Likewise.
14569 * config.h.in: Likewise.
14570 * config.make.in: Likewise.
14571 * configure: Likewise.
14572 * configure.in: Likewise.
14573 * csu/Versions: Likewise.
14574 * csu/init.c: Likewise.
14575 * elf/tst-audit2.c: Likewise.
14576 * elf/tst-tls10.c: Likewise.
14577 * elf/tst-tls10.h: Likewise.
14578 * elf/tst-tls11.c: Likewise.
14579 * elf/tst-tls12.c: Likewise.
14580 * elf/tst-tls14.c: Likewise.
14581 * elf/tst-tlsmod11.c: Likewise.
14582 * elf/tst-tlsmod12.c: Likewise.
14583 * elf/tst-tlsmod13.c: Likewise.
14584 * elf/tst-tlsmod13a.c: Likewise.
14585 * elf/tst-tlsmod14a.c: Likewise.
14586 * elf/tst-tlsmod15b.c: Likewise.
14587 * elf/tst-tlsmod16a.c: Likewise.
14588 * elf/tst-tlsmod16b.c: Likewise.
14589 * elf/tst-tlsmod7.c: Likewise.
14590 * elf/tst-tlsmod8.c: Likewise.
14591 * elf/tst-tlsmod9.c: Likewise.
14592 * gmon/gmon.c: Likewise.
14593 * grp/fgetgrent_r.c: Likewise.
14594 * grp/putgrent.c: Likewise.
14595 * hurd/fopenport.c: Likewise.
14596 * include/libc-symbols.h: Likewise.
14597 * include/tls.h: Likewise.
14598 * intl/gettextP.h: Likewise.
14599 * intl/loadinfo.h: Likewise.
14600 * locale/global-locale.c: Likewise.
14601 * locale/localeinfo.h: Likewise.
14602 * mach/devstream.c: Likewise.
14603 * malloc/arena.c: Likewise.
14604 * malloc/set-freeres.c: Likewise.
14605 * misc/err.c: Likewise.
14606 * misc/getttyent.c: Likewise.
14607 * misc/mntent_r.c: Likewise.
14608 * posix/getopt.c: Likewise.
14609 * posix/wordexp.c: Likewise.
14610 * pwd/fgetpwent_r.c: Likewise.
14611 * resolv/Versions: Likewise.
14612 * resolv/res_hconf.c: Likewise.
14613 * shadow/fgetspent_r.c: Likewise.
14614 * shadow/putspent.c: Likewise.
14615 * stdio-common/printf_fphex.c: Likewise.
14616 * stdio-common/tmpfile.c: Likewise.
14617 * stdlib/abort.c: Likewise.
14618 * stdlib/fmtmsg.c: Likewise.
14619 * sunrpc/auth_unix.c: Likewise.
14620 * sunrpc/clnt_perr.c: Likewise.
14621 * sunrpc/clnt_tcp.c: Likewise.
14622 * sunrpc/clnt_udp.c: Likewise.
14623 * sunrpc/clnt_unix.c: Likewise.
14624 * sunrpc/openchild.c: Likewise.
14625 * sunrpc/svc_simple.c: Likewise.
14626 * sunrpc/svc_tcp.c: Likewise.
14627 * sunrpc/svc_udp.c: Likewise.
14628 * sunrpc/svc_unix.c: Likewise.
14629 * sunrpc/xdr.c: Likewise.
14630 * sunrpc/xdr_array.c: Likewise.
14631 * sunrpc/xdr_rec.c: Likewise.
14632 * sunrpc/xdr_ref.c: Likewise.
14633 * sunrpc/xdr_stdio.c: Likewise.
14634
1248c1c4
PB
146352011-09-09 Ulrich Drepper <drepper@gmail.com>
14636
14637 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14638
146392011-07-03 Andreas Jaeger <aj@suse.de>
14640
14641 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14642 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14643 regenerate with gen-libm-tests.pl.
14644
146452010-05-12 Petr Baudis <pasky@suse.cz>
14646
14647 [BZ #11589]
14648 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14649 around j0() zero points by switching to j1().
14650 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14651 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14652 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14653 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14654
f22e1074
UD
146552011-09-09 Ulrich Drepper <drepper@gmail.com>
14656
f19009c1
UD
14657 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14658 instead of 0.
14659 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14660 instead of 0. .
14661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14662 Patch in part by Pavel Roskin <proski@gnu.org>.
14663
3f8cc204
UD
14664 [BZ #13138]
14665 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14666 realloc.
14667 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14668 Free memory block if necessary.
14669
f22e1074
UD
14670 [BZ #12847]
14671 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14672 be NULL. Don't lock in this case.
14673
0a2349f9
RM
146742011-09-09 Roland McGrath <roland@hack.frob.com>
14675
14676 * elf/elf.h (ELFOSABI_GNU): New macro.
14677 (ELFOSABI_LINUX): Define to that.
14678
f3cdd467
DZ
146792011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14680
14681 * string/strncat.c (strncat): Undef the symbol in case it has been
14682 defined in bits/string.h.
14683
74718d13
UD
146842011-09-09 Ulrich Drepper <drepper@gmail.com>
14685
633e9e0f
UD
14686 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14687
0a2349f9 14688 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14689 link map.
14690
f9924780
AJ
146912011-08-17 Andreas Jaeger <aj@suse.de>
14692
14693 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14694
7f5517aa
PP
146952011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14696 Ian Lance Taylor <iant@google.com>
14697
14698 * math/libm-test.inc (lround_test): New testcase.
14699 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14700
762011fe
UD
147012011-09-08 Ulrich Drepper <drepper@gmail.com>
14702
92963737
UD
14703 * Makefile: Remove support for automatic cvs check-ins.
14704 * Makerules: Likewise.
14705 * config.make.in: Likewise.
14706 * configure.in: Likewise.
14707 * intl/Makefile: Likewise.
14708 * locale/Makefile: Likewise.
14709 * po/Makefile: Likewise.
14710 * posix/Makefile: Likewise.
14711 * sysdeps/gnu/Makefile: Likewise.
14712 * sysdeps/mach/hurd/Makefile: Likewise.
14713 * sysdeps/sparc/sparc32/Makefile: Likewise.
14714
b0727fd8
JS
14715 [BZ #13118]
14716 * posix/Makefile (bug-regex32-ENV): Define.
14717 Patch by John Stanley <jpsinthemix@verizon.net>.
14718
a0f33f99
UD
14719 * misc/Makefile (headers): Add bits/select2.h.
14720 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14721 * misc/bits/select2.h: New file.
14722 * include/bits/select2.h: New file.
14723 * debug/Makefile (routines): Add fdelt_chk.
14724 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14725 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14726 FD_ISSET.
14727 * debug/fdelt_chk.c: New file.
14728
762011fe
UD
14729 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14730 * wcsmbs/test-wmemcmp.c: Likewise.
14731 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14732 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14733
147342011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14735
14736 * string/Makefile (strop-tests): Add memcmp.
14737 * string/test-wmemcmp.c: New file.
14738 * string/test-memcmp.c: Add wmemcmp support.
14739
7f513ec8
RM
147402011-09-08 Roland McGrath <roland@hack.frob.com>
14741
0442afb4
RM
14742 [BZ #13153]
14743 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14744 2011-07-19 change.
14745
7f513ec8
RM
14746 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14747 garbage value in a __mach_port_mod_refs call in the cases of the
14748 task-self and thread-self ports.
14749
a12b2239
ST
147502011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14751
14752 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14753
610f9ab4
AS
147542011-09-08 Andreas Schwab <schwab@redhat.com>
14755
7f513ec8 14756 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14757
48882a1a
LD
147582011-09-07 Ulrich Drepper <drepper@gmail.com>
14759
b49865be
UD
14760 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14761
fdc86bc9
UD
14762 * elf/dl-libc.c (dlerror_run): Pass back error code from
14763 dl_catch_error.
14764
c966526a
UD
14765 [BZ #13123]
14766 * elf/dl-load.c (lose): Free l_origin if it is valid.
14767
48882a1a
LD
14768 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14769 names.
14770 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14771 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14772 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14773 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14774 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14775 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14776
77a2a8b4
AZ
147772011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14778
14779 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14780 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14781 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14782 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14783 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14784 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14785 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14786 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14787 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14788 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14789
24f579d8
AM
147902011-08-15 Alan Modra <amodra@gmail.com>
14791
14792 [BZ #13092]
14793 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14794 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14795 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14796 ppc_mcount to static-only-routines.
14797 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14798 __mcount_internal.
14799 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14800 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14801
3d4837df
UD
148022011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14803
14804 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14805 for finite and infinity parameters.
14806
22700377
WS
148072011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14808
14809 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14810 and add nop instructions for throughput optimization.
14811 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14812
5025581e
WS
148132011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14814
14815 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14816 aligned copy for power7 with vector-scalar instructions.
14817 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14818
08a300c9
L
148192011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14820
14821 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14822 AVX check.
14823
59178ef9
AS
148242011-09-07 Andreas Schwab <schwab@redhat.com>
14825
14826 [BZ #13144]
14827 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14828 last change.
14829
e38ba7ab
UD
148302011-09-07 Ulrich Drepper <drepper@gmail.com>
14831
14832 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14833 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14834 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14835 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14836 clock_gettime.
14837
d53a73ac
UD
148382011-09-06 Ulrich Drepper <drepper@gmail.com>
14839
fc8bffcc
UD
14840 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14841 Forgot to demangle the pointer.
14842
ceaa0c5d
UD
14843 * sysdeps/i386/sysdep.h: Define atom_text_section.
14844 * sysdeps/x86_64/sysdep.h: Likewise.
14845 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14846 section with atom_text_section.
14847 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14848 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14849 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14850 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14851 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14852
a77d3c17
UD
14853 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14854 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14855 already be defined. Change to take two parameters and don't assign
14856 result to variable. Adjust all users.
14857 Define INTERNAL_GETTIME if not already defined.
14858 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14859 call.
14860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14861 HAVE_CLOCK_GETTIME_VSYSCALL.
14862 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14863
d53a73ac
UD
14864 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14865 gettimeofday vsyscall, just use time.
14866
a8f84144
AS
148672011-09-06 Andreas Schwab <schwab@redhat.com>
14868
14869 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14870 <errno.h>.
14871
ef606249
UD
148722011-09-06 Ulrich Drepper <drepper@gmail.com>
14873
14874 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14875 syscall on x86-64.
14876 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14877 syscall.
14878 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14879 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14880 syscall if possible.
14881
6585cb60
UD
148822011-09-05 Ulrich Drepper <drepper@gmail.com>
14883
14884 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14885 e_ident. Don't pass to find_mapsXX.
14886 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14887
a5f524e4
LD
148882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14889
14890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14891 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14892 * sysdeps/x86_64/multiarch/strchr.S: Update.
14893 Check bit_slow_BSF bit.
14894 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14895 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14896 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14897
554881ef
UD
148982011-09-05 Ulrich Drepper <drepper@gmail.com>
14899
d96de963
UD
14900 [BZ #13134]
14901 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14902 before glibc 2.15.
14903 (tryshell): Define.
14904 (__spawni): Change last parameter to be flag. Test
14905 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14906 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14907 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14908 * posix/spawni.c: Likewise.
14909 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14910 * posix/spawnp.c: Likewise. Change normal version to use
14911 SPAWN_XFLAGS_USE_PATH.
14912 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14913 SPAWN_XFLAGS_TRY_SHELL.
14914
d48e5868
UD
14915 [BZ #13150]
14916 * posix/glob.h: Remove gcc 1.x support.
14917
554881ef
UD
14918 [BZ #13068]
14919 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14920
693fb948
LD
149212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14922
14923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14924 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14925 strrchr-sse2-bsf
14926 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14927 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14928 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14929 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14930 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14931 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14932
1b48c537
UD
149332011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14934
49d42c37
UD
14935 * sysdeps/x86_64/wcscmp.S: New file.
14936
1b48c537
UD
14937 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14938 wcscmp-c wcscmp-sse2
14939 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14940 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14941 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14942 * wcsmbs/wcscmp.c: Allow renaming.
14943
15c95c5d
DM
149442011-09-05 David S. Miller <davem@davemloft.net>
14945
14946 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14947 stack slot, rather than the struct return pointer slot.
14948 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14949 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14951 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14952
2f0ad8f3
UD
149532011-09-05 Ulrich Drepper <drepper@gmail.com>
14954
d88ae418
UD
14955 * po/ja.po: Update from translation team.
14956
2f0ad8f3
UD
14957 [BZ #13144]
14958 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14959 kernel in 64-bit binaries.
14960
5f4318d1
DM
149612011-09-01 David S. Miller <davem@davemloft.net>
14962
14963 * elf/elf.h (HWCAP_SPARC_*): Move to..
14964 * sysdeps/sparc/sysdep.h: this new file and add new values.
14965 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14966 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14967 _DL_HWCAP_COUNT to 24.
14968 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14969 entries.
14970 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14971 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14972 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14973 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14974 instead of magic constants.
14975 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14976
3ba57516
DM
149772011-08-31 David S. Miller <davem@davemloft.net>
14978
14979 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14980 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14981 Reimplement to do errno handling inline.
14982 (SYSCALL_ERROR_HANDLER): New macro.
14983 (__SYSCALL_STRING): Do not do errno handling in asm.
14984 (__CLONE_SYSCALL_STRING): Delete.
14985 (__INTERNAL_SYSCALL_STRING): Delete.
14986 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14987 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14988 (PSEUDO): Reimplement to do errno handling inline.
14989 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14990 (SYSCALL_ERROR_HANDLER): New macro.
14991 (__SYSCALL_STRING): Do not do errno handling in asm.
14992 (__CLONE_SYSCALL_STRING): Delete.
14993 (__INTERNAL_SYSCALL_STRING): Delete.
14994 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14995 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14996 i386.
14997 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14998 (inline_syscall*): Add 'err' argument.
14999 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15000 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15001 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15002 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15003
15004 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15005 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15006
2bc17433
AS
150072011-08-30 Andreas Schwab <schwab@redhat.com>
15008
15009 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15010
fbeb5f4d
JO
150112011-08-29 Jiri Olsa <jolsa@redhat.com>
15012
15013 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15014 directive.
15015
ad69cc26
DM
150162011-08-24 David S. Miller <davem@davemloft.net>
15017
15018 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15019
39dd69df
AS
150202011-08-24 Andreas Schwab <schwab@redhat.com>
15021
15022 * elf/Makefile: Add rules to build and run unload8 test.
15023 * elf/unload8.c: New file.
15024 * elf/unload8mod1.c: New file.
15025 * elf/unload8mod1x.c: New file.
15026 * elf/unload8mod2.c: New file.
15027 * elf/unload8mod3.c: New file.
15028
15029 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15030 it wasn't used.
15031
2c0b250a
DM
150322011-08-23 David S. Miller <davem@davemloft.net>
15033
15034 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15035 subtract stack bias.
15036 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15037 %sp not %fp in calculations.
15038 (_JMPBUF_UNWINDS_ADJ): Likewise.
15039
22044b48
DM
15040 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15041 (aio_suspend): Call it to force an exception region around the
15042 AIO_MISC_WAIT() invocation.
15043
2cae4995
AS
150442011-08-23 Andreas Schwab <schwab@redhat.com>
15045
15046 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15047 backslash.
15048
873a772e
AJ
150492011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15050
15051 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15052 protection macro.
15053 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15054 and <dl-machine.h>.
15055 (Elf64_FuncDesc): Remove.
15056
25ad0df1
DM
150572011-08-22 David S. Miller <davem@davemloft.net>
15058
15059 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15060 sigaltstack check, add missing cfi directives.
15061 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15062 missing cfi directives, and sigaltstack handling.
15063
e888bcbe
AS
150642011-08-16 Andreas Schwab <schwab@redhat.com>
15065
15066 [BZ #11724]
15067 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15068 object is seen twice.
15069 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15070
15071 * elf/Makefile (distribute): Add tst-initorder2.c.
15072 (tests): Add tst-initorder2.
15073 (modules-names): Add tst-initorder2a tst-initorder2b
15074 tst-initorder2c tst-initorder2d. Add rules to build them.
15075 ($(objpfx)tst-initorder2.out): New rule.
15076 * elf/tst-initorder2.c: New file.
15077 * elf/tst-initorder2.exp: New file.
15078
87162f46
AS
150792011-08-22 Andreas Schwab <schwab@redhat.com>
15080
70538b7f
AS
15081 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15082
f55ffe58
AS
15083 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15084 dependencies back to end of function.
15085
87162f46
AS
15086 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15087 $(elfobjdir)/ld.so.
15088
91b392a4
UD
150892011-08-21 Ulrich Drepper <drepper@gmail.com>
15090
15091 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15092 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15093 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15094 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15095 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15096 of __vdso_gettimeofday.
15097 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15098 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15099 attribute_hidden.
15100 (_libc_vdso_platform_setup): Remove initialization of
15101 __vdso_gettimeofday and __vdso_time.
15102
5c43483f
UD
151032011-08-20 Ulrich Drepper <drepper@gmail.com>
15104
775a77e7
UD
15105 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15106 and fgetc_unlocked.
15107 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15108 getc_unlocked.
89f447ed 15109
49c74ba9
UD
15110 * elf/dl-open.c (add_to_global): Report additions to the global scope
15111 for LD_DEBUG=scopes.
15112 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15113 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15114
5c43483f
UD
15115 [BZ #13114]
15116 * stdio-common/Makefile (tests): Add bug24.
15117 * stdio-common/bug24.c: New file.
15118
a101b025
AJ
151192011-08-19 Andreas Jaeger <aj@suse.de>
15120
15121 [BZ #13114]
15122 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15123 non-existant file when using close-on-exec mode.
15124
c88f1766
UD
151252011-08-20 Ulrich Drepper <drepper@gmail.com>
15126
0276a718
UD
15127 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15128 the very first instruction.
15129
c88f1766
UD
15130 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15131 the CFI state in the end.
15132 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15133 inclusion of dl-trampoline.h.
15134 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15135
51ccffa0
AS
151362011-08-19 Andreas Schwab <schwab@redhat.com>
15137
94d7165f
AS
15138 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15139 expectations for long double.
15140
51ccffa0
AS
15141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15142 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15143
fd708658 151442011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15145
15146 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15147 artificual limit depends upon the system page size.
15148
44f0a71e
UD
151492011-08-17 Ulrich Drepper <drepper@gmail.com>
15150
15151 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15152 * resolv/Makefile: Define CFLAGS-libresolv.
15153
8de79a24
AS
151542011-08-17 Andreas Schwab <schwab@redhat.com>
15155
15156 * nss/makedb.c (compute_tables): Make variables used in nested
15157 function static.
15158
27724598
UD
151592011-08-17 Ulrich Drepper <drepper@gmail.com>
15160
c5305d88
UD
15161 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15162 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15163 if buffer was too small.
15164
27724598
UD
15165 * elf/pldd.c (main): Attach to all threads in the process.
15166 Rewrite /proc handling to use *at functions.
15167
076fe015
UD
151682011-08-16 Ulrich Drepper <drepper@gmail.com>
15169
174baab3
UD
15170 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15171 specifies first scope to show.
15172 (dl_open_worker): Update callers. Move printing scope of new
15173 object to before the relocation.
44f0a71e 15174 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15175 * sysdeps/generic/ldsodefs.h: Update declaration.
15176
076fe015
UD
15177 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15178 string for the scope number.
15179
a60df2c3
UD
151802011-08-14 Ulrich Drepper <drepper@gmail.com>
15181
15182 * nscd/servicescache.c (cache_addserv): Make sure written is always
15183 initialized.
15184
5e4287d1
RM
151852011-08-14 Roland McGrath <roland@hack.frob.com>
15186
85ae0589
RM
15187 * sysdeps/i386/i486/bits/atomic.h
15188 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15189 statement expression, so as to suppress "set but not used" warning.
15190 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15191
69f63097
RM
15192 * string/strncat.c (STRNCAT): Use prototype definition.
15193
675456ef
RM
15194 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15195 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15196 -Iprograms here.
15197 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15198 (localedef-modules): Add localedef.
15199 (locale-modules): Add locale.
15200
5e4287d1
RM
15201 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15202 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15203 to avoid a warning.
15204
9c96ff23
DM
152052011-08-14 David S. Miller <davem@davemloft.net>
15206
15207 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15208 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15209
f9ddf089
UD
152102011-08-13 Ulrich Drepper <drepper@gmail.com>
15211
44f0a71e 15212 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15213 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15214 * elf/rtld.c (dl_main): Set l_name of vDSO.
15215 Call _dl_show_scope when DL_DEBUG_SCOPES.
15216 (process_dl_debug): Recognize scopes flag and also set it for all.
15217 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15218 Declare _dl_show_scope.
15219
1dc27704
UD
15220 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15221 (do_dlopen): Pass caller_dlopen to dl_open.
15222 (__libc_dlopen_mode): Initialize caller_dlopen.
15223
f9ddf089
UD
15224 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15225 of libc. Make tolower call locale-independent. Optimize a bit by
15226 using isdigit instead of isalnum.
15227 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15228
9ac533d3
UD
152292011-08-12 Ulrich Drepper <drepper@gmail.com>
15230
15231 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15232 was a dependency or dynamically loaded.
15233
89edf2e9
UD
152342011-08-11 Ulrich Drepper <drepper@gmail.com>
15235
8e999d29
UD
15236 * intl/l10nflist.c: Allow architecture-specific pop function.
15237 * sysdeps/x86_64/l10nflist.c: New file.
15238
89edf2e9
UD
15239 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15240 classification.
15241
14d96785
AS
152422011-08-10 Andreas Schwab <schwab@redhat.com>
15243
15244 * include/dirent.h: Add libc_hidden_proto for scandirat and
15245 scandirat64. Don't declare __scandirat64.
15246 * dirent/scandirat.c: Add libc_hidden_def.
15247 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15248 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15249
6761ac04
DM
152502011-08-10 David S. Miller <davem@davemloft.net>
15251
15252 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15253 enum.
15254 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15255 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15256 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15257
c55fbd1e
UD
152582011-08-09 Ulrich Drepper <drepper@gmail.com>
15259
15260 * Versions.def [libc]: Add GLIBC_2.15.
15261 * dirent/Makefile (routines): Add scandirat and scandirat64.
15262 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15263 GLIBC_2.15.
15264 * dirent/dirent.h: Declare scandirat and scandirat64.
15265 * dirent/scandirat.c: New file.
15266 * dirent/scandirat64.c: New file.
15267 * sysdeps/wordsize-64/scandirat.c: New file.
15268 * sysdeps/wordsize-64/scandirat64.c: New file.
15269 * dirent/opendir.c: Define opendirat.
15270 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15271 using scandirat.
15272 * dirent/scandir64.c: Adjust for scandir.c change.
15273 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15274 __scandirat64, and __scandir_cancel_handler.
15275 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15276 additional parameter and use openat instead of open (outside of ld.so).
15277 Add new __opendir as wrapper around __opendirat.
15278 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15279 here without requiring old scandirat implementation.
15280
879165f2
UD
152812011-08-08 Ulrich Drepper <drepper@gmail.com>
15282
15283 * dirent/scandir.c (cancel_handler): Renamed to
15284 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15285 defined. Adjust users.
15286 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15287 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15288
cb7e923b
UD
152892011-08-04 Ulrich Drepper <drepper@gmail.com>
15290
16292edd
UD
15291 * string/test-string.h (IMPL): Use __STRING to expand name and then
15292 stringify it.
15293
cb7e923b
UD
15294 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15295 of cleanups.
15296
cff82933
LD
152972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15298
15299 * string/Makefile: Update.
15300 (strop-tests): Append strncat.
15301 * string/test-wcscmp.c: New file.
15302 New comprehensive test for wcscmp.
15303 * string/test-strcmp.c: Update.
15304 (WIDE): New define.
15305
9be9bfcc
AS
153062011-07-22 Andreas Schwab <schwab@redhat.com>
15307
15308 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15309 line.
15310
2e96f1c7
AS
153112011-07-26 Andreas Schwab <schwab@redhat.com>
15312
15313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15314 encoding to ACE if AI_IDN.
15315
85188888
JJ
153162011-08-01 Jakub Jelinek <jakub@redhat.com>
15317
15318 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15319 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15320
5fa16e9b
LD
153212011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15322
15323 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15324 Fix overflow bug in strncat.
15325 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15326
15327 * string/test-strncat.c: Update.
15328 Add new tests for checking overflow bugs.
15329
153302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15331
15332 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15333 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15334 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15335 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15336 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15337 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15338 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15339 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15340 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15341
15342 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15343 (USE_AS_STRCAT): Define.
15344 Add strcat and strncat support.
15345 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15346
8c1a459f
AS
153472011-07-25 Andreas Schwab <schwab@redhat.com>
15348
15349 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15350 __n bigger than INT_MAX+1.
15351 (__strncmp_g): Likewise.
15352
bba33c28
UD
153532011-07-23 Ulrich Drepper <drepper@gmail.com>
15354
798be72d
UD
15355 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15356 * libio/stido.h: Likewise.
15357
8accd4dc
UD
15358 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15359 (AF_NFC): Define.
15360 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15361 (AF_NFC): Define.
15362
cbff0d96
UD
15363 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15364 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15365 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15366 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15367 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15368
9191c04a
UD
15369 [BZ #13021]
15370 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15371 installed.
15372
bba33c28
UD
15373 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15374 typo.
15375 (_dl_x86_64_save_sse): Likewise.
15376
90f139dd
UD
153772011-07-22 Ulrich Drepper <drepper@gmail.com>
15378
1aae088a
UD
15379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15380 OSXSAVE.
15381 (_dl_x86_64_save_sse): Likewise.
15382
8e2045f5
UD
15383 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15384
90f139dd
UD
15385 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15386
1d002f25
AS
153872011-07-21 Andreas Schwab <schwab@redhat.com>
15388
15389 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15390 change.
15391 (_dl_x86_64_save_sse): Use correct AVX check.
15392
21137f89
UD
153932011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15394
15395 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15396 bug in strncpy/strncat.
15397 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15398
a65c0b7a
UD
153992011-07-21 Ulrich Drepper <drepper@gmail.com>
15400
15401 * string/tester.c (test_strcat): Add tests for different alignments
15402 of source and destination.
15403 (test_strncat): Likewise.
15404
6986b98a
UD
154052011-07-20 Ulrich Drepper <drepper@gmail.com>
15406
90bb2039
UD
15407 [BZ #12852]
15408 * posix/glob.c (glob): Check passed in values before using them in
15409 expressions to avoid some overflows.
15410 (glob_in_dir): Likewise.
15411
5644ef54
UD
15412 [BZ #13007]
15413 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15414 check for AVX enablement so that we don't crash with old kernels and
15415 new hardware.
15416 * elf/tst-audit4.c: Add same checks here.
15417 * elf/tst-audit6.c: Likewise.
15418
15419 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15420
bfc9dc9b
AS
154212011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15422
15423 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15424
702e64bb
UD
154252011-07-20 Ulrich Drepper <drepper@gmail.com>
15426
15427 * po/cs.po: Update from translation team.
15428 * po/bg.po: Likewise.
15429
295e904f
MP
154302011-07-12 Marek Polacek <mpolacek@redhat.com>
15431
15432 * misc/sys/cdefs.h: Add support for const attribute.
15433 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15434 to gnu_dev_{major,minor,makedev} functions.
15435
3ff94596
MP
154362011-07-20 Marek Polacek <mpolacek@redhat.com>
15437
15438 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15439
28b59fca
AS
154402011-07-20 Andreas Schwab <schwab@redhat.com>
15441
15442 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15443 strlen results.
15444
19df733e
AK
154452011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15446
15447 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15448 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15449 register in order to avoid conflicts with the soft frame pointer
15450 being held in r11 when necessary.
15451 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15452 (INTERNAL_VSYSCALL_NCS): Likewise.
15453
c8835729
MP
154542011-07-14 Marek Polacek <mpolacek@redhat.com>
15455
15456 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15457 * elf/dl-fini.c (_dl_fini): Adjust caller.
15458 * elf/dl-close.c (_dl_close_worker): Likewise.
15459 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15460
b902330c
MP
154612011-07-15 Marek Polacek <mpolacek@redhat.com>
15462
8991e135
MP
15463 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15464 "aux_cache->nlibs < 0".
15465
b902330c
MP
15466 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15467 in the reload-count case.
15468
99710781
LD
154692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15470
15471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15472 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15473 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15474 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15475 * sysdeps/x86_64/multiarch/strcat.S: New file.
15476 * sysdeps/x86_64/multiarch/strncat.S: New file.
15477 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15478 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15479 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15480 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15481 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15482 (USE_AS_STRCAT): Define.
15483 Add strcat and strncat support.
15484 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15485 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15486 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15487 * string/strncat.c: Update.
15488 (USE_AS_STRNCAT): Define.
15489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15490 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15491 and i7.
15492 * sysdeps/x86_64/multiarch/init-arch.h
15493 (bit_Prefer_PMINUB_for_stringop): New.
15494 (index_Prefer_PMINUB_for_stringop): Likewise.
15495 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15496 bit_Prefer_PMINUB_for_stringop.
15497
7dc6bd90
UD
154982011-07-19 Ulrich Drepper <drepper@gmail.com>
15499
15500 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15501 buffer64.
15502 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15503 of casting of buffer.
15504 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15505 buffer32 and buffer64.
15506 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15507 writes instead of casting of buffer.
15508 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15509 buffer32.
15510 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15511 casting of buffer.
15512
e0e72284
AS
155132011-07-19 Andreas Schwab <schwab@redhat.com>
15514
15515 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15516
feb1eb0b
UD
155172011-07-19 Ulrich Drepper <drepper@gmail.com>
15518
15519 * nscd/nscd.c (termination_handler): Don't do anything for a database
15520 if it has not yet been initialized.
15521
298711ff
UD
155222011-07-18 Ulrich Drepper <drepper@gmail.com>
15523
15524 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15525
155262011-07-15 Marek Polacek <mpolacek@redhat.com>
15527
15528 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15529
f9d68389
UD
155302011-07-18 Ulrich Drepper <drepper@gmail.com>
15531
15532 * po/nl.po: Update from translation team.
15533 * po/sv.po: Likewise.
15534
db290cf5
RM
155352011-07-16 Roland McGrath <roland@hack.frob.com>
15536
15537 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15538 now disallowed by GCC.
5c550700 15539
fd5e21c7
RM
15540 * configure.in (use-default-link): Default to yes if a test -shared
15541 link meets our qualifications.
15542 * configure: Regenerated.
15543
5c550700
RM
15544 * config.make.in (output-format): New variable.
15545 * configure.in: Check for ld --print-output-format support.
15546 * configure: Regenerated.
15547 * Makerules ($(common-objpfx)format.lds)
15548 [$(output-format) != unknown]: Just use $(output-format),
15549 instead of the linker-script munging.
15550
9fa2c032
RM
155512011-07-14 Roland McGrath <roland@hack.frob.com>
15552
a6928d51
RM
15553 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15554 of $(common-objpfx)shlib.lds.
15555 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15556
661607b3
RM
15557 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15558 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15559
9fa2c032
RM
15560 * configure.in (-z relro check): Adjust test code to add a large
15561 writable data section after it.
15562 * configure: Regenerated.
15563
defe9061
RM
155642011-07-11 Roland McGrath <roland@hack.frob.com>
15565
15566 * configure.in (-z relro check): Fix test code to make the variable
15567 truly const.
15568 * configure: Regenerated.
15569
319b9ad4
UD
155702011-07-11 Ulrich Drepper <drepper@gmail.com>
15571
15572 * nscd/nscd.h (struct traced_file): Define.
15573 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15574 elements. Add traced_files.
15575 (inotify_fd): Declare.
15576 (register_traced_file): Declare.
15577 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15578 (inotify_fd): Export.
15579 (resolv_conf_descr): Remove.
15580 (nscd_init): Move inotify descriptor creation to main.
15581 Don't register files for notification here.
15582 (register_traced_file): New function.
15583 (invalidate_cache): Don't use reset_res to determine whether to call
15584 res_init, go through the list of registered files.
15585 (main_loop_poll): The inotify descriptors are now stored in the
15586 structures for the traced files.
15587 (main_loop_epoll): Likewise
15588 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15589 to __nss_disable_nscd.
15590 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15591 for a database anymore. Check the records for all the registered
15592 files instead.
15593 * nss/Makefile (libnss_files-routines): Add files-init.
15594 (libnss_db-routines): Add db-init.
15595 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15596 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15597 * nss/nss_db/db-init.c: New file.
15598 * nss/nss_files/files-init.c: New file.
15599 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15600 __nss_lookup_function.
15601 (__nss_lookup_function): Call nss_load_library.
15602 (nss_load_all_libraries): New function.
15603 (__nss_disable_nscd): Take parameter with callback function for files
15604 to register. Set is_nscd. Load all the DSOs for the NSS modules
15605 used for the cached services.
15606 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15607 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15608 options for features to all the files in nscd.
15609
15610 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15611
23bee3e8
RM
156122011-07-10 Roland McGrath <roland@hack.frob.com>
15613
15614 * csu/elf-init.c (__libc_csu_init): Comment typo.
15615
46a5b7f0
UD
156162011-07-09 Ulrich Drepper <drepper@gmail.com>
15617
15618 * po/pl.po: Update from translation team.
15619 * po/ja.po: Likewise.
15620 * po/ru.po: Likewise.
15621 * po/ko.po: Likewise.
15622 * po/fr.po: Likewise.
15623
d30cf5bb
RM
156242011-07-09 Roland McGrath <roland@hack.frob.com>
15625
113ddea4
RM
15626 * configure.in (.ctors/.dtors header and trailer check):
15627 Use an empirical test on a built program.
15628 * configure: Regenerated.
15629
574920b4
RM
15630 * configure.in (-z relro check): Use an empirical test on a built DSO.
15631 Detect, but do not require, on ia64.
15632 * configure: Regenerated.
15633
d30cf5bb
RM
15634 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15635 Update tests that use readelf to use $READELF instead.
15636 * configure: Regenerated.
15637
8538fdb3
UD
156382011-07-08 Ulrich Drepper <drepper@gmail.com>
15639
15640 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15641 if the result is not used.
15642
04d08991
AJ
156432011-07-05 Andreas Jaeger <aj@suse.de>
15644
15645 [BZ#9696]
15646 * stdlib/tst-strtod.c: Add testcase.
15647
de283087
AD
156482011-07-07 Ulrich Drepper <drepper@gmail.com>
15649
4e5f31c8 15650 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15651 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15652 The latter has a higher limit. Take additional parameter to pass to
15653 the new function.
15654 (__pathconf): Pass file to __statfs_link_max.
15655 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15656 __statfs_link_max.
15657 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15658 __statfs_link_max.
15659
de283087
AD
15660 [BZ #12868]
15661 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15662 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15663 Handle Lustre.
15664 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15665 (__statfs_filesize_max): Likewise.
15666 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15667
c75fa153
AJ
156682011-07-05 Andreas Jaeger <aj@suse.de>
15669
15670 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15671
1a544854
UD
156722011-07-06 Marek Polacek <mpolacek@redhat.com>
15673
15674 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15675 `status' variable.
15676 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15677 Likewise.
15678
6f0eec67
UD
156792011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15680
15681 * Makefile (strop-tests): Add strncat.
15682 * string/test-strncat.c: New file.
15683
aae30307
UD
156842011-06-30 Marek Polacek <mpolacek@redhat.com>
15685
15686 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15687
c0cfb5eb
UD
156882011-06-21 Andreas Jaeger <aj@suse.de>
15689
15690 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15691 Copy rule from iconvdata/Makefile.
15692
01636b21
UD
156932011-07-06 Ulrich Drepper <drepper@gmail.com>
15694
15695 [BZ #12922]
15696 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15697 but no long options are defined, just return 'W'.
15698
9895c8bc
UD
156992011-06-22 Marek Polacek <mpolacek@redhat.com>
15700
15701 [BZ #9696]
15702 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15703
5d4cf042
UD
157042011-07-06 Ulrich Drepper <drepper@gmail.com>
15705
15706 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15707 netgroups to read.
960e5535 15708 (innetgr): Likewise.
5d4cf042 15709
751eb97e
RM
157102011-07-05 Roland McGrath <roland@hack.frob.com>
15711
15712 * config.make.in (install_root): Default to $(DESTDIR).
15713
f15f1e45
UD
157142011-07-05 Ulrich Drepper <drepper@gmail.com>
15715
15716 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15717
4e34ac6a
RM
157182011-07-02 Roland McGrath <roland@hack.frob.com>
15719
5e9b6af4
RM
15720 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15721
84f9ea0f
RM
15722 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15723 containing directory rather than embedding absolute directory names.
15724
ea5ee9f7
RM
15725 * scripts/check-local-headers.sh: Rewritten using awk.
15726 Match by word, not by line. Print error messages for matches.
15727 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15728
1b74661a
RM
15729 * Makerules [shlib-lds-flags empty]:
15730 ($(common-objpfx)libc_pic.opts): New target.
15731 ($(common-objpfx)libc_pic.os.clean): New target.
15732 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15733
15734 * config.make.in (OBJCOPY): New variable.
15735 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15736 * configure: Regenerated.
15737
f781ef40
RM
15738 * config.make.in (use-default-link): New variable.
15739 * configure.in (use_default_link): Grok --with-default-link to set it.
15740 * configure: Regenerated.
15741 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15742 (shlib-lds, shlib-lds-flags): Define to empty.
15743
2d4fa81e
RM
15744 * Makerules (shlib-lds): New variable.
15745 (shlib-lds-flags): New variable.
15746 (build-shlib, build-moduile, build-module-asneeded): Use it.
15747 ($(common-objpfx)libc.so): Use $(shlib-lds).
15748 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15749 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15750
31fffa6b
RM
15751 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15752 DT_FLAGS/DT_FLAGS_1 with zero flags.
15753
4e34ac6a
RM
15754 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15755 linker script munging.
15756
fcfc776b
UD
157572011-07-02 Ulrich Drepper <drepper@gmail.com>
15758
15759 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15760 as 128-bit value.
15761 * crypt/sha512.c (sha512_process_block): Perform total addition using
15762 128-bit if possible.
15763 (__sha512_finish_ctx): Likewise.
15764 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15765 as 64-bit value.
15766 * crypt/sha256.c (SWAP64): Define.
15767 (sha256_process_block): Perform total addition using 64-bit if
15768 possible.
15769 (__sha256_finish_ctx): Likewise.
15770
99231d9a
UD
157712011-07-01 Ulrich Drepper <drepper@gmail.com>
15772
15773 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15774 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15775 * nscd/hstcache.c (cache_addhst): Likewise.
15776 * nscd/grpcache.c (cache_addgr): Likewise.
15777 * nscd/aicache.c (addhstaiX): Likewise
15778 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15779
445b4a53
TK
157802011-07-01 Thorsten Kukuk <kukuk@suse.de>
15781
15782 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15783 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15784 * nscd/hstcache.c (cache_addhst): Likewise.
15785 * nscd/grpcache.c (cache_addgr): Likewise.
15786 * nscd/aicache.c (addhstaiX): Likewise
15787
6d4d8e8e
AS
157882011-07-01 Andreas Schwab <schwab@redhat.com>
15789
15790 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15791 domain only when needed.
15792
89f654c5
AS
157932011-06-30 Andreas Schwab <schwab@redhat.com>
15794
15795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15796 is always restored.
15797
cf3b23ff
UD
157982011-06-29 Ulrich Drepper <drepper@gmail.com>
15799
15800 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15801 are re-adding the entry.
15802 * nscd/servicescache.c (cache_addserv): Likewise.
15803
751626f9
AJ
158042011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15805
15806 * sysdeps/generic/dl-irel.h: fix protection against multiple
15807 inclusions.
15808 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15809
9113ea1f
UD
158102011-06-28 Ulrich Drepper <drepper@gmail.com>
15811
5c0b8d90
UD
15812 [BZ #12935]
15813 * malloc/memusage.sh: Fix quoting in message.
15814 * debug/xtrace.sh: Likewise.
15815
9113ea1f
UD
15816 * configure.in: Remove support for --experimental-malloc option, make
15817 it the default.
15818 * config.make.in: Likewise.
15819 * malloc/Makefile: Likewise.
15820
a4172181
AS
158212011-06-27 Andreas Schwab <schwab@redhat.com>
15822
15823 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15824 two-byte characters.
15825
78a7eee7
RM
158262011-06-27 Roland McGrath <roland@hack.frob.com>
15827
62bede13
RM
15828 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15829 AC_CACHE_CHECK invocation.
15830 * configure: Regenerated.
15831
78a7eee7
RM
15832 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15833
5ce33a62
UD
158342011-06-27 Ulrich Drepper <drepper@gmail.com>
15835
034807a9
UD
15836 [BZ #12350]
15837 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15838 bit from old_res_options.
15839
4902da17
UD
15840 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15841
5ce33a62
UD
15842 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15843 value type for setfct.
15844
c2344f56
L
158452011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15846
15847 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15848 __gettimeofday instead of gettimeofday.
15849
68468076
UD
158502011-06-26 Ulrich Drepper <drepper@gmail.com>
15851
15852 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15853
acb0d739
L
158542011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15855
15856 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15857
15858 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15859 info.
15860
8912479f
L
158612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15862
15863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15864 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15865 strcpy-sse2-unaligned strncpy-sse2-unaligned
15866 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15867 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15868 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15869 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15870 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15871 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15872 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15873 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15874 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15875 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15876 (STRCPY): Support SSE2 and SSSE3 versions.
15877
d5495a11
UD
158782011-06-24 Ulrich Drepper <drepper@gmail.com>
15879
15880 [BZ #12874]
15881 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15882 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15883 kernels which artificially limit size of requests.
15884
0b1cbaae
L
158852011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15886
15887 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15888 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15889 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15890 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15891 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15892 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15893 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15894 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15895 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15896 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15897 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15898 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15899 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15900 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15901 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15903 Enable unaligned load optimization for Intel Core i3, i5 and i7
15904 processors.
15905 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15906 Define.
15907 (index_Fast_Unaligned_Load): Define.
15908 (HAS_FAST_UNALIGNED_LOAD): Define.
15909
07f494a0
MP
159102011-06-23 Marek Polacek <mpolacek@redhat.com>
15911
15912 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15913
fa3fc0fe
UD
159142011-06-22 Ulrich Drepper <drepper@gmail.com>
15915
15916 [BZ #12907]
15917 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15918 until it is clear that the information is realy needed.
15919 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15920
e12df166
AS
159212011-06-22 Andreas Schwab <schwab@redhat.com>
15922
15923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15924
852eb34d
UD
159252011-06-22 Ulrich Drepper <drepper@gmail.com>
15926
84e2a551
UD
15927 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15928 /sys/devices/system/cpu/online if it is usable.
15929
852eb34d
UD
15930 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15931 reading the information from the /proc filesystem to once a second.
15932
6e502e19
UD
159332011-06-21 Andreas Jaeger <aj@suse.de>
15934
15935 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15936 NULL after inclusion of kernel headers.
15937
75d39ff2
UD
159382011-06-21 Ulrich Drepper <drepper@gmail.com>
15939
51f9aa6a
UD
15940 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15941 calls to internal_setent.
15942
c0244a9d
UD
15943 [BZ #12885]
15944 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15945 addresses using gethostbyname4_r ignore IPv4 addresses.
15946
c5e3c2ae
UD
15947 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15948 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15949
75d39ff2
UD
15950 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15951
42675c6f
DM
159522011-06-20 David S. Miller <davem@davemloft.net>
15953
15954 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15955 inclusions.
15956 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15957
15958 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15959 (elf_irel): Use it.
15960 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15961 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15962 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15963 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15964 * sysdeps/x86_64/dl-irel.h: Likewise.
15965
15966 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15967 * elf/dl-sym.c: Likewise.
15968
57912a71
UD
159692011-06-15 Ulrich Drepper <drepper@gmail.com>
15970
15971 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15972 need to dereference resplen2.
15973
ee22793d
AS
159742011-06-14 Andreas Schwab <schwab@redhat.com>
15975
15976 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15977
a9e836b0
UD
159782011-06-15 Ulrich Drepper <drepper@gmail.com>
15979
77fb9117
UD
15980 * Makeconfig: Define vardbdir and inst_vardbdir.
15981 * nss/Makefile: Add rules to install db-Makefile.
15982
40c1b22c
UD
15983 * nss/nss_db/db-XXX.c: Cleanup.
15984
9f2da732
UD
15985 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15986 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15987 GLIBC_PRIVATE.
15988 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15989 * nss/makedb.c: Implement -g option to specify that value strings
15990 are generated and should not be added to table iterated over for
15991 get*ent calls.
15992 * nss/nss_db/db-initgroups.c: New file.
15993
82e9a1f7
UD
15994 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15995 interface.
15996
c41af17e
UD
15997 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15998 (internal_getgrouplist): Adjust to name change.
15999 Update use_initgroups_entry if this is not the first call.
16000 * nss/databases.def: Add initgroups entry.
16001
a9e836b0
UD
16002 * nss/makedb.c (compute_tables): Check result of multiple hash table
16003 sizes to minimize maximum chain length.
16004
2666d441
UD
160052011-06-14 Ulrich Drepper <drepper@gmail.com>
16006
16007 * Versions.def: Add entry for libnss_db.
16008 * shlib-versions: Likewise.
16009 * nss/Makefile: Add rules to build libnss_db.
16010 * nss/Versions: Add libnss_db information. Organize libnss_files
16011 entries better.
16012 * nss/db-Makefile: Add gshadow support. Change rules for the new
16013 makedb progra. Some minor improvements to generate smaller files.
16014 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16015 here from...
16016 * nss/makedb.c: ...here.
16017 Improve database format to be smaller and require less memory at
16018 runtime.
16019 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16020 db anymore.
16021 * nss/nss_db/db-netgrp.c: Likewise.
16022 * nss/nss_db/db-open.c: Likewise.
16023 * nss/nss_files/flies-XXX.x: Adjust comments.
16024 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16025 * nss/nss_files/files-grp.c: Likewise.
16026 * nss/nss_files/files-hosts.c: Likewise.
16027 * nss/nss_files/files-network.c: Likewise.
16028 * nss/nss_files/files-proto.c: Likewise.
16029 * nss/nss_files/files-pwd.c: Likewise.
16030 * nss/nss_files/files-rpc.c: Likewise.
16031 * nss/nss_files/files-service.c: Likewise.
16032 * nss/nss_files/files-sgrp.c: Likewise.
16033 * nss/nss_files/files-spwd.c: Likewise.
16034 * nss/nss_db/db-alias.c: Removed.
16035 * nss/nss_db/dummy-db.h: Removed.
16036
9ee76b5a
UD
160372011-06-02 Ulrich Drepper <drepper@gmail.com>
16038
16039 * nss/makedb.c: Rewritten to not use database library.
16040 * nss/Makefile: Update to build new makedb program.
16041
c71ca1f8
AJ
160422011-06-14 Andreas Jaeger <aj@suse.de>
16043
16044 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16045 memset declaration.
16046
3154bfb8
UD
160472011-06-10 Andreas Schwab <schwab@redhat.com>
16048
16049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16050 tmpbuf.
16051
b350afab
RM
160522011-06-10 Roland McGrath <roland@hack.frob.com>
16053
decd4e50
RM
16054 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16055 * elf/Makefile ($(objpfx)ld.so): Likewise.
16056
5615eaf2
RM
16057 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16058 Don't list ld.so twice in dependencies.
16059
16060 * posix/bug-regex31.c: Include <stdlib.h>.
16061
16062 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16063
16064 * nis/nss_compat/compat-spwd.c
16065 (getspent_next_nss_netgr): Remove unused variable.
16066 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16067
16068 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16069 nonmembers" output to use the right array.
16070
16071 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16072
16073 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16074
16075 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16076 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16077 * catgets/gencat.c (read_input_file): Likewise.
16078 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16079
16080 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16081 variable definition inside #if's controlling its use.
16082
16083 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16084
16085 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16086
16087 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16088
16089 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16090 unreachable code.
16091
16092 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16093
b68e08db
RM
16094 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16095 * configure: Regenerated.
16096
b350afab
RM
16097 * Makerules: Revert last change.
16098 * elf/Makefile: Likewise.
16099
28368601
RM
161002011-06-09 Roland McGrath <roland@hack.frob.com>
16101
16102 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16103 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16104 (reloc-link): Likewise.
16105
11988f8f
UD
161062011-06-09 Ulrich Drepper <drepper@gmail.com>
16107
16108 * elf/Makefile: Add rules to build pldd.
16109 * elf/pldd.c: New file.
16110 * elf/pldd-xx.c: New file.
16111
e80fab37
UD
161122011-06-07 Ulrich Drepper <drepper@gmail.com>
16113
16114 * version.h: Update for 2.15 development version.
16115
9b849836
DM
161162011-06-07 David S. Miller <davem@davemloft.net>
16117
16118 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16119 ifuncs.
16120 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16121 elf_machine_lazy_rel): Likewise.
16122 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16123 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16124 elf_machine_lazy_rel): Likewise.
16125 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16126 dl_hwcap via passed in argument.
16127 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16128 Likewise.
16129
5a31b283
AK
161302011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16131
16132 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16133
069e52f8
RM
161342011-06-06 Roland McGrath <roland@hack.frob.com>
16135
16136 [BZ #12849]
16137 * manual/fdl-1.1.texi: New file, verbatim from:
16138 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16139 * manual/lgpl-2.1.texi: New file, verbatim from:
16140 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16141 * manual/Makefile (licenses): New variable, list those new file names.
16142 (texis): Use it.
16143 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16144
16145 * manual/fdl.texi: File removed.
16146 * manual/lesser.texi: File removed.
16147 * manual/libc.texinfo (Copying, Documentation License):
16148 Use new @include file names, put @appendix directive before @include.
16149
f16846a5
JJ
161502011-06-04 Jakub Jelinek <jakub@redhat.com>
16151
16152 [BZ #12841]
16153 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16154 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16155 (mq_open): Add __NTH.
16156
3d29045b
L
161572011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16158
16159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16160 Assume Intel Core i3/i5/i7 processor if AVX is available.
16161
8c297311
UD
161622011-05-31 Ulrich Drepper <drepper@gmail.com>
16163
16164 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16165 typo.
16166
c8fc0c91
UD
161672011-05-31 Andreas Schwab <schwab@redhat.com>
16168
16169 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16170 memory. Use alloca_account. Fix memory leak when retrying.
16171
5b27a807
UD
161722011-05-31 Ulrich Drepper <drepper@gmail.com>
16173
356f8bc6
UD
16174 * version.h (RELEASE): Bump for 2.14 release.
16175 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16176
5b27a807
UD
16177 * config.make.in (RANLIB): Remove entry.
16178
01f16ab0
UD
161792011-05-30 Ulrich Drepper <drepper@gmail.com>
16180
41fce8bd
UD
16181 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16182 (libc.pot): Work around missing support for .ksh extension in xgettext.
16183
4769ae77
UD
16184 [BZ #12684]
16185 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16186 if both request failed.
16187 (send_dg): In case of server errors clear resplen or *resplen2.
16188
6b1e7d19
UD
16189 [BZ #12454]
16190 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16191 when there are multiple maps.
16192 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16193 (_dl_fini): Remove test here.
16194
01f16ab0
UD
16195 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16196
b1ebd700
UD
161972011-05-29 Ulrich Drepper <drepper@gmail.com>
16198
7ae22829
UD
16199 [BZ #12350]
16200 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16201 bit from old_res_options.
16202 (gaih_inet): Likewise.
16203
553149f6 16204 [BZ #11099]
18a84741 16205 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16206 as signed.
16207
652ffab1
UD
16208 * resolv/res_init.c (res_setoptions): Make the code more compact.
16209
16985fd0
UD
16210 [BZ #11558]
16211 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16212 set RES_USEVC.
16213
0464f746
UD
16214 [BZ #11634]
16215 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16216
7d17596c
UD
16217 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16218
cf6bbbd7
UD
16219 [BZ #11781]
16220 * malloc/malloc.h: Declare malloc hook variables as volatile.
16221
13f1ab36
UD
16222 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16223 in last patch.
16224
b1ebd700
UD
16225 [BZ #11799]
16226 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16227 raise in the comment.
80e2212d
UD
16228 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16229 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16230 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16231
ce67228d
UD
162322011-05-28 Ulrich Drepper <drepper@gmail.com>
16233
8887a920
UD
16234 [BZ #12811]
16235 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16236 grow the buffers more if it already has to be sufficient.
16237 (build_wcs_upper_buffer): Likewise.
16238 * posix/regexec.c (check_matching): Likewise.
16239 (clean_state_log_if_needed): Likewise.
16240 (extend_buffers): Don't enlarge buffers beyond size of the input
16241 buffer.
16242 Patches mostly by Emil Wojak <emil@wojak.eu>.
16243 * posix/bug-regex32.c: New file.
16244 * posix/Makefile (tests): Add bug-regex32.
16245
4f031072
UD
16246 * locale/findlocale.c (_nl_find_locale): Return right away if
16247 _nl_explode_name failed.
16248 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16249
d0478f0c
UD
16250 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16251
de81b246
UD
16252 * debug/xtrace.sh: Unify messages.
16253 * malloc/memusage.sh: Likewise.
16254
c738465a
UD
16255 [BZ #12813]
16256 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16257 time symbol from vDSO. Substitute with vsyscall if not available.
16258 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16259 __vdso_time.
16260
f1f929d7
UD
16261 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16262 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16263 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16264 Add sendmmsg and internal_sendmmsg.
16265 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16266 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16267 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16268
ce67228d
UD
16269 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16270 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16271 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16272
e57420c6
UD
162732011-05-27 Ulrich Drepper <drepper@gmail.com>
16274
a8509ca5
UD
16275 [BZ #12813]
16276 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16277 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16278 available.
16279 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16280 __vdso_getcpu.
16281
e57420c6
UD
16282 [BZ #12814]
16283 * iconvdata/Makefile (tests): Add bug-iconv9.
16284 * iconvdata/bug-iconv9.c: New file.
16285
4d07db15
AS
162862011-05-27 Andreas Schwab <schwab@redhat.com>
16287
16288 [BZ #12814]
16289 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16290
ea486f69
JJ
162912011-05-25 Jakub Jelinek <jakub@redhat.com>
16292
16293 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16294 (struct user_regs_struct): Change intcs field back to cs.
16295
6f038433
UD
162962011-05-25 Ulrich Drepper <drepper@gmail.com>
16297
16298 * po/ja.po: Update from translation team.
16299
67f86a25
UD
163002011-05-23 Ulrich Drepper <drepper@gmail.com>
16301
16302 [BZ #12795]
16303 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16304 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16305
def7fbd6
AS
163062011-05-20 Andreas Schwab <schwab@redhat.com>
16307
16308 * stdlib/longlong.h: Update from GCC.
16309
f50ef8f1
AS
163102011-05-23 Andreas Schwab <schwab@redhat.com>
16311
16312 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16313 parameter name.
16314 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16315 Add parameter name.
16316 (__sysconf): Pass it down.
16317
de7ce8f1
UD
163182011-05-22 Ulrich Drepper <drepper@gmail.com>
16319
f2962a71
UD
16320 [BZ #12671]
16321 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16322 some situations.
16323 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16324 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16325 add in in __libc_use_alloca calls. Adjust callers.
16326 (glob): Use malloc in some situations.
16327
de7ce8f1
UD
16328 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16329 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16330 pltexit.
16331
aec84f53
UD
163322011-05-21 Ulrich Drepper <drepper@gmail.com>
16333
05bb4a68
UD
16334 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16335 and CLOCK_BOOTTIME_ALARM.
16336
7ea72f99
UD
16337 [BZ #12782]
16338 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16339 is returned.
16340
7e4afad5
UD
16341 * string/_strerror.c (__strerror_r): Print negative errors as signed
16342 numbers.
16343
8e211fec
UD
16344 [BZ #12777]
16345 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16346 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16347 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16348
f7d82dc9
UD
16349 * configure.in: Fix typo in redirection and correct removal of test
16350 files in two cases.
16351
cc9e536d
UD
16352 [BZ #12788]
16353 * locale/setlocale.c (new_composite_name): Fix test to check for
16354 identical name of all categories.
16355
aec84f53
UD
16356 [BZ #12792]
16357 * libio/filedoalloc.c (local_isatty): New function.
16358 (_IO_file_doallocate): Use local_isatty.
16359 * stdio-common/perror.c (perror): In case a new stream is used
16360 forward the stream error.
16361 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16362 error flag.
16363
78e64fdc
RT
163642011-05-20 Ulrich Drepper <drepper@gmail.com>
16365
34a9094f
UD
16366 [BZ #11869]
16367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16368 alloca.
16369 * include/alloca.h (extend_alloca_account): Define.
16370
78e64fdc
RT
16371 [BZ #11857]
16372 * posix/regex.h: Fix comments with documentation of user-accessible
16373 fields after compilation and describe correct free'ing of pattern
16374 after re_compile_pattern.
16375 Patch by Reuben Thomas <rrt@sc3d.org>.
16376
457bddfc
RA
163772011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16378
16379 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16380 and -mno-altivec to prevent the compiler from using Altivec and/or
16381 VSX instructions when the corresponding registers are not available.
16382
a4527b51
AS
163832011-05-19 Andreas Schwab <schwab@redhat.com>
16384
16385 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16386
ed690b2f
UD
163872011-05-19 Ulrich Drepper <drepper@gmail.com>
16388
16389 * libio/freopen.c (freopen): Use __dup2, not dup2.
16390 * libio/freopen64.c (freopen64): Likewise.
16391
8db73634
L
163922011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16393
16394 [BZ #12775]
16395 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16396 * math/Makefile (tests): Add test-powl.
16397 (CFLAGS-test-powl.c): Define.
16398 * math/test-powl.c: New file.
16399
0a197a9d
L
164002011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16401
16402 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16403
ee30c380
UD
164042011-05-17 Ulrich Drepper <drepper@gmail.com>
16405
16406 [BZ #11837]
16407 * iconvdata/gb18030.c: Update to GB18020-2005.
16408
6ce75379
UD
164092011-05-16 Ulrich Drepper <drepper@gmail.com>
16410
a4b89fd8
AR
16411 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16412 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16413 Patch by Aharon Robbins <arnold@skeeve.com>.
16414
ea389b12
UD
16415 [BZ #11892]
16416 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16417 on the stack.
16418
68a3f91f
UD
16419 [BZ #11895]
16420 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16421 through underflows.
16422
15cc7dd1
UD
16423 [BZ #12766]
16424 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16425 point to strings before performing equality test for error_one_per_line
16426 mode.
16427
f3799213
UD
16428 [BZ #11697]
16429 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16430
d79a9c94
UD
16431 [BZ #11820]
16432 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16433 (struct user_fpregs_struct): Avoid __uint*_t types.
16434
56e5eb46
UD
16435 [BZ #6420]
16436 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16437 symbol info. Use it instead of calling _dl_addr locally.
16438 (lock_and_info): New function.
16439 (tr_freehook): Call lock_and_info and pass symbol info as additional
16440 parameter to tr_where.
16441 (tr_mallochook): Likewise.
16442 (tr_reallochook): Likewise.
16443 (tr_memalignhook): Likewise.
16444
6ce75379
UD
16445 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16446 used and couldn't be at all thread-safe.
16447
f8a3b5bf
UD
164482011-05-15 Ulrich Drepper <drepper@gmail.com>
16449
94b7cc37
UD
16450 * libio/freopen.c (freopen): Don't close old file descriptor
16451 before the new one is opened. Instead dup the new file descriptor
16452 to the old one after the new stream is created.
16453 * libio/freopen64.c (freopen64): Likewise.
16454 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16455 * libio/fileops.c (_IO_new_file_close_it): Handle new
16456 _IO_FLAGS2_NOCLOSE flag.
16457 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16458 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16459 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16460 _IO_FLAGS2_NOCLOSE flag.
16461 * include/unistd.h: Add hidden_proto for dup3.
16462 Define __have_dup3.
16463 * io/dup3.c: Define hidden symbol.
16464 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16465
bd25564e
UD
16466 [BZ #7101]
16467 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16468 when an incomplete long option is used.
16469 * posix/tst-getopt_long1.c: New file.
16470 * posix/Makefile (tests): Add tst-getopt_long1.
16471
c84cfef4
UD
16472 [BZ #10138]
16473 * scripts/config.guess: Update from autoconf-2.68.
16474 * scripts/config.sub: Likewise.
16475
3b85df27
UD
16476 [BZ #10157]
16477 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16478 tests into ...
16479 (has_cpuclock): ...this. New function.
16480 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16481 macro here based on has_cpuclock code.
16482
15a856b1
UD
16483 [BZ #10149]
16484 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16485 First byte (not low byte) is now always NUL.
16486 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16487
05f399e6
UD
16488 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16489 Use non-cancelable interfaces.
16490
10a52685 16491 [BZ #9809]
94ecc67d
UD
16492 * locale/iso-639.def: Add entry for Sorani.
16493
f8a3b5bf
UD
16494 [BZ #11901]
16495 * include/stdlib.h: Move include protection to the right place.
16496 Define abort_msg_s. Declare __abort_msg with it.
16497 * stdlib/abort.c (__abort_msg): Adjust type.
16498 * assert/assert.c (__assert_fail_base): New function. Majority
16499 of code from __assert_fail. Allocate memory for __abort_msg with
16500 mmap.
16501 (__assert_fail): Now call __assert_fail_base.
16502 * assert/assert-perr.c: Remove bulk of implementation. Use
16503 __assert_fail_base.
16504 * include/assert.hL Declare __assert_fail_base.
16505 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16506 mmap.
16507 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16508
1af4e298
UD
165092011-05-14 Ulrich Drepper <drepper@gmail.com>
16510
f8a3b5bf 16511 [BZ #11952]
d26dfc60
MG
16512 [BZ #12453]
16513 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16514 until all modules are registered in the DTV.
16515 * elf/Makefile: Add rules to build and run tst-tls19.
16516 * elf/tst-tls19.c: New file.
16517 * elf/tst-tls19mod1.c: New file.
16518 * elf/tst-tls19mod2.c: New file.
16519 * elf/tst-tls19mod3.c: New file.
16520 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16521
2fc54d6f
UD
16522 [BZ #12083]
16523 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16524 correctly.
16525
98d76b46
UD
16526 [BZ #12601]
16527 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16528 two-byte sequence errors.
16529 * iconvdata/Makefile (tests): Add bug-iconv8.
16530 * iconvdata/bug-iconv8.c: New file.
16531
da3c19ef
UD
16532 [BZ #12626]
16533 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16534 buf2 definition.
16535
ca408c15
UD
16536 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16537
d6f67f7d
UD
16538 [BZ #12432]
16539 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16540 (dummy_getcfa): New function.
16541 (init): Get _Unwind_GetCFA address, use dummy if not found.
16542 (backtrace_helper): In recursion check, also check whether CFA changes.
16543 (__backtrace): Completely initialize arg.
16544
1af4e298 16545 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16546 storing incomplete byte sequence in state object. Avoid testing for
16547 guaranteed too small input if we know there is enough data available.
1af4e298 16548
da62f81b
AS
165492011-05-11 Andreas Schwab <schwab@redhat.com>
16550
16551 * Makeconfig (+link-pie): Indent.
16552 * Rules (binaries-pie): Define if $(have-fpie) and
16553 $(build-shared).
16554 (binaries-shared): Also filter out $(binaries-pie).
16555 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16556 * nscd/Makefile (others-pie): Add nscd.
16557 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16558 ($(objpfx)nscd): Remove command override.
16559 * login/Makefile (others-pie): Add pt_chown.
16560 ($(objpfx)pt_chown): Remove command override.
16561 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16562 remove command overrides.
16563
fcabc0f8
UD
165642011-05-13 Ulrich Drepper <drepper@gmail.com>
16565
20030ae6
UD
16566 * libio/tst_putwc.c: Fix error messages.
16567
fcabc0f8
UD
16568 [BZ #12724]
16569 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16570 currently writing and seek to current position when not.
16571 * libio/Makefile (tests): Add bug-fclose1.
16572 * libio/bug-fclose1.c: New file.
16573
320a5dc0
PB
165742011-05-12 Ulrich Drepper <drepper@gmail.com>
16575
16576 [BZ #12511]
16577 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16578 don't set DF_1_NODELETE here.
16579 (do_lookup_x): When entering new entry test for copy relocation
16580 and if necessary set DF_1_NODELETE flag.
16581 * elf/tst-unique4.cc: New file.
16582 * elf/tst-unique4.h: New file.
16583 * elf/tst-unique4lib.cc: New file.
16584 * elf/Makefile: Add rules to build and run tst-unique4.
16585 Patch by Piotr Bury <pbury@goahead.com>.
16586
22836f52
UD
165872011-05-11 Ulrich Drepper <drepper@gmail.com>
16588
f574184a
UD
16589 [BZ #12052]
16590 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16591
e1fb097f
UD
16592 [BZ #12625]
16593 * misc/mntent_r.c (addmntent): Flush the stream after the output
16594
22836f52
UD
16595 [BZ #12393]
16596 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16597 (is_trusted_path_normalize): Skip initial colon. Append slash
16598 to empty buffer. Duplicate is_trusted_path code but allow
16599 constructed patch to be prefix.
16600 (is_dst): Allow $ORIGIN followed by /.
16601 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16602 Correct testing of result of is_trusted_path_normalize
16603 (decompose_rpath): Fix warning.
16604
7b3b0b2a
UD
166052011-05-10 Ulrich Drepper <drepper@gmail.com>
16606
16607 [BZ #11257]
16608 * grp/initgroups.c (internal_getgrouplist): When we found the service
16609 list through the initgroups entry in nsswitch.conf do not always
16610 continue on a successful lookup. Don't always use the
eac80ce2 16611 __nss_group_database value if it is set.
7b3b0b2a
UD
16612 * nss/nsswitch.conf (initgroups): Change action for successful db
16613 lookup to continue for compatibility.
16614
2a81eaa5
UD
166152011-05-09 Ulrich Drepper <drepper@gmail.com>
16616
be97a69e
UD
16617 [BZ #11532]
16618 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16619 and CP774 modules.
16620 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16621 and CP774 modules.
16622 * iconvdata/tst-tables.sh: Likewise.
16623 * iconvdata/cp770.c: New file.
16624 * iconvdata/cp771.c: New file.
16625 * iconvdata/cp772.c: New file.
16626 * iconvdata/cp773.c: New file.
16627 * iconvdata/cp774.c: New file.
16628 * iconvdata/testdata/CP770: New file.
16629 * iconvdata/testdata/CP770..UTF8: New file.
16630 * iconvdata/testdata/CP771: New file.
16631 * iconvdata/testdata/CP771..UTF8: New file.
16632 * iconvdata/testdata/CP772: New file.
16633 * iconvdata/testdata/CP772..UTF8: New file.
16634 * iconvdata/testdata/CP773: New file.
16635 * iconvdata/testdata/CP773..UTF8: New file.
16636 * iconvdata/testdata/CP774: New file.
16637 * iconvdata/testdata/CP774..UTF8: New file.
16638
16639 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16640 END CHARMAP line.
16641 * iconvdata/gen-8bit-gap.sh: Likewise.
16642 * iconvdata/gen-8bit.sh: Likewise.
16643
c1e9e399
UD
16644 * locale/iso-639.def: Add ary entry.
16645
24c55fb3 16646 [BZ #11258]
96b4b1b0
UD
16647 * locale/C-translit.h.in: Add U20A1 transliteration.
16648
bdc2f971
KB
16649 [BZ #12178]
16650 * locale/iso-639.def: Add wae entry.
16651 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16652
2952b117
UD
16653 [BZ #12545]
16654 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16655 for n.
16656
2a81eaa5
UD
16657 [BZ #12711]
16658 * locale/C-translit.h.in: Add entry for U20B9.
16659 Patch by pravin.d.s@gmail.com.
16660
28377d1b
UD
166612011-05-08 Ulrich Drepper <drepper@gmail.com>
16662
7fb90fb8
UD
16663 [BZ #12713]
16664 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16665 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16666 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16667 in rtld. Use *stat64.
7fb90fb8 16668 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16669 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16670 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16671 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16672 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16673 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16674 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16675 __fstatat64 macros.
7fb90fb8
UD
16676 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16677 * dirent/rewinddir.c: Add libc_hidden_def.
16678 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16679 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16680
28377d1b
UD
16681 * include/dirent.h (__alloc_dir): Add flags parameter.
16682 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16683 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16684 __alloc_dir.
16685 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16686 from fdopendir if O_CLOEXEC is already set.
16687
66bdbaa4
AM
166882011-03-15 Alan Modra <amodra@gmail.com>
16689
16690 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16691 l_tls_firstbyte_offset non-zero. Save padding offset in
16692 l_tls_firstbyte_offset for later use.
16693 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16694 freeing static tls block.
16695
95721191
JN
166962011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16697
16698 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16699 where #ifdef was intended. The intent is to prevent ARG_MAX from
16700 being defined by the kernel headers.
16701
f87dfb1f
UD
167022011-05-07 Ulrich Drepper <drepper@gmail.com>
16703
16704 [BZ #12734]
16705 * resolv/resolv.h: Define RES_NOTLDQUERY.
16706 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16707 no-tld-query and set RES_NOTLDQUERY.
16708 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16709 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16710 modern BIND to search name as TLD unless forbidden.
16711
47c3cd7a
UD
167122011-05-07 Petr Baudis <pasky@suse.cz>
16713 Ulrich Drepper <drepper@gmail.com>
16714
16715 [BZ #12393]
16716 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16717 (is_trusted_path): ...to here.
c1e9ea35 16718 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16719 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16720 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16721
8a35c912
PP
167222011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16723
16724 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16725 __BEGIN/__END_DECLS.
16726
acd41f47
UD
167272011-05-06 Ulrich Drepper <drepper@gmail.com>
16728
16729 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16730 NSS_STATUS_NOTFOUND if no record was found.
16731
597df647
AS
167322011-05-05 Andreas Schwab <schwab@redhat.com>
16733
16734 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16735 (headers-not-in-tirpc): Remove rpc/netdb.h
16736 * resolv/netdb.h: Revert last change.
16737
b9af1301
PP
167382011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16739
16740 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16741 circular dependency between libgcc.a and libc.a.
16742
4e34d5f5
AS
167432011-05-05 Andreas Schwab <schwab@redhat.com>
16744
16745 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16746 * nis/Makefile: Don't install rpcsvc/*.
16747 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16748 instead of <rpc/types.h>.
16749 (MAXHOSTNAMELEN): Define.
16750
00ee369c
AS
167512011-05-03 Andreas Schwab <schwab@redhat.com>
16752
16753 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16754
0b592a30
MB
167552011-04-28 Maciej Babinski <mbabinski@google.com>
16756
16757 [BZ #12714]
16758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16759 gethostbyname4_r when IPv6 results are possible.
16760
6e04cbbe
UD
167612011-05-02 Ulrich Drepper <drepper@gmail.com>
16762
16763 [BZ #12723]
16764 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16765 _PC_PIPE_BUF handling.
16766
e4ecafe0
BH
167672011-04-30 Bruno Haible <bruno@clisp.org>
16768
16769 [BZ #12717]
16770 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16771 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16772 to 'int'.
16773 * inet/getnameinfo.c (getnameinfo): Likewise.
16774
125ee683
UD
167752011-04-29 Ulrich Drepper <drepper@gmail.com>
16776
16777 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16778 to groups setting in database lookup.
16779 * nss/nsswitch.conf: Add initgroups entry.
16780
b722481a
EB
167812011-04-22 Ulrich Drepper <drepper@gmail.com>
16782
16783 [BZ #12685]
16784 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16785 mode string.
16786 Patch by Eric Blake <eblake@redhat.com>.
16787
4df46dbd
L
167882011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16789
16790 * sunrpc/Makefile (need-export-routines): Add svc_run.
16791 (routines): Remove svc_run.
16792 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16793 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16794 * sunrpc/svc_run.c (svc_run): Likewise.
16795 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16796
e84142d2
UD
167972011-04-21 Ulrich Drepper <drepper@gmail.com>
16798
16799 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16800 problem in reallocation in last patch.
16801
877175d8
UD
168022011-04-20 Ulrich Drepper <drepper@gmail.com>
16803
16804 * sunrpc/Makefile: Move inclusion of Rules.
16805
ab8eed78
UD
168062011-04-19 Ulrich Drepper <drepper@gmail.com>
16807
16808 * nss/nss_files/files-initgroups.c: New file.
16809 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16810 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16811 _nss_files_initgroups_dyn.
16812
e3d8f584
RS
168132011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16814
16815 * elf/elf.h (R_ARM_IRELATIVE): Define.
16816
af190f45
UD
168172011-04-19 Ulrich Drepper <drepper@gmail.com>
16818
16819 * po/ru.po: Update from translation team.
16820
53cf59ef
UD
168212011-04-17 Ulrich Drepper <drepper@gmail.com>
16822
16823 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16824 dependencies.
16825
4c559bcd
MF
168262011-02-06 Mike Frysinger <vapier@gentoo.org>
16827
16828 [BZ #12653]
16829 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16830 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16831 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16832 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16833 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16834
4420675c
AS
168352011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16836
16837 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16838 differing bytes.
16839 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16840 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16841 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16842
75ea32ab
UD
168432011-04-17 Ulrich Drepper <drepper@gmail.com>
16844
16845 [BZ #12420]
16846 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16847 storing it.
16848 * stdlib/bug-getcontext.c: New file.
16849 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16850
27390476
AK
168512011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16852
16853 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16854 instructions into .machine "z9-109".
16855 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16856 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16857
10442705
AK
168582011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16859
16860 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16861 between environment variables and auxiliary vector.
16862
7b57bfe5
UD
168632011-04-16 Ulrich Drepper <drepper@gmail.com>
16864
16865 * Makefile: Add rules to build linkobj/libc.so.
16866 * include/libc-symbols.h: Define libc_hidden_nolink.
16867 * include/rpc/auth.h: Mark functions which are to be hidden.
16868 * include/rpc/auth_des.h: Likewise.
16869 * include/rpc/auth_unix.h: Likewise.
16870 * include/rpc/clnt.h: Likewise.
16871 * include/rpc/des_crypt.h: Likewise.
16872 * include/rpc/key_prot.h: Likewise.
16873 * include/rpc/pmap_clnt.h: Likewise.
16874 * include/rpc/pmap_prot.h: Likewise.
16875 * include/rpc/pmap_rmt.h: Likewise.
16876 * include/rpc/rpc_msg.h: Likewise.
16877 * include/rpc/svc.h: Likewise.
16878 * include/rpc/svc_auth.h: Likewise.
16879 * include/rpc/xdr.h: Likewise.
16880 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16881 * nss/Makefile: Likewise.
16882 * sunrpc/Makefile: Don't install headers. Build library with normal
16883 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16884 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16885 for the compat linking library. Remove use of INTDEF/INTUSE.
16886 * sunrpc/auth_none.c: Likewise.
16887 * sunrpc/auth_unix.c: Likewise.
16888 * sunrpc/authdes_prot.c: Likewise.
16889 * sunrpc/authuxprot.c: Likewise.
16890 * sunrpc/clnt_gen.c: Likewise.
16891 * sunrpc/clnt_perr.c: Likewise.
16892 * sunrpc/clnt_raw.c: Likewise.
16893 * sunrpc/clnt_simp.c: Likewise.
16894 * sunrpc/clnt_tcp.c: Likewise.
16895 * sunrpc/clnt_udp.c: Likewise.
16896 * sunrpc/clnt_unix.c: Likewise.
16897 * sunrpc/des_crypt.c: Likewise.
16898 * sunrpc/des_soft.c: Likewise.
16899 * sunrpc/get_myaddr.c: Likewise.
16900 * sunrpc/key_call.c: Likewise.
16901 * sunrpc/key_prot.c: Likewise.
16902 * sunrpc/netname.c: Likewise.
16903 * sunrpc/pm_getmaps.c: Likewise.
16904 * sunrpc/pm_getport.c: Likewise.
16905 * sunrpc/pmap_clnt.c: Likewise.
16906 * sunrpc/pmap_prot.c: Likewise.
16907 * sunrpc/pmap_prot2.c: Likewise.
16908 * sunrpc/pmap_rmt.c: Likewise.
16909 * sunrpc/publickey.c: Likewise.
16910 * sunrpc/rpc_cmsg.c: Likewise.
16911 * sunrpc/rpc_common.c: Likewise.
16912 * sunrpc/rpc_dtable.c: Likewise.
16913 * sunrpc/rpc_prot.c: Likewise.
16914 * sunrpc/rpc_thread.c: Likewise.
16915 * sunrpc/rtime.c: Likewise.
16916 * sunrpc/svc.c: Likewise.
16917 * sunrpc/svc_auth.c: Likewise.
16918 * sunrpc/svc_authux.c: Likewise.
16919 * sunrpc/svc_raw.c: Likewise.
16920 * sunrpc/svc_run.c: Likewise.
16921 * sunrpc/svc_simple.c: Likewise.
16922 * sunrpc/svc_tcp.c: Likewise.
16923 * sunrpc/svc_udp.c: Likewise.
16924 * sunrpc/svc_unix.c: Likewise.
16925 * sunrpc/svcauth_des.c: Likewise.
16926 * sunrpc/xcrypt.c: Likewise.
16927 * sunrpc/xdr.c: Likewise.
16928 * sunrpc/xdr_array.c: Likewise.
16929 * sunrpc/xdr_float.c: Likewise.
16930 * sunrpc/xdr_intXX_t.c: Likewise.
16931 * sunrpc/xdr_mem.c: Likewise.
16932 * sunrpc/xdr_rec.c: Likewise.
16933 * sunrpc/xdr_ref.c: Likewise.
16934 * sunrpc/xdr_sizeof.c: Likewise.
16935 * sunrpc/xdr_stdio.c: Likewise.
16936
e6c61494
UD
169372011-04-10 Ulrich Drepper <drepper@gmail.com>
16938
16939 [BZ #12650]
16940 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16941 * sysdeps/ia64/dl-tls.h: Likewise.
16942 * sysdeps/powerpc/dl-tls.h: Likewise.
16943 * sysdeps/s390/dl-tls.h: Likewise.
16944 * sysdeps/sh/dl-tls.h: Likewise.
16945 * sysdeps/sparc/dl-tls.h: Likewise.
16946 * sysdeps/x86_64/dl-tls.h: Likewise.
16947 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16948
34fe483e
AS
169492011-03-14 Andreas Schwab <schwab@redhat.com>
16950
16951 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16952 rpath element also skip the following colon.
16953 (expand_dynamic_string_token): Add is_path parameter and pass
16954 down to DL_DST_REQUIRED and _dl_dst_substitute.
16955 (decompose_rpath): Call expand_dynamic_string_token with
16956 non-zero is_path. Ignore empty rpaths.
16957 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16958 with zero is_path.
16959
f12a32e6
AS
169602011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16961
16962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16963 Make cancelable.
16964
38a7d692
UD
169652011-04-09 Ulrich Drepper <drepper@gmail.com>
16966
16967 [BZ #12655]
16968 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16969 Patch by Filipe David Manana <fdmanana@apache.org>.
16970
e451d22b
AS
169712011-04-07 Andreas Schwab <schwab@redhat.com>
16972
16973 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16974 Maintain aligned stack.
16975 (CHECK_RSP): Remove unused macro.
16976
dedc7c7b
UD
169772011-04-03 Ulrich Drepper <drepper@gmail.com>
16978
16979 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16980 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16981
94521213
UD
169822011-04-02 Ulrich Drepper <drepper@gmail.com>
16983
16984 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16985
8cb700c0 16986 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16987
0354e355
L
169882011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16989
16990 [BZ #12518]
16991 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16992 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16993 * sysdeps/x86_64/memmove.c: New file.
16994 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16995 (memcpy): Renamed to ...
16996 (__new_memcpy): This.
16997 (memcpy): Provide GLIBC_2_14 memcpy.
16998 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16999 (memcpy): Provide GLIBC_2_2_5 memcpy.
17000
8593482f
UD
170012011-04-01 Ulrich Drepper <drepper@gmail.com>
17002
17003 [BZ #12631]
17004 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17005
81a5726b
AS
170062011-03-30 Andreas Schwab <schwab@redhat.com>
17007
17008 * misc/syncfs.c: New file.
17009 * misc/Makefile (routines): Add syncfs.
17010 * posix/unistd.h: Declare syncfs.
17011 * sysdeps/unix/syscalls.list: Add syncfs.
17012
00e5419f
AS
170132011-04-01 Andreas Schwab <schwab@redhat.com>
17014
17015 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17016 open_by_handle_at.
17017 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17018 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17019 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17020 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17021 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17022 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17023 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17024
748876bf
UD
170252011-04-01 Ulrich Drepper <drepper@gmail.com>
17026
658e451d
UD
17027 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17028 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17029 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17030 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17031 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17033 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17034
748876bf
UD
17035 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17036 sync_file_range.c with -fexceptions.
17037 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17038 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17039 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17040 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17041 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17042 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17043 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17044 sync_file_range as cancellation point
17045 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17046 now a wrapper around __call_sync_file_range with cancellation handling.
17047 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17048 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17049 function name to __call_sync_file_range.
17050 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17051 Add call_sync_file_range.
748876bf 17052
6e63d5e1
AS
170532011-04-01 Andreas Schwab <schwab@redhat.com>
17054
17055 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17056 bits/timex.h.
6e63d5e1 17057
46998f74
UD
170582011-04-01 Ulrich Drepper <drepper@gmail.com>
17059
4c1423ed
UD
17060 * iconv/iconv.h: Fix typo in comment.
17061 * io/fcntl.h: Likewise.
17062 * libio/stdio.h: Likewise.
17063 * posix/spawn.h: Likewise.
17064 * posix/unistd.h: Likewise.
17065 * stdlib/stdlib.h: Likewise.
17066 * time/time.h: Likewise.
17067 * wcsmbs/wchar.h: Likewise.
17068
158648c0
UD
17069 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17070 open_by_handle): Add.
17071 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17072 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17073 Augment a few comments.
17074 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17075 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17076 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17078 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17079 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17080 open_by_handle.
17081
46998f74
UD
17082 * io/fcntl.h (AT_EMPTY_PATH): Define.
17083
83fe108b
UD
170842011-03-30 Ulrich Drepper <drepper@gmail.com>
17085
17086 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17087 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17088 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17089 to...
17090 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17091 * Versions.def: Add GLIBC_2.14.
17092 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17093 Export.
83fe108b 17094
bb242059
UD
170952011-03-22 Ulrich Drepper <drepper@gmail.com>
17096
17097 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17098 round counter.
17099 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17100
c97a1282
L
171012011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17102
17103 [BZ #12597]
17104 * string/test-strncmp.c (do_page_test): New function.
17105 (check2): Likewise.
17106 (test_main): Call check2.
17107 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17108
2a115601
UD
171092011-03-20 Ulrich Drepper <drepper@gmail.com>
17110
17111 [BZ #12587]
17112 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17113 Handle cache information in CPU leaf 4.
17114 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17115
8126d904
UD
171162011-03-18 Ulrich Drepper <drepper@gmail.com>
17117
042c49c6 17118 [BZ #12583]
8126d904
UD
17119 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17120 character representation.
17121 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17122
ccfe366e
RA
171232011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17124
17125 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17126 END(__isnan) to END(__isnanf) to match function entry point/label
17127 EALIGN(__isnanf,...).
17128
c6e13027
JJ
171292011-03-10 Jakub Jelinek <jakub@redhat.com>
17130
17131 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17132
33f85a3f
UD
171332011-03-10 Ulrich Drepper <drepper@gmail.com>
17134
028478fa
UD
17135 [BZ #12510]
17136 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17137 copy from the symbol referenced in the relocation to initialize the
17138 used variable.
17139 Patch by Piotr Bury <pbury@goahead.com>.
17140 * elf/Makefile: Add rules to build and tst-unique3.
17141 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17142 * elf/tst-unique3.cc: New file.
17143 * elf/tst-unique3.h: New file.
17144 * elf/tst-unique3lib.cc: New file.
17145 * elf/tst-unique3lib2.cc: New file.
17146
33f85a3f
UD
17147 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17148
03592fc7
MF
171492011-03-10 Mike Frysinger <vapier@gentoo.org>
17150
17151 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17152 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17153 to _start.
03592fc7 17154
6a5ee102
UD
171552011-03-06 Ulrich Drepper <drepper@gmail.com>
17156
17157 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17158 to-be-loaded object along a path to loader is ld.so.
17159
7e4ba49c
HJ
171602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17161 Ulrich Drepper <drepper@gmail.com>
17162
17163 * sysdeps/x86_64/memset.S: After aligning destination, code
17164 branches to different locations depending on the value of
17165 misalignment, when multiarch is enabled. Fix this.
17166
171672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17168
17169 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17170 Set _x86_64_preferred_memory_instruction for AMD processsors.
17171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17172 Set bit_Prefer_SSE_for_memop for AMD processors.
17173
13a804de
UD
171742011-03-04 Ulrich Drepper <drepper@gmail.com>
17175
17176 * libio/fmemopen.c (fmemopen): Optimize a bit.
17177
9d25c392
AS
171782011-03-03 Andreas Schwab <schwab@redhat.com>
17179
17180 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17181
a5543c6a
RM
171822011-03-03 Roland McGrath <roland@redhat.com>
17183
17184 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17185
012d35f7
DM
171862011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17187
7e4ba49c 17188 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17189 __bzero_ultra1 instead of __memset_ultra1.
17190
4bff6e01
AS
171912011-02-23 Andreas Schwab <schwab@redhat.com>
17192 Ulrich Drepper <drepper@gmail.com>
17193
17194 [BZ #12509]
17195 * include/link.h (struct link_map): Add l_orig_initfini.
17196 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17197 returning unsuccessfully.
17198 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17199 close of a file loaded at startup, restore the original l_initfini
17200 list.
17201 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17202 list, store the pointer.
17203 * elf/Makefile ($(objpfx)noload-mem): New rule.
17204 (noload-ENV): Define.
17205 (tests): Add $(objpfx)noload-mem.
17206 * elf/noload.c: Include <memcheck.h>.
17207 (main): Call mtrace. Close all opened handles.
17208
f2092faf
AS
172092011-02-17 Andreas Schwab <schwab@redhat.com>
17210
17211 [BZ #12454]
17212 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17213 dependencies are missing.
17214
6c8a2e88
ST
172152011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17216
f2092faf 17217 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17218 Hurd needs munmap.
17219 * sysdeps/mach/hurd/ifreq.h: New file.
17220
84a42118
PB
172212011-01-27 Petr Baudis <pasky@suse.cz>
17222 Ulrich Drepper <drepper@gmail.com>
17223
071f805e 17224 [BZ 12445]#
84a42118
PB
17225 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17226 to extend_alloca().
17227 * stdio-common/bug23.c: New file.
17228 * stdio-common/Makefile (tests): Add bug23.
17229
e23fe25b
AS
172302010-09-28 Andreas Schwab <schwab@redhat.com>
17231 Ulrich Drepper <drepper@gmail.com>
17232
17233 [BZ #12489]
17234 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17235 before performing relro protection. At old place add assertion
17236 to make sure nothing changed.
17237
d3f02e10
NS
172382011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17239 Glauber de Oliveira Costa <glommer@gmail.com>
17240
17241 * elf/elf.h: Add new ARM TLS relocs.
17242
d55fd7a5
RA
172432011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17244
17245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17246 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17247 cast from r3.
17248 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17249 'tests' variable.
17250 * sysdeps/wordsize-64/tst-writev.c: New file.
17251
2206397e
RA
172522011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17253
17254 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17255 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17256 insns in _dl_start to prevent a TOC reference before relocs are
17257 resolved.
17258
e9433893
UD
172592011-02-15 Ulrich Drepper <drepper@gmail.com>
17260
17261 [BZ #12469]
17262 * Makeconfig: Remove RANLIB definition.
17263 * Makerules: Don't use RANLIB.
17264 * aclocal.m4: Remove ranlib test.
17265 * configure.in: No need to check for ranlib.
17266 * elf/rtld-Rules: Don't use RANLIB.
17267
f75286c6
ST
172682011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17269
8e31c82d
ST
17270 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17271 protection macro.
17272 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17273 inclusion protection macro.
17274
f75286c6
ST
17275 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17276 SIGRTMIN and SIGRTMAX and print information in that case only when
17277 SIGRTMIN is defined.
17278
c1d0e639
JJ
172792011-02-11 Jakub Jelinek <jakub@redhat.com>
17280
17281 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17282 arginfo fn returning -1.
17283
17284 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17285 and thousands string is zero terminated.
17286
edf9294e
AS
172872011-02-03 Andreas Schwab <schwab@redhat.com>
17288
17289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17290 sysdeps/unix/sysv/linux/bits/socket.h.
17291
2b7e92df
ST
172922011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17293
edf9294e
AS
17294 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17295 (__CPU_COUNT): Remove old macros.
17296 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17297 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17298 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17299 (__sched_cpualloc, __sched_cpufree): Add declarations.
17300
a4c7ea7b
UD
173012011-02-05 Ulrich Drepper <drepper@gmail.com>
17302
17303 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17304 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17305 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17306 (readdhstai): Return value of addhstaiX call.
17307 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17308 (addgrbyX): Return value returned by cache_addgr.
17309 (readdgrbyname): Return value returned by addgrbyX.
17310 (readdgrbygid): Likewise.
17311 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17312 (addpwbyX): Return value returned by cache_addpw.
17313 (readdpwbyname): Return value returned by addhstbyX.
17314 (readdpwbyuid): Likewise.
17315 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17316 (addservbyX): Return value returned by cache_addserv.
17317 (readdservbyname): Return value returned by addservbyX:
17318 (readdservbyport): Likewise.
17319 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17320 (addhstbyX): Return value returned by cache_addhst.
17321 (readdhstbyname): Return value returned by addhstbyX.
17322 (readdhstbyaddr): Likewise.
17323 (readdhstbynamev6): Likewise.
17324 (readdhstbyaddrv6): Likewise.
17325 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17326 (readdinitgroups): Return value returned by addinitgroupsX.
17327 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17328 (prune_cache): Keep track of timeout value of re-added entries.
17329 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17330 * nscd/nscd.h: Adjust prototypes of readd* functions.
17331
a0bf67cc
RM
173322011-02-04 Roland McGrath <roland@redhat.com>
17333
17334 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17335 (nis_stats): Likewise.
17336 * nis/nis_modify.c (nis_modify): Likewise.
17337 * nis/nis_remove.c (nis_remove): Likewise.
17338 * nis/nis_add.c (nis_add): Likewise.
17339
17340 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17341
17342 * posix/fnmatch_loop.c: Add some consts.
17343
17344 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17345
435b95eb
L
173462011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17347
17348 [BZ #12460]
17349 * config.make.in (config-cflags-novzeroupper): Define.
17350 * configure.in: Substitute libc_cv_cc_novzeroupper.
17351 * elf/Makefile (AVX-CFLAGS): Define.
17352 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17353 (CFLAGS-tst-auditmod4a.c): Likewise.
17354 (CFLAGS-tst-auditmod4b.c): Likewise.
17355 (CFLAGS-tst-auditmod6b.c): Likewise.
17356 (CFLAGS-tst-auditmod6c.c): Likewise.
17357 (CFLAGS-tst-auditmod7b.c): Likewise.
17358 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17359
8517b15e
UD
173602011-02-02 Ulrich Drepper <drepper@gmail.com>
17361
17362 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17363 function to the callback.
17364 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17365
10a656fe
AS
173662011-02-02 Andreas Schwab <schwab@redhat.com>
17367
17368 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17369 of errno.
17370
968dad0a
UD
173712011-01-19 Ulrich Drepper <drepper@gmail.com>
17372
9f94d2ea 17373 [BZ #11724]
968dad0a
UD
17374 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17375 of constructors.
17376 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17377 of destructors.
17378 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17379
17380 [BZ #11724]
17381 * elf/Makefile: Add rules to build and run new test.
17382 * elf/tst-initorder.c: New file.
17383 * elf/tst-initorder.exp: New file.
17384 * elf/tst-initordera1.c: New file.
17385 * elf/tst-initordera2.c: New file.
17386 * elf/tst-initordera3.c: New file.
17387 * elf/tst-initordera4.c: New file.
17388 * elf/tst-initorderb1.c: New file.
17389 * elf/tst-initorderb2.c: New file.
17390 * elf/tst-order-a1.c: New file.
17391 * elf/tst-order-a2.c: New file.
17392 * elf/tst-order-a3.c: New file.
17393 * elf/tst-order-a4.c: New file.
17394 * elf/tst-order-b1.c: New file.
17395 * elf/tst-order-b2.c: New file.
17396 * elf/tst-order-main.c: New file.
17397 New test case by George Gensure <werkt0@gmail.com>.
17398
86e92359
UD
173992010-10-01 Andreas Schwab <schwab@redhat.com>
17400
17401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17402 decoding ACE if AI_CANONIDN.
17403
5d5732b0
UD
174042011-01-18 Ulrich Drepper <drepper@gmail.com>
17405
17406 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17407
a77e8cbc
UD
174082011-01-17 Ulrich Drepper <drepper@gmail.com>
17409
6392473f
UD
17410 * version.h (RELEASE): Bump for 2.13 release.
17411 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17412
620a0529
UD
17413 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17414
18ba70a5
UD
17415 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17416 MADV_NOHUGEPAGE.
32465c3e
UD
17417 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17418 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17419 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17420 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17421 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17422 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17423
c0dafcf1
UD
17424 * posix/getconf.c: Update copyright year.
17425 * catgets/gencat.c: Likewise.
17426 * csu/version.c: Likewise.
17427 * debug/catchsegv.sh: Likewise.
17428 * debug/xtrace.sh: Likewise.
17429 * elf/ldconfig.c: Likewise.
17430 * elf/ldd.bash.in: Likewise.
17431 * elf/sprof.c (print_version): Likewise.
17432 * iconv/iconv_prog.c: Likewise.
17433 * iconv/iconvconfig.c: Likewise.
17434 * locale/programs/locale.c: Likewise.
17435 * locale/programs/localedef.c: Likewise.
17436 * malloc/memusage.sh: Likewise.
17437 * malloc/mtrace.pl: Likewise.
17438 * nscd/nscd.c (print_version): Likewise.
17439 * nss/getent.c: Likewise.
17440
a77e8cbc
UD
17441 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17442 PF_CAIF, and PF_ALG.
17443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17444
77e8bddf
AS
174452011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17446
1f20b93a
AS
17447 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17448 (modules-names): Use them.
17449 (ifunc-test-modules, ifunc-pie-tests): Define.
17450 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17451 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17452 (test-extras): Likewise.
17453 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17454 $(compile-command.c).
17455 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17456 (all-built-dso): Define.
17457 (check-textrel.out, check-execstack.out): Depend on it.
17458
77e8bddf
AS
17459 * configure.in: Don't override --enable-multi-arch.
17460
bc425b33
UD
174612011-01-15 Ulrich Drepper <drepper@gmail.com>
17462
17463 [BZ #6812]
17464 * nscd/hstcache.c (tryagain): Define.
17465 (cache_addhst): Return tryagain not notfound for temporary errors.
17466 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17467 failed.
17468
794c3ad3
UD
174692011-01-14 Ulrich Drepper <drepper@gmail.com>
17470
70181fdd
UD
17471 [BZ #10563]
17472 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17473 to make the syscall.
17474 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17475
794c3ad3
UD
17476 [BZ #12378]
17477 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17478 and fall back to matching as normal character if the string ends before
17479 the matching ']' is found. This is what POSIX requires.
17480 * posix/testfnm.c: Adjust test result.
17481 * posix/globtest.sh: Adjust test result. Add new test.
17482 * posix/tst-fnmatch.input: Likewise.
17483 * posix/tst-fnmatch2.c: Add new test.
17484
68dc9497
AS
174852010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17486
17487 * elf/Makefile (check-execstack): Revert last change. Depend on
17488 check-execstack.h.
17489 (check-execstack.h): New target.
17490 (generated): Add check-execstack.h.
17491 * elf/check-execstack.c: Include "check-execstack.h".
17492 (main): Revert last change.
17493 (handle_file): Return zero if GNU_STACK is absent and
17494 DEFAULT_STACK_PERMS doesn't include PF_X.
17495
451f001b
UD
174962011-01-13 Ulrich Drepper <drepper@gmail.com>
17497
cfa28e56
UD
17498 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17499 in child fails because the descriptor is already closed.
8cf8ce17
UD
17500 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17501 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17502 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17503
1086d70d
UD
17504 [BZ #12397]
17505 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17506 syscall.
17507
451f001b
UD
17508 [BZ #10484]
17509 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17510 temporary buffer used to handle multi lookups locally.
a85b5cb4 17511 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17512
08769175
UD
175132011-01-12 Ulrich Drepper <drepper@gmail.com>
17514
17515 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17516 loader is ld.so.
17517
5e49c52e
UD
175182011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17519
17520 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17521 alignment for SSE2.
17522
60522a5f
UD
175232011-01-12 Ulrich Drepper <drepper@gmail.com>
17524
17525 [BZ #12394]
17526 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17527 characters. When rounding increased number of integer digits recompute
17528 number of groups.
17529 * stdio-common/tst-grouping.c: New file.
17530 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17531
f257bbd7
UD
175322011-01-09 Ulrich Drepper <drepper@gmail.com>
17533
17534 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17535 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17536
17537 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17538 void.
17539 * bits/select.h: Likewise.
17540
fa9c15cb
UD
175412011-01-08 Ulrich Drepper <drepper@gmail.com>
17542
17543 * po/ja.po: Update from translation team.
17544
16c2895f
DM
175452011-01-04 David S. Miller <davem@sunset.davemloft.net>
17546
17547 [BZ #11155]
17548 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17549 implementation just like for lxstat, fxstatat, et al.
17550
2543fef2
JM
175512010-12-27 Jim Meyering <meyering@redhat.com>
17552
17553 [BZ #12348]
17554 * posix/regexec.c (build_trtable): Return failure indication upon
17555 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17556
98727dbe
UD
175572010-12-25 Ulrich Drepper <drepper@gmail.com>
17558
5bd6dc5c
UD
17559 [BZ #12201]
17560 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17561 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17562 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17563 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17564
97983464
UD
17565 [BZ #12207]
17566 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17567
98727dbe
UD
17568 [BZ #12204]
17569 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17570 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17571
4a531bb0
L
175722010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17573
17574 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17575 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17576 script has SORT_BY_INIT_PRIORITY.
17577 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17578 NO_CTORS_DTORS_SECTIONS is defined.
17579 * elf/soinit.c: Likewise.
17580 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17581 NO_CTORS_DTORS_SECTIONS is defined.
17582 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17583 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17584 * sysdeps/sh/init-first.c: Likewise.
17585 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17586
07eb4b71
UD
175872010-12-24 Ulrich Drepper <drepper@gmail.com>
17588
17589 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17590 always use the slow path.
17591
30950a5f
RA
175922010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17593
17594 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17595 similar rule which adds the sysdep directories to the header search in
17596 order to pick up the correct platform stackinfo.h.
17597 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17598 perform test if it is, otherwise return successfully without testing.
17599 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17600 DEFAULT_STACK_PERMS define in stackinfo.h.
17601 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17602 defined in stackinfo.h.
17603 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17604 DEFAULT_STACK_PERMS defined in stackinfo.h.
17605 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17606 * sysdeps/ia64/stackinfo.h: Likewise.
17607 * sysdeps/s390/stackinfo.h: Likewise.
17608 * sysdeps/sh/stackinfo.h: Likewise.
17609 * sysdeps/sparc/stackinfo.h: Likewise.
17610 * sysdeps/x86_64/stackinfo.h: Likewise.
17611 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17612 PF_X for powerpc64. Retain PF_X for powerpc32.
17613
db753e2c
UD
176142010-12-19 Ulrich Drepper <drepper@gmail.com>
17615
14b697f7
UD
17616 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17617 accurately.
db753e2c
UD
17618 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17619 GETDENTS_64BIT_ALIGNED.
17620
28300719
UD
176212010-12-14 Ulrich Drepper <dreper@gmail.com>
17622
14b697f7 17623 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17624
4f197237
AS
176252010-12-10 Andreas Schwab <schwab@redhat.com>
17626
dbb0472f
AS
17627 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17628 _GNU_SOURCE.
17629
4f197237
AS
17630 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17631 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17632 Remove __restrict.
17633 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17634 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17635
fb88ac72
UD
176362010-12-09 Ulrich Drepper <drepper@gmail.com>
17637
17638 [BZ #11655]
17639 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17640 are initialized.
17641
42acbb92
JJ
176422010-12-09 Jakub Jelinek <jakub@redhat.com>
17643
17644 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17645
c038d98d
UD
176462010-12-03 Ulrich Drepper <drepper@gmail.com>
17647
17648 * po/it.po: Update from translation team.
17649
3a4a2499
L
176502010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17651
17652 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17653 unused codes.
17654
1e24cf6e
UD
176552010-11-30 Ulrich Drepper <drepper@gmail.com>
17656
17657 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17658
a7690819
AS
176592010-11-24 Andreas Schwab <schwab@redhat.com>
17660
17661 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17662 specially.
17663 (gaih_getanswer_slice): Likewise.
17664
3bf8d1b1
JJ
176652010-10-20 Jakub Jelinek <jakub@redhat.com>
17666
17667 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17668
6db52fbb
PB
176692010-05-31 Petr Baudis <pasky@suse.cz>
17670
17671 [BZ #11149]
17672 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17673 silently even in the chroot mode.
17674
eaca7569
UD
176752010-11-22 Ulrich Drepper <drepper@gmail.com>
17676
17677 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17678 last patch a bit. Pretty printing
17679
3056dcdb
UD
176802010-05-31 Petr Baudis <pasky@suse.cz>
17681
17682 [BZ #10085]
17683 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17684 initialization of skip_initgroups_dyn.
17685
cf7c9078
UD
176862010-11-19 Ulrich Drepper <drepper@gmail.com>
17687
17688 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17689 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17690
a1fb5e3e
UD
176912010-11-16 Ulrich Drepper <drepper@gmail.com>
17692
17693 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17694
3540d66b
AS
176952010-11-11 Andreas Schwab <schwab@redhat.com>
17696
17697 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17698 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17699 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17700 ($(objpfx)tst-fnmatch-mem): New rule.
17701 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17702 * posix/tst-fnmatch.c (main): Call mtrace.
17703
13b69574
L
177042010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17705
17706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17707 Support Intel processor model 6 and model 0x2c.
17708
da93d214
LM
177092010-11-10 Luis Machado <luisgpm@br.ibm.com>
17710
17711 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17712 signed comparison.
17713
8ca52c6e
L
177142010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17715
17716 [BZ #12205]
17717 * string/test-strncasecmp.c (check_result): New function.
17718 (do_one_test): Use it.
17719 (check1): New function.
17720 (test_main): Use it.
17721 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17722 Support strcasecmp and strncasecmp.
17723
69da074d
UD
177242010-11-08 Ulrich Drepper <drepper@gmail.com>
17725
17726 [BZ #12194]
17727 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17728 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17729
ff02d528
L
177302010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17731
17732 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17733 IFUNC support.
17734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17735 memset-x86-64.
17736 * sysdeps/x86_64/multiarch/bzero.S: New file.
17737 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17738 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17739 * sysdeps/x86_64/multiarch/memset.S: New file.
17740 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17742 Set bit_Prefer_SSE_for_memop for Intel processors.
17743 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17744 Define.
17745 (index_Prefer_SSE_for_memop): Define.
17746 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17747
344d0b54
LM
177482010-11-04 Luis Machado <luisgpm@br.ibm.com>
17749
17750 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17751 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17752
c0dde15b
UD
177532010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17754
17755 [BZ #12191]
17756 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17757 (__x86_64_raw_data_cache_size_half): Likewise.
17758 (__x86_64_raw_shared_cache_size): Likewise.
17759 (__x86_64_raw_shared_cache_size_half): Likewise.
17760
17761 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17762 (__x86_64_raw_data_cache_size_half): Likewise.
17763 (__x86_64_raw_shared_cache_size): Likewise.
17764 (__x86_64_raw_shared_cache_size_half): Likewise.
17765 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17766 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17767 and __x86_64_raw_shared_cache_size_half. Round
17768 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17769 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17770 to multiple of 256 bytes.
17771
0e516e0e
MS
177722010-11-03 Ulrich Drepper <drepper@gmail.com>
17773
17774 [BZ #12167]
17775 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17776 of inacessible symlinks. Verify result of symlink before returning it.
17777 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17778 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17779
0e012e87
ER
177802010-10-28 Erich Ritz <erichritz@gmail.com>
17781
17782 * math/math.h (isinf): Fix typo in comment.
17783
de0ff7bc
UD
177842010-11-01 Ulrich Drepper <drepper@gmail.com>
17785
17786 * po/da.po: Update from translation team.
17787
fa41c84d
UD
177882010-10-26 Ulrich Drepper <drepper@gmail.com>
17789
17790 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17791 is added to the list.
17792
f0967738
AK
177932010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17794 Ulrich Drepper <drepper@gmail.com>
17795
17796 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17797 the global list here. Move code to...
17798 (_dl_add_to_namespace_list): ...here. New function.
17799 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17800 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17801 * elf/dl-load.c (lose): Don't remove the element from the list.
17802 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17803 (_dl_map_object): Likewise.
17804
178052010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17806
17807 [BZ #12159]
17808 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17809 into all bytes of SSE register.
17810 Patch by Richard Li <richardpku@gmail.com>.
17811
f0967738 178122010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17813
17814 [BZ #12140]
17815 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17816 perturbing.
17817
d0b9e94f
MB
178182010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17819
17820 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17821 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17822 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17823 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17825 submachine.
17826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17827
8e9f92e9
AS
178282010-10-22 Andreas Schwab <schwab@redhat.com>
17829
17830 * include/dlfcn.h (__RTLD_SECURE): Define.
17831 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17832 mode & __RTLD_SECURE instead.
17833 (open_path): Rename preloaded parameter to secure.
17834 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17835 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17836 * elf/dl-deps.c (openaux): Likewise.
17837 * elf/rtld.c (struct map_args): Remove is_preloaded.
17838 (map_doit): Don't use it.
17839 (dl_main): Likewise.
17840 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17841 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17842
bc96fbda
AS
178432010-09-09 Andreas Schwab <schwab@redhat.com>
17844
17845 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17846 (sysd-rules-targets): Remove duplicates.
17847 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17848 rtld-%.$o dependency.
17849
22cd1c9b
AS
178502010-10-18 Andreas Schwab <schwab@redhat.com>
17851
17852 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17853 _dl_map_object do it.
17854
18edac48
UD
178552010-10-19 Ulrich Drepper <drepper@gmail.com>
17856
17857 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17858 fast fma builtins, define the macros in the C99 standard.
17859 (FP_FAST_FMAF): Likewise.
17860 (FP_FAST_FMAL): Likewise.
17861 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17862
17863 * bits/mathdef.h: Update copyright year.
17864 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17865
d2050124
MM
178662010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17867
17868 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17869 builtins, define the macros in the C99 standard.
17870 (FP_FAST_FMAF): Likewise.
17871 (FP_FAST_FMAL): Likewise.
17872 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17873 multiply/add.
17874 (FP_FAST_FMAF): Likewise.
17875
475facd1
JJ
178762010-10-15 Jakub Jelinek <jakub@redhat.com>
17877
17878 [BZ #3268]
17879 * math/libm-test.inc (fma_test): Some new testcases.
17880 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17881 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17882 y and infinite z. Do multiplication by C already in long double.
17883 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17885 y and infinite z. Do bitwise or of inexact bit into u.d.
17886 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17887 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17888 * sysdeps/i386/fpu/s_fma.S: Removed.
17889 * sysdeps/i386/fpu/s_fmal.S: Removed.
17890
7c08a05c
JJ
178912010-10-16 Jakub Jelinek <jakub@redhat.com>
17892
17893 [BZ #3268]
17894 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17896 computation is not scheduled after fetestexcept. Fix value
17897 of minimum denormal long double.
17898
f3f7372d
JJ
178992010-10-14 Jakub Jelinek <jakub@redhat.com>
17900
17901 [BZ #3268]
17902 * math/libm-test.inc (fma_test): Add some more tests.
17903 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17904 correctly.
17905
14d43591
AS
179062010-10-15 Andreas Schwab <schwab@redhat.com>
17907
17908 * scripts/data/localplt-s390-linux-gnu.data: New file.
17909 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17910
5e908464
JJ
179112010-10-13 Jakub Jelinek <jakub@redhat.com>
17912
17913 [BZ #3268]
17914 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17915 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17916 instead of dbl-64.
17917 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17918 inlines.
17919 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17920 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17921 if one of x and y is very large and the other is subnormal.
17922 * sysdeps/s390/fpu/s_fmaf.c: New file.
17923 * sysdeps/s390/fpu/s_fma.c: New file.
17924 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17925 * sysdeps/powerpc/fpu/s_fma.S: New file.
17926 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17927 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17928 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17929
179302010-10-12 Jakub Jelinek <jakub@redhat.com>
17931
17932 [BZ #3268]
17933 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17934 fma tests.
17935 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17936 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17937 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17938 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17939 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17940 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17941 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17942
b833d51f
UD
179432010-10-12 Ulrich Drepper <drepper@redhat.com>
17944
17945 [BZ #12078]
17946 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17947 * posix/bug-regex31.input: Add test case.
17948
1751705d
UD
179492010-10-11 Ulrich Drepper <drepper@gmail.com>
17950
e9b9cbf5
UD
17951 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17952 * posix/bug-regex31.input: New file.
17953
17954 [BZ #12078]
17955 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17956 (parse_sub_exp): Fix last change, use postorder.
17957
ef06edbe
UD
17958 * posix/bug-regex31.c: New file.
17959 * posix/Makefile: Add rules to build and run bug-regex31.
17960
a129c80d
UD
17961 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17962
17963 [BZ #12078]
17964 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17965
b76b818e
UD
17966 [BZ #12108]
17967 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17968 to have entries in sys_siglist.
17969
1751705d
UD
17970 [BZ #12093]
17971 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17972 be NULL.
17973
9ff8d36f
JJ
179742010-10-07 Jakub Jelinek <jakub@redhat.com>
17975
17976 [BZ #3268]
17977 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17978 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17979 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17980 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17981 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17982 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17983 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17984 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17985 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17986 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17987 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17988 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17989 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17990 * math/ftestexcept.c (fetestexcept): Likewise.
17991 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17992 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17993 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17994 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17995 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17996 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17997 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17998
af325969
UD
179992010-10-11 Ulrich Drepper <drepper@gmail.com>
18000
c579b202 18001 [BZ #12107]
af325969
UD
18002 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18003 newline.
18004
67a67b95
UD
180052010-10-06 Ulrich Drepper <drepper@gmail.com>
18006
18007 * string/bug-strstr1.c: New file.
18008 * string/Makefile: Add rules to build and run bug-strstr1.
18009
5fb308bc
EB
180102010-10-05 Eric Blake <eblake@redhat.com>
18011
18012 [BZ #12092]
18013 * string/str-two-way.h (two_way_long_needle): Always clear memory
18014 when skipping input due to the shift table.
18015
45db99c7
UD
180162010-10-03 Ulrich Drepper <drepper@gmail.com>
18017
3b111893
UD
18018 [BZ #12005]
18019 * malloc/mcheck.c: Handle large requests.
18020
45db99c7
UD
18021 [BZ #12077]
18022 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18023 for strncmp and strncasecmp.
18024 * string/stratcliff.c: Add tests for strcmp and strncmp.
18025 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18026
cf7a1eb8
NI
180272010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18028
18029 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18030 __set_fpscr.
18031
6484ba5e
AJ
180322010-09-30 Andreas Jaeger <aj@suse.de>
18033
18034 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18035 (CGROUP_SUPER_MAGIC): Define.
18036 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18037 Handle btrfs and cgroup file systems.
18038 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18039 Likewise.
18040
91c42559
LM
180412010-09-27 Luis Machado <luisgpm@br.ibm.com>
18042
18043 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18044 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18045
87a97932
AK
180462010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18047
18048 [BZ #12067]
18049 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18050 trying to locate the ELF header.
18051
c21cc9bc
AS
180522010-09-27 Andreas Schwab <schwab@redhat.com>
18053
18054 [BZ #11611]
18055 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18056 Mask out sign-bit copies when constructing f_fsid.
18057
315970f6
PB
180582010-09-24 Petr Baudis <pasky@suse.cz>
18059
18060 * debug/stack_chk_fail_local.c: Add missing licence exception.
18061 * debug/warning-nop.c: Likewise.
18062
1ac7a2c7
JM
180632010-09-15 Joseph Myers <joseph@codesourcery.com>
18064
18065 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18066 implementing getdents64 using getdents syscall, set d_type if
18067 __ASSUME_GETDENTS32_D_TYPE.
18068
56801c50
AS
180692010-09-16 Andreas Schwab <schwab@redhat.com>
18070
18071 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18072 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18073
dda51327
UD
180742010-09-21 Ulrich Drepper <drepper@redhat.com>
18075
18076 [BZ #12037]
18077 * posix/unistd.h: Undo change of feature selection for ftruncate from
18078 2010-01-11.
18079
8ffcee4a
UD
180802010-09-20 Ulrich Drepper <drepper@redhat.com>
18081
a545ecd9 18082 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18083 detection.
18084
e24f0a8b
AS
180852010-09-20 Andreas Schwab <schwab@redhat.com>
18086
18087 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18088 fanotify_mark.
18089 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18090
7291c56f
AS
180912010-09-14 Andreas Schwab <schwab@redhat.com>
18092
18093 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18094 variables after CHECK_SP call.
18095 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18096
bc5fb037
AS
180972010-09-13 Andreas Schwab <schwab@redhat.com>
18098 Ulrich Drepper <drepper@redhat.com>
18099
18100 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18101 re-relocationg ld.so.
18102 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18103 _dl_init_paths call.
18104 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18105 here anymore.
18106
e66e7419
UD
181072010-09-14 Ulrich Drepper <drepper@redhat.com>
18108
18109 * resolv/res_init.c (__res_vinit): Count the default server we added.
18110
c044aa75
CLT
181112010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18112 Ulrich Drepper <drepper@redhat.com>
18113
18114 [BZ #11968]
18115 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18116 (____longjmp_chk): Use %ebx for saving value across system call.
18117 Add unwind info.
18118
32cf4069
AS
181192010-09-06 Andreas Schwab <schwab@redhat.com>
18120
18121 * manual/Makefile: Don't mix pattern rules with normal rules.
18122
817328ee
AS
181232010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18124
18125 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18126 operation.
18127 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18128 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18129 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18130 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18131 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18132 Likewise.
18133
29fddf61
UD
181342010-09-04 Ulrich Drepper <drepper@redhat.com>
18135
18136 [BZ #11979]
18137 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18138 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18139
0959ffc9
UD
181402010-09-02 Ulrich Drepper <drepper@redhat.com>
18141
18142 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18143 * sysdeps/x86_64/addmul_1.S: Likewise.
18144 * sysdeps/x86_64/lshift.S: Likewise.
18145 * sysdeps/x86_64/mul_1.S: Likewise.
18146 * sysdeps/x86_64/rshift.S: Likewise.
18147 * sysdeps/x86_64/sub_n.S: Likewise.
18148 * sysdeps/x86_64/submul_1.S: Likewise.
18149
ece29840
ST
181502010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18151
0959ffc9
UD
18152 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18153 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18154 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18155 * bits/sched.h [__need_schedparam]
ece29840 18156 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18157 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18158 (__defined_schedparam): Define to 1.
ece29840
ST
18159 (__sched_param): New structure, identical to sched_param.
18160 (__need_schedparam): Undefine.
18161
e53a31fe
MF
181622010-08-31 Mike Frysinger <vapier@gentoo.org>
18163
fdc0c10d
MF
18164 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18165 (epoll_create1): Declare.
18166
e53a31fe
MF
18167 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18168
a726d796
AS
181692010-08-31 Andreas Schwab <schwab@redhat.com>
18170
18171 [BZ #7066]
18172 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18173 shifting retval into place.
18174
2f3e3dc7
UD
181752010-09-01 Ulrich Drepper <drepper@redhat.com>
18176
f2933da9
UD
18177 * nis/rpcsvc/nis.h: Update copyright notice.
18178 * nis/rpcsvc/nis.x: Likewise.
18179 * nis/rpcsvc/nis_callback.h: Likewise.
18180 * nis/rpcsvc/nis_callback.x: Likewise.
18181 * nis/rpcsvc/nis_object.x: Likewise.
18182 * nis/rpcsvc/nis_tags.h: Likewise.
18183 * nis/rpcsvc/yp.h: Likewise.
18184 * nis/rpcsvc/yp.x: Likewise.
18185 * nis/rpcsvc/ypupd.h: Likewise.
18186 * nis/yp_xdr.c: Likewise.
18187 * nis/ypupdate_xdr.c: Likewise.
18188
2f3e3dc7
UD
18189 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18190 mainly the body of pmap_getport. Add parameters to specify timeouts.
18191 (pmap_getport): Use __libc_rpc_getport.
18192 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18193 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18194 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18195
f3dcc2f9
AS
181962010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18197
18198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18199 fanotify_mark.
18200
6d34eb5b
RM
182012010-08-27 Roland McGrath <roland@redhat.com>
18202
18203 * sysdeps/i386/i686/multiarch/Makefile
18204 (CFLAGS-varshift.c): New variable.
18205
9ea3de11
UD
182062010-08-27 Ulrich Drepper <drepper@redhat.com>
18207
c96d23fc
UD
18208 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18209 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18210
9ea3de11
UD
18211 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18212
18213 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18214
623aac7f
L
182152010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18216
18217 * sysdeps/x86_64/strlen.S: Unroll the loop.
18218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18219 strlen-sse2 strlen-sse2-bsf.
18220 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18221 __strlen_no_bsf if bit_Slow_BSF is set.
18222 (__strlen_sse42): Removed.
18223 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18224 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18225
8b2b7715
RM
182262010-08-25 Roland McGrath <roland@redhat.com>
18227
18228 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18229 * sysdeps/x86_64/multiarch/varshift.c: New file.
18230 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18231 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18232 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18233 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18234
e73015f2
L
182352010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18236
18237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18238 strlen-sse2 strlen-sse2-bsf.
18239 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18240 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18241 (__strlen_sse2): Removed.
18242 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18243 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18245 bit_Slow_BSF for Atom.
18246 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18247 (index_Slow_BSF): Define.
18248 (HAS_SLOW_BSF): Define.
18249
df24a73e
UD
182502010-08-25 Ulrich Drepper <drepper@redhat.com>
18251
18252 [BZ #10851]
18253 * resolv/res_init.c (__res_vinit): When no server address at all
18254 is given default to loopback.
18255
f2ac4868
RM
182562010-08-24 Roland McGrath <roland@redhat.com>
18257
09055553
RM
18258 * configure.in: Remove config-name.h generation.
18259 * configure: Regenerated.
18260 * config-name.in: File removed.
18261 * scripts/config-uname.sh: New file.
18262 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18263 ($(objdir)config-name.h): New target.
18264
f2ac4868
RM
18265 * sunrpc/rpc_parse.h: Avoid nested comment.
18266
73f27d5e
RH
182672010-08-24 Richard Henderson <rth@redhat.com>
18268 Ulrich Drepper <drepper@redhat.com>
18269 H.J. Lu <hongjiu.lu@intel.com>
18270
18271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18273 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18274 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18275 _mm_alignr_epi8 with _mm_loadu_si128.
18276 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18277 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18278 (__m128i_shift_right): Removed.
18279 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18280 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18281 * sysdeps/x86_64/multiarch/varshift.h: New file.
18282 * sysdeps/x86_64/multiarch/varshift.S: New file.
18283
84b9230c
MF
182842010-08-21 Mike Frysinger <vapier@gentoo.org>
18285
18286 * configure.in: Move assembler checks to before sysdep dir checking.
18287
9bbd0ddc
PB
182882010-08-20 Petr Baudis <pasky@suse.cz>
18289
18290 * LICENSES: Sync the sunrpc license.
18291
9da4bb31
UD
182922010-08-19 Ulrich Drepper <drepper@redhat.com>
18293
a7ab6ec8
UD
18294 * sunrpc/auth_des.c: Update copyright notice once again.
18295 * sunrpc/auth_none.c: Likewise.
18296 * sunrpc/auth_unix.c: Likewise.
18297 * sunrpc/authdes_prot.c: Likewise.
18298 * sunrpc/authuxprot.c: Likewise.
18299 * sunrpc/bindrsvprt.c: Likewise.
18300 * sunrpc/clnt_gen.c: Likewise.
18301 * sunrpc/clnt_perr.c: Likewise.
18302 * sunrpc/clnt_raw.c: Likewise.
18303 * sunrpc/clnt_simp.c: Likewise.
18304 * sunrpc/clnt_tcp.c: Likewise.
18305 * sunrpc/clnt_udp.c: Likewise.
18306 * sunrpc/clnt_unix.c: Likewise.
18307 * sunrpc/des_crypt.c: Likewise.
18308 * sunrpc/des_soft.c: Likewise.
18309 * sunrpc/get_myaddr.c: Likewise.
18310 * sunrpc/getrpcport.c: Likewise.
18311 * sunrpc/key_call.c: Likewise.
18312 * sunrpc/key_prot.c: Likewise.
18313 * sunrpc/openchild.c: Likewise.
18314 * sunrpc/pm_getmaps.c: Likewise.
18315 * sunrpc/pm_getport.c: Likewise.
18316 * sunrpc/pmap_clnt.c: Likewise.
18317 * sunrpc/pmap_prot.c: Likewise.
18318 * sunrpc/pmap_prot2.c: Likewise.
18319 * sunrpc/pmap_rmt.c: Likewise.
18320 * sunrpc/rpc/auth.h: Likewise.
18321 * sunrpc/rpc/auth_unix.h: Likewise.
18322 * sunrpc/rpc/clnt.h: Likewise.
18323 * sunrpc/rpc/des_crypt.h: Likewise.
18324 * sunrpc/rpc/key_prot.h: Likewise.
18325 * sunrpc/rpc/netdb.h: Likewise.
18326 * sunrpc/rpc/pmap_clnt.h: Likewise.
18327 * sunrpc/rpc/pmap_prot.h: Likewise.
18328 * sunrpc/rpc/pmap_rmt.h: Likewise.
18329 * sunrpc/rpc/rpc.h: Likewise.
18330 * sunrpc/rpc/rpc_des.h: Likewise.
18331 * sunrpc/rpc/rpc_msg.h: Likewise.
18332 * sunrpc/rpc/svc.h: Likewise.
18333 * sunrpc/rpc/svc_auth.h: Likewise.
18334 * sunrpc/rpc/types.h: Likewise.
18335 * sunrpc/rpc/xdr.h: Likewise.
18336 * sunrpc/rpc_clntout.c: Likewise.
18337 * sunrpc/rpc_cmsg.c: Likewise.
18338 * sunrpc/rpc_common.c: Likewise.
18339 * sunrpc/rpc_cout.c: Likewise.
18340 * sunrpc/rpc_dtable.c: Likewise.
18341 * sunrpc/rpc_hout.c: Likewise.
18342 * sunrpc/rpc_main.c: Likewise.
18343 * sunrpc/rpc_parse.c: Likewise.
18344 * sunrpc/rpc_parse.h: Likewise.
18345 * sunrpc/rpc_prot.c: Likewise.
18346 * sunrpc/rpc_sample.c: Likewise.
18347 * sunrpc/rpc_scan.c: Likewise.
18348 * sunrpc/rpc_scan.h: Likewise.
18349 * sunrpc/rpc_svcout.c: Likewise.
18350 * sunrpc/rpc_tblout.c: Likewise.
18351 * sunrpc/rpc_util.c: Likewise.
18352 * sunrpc/rpc_util.h: Likewise.
18353 * sunrpc/rpcinfo.c: Likewise.
18354 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18355 * sunrpc/rpcsvc/key_prot.x: Likewise.
18356 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18357 * sunrpc/rpcsvc/mount.x: Likewise.
18358 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18359 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18360 * sunrpc/rpcsvc/rex.x: Likewise.
18361 * sunrpc/rpcsvc/rstat.x: Likewise.
18362 * sunrpc/rpcsvc/rusers.x: Likewise.
18363 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18364 * sunrpc/rpcsvc/spray.x: Likewise.
18365 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18366 * sunrpc/rtime.c: Likewise.
18367 * sunrpc/svc.c: Likewise.
18368 * sunrpc/svc_auth.c: Likewise.
18369 * sunrpc/svc_authux.c: Likewise.
18370 * sunrpc/svc_raw.c: Likewise.
18371 * sunrpc/svc_run.c: Likewise.
18372 * sunrpc/svc_simple.c: Likewise.
18373 * sunrpc/svc_tcp.c: Likewise.
18374 * sunrpc/svc_udp.c: Likewise.
18375 * sunrpc/svc_unix.c: Likewise.
18376 * sunrpc/svcauth_des.c: Likewise.
18377 * sunrpc/xcrypt.c: Likewise.
18378 * sunrpc/xdr.c: Likewise.
18379 * sunrpc/xdr_array.c: Likewise.
18380 * sunrpc/xdr_float.c: Likewise.
18381 * sunrpc/xdr_mem.c: Likewise.
18382 * sunrpc/xdr_rec.c: Likewise.
18383 * sunrpc/xdr_ref.c: Likewise.
18384 * sunrpc/xdr_sizeof.c: Likewise.
18385 * sunrpc/xdr_stdio.c: Likewise.
18386
9da4bb31
UD
18387 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18388 handling.
18389
bdaa77bc
AS
183902010-08-19 Andreas Schwab <schwab@redhat.com>
18391
18392 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18393
fe2f79db
LM
183942010-08-19 Luis Machado <luisgpm@br.ibm.com>
18395
18396 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18397 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18398 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18399 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18400 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18401 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18402 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18403 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18404 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18405 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18406 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18407 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18408 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18409 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18410
b9b42ee0
AB
184112010-07-26 Anton Blanchard <anton@samba.org>
18412
18413 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18414 * malloc/arena.c (heap_trim): Likewise.
18415
1c06ba31
UD
184162010-08-16 Ulrich Drepper <drepper@redhat.com>
18417
18418 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18419 here. Not...
18420 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18421 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18422
f8392f40
L
184232010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18424
18425 * sysdeps/i386/elf/Makefile: New file.
18426
3162f12e
AS
184272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18428
18429 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18430 from fanotify_init.
18431 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18432 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18433
28c90b2c
UD
184342010-08-15 Ulrich Drepper <drepper@redhat.com>
18435
18436 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18437 of strncasecmp_l.
1feccb6c 18438 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18439
ca6bb004
UD
184402010-08-14 Ulrich Drepper <drepper@redhat.com>
18441
e9f82e0d
UD
18442 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18443 strncase_l-nonascii.
18444 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18445 Add strncase_l-ssse3.
18446 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18447 * sysdeps/x86_64/strcmp.S: Likewise.
18448 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18449 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18450 * sysdeps/x86_64/strncase.S: New file.
18451 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18452 * sysdeps/x86_64/strncase_l.S: New file.
18453 * string/Makefile (strop-tests): Add strncasecmp.
18454 * string/test-strncasecmp.c: New file.
18455
18456 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18457 warning.
18458
ca6bb004
UD
18459 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18460 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18461
052fa7b3
AS
184622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18463
18464 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18465
962dba78
UD
184662010-08-12 Ulrich Drepper <drepper@redhat.com>
18467
18468 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18469 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18470 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18471
bebff237
AM
184722010-05-01 Alan Modra <amodra@gmail.com>
18473
18474 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18475 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18476 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18477 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18478 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18479 tidying. Don't tail-call __sigjmp_save for static lib.
18480 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18481 save location.
18482 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18483 (CALL_MCOUNT): Add eh info, and nop after bl.
18484 (TAIL_CALL_SYSCALL_ERROR): New macro.
18485 (PSEUDO_RET): Use it.
18486 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18487 Correct save location of integer regs and cr.
18488 (_dl_profile_resolve): Correct cr save location. Delete nops
18489 after bl when SHARED. Reduce cfi size a little by better
18490 placement of cfi directives.
18491 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18492 make a stack frame. Instead use parm save area as a temp.
18493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18494 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18496 Don't make a stack frame for parent, use parm save area.
18497 Increase child stack frame to 112 bytes. Don't save unused reg,
18498 and adjust reg usage. Set up cfi on error recovery and
18499 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18501 (__makecontext): Add dummy nop after jump to exit.
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18503 Use correct parm save area and cr save, reduce stack frame.
18504 Correct cfi for possible PSEUDO_RET frame setup.
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18506 Branch to local label emitted by PSEUDO_RET rather than
18507 __syscall_error.
18508
02637374
AS
185092010-08-12 Andreas Schwab <schwab@redhat.com>
18510
18511 [BZ #11904]
18512 * locale/programs/locale.c (print_assignment): New function.
18513 (show_locale_vars): Use it.
18514
c3e2f19b
UD
185152010-08-11 Ulrich Drepper <drepper@redhat.com>
18516
3cdaa6ad
UD
18517 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18518 field.
18519 (struct statfs64): Likewise.
18520 (_STATFS_F_FLAGS): Define.
18521 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18522 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18523 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18524 (ST_VALID): Define locally.
18525 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18526 __statvfs_getflags, use the provided value.
18527 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18528 __ASSUME_STATFS_F_FLAGS.
18529
754f7da3
UD
18530 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18531
10b3bedc
UD
18532 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18533 Add sys/fanotify.h.
18534 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18535 fanotify_mask for GLIBC_2.13.
18536 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18537 fanotify_init and fanotify_mark.
18538 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18539 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18540
c08fb0d7
UD
18541 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18542 Add prlimit.
18543 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18544 prlimit64 for GLIBC_2.13.
18545 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18546 prlimit64.
18547 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18548 syscall.
18549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18550 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18551 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18552 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18553 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18554 add prlimit alias.
18555 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18556
15bac72b
UD
18557 [BZ #11903]
18558 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18559 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18560
c3e2f19b
UD
18561 * nss/Makefile: Add rules to build and run tst-nss-test1.
18562 * shlib-versions: Add entry for libnss_test1.
18563 * nss/nss_test1.c: New file.
18564 * nss/tst-nss-test1.c: New file.
18565
18566 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18567 (__nss_configure_lookup): Set appropriate entry in
18568 __nss_configure_lookup to true.
18569 * nss/nsswitch.h: Define enum with indeces of databases in
18570 databases and __nss_database_custom arrays. Declare
18571 __nss_database_custom.
18572 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18573 to avoid using nscd when custom rules are installed.
18574 * nss/getXXbyYY_r.c: Likewise.
18575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18576
18577 * nss/nss_files/files-parse.c: Whitespace fixes.
18578
f15ce4d8
UD
185792010-08-09 Ulrich Drepper <drepper@redhat.com>
18580
18581 [BZ #11883]
18582 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18583 * posix/fnmatch_loop.c: Likewise.
18584
d22e4cc9
AK
185852010-07-17 Andi Kleen <ak@linux.intel.com>
18586
18587 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18588 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18589 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18590 * Versions.def [GLIBC_2.13]: Add.
18591
805bc17d
UD
185922010-08-06 Ulrich Drepper <drepper@redhat.com>
18593
18594 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18595 Also fail if tpwd after pwuid call is NULL.
18596
5a42321d
ST
185972010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18598
18599 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18600 when converting to ms.
18601
fd3ebeda
ST
186022010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18603
18604 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18605 EOPNOTSUPP errors with ENOTTY.
18606 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18607 EOPNOTSUPP errors with ENOTTY.
18608
73507d3a
UD
186092010-07-31 Ulrich Drepper <drepper@redhat.com>
18610
18611 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18612 Add strcasecmp_l-ssse3.
18613 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18614 strcasecmp.
18615 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18616 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18617 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18618
fe36dd02
UD
186192010-07-30 Ulrich Drepper <drepper@redhat.com>
18620
66f6765a
UD
18621 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18622
42e08a54
UD
18623 * string/Makefile (strop-tests): Add strcasecmp.
18624 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18625 strcasecmp_l-nonascii.
18626 (gen-as-const-headers): Add locale-defines.sym.
18627 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18628 * sysdeps/x86_64/strcasecmp.S: New file.
18629 * sysdeps/x86_64/strcasecmp_l.S: New file.
18630 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18631 * sysdeps/x86_64/locale-defines.sym: New file.
18632 * string/test-strcasecmp.c: New file.
18633
fe36dd02
UD
18634 * string/test-strcasestr.c: Test both ends of the range of characters.
18635 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18636
48cbc0d6
RM
186372010-07-29 Roland McGrath <roland@redhat.com>
18638
76e6d6bc 18639 [BZ #11856]
48cbc0d6
RM
18640 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18641
880113d9
UD
186422010-07-27 Ulrich Drepper <drepper@redhat.com>
18643
18644 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18645 for ld.so.
18646
deb9cabb
AS
186472010-07-27 Andreas Schwab <schwab@redhat.com>
18648
18649 * manual/memory.texi (Malloc Tunable Parameters): Document
18650 M_PERTURB.
18651
1c7570ff
RM
186522010-07-26 Roland McGrath <roland@redhat.com>
18653
18654 [BZ #11840]
18655 * configure.in (-fgnu89-inline check): Set and substitute
18656 gnu89_inline, not libc_cv_gnu89_inline.
18657 * configure: Regenerated.
18658 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18659
24fb0f88
UD
186602010-07-26 Ulrich Drepper <drepper@redhat.com>
18661
18662 * string/test-strnlen.c: New file.
18663 * string/Makefile (strop-tests): Add strnlen.
18664 * string/tester.c (test_strnlen): Add a few more test cases.
18665 * string/tst-strlen.c: Better error reporting.
18666
18667 * sysdeps/x86_64/strnlen.S: New file.
18668
8e96b93a
UD
186692010-07-24 Ulrich Drepper <drepper@redhat.com>
18670
18671 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18672 lower-latency instructions.
18673
dbc676d4
UD
186742010-07-23 Ulrich Drepper <drepper@redhat.com>
18675
18676 * string/test-strcasestr.c: New file.
18677 * string/test-strstr.c: New file.
18678 * string/Makefile (strop-tests): Add strstr and strcasestr.
18679 * string/str-two-way.h: Don't undefine MAX.
18680 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18681
f6a31e0e
AS
186822010-07-21 Andreas Schwab <schwab@redhat.com>
18683
18684 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18685 strcasestr-nonascii.
18686 (CFLAGS-strcasestr-nonascii.c): Define.
18687 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18688 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18689 Remove unused attribute.
18690
5dbc3b6c
RM
186912010-07-20 Roland McGrath <roland@redhat.com>
18692
18693 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18694 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18695 ld.so.cache was broken. With it, there is no way to disable dsocaps
18696 like LD_HWCAP_MASK can disable hwcaps.
18697
23d101d8
EPM
186982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18699
18700 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18701
cc9f2e47
UD
187022010-07-16 Ulrich Drepper <drepper@redhat.com>
18703
18704 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18705 call in strcasestr.
18706 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18707 __strcasestr_sse42_nonascii.
18708 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18709 strcasestr-nonascii.c.
18710 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18711
77c1b069
LM
187122010-06-15 Luis Machado <luisgpm@br.ibm.com>
18713
18714 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18715 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18716 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18717 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18718
440566c3
UD
187192010-07-09 Ulrich Drepper <drepper@redhat.com>
18720
18721 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18722 fcntl.
18723
5be9d05d
AS
187242010-07-06 Andreas Schwab <schwab@redhat.com>
18725
c30b7ee2 18726 [BZ #11577]
5be9d05d
AS
18727 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18728 dl_signal_cerror.
18729
8a492a67
UD
187302010-07-06 Ulrich Drepper <drepper@redhat.com>
18731
18732 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18733 _PC_PIPE_BUF using F_GETPIPE_SZ.
18734
713df3d5
RM
187352010-07-05 Roland McGrath <roland@redhat.com>
18736
18737 * manual/arith.texi (Rounding Functions): Fix rint description
18738 implicit in round description.
18739
702e8f14
UD
187402010-07-02 Ulrich Drepper <drepper@redhat.com>
18741
18742 * elf/Makefile: Fix linking for a few tests to make recent linker
18743 happy.
18744
52ed8be9
AS
187452010-06-30 Andreas Schwab <schwab@redhat.com>
18746
18747 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18748 $(common-objpfx)libc_nonshared.a.
18749
f47c9a11
LM
187502010-06-21 Luis Machado <luisgpm@br.ibm.com>
18751
18752 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18753 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18754 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18755 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18756 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18757 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18758 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18759 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18774 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18775 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18776 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18777 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18778 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18779 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18780 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18781 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18782 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18783 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18784 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18785 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18800
6fb8cbcb
L
188012010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18802
18803 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18804 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18805 * string/memmove.c (memmove): Renamed to ...
18806 (MEMMOVE): ...this. Default to memmove.
18807 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18808 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18809 (END_CHK): Define.
18810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18811 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18812 mempcpy-ssse3-back memmove-ssse3-back.
18813 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18814 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18815 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18816 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18817 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18818 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18819 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18820 * sysdeps/x86_64/multiarch/memmove.c: New file.
18821 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18822 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18823 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18824 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18825 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18826 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18827 Define.
18828 (index_Fast_Copy_Backward): Define.
18829 (HAS_ARCH_FEATURE): Define.
18830 (HAS_FAST_REP_STRING): Define.
18831 (HAS_FAST_COPY_BACKWARD): Define.
18832
4e733bac 188332010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18834
18835 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18836 Restore proper fallback handling.
18837
63c4ed22
UD
188382010-06-19 Ulrich Drepper <drepper@redhat.com>
18839
ac2b484c
UD
18840 [BZ #11701]
18841 * posix/group_member.c (__group_member): Correct checking loop.
18842
63c4ed22
UD
18843 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18844 OOM in getpwuid_r correctly. Return error number when the caller
18845 should return, otherwise -1.
18846 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18847 call returning > 0 value.
18848 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18849
765ade4b
AS
188502010-06-07 Andreas Schwab <schwab@redhat.com>
18851
18852 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18853 libc_nonshared.a from targets in modules-names.
18854
80da2e09
KS
188552010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18856
18857 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18858 requires it.
18859
158db122
LM
188602010-06-10 Luis Machado <luisgpm@br.ibm.com>
18861
18862 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18863 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18864 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18865 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18866
caa78cf8
AS
188672010-06-02 Andreas Schwab <schwab@redhat.com>
18868
18869 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18870
b2ef2c01
UD
188712010-06-14 Ulrich Drepper <drepper@redhat.com>
18872
18873 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18874 and F_GETPIPE_SZ.
18875 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18876 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18877 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18879 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18880 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18881
fbd643b6
RM
188822010-06-14 Roland McGrath <roland@redhat.com>
18883
18884 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18885
f32f2869
JJ
188862010-06-07 Jakub Jelinek <jakub@redhat.com>
18887
18888 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18889 __REDIRECT followed by __THROW.
18890 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18891 * posix/getopt.h (getopt): Likewise.
18892
2a50c078
EPM
188932010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18894
18895 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18896 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18897 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18898 in AT_FLAGS.
18899 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18900 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18901
eb5ad2eb
LM
189022010-05-28 Luis Machado <luisgpm@br.ibm.com>
18903
18904 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18905
3c88fe1e
L
189062010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18907
18908 [BZ #11640]
18909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18910 Properly check family and model.
18911
d2f73151
TY
189122010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18913
18914 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18915
ebd2e13d
LM
189162010-05-24 Luis Machado <luisgpm@br.ibm.com>
18917
18918 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18919
b32b8b45
UD
189202010-05-21 Ulrich Drepper <drepper@redhat.com>
18921
18922 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18923 symbol reference.
18924
9acbe24d
AS
189252010-05-19 Andreas Schwab <schwab@redhat.com>
18926
18927 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18928 symbol reference.
18929
f0ccf6ea
AS
189302010-05-21 Andreas Schwab <schwab@redhat.com>
18931
3d04ff3a
AS
18932 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18933 and internal_recvmmsg.
18934 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18935 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18936 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18937 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18938
f0ccf6ea
AS
18939 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18940 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18941 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18942
5b08ac57
AS
189432010-05-20 Andreas Schwab <schwab@redhat.com>
18944
18945 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18946
4828935d
LM
189472010-05-17 Luis Machado <luisgpm@br.ibm.com>
18948
18949 POWER7 optimizations.
18950 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18951 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18952
373d545e
UD
189532010-05-19 Ulrich Drepper <drepper@redhat.com>
18954
18955 * version.h: Update for 2.13 development version.
18956
21a2b1ae
AS
189572010-05-12 Andrew Stubbs <ams@codesourcery.com>
18958
18959 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18960 exceptions. Return 0.
18961
3f7dcb2b
RM
189622010-05-07 Roland McGrath <roland@redhat.com>
18963
18964 * elf/ldconfig.c (main): Add a const.
18965
5f24d53a 189662010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18967
a160f8d8
UD
18968 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18969 (args_options): Add no-idn option.
18970 (ahosts_keys_int): Add idn_flags to ai_flags.
18971 (parse_option): Handle 'i' option to clear idn_flags.
18972
5f24d53a
UD
18973 * malloc/malloc.c (_int_free): Possible race in the most recently
18974 added check. Only act on the data if no current modification
18975 happened.
265bb1ce
UD
18976
18977See ChangeLog.17 for earlier changes.